using IdokladSdk.Enums;
namespace Idoklad.Credentials;
///
/// Fully resolved set of credentials and request options used to build a DokladApi
/// instance for a single request.
///
public sealed record IdokladCredentials
{
public required string ClientId { get; init; }
public required string ClientSecret { get; init; }
///
/// Optional iDoklad ApplicationId (GUID from the developer portal). Only needed for partner
/// applications whose client_credentials grant requires application_id. When empty, the
/// service authenticates with client_id + client_secret only.
///
public string? ApplicationId { get; init; }
public required Language Language { get; init; }
}