/* Options: Date: 2024-11-21 13:28:39 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllBookingQueueForUser.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseError { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public FieldName: string; // @DataMember(Order=3) public Message: string; // @DataMember(Order=4) public Meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BookingUserQueueItemResponse { public BookingUserQueueId: number; public CompanyId: string; public CustomerId: string; public ServiceId: number; public From: string; public To: string; public StatusCode: number; public StatusName: string; public SendConfirmationTime?: string; public Quantities: BookingUserQueuePriceResponse[]; public Service: ServiceInfoResponse; public Company: CompanyInfoResponse; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetAllBookingQueueForUserResponse { public BookingUserQueueResponseList: BookingUserQueueItemResponse[]; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/bookinguserqueue/user", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class GetAllBookingQueueForUser implements IReturn { /** @description The user id for your profile. If not set it will set it automatically from your session */ // @ApiMember(Description="The user id for your profile. If not set it will set it automatically from your session") public UserId?: string; public DateStart?: string; public DateEnd?: string; /** @description If you want to include the service information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the service information for the booking", ParameterType="query") public IncludeServiceInformation: boolean; /** @description If you want to include the company information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the company information for the booking", ParameterType="query") public IncludeCompanyInformation: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAllBookingQueueForUser'; } public getMethod() { return 'GET'; } public createResponse() { return new GetAllBookingQueueForUserResponse(); } }