/* Options: Date: 2026-09-09 11:00:53 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Authenticate.* //ExcludeTypes: //DefaultImports: */ // @ts-nocheck export interface IReturn { createResponse(): T; } export class OperationResult { /** @description Specifies if the operation was successful. */ // @ApiMember(Description="Specifies if the operation was successful.", ParameterType="model") public IsSuccessful: boolean; /** @description States error message in case of unsuccessful operation. */ // @ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model") public ErrorMessage?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class OperationResult_1 extends OperationResult { /** @description Result value */ // @ApiMember(Description="Result value", ParameterType="model") public Result?: T; public constructor(init?: Partial>) { super(init); (Object as any).assign(this, init); } } export class AuthenticateResult { /** @description Session token to use in successive calls to the services. */ // @ApiMember(Description="Session token to use in successive calls to the services.", ParameterType="model") public SessionToken?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AuthenticateResponse extends OperationResult_1 { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/dealers/authenticate", "POST") export class Authenticate implements IReturn { /** @description User name for your account. */ // @ApiMember(Description="User name for your account.", IsRequired=true, ParameterType="query") public UserName: string; /** @description Password provided by your supplier. */ // @ApiMember(Description="Password provided by your supplier.", IsRequired=true, ParameterType="query") public Password: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'Authenticate'; } public getMethod() { return 'POST'; } public createResponse() { return new AuthenticateResponse(); } }