/* Options: Date: 2025-12-06 06:28:07 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.1fetch.co.za //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CheckAccount.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ApiServiceRequest implements IServiceRequest, IHasApiKey { /** @description The API Key required for authentication */ // @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) public ApiKey: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IServiceRequest { } export interface IHasApiKey { ApiKey: string; } export interface ILogRequest { } export class ApiServiceResponse implements IServiceResponse { /** @description Information about the response. */ // @ApiMember(Description="Information about the response.", IsRequired=true) public Description: string; /** @description Heading or summary of the response. */ // @ApiMember(Description="Heading or summary of the response.", IsRequired=true) public Heading: string; /** @description Did the intended operation for this response complete successfully? */ // @ApiMember(DataType="boolean", Description="Did the intended operation for this response complete successfully?", IsRequired=true) public WasSuccessful: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CheckAccountResponse extends ApiServiceResponse { /** @description The total monthly limit for account payments, will be negative if there is no limit */ // @ApiMember(Description="The total monthly limit for account payments, will be negative if there is no limit") public AccountLimit: number; /** @description The amount that can still be used this month, will be negative if there is no account limit */ // @ApiMember(Description="The amount that can still be used this month, will be negative if there is no account limit") public AccountRemaining: number; /** @description Shows if this account is allowed to place real orders or quotes */ // @ApiMember(Description="Shows if this account is allowed to place real orders or quotes") public AllowDataProcessing: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/checkaccount", "GET") export class CheckAccount extends ApiServiceRequest implements IReturn, ILogRequest { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'CheckAccount'; } public getMethod() { return 'GET'; } public createResponse() { return new CheckAccountResponse(); } }