@tennac-booking/sdk 1.0.129 → 1.0.130

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 (77) hide show
  1. package/.openapi-generator/FILES +344 -346
  2. package/README.md +23 -24
  3. package/api.ts +857 -1035
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +686 -858
  8. package/dist/api.js +289 -315
  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 +686 -858
  16. package/dist/esm/api.js +285 -311
  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/BookingsStaffApi.md +10 -10
  28. package/docs/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
  29. package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
  30. package/docs/ClubAccessSettingsResponse.md +26 -0
  31. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  32. package/docs/ClubSettingsManagerApi.md +52 -0
  33. package/docs/ClubSettingsStaffApi.md +44 -0
  34. package/docs/ClubsStaffApi.md +47 -0
  35. package/docs/CreatePlan201Response.md +2 -0
  36. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  37. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  38. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  39. package/docs/EventsApi.md +1 -4
  40. package/docs/EventsManagerApi.md +0 -110
  41. package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
  42. package/docs/HotelAccessSettings.md +26 -0
  43. package/docs/MonthlyTurnoverResponse.md +0 -1
  44. package/docs/OffPeakRule.md +2 -0
  45. package/docs/PartialHotelAccessSettings.md +27 -0
  46. package/docs/PartialPaymentRequirementsSettings.md +23 -0
  47. package/docs/PartialPublicAccessSettings.md +25 -0
  48. package/docs/PartialSchoolAccessSettings.md +25 -0
  49. package/docs/PaymentRequirementsSettings.md +22 -0
  50. package/docs/PlanPrice.md +26 -0
  51. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  52. package/docs/PublicAccessSettings.md +24 -0
  53. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  54. package/docs/PublishEventResponse.md +0 -4
  55. package/docs/SchoolAccessSettings.md +24 -0
  56. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  57. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  58. package/docs/SubscriptionPlanResponse.md +7 -1
  59. package/docs/SubscriptionsManagerApi.md +55 -1
  60. package/docs/UpdateClubAccessSettingsRequest.md +26 -0
  61. package/docs/UsersApi.md +0 -54
  62. package/index.ts +1 -1
  63. package/package.json +1 -1
  64. package/docs/EventBookingDetailSummary.md +0 -40
  65. package/docs/EventBookingResponse.md +0 -36
  66. package/docs/EventBookingResponsePlayersInner.md +0 -28
  67. package/docs/EventBookingStatus.md +0 -16
  68. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  69. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  70. package/docs/ParticipationType.md +0 -10
  71. package/docs/RecurringDefinitionResponse.md +0 -34
  72. package/docs/UpdateRecurringDefinition200Response.md +0 -20
  73. package/docs/UpdateRecurringDefinitionRequest.md +0 -56
  74. package/docs/UserEventParticipation.md +0 -22
  75. package/docs/UserEventSummary.md +0 -44
  76. package/docs/UserEventsResponse.md +0 -28
  77. package/docs/VisibilityType.md +0 -12
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.129
8
+ * The version of the OpenAPI document: 1.0.121
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,10 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = exports.AgendaPaymentStatus = void 0;
26
- exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.VisibilityType = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.SurfaceType = void 0;
27
- exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = void 0;
28
- exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = void 0;
25
+ exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = exports.AgendaPaymentStatus = void 0;
26
+ exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = void 0;
27
+ exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = void 0;
28
+ exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = void 0;
29
29
  const axios_1 = require("axios");
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -122,18 +122,6 @@ exports.DiscountType = {
122
122
  Percentage: 'percentage',
123
123
  OffPeak: 'off_peak'
124
124
  };
125
- /**
126
- *
127
- * @export
128
- * @enum {string}
129
- */
130
- exports.EventBookingStatus = {
131
- Pending: 'pending',
132
- Active: 'active',
133
- Paid: 'paid',
134
- Cancelled: 'cancelled',
135
- Expired: 'expired'
136
- };
137
125
  exports.EventResponseTypeEnum = {
138
126
  Event: 'event',
139
127
  Closure: 'closure'
@@ -195,30 +183,10 @@ exports.InvoiceStatus = {
195
183
  Canceled: 'canceled',
196
184
  Expired: 'expired'
197
185
  };
198
- /**
199
- *
200
- * @export
201
- * @enum {string}
202
- */
203
- exports.InvoiceStatusSETUPPENDING = {
204
- SetupPending: 'setup_pending'
205
- };
206
- /**
207
- *
208
- * @export
209
- * @enum {string}
210
- */
211
- exports.InvoiceStatusSETUPSUCCESS = {
212
- SetupSuccess: 'setup_success'
213
- };
214
- /**
215
- *
216
- * @export
217
- * @enum {string}
218
- */
219
- exports.ParticipationType = {
220
- Solo: 'solo',
221
- Team: 'team'
186
+ exports.PartialPublicAccessSettingsPaymentModeEnum = {
187
+ Free: 'free',
188
+ AccessFee: 'access_fee',
189
+ PerCourt: 'per_court'
222
190
  };
223
191
  /**
224
192
  *
@@ -255,11 +223,10 @@ exports.PlayerCategoryId = {
255
223
  MostActive: 'most-active',
256
224
  Nearby: 'nearby'
257
225
  };
258
- exports.RecurringDefinitionResponseRecurringTypeEnum = {
259
- Daily: 'daily',
260
- Weekly: 'weekly',
261
- Monthly: 'monthly',
262
- Unique: 'unique'
226
+ exports.PublicAccessSettingsPaymentModeEnum = {
227
+ Free: 'free',
228
+ AccessFee: 'access_fee',
229
+ PerCourt: 'per_court'
263
230
  };
264
231
  exports.RegisterRequestBodyLocationTypeEnum = {
265
232
  Point: 'Point'
@@ -436,38 +403,9 @@ exports.UpdateEventRequestVisibilityTypeEnum = {
436
403
  Private: 'private',
437
404
  Invitation: 'invitation'
438
405
  };
439
- exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
440
- Public: 'public',
441
- Private: 'private',
442
- Invitation: 'invitation'
443
- };
444
- exports.UpdateRecurringDefinitionRequestTypeEnum = {
445
- Event: 'event',
446
- Closure: 'closure'
447
- };
448
- exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = {
449
- Solo: 'solo',
450
- Team: 'team'
451
- };
452
- exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = {
453
- Daily: 'daily',
454
- Weekly: 'weekly',
455
- Monthly: 'monthly',
456
- Unique: 'unique'
457
- };
458
406
  exports.UserLocationSummaryTypeEnum = {
459
407
  Point: 'Point'
460
408
  };
461
- /**
462
- *
463
- * @export
464
- * @enum {string}
465
- */
466
- exports.VisibilityType = {
467
- Public: 'public',
468
- Private: 'private',
469
- Invitation: 'invitation'
470
- };
471
409
  /**
472
410
  * BookingsApi - axios parameter creator
473
411
  * @export
@@ -930,17 +868,17 @@ exports.BookingsManagerApi = BookingsManagerApi;
930
868
  const BookingsStaffApiAxiosParamCreator = function (configuration) {
931
869
  return {
932
870
  /**
933
- * Check-in des joueurs only for club with payment features
871
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
934
872
  * @param {string} bookingId
935
- * @param {CheckInPlayersRequest} checkInPlayersRequest
873
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
936
874
  * @param {*} [options] Override http request option.
937
875
  * @throws {RequiredError}
938
876
  */
939
- checkInPlayers: (bookingId_1, checkInPlayersRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayersRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayersRequest, options = {}) {
877
+ checkInPlayer: (bookingId_1, checkInPlayerRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayerRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayerRequest, options = {}) {
940
878
  // verify required parameter 'bookingId' is not null or undefined
941
- (0, common_1.assertParamExists)('checkInPlayers', 'bookingId', bookingId);
942
- // verify required parameter 'checkInPlayersRequest' is not null or undefined
943
- (0, common_1.assertParamExists)('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest);
879
+ (0, common_1.assertParamExists)('checkInPlayer', 'bookingId', bookingId);
880
+ // verify required parameter 'checkInPlayerRequest' is not null or undefined
881
+ (0, common_1.assertParamExists)('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest);
944
882
  const localVarPath = `/api/bookings/{bookingId}/check-in`
945
883
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
946
884
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -959,7 +897,7 @@ const BookingsStaffApiAxiosParamCreator = function (configuration) {
959
897
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
960
898
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
961
899
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
962
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInPlayersRequest, localVarRequestOptions, configuration);
900
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInPlayerRequest, localVarRequestOptions, configuration);
963
901
  return {
964
902
  url: (0, common_1.toPathString)(localVarUrlObj),
965
903
  options: localVarRequestOptions,
@@ -1210,18 +1148,18 @@ const BookingsStaffApiFp = function (configuration) {
1210
1148
  const localVarAxiosParamCreator = (0, exports.BookingsStaffApiAxiosParamCreator)(configuration);
1211
1149
  return {
1212
1150
  /**
1213
- * Check-in des joueurs only for club with payment features
1151
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1214
1152
  * @param {string} bookingId
1215
- * @param {CheckInPlayersRequest} checkInPlayersRequest
1153
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
1216
1154
  * @param {*} [options] Override http request option.
1217
1155
  * @throws {RequiredError}
1218
1156
  */
1219
- checkInPlayers(bookingId, checkInPlayersRequest, options) {
1157
+ checkInPlayer(bookingId, checkInPlayerRequest, options) {
1220
1158
  return __awaiter(this, void 0, void 0, function* () {
1221
1159
  var _a, _b, _c;
1222
- const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
1160
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
1223
1161
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1224
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsStaffApi.checkInPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1162
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsStaffApi.checkInPlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1225
1163
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1226
1164
  });
1227
1165
  },
@@ -1345,13 +1283,13 @@ const BookingsStaffApiFactory = function (configuration, basePath, axios) {
1345
1283
  const localVarFp = (0, exports.BookingsStaffApiFp)(configuration);
1346
1284
  return {
1347
1285
  /**
1348
- * Check-in des joueurs only for club with payment features
1349
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1286
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1287
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1350
1288
  * @param {*} [options] Override http request option.
1351
1289
  * @throws {RequiredError}
1352
1290
  */
1353
- checkInPlayers(requestParameters, options) {
1354
- return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
1291
+ checkInPlayer(requestParameters, options) {
1292
+ return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
1355
1293
  },
1356
1294
  /**
1357
1295
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -1427,14 +1365,14 @@ exports.BookingsStaffApiFactory = BookingsStaffApiFactory;
1427
1365
  */
1428
1366
  class BookingsStaffApi extends base_1.BaseAPI {
1429
1367
  /**
1430
- * Check-in des joueurs only for club with payment features
1431
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1368
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1369
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1432
1370
  * @param {*} [options] Override http request option.
1433
1371
  * @throws {RequiredError}
1434
1372
  * @memberof BookingsStaffApi
1435
1373
  */
1436
- checkInPlayers(requestParameters, options) {
1437
- return (0, exports.BookingsStaffApiFp)(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
1374
+ checkInPlayer(requestParameters, options) {
1375
+ return (0, exports.BookingsStaffApiFp)(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
1438
1376
  }
1439
1377
  /**
1440
1378
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -3651,6 +3589,38 @@ exports.ClubRolesStaffApi = ClubRolesStaffApi;
3651
3589
  */
3652
3590
  const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
3653
3591
  return {
3592
+ /**
3593
+ *
3594
+ * @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
3595
+ * @param {*} [options] Override http request option.
3596
+ * @throws {RequiredError}
3597
+ */
3598
+ updateAccessSettings: (updateClubAccessSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubAccessSettingsRequest_1, ...args_1], void 0, function* (updateClubAccessSettingsRequest, options = {}) {
3599
+ // verify required parameter 'updateClubAccessSettingsRequest' is not null or undefined
3600
+ (0, common_1.assertParamExists)('updateAccessSettings', 'updateClubAccessSettingsRequest', updateClubAccessSettingsRequest);
3601
+ const localVarPath = `/api/club-settings/access`;
3602
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3603
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3604
+ let baseOptions;
3605
+ if (configuration) {
3606
+ baseOptions = configuration.baseOptions;
3607
+ }
3608
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
3609
+ const localVarHeaderParameter = {};
3610
+ const localVarQueryParameter = {};
3611
+ // authentication bearerAuth required
3612
+ // http bearer authentication required
3613
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3614
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3615
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3616
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3617
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3618
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClubAccessSettingsRequest, localVarRequestOptions, configuration);
3619
+ return {
3620
+ url: (0, common_1.toPathString)(localVarUrlObj),
3621
+ options: localVarRequestOptions,
3622
+ };
3623
+ }),
3654
3624
  /**
3655
3625
  *
3656
3626
  * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
@@ -3789,6 +3759,21 @@ exports.ClubSettingsManagerApiAxiosParamCreator = ClubSettingsManagerApiAxiosPar
3789
3759
  const ClubSettingsManagerApiFp = function (configuration) {
3790
3760
  const localVarAxiosParamCreator = (0, exports.ClubSettingsManagerApiAxiosParamCreator)(configuration);
3791
3761
  return {
3762
+ /**
3763
+ *
3764
+ * @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
3765
+ * @param {*} [options] Override http request option.
3766
+ * @throws {RequiredError}
3767
+ */
3768
+ updateAccessSettings(updateClubAccessSettingsRequest, options) {
3769
+ return __awaiter(this, void 0, void 0, function* () {
3770
+ var _a, _b, _c;
3771
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAccessSettings(updateClubAccessSettingsRequest, options);
3772
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3773
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubSettingsManagerApi.updateAccessSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3774
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3775
+ });
3776
+ },
3792
3777
  /**
3793
3778
  *
3794
3779
  * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
@@ -3859,6 +3844,15 @@ exports.ClubSettingsManagerApiFp = ClubSettingsManagerApiFp;
3859
3844
  const ClubSettingsManagerApiFactory = function (configuration, basePath, axios) {
3860
3845
  const localVarFp = (0, exports.ClubSettingsManagerApiFp)(configuration);
3861
3846
  return {
3847
+ /**
3848
+ *
3849
+ * @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
3850
+ * @param {*} [options] Override http request option.
3851
+ * @throws {RequiredError}
3852
+ */
3853
+ updateAccessSettings(requestParameters, options) {
3854
+ return localVarFp.updateAccessSettings(requestParameters.updateClubAccessSettingsRequest, options).then((request) => request(axios, basePath));
3855
+ },
3862
3856
  /**
3863
3857
  *
3864
3858
  * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
@@ -3905,6 +3899,16 @@ exports.ClubSettingsManagerApiFactory = ClubSettingsManagerApiFactory;
3905
3899
  * @extends {BaseAPI}
3906
3900
  */
3907
3901
  class ClubSettingsManagerApi extends base_1.BaseAPI {
3902
+ /**
3903
+ *
3904
+ * @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
3905
+ * @param {*} [options] Override http request option.
3906
+ * @throws {RequiredError}
3907
+ * @memberof ClubSettingsManagerApi
3908
+ */
3909
+ updateAccessSettings(requestParameters, options) {
3910
+ return (0, exports.ClubSettingsManagerApiFp)(this.configuration).updateAccessSettings(requestParameters.updateClubAccessSettingsRequest, options).then((request) => request(this.axios, this.basePath));
3911
+ }
3908
3912
  /**
3909
3913
  *
3910
3914
  * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
@@ -3953,6 +3957,33 @@ exports.ClubSettingsManagerApi = ClubSettingsManagerApi;
3953
3957
  */
3954
3958
  const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
3955
3959
  return {
3960
+ /**
3961
+ *
3962
+ * @param {*} [options] Override http request option.
3963
+ * @throws {RequiredError}
3964
+ */
3965
+ getAccessSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3966
+ const localVarPath = `/api/club-settings/access`;
3967
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3968
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3969
+ let baseOptions;
3970
+ if (configuration) {
3971
+ baseOptions = configuration.baseOptions;
3972
+ }
3973
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3974
+ const localVarHeaderParameter = {};
3975
+ const localVarQueryParameter = {};
3976
+ // authentication bearerAuth required
3977
+ // http bearer authentication required
3978
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3979
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3980
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3981
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3982
+ return {
3983
+ url: (0, common_1.toPathString)(localVarUrlObj),
3984
+ options: localVarRequestOptions,
3985
+ };
3986
+ }),
3956
3987
  /**
3957
3988
  *
3958
3989
  * @param {*} [options] Override http request option.
@@ -4071,6 +4102,20 @@ exports.ClubSettingsStaffApiAxiosParamCreator = ClubSettingsStaffApiAxiosParamCr
4071
4102
  const ClubSettingsStaffApiFp = function (configuration) {
4072
4103
  const localVarAxiosParamCreator = (0, exports.ClubSettingsStaffApiAxiosParamCreator)(configuration);
4073
4104
  return {
4105
+ /**
4106
+ *
4107
+ * @param {*} [options] Override http request option.
4108
+ * @throws {RequiredError}
4109
+ */
4110
+ getAccessSettings(options) {
4111
+ return __awaiter(this, void 0, void 0, function* () {
4112
+ var _a, _b, _c;
4113
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccessSettings(options);
4114
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4115
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubSettingsStaffApi.getAccessSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4116
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4117
+ });
4118
+ },
4074
4119
  /**
4075
4120
  *
4076
4121
  * @param {*} [options] Override http request option.
@@ -4137,6 +4182,14 @@ exports.ClubSettingsStaffApiFp = ClubSettingsStaffApiFp;
4137
4182
  const ClubSettingsStaffApiFactory = function (configuration, basePath, axios) {
4138
4183
  const localVarFp = (0, exports.ClubSettingsStaffApiFp)(configuration);
4139
4184
  return {
4185
+ /**
4186
+ *
4187
+ * @param {*} [options] Override http request option.
4188
+ * @throws {RequiredError}
4189
+ */
4190
+ getAccessSettings(options) {
4191
+ return localVarFp.getAccessSettings(options).then((request) => request(axios, basePath));
4192
+ },
4140
4193
  /**
4141
4194
  *
4142
4195
  * @param {*} [options] Override http request option.
@@ -4179,6 +4232,15 @@ exports.ClubSettingsStaffApiFactory = ClubSettingsStaffApiFactory;
4179
4232
  * @extends {BaseAPI}
4180
4233
  */
4181
4234
  class ClubSettingsStaffApi extends base_1.BaseAPI {
4235
+ /**
4236
+ *
4237
+ * @param {*} [options] Override http request option.
4238
+ * @throws {RequiredError}
4239
+ * @memberof ClubSettingsStaffApi
4240
+ */
4241
+ getAccessSettings(options) {
4242
+ return (0, exports.ClubSettingsStaffApiFp)(this.configuration).getAccessSettings(options).then((request) => request(this.axios, this.basePath));
4243
+ }
4182
4244
  /**
4183
4245
  *
4184
4246
  * @param {*} [options] Override http request option.
@@ -6728,6 +6790,33 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
6728
6790
  options: localVarRequestOptions,
6729
6791
  };
6730
6792
  }),
6793
+ /**
6794
+ *
6795
+ * @param {*} [options] Override http request option.
6796
+ * @throws {RequiredError}
6797
+ */
6798
+ getClubType: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6799
+ const localVarPath = `/api/clubs/clubType`;
6800
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6801
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6802
+ let baseOptions;
6803
+ if (configuration) {
6804
+ baseOptions = configuration.baseOptions;
6805
+ }
6806
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6807
+ const localVarHeaderParameter = {};
6808
+ const localVarQueryParameter = {};
6809
+ // authentication bearerAuth required
6810
+ // http bearer authentication required
6811
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6812
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6813
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6814
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6815
+ return {
6816
+ url: (0, common_1.toPathString)(localVarUrlObj),
6817
+ options: localVarRequestOptions,
6818
+ };
6819
+ }),
6731
6820
  /**
6732
6821
  * Récupère les terrains d\'un club
6733
6822
  * @param {*} [options] Override http request option.
@@ -6973,6 +7062,20 @@ const ClubsStaffApiFp = function (configuration) {
6973
7062
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6974
7063
  });
6975
7064
  },
7065
+ /**
7066
+ *
7067
+ * @param {*} [options] Override http request option.
7068
+ * @throws {RequiredError}
7069
+ */
7070
+ getClubType(options) {
7071
+ return __awaiter(this, void 0, void 0, function* () {
7072
+ var _a, _b, _c;
7073
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(options);
7074
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7075
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getClubType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7076
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7077
+ });
7078
+ },
6976
7079
  /**
6977
7080
  * Récupère les terrains d\'un club
6978
7081
  * @param {*} [options] Override http request option.
@@ -7098,6 +7201,14 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
7098
7201
  getClubRoles(options) {
7099
7202
  return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
7100
7203
  },
7204
+ /**
7205
+ *
7206
+ * @param {*} [options] Override http request option.
7207
+ * @throws {RequiredError}
7208
+ */
7209
+ getClubType(options) {
7210
+ return localVarFp.getClubType(options).then((request) => request(axios, basePath));
7211
+ },
7101
7212
  /**
7102
7213
  * Récupère les terrains d\'un club
7103
7214
  * @param {*} [options] Override http request option.
@@ -7198,6 +7309,15 @@ class ClubsStaffApi extends base_1.BaseAPI {
7198
7309
  getClubRoles(options) {
7199
7310
  return (0, exports.ClubsStaffApiFp)(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
7200
7311
  }
7312
+ /**
7313
+ *
7314
+ * @param {*} [options] Override http request option.
7315
+ * @throws {RequiredError}
7316
+ * @memberof ClubsStaffApi
7317
+ */
7318
+ getClubType(options) {
7319
+ return (0, exports.ClubsStaffApiFp)(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
7320
+ }
7201
7321
  /**
7202
7322
  * Récupère les terrains d\'un club
7203
7323
  * @param {*} [options] Override http request option.
@@ -7414,11 +7534,10 @@ const EventsApiAxiosParamCreator = function (configuration) {
7414
7534
  /**
7415
7535
  * Get a specific event by ID
7416
7536
  * @param {string} eventId
7417
- * @param {string} [userId]
7418
7537
  * @param {*} [options] Override http request option.
7419
7538
  * @throws {RequiredError}
7420
7539
  */
7421
- getEventById: (eventId_1, userId_1, ...args_1) => __awaiter(this, [eventId_1, userId_1, ...args_1], void 0, function* (eventId, userId, options = {}) {
7540
+ getEventById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
7422
7541
  // verify required parameter 'eventId' is not null or undefined
7423
7542
  (0, common_1.assertParamExists)('getEventById', 'eventId', eventId);
7424
7543
  const localVarPath = `/api/events/{eventId}`
@@ -7432,9 +7551,6 @@ const EventsApiAxiosParamCreator = function (configuration) {
7432
7551
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7433
7552
  const localVarHeaderParameter = {};
7434
7553
  const localVarQueryParameter = {};
7435
- if (userId !== undefined) {
7436
- localVarQueryParameter['userId'] = userId;
7437
- }
7438
7554
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7439
7555
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7440
7556
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7595,14 +7711,13 @@ const EventsApiFp = function (configuration) {
7595
7711
  /**
7596
7712
  * Get a specific event by ID
7597
7713
  * @param {string} eventId
7598
- * @param {string} [userId]
7599
7714
  * @param {*} [options] Override http request option.
7600
7715
  * @throws {RequiredError}
7601
7716
  */
7602
- getEventById(eventId, userId, options) {
7717
+ getEventById(eventId, options) {
7603
7718
  return __awaiter(this, void 0, void 0, function* () {
7604
7719
  var _a, _b, _c;
7605
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, userId, options);
7720
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, options);
7606
7721
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7607
7722
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsApi.getEventById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7608
7723
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7692,7 +7807,7 @@ const EventsApiFactory = function (configuration, basePath, axios) {
7692
7807
  * @throws {RequiredError}
7693
7808
  */
7694
7809
  getEventById(requestParameters, options) {
7695
- return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
7810
+ return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
7696
7811
  },
7697
7812
  /**
7698
7813
  * Get all published events for a club
@@ -7759,7 +7874,7 @@ class EventsApi extends base_1.BaseAPI {
7759
7874
  * @memberof EventsApi
7760
7875
  */
7761
7876
  getEventById(requestParameters, options) {
7762
- return (0, exports.EventsApiFp)(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
7877
+ return (0, exports.EventsApiFp)(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
7763
7878
  }
7764
7879
  /**
7765
7880
  * Get all published events for a club
@@ -7909,37 +8024,6 @@ const EventsManagerApiAxiosParamCreator = function (configuration) {
7909
8024
  options: localVarRequestOptions,
7910
8025
  };
7911
8026
  }),
7912
- /**
7913
- * List recurring definitions about to expire within `days` (manager)
7914
- * @param {number} [days]
7915
- * @param {*} [options] Override http request option.
7916
- * @throws {RequiredError}
7917
- */
7918
- getExpiringRecurringDefinitions: (days_1, ...args_1) => __awaiter(this, [days_1, ...args_1], void 0, function* (days, options = {}) {
7919
- const localVarPath = `/api/events/manager/recurring/expiring`;
7920
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7921
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7922
- let baseOptions;
7923
- if (configuration) {
7924
- baseOptions = configuration.baseOptions;
7925
- }
7926
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7927
- const localVarHeaderParameter = {};
7928
- const localVarQueryParameter = {};
7929
- // authentication bearerAuth required
7930
- // http bearer authentication required
7931
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7932
- if (days !== undefined) {
7933
- localVarQueryParameter['days'] = days;
7934
- }
7935
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7936
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7937
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7938
- return {
7939
- url: (0, common_1.toPathString)(localVarUrlObj),
7940
- options: localVarRequestOptions,
7941
- };
7942
- }),
7943
8027
  /**
7944
8028
  * Publish an event (manager)
7945
8029
  * @param {string} eventId
@@ -8074,42 +8158,6 @@ const EventsManagerApiAxiosParamCreator = function (configuration) {
8074
8158
  options: localVarRequestOptions,
8075
8159
  };
8076
8160
  }),
8077
- /**
8078
- * Update a recurring event definition (manager) and propagate changes to generated Events
8079
- * @param {string} definitionId
8080
- * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
8081
- * @param {*} [options] Override http request option.
8082
- * @throws {RequiredError}
8083
- */
8084
- updateRecurringDefinition: (definitionId_1, updateRecurringDefinitionRequest_1, ...args_1) => __awaiter(this, [definitionId_1, updateRecurringDefinitionRequest_1, ...args_1], void 0, function* (definitionId, updateRecurringDefinitionRequest, options = {}) {
8085
- // verify required parameter 'definitionId' is not null or undefined
8086
- (0, common_1.assertParamExists)('updateRecurringDefinition', 'definitionId', definitionId);
8087
- // verify required parameter 'updateRecurringDefinitionRequest' is not null or undefined
8088
- (0, common_1.assertParamExists)('updateRecurringDefinition', 'updateRecurringDefinitionRequest', updateRecurringDefinitionRequest);
8089
- const localVarPath = `/api/events/manager/recurring/{definitionId}`
8090
- .replace(`{${"definitionId"}}`, encodeURIComponent(String(definitionId)));
8091
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8092
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8093
- let baseOptions;
8094
- if (configuration) {
8095
- baseOptions = configuration.baseOptions;
8096
- }
8097
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
8098
- const localVarHeaderParameter = {};
8099
- const localVarQueryParameter = {};
8100
- // authentication bearerAuth required
8101
- // http bearer authentication required
8102
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8103
- localVarHeaderParameter['Content-Type'] = 'application/json';
8104
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8105
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8106
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8107
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRecurringDefinitionRequest, localVarRequestOptions, configuration);
8108
- return {
8109
- url: (0, common_1.toPathString)(localVarUrlObj),
8110
- options: localVarRequestOptions,
8111
- };
8112
- }),
8113
8161
  };
8114
8162
  };
8115
8163
  exports.EventsManagerApiAxiosParamCreator = EventsManagerApiAxiosParamCreator;
@@ -8165,21 +8213,6 @@ const EventsManagerApiFp = function (configuration) {
8165
8213
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8166
8214
  });
8167
8215
  },
8168
- /**
8169
- * List recurring definitions about to expire within `days` (manager)
8170
- * @param {number} [days]
8171
- * @param {*} [options] Override http request option.
8172
- * @throws {RequiredError}
8173
- */
8174
- getExpiringRecurringDefinitions(days, options) {
8175
- return __awaiter(this, void 0, void 0, function* () {
8176
- var _a, _b, _c;
8177
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getExpiringRecurringDefinitions(days, options);
8178
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8179
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsManagerApi.getExpiringRecurringDefinitions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8180
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8181
- });
8182
- },
8183
8216
  /**
8184
8217
  * Publish an event (manager)
8185
8218
  * @param {string} eventId
@@ -8242,22 +8275,6 @@ const EventsManagerApiFp = function (configuration) {
8242
8275
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8243
8276
  });
8244
8277
  },
8245
- /**
8246
- * Update a recurring event definition (manager) and propagate changes to generated Events
8247
- * @param {string} definitionId
8248
- * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
8249
- * @param {*} [options] Override http request option.
8250
- * @throws {RequiredError}
8251
- */
8252
- updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options) {
8253
- return __awaiter(this, void 0, void 0, function* () {
8254
- var _a, _b, _c;
8255
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options);
8256
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8257
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsManagerApi.updateRecurringDefinition']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8258
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8259
- });
8260
- },
8261
8278
  };
8262
8279
  };
8263
8280
  exports.EventsManagerApiFp = EventsManagerApiFp;
@@ -8295,15 +8312,6 @@ const EventsManagerApiFactory = function (configuration, basePath, axios) {
8295
8312
  deleteEvent(requestParameters, options) {
8296
8313
  return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
8297
8314
  },
8298
- /**
8299
- * List recurring definitions about to expire within `days` (manager)
8300
- * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
8301
- * @param {*} [options] Override http request option.
8302
- * @throws {RequiredError}
8303
- */
8304
- getExpiringRecurringDefinitions(requestParameters = {}, options) {
8305
- return localVarFp.getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(axios, basePath));
8306
- },
8307
8315
  /**
8308
8316
  * Publish an event (manager)
8309
8317
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -8340,15 +8348,6 @@ const EventsManagerApiFactory = function (configuration, basePath, axios) {
8340
8348
  updatePublishedEvent(requestParameters, options) {
8341
8349
  return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
8342
8350
  },
8343
- /**
8344
- * Update a recurring event definition (manager) and propagate changes to generated Events
8345
- * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
8346
- * @param {*} [options] Override http request option.
8347
- * @throws {RequiredError}
8348
- */
8349
- updateRecurringDefinition(requestParameters, options) {
8350
- return localVarFp.updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(axios, basePath));
8351
- },
8352
8351
  };
8353
8352
  };
8354
8353
  exports.EventsManagerApiFactory = EventsManagerApiFactory;
@@ -8389,16 +8388,6 @@ class EventsManagerApi extends base_1.BaseAPI {
8389
8388
  deleteEvent(requestParameters, options) {
8390
8389
  return (0, exports.EventsManagerApiFp)(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
8391
8390
  }
8392
- /**
8393
- * List recurring definitions about to expire within `days` (manager)
8394
- * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
8395
- * @param {*} [options] Override http request option.
8396
- * @throws {RequiredError}
8397
- * @memberof EventsManagerApi
8398
- */
8399
- getExpiringRecurringDefinitions(requestParameters = {}, options) {
8400
- return (0, exports.EventsManagerApiFp)(this.configuration).getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(this.axios, this.basePath));
8401
- }
8402
8391
  /**
8403
8392
  * Publish an event (manager)
8404
8393
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -8439,16 +8428,6 @@ class EventsManagerApi extends base_1.BaseAPI {
8439
8428
  updatePublishedEvent(requestParameters, options) {
8440
8429
  return (0, exports.EventsManagerApiFp)(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
8441
8430
  }
8442
- /**
8443
- * Update a recurring event definition (manager) and propagate changes to generated Events
8444
- * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
8445
- * @param {*} [options] Override http request option.
8446
- * @throws {RequiredError}
8447
- * @memberof EventsManagerApi
8448
- */
8449
- updateRecurringDefinition(requestParameters, options) {
8450
- return (0, exports.EventsManagerApiFp)(this.configuration).updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(this.axios, this.basePath));
8451
- }
8452
8431
  }
8453
8432
  exports.EventsManagerApi = EventsManagerApi;
8454
8433
  /**
@@ -9361,6 +9340,37 @@ exports.SportsPublicApi = SportsPublicApi;
9361
9340
  */
9362
9341
  const SubscriptionsManagerApiAxiosParamCreator = function (configuration) {
9363
9342
  return {
9343
+ /**
9344
+ * Supprime (archive) un plan par productId (manager)
9345
+ * @param {string} productId
9346
+ * @param {*} [options] Override http request option.
9347
+ * @throws {RequiredError}
9348
+ */
9349
+ archivePlan: (productId_1, ...args_1) => __awaiter(this, [productId_1, ...args_1], void 0, function* (productId, options = {}) {
9350
+ // verify required parameter 'productId' is not null or undefined
9351
+ (0, common_1.assertParamExists)('archivePlan', 'productId', productId);
9352
+ const localVarPath = `/api/subscriptions/plans/{productId}/archive`
9353
+ .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
9354
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9355
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9356
+ let baseOptions;
9357
+ if (configuration) {
9358
+ baseOptions = configuration.baseOptions;
9359
+ }
9360
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9361
+ const localVarHeaderParameter = {};
9362
+ const localVarQueryParameter = {};
9363
+ // authentication bearerAuth required
9364
+ // http bearer authentication required
9365
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9366
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9367
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9368
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9369
+ return {
9370
+ url: (0, common_1.toPathString)(localVarUrlObj),
9371
+ options: localVarRequestOptions,
9372
+ };
9373
+ }),
9364
9374
  /**
9365
9375
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9366
9376
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9394,7 +9404,7 @@ const SubscriptionsManagerApiAxiosParamCreator = function (configuration) {
9394
9404
  };
9395
9405
  }),
9396
9406
  /**
9397
- * Supprime (archive) un plan par productId (manager)
9407
+ * Supprime un plan par productId (manager)
9398
9408
  * @param {string} productId
9399
9409
  * @param {*} [options] Override http request option.
9400
9410
  * @throws {RequiredError}
@@ -9466,6 +9476,21 @@ exports.SubscriptionsManagerApiAxiosParamCreator = SubscriptionsManagerApiAxiosP
9466
9476
  const SubscriptionsManagerApiFp = function (configuration) {
9467
9477
  const localVarAxiosParamCreator = (0, exports.SubscriptionsManagerApiAxiosParamCreator)(configuration);
9468
9478
  return {
9479
+ /**
9480
+ * Supprime (archive) un plan par productId (manager)
9481
+ * @param {string} productId
9482
+ * @param {*} [options] Override http request option.
9483
+ * @throws {RequiredError}
9484
+ */
9485
+ archivePlan(productId, options) {
9486
+ return __awaiter(this, void 0, void 0, function* () {
9487
+ var _a, _b, _c;
9488
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archivePlan(productId, options);
9489
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9490
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SubscriptionsManagerApi.archivePlan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9491
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9492
+ });
9493
+ },
9469
9494
  /**
9470
9495
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9471
9496
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9482,7 +9507,7 @@ const SubscriptionsManagerApiFp = function (configuration) {
9482
9507
  });
9483
9508
  },
9484
9509
  /**
9485
- * Supprime (archive) un plan par productId (manager)
9510
+ * Supprime un plan par productId (manager)
9486
9511
  * @param {string} productId
9487
9512
  * @param {*} [options] Override http request option.
9488
9513
  * @throws {RequiredError}
@@ -9521,6 +9546,15 @@ exports.SubscriptionsManagerApiFp = SubscriptionsManagerApiFp;
9521
9546
  const SubscriptionsManagerApiFactory = function (configuration, basePath, axios) {
9522
9547
  const localVarFp = (0, exports.SubscriptionsManagerApiFp)(configuration);
9523
9548
  return {
9549
+ /**
9550
+ * Supprime (archive) un plan par productId (manager)
9551
+ * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9552
+ * @param {*} [options] Override http request option.
9553
+ * @throws {RequiredError}
9554
+ */
9555
+ archivePlan(requestParameters, options) {
9556
+ return localVarFp.archivePlan(requestParameters.productId, options).then((request) => request(axios, basePath));
9557
+ },
9524
9558
  /**
9525
9559
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9526
9560
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9531,7 +9565,7 @@ const SubscriptionsManagerApiFactory = function (configuration, basePath, axios)
9531
9565
  return localVarFp.createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(axios, basePath));
9532
9566
  },
9533
9567
  /**
9534
- * Supprime (archive) un plan par productId (manager)
9568
+ * Supprime un plan par productId (manager)
9535
9569
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9536
9570
  * @param {*} [options] Override http request option.
9537
9571
  * @throws {RequiredError}
@@ -9558,6 +9592,16 @@ exports.SubscriptionsManagerApiFactory = SubscriptionsManagerApiFactory;
9558
9592
  * @extends {BaseAPI}
9559
9593
  */
9560
9594
  class SubscriptionsManagerApi extends base_1.BaseAPI {
9595
+ /**
9596
+ * Supprime (archive) un plan par productId (manager)
9597
+ * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9598
+ * @param {*} [options] Override http request option.
9599
+ * @throws {RequiredError}
9600
+ * @memberof SubscriptionsManagerApi
9601
+ */
9602
+ archivePlan(requestParameters, options) {
9603
+ return (0, exports.SubscriptionsManagerApiFp)(this.configuration).archivePlan(requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
9604
+ }
9561
9605
  /**
9562
9606
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9563
9607
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9569,7 +9613,7 @@ class SubscriptionsManagerApi extends base_1.BaseAPI {
9569
9613
  return (0, exports.SubscriptionsManagerApiFp)(this.configuration).createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(this.axios, this.basePath));
9570
9614
  }
9571
9615
  /**
9572
- * Supprime (archive) un plan par productId (manager)
9616
+ * Supprime un plan par productId (manager)
9573
9617
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9574
9618
  * @param {*} [options] Override http request option.
9575
9619
  * @throws {RequiredError}
@@ -10825,41 +10869,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
10825
10869
  options: localVarRequestOptions,
10826
10870
  };
10827
10871
  }),
10828
- /**
10829
- *
10830
- * @param {number} [limit]
10831
- * @param {number} [skip]
10832
- * @param {*} [options] Override http request option.
10833
- * @throws {RequiredError}
10834
- */
10835
- getUserEvents: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
10836
- const localVarPath = `/api/users/me/events`;
10837
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10838
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10839
- let baseOptions;
10840
- if (configuration) {
10841
- baseOptions = configuration.baseOptions;
10842
- }
10843
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10844
- const localVarHeaderParameter = {};
10845
- const localVarQueryParameter = {};
10846
- // authentication bearerAuth required
10847
- // http bearer authentication required
10848
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10849
- if (limit !== undefined) {
10850
- localVarQueryParameter['limit'] = limit;
10851
- }
10852
- if (skip !== undefined) {
10853
- localVarQueryParameter['skip'] = skip;
10854
- }
10855
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10856
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10857
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10858
- return {
10859
- url: (0, common_1.toPathString)(localVarUrlObj),
10860
- options: localVarRequestOptions,
10861
- };
10862
- }),
10863
10872
  /**
10864
10873
  *
10865
10874
  * @param {string} id
@@ -11720,22 +11729,6 @@ const UsersApiFp = function (configuration) {
11720
11729
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11721
11730
  });
11722
11731
  },
11723
- /**
11724
- *
11725
- * @param {number} [limit]
11726
- * @param {number} [skip]
11727
- * @param {*} [options] Override http request option.
11728
- * @throws {RequiredError}
11729
- */
11730
- getUserEvents(limit, skip, options) {
11731
- return __awaiter(this, void 0, void 0, function* () {
11732
- var _a, _b, _c;
11733
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserEvents(limit, skip, options);
11734
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11735
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.getUserEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11736
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11737
- });
11738
- },
11739
11732
  /**
11740
11733
  *
11741
11734
  * @param {string} id
@@ -12178,15 +12171,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
12178
12171
  getUserBookings(requestParameters = {}, options) {
12179
12172
  return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
12180
12173
  },
12181
- /**
12182
- *
12183
- * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12184
- * @param {*} [options] Override http request option.
12185
- * @throws {RequiredError}
12186
- */
12187
- getUserEvents(requestParameters = {}, options) {
12188
- return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
12189
- },
12190
12174
  /**
12191
12175
  *
12192
12176
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -12530,16 +12514,6 @@ class UsersApi extends base_1.BaseAPI {
12530
12514
  getUserBookings(requestParameters = {}, options) {
12531
12515
  return (0, exports.UsersApiFp)(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12532
12516
  }
12533
- /**
12534
- *
12535
- * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12536
- * @param {*} [options] Override http request option.
12537
- * @throws {RequiredError}
12538
- * @memberof UsersApi
12539
- */
12540
- getUserEvents(requestParameters = {}, options) {
12541
- return (0, exports.UsersApiFp)(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12542
- }
12543
12517
  /**
12544
12518
  *
12545
12519
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.