@tennac-booking/sdk 1.0.74 → 1.0.76

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 (62) hide show
  1. package/.openapi-generator/FILES +245 -234
  2. package/README.md +24 -7
  3. package/api.ts +1240 -461
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1016 -400
  8. package/dist/api.js +395 -161
  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 +1016 -400
  16. package/dist/esm/api.js +394 -156
  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/{BookingPriceBody.md → AddPaymentMethodRequestBody.md} +5 -7
  28. package/docs/BookingInfo.md +2 -2
  29. package/docs/BookingPopulated.md +0 -2
  30. package/docs/BookingsApi.md +0 -52
  31. package/docs/ClubAnalyticsStaffApi.md +167 -0
  32. package/docs/ClubPlayerBookingItem.md +36 -0
  33. package/docs/ClubPlayerBookingsResponse.md +22 -0
  34. package/docs/ClubPlayerDetailResponse.md +46 -0
  35. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  36. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  37. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  38. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  39. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  40. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  41. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  42. package/docs/ClubResponse.md +0 -8
  43. package/docs/ClubSettingsResponse.md +2 -0
  44. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  45. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  46. package/docs/CreateBookingRequest.md +2 -2
  47. package/docs/CreateEventRequest.md +2 -0
  48. package/docs/IUserAttributes.md +12 -2
  49. package/docs/PartialClubResponse.md +0 -8
  50. package/docs/PaymentMethodSetupResponse.md +24 -0
  51. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  52. package/docs/SetupPaymentMethodResponse.md +24 -0
  53. package/docs/SlotInfo.md +2 -2
  54. package/docs/StaffUserProfileResponse.md +12 -2
  55. package/docs/SubscribeRequestBody.md +0 -2
  56. package/docs/UserProfileResponse.md +12 -4
  57. package/docs/UsersApi.md +156 -0
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
  60. package/docs/PlayerPrice.md +0 -30
  61. package/docs/SportsPublicApi.md +0 -53
  62. package/docs/SubscriptionInfo.md +0 -24
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.74
8
+ * The version of the OpenAPI document: 1.0.75
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
26
26
  exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = void 0;
27
- exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsStaffApi = exports.SportsStaffApiFactory = exports.SportsStaffApiFp = exports.SportsStaffApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = void 0;
27
+ exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsStaffApi = exports.SportsStaffApiFactory = exports.SportsStaffApiFp = exports.SportsStaffApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = void 0;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
@@ -369,38 +369,6 @@ const BookingsApiAxiosParamCreator = function (configuration) {
369
369
  options: localVarRequestOptions,
370
370
  };
371
371
  }),
372
- /**
373
- *
374
- * @param {BookingPriceBody} bookingPriceBody
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
379
- // verify required parameter 'bookingPriceBody' is not null or undefined
380
- (0, common_1.assertParamExists)('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
381
- const localVarPath = `/api/bookings/booking-price`;
382
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
383
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
384
- let baseOptions;
385
- if (configuration) {
386
- baseOptions = configuration.baseOptions;
387
- }
388
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
389
- const localVarHeaderParameter = {};
390
- const localVarQueryParameter = {};
391
- // authentication bearerAuth required
392
- // http bearer authentication required
393
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
394
- localVarHeaderParameter['Content-Type'] = 'application/json';
395
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
396
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
397
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
398
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bookingPriceBody, localVarRequestOptions, configuration);
399
- return {
400
- url: (0, common_1.toPathString)(localVarUrlObj),
401
- options: localVarRequestOptions,
402
- };
403
- }),
404
372
  /**
405
373
  * Recherche des créneaux disponibles pour une réservation rapide
406
374
  * @param {number} [latitude]
@@ -490,21 +458,6 @@ const BookingsApiFp = function (configuration) {
490
458
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
491
459
  });
492
460
  },
493
- /**
494
- *
495
- * @param {BookingPriceBody} bookingPriceBody
496
- * @param {*} [options] Override http request option.
497
- * @throws {RequiredError}
498
- */
499
- getBookingPrice(bookingPriceBody, options) {
500
- return __awaiter(this, void 0, void 0, function* () {
501
- var _a, _b, _c;
502
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
503
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
504
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
505
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
506
- });
507
- },
508
461
  /**
509
462
  * Recherche des créneaux disponibles pour une réservation rapide
510
463
  * @param {number} [latitude]
@@ -548,15 +501,6 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
548
501
  getBookingHistory(requestParameters, options) {
549
502
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
550
503
  },
551
- /**
552
- *
553
- * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
554
- * @param {*} [options] Override http request option.
555
- * @throws {RequiredError}
556
- */
557
- getBookingPrice(requestParameters, options) {
558
- return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
559
- },
560
504
  /**
561
505
  * Recherche des créneaux disponibles pour une réservation rapide
562
506
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -586,16 +530,6 @@ class BookingsApi extends base_1.BaseAPI {
586
530
  getBookingHistory(requestParameters, options) {
587
531
  return (0, exports.BookingsApiFp)(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
588
532
  }
589
- /**
590
- *
591
- * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
592
- * @param {*} [options] Override http request option.
593
- * @throws {RequiredError}
594
- * @memberof BookingsApi
595
- */
596
- getBookingPrice(requestParameters, options) {
597
- return (0, exports.BookingsApiFp)(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
598
- }
599
533
  /**
600
534
  * Recherche des créneaux disponibles pour une réservation rapide
601
535
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -1576,6 +1510,99 @@ const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
1576
1510
  options: localVarRequestOptions,
1577
1511
  };
1578
1512
  }),
1513
+ /**
1514
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
1515
+ * @param {string} playerId
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ getClubPlayerBookingsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
1520
+ // verify required parameter 'playerId' is not null or undefined
1521
+ (0, common_1.assertParamExists)('getClubPlayerBookingsById', 'playerId', playerId);
1522
+ const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
1523
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
1524
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1525
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1526
+ let baseOptions;
1527
+ if (configuration) {
1528
+ baseOptions = configuration.baseOptions;
1529
+ }
1530
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1531
+ const localVarHeaderParameter = {};
1532
+ const localVarQueryParameter = {};
1533
+ // authentication bearerAuth required
1534
+ // http bearer authentication required
1535
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1536
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1537
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1538
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1539
+ return {
1540
+ url: (0, common_1.toPathString)(localVarUrlObj),
1541
+ options: localVarRequestOptions,
1542
+ };
1543
+ }),
1544
+ /**
1545
+ * Récupère les informations détaillées d\'un joueur par son ID
1546
+ * @param {string} playerId
1547
+ * @param {*} [options] Override http request option.
1548
+ * @throws {RequiredError}
1549
+ */
1550
+ getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
1551
+ // verify required parameter 'playerId' is not null or undefined
1552
+ (0, common_1.assertParamExists)('getClubPlayerById', 'playerId', playerId);
1553
+ const localVarPath = `/api/club-analytics/players/{playerId}`
1554
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
1555
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1556
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1557
+ let baseOptions;
1558
+ if (configuration) {
1559
+ baseOptions = configuration.baseOptions;
1560
+ }
1561
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1562
+ const localVarHeaderParameter = {};
1563
+ const localVarQueryParameter = {};
1564
+ // authentication bearerAuth required
1565
+ // http bearer authentication required
1566
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1567
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1568
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1569
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1570
+ return {
1571
+ url: (0, common_1.toPathString)(localVarUrlObj),
1572
+ options: localVarRequestOptions,
1573
+ };
1574
+ }),
1575
+ /**
1576
+ * Récupère les statistiques d\'un joueur pour le staff
1577
+ * @param {string} playerId
1578
+ * @param {*} [options] Override http request option.
1579
+ * @throws {RequiredError}
1580
+ */
1581
+ getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
1582
+ // verify required parameter 'playerId' is not null or undefined
1583
+ (0, common_1.assertParamExists)('getClubPlayerStatisticsById', 'playerId', playerId);
1584
+ const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
1585
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
1586
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1587
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1588
+ let baseOptions;
1589
+ if (configuration) {
1590
+ baseOptions = configuration.baseOptions;
1591
+ }
1592
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1593
+ const localVarHeaderParameter = {};
1594
+ const localVarQueryParameter = {};
1595
+ // authentication bearerAuth required
1596
+ // http bearer authentication required
1597
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1598
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1599
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1600
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1601
+ return {
1602
+ url: (0, common_1.toPathString)(localVarUrlObj),
1603
+ options: localVarRequestOptions,
1604
+ };
1605
+ }),
1579
1606
  /**
1580
1607
  * Récupère la liste des joueurs du club
1581
1608
  * @param {*} [options] Override http request option.
@@ -1876,6 +1903,51 @@ const ClubAnalyticsStaffApiFp = function (configuration) {
1876
1903
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1877
1904
  });
1878
1905
  },
1906
+ /**
1907
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
1908
+ * @param {string} playerId
1909
+ * @param {*} [options] Override http request option.
1910
+ * @throws {RequiredError}
1911
+ */
1912
+ getClubPlayerBookingsById(playerId, options) {
1913
+ return __awaiter(this, void 0, void 0, function* () {
1914
+ var _a, _b, _c;
1915
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
1916
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1917
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1918
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1919
+ });
1920
+ },
1921
+ /**
1922
+ * Récupère les informations détaillées d\'un joueur par son ID
1923
+ * @param {string} playerId
1924
+ * @param {*} [options] Override http request option.
1925
+ * @throws {RequiredError}
1926
+ */
1927
+ getClubPlayerById(playerId, options) {
1928
+ return __awaiter(this, void 0, void 0, function* () {
1929
+ var _a, _b, _c;
1930
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerById(playerId, options);
1931
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1932
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1933
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1934
+ });
1935
+ },
1936
+ /**
1937
+ * Récupère les statistiques d\'un joueur pour le staff
1938
+ * @param {string} playerId
1939
+ * @param {*} [options] Override http request option.
1940
+ * @throws {RequiredError}
1941
+ */
1942
+ getClubPlayerStatisticsById(playerId, options) {
1943
+ return __awaiter(this, void 0, void 0, function* () {
1944
+ var _a, _b, _c;
1945
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
1946
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1947
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1948
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1949
+ });
1950
+ },
1879
1951
  /**
1880
1952
  * Récupère la liste des joueurs du club
1881
1953
  * @param {*} [options] Override http request option.
@@ -2027,6 +2099,33 @@ const ClubAnalyticsStaffApiFactory = function (configuration, basePath, axios) {
2027
2099
  getAnalyticsBySport(requestParameters, options) {
2028
2100
  return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
2029
2101
  },
2102
+ /**
2103
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2104
+ * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
2105
+ * @param {*} [options] Override http request option.
2106
+ * @throws {RequiredError}
2107
+ */
2108
+ getClubPlayerBookingsById(requestParameters, options) {
2109
+ return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
2110
+ },
2111
+ /**
2112
+ * Récupère les informations détaillées d\'un joueur par son ID
2113
+ * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
2114
+ * @param {*} [options] Override http request option.
2115
+ * @throws {RequiredError}
2116
+ */
2117
+ getClubPlayerById(requestParameters, options) {
2118
+ return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
2119
+ },
2120
+ /**
2121
+ * Récupère les statistiques d\'un joueur pour le staff
2122
+ * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
2123
+ * @param {*} [options] Override http request option.
2124
+ * @throws {RequiredError}
2125
+ */
2126
+ getClubPlayerStatisticsById(requestParameters, options) {
2127
+ return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
2128
+ },
2030
2129
  /**
2031
2130
  * Récupère la liste des joueurs du club
2032
2131
  * @param {*} [options] Override http request option.
@@ -2123,6 +2222,36 @@ class ClubAnalyticsStaffApi extends base_1.BaseAPI {
2123
2222
  getAnalyticsBySport(requestParameters, options) {
2124
2223
  return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
2125
2224
  }
2225
+ /**
2226
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2227
+ * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
2228
+ * @param {*} [options] Override http request option.
2229
+ * @throws {RequiredError}
2230
+ * @memberof ClubAnalyticsStaffApi
2231
+ */
2232
+ getClubPlayerBookingsById(requestParameters, options) {
2233
+ return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
2234
+ }
2235
+ /**
2236
+ * Récupère les informations détaillées d\'un joueur par son ID
2237
+ * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
2238
+ * @param {*} [options] Override http request option.
2239
+ * @throws {RequiredError}
2240
+ * @memberof ClubAnalyticsStaffApi
2241
+ */
2242
+ getClubPlayerById(requestParameters, options) {
2243
+ return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
2244
+ }
2245
+ /**
2246
+ * Récupère les statistiques d\'un joueur pour le staff
2247
+ * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
2248
+ * @param {*} [options] Override http request option.
2249
+ * @throws {RequiredError}
2250
+ * @memberof ClubAnalyticsStaffApi
2251
+ */
2252
+ getClubPlayerStatisticsById(requestParameters, options) {
2253
+ return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
2254
+ }
2126
2255
  /**
2127
2256
  * Récupère la liste des joueurs du club
2128
2257
  * @param {*} [options] Override http request option.
@@ -6554,99 +6683,6 @@ class SportsManagerApi extends base_1.BaseAPI {
6554
6683
  }
6555
6684
  }
6556
6685
  exports.SportsManagerApi = SportsManagerApi;
6557
- /**
6558
- * SportsPublicApi - axios parameter creator
6559
- * @export
6560
- */
6561
- const SportsPublicApiAxiosParamCreator = function (configuration) {
6562
- return {
6563
- /**
6564
- * Récupère tous les sports vérifiés, accessibles publiquement
6565
- * @param {*} [options] Override http request option.
6566
- * @throws {RequiredError}
6567
- */
6568
- getVerifiedSports: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6569
- const localVarPath = `/api/sports/verified`;
6570
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6571
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6572
- let baseOptions;
6573
- if (configuration) {
6574
- baseOptions = configuration.baseOptions;
6575
- }
6576
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6577
- const localVarHeaderParameter = {};
6578
- const localVarQueryParameter = {};
6579
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6580
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6581
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6582
- return {
6583
- url: (0, common_1.toPathString)(localVarUrlObj),
6584
- options: localVarRequestOptions,
6585
- };
6586
- }),
6587
- };
6588
- };
6589
- exports.SportsPublicApiAxiosParamCreator = SportsPublicApiAxiosParamCreator;
6590
- /**
6591
- * SportsPublicApi - functional programming interface
6592
- * @export
6593
- */
6594
- const SportsPublicApiFp = function (configuration) {
6595
- const localVarAxiosParamCreator = (0, exports.SportsPublicApiAxiosParamCreator)(configuration);
6596
- return {
6597
- /**
6598
- * Récupère tous les sports vérifiés, accessibles publiquement
6599
- * @param {*} [options] Override http request option.
6600
- * @throws {RequiredError}
6601
- */
6602
- getVerifiedSports(options) {
6603
- return __awaiter(this, void 0, void 0, function* () {
6604
- var _a, _b, _c;
6605
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getVerifiedSports(options);
6606
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6607
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SportsPublicApi.getVerifiedSports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6608
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6609
- });
6610
- },
6611
- };
6612
- };
6613
- exports.SportsPublicApiFp = SportsPublicApiFp;
6614
- /**
6615
- * SportsPublicApi - factory interface
6616
- * @export
6617
- */
6618
- const SportsPublicApiFactory = function (configuration, basePath, axios) {
6619
- const localVarFp = (0, exports.SportsPublicApiFp)(configuration);
6620
- return {
6621
- /**
6622
- * Récupère tous les sports vérifiés, accessibles publiquement
6623
- * @param {*} [options] Override http request option.
6624
- * @throws {RequiredError}
6625
- */
6626
- getVerifiedSports(options) {
6627
- return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
6628
- },
6629
- };
6630
- };
6631
- exports.SportsPublicApiFactory = SportsPublicApiFactory;
6632
- /**
6633
- * SportsPublicApi - object-oriented interface
6634
- * @export
6635
- * @class SportsPublicApi
6636
- * @extends {BaseAPI}
6637
- */
6638
- class SportsPublicApi extends base_1.BaseAPI {
6639
- /**
6640
- * Récupère tous les sports vérifiés, accessibles publiquement
6641
- * @param {*} [options] Override http request option.
6642
- * @throws {RequiredError}
6643
- * @memberof SportsPublicApi
6644
- */
6645
- getVerifiedSports(options) {
6646
- return (0, exports.SportsPublicApiFp)(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
6647
- }
6648
- }
6649
- exports.SportsPublicApi = SportsPublicApi;
6650
6686
  /**
6651
6687
  * SportsStaffApi - axios parameter creator
6652
6688
  * @export
@@ -7578,6 +7614,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
7578
7614
  options: localVarRequestOptions,
7579
7615
  };
7580
7616
  }),
7617
+ /**
7618
+ *
7619
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
7620
+ * @param {*} [options] Override http request option.
7621
+ * @throws {RequiredError}
7622
+ */
7623
+ addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
7624
+ // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
7625
+ (0, common_1.assertParamExists)('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
7626
+ const localVarPath = `/api/users/addPaymentMethodSetup`;
7627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7628
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7629
+ let baseOptions;
7630
+ if (configuration) {
7631
+ baseOptions = configuration.baseOptions;
7632
+ }
7633
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7634
+ const localVarHeaderParameter = {};
7635
+ const localVarQueryParameter = {};
7636
+ // authentication bearerAuth required
7637
+ // http bearer authentication required
7638
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7639
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7640
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7641
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7642
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7643
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
7644
+ return {
7645
+ url: (0, common_1.toPathString)(localVarUrlObj),
7646
+ options: localVarRequestOptions,
7647
+ };
7648
+ }),
7581
7649
  /**
7582
7650
  *
7583
7651
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -7610,6 +7678,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
7610
7678
  options: localVarRequestOptions,
7611
7679
  };
7612
7680
  }),
7681
+ /**
7682
+ *
7683
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
7684
+ * @param {*} [options] Override http request option.
7685
+ * @throws {RequiredError}
7686
+ */
7687
+ confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
7688
+ // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
7689
+ (0, common_1.assertParamExists)('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
7690
+ const localVarPath = `/api/users/confirmPaymentMethodSetup`;
7691
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7692
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7693
+ let baseOptions;
7694
+ if (configuration) {
7695
+ baseOptions = configuration.baseOptions;
7696
+ }
7697
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7698
+ const localVarHeaderParameter = {};
7699
+ const localVarQueryParameter = {};
7700
+ // authentication bearerAuth required
7701
+ // http bearer authentication required
7702
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7703
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7704
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7705
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7706
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7707
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
7708
+ return {
7709
+ url: (0, common_1.toPathString)(localVarUrlObj),
7710
+ options: localVarRequestOptions,
7711
+ };
7712
+ }),
7613
7713
  /**
7614
7714
  *
7615
7715
  * @param {*} [options] Override http request option.
@@ -8379,6 +8479,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
8379
8479
  options: localVarRequestOptions,
8380
8480
  };
8381
8481
  }),
8482
+ /**
8483
+ *
8484
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
8485
+ * @param {*} [options] Override http request option.
8486
+ * @throws {RequiredError}
8487
+ */
8488
+ setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
8489
+ // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
8490
+ (0, common_1.assertParamExists)('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
8491
+ const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
8492
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8493
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8494
+ let baseOptions;
8495
+ if (configuration) {
8496
+ baseOptions = configuration.baseOptions;
8497
+ }
8498
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8499
+ const localVarHeaderParameter = {};
8500
+ const localVarQueryParameter = {};
8501
+ // authentication bearerAuth required
8502
+ // http bearer authentication required
8503
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8504
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8505
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8507
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8508
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
8509
+ return {
8510
+ url: (0, common_1.toPathString)(localVarUrlObj),
8511
+ options: localVarRequestOptions,
8512
+ };
8513
+ }),
8382
8514
  /**
8383
8515
  *
8384
8516
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -8649,6 +8781,21 @@ const UsersApiFp = function (configuration) {
8649
8781
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8650
8782
  });
8651
8783
  },
8784
+ /**
8785
+ *
8786
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
8787
+ * @param {*} [options] Override http request option.
8788
+ * @throws {RequiredError}
8789
+ */
8790
+ addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
8791
+ return __awaiter(this, void 0, void 0, function* () {
8792
+ var _a, _b, _c;
8793
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
8794
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8795
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8796
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8797
+ });
8798
+ },
8652
8799
  /**
8653
8800
  *
8654
8801
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -8664,6 +8811,21 @@ const UsersApiFp = function (configuration) {
8664
8811
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8665
8812
  });
8666
8813
  },
8814
+ /**
8815
+ *
8816
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
8817
+ * @param {*} [options] Override http request option.
8818
+ * @throws {RequiredError}
8819
+ */
8820
+ confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
8821
+ return __awaiter(this, void 0, void 0, function* () {
8822
+ var _a, _b, _c;
8823
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
8824
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8825
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8826
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8827
+ });
8828
+ },
8667
8829
  /**
8668
8830
  *
8669
8831
  * @param {*} [options] Override http request option.
@@ -9034,6 +9196,21 @@ const UsersApiFp = function (configuration) {
9034
9196
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9035
9197
  });
9036
9198
  },
9199
+ /**
9200
+ *
9201
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
9202
+ * @param {*} [options] Override http request option.
9203
+ * @throws {RequiredError}
9204
+ */
9205
+ setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
9206
+ return __awaiter(this, void 0, void 0, function* () {
9207
+ var _a, _b, _c;
9208
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
9209
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9210
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9211
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9212
+ });
9213
+ },
9037
9214
  /**
9038
9215
  *
9039
9216
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -9176,6 +9353,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9176
9353
  addOrganization(requestParameters, options) {
9177
9354
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
9178
9355
  },
9356
+ /**
9357
+ *
9358
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9359
+ * @param {*} [options] Override http request option.
9360
+ * @throws {RequiredError}
9361
+ */
9362
+ addPaymentMethodSetup(requestParameters, options) {
9363
+ return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9364
+ },
9179
9365
  /**
9180
9366
  *
9181
9367
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9185,6 +9371,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9185
9371
  changePassword(requestParameters, options) {
9186
9372
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
9187
9373
  },
9374
+ /**
9375
+ *
9376
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9377
+ * @param {*} [options] Override http request option.
9378
+ * @throws {RequiredError}
9379
+ */
9380
+ confirmPaymentMethodSetup(requestParameters, options) {
9381
+ return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9382
+ },
9188
9383
  /**
9189
9384
  *
9190
9385
  * @param {*} [options] Override http request option.
@@ -9393,6 +9588,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9393
9588
  resetPassword(requestParameters, options) {
9394
9589
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
9395
9590
  },
9591
+ /**
9592
+ *
9593
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9594
+ * @param {*} [options] Override http request option.
9595
+ * @throws {RequiredError}
9596
+ */
9597
+ setupOffSessionPaymentMethod(requestParameters, options) {
9598
+ return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9599
+ },
9396
9600
  /**
9397
9601
  *
9398
9602
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -9496,6 +9700,16 @@ class UsersApi extends base_1.BaseAPI {
9496
9700
  addOrganization(requestParameters, options) {
9497
9701
  return (0, exports.UsersApiFp)(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9498
9702
  }
9703
+ /**
9704
+ *
9705
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9706
+ * @param {*} [options] Override http request option.
9707
+ * @throws {RequiredError}
9708
+ * @memberof UsersApi
9709
+ */
9710
+ addPaymentMethodSetup(requestParameters, options) {
9711
+ return (0, exports.UsersApiFp)(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9712
+ }
9499
9713
  /**
9500
9714
  *
9501
9715
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9506,6 +9720,16 @@ class UsersApi extends base_1.BaseAPI {
9506
9720
  changePassword(requestParameters, options) {
9507
9721
  return (0, exports.UsersApiFp)(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
9508
9722
  }
9723
+ /**
9724
+ *
9725
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9726
+ * @param {*} [options] Override http request option.
9727
+ * @throws {RequiredError}
9728
+ * @memberof UsersApi
9729
+ */
9730
+ confirmPaymentMethodSetup(requestParameters, options) {
9731
+ return (0, exports.UsersApiFp)(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9732
+ }
9509
9733
  /**
9510
9734
  *
9511
9735
  * @param {*} [options] Override http request option.
@@ -9738,6 +9962,16 @@ class UsersApi extends base_1.BaseAPI {
9738
9962
  resetPassword(requestParameters, options) {
9739
9963
  return (0, exports.UsersApiFp)(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
9740
9964
  }
9965
+ /**
9966
+ *
9967
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9968
+ * @param {*} [options] Override http request option.
9969
+ * @throws {RequiredError}
9970
+ * @memberof UsersApi
9971
+ */
9972
+ setupOffSessionPaymentMethod(requestParameters, options) {
9973
+ return (0, exports.UsersApiFp)(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9974
+ }
9741
9975
  /**
9742
9976
  *
9743
9977
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.