@tennac-booking/sdk 1.0.73 → 1.0.74

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 (42) hide show
  1. package/.openapi-generator/FILES +234 -240
  2. package/README.md +2 -11
  3. package/api.ts +29 -482
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +161 -485
  8. package/dist/api.js +1 -199
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +161 -485
  16. package/dist/esm/api.js +1 -199
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingInfo.md +2 -2
  28. package/docs/ClubSettingsResponse.md +0 -2
  29. package/docs/CreateBookingRequest.md +2 -2
  30. package/docs/IUserAttributes.md +2 -12
  31. package/docs/StaffUserProfileResponse.md +2 -12
  32. package/docs/SubscribeRequestBody.md +2 -0
  33. package/docs/UserProfileResponse.md +2 -12
  34. package/docs/UsersApi.md +0 -156
  35. package/index.ts +1 -1
  36. package/package.json +1 -1
  37. package/docs/AddPaymentMethodRequestBody.md +0 -20
  38. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  39. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  40. package/docs/PaymentMethodSetupResponse.md +0 -24
  41. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  42. package/docs/SetupPaymentMethodResponse.md +0 -24
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.72
7
+ * The version of the OpenAPI document: 1.0.74
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,19 +92,6 @@ export interface AddOrganizationRequest {
92
92
  */
93
93
  'organizationId'?: string;
94
94
  }
95
- /**
96
- *
97
- * @export
98
- * @interface AddPaymentMethodRequestBody
99
- */
100
- export interface AddPaymentMethodRequestBody {
101
- /**
102
- *
103
- * @type {string}
104
- * @memberof AddPaymentMethodRequestBody
105
- */
106
- 'paymentMethodId': string;
107
- }
108
95
  /**
109
96
  *
110
97
  * @export
@@ -359,10 +346,10 @@ export interface BookingInfo {
359
346
  'totalPrice': number;
360
347
  /**
361
348
  * ID du créneau
362
- * @type {string}
349
+ * @type {Array<string>}
363
350
  * @memberof BookingInfo
364
351
  */
365
- 'slotId': string;
352
+ 'slotIds': Array<string>;
366
353
  /**
367
354
  * Indique si le créateur paie pour tous
368
355
  * @type {boolean}
@@ -1393,12 +1380,6 @@ export interface ClubSettingsResponse {
1393
1380
  * @memberof ClubSettingsResponse
1394
1381
  */
1395
1382
  'maxWeeklyBookings': number;
1396
- /**
1397
- * Autoriser plusieurs réservations en même temps
1398
- * @type {boolean}
1399
- * @memberof ClubSettingsResponse
1400
- */
1401
- 'allowMultipleBookingsAtTheSameTime': boolean;
1402
1383
  /**
1403
1384
  * Limite de réservations simultanées
1404
1385
  * @type {number}
@@ -1523,38 +1504,6 @@ export interface ClubUserCountResponse {
1523
1504
  */
1524
1505
  'count': number;
1525
1506
  }
1526
- /**
1527
- *
1528
- * @export
1529
- * @interface ConfirmPaymentMethodRequestBody
1530
- */
1531
- export interface ConfirmPaymentMethodRequestBody {
1532
- /**
1533
- *
1534
- * @type {string}
1535
- * @memberof ConfirmPaymentMethodRequestBody
1536
- */
1537
- 'setupIntentId': string;
1538
- }
1539
- /**
1540
- *
1541
- * @export
1542
- * @interface ConfirmPaymentMethodResponse
1543
- */
1544
- export interface ConfirmPaymentMethodResponse {
1545
- /**
1546
- *
1547
- * @type {string}
1548
- * @memberof ConfirmPaymentMethodResponse
1549
- */
1550
- 'message': string;
1551
- /**
1552
- *
1553
- * @type {string}
1554
- * @memberof ConfirmPaymentMethodResponse
1555
- */
1556
- 'paymentMethodId'?: string | null;
1557
- }
1558
1507
  /**
1559
1508
  *
1560
1509
  * @export
@@ -1717,10 +1666,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
1717
1666
  export interface CreateBookingRequest {
1718
1667
  /**
1719
1668
  * ID du créneau à réserver
1720
- * @type {string}
1669
+ * @type {Array<string>}
1721
1670
  * @memberof CreateBookingRequest
1722
1671
  */
1723
- 'slotId': string;
1672
+ 'slotIds': Array<string>;
1724
1673
  /**
1725
1674
  * Liste des joueurs avec leurs méthodes de paiement
1726
1675
  * @type {Array<PlayerWithPaymentMethod>}
@@ -3174,24 +3123,12 @@ export interface IUserAttributes {
3174
3123
  * @memberof IUserAttributes
3175
3124
  */
3176
3125
  'isAccountVerified': boolean;
3177
- /**
3178
- *
3179
- * @type {boolean}
3180
- * @memberof IUserAttributes
3181
- */
3182
- 'isCreditCardRegistered'?: boolean;
3183
3126
  /**
3184
3127
  *
3185
3128
  * @type {Array<ILevelBySports>}
3186
3129
  * @memberof IUserAttributes
3187
3130
  */
3188
3131
  'levelBySports'?: Array<ILevelBySports>;
3189
- /**
3190
- *
3191
- * @type {string}
3192
- * @memberof IUserAttributes
3193
- */
3194
- 'stripeCustomerId'?: string;
3195
3132
  /**
3196
3133
  *
3197
3134
  * @type {string}
@@ -3264,30 +3201,6 @@ export interface IUserAttributes {
3264
3201
  * @memberof IUserAttributes
3265
3202
  */
3266
3203
  'isLevelCertified'?: boolean;
3267
- /**
3268
- *
3269
- * @type {Array<string>}
3270
- * @memberof IUserAttributes
3271
- */
3272
- 'paymentMethods'?: Array<string>;
3273
- /**
3274
- *
3275
- * @type {string}
3276
- * @memberof IUserAttributes
3277
- */
3278
- 'defaultPaymentMethodId'?: string;
3279
- /**
3280
- *
3281
- * @type {boolean}
3282
- * @memberof IUserAttributes
3283
- */
3284
- 'paymentMethodSetupCompleted': boolean;
3285
- /**
3286
- *
3287
- * @type {string}
3288
- * @memberof IUserAttributes
3289
- */
3290
- 'setupIntentId'?: string;
3291
3204
  /**
3292
3205
  *
3293
3206
  * @type {Array<string>}
@@ -3318,6 +3231,12 @@ export interface IUserAttributes {
3318
3231
  * @memberof IUserAttributes
3319
3232
  */
3320
3233
  'sports'?: { [key: string]: any; };
3234
+ /**
3235
+ *
3236
+ * @type {string}
3237
+ * @memberof IUserAttributes
3238
+ */
3239
+ 'stripeCustomerId'?: string;
3321
3240
  }
3322
3241
 
3323
3242
 
@@ -3949,31 +3868,6 @@ export const PaymentMethod = {
3949
3868
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
3950
3869
 
3951
3870
 
3952
- /**
3953
- *
3954
- * @export
3955
- * @interface PaymentMethodSetupResponse
3956
- */
3957
- export interface PaymentMethodSetupResponse {
3958
- /**
3959
- *
3960
- * @type {string}
3961
- * @memberof PaymentMethodSetupResponse
3962
- */
3963
- 'message': string;
3964
- /**
3965
- *
3966
- * @type {Array<string>}
3967
- * @memberof PaymentMethodSetupResponse
3968
- */
3969
- 'paymentMethods': Array<string>;
3970
- /**
3971
- *
3972
- * @type {string}
3973
- * @memberof PaymentMethodSetupResponse
3974
- */
3975
- 'defaultPaymentMethodId'?: string | null;
3976
- }
3977
3871
  /**
3978
3872
  * From T, pick a set of properties whose keys are in the union K
3979
3873
  * @export
@@ -4965,44 +4859,6 @@ export interface ResetPasswordRequest {
4965
4859
  */
4966
4860
  'token'?: string;
4967
4861
  }
4968
- /**
4969
- *
4970
- * @export
4971
- * @interface SetupPaymentMethodRequestBody
4972
- */
4973
- export interface SetupPaymentMethodRequestBody {
4974
- /**
4975
- *
4976
- * @type {string}
4977
- * @memberof SetupPaymentMethodRequestBody
4978
- */
4979
- 'clubId': string;
4980
- }
4981
- /**
4982
- *
4983
- * @export
4984
- * @interface SetupPaymentMethodResponse
4985
- */
4986
- export interface SetupPaymentMethodResponse {
4987
- /**
4988
- *
4989
- * @type {string}
4990
- * @memberof SetupPaymentMethodResponse
4991
- */
4992
- 'setupIntentId': string;
4993
- /**
4994
- *
4995
- * @type {string}
4996
- * @memberof SetupPaymentMethodResponse
4997
- */
4998
- 'clientSecret': string;
4999
- /**
5000
- *
5001
- * @type {string}
5002
- * @memberof SetupPaymentMethodResponse
5003
- */
5004
- 'message': string;
5005
- }
5006
4862
  /**
5007
4863
  *
5008
4864
  * @export
@@ -5279,24 +5135,12 @@ export interface StaffUserProfileResponse {
5279
5135
  * @memberof StaffUserProfileResponse
5280
5136
  */
5281
5137
  'isAccountVerified': boolean;
5282
- /**
5283
- *
5284
- * @type {boolean}
5285
- * @memberof StaffUserProfileResponse
5286
- */
5287
- 'isCreditCardRegistered'?: boolean;
5288
5138
  /**
5289
5139
  *
5290
5140
  * @type {Array<ILevelBySports>}
5291
5141
  * @memberof StaffUserProfileResponse
5292
5142
  */
5293
5143
  'levelBySports'?: Array<ILevelBySports>;
5294
- /**
5295
- *
5296
- * @type {string}
5297
- * @memberof StaffUserProfileResponse
5298
- */
5299
- 'stripeCustomerId'?: string;
5300
5144
  /**
5301
5145
  *
5302
5146
  * @type {string}
@@ -5369,30 +5213,6 @@ export interface StaffUserProfileResponse {
5369
5213
  * @memberof StaffUserProfileResponse
5370
5214
  */
5371
5215
  'isLevelCertified'?: boolean;
5372
- /**
5373
- *
5374
- * @type {Array<string>}
5375
- * @memberof StaffUserProfileResponse
5376
- */
5377
- 'paymentMethods'?: Array<string>;
5378
- /**
5379
- *
5380
- * @type {string}
5381
- * @memberof StaffUserProfileResponse
5382
- */
5383
- 'defaultPaymentMethodId'?: string;
5384
- /**
5385
- *
5386
- * @type {boolean}
5387
- * @memberof StaffUserProfileResponse
5388
- */
5389
- 'paymentMethodSetupCompleted': boolean;
5390
- /**
5391
- *
5392
- * @type {string}
5393
- * @memberof StaffUserProfileResponse
5394
- */
5395
- 'setupIntentId'?: string;
5396
5216
  /**
5397
5217
  *
5398
5218
  * @type {Array<string>}
@@ -5423,6 +5243,12 @@ export interface StaffUserProfileResponse {
5423
5243
  * @memberof StaffUserProfileResponse
5424
5244
  */
5425
5245
  'sports'?: { [key: string]: any; };
5246
+ /**
5247
+ *
5248
+ * @type {string}
5249
+ * @memberof StaffUserProfileResponse
5250
+ */
5251
+ 'stripeCustomerId'?: string;
5426
5252
  /**
5427
5253
  *
5428
5254
  * @type {boolean}
@@ -6716,6 +6542,12 @@ export interface SubscribeRequestBody {
6716
6542
  * @memberof SubscribeRequestBody
6717
6543
  */
6718
6544
  'priceId': string;
6545
+ /**
6546
+ *
6547
+ * @type {boolean}
6548
+ * @memberof SubscribeRequestBody
6549
+ */
6550
+ 'useDefaultPaymentMethod'?: boolean;
6719
6551
  }
6720
6552
  /**
6721
6553
  *
@@ -7676,24 +7508,12 @@ export interface UserProfileResponse {
7676
7508
  * @memberof UserProfileResponse
7677
7509
  */
7678
7510
  'isAccountVerified': boolean;
7679
- /**
7680
- *
7681
- * @type {boolean}
7682
- * @memberof UserProfileResponse
7683
- */
7684
- 'isCreditCardRegistered'?: boolean;
7685
7511
  /**
7686
7512
  *
7687
7513
  * @type {Array<ILevelBySports>}
7688
7514
  * @memberof UserProfileResponse
7689
7515
  */
7690
7516
  'levelBySports'?: Array<ILevelBySports>;
7691
- /**
7692
- *
7693
- * @type {string}
7694
- * @memberof UserProfileResponse
7695
- */
7696
- 'stripeCustomerId'?: string;
7697
7517
  /**
7698
7518
  *
7699
7519
  * @type {string}
@@ -7766,30 +7586,6 @@ export interface UserProfileResponse {
7766
7586
  * @memberof UserProfileResponse
7767
7587
  */
7768
7588
  'isLevelCertified'?: boolean;
7769
- /**
7770
- *
7771
- * @type {Array<string>}
7772
- * @memberof UserProfileResponse
7773
- */
7774
- 'paymentMethods'?: Array<string>;
7775
- /**
7776
- *
7777
- * @type {string}
7778
- * @memberof UserProfileResponse
7779
- */
7780
- 'defaultPaymentMethodId'?: string;
7781
- /**
7782
- *
7783
- * @type {boolean}
7784
- * @memberof UserProfileResponse
7785
- */
7786
- 'paymentMethodSetupCompleted': boolean;
7787
- /**
7788
- *
7789
- * @type {string}
7790
- * @memberof UserProfileResponse
7791
- */
7792
- 'setupIntentId'?: string;
7793
7589
  /**
7794
7590
  *
7795
7591
  * @type {Array<string>}
@@ -7820,6 +7616,12 @@ export interface UserProfileResponse {
7820
7616
  * @memberof UserProfileResponse
7821
7617
  */
7822
7618
  'sports'?: { [key: string]: any; };
7619
+ /**
7620
+ *
7621
+ * @type {string}
7622
+ * @memberof UserProfileResponse
7623
+ */
7624
+ 'stripeCustomerId'?: string;
7823
7625
  /**
7824
7626
  *
7825
7627
  * @type {number}
@@ -16843,45 +16645,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
16843
16645
  options: localVarRequestOptions,
16844
16646
  };
16845
16647
  },
16846
- /**
16847
- *
16848
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
16849
- * @param {*} [options] Override http request option.
16850
- * @throws {RequiredError}
16851
- */
16852
- addPaymentMethodSetup: async (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16853
- // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
16854
- assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody)
16855
- const localVarPath = `/api/users/addPaymentMethodSetup`;
16856
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16857
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16858
- let baseOptions;
16859
- if (configuration) {
16860
- baseOptions = configuration.baseOptions;
16861
- }
16862
-
16863
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16864
- const localVarHeaderParameter = {} as any;
16865
- const localVarQueryParameter = {} as any;
16866
-
16867
- // authentication bearerAuth required
16868
- // http bearer authentication required
16869
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
16870
-
16871
-
16872
-
16873
- localVarHeaderParameter['Content-Type'] = 'application/json';
16874
-
16875
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16876
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16877
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16878
- localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration)
16879
-
16880
- return {
16881
- url: toPathString(localVarUrlObj),
16882
- options: localVarRequestOptions,
16883
- };
16884
- },
16885
16648
  /**
16886
16649
  *
16887
16650
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -16921,45 +16684,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
16921
16684
  options: localVarRequestOptions,
16922
16685
  };
16923
16686
  },
16924
- /**
16925
- *
16926
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
16927
- * @param {*} [options] Override http request option.
16928
- * @throws {RequiredError}
16929
- */
16930
- confirmPaymentMethodSetup: async (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16931
- // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
16932
- assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody)
16933
- const localVarPath = `/api/users/confirmPaymentMethodSetup`;
16934
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16935
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16936
- let baseOptions;
16937
- if (configuration) {
16938
- baseOptions = configuration.baseOptions;
16939
- }
16940
-
16941
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16942
- const localVarHeaderParameter = {} as any;
16943
- const localVarQueryParameter = {} as any;
16944
-
16945
- // authentication bearerAuth required
16946
- // http bearer authentication required
16947
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
16948
-
16949
-
16950
-
16951
- localVarHeaderParameter['Content-Type'] = 'application/json';
16952
-
16953
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16954
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16955
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16956
- localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration)
16957
-
16958
- return {
16959
- url: toPathString(localVarUrlObj),
16960
- options: localVarRequestOptions,
16961
- };
16962
- },
16963
16687
  /**
16964
16688
  *
16965
16689
  * @param {*} [options] Override http request option.
@@ -17896,45 +17620,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17896
17620
  options: localVarRequestOptions,
17897
17621
  };
17898
17622
  },
17899
- /**
17900
- *
17901
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
17902
- * @param {*} [options] Override http request option.
17903
- * @throws {RequiredError}
17904
- */
17905
- setupOffSessionPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17906
- // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
17907
- assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
17908
- const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
17909
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17910
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17911
- let baseOptions;
17912
- if (configuration) {
17913
- baseOptions = configuration.baseOptions;
17914
- }
17915
-
17916
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17917
- const localVarHeaderParameter = {} as any;
17918
- const localVarQueryParameter = {} as any;
17919
-
17920
- // authentication bearerAuth required
17921
- // http bearer authentication required
17922
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
17923
-
17924
-
17925
-
17926
- localVarHeaderParameter['Content-Type'] = 'application/json';
17927
-
17928
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17929
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17930
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17931
- localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration)
17932
-
17933
- return {
17934
- url: toPathString(localVarUrlObj),
17935
- options: localVarRequestOptions,
17936
- };
17937
- },
17938
17623
  /**
17939
17624
  *
17940
17625
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18242,18 +17927,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18242
17927
  const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
18243
17928
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18244
17929
  },
18245
- /**
18246
- *
18247
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
18248
- * @param {*} [options] Override http request option.
18249
- * @throws {RequiredError}
18250
- */
18251
- async addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>> {
18252
- const localVarAxiosArgs = await localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
18253
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18254
- const localVarOperationServerBasePath = operationServerMap['UsersApi.addPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
18255
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18256
- },
18257
17930
  /**
18258
17931
  *
18259
17932
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -18266,18 +17939,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18266
17939
  const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
18267
17940
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18268
17941
  },
18269
- /**
18270
- *
18271
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
18272
- * @param {*} [options] Override http request option.
18273
- * @throws {RequiredError}
18274
- */
18275
- async confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>> {
18276
- const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
18277
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18278
- const localVarOperationServerBasePath = operationServerMap['UsersApi.confirmPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
18279
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18280
- },
18281
17942
  /**
18282
17943
  *
18283
17944
  * @param {*} [options] Override http request option.
@@ -18576,18 +18237,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18576
18237
  const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
18577
18238
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18578
18239
  },
18579
- /**
18580
- *
18581
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
18582
- * @param {*} [options] Override http request option.
18583
- * @throws {RequiredError}
18584
- */
18585
- async setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
18586
- const localVarAxiosArgs = await localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
18587
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18588
- const localVarOperationServerBasePath = operationServerMap['UsersApi.setupOffSessionPaymentMethod']?.[localVarOperationServerIndex]?.url;
18589
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18590
- },
18591
18240
  /**
18592
18241
  *
18593
18242
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18709,15 +18358,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18709
18358
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
18710
18359
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
18711
18360
  },
18712
- /**
18713
- *
18714
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
18715
- * @param {*} [options] Override http request option.
18716
- * @throws {RequiredError}
18717
- */
18718
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse> {
18719
- return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
18720
- },
18721
18361
  /**
18722
18362
  *
18723
18363
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -18727,15 +18367,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18727
18367
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
18728
18368
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
18729
18369
  },
18730
- /**
18731
- *
18732
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
18733
- * @param {*} [options] Override http request option.
18734
- * @throws {RequiredError}
18735
- */
18736
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse> {
18737
- return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
18738
- },
18739
18370
  /**
18740
18371
  *
18741
18372
  * @param {*} [options] Override http request option.
@@ -18944,15 +18575,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18944
18575
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
18945
18576
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
18946
18577
  },
18947
- /**
18948
- *
18949
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
18950
- * @param {*} [options] Override http request option.
18951
- * @throws {RequiredError}
18952
- */
18953
- setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
18954
- return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
18955
- },
18956
18578
  /**
18957
18579
  *
18958
18580
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -19061,20 +18683,6 @@ export interface UsersApiAddOrganizationRequest {
19061
18683
  readonly addOrganizationRequest: AddOrganizationRequest
19062
18684
  }
19063
18685
 
19064
- /**
19065
- * Request parameters for addPaymentMethodSetup operation in UsersApi.
19066
- * @export
19067
- * @interface UsersApiAddPaymentMethodSetupRequest
19068
- */
19069
- export interface UsersApiAddPaymentMethodSetupRequest {
19070
- /**
19071
- *
19072
- * @type {AddPaymentMethodRequestBody}
19073
- * @memberof UsersApiAddPaymentMethodSetup
19074
- */
19075
- readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody
19076
- }
19077
-
19078
18686
  /**
19079
18687
  * Request parameters for changePassword operation in UsersApi.
19080
18688
  * @export
@@ -19089,20 +18697,6 @@ export interface UsersApiChangePasswordRequest {
19089
18697
  readonly changePasswordRequestBody: ChangePasswordRequestBody
19090
18698
  }
19091
18699
 
19092
- /**
19093
- * Request parameters for confirmPaymentMethodSetup operation in UsersApi.
19094
- * @export
19095
- * @interface UsersApiConfirmPaymentMethodSetupRequest
19096
- */
19097
- export interface UsersApiConfirmPaymentMethodSetupRequest {
19098
- /**
19099
- *
19100
- * @type {ConfirmPaymentMethodRequestBody}
19101
- * @memberof UsersApiConfirmPaymentMethodSetup
19102
- */
19103
- readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody
19104
- }
19105
-
19106
18700
  /**
19107
18701
  * Request parameters for getBookingDetail operation in UsersApi.
19108
18702
  * @export
@@ -19453,20 +19047,6 @@ export interface UsersApiResetPasswordRequest {
19453
19047
  readonly resetPasswordRequest: ResetPasswordRequest
19454
19048
  }
19455
19049
 
19456
- /**
19457
- * Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
19458
- * @export
19459
- * @interface UsersApiSetupOffSessionPaymentMethodRequest
19460
- */
19461
- export interface UsersApiSetupOffSessionPaymentMethodRequest {
19462
- /**
19463
- *
19464
- * @type {SetupPaymentMethodRequestBody}
19465
- * @memberof UsersApiSetupOffSessionPaymentMethod
19466
- */
19467
- readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody
19468
- }
19469
-
19470
19050
  /**
19471
19051
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
19472
19052
  * @export
@@ -19605,17 +19185,6 @@ export class UsersApi extends BaseAPI {
19605
19185
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
19606
19186
  }
19607
19187
 
19608
- /**
19609
- *
19610
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
19611
- * @param {*} [options] Override http request option.
19612
- * @throws {RequiredError}
19613
- * @memberof UsersApi
19614
- */
19615
- public addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
19616
- return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
19617
- }
19618
-
19619
19188
  /**
19620
19189
  *
19621
19190
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -19627,17 +19196,6 @@ export class UsersApi extends BaseAPI {
19627
19196
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
19628
19197
  }
19629
19198
 
19630
- /**
19631
- *
19632
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
19633
- * @param {*} [options] Override http request option.
19634
- * @throws {RequiredError}
19635
- * @memberof UsersApi
19636
- */
19637
- public confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
19638
- return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
19639
- }
19640
-
19641
19199
  /**
19642
19200
  *
19643
19201
  * @param {*} [options] Override http request option.
@@ -19894,17 +19452,6 @@ export class UsersApi extends BaseAPI {
19894
19452
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
19895
19453
  }
19896
19454
 
19897
- /**
19898
- *
19899
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
19900
- * @param {*} [options] Override http request option.
19901
- * @throws {RequiredError}
19902
- * @memberof UsersApi
19903
- */
19904
- public setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig) {
19905
- return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
19906
- }
19907
-
19908
19455
  /**
19909
19456
  *
19910
19457
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.