@tennac-booking/sdk 1.0.73 → 1.0.75

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 (43) hide show
  1. package/.openapi-generator/FILES +234 -240
  2. package/README.md +2 -11
  3. package/api.ts +35 -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 +167 -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 +167 -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/BookingResponse.md +2 -0
  29. package/docs/ClubSettingsResponse.md +0 -2
  30. package/docs/CreateBookingRequest.md +2 -2
  31. package/docs/IUserAttributes.md +2 -12
  32. package/docs/StaffUserProfileResponse.md +2 -12
  33. package/docs/SubscribeRequestBody.md +2 -0
  34. package/docs/UserProfileResponse.md +2 -12
  35. package/docs/UsersApi.md +0 -156
  36. package/index.ts +1 -1
  37. package/package.json +1 -1
  38. package/docs/AddPaymentMethodRequestBody.md +0 -20
  39. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  40. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  41. package/docs/PaymentMethodSetupResponse.md +0 -24
  42. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  43. 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.75
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}
@@ -663,6 +650,12 @@ export interface BookingResponse {
663
650
  * @memberof BookingResponse
664
651
  */
665
652
  'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
653
+ /**
654
+ *
655
+ * @type {string}
656
+ * @memberof BookingResponse
657
+ */
658
+ 'setupNoShowPaymentUrl'?: string;
666
659
  /**
667
660
  * Message de confirmation
668
661
  * @type {string}
@@ -1393,12 +1386,6 @@ export interface ClubSettingsResponse {
1393
1386
  * @memberof ClubSettingsResponse
1394
1387
  */
1395
1388
  'maxWeeklyBookings': number;
1396
- /**
1397
- * Autoriser plusieurs réservations en même temps
1398
- * @type {boolean}
1399
- * @memberof ClubSettingsResponse
1400
- */
1401
- 'allowMultipleBookingsAtTheSameTime': boolean;
1402
1389
  /**
1403
1390
  * Limite de réservations simultanées
1404
1391
  * @type {number}
@@ -1523,38 +1510,6 @@ export interface ClubUserCountResponse {
1523
1510
  */
1524
1511
  'count': number;
1525
1512
  }
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
1513
  /**
1559
1514
  *
1560
1515
  * @export
@@ -1717,10 +1672,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
1717
1672
  export interface CreateBookingRequest {
1718
1673
  /**
1719
1674
  * ID du créneau à réserver
1720
- * @type {string}
1675
+ * @type {Array<string>}
1721
1676
  * @memberof CreateBookingRequest
1722
1677
  */
1723
- 'slotId': string;
1678
+ 'slotIds': Array<string>;
1724
1679
  /**
1725
1680
  * Liste des joueurs avec leurs méthodes de paiement
1726
1681
  * @type {Array<PlayerWithPaymentMethod>}
@@ -3174,24 +3129,12 @@ export interface IUserAttributes {
3174
3129
  * @memberof IUserAttributes
3175
3130
  */
3176
3131
  'isAccountVerified': boolean;
3177
- /**
3178
- *
3179
- * @type {boolean}
3180
- * @memberof IUserAttributes
3181
- */
3182
- 'isCreditCardRegistered'?: boolean;
3183
3132
  /**
3184
3133
  *
3185
3134
  * @type {Array<ILevelBySports>}
3186
3135
  * @memberof IUserAttributes
3187
3136
  */
3188
3137
  'levelBySports'?: Array<ILevelBySports>;
3189
- /**
3190
- *
3191
- * @type {string}
3192
- * @memberof IUserAttributes
3193
- */
3194
- 'stripeCustomerId'?: string;
3195
3138
  /**
3196
3139
  *
3197
3140
  * @type {string}
@@ -3264,30 +3207,6 @@ export interface IUserAttributes {
3264
3207
  * @memberof IUserAttributes
3265
3208
  */
3266
3209
  '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
3210
  /**
3292
3211
  *
3293
3212
  * @type {Array<string>}
@@ -3318,6 +3237,12 @@ export interface IUserAttributes {
3318
3237
  * @memberof IUserAttributes
3319
3238
  */
3320
3239
  'sports'?: { [key: string]: any; };
3240
+ /**
3241
+ *
3242
+ * @type {string}
3243
+ * @memberof IUserAttributes
3244
+ */
3245
+ 'stripeCustomerId'?: string;
3321
3246
  }
3322
3247
 
3323
3248
 
@@ -3949,31 +3874,6 @@ export const PaymentMethod = {
3949
3874
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
3950
3875
 
3951
3876
 
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
3877
  /**
3978
3878
  * From T, pick a set of properties whose keys are in the union K
3979
3879
  * @export
@@ -4965,44 +4865,6 @@ export interface ResetPasswordRequest {
4965
4865
  */
4966
4866
  'token'?: string;
4967
4867
  }
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
4868
  /**
5007
4869
  *
5008
4870
  * @export
@@ -5279,24 +5141,12 @@ export interface StaffUserProfileResponse {
5279
5141
  * @memberof StaffUserProfileResponse
5280
5142
  */
5281
5143
  'isAccountVerified': boolean;
5282
- /**
5283
- *
5284
- * @type {boolean}
5285
- * @memberof StaffUserProfileResponse
5286
- */
5287
- 'isCreditCardRegistered'?: boolean;
5288
5144
  /**
5289
5145
  *
5290
5146
  * @type {Array<ILevelBySports>}
5291
5147
  * @memberof StaffUserProfileResponse
5292
5148
  */
5293
5149
  'levelBySports'?: Array<ILevelBySports>;
5294
- /**
5295
- *
5296
- * @type {string}
5297
- * @memberof StaffUserProfileResponse
5298
- */
5299
- 'stripeCustomerId'?: string;
5300
5150
  /**
5301
5151
  *
5302
5152
  * @type {string}
@@ -5369,30 +5219,6 @@ export interface StaffUserProfileResponse {
5369
5219
  * @memberof StaffUserProfileResponse
5370
5220
  */
5371
5221
  '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
5222
  /**
5397
5223
  *
5398
5224
  * @type {Array<string>}
@@ -5423,6 +5249,12 @@ export interface StaffUserProfileResponse {
5423
5249
  * @memberof StaffUserProfileResponse
5424
5250
  */
5425
5251
  'sports'?: { [key: string]: any; };
5252
+ /**
5253
+ *
5254
+ * @type {string}
5255
+ * @memberof StaffUserProfileResponse
5256
+ */
5257
+ 'stripeCustomerId'?: string;
5426
5258
  /**
5427
5259
  *
5428
5260
  * @type {boolean}
@@ -6716,6 +6548,12 @@ export interface SubscribeRequestBody {
6716
6548
  * @memberof SubscribeRequestBody
6717
6549
  */
6718
6550
  'priceId': string;
6551
+ /**
6552
+ *
6553
+ * @type {boolean}
6554
+ * @memberof SubscribeRequestBody
6555
+ */
6556
+ 'useDefaultPaymentMethod'?: boolean;
6719
6557
  }
6720
6558
  /**
6721
6559
  *
@@ -7676,24 +7514,12 @@ export interface UserProfileResponse {
7676
7514
  * @memberof UserProfileResponse
7677
7515
  */
7678
7516
  'isAccountVerified': boolean;
7679
- /**
7680
- *
7681
- * @type {boolean}
7682
- * @memberof UserProfileResponse
7683
- */
7684
- 'isCreditCardRegistered'?: boolean;
7685
7517
  /**
7686
7518
  *
7687
7519
  * @type {Array<ILevelBySports>}
7688
7520
  * @memberof UserProfileResponse
7689
7521
  */
7690
7522
  'levelBySports'?: Array<ILevelBySports>;
7691
- /**
7692
- *
7693
- * @type {string}
7694
- * @memberof UserProfileResponse
7695
- */
7696
- 'stripeCustomerId'?: string;
7697
7523
  /**
7698
7524
  *
7699
7525
  * @type {string}
@@ -7766,30 +7592,6 @@ export interface UserProfileResponse {
7766
7592
  * @memberof UserProfileResponse
7767
7593
  */
7768
7594
  '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
7595
  /**
7794
7596
  *
7795
7597
  * @type {Array<string>}
@@ -7820,6 +7622,12 @@ export interface UserProfileResponse {
7820
7622
  * @memberof UserProfileResponse
7821
7623
  */
7822
7624
  'sports'?: { [key: string]: any; };
7625
+ /**
7626
+ *
7627
+ * @type {string}
7628
+ * @memberof UserProfileResponse
7629
+ */
7630
+ 'stripeCustomerId'?: string;
7823
7631
  /**
7824
7632
  *
7825
7633
  * @type {number}
@@ -16843,45 +16651,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
16843
16651
  options: localVarRequestOptions,
16844
16652
  };
16845
16653
  },
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
16654
  /**
16886
16655
  *
16887
16656
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -16921,45 +16690,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
16921
16690
  options: localVarRequestOptions,
16922
16691
  };
16923
16692
  },
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
16693
  /**
16964
16694
  *
16965
16695
  * @param {*} [options] Override http request option.
@@ -17896,45 +17626,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17896
17626
  options: localVarRequestOptions,
17897
17627
  };
17898
17628
  },
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
17629
  /**
17939
17630
  *
17940
17631
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18242,18 +17933,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18242
17933
  const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
18243
17934
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18244
17935
  },
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
17936
  /**
18258
17937
  *
18259
17938
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -18266,18 +17945,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18266
17945
  const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
18267
17946
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18268
17947
  },
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
17948
  /**
18282
17949
  *
18283
17950
  * @param {*} [options] Override http request option.
@@ -18576,18 +18243,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18576
18243
  const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
18577
18244
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18578
18245
  },
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
18246
  /**
18592
18247
  *
18593
18248
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18709,15 +18364,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18709
18364
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
18710
18365
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
18711
18366
  },
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
18367
  /**
18722
18368
  *
18723
18369
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -18727,15 +18373,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18727
18373
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
18728
18374
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
18729
18375
  },
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
18376
  /**
18740
18377
  *
18741
18378
  * @param {*} [options] Override http request option.
@@ -18944,15 +18581,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18944
18581
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
18945
18582
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
18946
18583
  },
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
18584
  /**
18957
18585
  *
18958
18586
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -19061,20 +18689,6 @@ export interface UsersApiAddOrganizationRequest {
19061
18689
  readonly addOrganizationRequest: AddOrganizationRequest
19062
18690
  }
19063
18691
 
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
18692
  /**
19079
18693
  * Request parameters for changePassword operation in UsersApi.
19080
18694
  * @export
@@ -19089,20 +18703,6 @@ export interface UsersApiChangePasswordRequest {
19089
18703
  readonly changePasswordRequestBody: ChangePasswordRequestBody
19090
18704
  }
19091
18705
 
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
18706
  /**
19107
18707
  * Request parameters for getBookingDetail operation in UsersApi.
19108
18708
  * @export
@@ -19453,20 +19053,6 @@ export interface UsersApiResetPasswordRequest {
19453
19053
  readonly resetPasswordRequest: ResetPasswordRequest
19454
19054
  }
19455
19055
 
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
19056
  /**
19471
19057
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
19472
19058
  * @export
@@ -19605,17 +19191,6 @@ export class UsersApi extends BaseAPI {
19605
19191
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
19606
19192
  }
19607
19193
 
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
19194
  /**
19620
19195
  *
19621
19196
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -19627,17 +19202,6 @@ export class UsersApi extends BaseAPI {
19627
19202
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
19628
19203
  }
19629
19204
 
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
19205
  /**
19642
19206
  *
19643
19207
  * @param {*} [options] Override http request option.
@@ -19894,17 +19458,6 @@ export class UsersApi extends BaseAPI {
19894
19458
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
19895
19459
  }
19896
19460
 
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
19461
  /**
19909
19462
  *
19910
19463
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.