@gooday_corp/gooday-api-client 1.2.51 → 1.2.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +294 -34
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -396,6 +396,38 @@ export const AvailableSlotsPayloadViewEnum = {
|
|
|
396
396
|
|
|
397
397
|
export type AvailableSlotsPayloadViewEnum = typeof AvailableSlotsPayloadViewEnum[keyof typeof AvailableSlotsPayloadViewEnum];
|
|
398
398
|
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @export
|
|
402
|
+
* @interface BookingConfirmPayload
|
|
403
|
+
*/
|
|
404
|
+
export interface BookingConfirmPayload {
|
|
405
|
+
/**
|
|
406
|
+
* Status of the booking
|
|
407
|
+
* @type {string}
|
|
408
|
+
* @memberof BookingConfirmPayload
|
|
409
|
+
*/
|
|
410
|
+
'status': BookingConfirmPayloadStatusEnum;
|
|
411
|
+
/**
|
|
412
|
+
* Status of the booking
|
|
413
|
+
* @type {string}
|
|
414
|
+
* @memberof BookingConfirmPayload
|
|
415
|
+
*/
|
|
416
|
+
'bookingId': string;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export const BookingConfirmPayloadStatusEnum = {
|
|
420
|
+
CheckedIn: 'CHECKED_IN',
|
|
421
|
+
Confirmed: 'CONFIRMED',
|
|
422
|
+
Unconfirmed: 'UNCONFIRMED',
|
|
423
|
+
Rescheduled: 'RESCHEDULED',
|
|
424
|
+
NoShow: 'NO_SHOW',
|
|
425
|
+
Rejected: 'REJECTED',
|
|
426
|
+
Cancelled: 'CANCELLED'
|
|
427
|
+
} as const;
|
|
428
|
+
|
|
429
|
+
export type BookingConfirmPayloadStatusEnum = typeof BookingConfirmPayloadStatusEnum[keyof typeof BookingConfirmPayloadStatusEnum];
|
|
430
|
+
|
|
399
431
|
/**
|
|
400
432
|
*
|
|
401
433
|
* @export
|
|
@@ -578,6 +610,12 @@ export interface BookingEntity {
|
|
|
578
610
|
* @memberof BookingEntity
|
|
579
611
|
*/
|
|
580
612
|
'services': Array<BookingServicePayload>;
|
|
613
|
+
/**
|
|
614
|
+
*
|
|
615
|
+
* @type {StripeSetupIntentPaymentResponse}
|
|
616
|
+
* @memberof BookingEntity
|
|
617
|
+
*/
|
|
618
|
+
'paymentMethod': StripeSetupIntentPaymentResponse;
|
|
581
619
|
}
|
|
582
620
|
|
|
583
621
|
export const BookingEntityStatusEnum = {
|
|
@@ -738,6 +776,12 @@ export interface BookingResponse {
|
|
|
738
776
|
* @memberof BookingResponse
|
|
739
777
|
*/
|
|
740
778
|
'services': Array<BookingServicePayload>;
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @type {StripeSetupIntentPaymentResponse}
|
|
782
|
+
* @memberof BookingResponse
|
|
783
|
+
*/
|
|
784
|
+
'paymentMethod': StripeSetupIntentPaymentResponse;
|
|
741
785
|
}
|
|
742
786
|
|
|
743
787
|
export const BookingResponseMethodEnum = {
|
|
@@ -2598,6 +2642,25 @@ export const CreateWaitlistBookingCollaboratorPayloadStatusEnum = {
|
|
|
2598
2642
|
|
|
2599
2643
|
export type CreateWaitlistBookingCollaboratorPayloadStatusEnum = typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum[keyof typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum];
|
|
2600
2644
|
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @export
|
|
2648
|
+
* @interface CustomerBookingResponseDTO
|
|
2649
|
+
*/
|
|
2650
|
+
export interface CustomerBookingResponseDTO {
|
|
2651
|
+
/**
|
|
2652
|
+
* statusCode
|
|
2653
|
+
* @type {number}
|
|
2654
|
+
* @memberof CustomerBookingResponseDTO
|
|
2655
|
+
*/
|
|
2656
|
+
'statusCode': number;
|
|
2657
|
+
/**
|
|
2658
|
+
* Booking request response
|
|
2659
|
+
* @type {boolean}
|
|
2660
|
+
* @memberof CustomerBookingResponseDTO
|
|
2661
|
+
*/
|
|
2662
|
+
'data': boolean;
|
|
2663
|
+
}
|
|
2601
2664
|
/**
|
|
2602
2665
|
*
|
|
2603
2666
|
* @export
|
|
@@ -2987,25 +3050,6 @@ export interface EventResponseDTO {
|
|
|
2987
3050
|
*/
|
|
2988
3051
|
'data': EventResponse;
|
|
2989
3052
|
}
|
|
2990
|
-
/**
|
|
2991
|
-
*
|
|
2992
|
-
* @export
|
|
2993
|
-
* @interface FIndBookingResponseDTO
|
|
2994
|
-
*/
|
|
2995
|
-
export interface FIndBookingResponseDTO {
|
|
2996
|
-
/**
|
|
2997
|
-
* statusCode
|
|
2998
|
-
* @type {number}
|
|
2999
|
-
* @memberof FIndBookingResponseDTO
|
|
3000
|
-
*/
|
|
3001
|
-
'statusCode': number;
|
|
3002
|
-
/**
|
|
3003
|
-
* Booking response
|
|
3004
|
-
* @type {Array<BookingEntity>}
|
|
3005
|
-
* @memberof FIndBookingResponseDTO
|
|
3006
|
-
*/
|
|
3007
|
-
'data': Array<BookingEntity>;
|
|
3008
|
-
}
|
|
3009
3053
|
/**
|
|
3010
3054
|
*
|
|
3011
3055
|
* @export
|
|
@@ -3113,6 +3157,25 @@ export const FindBookingPayloadStatusEnum = {
|
|
|
3113
3157
|
|
|
3114
3158
|
export type FindBookingPayloadStatusEnum = typeof FindBookingPayloadStatusEnum[keyof typeof FindBookingPayloadStatusEnum];
|
|
3115
3159
|
|
|
3160
|
+
/**
|
|
3161
|
+
*
|
|
3162
|
+
* @export
|
|
3163
|
+
* @interface FindBookingResponseDTO
|
|
3164
|
+
*/
|
|
3165
|
+
export interface FindBookingResponseDTO {
|
|
3166
|
+
/**
|
|
3167
|
+
* statusCode
|
|
3168
|
+
* @type {number}
|
|
3169
|
+
* @memberof FindBookingResponseDTO
|
|
3170
|
+
*/
|
|
3171
|
+
'statusCode': number;
|
|
3172
|
+
/**
|
|
3173
|
+
* Booking response
|
|
3174
|
+
* @type {Array<BookingEntity>}
|
|
3175
|
+
* @memberof FindBookingResponseDTO
|
|
3176
|
+
*/
|
|
3177
|
+
'data': Array<BookingEntity>;
|
|
3178
|
+
}
|
|
3116
3179
|
/**
|
|
3117
3180
|
*
|
|
3118
3181
|
* @export
|
|
@@ -3150,6 +3213,37 @@ export interface FindBusinessStaff {
|
|
|
3150
3213
|
*/
|
|
3151
3214
|
'allStaff'?: boolean;
|
|
3152
3215
|
}
|
|
3216
|
+
/**
|
|
3217
|
+
*
|
|
3218
|
+
* @export
|
|
3219
|
+
* @interface FindCustomerBookingPayload
|
|
3220
|
+
*/
|
|
3221
|
+
export interface FindCustomerBookingPayload {
|
|
3222
|
+
/**
|
|
3223
|
+
*
|
|
3224
|
+
* @type {number}
|
|
3225
|
+
* @memberof FindCustomerBookingPayload
|
|
3226
|
+
*/
|
|
3227
|
+
'page': number;
|
|
3228
|
+
/**
|
|
3229
|
+
*
|
|
3230
|
+
* @type {number}
|
|
3231
|
+
* @memberof FindCustomerBookingPayload
|
|
3232
|
+
*/
|
|
3233
|
+
'pageSize': number;
|
|
3234
|
+
/**
|
|
3235
|
+
*
|
|
3236
|
+
* @type {string}
|
|
3237
|
+
* @memberof FindCustomerBookingPayload
|
|
3238
|
+
*/
|
|
3239
|
+
'customer'?: string;
|
|
3240
|
+
/**
|
|
3241
|
+
*
|
|
3242
|
+
* @type {string}
|
|
3243
|
+
* @memberof FindCustomerBookingPayload
|
|
3244
|
+
*/
|
|
3245
|
+
'venue'?: string;
|
|
3246
|
+
}
|
|
3153
3247
|
/**
|
|
3154
3248
|
*
|
|
3155
3249
|
* @export
|
|
@@ -5291,10 +5385,10 @@ export interface TagPayloadDTO {
|
|
|
5291
5385
|
'icon': string;
|
|
5292
5386
|
/**
|
|
5293
5387
|
*
|
|
5294
|
-
* @type {
|
|
5388
|
+
* @type {Array<string>}
|
|
5295
5389
|
* @memberof TagPayloadDTO
|
|
5296
5390
|
*/
|
|
5297
|
-
'
|
|
5391
|
+
'venue': Array<string>;
|
|
5298
5392
|
}
|
|
5299
5393
|
|
|
5300
5394
|
export const TagPayloadDTOCategoryEnum = {
|
|
@@ -5361,10 +5455,10 @@ export interface TagUpdatePayloadDTO {
|
|
|
5361
5455
|
'icon': string;
|
|
5362
5456
|
/**
|
|
5363
5457
|
*
|
|
5364
|
-
* @type {
|
|
5458
|
+
* @type {Array<string>}
|
|
5365
5459
|
* @memberof TagUpdatePayloadDTO
|
|
5366
5460
|
*/
|
|
5367
|
-
'
|
|
5461
|
+
'venue': Array<string>;
|
|
5368
5462
|
}
|
|
5369
5463
|
|
|
5370
5464
|
export const TagUpdatePayloadDTOCategoryEnum = {
|
|
@@ -5412,10 +5506,10 @@ export interface TagsResponse {
|
|
|
5412
5506
|
'icon': string;
|
|
5413
5507
|
/**
|
|
5414
5508
|
*
|
|
5415
|
-
* @type {
|
|
5509
|
+
* @type {Array<string>}
|
|
5416
5510
|
* @memberof TagsResponse
|
|
5417
5511
|
*/
|
|
5418
|
-
'
|
|
5512
|
+
'venue': Array<string>;
|
|
5419
5513
|
}
|
|
5420
5514
|
|
|
5421
5515
|
export const TagsResponseCategoryEnum = {
|
|
@@ -7599,6 +7693,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7599
7693
|
options: localVarRequestOptions,
|
|
7600
7694
|
};
|
|
7601
7695
|
},
|
|
7696
|
+
/**
|
|
7697
|
+
*
|
|
7698
|
+
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
7699
|
+
* @param {*} [options] Override http request option.
|
|
7700
|
+
* @throws {RequiredError}
|
|
7701
|
+
*/
|
|
7702
|
+
bookingControllerBookingConfirmation: async (bookingConfirmPayload: BookingConfirmPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7703
|
+
// verify required parameter 'bookingConfirmPayload' is not null or undefined
|
|
7704
|
+
assertParamExists('bookingControllerBookingConfirmation', 'bookingConfirmPayload', bookingConfirmPayload)
|
|
7705
|
+
const localVarPath = `/v1/booking/confirmation`;
|
|
7706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7708
|
+
let baseOptions;
|
|
7709
|
+
if (configuration) {
|
|
7710
|
+
baseOptions = configuration.baseOptions;
|
|
7711
|
+
}
|
|
7712
|
+
|
|
7713
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7714
|
+
const localVarHeaderParameter = {} as any;
|
|
7715
|
+
const localVarQueryParameter = {} as any;
|
|
7716
|
+
|
|
7717
|
+
// authentication bearer required
|
|
7718
|
+
// http bearer authentication required
|
|
7719
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7720
|
+
|
|
7721
|
+
|
|
7722
|
+
|
|
7723
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7724
|
+
|
|
7725
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7727
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7728
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bookingConfirmPayload, localVarRequestOptions, configuration)
|
|
7729
|
+
|
|
7730
|
+
return {
|
|
7731
|
+
url: toPathString(localVarUrlObj),
|
|
7732
|
+
options: localVarRequestOptions,
|
|
7733
|
+
};
|
|
7734
|
+
},
|
|
7602
7735
|
/**
|
|
7603
7736
|
*
|
|
7604
7737
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -7792,6 +7925,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7792
7925
|
options: localVarRequestOptions,
|
|
7793
7926
|
};
|
|
7794
7927
|
},
|
|
7928
|
+
/**
|
|
7929
|
+
*
|
|
7930
|
+
* @param {FindCustomerBookingPayload} findCustomerBookingPayload
|
|
7931
|
+
* @param {*} [options] Override http request option.
|
|
7932
|
+
* @throws {RequiredError}
|
|
7933
|
+
*/
|
|
7934
|
+
bookingControllerListCustomerBooking: async (findCustomerBookingPayload: FindCustomerBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7935
|
+
// verify required parameter 'findCustomerBookingPayload' is not null or undefined
|
|
7936
|
+
assertParamExists('bookingControllerListCustomerBooking', 'findCustomerBookingPayload', findCustomerBookingPayload)
|
|
7937
|
+
const localVarPath = `/v1/booking/customer/list`;
|
|
7938
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7939
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7940
|
+
let baseOptions;
|
|
7941
|
+
if (configuration) {
|
|
7942
|
+
baseOptions = configuration.baseOptions;
|
|
7943
|
+
}
|
|
7944
|
+
|
|
7945
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7946
|
+
const localVarHeaderParameter = {} as any;
|
|
7947
|
+
const localVarQueryParameter = {} as any;
|
|
7948
|
+
|
|
7949
|
+
// authentication bearer required
|
|
7950
|
+
// http bearer authentication required
|
|
7951
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7952
|
+
|
|
7953
|
+
|
|
7954
|
+
|
|
7955
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7956
|
+
|
|
7957
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7958
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7959
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7960
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findCustomerBookingPayload, localVarRequestOptions, configuration)
|
|
7961
|
+
|
|
7962
|
+
return {
|
|
7963
|
+
url: toPathString(localVarUrlObj),
|
|
7964
|
+
options: localVarRequestOptions,
|
|
7965
|
+
};
|
|
7966
|
+
},
|
|
7795
7967
|
/**
|
|
7796
7968
|
*
|
|
7797
7969
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -7896,6 +8068,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
7896
8068
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerAcceptBookingInvite']?.[localVarOperationServerIndex]?.url;
|
|
7897
8069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7898
8070
|
},
|
|
8071
|
+
/**
|
|
8072
|
+
*
|
|
8073
|
+
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
8074
|
+
* @param {*} [options] Override http request option.
|
|
8075
|
+
* @throws {RequiredError}
|
|
8076
|
+
*/
|
|
8077
|
+
async bookingControllerBookingConfirmation(bookingConfirmPayload: BookingConfirmPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerBookingResponseDTO>> {
|
|
8078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerBookingConfirmation(bookingConfirmPayload, options);
|
|
8079
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8080
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerBookingConfirmation']?.[localVarOperationServerIndex]?.url;
|
|
8081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8082
|
+
},
|
|
7899
8083
|
/**
|
|
7900
8084
|
*
|
|
7901
8085
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -7950,12 +8134,24 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
7950
8134
|
* @param {*} [options] Override http request option.
|
|
7951
8135
|
* @throws {RequiredError}
|
|
7952
8136
|
*/
|
|
7953
|
-
async bookingControllerListBookings(findBookingPayload: FindBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8137
|
+
async bookingControllerListBookings(findBookingPayload: FindBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
7954
8138
|
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListBookings(findBookingPayload, options);
|
|
7955
8139
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7956
8140
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListBookings']?.[localVarOperationServerIndex]?.url;
|
|
7957
8141
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7958
8142
|
},
|
|
8143
|
+
/**
|
|
8144
|
+
*
|
|
8145
|
+
* @param {FindCustomerBookingPayload} findCustomerBookingPayload
|
|
8146
|
+
* @param {*} [options] Override http request option.
|
|
8147
|
+
* @throws {RequiredError}
|
|
8148
|
+
*/
|
|
8149
|
+
async bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
8150
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListCustomerBooking(findCustomerBookingPayload, options);
|
|
8151
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8152
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
|
|
8153
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8154
|
+
},
|
|
7959
8155
|
/**
|
|
7960
8156
|
*
|
|
7961
8157
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -8000,6 +8196,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
8000
8196
|
bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
|
|
8001
8197
|
return localVarFp.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
|
|
8002
8198
|
},
|
|
8199
|
+
/**
|
|
8200
|
+
*
|
|
8201
|
+
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
8202
|
+
* @param {*} [options] Override http request option.
|
|
8203
|
+
* @throws {RequiredError}
|
|
8204
|
+
*/
|
|
8205
|
+
bookingControllerBookingConfirmation(bookingConfirmPayload: BookingConfirmPayload, options?: RawAxiosRequestConfig): AxiosPromise<CustomerBookingResponseDTO> {
|
|
8206
|
+
return localVarFp.bookingControllerBookingConfirmation(bookingConfirmPayload, options).then((request) => request(axios, basePath));
|
|
8207
|
+
},
|
|
8003
8208
|
/**
|
|
8004
8209
|
*
|
|
8005
8210
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -8042,9 +8247,18 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
8042
8247
|
* @param {*} [options] Override http request option.
|
|
8043
8248
|
* @throws {RequiredError}
|
|
8044
8249
|
*/
|
|
8045
|
-
bookingControllerListBookings(findBookingPayload: FindBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8250
|
+
bookingControllerListBookings(findBookingPayload: FindBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
8046
8251
|
return localVarFp.bookingControllerListBookings(findBookingPayload, options).then((request) => request(axios, basePath));
|
|
8047
8252
|
},
|
|
8253
|
+
/**
|
|
8254
|
+
*
|
|
8255
|
+
* @param {FindCustomerBookingPayload} findCustomerBookingPayload
|
|
8256
|
+
* @param {*} [options] Override http request option.
|
|
8257
|
+
* @throws {RequiredError}
|
|
8258
|
+
*/
|
|
8259
|
+
bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
8260
|
+
return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
|
|
8261
|
+
},
|
|
8048
8262
|
/**
|
|
8049
8263
|
*
|
|
8050
8264
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -8085,6 +8299,17 @@ export class BookingApi extends BaseAPI {
|
|
|
8085
8299
|
return BookingApiFp(this.configuration).bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
8086
8300
|
}
|
|
8087
8301
|
|
|
8302
|
+
/**
|
|
8303
|
+
*
|
|
8304
|
+
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
8305
|
+
* @param {*} [options] Override http request option.
|
|
8306
|
+
* @throws {RequiredError}
|
|
8307
|
+
* @memberof BookingApi
|
|
8308
|
+
*/
|
|
8309
|
+
public bookingControllerBookingConfirmation(bookingConfirmPayload: BookingConfirmPayload, options?: RawAxiosRequestConfig) {
|
|
8310
|
+
return BookingApiFp(this.configuration).bookingControllerBookingConfirmation(bookingConfirmPayload, options).then((request) => request(this.axios, this.basePath));
|
|
8311
|
+
}
|
|
8312
|
+
|
|
8088
8313
|
/**
|
|
8089
8314
|
*
|
|
8090
8315
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -8140,6 +8365,17 @@ export class BookingApi extends BaseAPI {
|
|
|
8140
8365
|
return BookingApiFp(this.configuration).bookingControllerListBookings(findBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
8141
8366
|
}
|
|
8142
8367
|
|
|
8368
|
+
/**
|
|
8369
|
+
*
|
|
8370
|
+
* @param {FindCustomerBookingPayload} findCustomerBookingPayload
|
|
8371
|
+
* @param {*} [options] Override http request option.
|
|
8372
|
+
* @throws {RequiredError}
|
|
8373
|
+
* @memberof BookingApi
|
|
8374
|
+
*/
|
|
8375
|
+
public bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig) {
|
|
8376
|
+
return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
8377
|
+
}
|
|
8378
|
+
|
|
8143
8379
|
/**
|
|
8144
8380
|
*
|
|
8145
8381
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -14499,10 +14735,12 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14499
14735
|
*
|
|
14500
14736
|
* @param {number} page
|
|
14501
14737
|
* @param {number} pageSize
|
|
14738
|
+
* @param {Array<string>} [venue]
|
|
14739
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14502
14740
|
* @param {*} [options] Override http request option.
|
|
14503
14741
|
* @throws {RequiredError}
|
|
14504
14742
|
*/
|
|
14505
|
-
tagsControllerFindTags: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14743
|
+
tagsControllerFindTags: async (page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14506
14744
|
// verify required parameter 'page' is not null or undefined
|
|
14507
14745
|
assertParamExists('tagsControllerFindTags', 'page', page)
|
|
14508
14746
|
// verify required parameter 'pageSize' is not null or undefined
|
|
@@ -14531,6 +14769,14 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14531
14769
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
14532
14770
|
}
|
|
14533
14771
|
|
|
14772
|
+
if (venue) {
|
|
14773
|
+
localVarQueryParameter['venue'] = venue;
|
|
14774
|
+
}
|
|
14775
|
+
|
|
14776
|
+
if (category) {
|
|
14777
|
+
localVarQueryParameter['category'] = category;
|
|
14778
|
+
}
|
|
14779
|
+
|
|
14534
14780
|
|
|
14535
14781
|
|
|
14536
14782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14656,11 +14902,13 @@ export const TagsApiFp = function(configuration?: Configuration) {
|
|
|
14656
14902
|
*
|
|
14657
14903
|
* @param {number} page
|
|
14658
14904
|
* @param {number} pageSize
|
|
14905
|
+
* @param {Array<string>} [venue]
|
|
14906
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14659
14907
|
* @param {*} [options] Override http request option.
|
|
14660
14908
|
* @throws {RequiredError}
|
|
14661
14909
|
*/
|
|
14662
|
-
async tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
|
|
14663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerFindTags(page, pageSize, options);
|
|
14910
|
+
async tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
|
|
14911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerFindTags(page, pageSize, venue, category, options);
|
|
14664
14912
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14665
14913
|
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerFindTags']?.[localVarOperationServerIndex]?.url;
|
|
14666
14914
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14721,11 +14969,13 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
14721
14969
|
*
|
|
14722
14970
|
* @param {number} page
|
|
14723
14971
|
* @param {number} pageSize
|
|
14972
|
+
* @param {Array<string>} [venue]
|
|
14973
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14724
14974
|
* @param {*} [options] Override http request option.
|
|
14725
14975
|
* @throws {RequiredError}
|
|
14726
14976
|
*/
|
|
14727
|
-
tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
|
|
14728
|
-
return localVarFp.tagsControllerFindTags(page, pageSize, options).then((request) => request(axios, basePath));
|
|
14977
|
+
tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
|
|
14978
|
+
return localVarFp.tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(axios, basePath));
|
|
14729
14979
|
},
|
|
14730
14980
|
/**
|
|
14731
14981
|
*
|
|
@@ -14781,12 +15031,14 @@ export class TagsApi extends BaseAPI {
|
|
|
14781
15031
|
*
|
|
14782
15032
|
* @param {number} page
|
|
14783
15033
|
* @param {number} pageSize
|
|
15034
|
+
* @param {Array<string>} [venue]
|
|
15035
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14784
15036
|
* @param {*} [options] Override http request option.
|
|
14785
15037
|
* @throws {RequiredError}
|
|
14786
15038
|
* @memberof TagsApi
|
|
14787
15039
|
*/
|
|
14788
|
-
public tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
14789
|
-
return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
15040
|
+
public tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig) {
|
|
15041
|
+
return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(this.axios, this.basePath));
|
|
14790
15042
|
}
|
|
14791
15043
|
|
|
14792
15044
|
/**
|
|
@@ -14812,6 +15064,14 @@ export class TagsApi extends BaseAPI {
|
|
|
14812
15064
|
}
|
|
14813
15065
|
}
|
|
14814
15066
|
|
|
15067
|
+
/**
|
|
15068
|
+
* @export
|
|
15069
|
+
*/
|
|
15070
|
+
export const TagsControllerFindTagsCategoryEnum = {
|
|
15071
|
+
Booking: 'BOOKING',
|
|
15072
|
+
Customer: 'CUSTOMER'
|
|
15073
|
+
} as const;
|
|
15074
|
+
export type TagsControllerFindTagsCategoryEnum = typeof TagsControllerFindTagsCategoryEnum[keyof typeof TagsControllerFindTagsCategoryEnum];
|
|
14815
15075
|
|
|
14816
15076
|
|
|
14817
15077
|
/**
|