@tennac-booking/sdk 1.0.72 → 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 (43) hide show
  1. package/.openapi-generator/FILES +1 -6
  2. package/README.md +3 -11
  3. package/api.ts +132 -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 +86 -353
  8. package/dist/api.js +95 -200
  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 +86 -353
  16. package/dist/esm/api.js +90 -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/SportsPublicApi.md +53 -0
  32. package/docs/StaffUserProfileResponse.md +2 -12
  33. package/docs/SubscribeRequestBody.md +2 -0
  34. package/docs/UserProfileResponse.md +4 -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/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.72
8
+ * The version of the OpenAPI document: 1.0.74
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.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.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;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
@@ -6554,6 +6554,99 @@ class SportsManagerApi extends base_1.BaseAPI {
6554
6554
  }
6555
6555
  }
6556
6556
  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;
6557
6650
  /**
6558
6651
  * SportsStaffApi - axios parameter creator
6559
6652
  * @export
@@ -7485,38 +7578,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
7485
7578
  options: localVarRequestOptions,
7486
7579
  };
7487
7580
  }),
7488
- /**
7489
- *
7490
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
7491
- * @param {*} [options] Override http request option.
7492
- * @throws {RequiredError}
7493
- */
7494
- addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
7495
- // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
7496
- (0, common_1.assertParamExists)('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
7497
- const localVarPath = `/api/users/addPaymentMethodSetup`;
7498
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7499
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7500
- let baseOptions;
7501
- if (configuration) {
7502
- baseOptions = configuration.baseOptions;
7503
- }
7504
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7505
- const localVarHeaderParameter = {};
7506
- const localVarQueryParameter = {};
7507
- // authentication bearerAuth required
7508
- // http bearer authentication required
7509
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7510
- localVarHeaderParameter['Content-Type'] = 'application/json';
7511
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7512
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7513
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7514
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
7515
- return {
7516
- url: (0, common_1.toPathString)(localVarUrlObj),
7517
- options: localVarRequestOptions,
7518
- };
7519
- }),
7520
7581
  /**
7521
7582
  *
7522
7583
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -7549,38 +7610,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
7549
7610
  options: localVarRequestOptions,
7550
7611
  };
7551
7612
  }),
7552
- /**
7553
- *
7554
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
7555
- * @param {*} [options] Override http request option.
7556
- * @throws {RequiredError}
7557
- */
7558
- confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
7559
- // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
7560
- (0, common_1.assertParamExists)('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
7561
- const localVarPath = `/api/users/confirmPaymentMethodSetup`;
7562
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7563
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7564
- let baseOptions;
7565
- if (configuration) {
7566
- baseOptions = configuration.baseOptions;
7567
- }
7568
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7569
- const localVarHeaderParameter = {};
7570
- const localVarQueryParameter = {};
7571
- // authentication bearerAuth required
7572
- // http bearer authentication required
7573
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7574
- localVarHeaderParameter['Content-Type'] = 'application/json';
7575
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7576
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7577
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7578
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
7579
- return {
7580
- url: (0, common_1.toPathString)(localVarUrlObj),
7581
- options: localVarRequestOptions,
7582
- };
7583
- }),
7584
7613
  /**
7585
7614
  *
7586
7615
  * @param {*} [options] Override http request option.
@@ -8350,38 +8379,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
8350
8379
  options: localVarRequestOptions,
8351
8380
  };
8352
8381
  }),
8353
- /**
8354
- *
8355
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
8356
- * @param {*} [options] Override http request option.
8357
- * @throws {RequiredError}
8358
- */
8359
- setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
8360
- // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
8361
- (0, common_1.assertParamExists)('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
8362
- const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
8363
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8364
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8365
- let baseOptions;
8366
- if (configuration) {
8367
- baseOptions = configuration.baseOptions;
8368
- }
8369
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8370
- const localVarHeaderParameter = {};
8371
- const localVarQueryParameter = {};
8372
- // authentication bearerAuth required
8373
- // http bearer authentication required
8374
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8375
- localVarHeaderParameter['Content-Type'] = 'application/json';
8376
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8377
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8378
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8379
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
8380
- return {
8381
- url: (0, common_1.toPathString)(localVarUrlObj),
8382
- options: localVarRequestOptions,
8383
- };
8384
- }),
8385
8382
  /**
8386
8383
  *
8387
8384
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -8652,21 +8649,6 @@ const UsersApiFp = function (configuration) {
8652
8649
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8653
8650
  });
8654
8651
  },
8655
- /**
8656
- *
8657
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
8658
- * @param {*} [options] Override http request option.
8659
- * @throws {RequiredError}
8660
- */
8661
- addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
8662
- return __awaiter(this, void 0, void 0, function* () {
8663
- var _a, _b, _c;
8664
- const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
8665
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8666
- 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;
8667
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8668
- });
8669
- },
8670
8652
  /**
8671
8653
  *
8672
8654
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -8682,21 +8664,6 @@ const UsersApiFp = function (configuration) {
8682
8664
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8683
8665
  });
8684
8666
  },
8685
- /**
8686
- *
8687
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
8688
- * @param {*} [options] Override http request option.
8689
- * @throws {RequiredError}
8690
- */
8691
- confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
8692
- return __awaiter(this, void 0, void 0, function* () {
8693
- var _a, _b, _c;
8694
- const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
8695
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8696
- 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;
8697
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8698
- });
8699
- },
8700
8667
  /**
8701
8668
  *
8702
8669
  * @param {*} [options] Override http request option.
@@ -9067,21 +9034,6 @@ const UsersApiFp = function (configuration) {
9067
9034
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9068
9035
  });
9069
9036
  },
9070
- /**
9071
- *
9072
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
9073
- * @param {*} [options] Override http request option.
9074
- * @throws {RequiredError}
9075
- */
9076
- setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
9077
- return __awaiter(this, void 0, void 0, function* () {
9078
- var _a, _b, _c;
9079
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
9080
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9081
- 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;
9082
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9083
- });
9084
- },
9085
9037
  /**
9086
9038
  *
9087
9039
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -9224,15 +9176,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9224
9176
  addOrganization(requestParameters, options) {
9225
9177
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
9226
9178
  },
9227
- /**
9228
- *
9229
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9230
- * @param {*} [options] Override http request option.
9231
- * @throws {RequiredError}
9232
- */
9233
- addPaymentMethodSetup(requestParameters, options) {
9234
- return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9235
- },
9236
9179
  /**
9237
9180
  *
9238
9181
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9242,15 +9185,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9242
9185
  changePassword(requestParameters, options) {
9243
9186
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
9244
9187
  },
9245
- /**
9246
- *
9247
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9248
- * @param {*} [options] Override http request option.
9249
- * @throws {RequiredError}
9250
- */
9251
- confirmPaymentMethodSetup(requestParameters, options) {
9252
- return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9253
- },
9254
9188
  /**
9255
9189
  *
9256
9190
  * @param {*} [options] Override http request option.
@@ -9459,15 +9393,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
9459
9393
  resetPassword(requestParameters, options) {
9460
9394
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
9461
9395
  },
9462
- /**
9463
- *
9464
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9465
- * @param {*} [options] Override http request option.
9466
- * @throws {RequiredError}
9467
- */
9468
- setupOffSessionPaymentMethod(requestParameters, options) {
9469
- return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9470
- },
9471
9396
  /**
9472
9397
  *
9473
9398
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -9571,16 +9496,6 @@ class UsersApi extends base_1.BaseAPI {
9571
9496
  addOrganization(requestParameters, options) {
9572
9497
  return (0, exports.UsersApiFp)(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9573
9498
  }
9574
- /**
9575
- *
9576
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9577
- * @param {*} [options] Override http request option.
9578
- * @throws {RequiredError}
9579
- * @memberof UsersApi
9580
- */
9581
- addPaymentMethodSetup(requestParameters, options) {
9582
- return (0, exports.UsersApiFp)(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9583
- }
9584
9499
  /**
9585
9500
  *
9586
9501
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9591,16 +9506,6 @@ class UsersApi extends base_1.BaseAPI {
9591
9506
  changePassword(requestParameters, options) {
9592
9507
  return (0, exports.UsersApiFp)(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
9593
9508
  }
9594
- /**
9595
- *
9596
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9597
- * @param {*} [options] Override http request option.
9598
- * @throws {RequiredError}
9599
- * @memberof UsersApi
9600
- */
9601
- confirmPaymentMethodSetup(requestParameters, options) {
9602
- return (0, exports.UsersApiFp)(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9603
- }
9604
9509
  /**
9605
9510
  *
9606
9511
  * @param {*} [options] Override http request option.
@@ -9833,16 +9738,6 @@ class UsersApi extends base_1.BaseAPI {
9833
9738
  resetPassword(requestParameters, options) {
9834
9739
  return (0, exports.UsersApiFp)(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
9835
9740
  }
9836
- /**
9837
- *
9838
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9839
- * @param {*} [options] Override http request option.
9840
- * @throws {RequiredError}
9841
- * @memberof UsersApi
9842
- */
9843
- setupOffSessionPaymentMethod(requestParameters, options) {
9844
- return (0, exports.UsersApiFp)(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9845
- }
9846
9741
  /**
9847
9742
  *
9848
9743
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.72
8
+ * The version of the OpenAPI document: 1.0.74
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.72
8
+ * The version of the OpenAPI document: 1.0.74
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.72
8
+ * The version of the OpenAPI document: 1.0.74
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).