@tennac-booking/sdk 1.0.125 → 1.0.127

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 (61) hide show
  1. package/.openapi-generator/FILES +334 -343
  2. package/README.md +11 -19
  3. package/api.ts +422 -591
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +317 -496
  8. package/dist/api.js +164 -156
  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 +317 -496
  16. package/dist/esm/api.js +160 -152
  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/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/ClubsStaffApi.md +54 -0
  32. package/docs/CreatePlan201Response.md +2 -0
  33. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  34. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  35. package/docs/DeleteSubscriptionPlanResponse.md +2 -0
  36. package/docs/EventsApi.md +1 -4
  37. package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
  38. package/docs/MonthlyTurnoverResponse.md +0 -1
  39. package/docs/OffPeakRule.md +2 -0
  40. package/docs/PlanPrice.md +26 -0
  41. package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
  42. package/docs/PublicSubscriptionPlanResponse.md +5 -1
  43. package/docs/PublishEventResponse.md +0 -2
  44. package/docs/SendSubscriptionInvitationRequest.md +2 -0
  45. package/docs/SubscriptionPlanDiscountResponse.md +34 -0
  46. package/docs/SubscriptionPlanResponse.md +7 -1
  47. package/docs/SubscriptionsManagerApi.md +55 -1
  48. package/docs/UsersApi.md +0 -54
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/EventBookingDetailSummary.md +0 -40
  52. package/docs/EventBookingResponse.md +0 -36
  53. package/docs/EventBookingResponsePlayersInner.md +0 -28
  54. package/docs/EventBookingStatus.md +0 -16
  55. package/docs/InvoiceStatusSETUPPENDING.md +0 -8
  56. package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
  57. package/docs/ParticipationType.md +0 -10
  58. package/docs/UserEventParticipation.md +0 -22
  59. package/docs/UserEventSummary.md +0 -44
  60. package/docs/UserEventsResponse.md +0 -28
  61. 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.125
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.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.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.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.VisibilityType = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = void 0;
27
- 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 = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = 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 = void 0;
25
+ exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = 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.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = 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.ClubsApiFactory = exports.ClubsApiFp = 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 = void 0;
27
+ exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = 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 = 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 = 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
- Paid: 'paid',
133
- Cancelled: 'cancelled',
134
- Expired: 'expired',
135
- Archived: 'archived'
136
- };
137
125
  exports.EventResponseTypeEnum = {
138
126
  Event: 'event',
139
127
  Closure: 'closure'
@@ -195,31 +183,6 @@ 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'
222
- };
223
186
  /**
224
187
  *
225
188
  * @export
@@ -433,16 +396,6 @@ exports.UpdateEventRequestVisibilityTypeEnum = {
433
396
  exports.UserLocationSummaryTypeEnum = {
434
397
  Point: 'Point'
435
398
  };
436
- /**
437
- *
438
- * @export
439
- * @enum {string}
440
- */
441
- exports.VisibilityType = {
442
- Public: 'public',
443
- Private: 'private',
444
- Invitation: 'invitation'
445
- };
446
399
  /**
447
400
  * BookingsApi - axios parameter creator
448
401
  * @export
@@ -905,17 +858,17 @@ exports.BookingsManagerApi = BookingsManagerApi;
905
858
  const BookingsStaffApiAxiosParamCreator = function (configuration) {
906
859
  return {
907
860
  /**
908
- * Check-in des joueurs only for club with payment features
861
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
909
862
  * @param {string} bookingId
910
- * @param {CheckInPlayersRequest} checkInPlayersRequest
863
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
911
864
  * @param {*} [options] Override http request option.
912
865
  * @throws {RequiredError}
913
866
  */
914
- checkInPlayers: (bookingId_1, checkInPlayersRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayersRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayersRequest, options = {}) {
867
+ checkInPlayer: (bookingId_1, checkInPlayerRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayerRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayerRequest, options = {}) {
915
868
  // verify required parameter 'bookingId' is not null or undefined
916
- (0, common_1.assertParamExists)('checkInPlayers', 'bookingId', bookingId);
917
- // verify required parameter 'checkInPlayersRequest' is not null or undefined
918
- (0, common_1.assertParamExists)('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest);
869
+ (0, common_1.assertParamExists)('checkInPlayer', 'bookingId', bookingId);
870
+ // verify required parameter 'checkInPlayerRequest' is not null or undefined
871
+ (0, common_1.assertParamExists)('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest);
919
872
  const localVarPath = `/api/bookings/{bookingId}/check-in`
920
873
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
921
874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -934,7 +887,7 @@ const BookingsStaffApiAxiosParamCreator = function (configuration) {
934
887
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
935
888
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
936
889
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
937
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInPlayersRequest, localVarRequestOptions, configuration);
890
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInPlayerRequest, localVarRequestOptions, configuration);
938
891
  return {
939
892
  url: (0, common_1.toPathString)(localVarUrlObj),
940
893
  options: localVarRequestOptions,
@@ -1185,18 +1138,18 @@ const BookingsStaffApiFp = function (configuration) {
1185
1138
  const localVarAxiosParamCreator = (0, exports.BookingsStaffApiAxiosParamCreator)(configuration);
1186
1139
  return {
1187
1140
  /**
1188
- * Check-in des joueurs only for club with payment features
1141
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1189
1142
  * @param {string} bookingId
1190
- * @param {CheckInPlayersRequest} checkInPlayersRequest
1143
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
1191
1144
  * @param {*} [options] Override http request option.
1192
1145
  * @throws {RequiredError}
1193
1146
  */
1194
- checkInPlayers(bookingId, checkInPlayersRequest, options) {
1147
+ checkInPlayer(bookingId, checkInPlayerRequest, options) {
1195
1148
  return __awaiter(this, void 0, void 0, function* () {
1196
1149
  var _a, _b, _c;
1197
- const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
1150
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
1198
1151
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1199
- 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;
1152
+ 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;
1200
1153
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1201
1154
  });
1202
1155
  },
@@ -1320,13 +1273,13 @@ const BookingsStaffApiFactory = function (configuration, basePath, axios) {
1320
1273
  const localVarFp = (0, exports.BookingsStaffApiFp)(configuration);
1321
1274
  return {
1322
1275
  /**
1323
- * Check-in des joueurs only for club with payment features
1324
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1276
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1277
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1325
1278
  * @param {*} [options] Override http request option.
1326
1279
  * @throws {RequiredError}
1327
1280
  */
1328
- checkInPlayers(requestParameters, options) {
1329
- return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
1281
+ checkInPlayer(requestParameters, options) {
1282
+ return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
1330
1283
  },
1331
1284
  /**
1332
1285
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -1402,14 +1355,14 @@ exports.BookingsStaffApiFactory = BookingsStaffApiFactory;
1402
1355
  */
1403
1356
  class BookingsStaffApi extends base_1.BaseAPI {
1404
1357
  /**
1405
- * Check-in des joueurs only for club with payment features
1406
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1358
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1359
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1407
1360
  * @param {*} [options] Override http request option.
1408
1361
  * @throws {RequiredError}
1409
1362
  * @memberof BookingsStaffApi
1410
1363
  */
1411
- checkInPlayers(requestParameters, options) {
1412
- return (0, exports.BookingsStaffApiFp)(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
1364
+ checkInPlayer(requestParameters, options) {
1365
+ return (0, exports.BookingsStaffApiFp)(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
1413
1366
  }
1414
1367
  /**
1415
1368
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -6703,6 +6656,37 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
6703
6656
  options: localVarRequestOptions,
6704
6657
  };
6705
6658
  }),
6659
+ /**
6660
+ *
6661
+ * @param {string} clubId
6662
+ * @param {*} [options] Override http request option.
6663
+ * @throws {RequiredError}
6664
+ */
6665
+ getClubType: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
6666
+ // verify required parameter 'clubId' is not null or undefined
6667
+ (0, common_1.assertParamExists)('getClubType', 'clubId', clubId);
6668
+ const localVarPath = `/api/clubs/{clubId}/clubType`
6669
+ .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
6670
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6671
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6672
+ let baseOptions;
6673
+ if (configuration) {
6674
+ baseOptions = configuration.baseOptions;
6675
+ }
6676
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6677
+ const localVarHeaderParameter = {};
6678
+ const localVarQueryParameter = {};
6679
+ // authentication bearerAuth required
6680
+ // http bearer authentication required
6681
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6682
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6683
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6684
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6685
+ return {
6686
+ url: (0, common_1.toPathString)(localVarUrlObj),
6687
+ options: localVarRequestOptions,
6688
+ };
6689
+ }),
6706
6690
  /**
6707
6691
  * Récupère les terrains d\'un club
6708
6692
  * @param {*} [options] Override http request option.
@@ -6948,6 +6932,21 @@ const ClubsStaffApiFp = function (configuration) {
6948
6932
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6949
6933
  });
6950
6934
  },
6935
+ /**
6936
+ *
6937
+ * @param {string} clubId
6938
+ * @param {*} [options] Override http request option.
6939
+ * @throws {RequiredError}
6940
+ */
6941
+ getClubType(clubId, options) {
6942
+ return __awaiter(this, void 0, void 0, function* () {
6943
+ var _a, _b, _c;
6944
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(clubId, options);
6945
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6946
+ 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;
6947
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6948
+ });
6949
+ },
6951
6950
  /**
6952
6951
  * Récupère les terrains d\'un club
6953
6952
  * @param {*} [options] Override http request option.
@@ -7073,6 +7072,15 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
7073
7072
  getClubRoles(options) {
7074
7073
  return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
7075
7074
  },
7075
+ /**
7076
+ *
7077
+ * @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
7078
+ * @param {*} [options] Override http request option.
7079
+ * @throws {RequiredError}
7080
+ */
7081
+ getClubType(requestParameters, options) {
7082
+ return localVarFp.getClubType(requestParameters.clubId, options).then((request) => request(axios, basePath));
7083
+ },
7076
7084
  /**
7077
7085
  * Récupère les terrains d\'un club
7078
7086
  * @param {*} [options] Override http request option.
@@ -7173,6 +7181,16 @@ class ClubsStaffApi extends base_1.BaseAPI {
7173
7181
  getClubRoles(options) {
7174
7182
  return (0, exports.ClubsStaffApiFp)(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
7175
7183
  }
7184
+ /**
7185
+ *
7186
+ * @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
7187
+ * @param {*} [options] Override http request option.
7188
+ * @throws {RequiredError}
7189
+ * @memberof ClubsStaffApi
7190
+ */
7191
+ getClubType(requestParameters, options) {
7192
+ return (0, exports.ClubsStaffApiFp)(this.configuration).getClubType(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
7193
+ }
7176
7194
  /**
7177
7195
  * Récupère les terrains d\'un club
7178
7196
  * @param {*} [options] Override http request option.
@@ -7389,11 +7407,10 @@ const EventsApiAxiosParamCreator = function (configuration) {
7389
7407
  /**
7390
7408
  * Get a specific event by ID
7391
7409
  * @param {string} eventId
7392
- * @param {string} [userId]
7393
7410
  * @param {*} [options] Override http request option.
7394
7411
  * @throws {RequiredError}
7395
7412
  */
7396
- getEventById: (eventId_1, userId_1, ...args_1) => __awaiter(this, [eventId_1, userId_1, ...args_1], void 0, function* (eventId, userId, options = {}) {
7413
+ getEventById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
7397
7414
  // verify required parameter 'eventId' is not null or undefined
7398
7415
  (0, common_1.assertParamExists)('getEventById', 'eventId', eventId);
7399
7416
  const localVarPath = `/api/events/{eventId}`
@@ -7407,9 +7424,6 @@ const EventsApiAxiosParamCreator = function (configuration) {
7407
7424
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7408
7425
  const localVarHeaderParameter = {};
7409
7426
  const localVarQueryParameter = {};
7410
- if (userId !== undefined) {
7411
- localVarQueryParameter['userId'] = userId;
7412
- }
7413
7427
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7414
7428
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7415
7429
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7570,14 +7584,13 @@ const EventsApiFp = function (configuration) {
7570
7584
  /**
7571
7585
  * Get a specific event by ID
7572
7586
  * @param {string} eventId
7573
- * @param {string} [userId]
7574
7587
  * @param {*} [options] Override http request option.
7575
7588
  * @throws {RequiredError}
7576
7589
  */
7577
- getEventById(eventId, userId, options) {
7590
+ getEventById(eventId, options) {
7578
7591
  return __awaiter(this, void 0, void 0, function* () {
7579
7592
  var _a, _b, _c;
7580
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, userId, options);
7593
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, options);
7581
7594
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7582
7595
  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;
7583
7596
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7667,7 +7680,7 @@ const EventsApiFactory = function (configuration, basePath, axios) {
7667
7680
  * @throws {RequiredError}
7668
7681
  */
7669
7682
  getEventById(requestParameters, options) {
7670
- return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
7683
+ return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
7671
7684
  },
7672
7685
  /**
7673
7686
  * Get all published events for a club
@@ -7734,7 +7747,7 @@ class EventsApi extends base_1.BaseAPI {
7734
7747
  * @memberof EventsApi
7735
7748
  */
7736
7749
  getEventById(requestParameters, options) {
7737
- return (0, exports.EventsApiFp)(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
7750
+ return (0, exports.EventsApiFp)(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
7738
7751
  }
7739
7752
  /**
7740
7753
  * Get all published events for a club
@@ -9200,6 +9213,37 @@ exports.SportsPublicApi = SportsPublicApi;
9200
9213
  */
9201
9214
  const SubscriptionsManagerApiAxiosParamCreator = function (configuration) {
9202
9215
  return {
9216
+ /**
9217
+ * Supprime (archive) un plan par productId (manager)
9218
+ * @param {string} productId
9219
+ * @param {*} [options] Override http request option.
9220
+ * @throws {RequiredError}
9221
+ */
9222
+ archivePlan: (productId_1, ...args_1) => __awaiter(this, [productId_1, ...args_1], void 0, function* (productId, options = {}) {
9223
+ // verify required parameter 'productId' is not null or undefined
9224
+ (0, common_1.assertParamExists)('archivePlan', 'productId', productId);
9225
+ const localVarPath = `/api/subscriptions/plans/{productId}/archive`
9226
+ .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
9227
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9228
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9229
+ let baseOptions;
9230
+ if (configuration) {
9231
+ baseOptions = configuration.baseOptions;
9232
+ }
9233
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9234
+ const localVarHeaderParameter = {};
9235
+ const localVarQueryParameter = {};
9236
+ // authentication bearerAuth required
9237
+ // http bearer authentication required
9238
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9239
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9240
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9241
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9242
+ return {
9243
+ url: (0, common_1.toPathString)(localVarUrlObj),
9244
+ options: localVarRequestOptions,
9245
+ };
9246
+ }),
9203
9247
  /**
9204
9248
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9205
9249
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9233,7 +9277,7 @@ const SubscriptionsManagerApiAxiosParamCreator = function (configuration) {
9233
9277
  };
9234
9278
  }),
9235
9279
  /**
9236
- * Supprime (archive) un plan par productId (manager)
9280
+ * Supprime un plan par productId (manager)
9237
9281
  * @param {string} productId
9238
9282
  * @param {*} [options] Override http request option.
9239
9283
  * @throws {RequiredError}
@@ -9305,6 +9349,21 @@ exports.SubscriptionsManagerApiAxiosParamCreator = SubscriptionsManagerApiAxiosP
9305
9349
  const SubscriptionsManagerApiFp = function (configuration) {
9306
9350
  const localVarAxiosParamCreator = (0, exports.SubscriptionsManagerApiAxiosParamCreator)(configuration);
9307
9351
  return {
9352
+ /**
9353
+ * Supprime (archive) un plan par productId (manager)
9354
+ * @param {string} productId
9355
+ * @param {*} [options] Override http request option.
9356
+ * @throws {RequiredError}
9357
+ */
9358
+ archivePlan(productId, options) {
9359
+ return __awaiter(this, void 0, void 0, function* () {
9360
+ var _a, _b, _c;
9361
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archivePlan(productId, options);
9362
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9363
+ 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;
9364
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9365
+ });
9366
+ },
9308
9367
  /**
9309
9368
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9310
9369
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9321,7 +9380,7 @@ const SubscriptionsManagerApiFp = function (configuration) {
9321
9380
  });
9322
9381
  },
9323
9382
  /**
9324
- * Supprime (archive) un plan par productId (manager)
9383
+ * Supprime un plan par productId (manager)
9325
9384
  * @param {string} productId
9326
9385
  * @param {*} [options] Override http request option.
9327
9386
  * @throws {RequiredError}
@@ -9360,6 +9419,15 @@ exports.SubscriptionsManagerApiFp = SubscriptionsManagerApiFp;
9360
9419
  const SubscriptionsManagerApiFactory = function (configuration, basePath, axios) {
9361
9420
  const localVarFp = (0, exports.SubscriptionsManagerApiFp)(configuration);
9362
9421
  return {
9422
+ /**
9423
+ * Supprime (archive) un plan par productId (manager)
9424
+ * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9425
+ * @param {*} [options] Override http request option.
9426
+ * @throws {RequiredError}
9427
+ */
9428
+ archivePlan(requestParameters, options) {
9429
+ return localVarFp.archivePlan(requestParameters.productId, options).then((request) => request(axios, basePath));
9430
+ },
9363
9431
  /**
9364
9432
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9365
9433
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9370,7 +9438,7 @@ const SubscriptionsManagerApiFactory = function (configuration, basePath, axios)
9370
9438
  return localVarFp.createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(axios, basePath));
9371
9439
  },
9372
9440
  /**
9373
- * Supprime (archive) un plan par productId (manager)
9441
+ * Supprime un plan par productId (manager)
9374
9442
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9375
9443
  * @param {*} [options] Override http request option.
9376
9444
  * @throws {RequiredError}
@@ -9397,6 +9465,16 @@ exports.SubscriptionsManagerApiFactory = SubscriptionsManagerApiFactory;
9397
9465
  * @extends {BaseAPI}
9398
9466
  */
9399
9467
  class SubscriptionsManagerApi extends base_1.BaseAPI {
9468
+ /**
9469
+ * Supprime (archive) un plan par productId (manager)
9470
+ * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9471
+ * @param {*} [options] Override http request option.
9472
+ * @throws {RequiredError}
9473
+ * @memberof SubscriptionsManagerApi
9474
+ */
9475
+ archivePlan(requestParameters, options) {
9476
+ return (0, exports.SubscriptionsManagerApiFp)(this.configuration).archivePlan(requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
9477
+ }
9400
9478
  /**
9401
9479
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9402
9480
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9408,7 +9486,7 @@ class SubscriptionsManagerApi extends base_1.BaseAPI {
9408
9486
  return (0, exports.SubscriptionsManagerApiFp)(this.configuration).createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(this.axios, this.basePath));
9409
9487
  }
9410
9488
  /**
9411
- * Supprime (archive) un plan par productId (manager)
9489
+ * Supprime un plan par productId (manager)
9412
9490
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9413
9491
  * @param {*} [options] Override http request option.
9414
9492
  * @throws {RequiredError}
@@ -10664,41 +10742,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
10664
10742
  options: localVarRequestOptions,
10665
10743
  };
10666
10744
  }),
10667
- /**
10668
- *
10669
- * @param {number} [limit]
10670
- * @param {number} [skip]
10671
- * @param {*} [options] Override http request option.
10672
- * @throws {RequiredError}
10673
- */
10674
- getUserEvents: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
10675
- const localVarPath = `/api/users/me/events`;
10676
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10677
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10678
- let baseOptions;
10679
- if (configuration) {
10680
- baseOptions = configuration.baseOptions;
10681
- }
10682
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10683
- const localVarHeaderParameter = {};
10684
- const localVarQueryParameter = {};
10685
- // authentication bearerAuth required
10686
- // http bearer authentication required
10687
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10688
- if (limit !== undefined) {
10689
- localVarQueryParameter['limit'] = limit;
10690
- }
10691
- if (skip !== undefined) {
10692
- localVarQueryParameter['skip'] = skip;
10693
- }
10694
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10695
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10696
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10697
- return {
10698
- url: (0, common_1.toPathString)(localVarUrlObj),
10699
- options: localVarRequestOptions,
10700
- };
10701
- }),
10702
10745
  /**
10703
10746
  *
10704
10747
  * @param {string} id
@@ -11559,22 +11602,6 @@ const UsersApiFp = function (configuration) {
11559
11602
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11560
11603
  });
11561
11604
  },
11562
- /**
11563
- *
11564
- * @param {number} [limit]
11565
- * @param {number} [skip]
11566
- * @param {*} [options] Override http request option.
11567
- * @throws {RequiredError}
11568
- */
11569
- getUserEvents(limit, skip, options) {
11570
- return __awaiter(this, void 0, void 0, function* () {
11571
- var _a, _b, _c;
11572
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserEvents(limit, skip, options);
11573
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11574
- 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;
11575
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11576
- });
11577
- },
11578
11605
  /**
11579
11606
  *
11580
11607
  * @param {string} id
@@ -12017,15 +12044,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
12017
12044
  getUserBookings(requestParameters = {}, options) {
12018
12045
  return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
12019
12046
  },
12020
- /**
12021
- *
12022
- * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12023
- * @param {*} [options] Override http request option.
12024
- * @throws {RequiredError}
12025
- */
12026
- getUserEvents(requestParameters = {}, options) {
12027
- return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
12028
- },
12029
12047
  /**
12030
12048
  *
12031
12049
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -12369,16 +12387,6 @@ class UsersApi extends base_1.BaseAPI {
12369
12387
  getUserBookings(requestParameters = {}, options) {
12370
12388
  return (0, exports.UsersApiFp)(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12371
12389
  }
12372
- /**
12373
- *
12374
- * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12375
- * @param {*} [options] Override http request option.
12376
- * @throws {RequiredError}
12377
- * @memberof UsersApi
12378
- */
12379
- getUserEvents(requestParameters = {}, options) {
12380
- return (0, exports.UsersApiFp)(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12381
- }
12382
12390
  /**
12383
12391
  *
12384
12392
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.125
5
+ * The version of the OpenAPI document: 1.0.121
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.125
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).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.125
5
+ * The version of the OpenAPI document: 1.0.121
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.125
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).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.125
5
+ * The version of the OpenAPI document: 1.0.121
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.125
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).