@gooday_corp/gooday-api-client 1.2.35 → 1.2.39
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 +240 -92
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -380,6 +380,12 @@ export interface AvailableSlotsPayload {
|
|
|
380
380
|
* @memberof AvailableSlotsPayload
|
|
381
381
|
*/
|
|
382
382
|
'view': AvailableSlotsPayloadViewEnum;
|
|
383
|
+
/**
|
|
384
|
+
* List of staffs associated with the booking
|
|
385
|
+
* @type {Array<string>}
|
|
386
|
+
* @memberof AvailableSlotsPayload
|
|
387
|
+
*/
|
|
388
|
+
'staffs': Array<string>;
|
|
383
389
|
}
|
|
384
390
|
|
|
385
391
|
export const AvailableSlotsPayloadViewEnum = {
|
|
@@ -390,6 +396,50 @@ export const AvailableSlotsPayloadViewEnum = {
|
|
|
390
396
|
|
|
391
397
|
export type AvailableSlotsPayloadViewEnum = typeof AvailableSlotsPayloadViewEnum[keyof typeof AvailableSlotsPayloadViewEnum];
|
|
392
398
|
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @export
|
|
402
|
+
* @interface BookingDurationEntity
|
|
403
|
+
*/
|
|
404
|
+
export interface BookingDurationEntity {
|
|
405
|
+
/**
|
|
406
|
+
* Unique identifier for the Booking duration
|
|
407
|
+
* @type {string}
|
|
408
|
+
* @memberof BookingDurationEntity
|
|
409
|
+
*/
|
|
410
|
+
'id': string;
|
|
411
|
+
/**
|
|
412
|
+
* Title of the Booking duration
|
|
413
|
+
* @type {string}
|
|
414
|
+
* @memberof BookingDurationEntity
|
|
415
|
+
*/
|
|
416
|
+
'title': string;
|
|
417
|
+
/**
|
|
418
|
+
* Value of the Booking duration
|
|
419
|
+
* @type {string}
|
|
420
|
+
* @memberof BookingDurationEntity
|
|
421
|
+
*/
|
|
422
|
+
'value': string;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @export
|
|
427
|
+
* @interface BookingDurationListResponse
|
|
428
|
+
*/
|
|
429
|
+
export interface BookingDurationListResponse {
|
|
430
|
+
/**
|
|
431
|
+
* statusCode
|
|
432
|
+
* @type {number}
|
|
433
|
+
* @memberof BookingDurationListResponse
|
|
434
|
+
*/
|
|
435
|
+
'statusCode': number;
|
|
436
|
+
/**
|
|
437
|
+
* Employees Size
|
|
438
|
+
* @type {Array<BookingDurationEntity>}
|
|
439
|
+
* @memberof BookingDurationListResponse
|
|
440
|
+
*/
|
|
441
|
+
'data': Array<BookingDurationEntity>;
|
|
442
|
+
}
|
|
393
443
|
/**
|
|
394
444
|
*
|
|
395
445
|
* @export
|
|
@@ -753,6 +803,18 @@ export interface BookingServicePayload {
|
|
|
753
803
|
* @interface BusinessDetailsPayloadDTO
|
|
754
804
|
*/
|
|
755
805
|
export interface BusinessDetailsPayloadDTO {
|
|
806
|
+
/**
|
|
807
|
+
* Business Type
|
|
808
|
+
* @type {string}
|
|
809
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
810
|
+
*/
|
|
811
|
+
'businessType'?: string;
|
|
812
|
+
/**
|
|
813
|
+
* Business Category
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
816
|
+
*/
|
|
817
|
+
'businessCategory'?: string;
|
|
756
818
|
/**
|
|
757
819
|
* Business Timing
|
|
758
820
|
* @type {Array<BusinessTiming>}
|
|
@@ -1554,10 +1616,28 @@ export interface BusinessVenueDTO {
|
|
|
1554
1616
|
'socialMedia': SocialMedia;
|
|
1555
1617
|
/**
|
|
1556
1618
|
*
|
|
1557
|
-
* @type {
|
|
1619
|
+
* @type {string}
|
|
1620
|
+
* @memberof BusinessVenueDTO
|
|
1621
|
+
*/
|
|
1622
|
+
'email'?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @type {string}
|
|
1558
1626
|
* @memberof BusinessVenueDTO
|
|
1559
1627
|
*/
|
|
1560
|
-
'
|
|
1628
|
+
'phone'?: string;
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @type {string}
|
|
1632
|
+
* @memberof BusinessVenueDTO
|
|
1633
|
+
*/
|
|
1634
|
+
'website'?: string;
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @type {string}
|
|
1638
|
+
* @memberof BusinessVenueDTO
|
|
1639
|
+
*/
|
|
1640
|
+
'name'?: string;
|
|
1561
1641
|
/**
|
|
1562
1642
|
*
|
|
1563
1643
|
* @type {string}
|
|
@@ -1609,16 +1689,34 @@ export interface BusinessVenueDetailsEntity {
|
|
|
1609
1689
|
'description': string;
|
|
1610
1690
|
/**
|
|
1611
1691
|
*
|
|
1612
|
-
* @type {
|
|
1692
|
+
* @type {string}
|
|
1613
1693
|
* @memberof BusinessVenueDetailsEntity
|
|
1614
1694
|
*/
|
|
1615
|
-
'
|
|
1695
|
+
'email': string;
|
|
1696
|
+
/**
|
|
1697
|
+
*
|
|
1698
|
+
* @type {string}
|
|
1699
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1700
|
+
*/
|
|
1701
|
+
'website': string;
|
|
1702
|
+
/**
|
|
1703
|
+
*
|
|
1704
|
+
* @type {string}
|
|
1705
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1706
|
+
*/
|
|
1707
|
+
'phone': string;
|
|
1616
1708
|
/**
|
|
1617
1709
|
*
|
|
1618
|
-
* @type {
|
|
1710
|
+
* @type {string}
|
|
1619
1711
|
* @memberof BusinessVenueDetailsEntity
|
|
1620
1712
|
*/
|
|
1621
|
-
'
|
|
1713
|
+
'name': string;
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @type {LocationDTO}
|
|
1717
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1718
|
+
*/
|
|
1719
|
+
'location': LocationDTO;
|
|
1622
1720
|
/**
|
|
1623
1721
|
*
|
|
1624
1722
|
* @type {string}
|
|
@@ -1999,31 +2097,6 @@ export interface CategoryListResponse {
|
|
|
1999
2097
|
*/
|
|
2000
2098
|
'data': Array<CategoryEntity>;
|
|
2001
2099
|
}
|
|
2002
|
-
/**
|
|
2003
|
-
*
|
|
2004
|
-
* @export
|
|
2005
|
-
* @interface Contact
|
|
2006
|
-
*/
|
|
2007
|
-
export interface Contact {
|
|
2008
|
-
/**
|
|
2009
|
-
*
|
|
2010
|
-
* @type {string}
|
|
2011
|
-
* @memberof Contact
|
|
2012
|
-
*/
|
|
2013
|
-
'email'?: string;
|
|
2014
|
-
/**
|
|
2015
|
-
*
|
|
2016
|
-
* @type {string}
|
|
2017
|
-
* @memberof Contact
|
|
2018
|
-
*/
|
|
2019
|
-
'mobile'?: string;
|
|
2020
|
-
/**
|
|
2021
|
-
*
|
|
2022
|
-
* @type {string}
|
|
2023
|
-
* @memberof Contact
|
|
2024
|
-
*/
|
|
2025
|
-
'website'?: string;
|
|
2026
|
-
}
|
|
2027
2100
|
/**
|
|
2028
2101
|
*
|
|
2029
2102
|
* @export
|
|
@@ -2911,6 +2984,25 @@ export interface FindFriendsFavoritesDTO {
|
|
|
2911
2984
|
*/
|
|
2912
2985
|
'limit'?: number;
|
|
2913
2986
|
}
|
|
2987
|
+
/**
|
|
2988
|
+
*
|
|
2989
|
+
* @export
|
|
2990
|
+
* @interface FindWaitlistResponseDTO
|
|
2991
|
+
*/
|
|
2992
|
+
export interface FindWaitlistResponseDTO {
|
|
2993
|
+
/**
|
|
2994
|
+
* statusCode
|
|
2995
|
+
* @type {number}
|
|
2996
|
+
* @memberof FindWaitlistResponseDTO
|
|
2997
|
+
*/
|
|
2998
|
+
'statusCode': number;
|
|
2999
|
+
/**
|
|
3000
|
+
* Waitlist response
|
|
3001
|
+
* @type {Array<WaitlistEntity>}
|
|
3002
|
+
* @memberof FindWaitlistResponseDTO
|
|
3003
|
+
*/
|
|
3004
|
+
'data': Array<WaitlistEntity>;
|
|
3005
|
+
}
|
|
2914
3006
|
/**
|
|
2915
3007
|
*
|
|
2916
3008
|
* @export
|
|
@@ -4695,31 +4787,6 @@ export interface StripePlanUpsertResponseDTO {
|
|
|
4695
4787
|
*/
|
|
4696
4788
|
'data': StripePaymentDTO;
|
|
4697
4789
|
}
|
|
4698
|
-
/**
|
|
4699
|
-
*
|
|
4700
|
-
* @export
|
|
4701
|
-
* @interface StripeSetupIntentPayment
|
|
4702
|
-
*/
|
|
4703
|
-
export interface StripeSetupIntentPayment {
|
|
4704
|
-
/**
|
|
4705
|
-
*
|
|
4706
|
-
* @type {string}
|
|
4707
|
-
* @memberof StripeSetupIntentPayment
|
|
4708
|
-
*/
|
|
4709
|
-
'staff': string;
|
|
4710
|
-
/**
|
|
4711
|
-
*
|
|
4712
|
-
* @type {number}
|
|
4713
|
-
* @memberof StripeSetupIntentPayment
|
|
4714
|
-
*/
|
|
4715
|
-
'quantity': number;
|
|
4716
|
-
/**
|
|
4717
|
-
*
|
|
4718
|
-
* @type {string}
|
|
4719
|
-
* @memberof StripeSetupIntentPayment
|
|
4720
|
-
*/
|
|
4721
|
-
'serviceId': string;
|
|
4722
|
-
}
|
|
4723
4790
|
/**
|
|
4724
4791
|
*
|
|
4725
4792
|
* @export
|
|
@@ -4728,10 +4795,10 @@ export interface StripeSetupIntentPayment {
|
|
|
4728
4795
|
export interface StripeSetupIntentPaymentPayloadDTO {
|
|
4729
4796
|
/**
|
|
4730
4797
|
*
|
|
4731
|
-
* @type {Array<
|
|
4798
|
+
* @type {Array<string>}
|
|
4732
4799
|
* @memberof StripeSetupIntentPaymentPayloadDTO
|
|
4733
4800
|
*/
|
|
4734
|
-
'service': Array<
|
|
4801
|
+
'service': Array<string>;
|
|
4735
4802
|
}
|
|
4736
4803
|
/**
|
|
4737
4804
|
*
|
|
@@ -5737,6 +5804,24 @@ export interface WaitlistEntity {
|
|
|
5737
5804
|
* @memberof WaitlistEntity
|
|
5738
5805
|
*/
|
|
5739
5806
|
'createdBy'?: UserEntity;
|
|
5807
|
+
/**
|
|
5808
|
+
* The user details
|
|
5809
|
+
* @type {UserEntity}
|
|
5810
|
+
* @memberof WaitlistEntity
|
|
5811
|
+
*/
|
|
5812
|
+
'user'?: UserEntity;
|
|
5813
|
+
/**
|
|
5814
|
+
* The list of staffs associated with the waitlist
|
|
5815
|
+
* @type {Array<BusinessStaffEntity>}
|
|
5816
|
+
* @memberof WaitlistEntity
|
|
5817
|
+
*/
|
|
5818
|
+
'staffs': Array<BusinessStaffEntity>;
|
|
5819
|
+
/**
|
|
5820
|
+
* The list of staffs associated with the waitlist
|
|
5821
|
+
* @type {Array<PrepaidServiceEntity>}
|
|
5822
|
+
* @memberof WaitlistEntity
|
|
5823
|
+
*/
|
|
5824
|
+
'services': Array<PrepaidServiceEntity>;
|
|
5740
5825
|
}
|
|
5741
5826
|
|
|
5742
5827
|
export const WaitlistEntityMethodEnum = {
|
|
@@ -5774,19 +5859,19 @@ export interface WaitlistPayloadDTO {
|
|
|
5774
5859
|
*/
|
|
5775
5860
|
'endDate': string;
|
|
5776
5861
|
/**
|
|
5777
|
-
* The venue of the
|
|
5862
|
+
* The venue of the waitlist
|
|
5778
5863
|
* @type {string}
|
|
5779
5864
|
* @memberof WaitlistPayloadDTO
|
|
5780
5865
|
*/
|
|
5781
5866
|
'venue': string;
|
|
5782
5867
|
/**
|
|
5783
|
-
* The business associated with the
|
|
5868
|
+
* The business associated with the waitlist
|
|
5784
5869
|
* @type {string}
|
|
5785
5870
|
* @memberof WaitlistPayloadDTO
|
|
5786
5871
|
*/
|
|
5787
5872
|
'business': string;
|
|
5788
5873
|
/**
|
|
5789
|
-
* The list of customers associated with the
|
|
5874
|
+
* The list of customers associated with the waitlist
|
|
5790
5875
|
* @type {Array<CreateWaitlistBookingCustomerPayload>}
|
|
5791
5876
|
* @memberof WaitlistPayloadDTO
|
|
5792
5877
|
*/
|
|
@@ -5809,6 +5894,18 @@ export interface WaitlistPayloadDTO {
|
|
|
5809
5894
|
* @memberof WaitlistPayloadDTO
|
|
5810
5895
|
*/
|
|
5811
5896
|
'method': string;
|
|
5897
|
+
/**
|
|
5898
|
+
*
|
|
5899
|
+
* @type {string}
|
|
5900
|
+
* @memberof WaitlistPayloadDTO
|
|
5901
|
+
*/
|
|
5902
|
+
'user': string;
|
|
5903
|
+
/**
|
|
5904
|
+
* The list of services associated with the waitlist
|
|
5905
|
+
* @type {Array<string>}
|
|
5906
|
+
* @memberof WaitlistPayloadDTO
|
|
5907
|
+
*/
|
|
5908
|
+
'services': Array<string>;
|
|
5812
5909
|
}
|
|
5813
5910
|
/**
|
|
5814
5911
|
*
|
|
@@ -6046,25 +6143,6 @@ export interface WhatsOnResponseDTO {
|
|
|
6046
6143
|
*/
|
|
6047
6144
|
'statusCode': number;
|
|
6048
6145
|
}
|
|
6049
|
-
/**
|
|
6050
|
-
*
|
|
6051
|
-
* @export
|
|
6052
|
-
* @interface WhitelistsResponseDTO
|
|
6053
|
-
*/
|
|
6054
|
-
export interface WhitelistsResponseDTO {
|
|
6055
|
-
/**
|
|
6056
|
-
* statusCode
|
|
6057
|
-
* @type {number}
|
|
6058
|
-
* @memberof WhitelistsResponseDTO
|
|
6059
|
-
*/
|
|
6060
|
-
'statusCode': number;
|
|
6061
|
-
/**
|
|
6062
|
-
* Waitlist response
|
|
6063
|
-
* @type {Array<WaitlistEntity>}
|
|
6064
|
-
* @memberof WhitelistsResponseDTO
|
|
6065
|
-
*/
|
|
6066
|
-
'data': Array<WaitlistEntity>;
|
|
6067
|
-
}
|
|
6068
6146
|
|
|
6069
6147
|
/**
|
|
6070
6148
|
* AIApi - axios parameter creator
|
|
@@ -8083,6 +8161,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8083
8161
|
options: localVarRequestOptions,
|
|
8084
8162
|
};
|
|
8085
8163
|
},
|
|
8164
|
+
/**
|
|
8165
|
+
*
|
|
8166
|
+
* @param {*} [options] Override http request option.
|
|
8167
|
+
* @throws {RequiredError}
|
|
8168
|
+
*/
|
|
8169
|
+
businessTypeControllerListBookingDurations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8170
|
+
const localVarPath = `/v1/business/booking-durations`;
|
|
8171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8172
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8173
|
+
let baseOptions;
|
|
8174
|
+
if (configuration) {
|
|
8175
|
+
baseOptions = configuration.baseOptions;
|
|
8176
|
+
}
|
|
8177
|
+
|
|
8178
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8179
|
+
const localVarHeaderParameter = {} as any;
|
|
8180
|
+
const localVarQueryParameter = {} as any;
|
|
8181
|
+
|
|
8182
|
+
// authentication bearer required
|
|
8183
|
+
// http bearer authentication required
|
|
8184
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8185
|
+
|
|
8186
|
+
|
|
8187
|
+
|
|
8188
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8190
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8191
|
+
|
|
8192
|
+
return {
|
|
8193
|
+
url: toPathString(localVarUrlObj),
|
|
8194
|
+
options: localVarRequestOptions,
|
|
8195
|
+
};
|
|
8196
|
+
},
|
|
8086
8197
|
/**
|
|
8087
8198
|
*
|
|
8088
8199
|
* @param {boolean} favorite
|
|
@@ -8388,7 +8499,7 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
8388
8499
|
* @param {*} [options] Override http request option.
|
|
8389
8500
|
* @throws {RequiredError}
|
|
8390
8501
|
*/
|
|
8391
|
-
async businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8502
|
+
async businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
8392
8503
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options);
|
|
8393
8504
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8394
8505
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerUpdateBusinessDetails']?.[localVarOperationServerIndex]?.url;
|
|
@@ -8503,6 +8614,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
8503
8614
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
8504
8615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8505
8616
|
},
|
|
8617
|
+
/**
|
|
8618
|
+
*
|
|
8619
|
+
* @param {*} [options] Override http request option.
|
|
8620
|
+
* @throws {RequiredError}
|
|
8621
|
+
*/
|
|
8622
|
+
async businessTypeControllerListBookingDurations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingDurationListResponse>> {
|
|
8623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBookingDurations(options);
|
|
8624
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8625
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBookingDurations']?.[localVarOperationServerIndex]?.url;
|
|
8626
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8627
|
+
},
|
|
8506
8628
|
/**
|
|
8507
8629
|
*
|
|
8508
8630
|
* @param {boolean} favorite
|
|
@@ -8627,7 +8749,7 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
8627
8749
|
* @param {*} [options] Override http request option.
|
|
8628
8750
|
* @throws {RequiredError}
|
|
8629
8751
|
*/
|
|
8630
|
-
businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8752
|
+
businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
8631
8753
|
return localVarFp.businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options).then((request) => request(axios, basePath));
|
|
8632
8754
|
},
|
|
8633
8755
|
/**
|
|
@@ -8712,6 +8834,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
8712
8834
|
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
8713
8835
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
8714
8836
|
},
|
|
8837
|
+
/**
|
|
8838
|
+
*
|
|
8839
|
+
* @param {*} [options] Override http request option.
|
|
8840
|
+
* @throws {RequiredError}
|
|
8841
|
+
*/
|
|
8842
|
+
businessTypeControllerListBookingDurations(options?: RawAxiosRequestConfig): AxiosPromise<BookingDurationListResponse> {
|
|
8843
|
+
return localVarFp.businessTypeControllerListBookingDurations(options).then((request) => request(axios, basePath));
|
|
8844
|
+
},
|
|
8715
8845
|
/**
|
|
8716
8846
|
*
|
|
8717
8847
|
* @param {boolean} favorite
|
|
@@ -8926,6 +9056,16 @@ export class BusinessApi extends BaseAPI {
|
|
|
8926
9056
|
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
8927
9057
|
}
|
|
8928
9058
|
|
|
9059
|
+
/**
|
|
9060
|
+
*
|
|
9061
|
+
* @param {*} [options] Override http request option.
|
|
9062
|
+
* @throws {RequiredError}
|
|
9063
|
+
* @memberof BusinessApi
|
|
9064
|
+
*/
|
|
9065
|
+
public businessTypeControllerListBookingDurations(options?: RawAxiosRequestConfig) {
|
|
9066
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBookingDurations(options).then((request) => request(this.axios, this.basePath));
|
|
9067
|
+
}
|
|
9068
|
+
|
|
8929
9069
|
/**
|
|
8930
9070
|
*
|
|
8931
9071
|
* @param {boolean} favorite
|
|
@@ -15368,14 +15508,15 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15368
15508
|
* @param {number} page
|
|
15369
15509
|
* @param {number} pageSize
|
|
15370
15510
|
* @param {string} [search]
|
|
15511
|
+
* @param {string} [venue]
|
|
15371
15512
|
* @param {*} [options] Override http request option.
|
|
15372
15513
|
* @throws {RequiredError}
|
|
15373
15514
|
*/
|
|
15374
|
-
|
|
15515
|
+
waitlistControllerFindWaitlist: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15375
15516
|
// verify required parameter 'page' is not null or undefined
|
|
15376
|
-
assertParamExists('
|
|
15517
|
+
assertParamExists('waitlistControllerFindWaitlist', 'page', page)
|
|
15377
15518
|
// verify required parameter 'pageSize' is not null or undefined
|
|
15378
|
-
assertParamExists('
|
|
15519
|
+
assertParamExists('waitlistControllerFindWaitlist', 'pageSize', pageSize)
|
|
15379
15520
|
const localVarPath = `/v1/waitlist`;
|
|
15380
15521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15381
15522
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15404,6 +15545,10 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15404
15545
|
localVarQueryParameter['search'] = search;
|
|
15405
15546
|
}
|
|
15406
15547
|
|
|
15548
|
+
if (venue !== undefined) {
|
|
15549
|
+
localVarQueryParameter['venue'] = venue;
|
|
15550
|
+
}
|
|
15551
|
+
|
|
15407
15552
|
|
|
15408
15553
|
|
|
15409
15554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15455,13 +15600,14 @@ export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
|
15455
15600
|
* @param {number} page
|
|
15456
15601
|
* @param {number} pageSize
|
|
15457
15602
|
* @param {string} [search]
|
|
15603
|
+
* @param {string} [venue]
|
|
15458
15604
|
* @param {*} [options] Override http request option.
|
|
15459
15605
|
* @throws {RequiredError}
|
|
15460
15606
|
*/
|
|
15461
|
-
async
|
|
15462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15607
|
+
async waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
|
|
15608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(page, pageSize, search, venue, options);
|
|
15463
15609
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15464
|
-
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.
|
|
15610
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
15465
15611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15466
15612
|
},
|
|
15467
15613
|
}
|
|
@@ -15498,11 +15644,12 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
|
|
|
15498
15644
|
* @param {number} page
|
|
15499
15645
|
* @param {number} pageSize
|
|
15500
15646
|
* @param {string} [search]
|
|
15647
|
+
* @param {string} [venue]
|
|
15501
15648
|
* @param {*} [options] Override http request option.
|
|
15502
15649
|
* @throws {RequiredError}
|
|
15503
15650
|
*/
|
|
15504
|
-
|
|
15505
|
-
return localVarFp.
|
|
15651
|
+
waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
|
|
15652
|
+
return localVarFp.waitlistControllerFindWaitlist(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
15506
15653
|
},
|
|
15507
15654
|
};
|
|
15508
15655
|
};
|
|
@@ -15542,12 +15689,13 @@ export class WaitlistApi extends BaseAPI {
|
|
|
15542
15689
|
* @param {number} page
|
|
15543
15690
|
* @param {number} pageSize
|
|
15544
15691
|
* @param {string} [search]
|
|
15692
|
+
* @param {string} [venue]
|
|
15545
15693
|
* @param {*} [options] Override http request option.
|
|
15546
15694
|
* @throws {RequiredError}
|
|
15547
15695
|
* @memberof WaitlistApi
|
|
15548
15696
|
*/
|
|
15549
|
-
public
|
|
15550
|
-
return WaitlistApiFp(this.configuration).
|
|
15697
|
+
public waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
15698
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
15551
15699
|
}
|
|
15552
15700
|
}
|
|
15553
15701
|
|