@gooday_corp/gooday-api-client 1.2.115 → 1.2.116

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.
Files changed (2) hide show
  1. package/api.ts +279 -352
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -654,10 +654,10 @@ export interface BookingEntity {
654
654
  'venue': string;
655
655
  /**
656
656
  * Business associated with the booking
657
- * @type {string}
657
+ * @type {BusinessEntity}
658
658
  * @memberof BookingEntity
659
659
  */
660
- 'business': string;
660
+ 'business': BusinessEntity;
661
661
  /**
662
662
  * List of collaborators in the booking
663
663
  * @type {Array<object>}
@@ -762,10 +762,10 @@ export interface BookingEntity {
762
762
  'serviceId': PrepaidServiceEntity;
763
763
  /**
764
764
  *
765
- * @type {StripeSetupIntentPaymentResponse}
765
+ * @type {BookingPaymentCreateResponse}
766
766
  * @memberof BookingEntity
767
767
  */
768
- 'paymentMethod': StripeSetupIntentPaymentResponse;
768
+ 'paymentMethod': BookingPaymentCreateResponse;
769
769
  /**
770
770
  *
771
771
  * @type {Array<TagsResponse>}
@@ -778,6 +778,12 @@ export interface BookingEntity {
778
778
  * @memberof BookingEntity
779
779
  */
780
780
  'whatsOn': WhatsOnEntity;
781
+ /**
782
+ * Cancellation fee
783
+ * @type {string}
784
+ * @memberof BookingEntity
785
+ */
786
+ 'cancellationFee'?: string;
781
787
  }
782
788
 
783
789
  export const BookingEntityStatusEnum = {
@@ -800,6 +806,99 @@ export const BookingEntityMethodEnum = {
800
806
 
801
807
  export type BookingEntityMethodEnum = typeof BookingEntityMethodEnum[keyof typeof BookingEntityMethodEnum];
802
808
 
809
+ /**
810
+ *
811
+ * @export
812
+ * @interface BookingPaymentCreateResponse
813
+ */
814
+ export interface BookingPaymentCreateResponse {
815
+ /**
816
+ * Payment method ID
817
+ * @type {string}
818
+ * @memberof BookingPaymentCreateResponse
819
+ */
820
+ 'paymentId': string;
821
+ /**
822
+ * Payment intent ID
823
+ * @type {string}
824
+ * @memberof BookingPaymentCreateResponse
825
+ */
826
+ 'paymentIntent': string;
827
+ /**
828
+ *
829
+ * @type {string}
830
+ * @memberof BookingPaymentCreateResponse
831
+ */
832
+ 'ephemeralKey': string;
833
+ /**
834
+ *
835
+ * @type {string}
836
+ * @memberof BookingPaymentCreateResponse
837
+ */
838
+ 'customer': string;
839
+ /**
840
+ * Only available if payment is recurring
841
+ * @type {string}
842
+ * @memberof BookingPaymentCreateResponse
843
+ */
844
+ 'subscriptionId'?: string;
845
+ /**
846
+ * Final booking price shown to customer
847
+ * @type {number}
848
+ * @memberof BookingPaymentCreateResponse
849
+ */
850
+ 'price': number;
851
+ /**
852
+ * Only available if payment is recurring
853
+ * @type {string}
854
+ * @memberof BookingPaymentCreateResponse
855
+ */
856
+ 'frequency'?: string;
857
+ /**
858
+ *
859
+ * @type {string}
860
+ * @memberof BookingPaymentCreateResponse
861
+ */
862
+ 'currency': string;
863
+ /**
864
+ *
865
+ * @type {string}
866
+ * @memberof BookingPaymentCreateResponse
867
+ */
868
+ 'currencySymbol': string;
869
+ }
870
+ /**
871
+ *
872
+ * @export
873
+ * @interface BookingPaymentCreateResponseDTO
874
+ */
875
+ export interface BookingPaymentCreateResponseDTO {
876
+ /**
877
+ * statusCode
878
+ * @type {number}
879
+ * @memberof BookingPaymentCreateResponseDTO
880
+ */
881
+ 'statusCode': number;
882
+ /**
883
+ *
884
+ * @type {BookingPaymentCreateResponse}
885
+ * @memberof BookingPaymentCreateResponseDTO
886
+ */
887
+ 'data': BookingPaymentCreateResponse;
888
+ }
889
+ /**
890
+ *
891
+ * @export
892
+ * @interface BookingPaymentPayloadDTO
893
+ */
894
+ export interface BookingPaymentPayloadDTO {
895
+ /**
896
+ * Booking ID
897
+ * @type {string}
898
+ * @memberof BookingPaymentPayloadDTO
899
+ */
900
+ 'id': string;
901
+ }
803
902
  /**
804
903
  *
805
904
  * @export
@@ -941,10 +1040,10 @@ export interface BookingResponse {
941
1040
  'serviceId': PrepaidServiceEntity;
942
1041
  /**
943
1042
  *
944
- * @type {StripeSetupIntentPaymentResponse}
1043
+ * @type {BookingPaymentCreateResponse}
945
1044
  * @memberof BookingResponse
946
1045
  */
947
- 'paymentMethod': StripeSetupIntentPaymentResponse;
1046
+ 'paymentMethod': BookingPaymentCreateResponse;
948
1047
  /**
949
1048
  *
950
1049
  * @type {string}
@@ -2642,10 +2741,10 @@ export interface CreateBookingPayload {
2642
2741
  'serviceId'?: string;
2643
2742
  /**
2644
2743
  *
2645
- * @type {StripeSetupIntentPaymentResponse}
2744
+ * @type {BookingPaymentCreateResponse}
2646
2745
  * @memberof CreateBookingPayload
2647
2746
  */
2648
- 'paymentMethod'?: StripeSetupIntentPaymentResponse;
2747
+ 'paymentMethod'?: BookingPaymentCreateResponse;
2649
2748
  /**
2650
2749
  *
2651
2750
  * @type {string}
@@ -4913,19 +5012,6 @@ export interface PlanResponseDTO {
4913
5012
  */
4914
5013
  'data': Array<PlanEntity>;
4915
5014
  }
4916
- /**
4917
- *
4918
- * @export
4919
- * @interface PlanUpsertPayloadDTO
4920
- */
4921
- export interface PlanUpsertPayloadDTO {
4922
- /**
4923
- * Plan id
4924
- * @type {string}
4925
- * @memberof PlanUpsertPayloadDTO
4926
- */
4927
- 'plan': string;
4928
- }
4929
5015
  /**
4930
5016
  *
4931
5017
  * @export
@@ -5688,6 +5774,31 @@ export interface RenameCalendarPayload {
5688
5774
  */
5689
5775
  'name': string;
5690
5776
  }
5777
+ /**
5778
+ *
5779
+ * @export
5780
+ * @interface RescheduleBookingPayload
5781
+ */
5782
+ export interface RescheduleBookingPayload {
5783
+ /**
5784
+ * The start date of the booking
5785
+ * @type {string}
5786
+ * @memberof RescheduleBookingPayload
5787
+ */
5788
+ 'date': string;
5789
+ /**
5790
+ *
5791
+ * @type {string}
5792
+ * @memberof RescheduleBookingPayload
5793
+ */
5794
+ 'from'?: string;
5795
+ /**
5796
+ *
5797
+ * @type {string}
5798
+ * @memberof RescheduleBookingPayload
5799
+ */
5800
+ 'to'?: string;
5801
+ }
5691
5802
  /**
5692
5803
  *
5693
5804
  * @export
@@ -6021,144 +6132,6 @@ export interface StandardBookingSlotsPayload {
6021
6132
  */
6022
6133
  'id': string;
6023
6134
  }
6024
- /**
6025
- *
6026
- * @export
6027
- * @interface StripeBookingPayloadDTO
6028
- */
6029
- export interface StripeBookingPayloadDTO {
6030
- /**
6031
- *
6032
- * @type {string}
6033
- * @memberof StripeBookingPayloadDTO
6034
- */
6035
- 'bookingId': string;
6036
- }
6037
- /**
6038
- *
6039
- * @export
6040
- * @interface StripePaymentDTO
6041
- */
6042
- export interface StripePaymentDTO {
6043
- /**
6044
- * Stripe ephemeral Key
6045
- * @type {string}
6046
- * @memberof StripePaymentDTO
6047
- */
6048
- 'ephemeralKey': string;
6049
- /**
6050
- * Stripe ClientSecret
6051
- * @type {string}
6052
- * @memberof StripePaymentDTO
6053
- */
6054
- 'clientSecret': string;
6055
- }
6056
- /**
6057
- *
6058
- * @export
6059
- * @interface StripePlanUpsertResponseDTO
6060
- */
6061
- export interface StripePlanUpsertResponseDTO {
6062
- /**
6063
- * statusCode
6064
- * @type {number}
6065
- * @memberof StripePlanUpsertResponseDTO
6066
- */
6067
- 'statusCode': number;
6068
- /**
6069
- * Stripe Intent Data
6070
- * @type {StripePaymentDTO}
6071
- * @memberof StripePlanUpsertResponseDTO
6072
- */
6073
- 'data': StripePaymentDTO;
6074
- }
6075
- /**
6076
- *
6077
- * @export
6078
- * @interface StripeSetupIntentPaymentPayloadDTO
6079
- */
6080
- export interface StripeSetupIntentPaymentPayloadDTO {
6081
- /**
6082
- *
6083
- * @type {string}
6084
- * @memberof StripeSetupIntentPaymentPayloadDTO
6085
- */
6086
- 'bookingId'?: string;
6087
- }
6088
- /**
6089
- *
6090
- * @export
6091
- * @interface StripeSetupIntentPaymentResponse
6092
- */
6093
- export interface StripeSetupIntentPaymentResponse {
6094
- /**
6095
- *
6096
- * @type {string}
6097
- * @memberof StripeSetupIntentPaymentResponse
6098
- */
6099
- 'paymentId': string;
6100
- /**
6101
- *
6102
- * @type {string}
6103
- * @memberof StripeSetupIntentPaymentResponse
6104
- */
6105
- 'paymentIntent': string;
6106
- /**
6107
- *
6108
- * @type {string}
6109
- * @memberof StripeSetupIntentPaymentResponse
6110
- */
6111
- 'ephemeralKey': string;
6112
- /**
6113
- *
6114
- * @type {string}
6115
- * @memberof StripeSetupIntentPaymentResponse
6116
- */
6117
- 'customer': string;
6118
- /**
6119
- *
6120
- * @type {string}
6121
- * @memberof StripeSetupIntentPaymentResponse
6122
- */
6123
- 'subscriptionId'?: string;
6124
- /**
6125
- *
6126
- * @type {number}
6127
- * @memberof StripeSetupIntentPaymentResponse
6128
- */
6129
- 'price'?: number;
6130
- /**
6131
- *
6132
- * @type {string}
6133
- * @memberof StripeSetupIntentPaymentResponse
6134
- */
6135
- 'frequency'?: string;
6136
- /**
6137
- *
6138
- * @type {string}
6139
- * @memberof StripeSetupIntentPaymentResponse
6140
- */
6141
- 'currency'?: string;
6142
- }
6143
- /**
6144
- *
6145
- * @export
6146
- * @interface StripeSetupIntentPaymentResponseDTO
6147
- */
6148
- export interface StripeSetupIntentPaymentResponseDTO {
6149
- /**
6150
- * statusCode
6151
- * @type {number}
6152
- * @memberof StripeSetupIntentPaymentResponseDTO
6153
- */
6154
- 'statusCode': number;
6155
- /**
6156
- *
6157
- * @type {StripeSetupIntentPaymentResponse}
6158
- * @memberof StripeSetupIntentPaymentResponseDTO
6159
- */
6160
- 'data': StripeSetupIntentPaymentResponse;
6161
- }
6162
6135
  /**
6163
6136
  *
6164
6137
  * @export
@@ -9817,6 +9790,49 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
9817
9790
  options: localVarRequestOptions,
9818
9791
  };
9819
9792
  },
9793
+ /**
9794
+ *
9795
+ * @param {string} id
9796
+ * @param {RescheduleBookingPayload} rescheduleBookingPayload
9797
+ * @param {*} [options] Override http request option.
9798
+ * @throws {RequiredError}
9799
+ */
9800
+ bookingControllerRescheduleBooking: async (id: string, rescheduleBookingPayload: RescheduleBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9801
+ // verify required parameter 'id' is not null or undefined
9802
+ assertParamExists('bookingControllerRescheduleBooking', 'id', id)
9803
+ // verify required parameter 'rescheduleBookingPayload' is not null or undefined
9804
+ assertParamExists('bookingControllerRescheduleBooking', 'rescheduleBookingPayload', rescheduleBookingPayload)
9805
+ const localVarPath = `/v1/booking/reschedule/{id}`
9806
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9807
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9808
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9809
+ let baseOptions;
9810
+ if (configuration) {
9811
+ baseOptions = configuration.baseOptions;
9812
+ }
9813
+
9814
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
9815
+ const localVarHeaderParameter = {} as any;
9816
+ const localVarQueryParameter = {} as any;
9817
+
9818
+ // authentication bearer required
9819
+ // http bearer authentication required
9820
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9821
+
9822
+
9823
+
9824
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9825
+
9826
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9827
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9828
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9829
+ localVarRequestOptions.data = serializeDataIfNeeded(rescheduleBookingPayload, localVarRequestOptions, configuration)
9830
+
9831
+ return {
9832
+ url: toPathString(localVarUrlObj),
9833
+ options: localVarRequestOptions,
9834
+ };
9835
+ },
9820
9836
  /**
9821
9837
  *
9822
9838
  * @param {string} id
@@ -9990,6 +10006,19 @@ export const BookingApiFp = function(configuration?: Configuration) {
9990
10006
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRejectBookingInvite']?.[localVarOperationServerIndex]?.url;
9991
10007
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9992
10008
  },
10009
+ /**
10010
+ *
10011
+ * @param {string} id
10012
+ * @param {RescheduleBookingPayload} rescheduleBookingPayload
10013
+ * @param {*} [options] Override http request option.
10014
+ * @throws {RequiredError}
10015
+ */
10016
+ async bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
10017
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options);
10018
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10019
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRescheduleBooking']?.[localVarOperationServerIndex]?.url;
10020
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10021
+ },
9993
10022
  /**
9994
10023
  *
9995
10024
  * @param {string} id
@@ -10103,6 +10132,16 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
10103
10132
  bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
10104
10133
  return localVarFp.bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(axios, basePath));
10105
10134
  },
10135
+ /**
10136
+ *
10137
+ * @param {string} id
10138
+ * @param {RescheduleBookingPayload} rescheduleBookingPayload
10139
+ * @param {*} [options] Override http request option.
10140
+ * @throws {RequiredError}
10141
+ */
10142
+ bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
10143
+ return localVarFp.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(axios, basePath));
10144
+ },
10106
10145
  /**
10107
10146
  *
10108
10147
  * @param {string} id
@@ -10233,6 +10272,18 @@ export class BookingApi extends BaseAPI {
10233
10272
  return BookingApiFp(this.configuration).bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
10234
10273
  }
10235
10274
 
10275
+ /**
10276
+ *
10277
+ * @param {string} id
10278
+ * @param {RescheduleBookingPayload} rescheduleBookingPayload
10279
+ * @param {*} [options] Override http request option.
10280
+ * @throws {RequiredError}
10281
+ * @memberof BookingApi
10282
+ */
10283
+ public bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig) {
10284
+ return BookingApiFp(this.configuration).bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(this.axios, this.basePath));
10285
+ }
10286
+
10236
10287
  /**
10237
10288
  *
10238
10289
  * @param {string} id
@@ -15939,45 +15990,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
15939
15990
  options: localVarRequestOptions,
15940
15991
  };
15941
15992
  },
15942
- /**
15943
- *
15944
- * @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
15945
- * @param {*} [options] Override http request option.
15946
- * @throws {RequiredError}
15947
- */
15948
- paymentControllerCreateBookingSetupIntentPayment: async (stripeBookingPayloadDTO: StripeBookingPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15949
- // verify required parameter 'stripeBookingPayloadDTO' is not null or undefined
15950
- assertParamExists('paymentControllerCreateBookingSetupIntentPayment', 'stripeBookingPayloadDTO', stripeBookingPayloadDTO)
15951
- const localVarPath = `/v1/payment/create-booking-setup-intent-payment`;
15952
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15953
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15954
- let baseOptions;
15955
- if (configuration) {
15956
- baseOptions = configuration.baseOptions;
15957
- }
15958
-
15959
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15960
- const localVarHeaderParameter = {} as any;
15961
- const localVarQueryParameter = {} as any;
15962
-
15963
- // authentication bearer required
15964
- // http bearer authentication required
15965
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
15966
-
15967
-
15968
-
15969
- localVarHeaderParameter['Content-Type'] = 'application/json';
15970
-
15971
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15972
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15973
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15974
- localVarRequestOptions.data = serializeDataIfNeeded(stripeBookingPayloadDTO, localVarRequestOptions, configuration)
15975
-
15976
- return {
15977
- url: toPathString(localVarUrlObj),
15978
- options: localVarRequestOptions,
15979
- };
15980
- },
15981
15993
  /**
15982
15994
  *
15983
15995
  * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
@@ -16042,45 +16054,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16042
16054
  options: localVarRequestOptions,
16043
16055
  };
16044
16056
  },
16045
- /**
16046
- *
16047
- * @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
16048
- * @param {*} [options] Override http request option.
16049
- * @throws {RequiredError}
16050
- */
16051
- paymentControllerCreateSetupIntentPayment: async (stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16052
- // verify required parameter 'stripeSetupIntentPaymentPayloadDTO' is not null or undefined
16053
- assertParamExists('paymentControllerCreateSetupIntentPayment', 'stripeSetupIntentPaymentPayloadDTO', stripeSetupIntentPaymentPayloadDTO)
16054
- const localVarPath = `/v1/payment/create-setup-intent-payment`;
16055
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16056
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16057
- let baseOptions;
16058
- if (configuration) {
16059
- baseOptions = configuration.baseOptions;
16060
- }
16061
-
16062
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16063
- const localVarHeaderParameter = {} as any;
16064
- const localVarQueryParameter = {} as any;
16065
-
16066
- // authentication bearer required
16067
- // http bearer authentication required
16068
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
16069
-
16070
-
16071
-
16072
- localVarHeaderParameter['Content-Type'] = 'application/json';
16073
-
16074
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16075
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16076
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16077
- localVarRequestOptions.data = serializeDataIfNeeded(stripeSetupIntentPaymentPayloadDTO, localVarRequestOptions, configuration)
16078
-
16079
- return {
16080
- url: toPathString(localVarUrlObj),
16081
- options: localVarRequestOptions,
16082
- };
16083
- },
16084
16057
  /**
16085
16058
  *
16086
16059
  * @param {*} [options] Override http request option.
@@ -16112,14 +16085,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16112
16085
  },
16113
16086
  /**
16114
16087
  *
16115
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
16116
16088
  * @param {*} [options] Override http request option.
16117
16089
  * @throws {RequiredError}
16118
16090
  */
16119
- paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16120
- // verify required parameter 'planUpsertPayloadDTO' is not null or undefined
16121
- assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
16122
- const localVarPath = `/v1/payment/plan`;
16091
+ paymentControllerRetrieveConnectedAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16092
+ const localVarPath = `/v1/payment/connected-account`;
16123
16093
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16124
16094
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16125
16095
  let baseOptions;
@@ -16127,7 +16097,7 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16127
16097
  baseOptions = configuration.baseOptions;
16128
16098
  }
16129
16099
 
16130
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16100
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16131
16101
  const localVarHeaderParameter = {} as any;
16132
16102
  const localVarQueryParameter = {} as any;
16133
16103
 
@@ -16137,12 +16107,9 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16137
16107
 
16138
16108
 
16139
16109
 
16140
- localVarHeaderParameter['Content-Type'] = 'application/json';
16141
-
16142
16110
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16143
16111
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16144
16112
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16145
- localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
16146
16113
 
16147
16114
  return {
16148
16115
  url: toPathString(localVarUrlObj),
@@ -16154,8 +16121,8 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16154
16121
  * @param {*} [options] Override http request option.
16155
16122
  * @throws {RequiredError}
16156
16123
  */
16157
- paymentControllerRetrieveConnectedAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16158
- const localVarPath = `/v1/payment/connected-account`;
16124
+ paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16125
+ const localVarPath = `/v1/payment/revenuecat-webhook`;
16159
16126
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16160
16127
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16161
16128
  let baseOptions;
@@ -16163,14 +16130,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16163
16130
  baseOptions = configuration.baseOptions;
16164
16131
  }
16165
16132
 
16166
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16133
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16167
16134
  const localVarHeaderParameter = {} as any;
16168
16135
  const localVarQueryParameter = {} as any;
16169
16136
 
16170
- // authentication bearer required
16171
- // http bearer authentication required
16172
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
16173
-
16174
16137
 
16175
16138
 
16176
16139
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16184,11 +16147,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16184
16147
  },
16185
16148
  /**
16186
16149
  *
16150
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
16187
16151
  * @param {*} [options] Override http request option.
16188
16152
  * @throws {RequiredError}
16189
16153
  */
16190
- paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16191
- const localVarPath = `/v1/payment/revenuecat-webhook`;
16154
+ paymentControllerSetupBookingPayment: async (bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16155
+ // verify required parameter 'bookingPaymentPayloadDTO' is not null or undefined
16156
+ assertParamExists('paymentControllerSetupBookingPayment', 'bookingPaymentPayloadDTO', bookingPaymentPayloadDTO)
16157
+ const localVarPath = `/v1/payment/booking`;
16192
16158
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16193
16159
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16194
16160
  let baseOptions;
@@ -16200,11 +16166,18 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16200
16166
  const localVarHeaderParameter = {} as any;
16201
16167
  const localVarQueryParameter = {} as any;
16202
16168
 
16169
+ // authentication bearer required
16170
+ // http bearer authentication required
16171
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16172
+
16203
16173
 
16204
16174
 
16175
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16176
+
16205
16177
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16206
16178
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16207
16179
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16180
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPaymentPayloadDTO, localVarRequestOptions, configuration)
16208
16181
 
16209
16182
  return {
16210
16183
  url: toPathString(localVarUrlObj),
@@ -16278,18 +16251,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
16278
16251
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateAccountVerificationLink']?.[localVarOperationServerIndex]?.url;
16279
16252
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16280
16253
  },
16281
- /**
16282
- *
16283
- * @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
16284
- * @param {*} [options] Override http request option.
16285
- * @throws {RequiredError}
16286
- */
16287
- async paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO: StripeBookingPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentPaymentResponseDTO>> {
16288
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO, options);
16289
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16290
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateBookingSetupIntentPayment']?.[localVarOperationServerIndex]?.url;
16291
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16292
- },
16293
16254
  /**
16294
16255
  *
16295
16256
  * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
@@ -16313,18 +16274,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
16313
16274
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntent']?.[localVarOperationServerIndex]?.url;
16314
16275
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16315
16276
  },
16316
- /**
16317
- *
16318
- * @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
16319
- * @param {*} [options] Override http request option.
16320
- * @throws {RequiredError}
16321
- */
16322
- async paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentPaymentResponseDTO>> {
16323
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO, options);
16324
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16325
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntentPayment']?.[localVarOperationServerIndex]?.url;
16326
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16327
- },
16328
16277
  /**
16329
16278
  *
16330
16279
  * @param {*} [options] Override http request option.
@@ -16338,14 +16287,13 @@ export const PlansApiFp = function(configuration?: Configuration) {
16338
16287
  },
16339
16288
  /**
16340
16289
  *
16341
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
16342
16290
  * @param {*} [options] Override http request option.
16343
16291
  * @throws {RequiredError}
16344
16292
  */
16345
- async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
16346
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
16293
+ async paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessConnectedAccount>> {
16294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRetrieveConnectedAccount(options);
16347
16295
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16348
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
16296
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveConnectedAccount']?.[localVarOperationServerIndex]?.url;
16349
16297
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16350
16298
  },
16351
16299
  /**
@@ -16353,21 +16301,22 @@ export const PlansApiFp = function(configuration?: Configuration) {
16353
16301
  * @param {*} [options] Override http request option.
16354
16302
  * @throws {RequiredError}
16355
16303
  */
16356
- async paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessConnectedAccount>> {
16357
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRetrieveConnectedAccount(options);
16304
+ async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16305
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
16358
16306
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16359
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveConnectedAccount']?.[localVarOperationServerIndex]?.url;
16307
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
16360
16308
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16361
16309
  },
16362
16310
  /**
16363
16311
  *
16312
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
16364
16313
  * @param {*} [options] Override http request option.
16365
16314
  * @throws {RequiredError}
16366
16315
  */
16367
- async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16368
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
16316
+ async paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPaymentCreateResponseDTO>> {
16317
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options);
16369
16318
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16370
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
16319
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerSetupBookingPayment']?.[localVarOperationServerIndex]?.url;
16371
16320
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16372
16321
  },
16373
16322
  /**
@@ -16408,15 +16357,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
16408
16357
  paymentControllerCreateAccountVerificationLink(options?: RawAxiosRequestConfig): AxiosPromise<VerificationLinkResponseDTO> {
16409
16358
  return localVarFp.paymentControllerCreateAccountVerificationLink(options).then((request) => request(axios, basePath));
16410
16359
  },
16411
- /**
16412
- *
16413
- * @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
16414
- * @param {*} [options] Override http request option.
16415
- * @throws {RequiredError}
16416
- */
16417
- paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO: StripeBookingPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentPaymentResponseDTO> {
16418
- return localVarFp.paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO, options).then((request) => request(axios, basePath));
16419
- },
16420
16360
  /**
16421
16361
  *
16422
16362
  * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
@@ -16434,15 +16374,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
16434
16374
  paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentResponseDTO> {
16435
16375
  return localVarFp.paymentControllerCreateSetupIntent(options).then((request) => request(axios, basePath));
16436
16376
  },
16437
- /**
16438
- *
16439
- * @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
16440
- * @param {*} [options] Override http request option.
16441
- * @throws {RequiredError}
16442
- */
16443
- paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentPaymentResponseDTO> {
16444
- return localVarFp.paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO, options).then((request) => request(axios, basePath));
16445
- },
16446
16377
  /**
16447
16378
  *
16448
16379
  * @param {*} [options] Override http request option.
@@ -16453,28 +16384,28 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
16453
16384
  },
16454
16385
  /**
16455
16386
  *
16456
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
16457
16387
  * @param {*} [options] Override http request option.
16458
16388
  * @throws {RequiredError}
16459
16389
  */
16460
- paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
16461
- return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
16390
+ paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): AxiosPromise<BusinessConnectedAccount> {
16391
+ return localVarFp.paymentControllerRetrieveConnectedAccount(options).then((request) => request(axios, basePath));
16462
16392
  },
16463
16393
  /**
16464
16394
  *
16465
16395
  * @param {*} [options] Override http request option.
16466
16396
  * @throws {RequiredError}
16467
16397
  */
16468
- paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): AxiosPromise<BusinessConnectedAccount> {
16469
- return localVarFp.paymentControllerRetrieveConnectedAccount(options).then((request) => request(axios, basePath));
16398
+ paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
16399
+ return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
16470
16400
  },
16471
16401
  /**
16472
16402
  *
16403
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
16473
16404
  * @param {*} [options] Override http request option.
16474
16405
  * @throws {RequiredError}
16475
16406
  */
16476
- paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
16477
- return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
16407
+ paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentCreateResponseDTO> {
16408
+ return localVarFp.paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(axios, basePath));
16478
16409
  },
16479
16410
  /**
16480
16411
  *
@@ -16515,17 +16446,6 @@ export class PlansApi extends BaseAPI {
16515
16446
  return PlansApiFp(this.configuration).paymentControllerCreateAccountVerificationLink(options).then((request) => request(this.axios, this.basePath));
16516
16447
  }
16517
16448
 
16518
- /**
16519
- *
16520
- * @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
16521
- * @param {*} [options] Override http request option.
16522
- * @throws {RequiredError}
16523
- * @memberof PlansApi
16524
- */
16525
- public paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO: StripeBookingPayloadDTO, options?: RawAxiosRequestConfig) {
16526
- return PlansApiFp(this.configuration).paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO, options).then((request) => request(this.axios, this.basePath));
16527
- }
16528
-
16529
16449
  /**
16530
16450
  *
16531
16451
  * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
@@ -16547,17 +16467,6 @@ export class PlansApi extends BaseAPI {
16547
16467
  return PlansApiFp(this.configuration).paymentControllerCreateSetupIntent(options).then((request) => request(this.axios, this.basePath));
16548
16468
  }
16549
16469
 
16550
- /**
16551
- *
16552
- * @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
16553
- * @param {*} [options] Override http request option.
16554
- * @throws {RequiredError}
16555
- * @memberof PlansApi
16556
- */
16557
- public paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options?: RawAxiosRequestConfig) {
16558
- return PlansApiFp(this.configuration).paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
16559
- }
16560
-
16561
16470
  /**
16562
16471
  *
16563
16472
  * @param {*} [options] Override http request option.
@@ -16570,13 +16479,12 @@ export class PlansApi extends BaseAPI {
16570
16479
 
16571
16480
  /**
16572
16481
  *
16573
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
16574
16482
  * @param {*} [options] Override http request option.
16575
16483
  * @throws {RequiredError}
16576
16484
  * @memberof PlansApi
16577
16485
  */
16578
- public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
16579
- return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
16486
+ public paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig) {
16487
+ return PlansApiFp(this.configuration).paymentControllerRetrieveConnectedAccount(options).then((request) => request(this.axios, this.basePath));
16580
16488
  }
16581
16489
 
16582
16490
  /**
@@ -16585,18 +16493,19 @@ export class PlansApi extends BaseAPI {
16585
16493
  * @throws {RequiredError}
16586
16494
  * @memberof PlansApi
16587
16495
  */
16588
- public paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig) {
16589
- return PlansApiFp(this.configuration).paymentControllerRetrieveConnectedAccount(options).then((request) => request(this.axios, this.basePath));
16496
+ public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
16497
+ return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
16590
16498
  }
16591
16499
 
16592
16500
  /**
16593
16501
  *
16502
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
16594
16503
  * @param {*} [options] Override http request option.
16595
16504
  * @throws {RequiredError}
16596
16505
  * @memberof PlansApi
16597
16506
  */
16598
- public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
16599
- return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
16507
+ public paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig) {
16508
+ return PlansApiFp(this.configuration).paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
16600
16509
  }
16601
16510
 
16602
16511
  /**
@@ -19774,15 +19683,16 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
19774
19683
  * @param {number} pageSize
19775
19684
  * @param {string} [search]
19776
19685
  * @param {string} [venue]
19686
+ * @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
19777
19687
  * @param {*} [options] Override http request option.
19778
19688
  * @throws {RequiredError}
19779
19689
  */
19780
- waitlistControllerFindWaitlist: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19690
+ waitlistControllerFindWaitlist: async (page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19781
19691
  // verify required parameter 'page' is not null or undefined
19782
19692
  assertParamExists('waitlistControllerFindWaitlist', 'page', page)
19783
19693
  // verify required parameter 'pageSize' is not null or undefined
19784
19694
  assertParamExists('waitlistControllerFindWaitlist', 'pageSize', pageSize)
19785
- const localVarPath = `/v1/waitlist`;
19695
+ const localVarPath = `/v1/waitlist/list`;
19786
19696
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19787
19697
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19788
19698
  let baseOptions;
@@ -19790,7 +19700,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
19790
19700
  baseOptions = configuration.baseOptions;
19791
19701
  }
19792
19702
 
19793
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19703
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19794
19704
  const localVarHeaderParameter = {} as any;
19795
19705
  const localVarQueryParameter = {} as any;
19796
19706
 
@@ -19814,6 +19724,10 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
19814
19724
  localVarQueryParameter['venue'] = venue;
19815
19725
  }
19816
19726
 
19727
+ if (status) {
19728
+ localVarQueryParameter['status'] = status;
19729
+ }
19730
+
19817
19731
 
19818
19732
 
19819
19733
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -19896,11 +19810,12 @@ export const WaitlistApiFp = function(configuration?: Configuration) {
19896
19810
  * @param {number} pageSize
19897
19811
  * @param {string} [search]
19898
19812
  * @param {string} [venue]
19813
+ * @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
19899
19814
  * @param {*} [options] Override http request option.
19900
19815
  * @throws {RequiredError}
19901
19816
  */
19902
- async waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
19903
- const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(page, pageSize, search, venue, options);
19817
+ async waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
19818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(page, pageSize, search, venue, status, options);
19904
19819
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19905
19820
  const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindWaitlist']?.[localVarOperationServerIndex]?.url;
19906
19821
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19943,11 +19858,12 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
19943
19858
  * @param {number} pageSize
19944
19859
  * @param {string} [search]
19945
19860
  * @param {string} [venue]
19861
+ * @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
19946
19862
  * @param {*} [options] Override http request option.
19947
19863
  * @throws {RequiredError}
19948
19864
  */
19949
- waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
19950
- return localVarFp.waitlistControllerFindWaitlist(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
19865
+ waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
19866
+ return localVarFp.waitlistControllerFindWaitlist(page, pageSize, search, venue, status, options).then((request) => request(axios, basePath));
19951
19867
  },
19952
19868
  /**
19953
19869
  *
@@ -19986,12 +19902,13 @@ export class WaitlistApi extends BaseAPI {
19986
19902
  * @param {number} pageSize
19987
19903
  * @param {string} [search]
19988
19904
  * @param {string} [venue]
19905
+ * @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
19989
19906
  * @param {*} [options] Override http request option.
19990
19907
  * @throws {RequiredError}
19991
19908
  * @memberof WaitlistApi
19992
19909
  */
19993
- public waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
19994
- return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
19910
+ public waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options?: RawAxiosRequestConfig) {
19911
+ return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(page, pageSize, search, venue, status, options).then((request) => request(this.axios, this.basePath));
19995
19912
  }
19996
19913
 
19997
19914
  /**
@@ -20007,6 +19924,16 @@ export class WaitlistApi extends BaseAPI {
20007
19924
  }
20008
19925
  }
20009
19926
 
19927
+ /**
19928
+ * @export
19929
+ */
19930
+ export const WaitlistControllerFindWaitlistStatusEnum = {
19931
+ Pending: 'PENDING',
19932
+ Confirm: 'CONFIRM',
19933
+ ConnectedNoAnswer: 'CONNECTED_NO_ANSWER',
19934
+ Withdraw: 'WITHDRAW'
19935
+ } as const;
19936
+ export type WaitlistControllerFindWaitlistStatusEnum = typeof WaitlistControllerFindWaitlistStatusEnum[keyof typeof WaitlistControllerFindWaitlistStatusEnum];
20010
19937
 
20011
19938
 
20012
19939
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.115",
3
+ "version": "1.2.116",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},