/* Options: Date: 2024-11-24 15:05:28 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BookingStatusUpdateRequest.* //ExcludeTypes: //DefaultImports: */ export enum RestrictedResourceType { Store = 'Store', Chain = 'Chain', User = 'User', Undefined = 'Undefined', } export interface IRestrictedApiRequest extends IApiKeyEndpoint { RestrictedId?: number; RestrictedResourceType: RestrictedResourceType; } export interface IApiKeyEndpoint { ApiKey: string; } export class ApiDtoBase { public ApiKey: string; public StoreId?: number; public ChainId?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BookingStatusUpdateRequestDto extends ApiDtoBase { public UserId?: number; public StatusId: number; public BookingId: number; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class BookingStatusUpdateResponseDto { public Success: boolean; public Message: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BookingStatusUpdateResponse extends BookingStatusUpdateResponseDto { public Success: boolean; public Message: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/scheduling/booking-status-update", "POST") export class BookingStatusUpdateRequest extends BookingStatusUpdateRequestDto implements IReturn, IRestrictedApiRequest { /** * Api Key - grants access to resources */ // @ApiMember(DataType="string", Description="Api Key - grants access to resources", IsRequired=true, Name="ApiKey", ParameterType="query") public ApiKey: string; /** * StoreId */ // @ApiMember(DataType="string", Description="StoreId", IsRequired=true, Name="StoreId", ParameterType="query") public StoreId: number; /** * UserID */ // @ApiMember(DataType="string", Description="UserID", IsRequired=true, Name="UserId", ParameterType="query") public UserId: number; /** * Status ID */ // @ApiMember(DataType="integer", Description="Status ID", IsRequired=true, Name="StatusId", ParameterType="query") public StatusId: number; /** * Booking ID */ // @ApiMember(DataType="integer", Description="Booking ID", IsRequired=true, Name="BookingId", ParameterType="query") public BookingId: number; public RestrictedId?: number; public RestrictedResourceType: RestrictedResourceType; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'BookingStatusUpdateRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new BookingStatusUpdateResponse(); } }