@tennac-booking/sdk 1.0.86 → 1.0.87

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 (96) hide show
  1. package/.openapi-generator/FILES +256 -243
  2. package/README.md +47 -25
  3. package/api.ts +2445 -1308
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2048 -1281
  8. package/dist/api.js +841 -270
  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 +2048 -1281
  16. package/dist/esm/api.js +834 -263
  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/{DeleteClubSettingsResponse.md → AddPaymentMethodRequestBody.md} +5 -5
  28. package/docs/BookingDetailResponse.md +46 -0
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPopulated.md +3 -3
  31. package/docs/BookingResponse.md +0 -2
  32. package/docs/BookingSummary.md +2 -54
  33. package/docs/BookingsApi.md +0 -55
  34. package/docs/ClubAnalyticsStaffApi.md +173 -0
  35. package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
  36. package/docs/ClubGeneralSettingsResponse.md +32 -0
  37. package/docs/ClubHoursSettingsResponse.md +22 -0
  38. package/docs/ClubLocationSettings.md +26 -0
  39. package/docs/ClubPlayerBookingItem.md +36 -0
  40. package/docs/ClubPlayerBookingsPagination.md +28 -0
  41. package/docs/ClubPlayerBookingsResponse.md +24 -0
  42. package/docs/ClubPlayerDetailResponse.md +46 -0
  43. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  44. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  45. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  46. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  47. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  48. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  49. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  50. package/docs/ClubPresentationSettingsResponse.md +26 -0
  51. package/docs/ClubPricingPeriodResponse.md +30 -0
  52. package/docs/ClubReservationSettingsResponse.md +28 -0
  53. package/docs/ClubResponse.md +0 -8
  54. package/docs/ClubSettingsManagerApi.md +54 -55
  55. package/docs/ClubSettingsStaffApi.md +139 -0
  56. package/docs/ClubWeeklySchedule.md +32 -0
  57. package/docs/ClubsManagerApi.md +52 -0
  58. package/docs/ClubsStaffApi.md +44 -0
  59. package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
  60. package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
  61. package/docs/CreateBookingRequest.md +2 -2
  62. package/docs/CreateEventRequest.md +3 -1
  63. package/docs/EventResponse.md +1 -1
  64. package/docs/IUserAttributes.md +12 -2
  65. package/docs/PartialClubResponse.md +0 -8
  66. package/docs/PartialClubWeeklySchedule.md +33 -0
  67. package/docs/PaymentMethodSetupResponse.md +24 -0
  68. package/docs/QuickReservationClubSummary.md +0 -4
  69. package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
  70. package/docs/SetupPaymentMethodResponse.md +24 -0
  71. package/docs/SlotInfo.md +2 -2
  72. package/docs/StaffUserProfileResponse.md +12 -2
  73. package/docs/SubscribeRequestBody.md +0 -2
  74. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  75. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  76. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  77. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  78. package/docs/UpdateEventRequest.md +1 -1
  79. package/docs/UserProfileResponse.md +12 -4
  80. package/docs/UsersApi.md +160 -4
  81. package/index.ts +1 -1
  82. package/package.json +1 -1
  83. package/docs/BookingClubInfo.md +0 -28
  84. package/docs/BookingPaymentStatus.md +0 -24
  85. package/docs/BookingPlayerPaymentSummary.md +0 -34
  86. package/docs/BookingPriceResponse.md +0 -22
  87. package/docs/BookingSlotInfo.md +0 -30
  88. package/docs/ClubSettingsResponse.md +0 -39
  89. package/docs/CreateClubSettingsRequest.md +0 -34
  90. package/docs/InvoiceStatus.md +0 -22
  91. package/docs/PlayerPrice.md +0 -30
  92. package/docs/QuickReservationClubSport.md +0 -22
  93. package/docs/SportsPublicApi.md +0 -53
  94. package/docs/SubscriptionInfo.md +0 -24
  95. package/docs/UpdateClubSettingsRequest.md +0 -32
  96. package/docs/UserBookingsResponse.md +0 -28
package/dist/esm/api.js 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.86
7
+ * The version of the OpenAPI document: 1.0.77
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -134,21 +134,6 @@ export const Gender = {
134
134
  export const IUserLocationTypeEnum = {
135
135
  Point: 'Point'
136
136
  };
137
- /**
138
- *
139
- * @export
140
- * @enum {string}
141
- */
142
- export const InvoiceStatus = {
143
- SetupPending: 'setup_pending',
144
- SetupSuccess: 'setup_success',
145
- Pending: 'pending',
146
- Paid: 'paid',
147
- Failed: 'failed',
148
- Authorized: 'authorized',
149
- Canceled: 'canceled',
150
- Expired: 'expired'
151
- };
152
137
  /**
153
138
  *
154
139
  * @export
@@ -379,38 +364,6 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
379
364
  options: localVarRequestOptions,
380
365
  };
381
366
  }),
382
- /**
383
- *
384
- * @param {BookingPriceBody} bookingPriceBody
385
- * @param {*} [options] Override http request option.
386
- * @throws {RequiredError}
387
- */
388
- getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
389
- // verify required parameter 'bookingPriceBody' is not null or undefined
390
- assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
391
- const localVarPath = `/api/bookings/booking-price`;
392
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
393
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
394
- let baseOptions;
395
- if (configuration) {
396
- baseOptions = configuration.baseOptions;
397
- }
398
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
399
- const localVarHeaderParameter = {};
400
- const localVarQueryParameter = {};
401
- // authentication bearerAuth required
402
- // http bearer authentication required
403
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
404
- localVarHeaderParameter['Content-Type'] = 'application/json';
405
- setSearchParams(localVarUrlObj, localVarQueryParameter);
406
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
407
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
408
- localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration);
409
- return {
410
- url: toPathString(localVarUrlObj),
411
- options: localVarRequestOptions,
412
- };
413
- }),
414
367
  /**
415
368
  * Recherche des créneaux disponibles pour une réservation rapide
416
369
  * @param {number} [latitude]
@@ -421,13 +374,12 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
421
374
  * @param {string} [startTime]
422
375
  * @param {number} [priceMax]
423
376
  * @param {string} [courtTypes]
424
- * @param {string} [surfaceTypes]
425
377
  * @param {number} [limitPerClub]
426
378
  * @param {number} [maxClubs]
427
379
  * @param {*} [options] Override http request option.
428
380
  * @throws {RequiredError}
429
381
  */
430
- getQuickReservationSlots: (latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, surfaceTypes_1, limitPerClub_1, maxClubs_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, surfaceTypes_1, limitPerClub_1, maxClubs_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options = {}) {
382
+ getQuickReservationSlots: (latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, limitPerClub_1, maxClubs_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, limitPerClub_1, maxClubs_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options = {}) {
431
383
  const localVarPath = `/api/bookings/quick-reservations`;
432
384
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
433
385
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -462,11 +414,8 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
462
414
  if (courtTypes !== undefined) {
463
415
  localVarQueryParameter['courtTypes'] = courtTypes;
464
416
  }
465
- if (surfaceTypes !== undefined) {
466
- localVarQueryParameter['surfaceTypes'] = surfaceTypes;
467
- }
468
417
  if (limitPerClub !== undefined) {
469
- localVarQueryParameter['_limitPerClub'] = limitPerClub;
418
+ localVarQueryParameter['limitPerClub'] = limitPerClub;
470
419
  }
471
420
  if (maxClubs !== undefined) {
472
421
  localVarQueryParameter['maxClubs'] = maxClubs;
@@ -503,21 +452,6 @@ export const BookingsApiFp = function (configuration) {
503
452
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
504
453
  });
505
454
  },
506
- /**
507
- *
508
- * @param {BookingPriceBody} bookingPriceBody
509
- * @param {*} [options] Override http request option.
510
- * @throws {RequiredError}
511
- */
512
- getBookingPrice(bookingPriceBody, options) {
513
- return __awaiter(this, void 0, void 0, function* () {
514
- var _a, _b, _c;
515
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
516
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
517
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
518
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
519
- });
520
- },
521
455
  /**
522
456
  * Recherche des créneaux disponibles pour une réservation rapide
523
457
  * @param {number} [latitude]
@@ -528,16 +462,15 @@ export const BookingsApiFp = function (configuration) {
528
462
  * @param {string} [startTime]
529
463
  * @param {number} [priceMax]
530
464
  * @param {string} [courtTypes]
531
- * @param {string} [surfaceTypes]
532
465
  * @param {number} [limitPerClub]
533
466
  * @param {number} [maxClubs]
534
467
  * @param {*} [options] Override http request option.
535
468
  * @throws {RequiredError}
536
469
  */
537
- getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options) {
470
+ getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options) {
538
471
  return __awaiter(this, void 0, void 0, function* () {
539
472
  var _a, _b, _c;
540
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options);
473
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
541
474
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
542
475
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getQuickReservationSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
543
476
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -561,15 +494,6 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
561
494
  getBookingHistory(requestParameters, options) {
562
495
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
563
496
  },
564
- /**
565
- *
566
- * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
567
- * @param {*} [options] Override http request option.
568
- * @throws {RequiredError}
569
- */
570
- getBookingPrice(requestParameters, options) {
571
- return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
572
- },
573
497
  /**
574
498
  * Recherche des créneaux disponibles pour une réservation rapide
575
499
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -577,7 +501,7 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
577
501
  * @throws {RequiredError}
578
502
  */
579
503
  getQuickReservationSlots(requestParameters = {}, options) {
580
- return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
504
+ return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
581
505
  },
582
506
  };
583
507
  };
@@ -598,16 +522,6 @@ export class BookingsApi extends BaseAPI {
598
522
  getBookingHistory(requestParameters, options) {
599
523
  return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
600
524
  }
601
- /**
602
- *
603
- * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
604
- * @param {*} [options] Override http request option.
605
- * @throws {RequiredError}
606
- * @memberof BookingsApi
607
- */
608
- getBookingPrice(requestParameters, options) {
609
- return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
610
- }
611
525
  /**
612
526
  * Recherche des créneaux disponibles pour une réservation rapide
613
527
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -616,7 +530,7 @@ export class BookingsApi extends BaseAPI {
616
530
  * @memberof BookingsApi
617
531
  */
618
532
  getQuickReservationSlots(requestParameters = {}, options) {
619
- return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
533
+ return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
620
534
  }
621
535
  }
622
536
  /**
@@ -1571,6 +1485,107 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
1571
1485
  options: localVarRequestOptions,
1572
1486
  };
1573
1487
  }),
1488
+ /**
1489
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
1490
+ * @param {string} playerId
1491
+ * @param {number} [page]
1492
+ * @param {number} [pageSize]
1493
+ * @param {*} [options] Override http request option.
1494
+ * @throws {RequiredError}
1495
+ */
1496
+ getClubPlayerBookingsById: (playerId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [playerId_1, page_1, pageSize_1, ...args_1], void 0, function* (playerId, page, pageSize, options = {}) {
1497
+ // verify required parameter 'playerId' is not null or undefined
1498
+ assertParamExists('getClubPlayerBookingsById', 'playerId', playerId);
1499
+ const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
1500
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
1501
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1502
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1503
+ let baseOptions;
1504
+ if (configuration) {
1505
+ baseOptions = configuration.baseOptions;
1506
+ }
1507
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1508
+ const localVarHeaderParameter = {};
1509
+ const localVarQueryParameter = {};
1510
+ // authentication bearerAuth required
1511
+ // http bearer authentication required
1512
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1513
+ if (page !== undefined) {
1514
+ localVarQueryParameter['page'] = page;
1515
+ }
1516
+ if (pageSize !== undefined) {
1517
+ localVarQueryParameter['pageSize'] = pageSize;
1518
+ }
1519
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1520
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1521
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1522
+ return {
1523
+ url: toPathString(localVarUrlObj),
1524
+ options: localVarRequestOptions,
1525
+ };
1526
+ }),
1527
+ /**
1528
+ * Récupère les informations détaillées d\'un joueur par son ID
1529
+ * @param {string} playerId
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ */
1533
+ getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
1534
+ // verify required parameter 'playerId' is not null or undefined
1535
+ assertParamExists('getClubPlayerById', 'playerId', playerId);
1536
+ const localVarPath = `/api/club-analytics/players/{playerId}`
1537
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
1538
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1539
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1540
+ let baseOptions;
1541
+ if (configuration) {
1542
+ baseOptions = configuration.baseOptions;
1543
+ }
1544
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1545
+ const localVarHeaderParameter = {};
1546
+ const localVarQueryParameter = {};
1547
+ // authentication bearerAuth required
1548
+ // http bearer authentication required
1549
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1550
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1551
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1552
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1553
+ return {
1554
+ url: toPathString(localVarUrlObj),
1555
+ options: localVarRequestOptions,
1556
+ };
1557
+ }),
1558
+ /**
1559
+ * Récupère les statistiques d\'un joueur pour le staff
1560
+ * @param {string} playerId
1561
+ * @param {*} [options] Override http request option.
1562
+ * @throws {RequiredError}
1563
+ */
1564
+ getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
1565
+ // verify required parameter 'playerId' is not null or undefined
1566
+ assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId);
1567
+ const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
1568
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
1569
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1570
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1571
+ let baseOptions;
1572
+ if (configuration) {
1573
+ baseOptions = configuration.baseOptions;
1574
+ }
1575
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1576
+ const localVarHeaderParameter = {};
1577
+ const localVarQueryParameter = {};
1578
+ // authentication bearerAuth required
1579
+ // http bearer authentication required
1580
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1581
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1582
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1583
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1584
+ return {
1585
+ url: toPathString(localVarUrlObj),
1586
+ options: localVarRequestOptions,
1587
+ };
1588
+ }),
1574
1589
  /**
1575
1590
  * Récupère la liste des joueurs du club
1576
1591
  * @param {*} [options] Override http request option.
@@ -1870,6 +1885,53 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
1870
1885
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1871
1886
  });
1872
1887
  },
1888
+ /**
1889
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
1890
+ * @param {string} playerId
1891
+ * @param {number} [page]
1892
+ * @param {number} [pageSize]
1893
+ * @param {*} [options] Override http request option.
1894
+ * @throws {RequiredError}
1895
+ */
1896
+ getClubPlayerBookingsById(playerId, page, pageSize, options) {
1897
+ return __awaiter(this, void 0, void 0, function* () {
1898
+ var _a, _b, _c;
1899
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
1900
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1901
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1902
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1903
+ });
1904
+ },
1905
+ /**
1906
+ * Récupère les informations détaillées d\'un joueur par son ID
1907
+ * @param {string} playerId
1908
+ * @param {*} [options] Override http request option.
1909
+ * @throws {RequiredError}
1910
+ */
1911
+ getClubPlayerById(playerId, options) {
1912
+ return __awaiter(this, void 0, void 0, function* () {
1913
+ var _a, _b, _c;
1914
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerById(playerId, options);
1915
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1916
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1917
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1918
+ });
1919
+ },
1920
+ /**
1921
+ * Récupère les statistiques d\'un joueur pour le staff
1922
+ * @param {string} playerId
1923
+ * @param {*} [options] Override http request option.
1924
+ * @throws {RequiredError}
1925
+ */
1926
+ getClubPlayerStatisticsById(playerId, options) {
1927
+ return __awaiter(this, void 0, void 0, function* () {
1928
+ var _a, _b, _c;
1929
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
1930
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1931
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1932
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1933
+ });
1934
+ },
1873
1935
  /**
1874
1936
  * Récupère la liste des joueurs du club
1875
1937
  * @param {*} [options] Override http request option.
@@ -2020,6 +2082,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
2020
2082
  getAnalyticsBySport(requestParameters, options) {
2021
2083
  return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
2022
2084
  },
2085
+ /**
2086
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2087
+ * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
2088
+ * @param {*} [options] Override http request option.
2089
+ * @throws {RequiredError}
2090
+ */
2091
+ getClubPlayerBookingsById(requestParameters, options) {
2092
+ return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
2093
+ },
2094
+ /**
2095
+ * Récupère les informations détaillées d\'un joueur par son ID
2096
+ * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
2097
+ * @param {*} [options] Override http request option.
2098
+ * @throws {RequiredError}
2099
+ */
2100
+ getClubPlayerById(requestParameters, options) {
2101
+ return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
2102
+ },
2103
+ /**
2104
+ * Récupère les statistiques d\'un joueur pour le staff
2105
+ * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
2106
+ * @param {*} [options] Override http request option.
2107
+ * @throws {RequiredError}
2108
+ */
2109
+ getClubPlayerStatisticsById(requestParameters, options) {
2110
+ return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
2111
+ },
2023
2112
  /**
2024
2113
  * Récupère la liste des joueurs du club
2025
2114
  * @param {*} [options] Override http request option.
@@ -2115,6 +2204,36 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
2115
2204
  getAnalyticsBySport(requestParameters, options) {
2116
2205
  return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
2117
2206
  }
2207
+ /**
2208
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2209
+ * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
2210
+ * @param {*} [options] Override http request option.
2211
+ * @throws {RequiredError}
2212
+ * @memberof ClubAnalyticsStaffApi
2213
+ */
2214
+ getClubPlayerBookingsById(requestParameters, options) {
2215
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
2216
+ }
2217
+ /**
2218
+ * Récupère les informations détaillées d\'un joueur par son ID
2219
+ * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
2220
+ * @param {*} [options] Override http request option.
2221
+ * @throws {RequiredError}
2222
+ * @memberof ClubAnalyticsStaffApi
2223
+ */
2224
+ getClubPlayerById(requestParameters, options) {
2225
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
2226
+ }
2227
+ /**
2228
+ * Récupère les statistiques d\'un joueur pour le staff
2229
+ * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
2230
+ * @param {*} [options] Override http request option.
2231
+ * @throws {RequiredError}
2232
+ * @memberof ClubAnalyticsStaffApi
2233
+ */
2234
+ getClubPlayerStatisticsById(requestParameters, options) {
2235
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
2236
+ }
2118
2237
  /**
2119
2238
  * Récupère la liste des joueurs du club
2120
2239
  * @param {*} [options] Override http request option.
@@ -2659,26 +2778,22 @@ export class ClubRolesStaffApi extends BaseAPI {
2659
2778
  export const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
2660
2779
  return {
2661
2780
  /**
2662
- * Crée les paramètres d\'un club
2663
- * @param {string} clubId
2664
- * @param {CreateClubSettingsRequest} createClubSettingsRequest
2781
+ *
2782
+ * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
2665
2783
  * @param {*} [options] Override http request option.
2666
2784
  * @throws {RequiredError}
2667
2785
  */
2668
- createClubSettings: (clubId_1, createClubSettingsRequest_1, ...args_1) => __awaiter(this, [clubId_1, createClubSettingsRequest_1, ...args_1], void 0, function* (clubId, createClubSettingsRequest, options = {}) {
2669
- // verify required parameter 'clubId' is not null or undefined
2670
- assertParamExists('createClubSettings', 'clubId', clubId);
2671
- // verify required parameter 'createClubSettingsRequest' is not null or undefined
2672
- assertParamExists('createClubSettings', 'createClubSettingsRequest', createClubSettingsRequest);
2673
- const localVarPath = `/api/club-settings/{clubId}`
2674
- .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
2786
+ updateClubGeneralSettings: (updateClubGeneralSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubGeneralSettingsRequest_1, ...args_1], void 0, function* (updateClubGeneralSettingsRequest, options = {}) {
2787
+ // verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
2788
+ assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest);
2789
+ const localVarPath = `/api/club-settings/settings/general`;
2675
2790
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2676
2791
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2677
2792
  let baseOptions;
2678
2793
  if (configuration) {
2679
2794
  baseOptions = configuration.baseOptions;
2680
2795
  }
2681
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2796
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2682
2797
  const localVarHeaderParameter = {};
2683
2798
  const localVarQueryParameter = {};
2684
2799
  // authentication bearerAuth required
@@ -2688,18 +2803,21 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
2688
2803
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2689
2804
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2690
2805
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2691
- localVarRequestOptions.data = serializeDataIfNeeded(createClubSettingsRequest, localVarRequestOptions, configuration);
2806
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration);
2692
2807
  return {
2693
2808
  url: toPathString(localVarUrlObj),
2694
2809
  options: localVarRequestOptions,
2695
2810
  };
2696
2811
  }),
2697
2812
  /**
2698
- * Supprime les paramètres d\'un club
2813
+ * Met à jour les paramètres d\'un club
2814
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
2699
2815
  * @param {*} [options] Override http request option.
2700
2816
  * @throws {RequiredError}
2701
2817
  */
2702
- deleteClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2818
+ updateClubSettings: (updateClubReservationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubReservationSettingsRequest_1, ...args_1], void 0, function* (updateClubReservationSettingsRequest, options = {}) {
2819
+ // verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
2820
+ assertParamExists('updateClubSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest);
2703
2821
  const localVarPath = `/api/club-settings`;
2704
2822
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2705
2823
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2707,57 +2825,64 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
2707
2825
  if (configuration) {
2708
2826
  baseOptions = configuration.baseOptions;
2709
2827
  }
2710
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2828
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2711
2829
  const localVarHeaderParameter = {};
2712
2830
  const localVarQueryParameter = {};
2713
2831
  // authentication bearerAuth required
2714
2832
  // http bearer authentication required
2715
2833
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2834
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2716
2835
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2717
2836
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2718
2837
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2838
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration);
2719
2839
  return {
2720
2840
  url: toPathString(localVarUrlObj),
2721
2841
  options: localVarRequestOptions,
2722
2842
  };
2723
2843
  }),
2724
2844
  /**
2725
- * Récupère les paramètres d\'un club
2845
+ *
2846
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
2726
2847
  * @param {*} [options] Override http request option.
2727
2848
  * @throws {RequiredError}
2728
2849
  */
2729
- getClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2730
- const localVarPath = `/api/club-settings`;
2850
+ updateHoursSettings: (updateClubHoursSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubHoursSettingsRequest_1, ...args_1], void 0, function* (updateClubHoursSettingsRequest, options = {}) {
2851
+ // verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
2852
+ assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest);
2853
+ const localVarPath = `/api/club-settings/hours`;
2731
2854
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2732
2855
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2733
2856
  let baseOptions;
2734
2857
  if (configuration) {
2735
2858
  baseOptions = configuration.baseOptions;
2736
2859
  }
2737
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2860
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2738
2861
  const localVarHeaderParameter = {};
2739
2862
  const localVarQueryParameter = {};
2740
2863
  // authentication bearerAuth required
2741
2864
  // http bearer authentication required
2742
2865
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2866
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2743
2867
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2744
2868
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2745
2869
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2870
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration);
2746
2871
  return {
2747
2872
  url: toPathString(localVarUrlObj),
2748
2873
  options: localVarRequestOptions,
2749
2874
  };
2750
2875
  }),
2751
2876
  /**
2752
- * Met à jour les paramètres d\'un club
2753
- * @param {UpdateClubSettingsRequest} updateClubSettingsRequest
2877
+ *
2878
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
2754
2879
  * @param {*} [options] Override http request option.
2755
2880
  * @throws {RequiredError}
2756
2881
  */
2757
- updateClubSettings: (updateClubSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubSettingsRequest_1, ...args_1], void 0, function* (updateClubSettingsRequest, options = {}) {
2758
- // verify required parameter 'updateClubSettingsRequest' is not null or undefined
2759
- assertParamExists('updateClubSettings', 'updateClubSettingsRequest', updateClubSettingsRequest);
2760
- const localVarPath = `/api/club-settings`;
2882
+ updateReservationSettings: (updateClubReservationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubReservationSettingsRequest_1, ...args_1], void 0, function* (updateClubReservationSettingsRequest, options = {}) {
2883
+ // verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
2884
+ assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest);
2885
+ const localVarPath = `/api/club-settings/reservation`;
2761
2886
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2762
2887
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2763
2888
  let baseOptions;
@@ -2774,7 +2899,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
2774
2899
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2775
2900
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2776
2901
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2777
- localVarRequestOptions.data = serializeDataIfNeeded(updateClubSettingsRequest, localVarRequestOptions, configuration);
2902
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration);
2778
2903
  return {
2779
2904
  url: toPathString(localVarUrlObj),
2780
2905
  options: localVarRequestOptions,
@@ -2790,61 +2915,62 @@ export const ClubSettingsManagerApiFp = function (configuration) {
2790
2915
  const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration);
2791
2916
  return {
2792
2917
  /**
2793
- * Crée les paramètres d\'un club
2794
- * @param {string} clubId
2795
- * @param {CreateClubSettingsRequest} createClubSettingsRequest
2918
+ *
2919
+ * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
2796
2920
  * @param {*} [options] Override http request option.
2797
2921
  * @throws {RequiredError}
2798
2922
  */
2799
- createClubSettings(clubId, createClubSettingsRequest, options) {
2923
+ updateClubGeneralSettings(updateClubGeneralSettingsRequest, options) {
2800
2924
  return __awaiter(this, void 0, void 0, function* () {
2801
2925
  var _a, _b, _c;
2802
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createClubSettings(clubId, createClubSettingsRequest, options);
2926
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
2803
2927
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2804
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.createClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2928
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2805
2929
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2806
2930
  });
2807
2931
  },
2808
2932
  /**
2809
- * Supprime les paramètres d\'un club
2933
+ * Met à jour les paramètres d\'un club
2934
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
2810
2935
  * @param {*} [options] Override http request option.
2811
2936
  * @throws {RequiredError}
2812
2937
  */
2813
- deleteClubSettings(options) {
2938
+ updateClubSettings(updateClubReservationSettingsRequest, options) {
2814
2939
  return __awaiter(this, void 0, void 0, function* () {
2815
2940
  var _a, _b, _c;
2816
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClubSettings(options);
2941
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubSettings(updateClubReservationSettingsRequest, options);
2817
2942
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2818
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.deleteClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2943
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2819
2944
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2820
2945
  });
2821
2946
  },
2822
2947
  /**
2823
- * Récupère les paramètres d\'un club
2948
+ *
2949
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
2824
2950
  * @param {*} [options] Override http request option.
2825
2951
  * @throws {RequiredError}
2826
2952
  */
2827
- getClubSettings(options) {
2953
+ updateHoursSettings(updateClubHoursSettingsRequest, options) {
2828
2954
  return __awaiter(this, void 0, void 0, function* () {
2829
2955
  var _a, _b, _c;
2830
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(options);
2956
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
2831
2957
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2832
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.getClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2958
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2833
2959
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2834
2960
  });
2835
2961
  },
2836
2962
  /**
2837
- * Met à jour les paramètres d\'un club
2838
- * @param {UpdateClubSettingsRequest} updateClubSettingsRequest
2963
+ *
2964
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
2839
2965
  * @param {*} [options] Override http request option.
2840
2966
  * @throws {RequiredError}
2841
2967
  */
2842
- updateClubSettings(updateClubSettingsRequest, options) {
2968
+ updateReservationSettings(updateClubReservationSettingsRequest, options) {
2843
2969
  return __awaiter(this, void 0, void 0, function* () {
2844
2970
  var _a, _b, _c;
2845
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubSettings(updateClubSettingsRequest, options);
2971
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
2846
2972
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2847
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2973
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2848
2974
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2849
2975
  });
2850
2976
  },
@@ -2858,38 +2984,40 @@ export const ClubSettingsManagerApiFactory = function (configuration, basePath,
2858
2984
  const localVarFp = ClubSettingsManagerApiFp(configuration);
2859
2985
  return {
2860
2986
  /**
2861
- * Crée les paramètres d\'un club
2862
- * @param {ClubSettingsManagerApiCreateClubSettingsRequest} requestParameters Request parameters.
2987
+ *
2988
+ * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
2863
2989
  * @param {*} [options] Override http request option.
2864
2990
  * @throws {RequiredError}
2865
2991
  */
2866
- createClubSettings(requestParameters, options) {
2867
- return localVarFp.createClubSettings(requestParameters.clubId, requestParameters.createClubSettingsRequest, options).then((request) => request(axios, basePath));
2992
+ updateClubGeneralSettings(requestParameters, options) {
2993
+ return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
2868
2994
  },
2869
2995
  /**
2870
- * Supprime les paramètres d\'un club
2996
+ * Met à jour les paramètres d\'un club
2997
+ * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
2871
2998
  * @param {*} [options] Override http request option.
2872
2999
  * @throws {RequiredError}
2873
3000
  */
2874
- deleteClubSettings(options) {
2875
- return localVarFp.deleteClubSettings(options).then((request) => request(axios, basePath));
3001
+ updateClubSettings(requestParameters, options) {
3002
+ return localVarFp.updateClubSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
2876
3003
  },
2877
3004
  /**
2878
- * Récupère les paramètres d\'un club
3005
+ *
3006
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
2879
3007
  * @param {*} [options] Override http request option.
2880
3008
  * @throws {RequiredError}
2881
3009
  */
2882
- getClubSettings(options) {
2883
- return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
3010
+ updateHoursSettings(requestParameters, options) {
3011
+ return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
2884
3012
  },
2885
3013
  /**
2886
- * Met à jour les paramètres d\'un club
2887
- * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
3014
+ *
3015
+ * @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
2888
3016
  * @param {*} [options] Override http request option.
2889
3017
  * @throws {RequiredError}
2890
3018
  */
2891
- updateClubSettings(requestParameters, options) {
2892
- return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
3019
+ updateReservationSettings(requestParameters, options) {
3020
+ return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
2893
3021
  },
2894
3022
  };
2895
3023
  };
@@ -2901,42 +3029,252 @@ export const ClubSettingsManagerApiFactory = function (configuration, basePath,
2901
3029
  */
2902
3030
  export class ClubSettingsManagerApi extends BaseAPI {
2903
3031
  /**
2904
- * Crée les paramètres d\'un club
2905
- * @param {ClubSettingsManagerApiCreateClubSettingsRequest} requestParameters Request parameters.
3032
+ *
3033
+ * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
2906
3034
  * @param {*} [options] Override http request option.
2907
3035
  * @throws {RequiredError}
2908
3036
  * @memberof ClubSettingsManagerApi
2909
3037
  */
2910
- createClubSettings(requestParameters, options) {
2911
- return ClubSettingsManagerApiFp(this.configuration).createClubSettings(requestParameters.clubId, requestParameters.createClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
3038
+ updateClubGeneralSettings(requestParameters, options) {
3039
+ return ClubSettingsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
2912
3040
  }
2913
3041
  /**
2914
- * Supprime les paramètres d\'un club
3042
+ * Met à jour les paramètres d\'un club
3043
+ * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
2915
3044
  * @param {*} [options] Override http request option.
2916
3045
  * @throws {RequiredError}
2917
3046
  * @memberof ClubSettingsManagerApi
2918
3047
  */
2919
- deleteClubSettings(options) {
2920
- return ClubSettingsManagerApiFp(this.configuration).deleteClubSettings(options).then((request) => request(this.axios, this.basePath));
3048
+ updateClubSettings(requestParameters, options) {
3049
+ return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
2921
3050
  }
2922
3051
  /**
2923
- * Récupère les paramètres d\'un club
3052
+ *
3053
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
2924
3054
  * @param {*} [options] Override http request option.
2925
3055
  * @throws {RequiredError}
2926
3056
  * @memberof ClubSettingsManagerApi
2927
3057
  */
2928
- getClubSettings(options) {
2929
- return ClubSettingsManagerApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
3058
+ updateHoursSettings(requestParameters, options) {
3059
+ return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
2930
3060
  }
2931
3061
  /**
2932
- * Met à jour les paramètres d\'un club
2933
- * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
3062
+ *
3063
+ * @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
2934
3064
  * @param {*} [options] Override http request option.
2935
3065
  * @throws {RequiredError}
2936
3066
  * @memberof ClubSettingsManagerApi
2937
3067
  */
2938
- updateClubSettings(requestParameters, options) {
2939
- return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
3068
+ updateReservationSettings(requestParameters, options) {
3069
+ return ClubSettingsManagerApiFp(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
3070
+ }
3071
+ }
3072
+ /**
3073
+ * ClubSettingsStaffApi - axios parameter creator
3074
+ * @export
3075
+ */
3076
+ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
3077
+ return {
3078
+ /**
3079
+ *
3080
+ * @param {*} [options] Override http request option.
3081
+ * @throws {RequiredError}
3082
+ */
3083
+ getClubGeneralSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3084
+ const localVarPath = `/api/club-settings/settings/general`;
3085
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3086
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3087
+ let baseOptions;
3088
+ if (configuration) {
3089
+ baseOptions = configuration.baseOptions;
3090
+ }
3091
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3092
+ const localVarHeaderParameter = {};
3093
+ const localVarQueryParameter = {};
3094
+ // authentication bearerAuth required
3095
+ // http bearer authentication required
3096
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3097
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3098
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3099
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3100
+ return {
3101
+ url: toPathString(localVarUrlObj),
3102
+ options: localVarRequestOptions,
3103
+ };
3104
+ }),
3105
+ /**
3106
+ *
3107
+ * @param {*} [options] Override http request option.
3108
+ * @throws {RequiredError}
3109
+ */
3110
+ getHoursSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3111
+ const localVarPath = `/api/club-settings/hours`;
3112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3114
+ let baseOptions;
3115
+ if (configuration) {
3116
+ baseOptions = configuration.baseOptions;
3117
+ }
3118
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3119
+ const localVarHeaderParameter = {};
3120
+ const localVarQueryParameter = {};
3121
+ // authentication bearerAuth required
3122
+ // http bearer authentication required
3123
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3124
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3125
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3126
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3127
+ return {
3128
+ url: toPathString(localVarUrlObj),
3129
+ options: localVarRequestOptions,
3130
+ };
3131
+ }),
3132
+ /**
3133
+ *
3134
+ * @param {*} [options] Override http request option.
3135
+ * @throws {RequiredError}
3136
+ */
3137
+ getReservationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3138
+ const localVarPath = `/api/club-settings/reservation`;
3139
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3141
+ let baseOptions;
3142
+ if (configuration) {
3143
+ baseOptions = configuration.baseOptions;
3144
+ }
3145
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3146
+ const localVarHeaderParameter = {};
3147
+ const localVarQueryParameter = {};
3148
+ // authentication bearerAuth required
3149
+ // http bearer authentication required
3150
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3151
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3152
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3153
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3154
+ return {
3155
+ url: toPathString(localVarUrlObj),
3156
+ options: localVarRequestOptions,
3157
+ };
3158
+ }),
3159
+ };
3160
+ };
3161
+ /**
3162
+ * ClubSettingsStaffApi - functional programming interface
3163
+ * @export
3164
+ */
3165
+ export const ClubSettingsStaffApiFp = function (configuration) {
3166
+ const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration);
3167
+ return {
3168
+ /**
3169
+ *
3170
+ * @param {*} [options] Override http request option.
3171
+ * @throws {RequiredError}
3172
+ */
3173
+ getClubGeneralSettings(options) {
3174
+ return __awaiter(this, void 0, void 0, function* () {
3175
+ var _a, _b, _c;
3176
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubGeneralSettings(options);
3177
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3178
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3179
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3180
+ });
3181
+ },
3182
+ /**
3183
+ *
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ */
3187
+ getHoursSettings(options) {
3188
+ return __awaiter(this, void 0, void 0, function* () {
3189
+ var _a, _b, _c;
3190
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getHoursSettings(options);
3191
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3192
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3193
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3194
+ });
3195
+ },
3196
+ /**
3197
+ *
3198
+ * @param {*} [options] Override http request option.
3199
+ * @throws {RequiredError}
3200
+ */
3201
+ getReservationSettings(options) {
3202
+ return __awaiter(this, void 0, void 0, function* () {
3203
+ var _a, _b, _c;
3204
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReservationSettings(options);
3205
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3206
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3207
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3208
+ });
3209
+ },
3210
+ };
3211
+ };
3212
+ /**
3213
+ * ClubSettingsStaffApi - factory interface
3214
+ * @export
3215
+ */
3216
+ export const ClubSettingsStaffApiFactory = function (configuration, basePath, axios) {
3217
+ const localVarFp = ClubSettingsStaffApiFp(configuration);
3218
+ return {
3219
+ /**
3220
+ *
3221
+ * @param {*} [options] Override http request option.
3222
+ * @throws {RequiredError}
3223
+ */
3224
+ getClubGeneralSettings(options) {
3225
+ return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
3226
+ },
3227
+ /**
3228
+ *
3229
+ * @param {*} [options] Override http request option.
3230
+ * @throws {RequiredError}
3231
+ */
3232
+ getHoursSettings(options) {
3233
+ return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
3234
+ },
3235
+ /**
3236
+ *
3237
+ * @param {*} [options] Override http request option.
3238
+ * @throws {RequiredError}
3239
+ */
3240
+ getReservationSettings(options) {
3241
+ return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
3242
+ },
3243
+ };
3244
+ };
3245
+ /**
3246
+ * ClubSettingsStaffApi - object-oriented interface
3247
+ * @export
3248
+ * @class ClubSettingsStaffApi
3249
+ * @extends {BaseAPI}
3250
+ */
3251
+ export class ClubSettingsStaffApi extends BaseAPI {
3252
+ /**
3253
+ *
3254
+ * @param {*} [options] Override http request option.
3255
+ * @throws {RequiredError}
3256
+ * @memberof ClubSettingsStaffApi
3257
+ */
3258
+ getClubGeneralSettings(options) {
3259
+ return ClubSettingsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
3260
+ }
3261
+ /**
3262
+ *
3263
+ * @param {*} [options] Override http request option.
3264
+ * @throws {RequiredError}
3265
+ * @memberof ClubSettingsStaffApi
3266
+ */
3267
+ getHoursSettings(options) {
3268
+ return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
3269
+ }
3270
+ /**
3271
+ *
3272
+ * @param {*} [options] Override http request option.
3273
+ * @throws {RequiredError}
3274
+ * @memberof ClubSettingsStaffApi
3275
+ */
3276
+ getReservationSettings(options) {
3277
+ return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
2940
3278
  }
2941
3279
  }
2942
3280
  /**
@@ -4226,6 +4564,38 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
4226
4564
  options: localVarRequestOptions,
4227
4565
  };
4228
4566
  }),
4567
+ /**
4568
+ *
4569
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
4570
+ * @param {*} [options] Override http request option.
4571
+ * @throws {RequiredError}
4572
+ */
4573
+ updateClubPresentationSettings: (updateClubPresentationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubPresentationSettingsRequest_1, ...args_1], void 0, function* (updateClubPresentationSettingsRequest, options = {}) {
4574
+ // verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
4575
+ assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest);
4576
+ const localVarPath = `/api/clubs/settings/presentation`;
4577
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4578
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4579
+ let baseOptions;
4580
+ if (configuration) {
4581
+ baseOptions = configuration.baseOptions;
4582
+ }
4583
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
4584
+ const localVarHeaderParameter = {};
4585
+ const localVarQueryParameter = {};
4586
+ // authentication bearerAuth required
4587
+ // http bearer authentication required
4588
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
4589
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4590
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4591
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4592
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4593
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration);
4594
+ return {
4595
+ url: toPathString(localVarUrlObj),
4596
+ options: localVarRequestOptions,
4597
+ };
4598
+ }),
4229
4599
  /**
4230
4600
  *
4231
4601
  * @param {string} courtId
@@ -4548,6 +4918,21 @@ export const ClubsManagerApiFp = function (configuration) {
4548
4918
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4549
4919
  });
4550
4920
  },
4921
+ /**
4922
+ *
4923
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
4924
+ * @param {*} [options] Override http request option.
4925
+ * @throws {RequiredError}
4926
+ */
4927
+ updateClubPresentationSettings(updateClubPresentationSettingsRequest, options) {
4928
+ return __awaiter(this, void 0, void 0, function* () {
4929
+ var _a, _b, _c;
4930
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
4931
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4932
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4933
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4934
+ });
4935
+ },
4551
4936
  /**
4552
4937
  *
4553
4938
  * @param {string} courtId
@@ -4732,6 +5117,15 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
4732
5117
  updateClubInfos(requestParameters, options) {
4733
5118
  return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
4734
5119
  },
5120
+ /**
5121
+ *
5122
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
5123
+ * @param {*} [options] Override http request option.
5124
+ * @throws {RequiredError}
5125
+ */
5126
+ updateClubPresentationSettings(requestParameters, options) {
5127
+ return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
5128
+ },
4735
5129
  /**
4736
5130
  *
4737
5131
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -4918,6 +5312,16 @@ export class ClubsManagerApi extends BaseAPI {
4918
5312
  updateClubInfos(requestParameters, options) {
4919
5313
  return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
4920
5314
  }
5315
+ /**
5316
+ *
5317
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
5318
+ * @param {*} [options] Override http request option.
5319
+ * @throws {RequiredError}
5320
+ * @memberof ClubsManagerApi
5321
+ */
5322
+ updateClubPresentationSettings(requestParameters, options) {
5323
+ return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
5324
+ }
4921
5325
  /**
4922
5326
  *
4923
5327
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -4950,8 +5354,35 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
4950
5354
  * @param {*} [options] Override http request option.
4951
5355
  * @throws {RequiredError}
4952
5356
  */
4953
- getActualities: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4954
- const localVarPath = `/api/clubs/staff/actualities`;
5357
+ getActualities: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5358
+ const localVarPath = `/api/clubs/staff/actualities`;
5359
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5360
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5361
+ let baseOptions;
5362
+ if (configuration) {
5363
+ baseOptions = configuration.baseOptions;
5364
+ }
5365
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5366
+ const localVarHeaderParameter = {};
5367
+ const localVarQueryParameter = {};
5368
+ // authentication bearerAuth required
5369
+ // http bearer authentication required
5370
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
5371
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5372
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5373
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5374
+ return {
5375
+ url: toPathString(localVarUrlObj),
5376
+ options: localVarRequestOptions,
5377
+ };
5378
+ }),
5379
+ /**
5380
+ *
5381
+ * @param {*} [options] Override http request option.
5382
+ * @throws {RequiredError}
5383
+ */
5384
+ getClubInfos: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5385
+ const localVarPath = `/api/clubs/infos`;
4955
5386
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4956
5387
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4957
5388
  let baseOptions;
@@ -4973,12 +5404,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
4973
5404
  };
4974
5405
  }),
4975
5406
  /**
4976
- *
5407
+ * Récupère les membres d\'un club
4977
5408
  * @param {*} [options] Override http request option.
4978
5409
  * @throws {RequiredError}
4979
5410
  */
4980
- getClubInfos: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4981
- const localVarPath = `/api/clubs/infos`;
5411
+ getClubMembers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5412
+ const localVarPath = `/api/clubs/members`;
4982
5413
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4983
5414
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4984
5415
  let baseOptions;
@@ -5000,12 +5431,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
5000
5431
  };
5001
5432
  }),
5002
5433
  /**
5003
- * Récupère les membres d\'un club
5434
+ *
5004
5435
  * @param {*} [options] Override http request option.
5005
5436
  * @throws {RequiredError}
5006
5437
  */
5007
- getClubMembers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5008
- const localVarPath = `/api/clubs/members`;
5438
+ getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5439
+ const localVarPath = `/api/clubs/settings/presentation`;
5009
5440
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5010
5441
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5011
5442
  let baseOptions;
@@ -5189,6 +5620,20 @@ export const ClubsStaffApiFp = function (configuration) {
5189
5620
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5190
5621
  });
5191
5622
  },
5623
+ /**
5624
+ *
5625
+ * @param {*} [options] Override http request option.
5626
+ * @throws {RequiredError}
5627
+ */
5628
+ getClubPresentationSettings(options) {
5629
+ return __awaiter(this, void 0, void 0, function* () {
5630
+ var _a, _b, _c;
5631
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPresentationSettings(options);
5632
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5633
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5634
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5635
+ });
5636
+ },
5192
5637
  /**
5193
5638
  * Récupère les rôles d\'un club
5194
5639
  * @param {*} [options] Override http request option.
@@ -5279,6 +5724,14 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
5279
5724
  getClubMembers(options) {
5280
5725
  return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
5281
5726
  },
5727
+ /**
5728
+ *
5729
+ * @param {*} [options] Override http request option.
5730
+ * @throws {RequiredError}
5731
+ */
5732
+ getClubPresentationSettings(options) {
5733
+ return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
5734
+ },
5282
5735
  /**
5283
5736
  * Récupère les rôles d\'un club
5284
5737
  * @param {*} [options] Override http request option.
@@ -5348,6 +5801,15 @@ export class ClubsStaffApi extends BaseAPI {
5348
5801
  getClubMembers(options) {
5349
5802
  return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
5350
5803
  }
5804
+ /**
5805
+ *
5806
+ * @param {*} [options] Override http request option.
5807
+ * @throws {RequiredError}
5808
+ * @memberof ClubsStaffApi
5809
+ */
5810
+ getClubPresentationSettings(options) {
5811
+ return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
5812
+ }
5351
5813
  /**
5352
5814
  * Récupère les rôles d\'un club
5353
5815
  * @param {*} [options] Override http request option.
@@ -6501,95 +6963,6 @@ export class SportsManagerApi extends BaseAPI {
6501
6963
  return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
6502
6964
  }
6503
6965
  }
6504
- /**
6505
- * SportsPublicApi - axios parameter creator
6506
- * @export
6507
- */
6508
- export const SportsPublicApiAxiosParamCreator = function (configuration) {
6509
- return {
6510
- /**
6511
- * Récupère tous les sports vérifiés, accessibles publiquement
6512
- * @param {*} [options] Override http request option.
6513
- * @throws {RequiredError}
6514
- */
6515
- getVerifiedSports: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6516
- const localVarPath = `/api/sports/verified`;
6517
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6518
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6519
- let baseOptions;
6520
- if (configuration) {
6521
- baseOptions = configuration.baseOptions;
6522
- }
6523
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6524
- const localVarHeaderParameter = {};
6525
- const localVarQueryParameter = {};
6526
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6527
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6528
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6529
- return {
6530
- url: toPathString(localVarUrlObj),
6531
- options: localVarRequestOptions,
6532
- };
6533
- }),
6534
- };
6535
- };
6536
- /**
6537
- * SportsPublicApi - functional programming interface
6538
- * @export
6539
- */
6540
- export const SportsPublicApiFp = function (configuration) {
6541
- const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration);
6542
- return {
6543
- /**
6544
- * Récupère tous les sports vérifiés, accessibles publiquement
6545
- * @param {*} [options] Override http request option.
6546
- * @throws {RequiredError}
6547
- */
6548
- getVerifiedSports(options) {
6549
- return __awaiter(this, void 0, void 0, function* () {
6550
- var _a, _b, _c;
6551
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getVerifiedSports(options);
6552
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6553
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SportsPublicApi.getVerifiedSports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6554
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6555
- });
6556
- },
6557
- };
6558
- };
6559
- /**
6560
- * SportsPublicApi - factory interface
6561
- * @export
6562
- */
6563
- export const SportsPublicApiFactory = function (configuration, basePath, axios) {
6564
- const localVarFp = SportsPublicApiFp(configuration);
6565
- return {
6566
- /**
6567
- * Récupère tous les sports vérifiés, accessibles publiquement
6568
- * @param {*} [options] Override http request option.
6569
- * @throws {RequiredError}
6570
- */
6571
- getVerifiedSports(options) {
6572
- return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
6573
- },
6574
- };
6575
- };
6576
- /**
6577
- * SportsPublicApi - object-oriented interface
6578
- * @export
6579
- * @class SportsPublicApi
6580
- * @extends {BaseAPI}
6581
- */
6582
- export class SportsPublicApi extends BaseAPI {
6583
- /**
6584
- * Récupère tous les sports vérifiés, accessibles publiquement
6585
- * @param {*} [options] Override http request option.
6586
- * @throws {RequiredError}
6587
- * @memberof SportsPublicApi
6588
- */
6589
- getVerifiedSports(options) {
6590
- return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
6591
- }
6592
- }
6593
6966
  /**
6594
6967
  * SportsStaffApi - axios parameter creator
6595
6968
  * @export
@@ -7501,6 +7874,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7501
7874
  options: localVarRequestOptions,
7502
7875
  };
7503
7876
  }),
7877
+ /**
7878
+ *
7879
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
7880
+ * @param {*} [options] Override http request option.
7881
+ * @throws {RequiredError}
7882
+ */
7883
+ addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
7884
+ // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
7885
+ assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
7886
+ const localVarPath = `/api/users/addPaymentMethodSetup`;
7887
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7888
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7889
+ let baseOptions;
7890
+ if (configuration) {
7891
+ baseOptions = configuration.baseOptions;
7892
+ }
7893
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7894
+ const localVarHeaderParameter = {};
7895
+ const localVarQueryParameter = {};
7896
+ // authentication bearerAuth required
7897
+ // http bearer authentication required
7898
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7899
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7900
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7901
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7902
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7903
+ localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
7904
+ return {
7905
+ url: toPathString(localVarUrlObj),
7906
+ options: localVarRequestOptions,
7907
+ };
7908
+ }),
7504
7909
  /**
7505
7910
  *
7506
7911
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -7533,6 +7938,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7533
7938
  options: localVarRequestOptions,
7534
7939
  };
7535
7940
  }),
7941
+ /**
7942
+ *
7943
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
7944
+ * @param {*} [options] Override http request option.
7945
+ * @throws {RequiredError}
7946
+ */
7947
+ confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
7948
+ // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
7949
+ assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
7950
+ const localVarPath = `/api/users/confirmPaymentMethodSetup`;
7951
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7952
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7953
+ let baseOptions;
7954
+ if (configuration) {
7955
+ baseOptions = configuration.baseOptions;
7956
+ }
7957
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7958
+ const localVarHeaderParameter = {};
7959
+ const localVarQueryParameter = {};
7960
+ // authentication bearerAuth required
7961
+ // http bearer authentication required
7962
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7963
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7964
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7965
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7966
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7967
+ localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
7968
+ return {
7969
+ url: toPathString(localVarUrlObj),
7970
+ options: localVarRequestOptions,
7971
+ };
7972
+ }),
7536
7973
  /**
7537
7974
  *
7538
7975
  * @param {*} [options] Override http request option.
@@ -8302,6 +8739,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
8302
8739
  options: localVarRequestOptions,
8303
8740
  };
8304
8741
  }),
8742
+ /**
8743
+ *
8744
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
8745
+ * @param {*} [options] Override http request option.
8746
+ * @throws {RequiredError}
8747
+ */
8748
+ setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
8749
+ // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
8750
+ assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
8751
+ const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
8752
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8753
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8754
+ let baseOptions;
8755
+ if (configuration) {
8756
+ baseOptions = configuration.baseOptions;
8757
+ }
8758
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8759
+ const localVarHeaderParameter = {};
8760
+ const localVarQueryParameter = {};
8761
+ // authentication bearerAuth required
8762
+ // http bearer authentication required
8763
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8764
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8765
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8766
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8767
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8768
+ localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
8769
+ return {
8770
+ url: toPathString(localVarUrlObj),
8771
+ options: localVarRequestOptions,
8772
+ };
8773
+ }),
8305
8774
  /**
8306
8775
  *
8307
8776
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -8571,6 +9040,21 @@ export const UsersApiFp = function (configuration) {
8571
9040
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8572
9041
  });
8573
9042
  },
9043
+ /**
9044
+ *
9045
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
9046
+ * @param {*} [options] Override http request option.
9047
+ * @throws {RequiredError}
9048
+ */
9049
+ addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
9050
+ return __awaiter(this, void 0, void 0, function* () {
9051
+ var _a, _b, _c;
9052
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
9053
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9054
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9055
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9056
+ });
9057
+ },
8574
9058
  /**
8575
9059
  *
8576
9060
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -8586,6 +9070,21 @@ export const UsersApiFp = function (configuration) {
8586
9070
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8587
9071
  });
8588
9072
  },
9073
+ /**
9074
+ *
9075
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
9076
+ * @param {*} [options] Override http request option.
9077
+ * @throws {RequiredError}
9078
+ */
9079
+ confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
9080
+ return __awaiter(this, void 0, void 0, function* () {
9081
+ var _a, _b, _c;
9082
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
9083
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9084
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9085
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9086
+ });
9087
+ },
8589
9088
  /**
8590
9089
  *
8591
9090
  * @param {*} [options] Override http request option.
@@ -8956,6 +9455,21 @@ export const UsersApiFp = function (configuration) {
8956
9455
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8957
9456
  });
8958
9457
  },
9458
+ /**
9459
+ *
9460
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
9461
+ * @param {*} [options] Override http request option.
9462
+ * @throws {RequiredError}
9463
+ */
9464
+ setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
9465
+ return __awaiter(this, void 0, void 0, function* () {
9466
+ var _a, _b, _c;
9467
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
9468
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9469
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9470
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9471
+ });
9472
+ },
8959
9473
  /**
8960
9474
  *
8961
9475
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -9097,6 +9611,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9097
9611
  addOrganization(requestParameters, options) {
9098
9612
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
9099
9613
  },
9614
+ /**
9615
+ *
9616
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9617
+ * @param {*} [options] Override http request option.
9618
+ * @throws {RequiredError}
9619
+ */
9620
+ addPaymentMethodSetup(requestParameters, options) {
9621
+ return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9622
+ },
9100
9623
  /**
9101
9624
  *
9102
9625
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9106,6 +9629,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9106
9629
  changePassword(requestParameters, options) {
9107
9630
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
9108
9631
  },
9632
+ /**
9633
+ *
9634
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9635
+ * @param {*} [options] Override http request option.
9636
+ * @throws {RequiredError}
9637
+ */
9638
+ confirmPaymentMethodSetup(requestParameters, options) {
9639
+ return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9640
+ },
9109
9641
  /**
9110
9642
  *
9111
9643
  * @param {*} [options] Override http request option.
@@ -9314,6 +9846,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9314
9846
  resetPassword(requestParameters, options) {
9315
9847
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
9316
9848
  },
9849
+ /**
9850
+ *
9851
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9852
+ * @param {*} [options] Override http request option.
9853
+ * @throws {RequiredError}
9854
+ */
9855
+ setupOffSessionPaymentMethod(requestParameters, options) {
9856
+ return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9857
+ },
9317
9858
  /**
9318
9859
  *
9319
9860
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -9416,6 +9957,16 @@ export class UsersApi extends BaseAPI {
9416
9957
  addOrganization(requestParameters, options) {
9417
9958
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9418
9959
  }
9960
+ /**
9961
+ *
9962
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9963
+ * @param {*} [options] Override http request option.
9964
+ * @throws {RequiredError}
9965
+ * @memberof UsersApi
9966
+ */
9967
+ addPaymentMethodSetup(requestParameters, options) {
9968
+ return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9969
+ }
9419
9970
  /**
9420
9971
  *
9421
9972
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9426,6 +9977,16 @@ export class UsersApi extends BaseAPI {
9426
9977
  changePassword(requestParameters, options) {
9427
9978
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
9428
9979
  }
9980
+ /**
9981
+ *
9982
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9983
+ * @param {*} [options] Override http request option.
9984
+ * @throws {RequiredError}
9985
+ * @memberof UsersApi
9986
+ */
9987
+ confirmPaymentMethodSetup(requestParameters, options) {
9988
+ return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9989
+ }
9429
9990
  /**
9430
9991
  *
9431
9992
  * @param {*} [options] Override http request option.
@@ -9658,6 +10219,16 @@ export class UsersApi extends BaseAPI {
9658
10219
  resetPassword(requestParameters, options) {
9659
10220
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
9660
10221
  }
10222
+ /**
10223
+ *
10224
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
10225
+ * @param {*} [options] Override http request option.
10226
+ * @throws {RequiredError}
10227
+ * @memberof UsersApi
10228
+ */
10229
+ setupOffSessionPaymentMethod(requestParameters, options) {
10230
+ return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
10231
+ }
9661
10232
  /**
9662
10233
  *
9663
10234
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.