/* Options: Date: 2025-12-10 02:18:27 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllBookingQueueForUser.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class GroupBookingSettings { public Active: boolean; public Min: number; public Max: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class MultipleResourceSettings { public Active: boolean; public Min: number; public Max: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BookingUserQueuePriceResponse { public CompanyId: string; public Id: number; public BookingUserQueueId: number; public ServicePriceId?: number; public Quantity?: number; public Price?: number; public PriceText: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ServiceInfoResponse { public Id: number; public Name: string; public Description: string; public ImageUrl: string; public LengthInMinutes?: number; public MaxNumberOfSpotsPerBooking: number; public MinNumberOfSpotsPerBooking: number; public GroupBooking: GroupBookingSettings; public MultipleResource: MultipleResourceSettings; public IsGroupBooking: boolean; public IsPaymentEnabled: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CompanyInfoResponse { public Id: string; public Name: string; public LogoType: string; public SitePath: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BookedCustomer { public Id: string; public Firstname: string; public Lastname: string; public Email: string; public Phone: string; public FacebookUserName: string; public ImageUrl: string; public PersonalIdentityNumber: string; public CorporateIdentityNumber: string; public InvoiceAddress1: string; public InvoiceAddress2: string; public InvoiceCity: string; public InvoicePostalCode: string; public InvoiceCountryCode: 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 Customer: BookedCustomer; 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; /** @description Optional start date for the search interval. If not set it will default to todays date. */ // @ApiMember(DataType="dateTime", Description="Optional start date for the search interval. If not set it will default to todays date.", ParameterType="query") public DateStart?: string; /** @description Optional end date for the search interval. If not set all future queue items will be returned. */ // @ApiMember(DataType="dateTime", Description="Optional end date for the search interval. If not set all future queue items will be returned.", ParameterType="query") public DateEnd?: string; /** @description Set to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this. */ // @ApiMember(DataType="boolean", Description="Set to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this.", ParameterType="query") public CompanyQueueItems: boolean; /** @description Optional filter for a specific service id. */ // @ApiMember(DataType="int", Description="Optional filter for a specific service id.", ParameterType="query") public ServiceId?: number; /** @description Optional filter for a specific customer id. */ // @ApiMember(DataType="Guid", Description="Optional filter for a specific customer id.", ParameterType="query") public CustomerId?: 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; /** @description If you want to include the customer information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the customer information for the booking", ParameterType="query") public IncludeCustomerInformation: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAllBookingQueueForUser'; } public getMethod() { return 'GET'; } public createResponse() { return new Array(); } }