/* Options: Date: 2025-08-03 23:49:30 Version: 8.40 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: ScheduledExchangesPostRequest.* //ExcludeTypes: //DefaultImports: */ 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(Name="FormInput") export class FormInput { /** @description Field name of the Input Field. If linking to an Attribute, this should match the Tag value. */ // @DataMember // @ApiMember(DataType="string", Description="Field name of the Input Field. If linking to an Attribute, this should match the Tag value.", IsRequired=true, Name="Key", ParameterType="body") public Key: string; /** @description Value of the Input Field. */ // @DataMember // @ApiMember(DataType="string", Description="Value of the Input Field.", IsRequired=true, Name="Value", ParameterType="body") public Value: string; /** @description Whether or not the field is encryped with the C2B encryption key. */ // @DataMember // @ApiMember(DataType="boolean", Description="Whether or not the field is encryped with the C2B encryption key.", Name="Encrypted", ParameterType="body") public Encrypted: boolean; public constructor(init?: Partial) { (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 ScheduledExchangesPostResponse extends BaseResponse { // @DataMember public ExchangeID?: number; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description ScheduledExchangesRequires active-e Contracts Service. */ // @Route("/ScheduledExchanges", "POST") // @DataContract export class ScheduledExchangesPostRequest extends BaseSecureRequest implements IReturn { // @DataMember public Acct: number; // @DataMember public Sub: number; // @DataMember public ExchangedItemID: number; // @DataMember public PostingDate: string; // @DataMember public ScheduledDate: string; // @DataMember public NewSku: string; // @DataMember public OptionId?: number; // @DataMember public ExchangeNotes: string; // @DataMember public Processed?: boolean; // @DataMember public StatusId?: number; /** @description Key/Value pair only. The 'Encrypted' proprety is not used for this API call. */ // @DataMember // @ApiMember(DataType="array", Description="Key/Value pair only. The 'Encrypted' proprety is not used for this API call.", Name="FormInputList", ParameterType="query") public FormInputList: FormInput[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'ScheduledExchangesPostRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new ScheduledExchangesPostResponse(); } }