@tennac-booking/sdk 1.0.86 → 1.0.88

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 +49 -26
  3. package/api.ts +2623 -1424
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2072 -1280
  8. package/dist/api.js +920 -291
  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 +2072 -1280
  16. package/dist/esm/api.js +913 -284
  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 -60
  55. package/docs/ClubSettingsStaffApi.md +183 -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,76 +2803,86 @@ 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
+ *
2814
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
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 = {}) {
2703
- const localVarPath = `/api/club-settings`;
2818
+ updateHoursSettings: (updateClubHoursSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubHoursSettingsRequest_1, ...args_1], void 0, function* (updateClubHoursSettingsRequest, options = {}) {
2819
+ // verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
2820
+ assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest);
2821
+ const localVarPath = `/api/club-settings/hours`;
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);
2706
2824
  let baseOptions;
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(updateClubHoursSettingsRequest, 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 {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
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
+ updatePresentationSettings: (clubPresentationSettingsResponse_1, ...args_1) => __awaiter(this, [clubPresentationSettingsResponse_1, ...args_1], void 0, function* (clubPresentationSettingsResponse, options = {}) {
2851
+ // verify required parameter 'clubPresentationSettingsResponse' is not null or undefined
2852
+ assertParamExists('updatePresentationSettings', 'clubPresentationSettingsResponse', clubPresentationSettingsResponse);
2853
+ const localVarPath = `/api/club-settings/presentation`;
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(clubPresentationSettingsResponse, 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
+ *
2934
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
2810
2935
  * @param {*} [options] Override http request option.
2811
2936
  * @throws {RequiredError}
2812
2937
  */
2813
- deleteClubSettings(options) {
2938
+ updateHoursSettings(updateClubHoursSettingsRequest, 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.updateHoursSettings(updateClubHoursSettingsRequest, 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.updateHoursSettings']) === 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 {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
2824
2950
  * @param {*} [options] Override http request option.
2825
2951
  * @throws {RequiredError}
2826
2952
  */
2827
- getClubSettings(options) {
2953
+ updatePresentationSettings(clubPresentationSettingsResponse, 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.updatePresentationSettings(clubPresentationSettingsResponse, 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.updatePresentationSettings']) === 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
+ *
2997
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} 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
+ updateHoursSettings(requestParameters, options) {
3002
+ return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
2876
3003
  },
2877
3004
  /**
2878
- * Récupère les paramètres d\'un club
3005
+ *
3006
+ * @param {ClubSettingsManagerApiUpdatePresentationSettingsRequest} 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
+ updatePresentationSettings(requestParameters, options) {
3011
+ return localVarFp.updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, 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,57 +3029,59 @@ 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
+ *
3043
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} 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
+ updateHoursSettings(requestParameters, options) {
3049
+ return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, 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 {ClubSettingsManagerApiUpdatePresentationSettingsRequest} 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
+ updatePresentationSettings(requestParameters, options) {
3059
+ return ClubSettingsManagerApiFp(this.configuration).updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, 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));
2940
3070
  }
2941
3071
  }
2942
3072
  /**
2943
- * ClubsApi - axios parameter creator
3073
+ * ClubSettingsStaffApi - axios parameter creator
2944
3074
  * @export
2945
3075
  */
2946
- export const ClubsApiAxiosParamCreator = function (configuration) {
3076
+ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
2947
3077
  return {
2948
3078
  /**
2949
- * Récupère la liste des clubs actifs
3079
+ *
2950
3080
  * @param {*} [options] Override http request option.
2951
3081
  * @throws {RequiredError}
2952
3082
  */
2953
- getActiveClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2954
- const localVarPath = `/api/clubs/active`;
3083
+ getClubGeneralSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3084
+ const localVarPath = `/api/club-settings/settings/general`;
2955
3085
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2956
3086
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2957
3087
  let baseOptions;
@@ -2961,6 +3091,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
2961
3091
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2962
3092
  const localVarHeaderParameter = {};
2963
3093
  const localVarQueryParameter = {};
3094
+ // authentication bearerAuth required
3095
+ // http bearer authentication required
3096
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2964
3097
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2965
3098
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2966
3099
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2970,12 +3103,12 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
2970
3103
  };
2971
3104
  }),
2972
3105
  /**
2973
- * Récupère la liste de tous les clubs
3106
+ *
2974
3107
  * @param {*} [options] Override http request option.
2975
3108
  * @throws {RequiredError}
2976
3109
  */
2977
- getAllClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2978
- const localVarPath = `/api/clubs`;
3110
+ getHoursSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3111
+ const localVarPath = `/api/club-settings/hours`;
2979
3112
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2980
3113
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2981
3114
  let baseOptions;
@@ -2985,6 +3118,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
2985
3118
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2986
3119
  const localVarHeaderParameter = {};
2987
3120
  const localVarQueryParameter = {};
3121
+ // authentication bearerAuth required
3122
+ // http bearer authentication required
3123
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2988
3124
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2989
3125
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2990
3126
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2995,15 +3131,11 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
2995
3131
  }),
2996
3132
  /**
2997
3133
  *
2998
- * @param {string} clubID
2999
3134
  * @param {*} [options] Override http request option.
3000
3135
  * @throws {RequiredError}
3001
3136
  */
3002
- getAvailableSlotsByClubById: (clubID_1, ...args_1) => __awaiter(this, [clubID_1, ...args_1], void 0, function* (clubID, options = {}) {
3003
- // verify required parameter 'clubID' is not null or undefined
3004
- assertParamExists('getAvailableSlotsByClubById', 'clubID', clubID);
3005
- const localVarPath = `/api/clubs/{clubID}/availableSlots`
3006
- .replace(`{${"clubID"}}`, encodeURIComponent(String(clubID)));
3137
+ getPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3138
+ const localVarPath = `/api/club-settings/presentation`;
3007
3139
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3008
3140
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3009
3141
  let baseOptions;
@@ -3013,6 +3145,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
3013
3145
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3014
3146
  const localVarHeaderParameter = {};
3015
3147
  const localVarQueryParameter = {};
3148
+ // authentication bearerAuth required
3149
+ // http bearer authentication required
3150
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3016
3151
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3017
3152
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3018
3153
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3023,15 +3158,276 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
3023
3158
  }),
3024
3159
  /**
3025
3160
  *
3026
- * @param {string} id
3027
- * @param {string} sportId
3028
3161
  * @param {*} [options] Override http request option.
3029
3162
  * @throws {RequiredError}
3030
3163
  */
3031
- getAvailableSlotsBySports: (id_1, sportId_1, ...args_1) => __awaiter(this, [id_1, sportId_1, ...args_1], void 0, function* (id, sportId, options = {}) {
3032
- // verify required parameter 'id' is not null or undefined
3033
- assertParamExists('getAvailableSlotsBySports', 'id', id);
3034
- // verify required parameter 'sportId' is not null or undefined
3164
+ getReservationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3165
+ const localVarPath = `/api/club-settings/reservation`;
3166
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3167
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3168
+ let baseOptions;
3169
+ if (configuration) {
3170
+ baseOptions = configuration.baseOptions;
3171
+ }
3172
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3173
+ const localVarHeaderParameter = {};
3174
+ const localVarQueryParameter = {};
3175
+ // authentication bearerAuth required
3176
+ // http bearer authentication required
3177
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3180
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3181
+ return {
3182
+ url: toPathString(localVarUrlObj),
3183
+ options: localVarRequestOptions,
3184
+ };
3185
+ }),
3186
+ };
3187
+ };
3188
+ /**
3189
+ * ClubSettingsStaffApi - functional programming interface
3190
+ * @export
3191
+ */
3192
+ export const ClubSettingsStaffApiFp = function (configuration) {
3193
+ const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration);
3194
+ return {
3195
+ /**
3196
+ *
3197
+ * @param {*} [options] Override http request option.
3198
+ * @throws {RequiredError}
3199
+ */
3200
+ getClubGeneralSettings(options) {
3201
+ return __awaiter(this, void 0, void 0, function* () {
3202
+ var _a, _b, _c;
3203
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubGeneralSettings(options);
3204
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3205
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3206
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3207
+ });
3208
+ },
3209
+ /**
3210
+ *
3211
+ * @param {*} [options] Override http request option.
3212
+ * @throws {RequiredError}
3213
+ */
3214
+ getHoursSettings(options) {
3215
+ return __awaiter(this, void 0, void 0, function* () {
3216
+ var _a, _b, _c;
3217
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getHoursSettings(options);
3218
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3219
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3221
+ });
3222
+ },
3223
+ /**
3224
+ *
3225
+ * @param {*} [options] Override http request option.
3226
+ * @throws {RequiredError}
3227
+ */
3228
+ getPresentationSettings(options) {
3229
+ return __awaiter(this, void 0, void 0, function* () {
3230
+ var _a, _b, _c;
3231
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPresentationSettings(options);
3232
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3233
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3234
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3235
+ });
3236
+ },
3237
+ /**
3238
+ *
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ */
3242
+ getReservationSettings(options) {
3243
+ return __awaiter(this, void 0, void 0, function* () {
3244
+ var _a, _b, _c;
3245
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReservationSettings(options);
3246
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3247
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3248
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3249
+ });
3250
+ },
3251
+ };
3252
+ };
3253
+ /**
3254
+ * ClubSettingsStaffApi - factory interface
3255
+ * @export
3256
+ */
3257
+ export const ClubSettingsStaffApiFactory = function (configuration, basePath, axios) {
3258
+ const localVarFp = ClubSettingsStaffApiFp(configuration);
3259
+ return {
3260
+ /**
3261
+ *
3262
+ * @param {*} [options] Override http request option.
3263
+ * @throws {RequiredError}
3264
+ */
3265
+ getClubGeneralSettings(options) {
3266
+ return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
3267
+ },
3268
+ /**
3269
+ *
3270
+ * @param {*} [options] Override http request option.
3271
+ * @throws {RequiredError}
3272
+ */
3273
+ getHoursSettings(options) {
3274
+ return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
3275
+ },
3276
+ /**
3277
+ *
3278
+ * @param {*} [options] Override http request option.
3279
+ * @throws {RequiredError}
3280
+ */
3281
+ getPresentationSettings(options) {
3282
+ return localVarFp.getPresentationSettings(options).then((request) => request(axios, basePath));
3283
+ },
3284
+ /**
3285
+ *
3286
+ * @param {*} [options] Override http request option.
3287
+ * @throws {RequiredError}
3288
+ */
3289
+ getReservationSettings(options) {
3290
+ return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
3291
+ },
3292
+ };
3293
+ };
3294
+ /**
3295
+ * ClubSettingsStaffApi - object-oriented interface
3296
+ * @export
3297
+ * @class ClubSettingsStaffApi
3298
+ * @extends {BaseAPI}
3299
+ */
3300
+ export class ClubSettingsStaffApi extends BaseAPI {
3301
+ /**
3302
+ *
3303
+ * @param {*} [options] Override http request option.
3304
+ * @throws {RequiredError}
3305
+ * @memberof ClubSettingsStaffApi
3306
+ */
3307
+ getClubGeneralSettings(options) {
3308
+ return ClubSettingsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
3309
+ }
3310
+ /**
3311
+ *
3312
+ * @param {*} [options] Override http request option.
3313
+ * @throws {RequiredError}
3314
+ * @memberof ClubSettingsStaffApi
3315
+ */
3316
+ getHoursSettings(options) {
3317
+ return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
3318
+ }
3319
+ /**
3320
+ *
3321
+ * @param {*} [options] Override http request option.
3322
+ * @throws {RequiredError}
3323
+ * @memberof ClubSettingsStaffApi
3324
+ */
3325
+ getPresentationSettings(options) {
3326
+ return ClubSettingsStaffApiFp(this.configuration).getPresentationSettings(options).then((request) => request(this.axios, this.basePath));
3327
+ }
3328
+ /**
3329
+ *
3330
+ * @param {*} [options] Override http request option.
3331
+ * @throws {RequiredError}
3332
+ * @memberof ClubSettingsStaffApi
3333
+ */
3334
+ getReservationSettings(options) {
3335
+ return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
3336
+ }
3337
+ }
3338
+ /**
3339
+ * ClubsApi - axios parameter creator
3340
+ * @export
3341
+ */
3342
+ export const ClubsApiAxiosParamCreator = function (configuration) {
3343
+ return {
3344
+ /**
3345
+ * Récupère la liste des clubs actifs
3346
+ * @param {*} [options] Override http request option.
3347
+ * @throws {RequiredError}
3348
+ */
3349
+ getActiveClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3350
+ const localVarPath = `/api/clubs/active`;
3351
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3352
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3353
+ let baseOptions;
3354
+ if (configuration) {
3355
+ baseOptions = configuration.baseOptions;
3356
+ }
3357
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3358
+ const localVarHeaderParameter = {};
3359
+ const localVarQueryParameter = {};
3360
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3361
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3362
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3363
+ return {
3364
+ url: toPathString(localVarUrlObj),
3365
+ options: localVarRequestOptions,
3366
+ };
3367
+ }),
3368
+ /**
3369
+ * Récupère la liste de tous les clubs
3370
+ * @param {*} [options] Override http request option.
3371
+ * @throws {RequiredError}
3372
+ */
3373
+ getAllClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3374
+ const localVarPath = `/api/clubs`;
3375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3376
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3377
+ let baseOptions;
3378
+ if (configuration) {
3379
+ baseOptions = configuration.baseOptions;
3380
+ }
3381
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3382
+ const localVarHeaderParameter = {};
3383
+ const localVarQueryParameter = {};
3384
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3385
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3386
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3387
+ return {
3388
+ url: toPathString(localVarUrlObj),
3389
+ options: localVarRequestOptions,
3390
+ };
3391
+ }),
3392
+ /**
3393
+ *
3394
+ * @param {string} clubID
3395
+ * @param {*} [options] Override http request option.
3396
+ * @throws {RequiredError}
3397
+ */
3398
+ getAvailableSlotsByClubById: (clubID_1, ...args_1) => __awaiter(this, [clubID_1, ...args_1], void 0, function* (clubID, options = {}) {
3399
+ // verify required parameter 'clubID' is not null or undefined
3400
+ assertParamExists('getAvailableSlotsByClubById', 'clubID', clubID);
3401
+ const localVarPath = `/api/clubs/{clubID}/availableSlots`
3402
+ .replace(`{${"clubID"}}`, encodeURIComponent(String(clubID)));
3403
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3404
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3405
+ let baseOptions;
3406
+ if (configuration) {
3407
+ baseOptions = configuration.baseOptions;
3408
+ }
3409
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3410
+ const localVarHeaderParameter = {};
3411
+ const localVarQueryParameter = {};
3412
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3413
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3414
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3415
+ return {
3416
+ url: toPathString(localVarUrlObj),
3417
+ options: localVarRequestOptions,
3418
+ };
3419
+ }),
3420
+ /**
3421
+ *
3422
+ * @param {string} id
3423
+ * @param {string} sportId
3424
+ * @param {*} [options] Override http request option.
3425
+ * @throws {RequiredError}
3426
+ */
3427
+ getAvailableSlotsBySports: (id_1, sportId_1, ...args_1) => __awaiter(this, [id_1, sportId_1, ...args_1], void 0, function* (id, sportId, options = {}) {
3428
+ // verify required parameter 'id' is not null or undefined
3429
+ assertParamExists('getAvailableSlotsBySports', 'id', id);
3430
+ // verify required parameter 'sportId' is not null or undefined
3035
3431
  assertParamExists('getAvailableSlotsBySports', 'sportId', sportId);
3036
3432
  const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots`
3037
3433
  .replace(`{${"id"}}`, encodeURIComponent(String(id)))
@@ -4226,6 +4622,38 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
4226
4622
  options: localVarRequestOptions,
4227
4623
  };
4228
4624
  }),
4625
+ /**
4626
+ *
4627
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
4628
+ * @param {*} [options] Override http request option.
4629
+ * @throws {RequiredError}
4630
+ */
4631
+ updateClubPresentationSettings: (updateClubPresentationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubPresentationSettingsRequest_1, ...args_1], void 0, function* (updateClubPresentationSettingsRequest, options = {}) {
4632
+ // verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
4633
+ assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest);
4634
+ const localVarPath = `/api/clubs/settings/presentation`;
4635
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4636
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4637
+ let baseOptions;
4638
+ if (configuration) {
4639
+ baseOptions = configuration.baseOptions;
4640
+ }
4641
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
4642
+ const localVarHeaderParameter = {};
4643
+ const localVarQueryParameter = {};
4644
+ // authentication bearerAuth required
4645
+ // http bearer authentication required
4646
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
4647
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4648
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4649
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4650
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4651
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration);
4652
+ return {
4653
+ url: toPathString(localVarUrlObj),
4654
+ options: localVarRequestOptions,
4655
+ };
4656
+ }),
4229
4657
  /**
4230
4658
  *
4231
4659
  * @param {string} courtId
@@ -4548,6 +4976,21 @@ export const ClubsManagerApiFp = function (configuration) {
4548
4976
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4549
4977
  });
4550
4978
  },
4979
+ /**
4980
+ *
4981
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
4982
+ * @param {*} [options] Override http request option.
4983
+ * @throws {RequiredError}
4984
+ */
4985
+ updateClubPresentationSettings(updateClubPresentationSettingsRequest, options) {
4986
+ return __awaiter(this, void 0, void 0, function* () {
4987
+ var _a, _b, _c;
4988
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
4989
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4990
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4991
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4992
+ });
4993
+ },
4551
4994
  /**
4552
4995
  *
4553
4996
  * @param {string} courtId
@@ -4732,6 +5175,15 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
4732
5175
  updateClubInfos(requestParameters, options) {
4733
5176
  return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
4734
5177
  },
5178
+ /**
5179
+ *
5180
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
5181
+ * @param {*} [options] Override http request option.
5182
+ * @throws {RequiredError}
5183
+ */
5184
+ updateClubPresentationSettings(requestParameters, options) {
5185
+ return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
5186
+ },
4735
5187
  /**
4736
5188
  *
4737
5189
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -4918,6 +5370,16 @@ export class ClubsManagerApi extends BaseAPI {
4918
5370
  updateClubInfos(requestParameters, options) {
4919
5371
  return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
4920
5372
  }
5373
+ /**
5374
+ *
5375
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
5376
+ * @param {*} [options] Override http request option.
5377
+ * @throws {RequiredError}
5378
+ * @memberof ClubsManagerApi
5379
+ */
5380
+ updateClubPresentationSettings(requestParameters, options) {
5381
+ return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
5382
+ }
4921
5383
  /**
4922
5384
  *
4923
5385
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -4950,8 +5412,35 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
4950
5412
  * @param {*} [options] Override http request option.
4951
5413
  * @throws {RequiredError}
4952
5414
  */
4953
- getActualities: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4954
- const localVarPath = `/api/clubs/staff/actualities`;
5415
+ getActualities: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5416
+ const localVarPath = `/api/clubs/staff/actualities`;
5417
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5418
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5419
+ let baseOptions;
5420
+ if (configuration) {
5421
+ baseOptions = configuration.baseOptions;
5422
+ }
5423
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5424
+ const localVarHeaderParameter = {};
5425
+ const localVarQueryParameter = {};
5426
+ // authentication bearerAuth required
5427
+ // http bearer authentication required
5428
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
5429
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5430
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5431
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5432
+ return {
5433
+ url: toPathString(localVarUrlObj),
5434
+ options: localVarRequestOptions,
5435
+ };
5436
+ }),
5437
+ /**
5438
+ *
5439
+ * @param {*} [options] Override http request option.
5440
+ * @throws {RequiredError}
5441
+ */
5442
+ getClubInfos: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5443
+ const localVarPath = `/api/clubs/infos`;
4955
5444
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4956
5445
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4957
5446
  let baseOptions;
@@ -4973,12 +5462,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
4973
5462
  };
4974
5463
  }),
4975
5464
  /**
4976
- *
5465
+ * Récupère les membres d\'un club
4977
5466
  * @param {*} [options] Override http request option.
4978
5467
  * @throws {RequiredError}
4979
5468
  */
4980
- getClubInfos: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4981
- const localVarPath = `/api/clubs/infos`;
5469
+ getClubMembers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5470
+ const localVarPath = `/api/clubs/members`;
4982
5471
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4983
5472
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4984
5473
  let baseOptions;
@@ -5000,12 +5489,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
5000
5489
  };
5001
5490
  }),
5002
5491
  /**
5003
- * Récupère les membres d\'un club
5492
+ *
5004
5493
  * @param {*} [options] Override http request option.
5005
5494
  * @throws {RequiredError}
5006
5495
  */
5007
- getClubMembers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5008
- const localVarPath = `/api/clubs/members`;
5496
+ getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5497
+ const localVarPath = `/api/clubs/settings/presentation`;
5009
5498
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5010
5499
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5011
5500
  let baseOptions;
@@ -5189,6 +5678,20 @@ export const ClubsStaffApiFp = function (configuration) {
5189
5678
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5190
5679
  });
5191
5680
  },
5681
+ /**
5682
+ *
5683
+ * @param {*} [options] Override http request option.
5684
+ * @throws {RequiredError}
5685
+ */
5686
+ getClubPresentationSettings(options) {
5687
+ return __awaiter(this, void 0, void 0, function* () {
5688
+ var _a, _b, _c;
5689
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPresentationSettings(options);
5690
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5691
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5692
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5693
+ });
5694
+ },
5192
5695
  /**
5193
5696
  * Récupère les rôles d\'un club
5194
5697
  * @param {*} [options] Override http request option.
@@ -5279,6 +5782,14 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
5279
5782
  getClubMembers(options) {
5280
5783
  return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
5281
5784
  },
5785
+ /**
5786
+ *
5787
+ * @param {*} [options] Override http request option.
5788
+ * @throws {RequiredError}
5789
+ */
5790
+ getClubPresentationSettings(options) {
5791
+ return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
5792
+ },
5282
5793
  /**
5283
5794
  * Récupère les rôles d\'un club
5284
5795
  * @param {*} [options] Override http request option.
@@ -5348,6 +5859,15 @@ export class ClubsStaffApi extends BaseAPI {
5348
5859
  getClubMembers(options) {
5349
5860
  return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
5350
5861
  }
5862
+ /**
5863
+ *
5864
+ * @param {*} [options] Override http request option.
5865
+ * @throws {RequiredError}
5866
+ * @memberof ClubsStaffApi
5867
+ */
5868
+ getClubPresentationSettings(options) {
5869
+ return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
5870
+ }
5351
5871
  /**
5352
5872
  * Récupère les rôles d\'un club
5353
5873
  * @param {*} [options] Override http request option.
@@ -6501,95 +7021,6 @@ export class SportsManagerApi extends BaseAPI {
6501
7021
  return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
6502
7022
  }
6503
7023
  }
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
7024
  /**
6594
7025
  * SportsStaffApi - axios parameter creator
6595
7026
  * @export
@@ -7501,6 +7932,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7501
7932
  options: localVarRequestOptions,
7502
7933
  };
7503
7934
  }),
7935
+ /**
7936
+ *
7937
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
7938
+ * @param {*} [options] Override http request option.
7939
+ * @throws {RequiredError}
7940
+ */
7941
+ addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
7942
+ // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
7943
+ assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
7944
+ const localVarPath = `/api/users/addPaymentMethodSetup`;
7945
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7946
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7947
+ let baseOptions;
7948
+ if (configuration) {
7949
+ baseOptions = configuration.baseOptions;
7950
+ }
7951
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7952
+ const localVarHeaderParameter = {};
7953
+ const localVarQueryParameter = {};
7954
+ // authentication bearerAuth required
7955
+ // http bearer authentication required
7956
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7957
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7958
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7959
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7960
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7961
+ localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
7962
+ return {
7963
+ url: toPathString(localVarUrlObj),
7964
+ options: localVarRequestOptions,
7965
+ };
7966
+ }),
7504
7967
  /**
7505
7968
  *
7506
7969
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -7533,6 +7996,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7533
7996
  options: localVarRequestOptions,
7534
7997
  };
7535
7998
  }),
7999
+ /**
8000
+ *
8001
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
8002
+ * @param {*} [options] Override http request option.
8003
+ * @throws {RequiredError}
8004
+ */
8005
+ confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
8006
+ // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
8007
+ assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
8008
+ const localVarPath = `/api/users/confirmPaymentMethodSetup`;
8009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8010
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8011
+ let baseOptions;
8012
+ if (configuration) {
8013
+ baseOptions = configuration.baseOptions;
8014
+ }
8015
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8016
+ const localVarHeaderParameter = {};
8017
+ const localVarQueryParameter = {};
8018
+ // authentication bearerAuth required
8019
+ // http bearer authentication required
8020
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8021
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8022
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8023
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8024
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8025
+ localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
8026
+ return {
8027
+ url: toPathString(localVarUrlObj),
8028
+ options: localVarRequestOptions,
8029
+ };
8030
+ }),
7536
8031
  /**
7537
8032
  *
7538
8033
  * @param {*} [options] Override http request option.
@@ -8302,6 +8797,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
8302
8797
  options: localVarRequestOptions,
8303
8798
  };
8304
8799
  }),
8800
+ /**
8801
+ *
8802
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
8803
+ * @param {*} [options] Override http request option.
8804
+ * @throws {RequiredError}
8805
+ */
8806
+ setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
8807
+ // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
8808
+ assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
8809
+ const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
8810
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8811
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8812
+ let baseOptions;
8813
+ if (configuration) {
8814
+ baseOptions = configuration.baseOptions;
8815
+ }
8816
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8817
+ const localVarHeaderParameter = {};
8818
+ const localVarQueryParameter = {};
8819
+ // authentication bearerAuth required
8820
+ // http bearer authentication required
8821
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8822
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8823
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8824
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8825
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8826
+ localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
8827
+ return {
8828
+ url: toPathString(localVarUrlObj),
8829
+ options: localVarRequestOptions,
8830
+ };
8831
+ }),
8305
8832
  /**
8306
8833
  *
8307
8834
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -8571,6 +9098,21 @@ export const UsersApiFp = function (configuration) {
8571
9098
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8572
9099
  });
8573
9100
  },
9101
+ /**
9102
+ *
9103
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
9104
+ * @param {*} [options] Override http request option.
9105
+ * @throws {RequiredError}
9106
+ */
9107
+ addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
9108
+ return __awaiter(this, void 0, void 0, function* () {
9109
+ var _a, _b, _c;
9110
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
9111
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9112
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9113
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9114
+ });
9115
+ },
8574
9116
  /**
8575
9117
  *
8576
9118
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -8586,6 +9128,21 @@ export const UsersApiFp = function (configuration) {
8586
9128
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8587
9129
  });
8588
9130
  },
9131
+ /**
9132
+ *
9133
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
9134
+ * @param {*} [options] Override http request option.
9135
+ * @throws {RequiredError}
9136
+ */
9137
+ confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
9138
+ return __awaiter(this, void 0, void 0, function* () {
9139
+ var _a, _b, _c;
9140
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
9141
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9142
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9143
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9144
+ });
9145
+ },
8589
9146
  /**
8590
9147
  *
8591
9148
  * @param {*} [options] Override http request option.
@@ -8956,6 +9513,21 @@ export const UsersApiFp = function (configuration) {
8956
9513
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8957
9514
  });
8958
9515
  },
9516
+ /**
9517
+ *
9518
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
9519
+ * @param {*} [options] Override http request option.
9520
+ * @throws {RequiredError}
9521
+ */
9522
+ setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
9523
+ return __awaiter(this, void 0, void 0, function* () {
9524
+ var _a, _b, _c;
9525
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
9526
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9527
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9528
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9529
+ });
9530
+ },
8959
9531
  /**
8960
9532
  *
8961
9533
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -9097,6 +9669,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9097
9669
  addOrganization(requestParameters, options) {
9098
9670
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
9099
9671
  },
9672
+ /**
9673
+ *
9674
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9675
+ * @param {*} [options] Override http request option.
9676
+ * @throws {RequiredError}
9677
+ */
9678
+ addPaymentMethodSetup(requestParameters, options) {
9679
+ return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9680
+ },
9100
9681
  /**
9101
9682
  *
9102
9683
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9106,6 +9687,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9106
9687
  changePassword(requestParameters, options) {
9107
9688
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
9108
9689
  },
9690
+ /**
9691
+ *
9692
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9693
+ * @param {*} [options] Override http request option.
9694
+ * @throws {RequiredError}
9695
+ */
9696
+ confirmPaymentMethodSetup(requestParameters, options) {
9697
+ return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9698
+ },
9109
9699
  /**
9110
9700
  *
9111
9701
  * @param {*} [options] Override http request option.
@@ -9314,6 +9904,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9314
9904
  resetPassword(requestParameters, options) {
9315
9905
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
9316
9906
  },
9907
+ /**
9908
+ *
9909
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9910
+ * @param {*} [options] Override http request option.
9911
+ * @throws {RequiredError}
9912
+ */
9913
+ setupOffSessionPaymentMethod(requestParameters, options) {
9914
+ return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9915
+ },
9317
9916
  /**
9318
9917
  *
9319
9918
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -9416,6 +10015,16 @@ export class UsersApi extends BaseAPI {
9416
10015
  addOrganization(requestParameters, options) {
9417
10016
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9418
10017
  }
10018
+ /**
10019
+ *
10020
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
10021
+ * @param {*} [options] Override http request option.
10022
+ * @throws {RequiredError}
10023
+ * @memberof UsersApi
10024
+ */
10025
+ addPaymentMethodSetup(requestParameters, options) {
10026
+ return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
10027
+ }
9419
10028
  /**
9420
10029
  *
9421
10030
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9426,6 +10035,16 @@ export class UsersApi extends BaseAPI {
9426
10035
  changePassword(requestParameters, options) {
9427
10036
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
9428
10037
  }
10038
+ /**
10039
+ *
10040
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
10041
+ * @param {*} [options] Override http request option.
10042
+ * @throws {RequiredError}
10043
+ * @memberof UsersApi
10044
+ */
10045
+ confirmPaymentMethodSetup(requestParameters, options) {
10046
+ return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
10047
+ }
9429
10048
  /**
9430
10049
  *
9431
10050
  * @param {*} [options] Override http request option.
@@ -9658,6 +10277,16 @@ export class UsersApi extends BaseAPI {
9658
10277
  resetPassword(requestParameters, options) {
9659
10278
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
9660
10279
  }
10280
+ /**
10281
+ *
10282
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
10283
+ * @param {*} [options] Override http request option.
10284
+ * @throws {RequiredError}
10285
+ * @memberof UsersApi
10286
+ */
10287
+ setupOffSessionPaymentMethod(requestParameters, options) {
10288
+ return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
10289
+ }
9661
10290
  /**
9662
10291
  *
9663
10292
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.