/* Options: Date: 2025-05-09 23:43:47 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: GetTimeSlotsRequest.* //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; // @DataMember // @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") public OAuthToken: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class TimeSlotGeneric { // @DataMember public Id: number; // @DataMember public DateTime: string; // @DataMember public SlotsOpen: number; // @DataMember public Location: string; // @DataMember public Type: string; 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 GetTimeSlotsResponse extends BaseResponse { // @DataMember public TimeSlots: TimeSlotGeneric[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description GetTimeSlotsRequires active-e Contracts Service, active-e Service Ticket Service, active-e Lesson Scheduling Service, active-e Vortx E-Commerce Service, or active-e 3rd Party E-Commerce Service */ // @Route("/GetTimeSlots", "POST, GET") // @DataContract export class GetTimeSlotsRequest extends BaseRequest implements IReturn { // @DataMember public DateFrom: string; // @DataMember public DateTo: string; // @DataMember public TimeFrom?: string; // @DataMember public TimeTo?: string; // @DataMember public Location: string; // @DataMember public ShowOpenSlots?: boolean; // @DataMember public ShowReservedSlots?: boolean; /** @description If sent, only Time Slots of the sent type are returned. Valid options are STORE and DELIVERY. */ // @DataMember // @ApiMember(DataType="string", Description="If sent, only Time Slots of the sent type are returned. Valid options are STORE and DELIVERY.", Name="Type", ParameterType="query") public Type: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'GetTimeSlotsRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new GetTimeSlotsResponse(); } }