/* Options: Date: 2026-05-13 15:20:58 Version: 10.06 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PrintReceiptRequest.* //ExcludeTypes: //DefaultImports: */ // @ts-nocheck export interface IReturn { createResponse(): T; } // @DataContract export class BaseRequest { /** @description This is your AIM API Key provided by Tri-Tech */ // @DataMember // @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="Header") public ApiKey: string; /** @description The OAuthToken token return by AeServices30 */ // @DataMember // @ApiMember(DataType="string", Description="The OAuthToken token return by AeServices30", IsRequired=true, Name="OAuthToken", ParameterType="Header") public OAuthToken: string; /** @description The Device ID of the Mobile Device. Not used for non-mobile devices. */ // @DataMember // @ApiMember(DataType="string", Description="The Device ID of the Mobile Device. Not used for non-mobile devices.", Name="DeviceId", ParameterType="Header") public DeviceId?: string; /** @description An identifier for your integration */ // @DataMember // @ApiMember(DataType="string", Description="An identifier for your integration", IsRequired=true, Name="AppId", ParameterType="Header") public AppId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class BaseSecureRequest extends BaseRequest { /** @description The Login Token return by the Security API. Required for secured calls. */ // @DataMember // @ApiMember(DataType="string", Description="The Login Token return by the Security API. Required for secured calls.", Name="Token", ParameterType="Header") public Token?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @DataContract export class BaseResponse { /** @description */ // @DataMember // @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public Status?: BaseResponseResult; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class PrintReceiptResponse extends BaseResponse { // @DataMember public PdfStream?: string; // @DataMember public EmailSubject?: string; // @DataMember public EmailBody?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description PrintReceiptRequires active-e Customer Service */ // @Route("/PrintReceipt", "POST, GET") // @DataContract export class PrintReceiptRequest extends BaseSecureRequest implements IReturn { // @DataMember public Ref?: string; /** @description Can be STREAM, PRINT, or EMAIL. Defaults to STREAM */ // @DataMember // @ApiMember(Description="Can be STREAM, PRINT, or EMAIL. Defaults to STREAM", Name="OutputType", ParameterType="query") public OutputType?: string; /** @description Only applies to OutputTypes of PRINT and EMAIL. The listening workstation to handle the request. */ // @DataMember // @ApiMember(Description="Only applies to OutputTypes of PRINT and EMAIL. The listening workstation to handle the request.", Name="OutputWorkstation", ParameterType="query") public OutputWorkstation?: number; /** @description Only applies to OutputType of EMAIL. The email address to send to. */ // @DataMember // @ApiMember(Description="Only applies to OutputType of EMAIL. The email address to send to.", Name="OutputTo", ParameterType="query") public OutputTo?: string; /** @description Only applies to employee logins. Customer account of the receipt. */ // @DataMember // @ApiMember(Description="Only applies to employee logins. Customer account of the receipt.", Name="CustomerAcct", ParameterType="query") public CustomerAcct?: number; /** @description Date of the receipt. */ // @DataMember // @ApiMember(Description="Date of the receipt.", Name="Date", ParameterType="query") public Date?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'PrintReceiptRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new PrintReceiptResponse(); } }