@tennac-booking/sdk 1.0.127 → 1.0.129

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 (65) hide show
  1. package/.openapi-generator/FILES +346 -334
  2. package/README.md +24 -11
  3. package/api.ts +1006 -422
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +853 -357
  8. package/dist/api.js +317 -164
  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 +853 -357
  16. package/dist/esm/api.js +313 -160
  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/{PlanPriceInput.md → CheckInPlayersRequest.md} +5 -7
  29. package/docs/{CheckInPlayerResponse.md → CheckInPlayersResponse.md} +5 -5
  30. package/docs/ClubPlayerSubscriptionSummary.md +3 -3
  31. package/docs/ClubsStaffApi.md +0 -54
  32. package/docs/CreatePlan201Response.md +0 -2
  33. package/docs/CreateSubscriptionPlanRequest.md +2 -2
  34. package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -2
  35. package/docs/DeleteSubscriptionPlanResponse.md +0 -2
  36. package/docs/EventBookingDetailSummary.md +40 -0
  37. package/docs/EventBookingResponse.md +36 -0
  38. package/docs/EventBookingResponsePlayersInner.md +28 -0
  39. package/docs/{CheckInPlayerRequest.md → EventBookingResponsePlayersInnerInvoiceStatus.md} +3 -5
  40. package/docs/{GetClubType200Response.md → EventBookingResponseSetupStatus.md} +3 -5
  41. package/docs/EventBookingStatus.md +16 -0
  42. package/docs/EventsApi.md +4 -1
  43. package/docs/EventsManagerApi.md +110 -0
  44. package/docs/InvoiceStatusSETUPPENDING.md +8 -0
  45. package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
  46. package/docs/MonthlyTurnoverResponse.md +1 -0
  47. package/docs/OffPeakRule.md +0 -2
  48. package/docs/ParticipationType.md +10 -0
  49. package/docs/PublicSubscriptionPlanResponse.md +1 -5
  50. package/docs/PublishEventResponse.md +4 -0
  51. package/docs/RecurringDefinitionResponse.md +34 -0
  52. package/docs/SendSubscriptionInvitationRequest.md +0 -2
  53. package/docs/SubscriptionPlanResponse.md +1 -7
  54. package/docs/SubscriptionsManagerApi.md +1 -55
  55. package/docs/UpdateRecurringDefinition200Response.md +20 -0
  56. package/docs/UpdateRecurringDefinitionRequest.md +56 -0
  57. package/docs/UserEventParticipation.md +22 -0
  58. package/docs/UserEventSummary.md +44 -0
  59. package/docs/UserEventsResponse.md +28 -0
  60. package/docs/UsersApi.md +54 -0
  61. package/docs/VisibilityType.md +12 -0
  62. package/index.ts +1 -1
  63. package/package.json +1 -1
  64. package/docs/PlanPrice.md +0 -26
  65. package/docs/SubscriptionPlanDiscountResponse.md +0 -34
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.129
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -116,6 +116,18 @@ export const DiscountType = {
116
116
  Percentage: 'percentage',
117
117
  OffPeak: 'off_peak'
118
118
  };
119
+ /**
120
+ *
121
+ * @export
122
+ * @enum {string}
123
+ */
124
+ export const EventBookingStatus = {
125
+ Pending: 'pending',
126
+ Active: 'active',
127
+ Paid: 'paid',
128
+ Cancelled: 'cancelled',
129
+ Expired: 'expired'
130
+ };
119
131
  export const EventResponseTypeEnum = {
120
132
  Event: 'event',
121
133
  Closure: 'closure'
@@ -177,6 +189,31 @@ export const InvoiceStatus = {
177
189
  Canceled: 'canceled',
178
190
  Expired: 'expired'
179
191
  };
192
+ /**
193
+ *
194
+ * @export
195
+ * @enum {string}
196
+ */
197
+ export const InvoiceStatusSETUPPENDING = {
198
+ SetupPending: 'setup_pending'
199
+ };
200
+ /**
201
+ *
202
+ * @export
203
+ * @enum {string}
204
+ */
205
+ export const InvoiceStatusSETUPSUCCESS = {
206
+ SetupSuccess: 'setup_success'
207
+ };
208
+ /**
209
+ *
210
+ * @export
211
+ * @enum {string}
212
+ */
213
+ export const ParticipationType = {
214
+ Solo: 'solo',
215
+ Team: 'team'
216
+ };
180
217
  /**
181
218
  *
182
219
  * @export
@@ -212,6 +249,12 @@ export const PlayerCategoryId = {
212
249
  MostActive: 'most-active',
213
250
  Nearby: 'nearby'
214
251
  };
252
+ export const RecurringDefinitionResponseRecurringTypeEnum = {
253
+ Daily: 'daily',
254
+ Weekly: 'weekly',
255
+ Monthly: 'monthly',
256
+ Unique: 'unique'
257
+ };
215
258
  export const RegisterRequestBodyLocationTypeEnum = {
216
259
  Point: 'Point'
217
260
  };
@@ -387,9 +430,38 @@ export const UpdateEventRequestVisibilityTypeEnum = {
387
430
  Private: 'private',
388
431
  Invitation: 'invitation'
389
432
  };
433
+ export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
434
+ Public: 'public',
435
+ Private: 'private',
436
+ Invitation: 'invitation'
437
+ };
438
+ export const UpdateRecurringDefinitionRequestTypeEnum = {
439
+ Event: 'event',
440
+ Closure: 'closure'
441
+ };
442
+ export const UpdateRecurringDefinitionRequestParticipationTypeEnum = {
443
+ Solo: 'solo',
444
+ Team: 'team'
445
+ };
446
+ export const UpdateRecurringDefinitionRequestRecurringTypeEnum = {
447
+ Daily: 'daily',
448
+ Weekly: 'weekly',
449
+ Monthly: 'monthly',
450
+ Unique: 'unique'
451
+ };
390
452
  export const UserLocationSummaryTypeEnum = {
391
453
  Point: 'Point'
392
454
  };
455
+ /**
456
+ *
457
+ * @export
458
+ * @enum {string}
459
+ */
460
+ export const VisibilityType = {
461
+ Public: 'public',
462
+ Private: 'private',
463
+ Invitation: 'invitation'
464
+ };
393
465
  /**
394
466
  * BookingsApi - axios parameter creator
395
467
  * @export
@@ -844,17 +916,17 @@ export class BookingsManagerApi extends BaseAPI {
844
916
  export const BookingsStaffApiAxiosParamCreator = function (configuration) {
845
917
  return {
846
918
  /**
847
- * Check-in d\'un joueur (paiement en ligne ou sur place)
919
+ * Check-in des joueurs only for club with payment features
848
920
  * @param {string} bookingId
849
- * @param {CheckInPlayerRequest} checkInPlayerRequest
921
+ * @param {CheckInPlayersRequest} checkInPlayersRequest
850
922
  * @param {*} [options] Override http request option.
851
923
  * @throws {RequiredError}
852
924
  */
853
- checkInPlayer: (bookingId_1, checkInPlayerRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayerRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayerRequest, options = {}) {
925
+ checkInPlayers: (bookingId_1, checkInPlayersRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayersRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayersRequest, options = {}) {
854
926
  // verify required parameter 'bookingId' is not null or undefined
855
- assertParamExists('checkInPlayer', 'bookingId', bookingId);
856
- // verify required parameter 'checkInPlayerRequest' is not null or undefined
857
- assertParamExists('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest);
927
+ assertParamExists('checkInPlayers', 'bookingId', bookingId);
928
+ // verify required parameter 'checkInPlayersRequest' is not null or undefined
929
+ assertParamExists('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest);
858
930
  const localVarPath = `/api/bookings/{bookingId}/check-in`
859
931
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
860
932
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -873,7 +945,7 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration) {
873
945
  setSearchParams(localVarUrlObj, localVarQueryParameter);
874
946
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
875
947
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
876
- localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayerRequest, localVarRequestOptions, configuration);
948
+ localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayersRequest, localVarRequestOptions, configuration);
877
949
  return {
878
950
  url: toPathString(localVarUrlObj),
879
951
  options: localVarRequestOptions,
@@ -1123,18 +1195,18 @@ export const BookingsStaffApiFp = function (configuration) {
1123
1195
  const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration);
1124
1196
  return {
1125
1197
  /**
1126
- * Check-in d\'un joueur (paiement en ligne ou sur place)
1198
+ * Check-in des joueurs only for club with payment features
1127
1199
  * @param {string} bookingId
1128
- * @param {CheckInPlayerRequest} checkInPlayerRequest
1200
+ * @param {CheckInPlayersRequest} checkInPlayersRequest
1129
1201
  * @param {*} [options] Override http request option.
1130
1202
  * @throws {RequiredError}
1131
1203
  */
1132
- checkInPlayer(bookingId, checkInPlayerRequest, options) {
1204
+ checkInPlayers(bookingId, checkInPlayersRequest, options) {
1133
1205
  return __awaiter(this, void 0, void 0, function* () {
1134
1206
  var _a, _b, _c;
1135
- const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
1207
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
1136
1208
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1137
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.checkInPlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1209
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.checkInPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1138
1210
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1139
1211
  });
1140
1212
  },
@@ -1257,13 +1329,13 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
1257
1329
  const localVarFp = BookingsStaffApiFp(configuration);
1258
1330
  return {
1259
1331
  /**
1260
- * Check-in d\'un joueur (paiement en ligne ou sur place)
1261
- * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1332
+ * Check-in des joueurs only for club with payment features
1333
+ * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1262
1334
  * @param {*} [options] Override http request option.
1263
1335
  * @throws {RequiredError}
1264
1336
  */
1265
- checkInPlayer(requestParameters, options) {
1266
- return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
1337
+ checkInPlayers(requestParameters, options) {
1338
+ return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
1267
1339
  },
1268
1340
  /**
1269
1341
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -1338,14 +1410,14 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
1338
1410
  */
1339
1411
  export class BookingsStaffApi extends BaseAPI {
1340
1412
  /**
1341
- * Check-in d\'un joueur (paiement en ligne ou sur place)
1342
- * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1413
+ * Check-in des joueurs only for club with payment features
1414
+ * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1343
1415
  * @param {*} [options] Override http request option.
1344
1416
  * @throws {RequiredError}
1345
1417
  * @memberof BookingsStaffApi
1346
1418
  */
1347
- checkInPlayer(requestParameters, options) {
1348
- return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
1419
+ checkInPlayers(requestParameters, options) {
1420
+ return BookingsStaffApiFp(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
1349
1421
  }
1350
1422
  /**
1351
1423
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -6598,37 +6670,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
6598
6670
  options: localVarRequestOptions,
6599
6671
  };
6600
6672
  }),
6601
- /**
6602
- *
6603
- * @param {string} clubId
6604
- * @param {*} [options] Override http request option.
6605
- * @throws {RequiredError}
6606
- */
6607
- getClubType: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
6608
- // verify required parameter 'clubId' is not null or undefined
6609
- assertParamExists('getClubType', 'clubId', clubId);
6610
- const localVarPath = `/api/clubs/{clubId}/clubType`
6611
- .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
6612
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6613
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6614
- let baseOptions;
6615
- if (configuration) {
6616
- baseOptions = configuration.baseOptions;
6617
- }
6618
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6619
- const localVarHeaderParameter = {};
6620
- const localVarQueryParameter = {};
6621
- // authentication bearerAuth required
6622
- // http bearer authentication required
6623
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6624
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6625
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6626
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6627
- return {
6628
- url: toPathString(localVarUrlObj),
6629
- options: localVarRequestOptions,
6630
- };
6631
- }),
6632
6673
  /**
6633
6674
  * Récupère les terrains d\'un club
6634
6675
  * @param {*} [options] Override http request option.
@@ -6873,21 +6914,6 @@ export const ClubsStaffApiFp = function (configuration) {
6873
6914
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6874
6915
  });
6875
6916
  },
6876
- /**
6877
- *
6878
- * @param {string} clubId
6879
- * @param {*} [options] Override http request option.
6880
- * @throws {RequiredError}
6881
- */
6882
- getClubType(clubId, options) {
6883
- return __awaiter(this, void 0, void 0, function* () {
6884
- var _a, _b, _c;
6885
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(clubId, options);
6886
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6887
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6888
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6889
- });
6890
- },
6891
6917
  /**
6892
6918
  * Récupère les terrains d\'un club
6893
6919
  * @param {*} [options] Override http request option.
@@ -7012,15 +7038,6 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
7012
7038
  getClubRoles(options) {
7013
7039
  return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
7014
7040
  },
7015
- /**
7016
- *
7017
- * @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
7018
- * @param {*} [options] Override http request option.
7019
- * @throws {RequiredError}
7020
- */
7021
- getClubType(requestParameters, options) {
7022
- return localVarFp.getClubType(requestParameters.clubId, options).then((request) => request(axios, basePath));
7023
- },
7024
7041
  /**
7025
7042
  * Récupère les terrains d\'un club
7026
7043
  * @param {*} [options] Override http request option.
@@ -7120,16 +7137,6 @@ export class ClubsStaffApi extends BaseAPI {
7120
7137
  getClubRoles(options) {
7121
7138
  return ClubsStaffApiFp(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
7122
7139
  }
7123
- /**
7124
- *
7125
- * @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
7126
- * @param {*} [options] Override http request option.
7127
- * @throws {RequiredError}
7128
- * @memberof ClubsStaffApi
7129
- */
7130
- getClubType(requestParameters, options) {
7131
- return ClubsStaffApiFp(this.configuration).getClubType(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
7132
- }
7133
7140
  /**
7134
7141
  * Récupère les terrains d\'un club
7135
7142
  * @param {*} [options] Override http request option.
@@ -7341,10 +7348,11 @@ export const EventsApiAxiosParamCreator = function (configuration) {
7341
7348
  /**
7342
7349
  * Get a specific event by ID
7343
7350
  * @param {string} eventId
7351
+ * @param {string} [userId]
7344
7352
  * @param {*} [options] Override http request option.
7345
7353
  * @throws {RequiredError}
7346
7354
  */
7347
- getEventById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
7355
+ getEventById: (eventId_1, userId_1, ...args_1) => __awaiter(this, [eventId_1, userId_1, ...args_1], void 0, function* (eventId, userId, options = {}) {
7348
7356
  // verify required parameter 'eventId' is not null or undefined
7349
7357
  assertParamExists('getEventById', 'eventId', eventId);
7350
7358
  const localVarPath = `/api/events/{eventId}`
@@ -7358,6 +7366,9 @@ export const EventsApiAxiosParamCreator = function (configuration) {
7358
7366
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7359
7367
  const localVarHeaderParameter = {};
7360
7368
  const localVarQueryParameter = {};
7369
+ if (userId !== undefined) {
7370
+ localVarQueryParameter['userId'] = userId;
7371
+ }
7361
7372
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7362
7373
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7363
7374
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7517,13 +7528,14 @@ export const EventsApiFp = function (configuration) {
7517
7528
  /**
7518
7529
  * Get a specific event by ID
7519
7530
  * @param {string} eventId
7531
+ * @param {string} [userId]
7520
7532
  * @param {*} [options] Override http request option.
7521
7533
  * @throws {RequiredError}
7522
7534
  */
7523
- getEventById(eventId, options) {
7535
+ getEventById(eventId, userId, options) {
7524
7536
  return __awaiter(this, void 0, void 0, function* () {
7525
7537
  var _a, _b, _c;
7526
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, options);
7538
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, userId, options);
7527
7539
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7528
7540
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7529
7541
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7612,7 +7624,7 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
7612
7624
  * @throws {RequiredError}
7613
7625
  */
7614
7626
  getEventById(requestParameters, options) {
7615
- return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
7627
+ return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
7616
7628
  },
7617
7629
  /**
7618
7630
  * Get all published events for a club
@@ -7678,7 +7690,7 @@ export class EventsApi extends BaseAPI {
7678
7690
  * @memberof EventsApi
7679
7691
  */
7680
7692
  getEventById(requestParameters, options) {
7681
- return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
7693
+ return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
7682
7694
  }
7683
7695
  /**
7684
7696
  * Get all published events for a club
@@ -7827,6 +7839,37 @@ export const EventsManagerApiAxiosParamCreator = function (configuration) {
7827
7839
  options: localVarRequestOptions,
7828
7840
  };
7829
7841
  }),
7842
+ /**
7843
+ * List recurring definitions about to expire within `days` (manager)
7844
+ * @param {number} [days]
7845
+ * @param {*} [options] Override http request option.
7846
+ * @throws {RequiredError}
7847
+ */
7848
+ getExpiringRecurringDefinitions: (days_1, ...args_1) => __awaiter(this, [days_1, ...args_1], void 0, function* (days, options = {}) {
7849
+ const localVarPath = `/api/events/manager/recurring/expiring`;
7850
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7852
+ let baseOptions;
7853
+ if (configuration) {
7854
+ baseOptions = configuration.baseOptions;
7855
+ }
7856
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7857
+ const localVarHeaderParameter = {};
7858
+ const localVarQueryParameter = {};
7859
+ // authentication bearerAuth required
7860
+ // http bearer authentication required
7861
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7862
+ if (days !== undefined) {
7863
+ localVarQueryParameter['days'] = days;
7864
+ }
7865
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7866
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7867
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7868
+ return {
7869
+ url: toPathString(localVarUrlObj),
7870
+ options: localVarRequestOptions,
7871
+ };
7872
+ }),
7830
7873
  /**
7831
7874
  * Publish an event (manager)
7832
7875
  * @param {string} eventId
@@ -7961,6 +8004,42 @@ export const EventsManagerApiAxiosParamCreator = function (configuration) {
7961
8004
  options: localVarRequestOptions,
7962
8005
  };
7963
8006
  }),
8007
+ /**
8008
+ * Update a recurring event definition (manager) and propagate changes to generated Events
8009
+ * @param {string} definitionId
8010
+ * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
8011
+ * @param {*} [options] Override http request option.
8012
+ * @throws {RequiredError}
8013
+ */
8014
+ updateRecurringDefinition: (definitionId_1, updateRecurringDefinitionRequest_1, ...args_1) => __awaiter(this, [definitionId_1, updateRecurringDefinitionRequest_1, ...args_1], void 0, function* (definitionId, updateRecurringDefinitionRequest, options = {}) {
8015
+ // verify required parameter 'definitionId' is not null or undefined
8016
+ assertParamExists('updateRecurringDefinition', 'definitionId', definitionId);
8017
+ // verify required parameter 'updateRecurringDefinitionRequest' is not null or undefined
8018
+ assertParamExists('updateRecurringDefinition', 'updateRecurringDefinitionRequest', updateRecurringDefinitionRequest);
8019
+ const localVarPath = `/api/events/manager/recurring/{definitionId}`
8020
+ .replace(`{${"definitionId"}}`, encodeURIComponent(String(definitionId)));
8021
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8022
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8023
+ let baseOptions;
8024
+ if (configuration) {
8025
+ baseOptions = configuration.baseOptions;
8026
+ }
8027
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
8028
+ const localVarHeaderParameter = {};
8029
+ const localVarQueryParameter = {};
8030
+ // authentication bearerAuth required
8031
+ // http bearer authentication required
8032
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8033
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8034
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8035
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8036
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8037
+ localVarRequestOptions.data = serializeDataIfNeeded(updateRecurringDefinitionRequest, localVarRequestOptions, configuration);
8038
+ return {
8039
+ url: toPathString(localVarUrlObj),
8040
+ options: localVarRequestOptions,
8041
+ };
8042
+ }),
7964
8043
  };
7965
8044
  };
7966
8045
  /**
@@ -8015,6 +8094,21 @@ export const EventsManagerApiFp = function (configuration) {
8015
8094
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8016
8095
  });
8017
8096
  },
8097
+ /**
8098
+ * List recurring definitions about to expire within `days` (manager)
8099
+ * @param {number} [days]
8100
+ * @param {*} [options] Override http request option.
8101
+ * @throws {RequiredError}
8102
+ */
8103
+ getExpiringRecurringDefinitions(days, options) {
8104
+ return __awaiter(this, void 0, void 0, function* () {
8105
+ var _a, _b, _c;
8106
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getExpiringRecurringDefinitions(days, options);
8107
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8108
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsManagerApi.getExpiringRecurringDefinitions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8109
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8110
+ });
8111
+ },
8018
8112
  /**
8019
8113
  * Publish an event (manager)
8020
8114
  * @param {string} eventId
@@ -8077,6 +8171,22 @@ export const EventsManagerApiFp = function (configuration) {
8077
8171
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8078
8172
  });
8079
8173
  },
8174
+ /**
8175
+ * Update a recurring event definition (manager) and propagate changes to generated Events
8176
+ * @param {string} definitionId
8177
+ * @param {UpdateRecurringDefinitionRequest} updateRecurringDefinitionRequest
8178
+ * @param {*} [options] Override http request option.
8179
+ * @throws {RequiredError}
8180
+ */
8181
+ updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options) {
8182
+ return __awaiter(this, void 0, void 0, function* () {
8183
+ var _a, _b, _c;
8184
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRecurringDefinition(definitionId, updateRecurringDefinitionRequest, options);
8185
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8186
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsManagerApi.updateRecurringDefinition']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8187
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8188
+ });
8189
+ },
8080
8190
  };
8081
8191
  };
8082
8192
  /**
@@ -8113,6 +8223,15 @@ export const EventsManagerApiFactory = function (configuration, basePath, axios)
8113
8223
  deleteEvent(requestParameters, options) {
8114
8224
  return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
8115
8225
  },
8226
+ /**
8227
+ * List recurring definitions about to expire within `days` (manager)
8228
+ * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
8229
+ * @param {*} [options] Override http request option.
8230
+ * @throws {RequiredError}
8231
+ */
8232
+ getExpiringRecurringDefinitions(requestParameters = {}, options) {
8233
+ return localVarFp.getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(axios, basePath));
8234
+ },
8116
8235
  /**
8117
8236
  * Publish an event (manager)
8118
8237
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -8149,6 +8268,15 @@ export const EventsManagerApiFactory = function (configuration, basePath, axios)
8149
8268
  updatePublishedEvent(requestParameters, options) {
8150
8269
  return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
8151
8270
  },
8271
+ /**
8272
+ * Update a recurring event definition (manager) and propagate changes to generated Events
8273
+ * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
8274
+ * @param {*} [options] Override http request option.
8275
+ * @throws {RequiredError}
8276
+ */
8277
+ updateRecurringDefinition(requestParameters, options) {
8278
+ return localVarFp.updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(axios, basePath));
8279
+ },
8152
8280
  };
8153
8281
  };
8154
8282
  /**
@@ -8188,6 +8316,16 @@ export class EventsManagerApi extends BaseAPI {
8188
8316
  deleteEvent(requestParameters, options) {
8189
8317
  return EventsManagerApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
8190
8318
  }
8319
+ /**
8320
+ * List recurring definitions about to expire within `days` (manager)
8321
+ * @param {EventsManagerApiGetExpiringRecurringDefinitionsRequest} requestParameters Request parameters.
8322
+ * @param {*} [options] Override http request option.
8323
+ * @throws {RequiredError}
8324
+ * @memberof EventsManagerApi
8325
+ */
8326
+ getExpiringRecurringDefinitions(requestParameters = {}, options) {
8327
+ return EventsManagerApiFp(this.configuration).getExpiringRecurringDefinitions(requestParameters.days, options).then((request) => request(this.axios, this.basePath));
8328
+ }
8191
8329
  /**
8192
8330
  * Publish an event (manager)
8193
8331
  * @param {EventsManagerApiPublishEventRequest} requestParameters Request parameters.
@@ -8228,6 +8366,16 @@ export class EventsManagerApi extends BaseAPI {
8228
8366
  updatePublishedEvent(requestParameters, options) {
8229
8367
  return EventsManagerApiFp(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
8230
8368
  }
8369
+ /**
8370
+ * Update a recurring event definition (manager) and propagate changes to generated Events
8371
+ * @param {EventsManagerApiUpdateRecurringDefinitionRequest} requestParameters Request parameters.
8372
+ * @param {*} [options] Override http request option.
8373
+ * @throws {RequiredError}
8374
+ * @memberof EventsManagerApi
8375
+ */
8376
+ updateRecurringDefinition(requestParameters, options) {
8377
+ return EventsManagerApiFp(this.configuration).updateRecurringDefinition(requestParameters.definitionId, requestParameters.updateRecurringDefinitionRequest, options).then((request) => request(this.axios, this.basePath));
8378
+ }
8231
8379
  }
8232
8380
  /**
8233
8381
  * EventsStaffApi - axios parameter creator
@@ -9123,37 +9271,6 @@ export class SportsPublicApi extends BaseAPI {
9123
9271
  */
9124
9272
  export const SubscriptionsManagerApiAxiosParamCreator = function (configuration) {
9125
9273
  return {
9126
- /**
9127
- * Supprime (archive) un plan par productId (manager)
9128
- * @param {string} productId
9129
- * @param {*} [options] Override http request option.
9130
- * @throws {RequiredError}
9131
- */
9132
- archivePlan: (productId_1, ...args_1) => __awaiter(this, [productId_1, ...args_1], void 0, function* (productId, options = {}) {
9133
- // verify required parameter 'productId' is not null or undefined
9134
- assertParamExists('archivePlan', 'productId', productId);
9135
- const localVarPath = `/api/subscriptions/plans/{productId}/archive`
9136
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
9137
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9138
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9139
- let baseOptions;
9140
- if (configuration) {
9141
- baseOptions = configuration.baseOptions;
9142
- }
9143
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9144
- const localVarHeaderParameter = {};
9145
- const localVarQueryParameter = {};
9146
- // authentication bearerAuth required
9147
- // http bearer authentication required
9148
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9149
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9150
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9151
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9152
- return {
9153
- url: toPathString(localVarUrlObj),
9154
- options: localVarRequestOptions,
9155
- };
9156
- }),
9157
9274
  /**
9158
9275
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9159
9276
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9187,7 +9304,7 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration)
9187
9304
  };
9188
9305
  }),
9189
9306
  /**
9190
- * Supprime un plan par productId (manager)
9307
+ * Supprime (archive) un plan par productId (manager)
9191
9308
  * @param {string} productId
9192
9309
  * @param {*} [options] Override http request option.
9193
9310
  * @throws {RequiredError}
@@ -9258,21 +9375,6 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration)
9258
9375
  export const SubscriptionsManagerApiFp = function (configuration) {
9259
9376
  const localVarAxiosParamCreator = SubscriptionsManagerApiAxiosParamCreator(configuration);
9260
9377
  return {
9261
- /**
9262
- * Supprime (archive) un plan par productId (manager)
9263
- * @param {string} productId
9264
- * @param {*} [options] Override http request option.
9265
- * @throws {RequiredError}
9266
- */
9267
- archivePlan(productId, options) {
9268
- return __awaiter(this, void 0, void 0, function* () {
9269
- var _a, _b, _c;
9270
- const localVarAxiosArgs = yield localVarAxiosParamCreator.archivePlan(productId, options);
9271
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9272
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsManagerApi.archivePlan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9273
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9274
- });
9275
- },
9276
9378
  /**
9277
9379
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9278
9380
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9289,7 +9391,7 @@ export const SubscriptionsManagerApiFp = function (configuration) {
9289
9391
  });
9290
9392
  },
9291
9393
  /**
9292
- * Supprime un plan par productId (manager)
9394
+ * Supprime (archive) un plan par productId (manager)
9293
9395
  * @param {string} productId
9294
9396
  * @param {*} [options] Override http request option.
9295
9397
  * @throws {RequiredError}
@@ -9327,15 +9429,6 @@ export const SubscriptionsManagerApiFp = function (configuration) {
9327
9429
  export const SubscriptionsManagerApiFactory = function (configuration, basePath, axios) {
9328
9430
  const localVarFp = SubscriptionsManagerApiFp(configuration);
9329
9431
  return {
9330
- /**
9331
- * Supprime (archive) un plan par productId (manager)
9332
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9333
- * @param {*} [options] Override http request option.
9334
- * @throws {RequiredError}
9335
- */
9336
- archivePlan(requestParameters, options) {
9337
- return localVarFp.archivePlan(requestParameters.productId, options).then((request) => request(axios, basePath));
9338
- },
9339
9432
  /**
9340
9433
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9341
9434
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9346,7 +9439,7 @@ export const SubscriptionsManagerApiFactory = function (configuration, basePath,
9346
9439
  return localVarFp.createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(axios, basePath));
9347
9440
  },
9348
9441
  /**
9349
- * Supprime un plan par productId (manager)
9442
+ * Supprime (archive) un plan par productId (manager)
9350
9443
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9351
9444
  * @param {*} [options] Override http request option.
9352
9445
  * @throws {RequiredError}
@@ -9372,16 +9465,6 @@ export const SubscriptionsManagerApiFactory = function (configuration, basePath,
9372
9465
  * @extends {BaseAPI}
9373
9466
  */
9374
9467
  export class SubscriptionsManagerApi extends BaseAPI {
9375
- /**
9376
- * Supprime (archive) un plan par productId (manager)
9377
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9378
- * @param {*} [options] Override http request option.
9379
- * @throws {RequiredError}
9380
- * @memberof SubscriptionsManagerApi
9381
- */
9382
- archivePlan(requestParameters, options) {
9383
- return SubscriptionsManagerApiFp(this.configuration).archivePlan(requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
9384
- }
9385
9468
  /**
9386
9469
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9387
9470
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9393,7 +9476,7 @@ export class SubscriptionsManagerApi extends BaseAPI {
9393
9476
  return SubscriptionsManagerApiFp(this.configuration).createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(this.axios, this.basePath));
9394
9477
  }
9395
9478
  /**
9396
- * Supprime un plan par productId (manager)
9479
+ * Supprime (archive) un plan par productId (manager)
9397
9480
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9398
9481
  * @param {*} [options] Override http request option.
9399
9482
  * @throws {RequiredError}
@@ -10632,6 +10715,41 @@ export const UsersApiAxiosParamCreator = function (configuration) {
10632
10715
  options: localVarRequestOptions,
10633
10716
  };
10634
10717
  }),
10718
+ /**
10719
+ *
10720
+ * @param {number} [limit]
10721
+ * @param {number} [skip]
10722
+ * @param {*} [options] Override http request option.
10723
+ * @throws {RequiredError}
10724
+ */
10725
+ getUserEvents: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
10726
+ const localVarPath = `/api/users/me/events`;
10727
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10728
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10729
+ let baseOptions;
10730
+ if (configuration) {
10731
+ baseOptions = configuration.baseOptions;
10732
+ }
10733
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10734
+ const localVarHeaderParameter = {};
10735
+ const localVarQueryParameter = {};
10736
+ // authentication bearerAuth required
10737
+ // http bearer authentication required
10738
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10739
+ if (limit !== undefined) {
10740
+ localVarQueryParameter['limit'] = limit;
10741
+ }
10742
+ if (skip !== undefined) {
10743
+ localVarQueryParameter['skip'] = skip;
10744
+ }
10745
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10746
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10747
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10748
+ return {
10749
+ url: toPathString(localVarUrlObj),
10750
+ options: localVarRequestOptions,
10751
+ };
10752
+ }),
10635
10753
  /**
10636
10754
  *
10637
10755
  * @param {string} id
@@ -11491,6 +11609,22 @@ export const UsersApiFp = function (configuration) {
11491
11609
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11492
11610
  });
11493
11611
  },
11612
+ /**
11613
+ *
11614
+ * @param {number} [limit]
11615
+ * @param {number} [skip]
11616
+ * @param {*} [options] Override http request option.
11617
+ * @throws {RequiredError}
11618
+ */
11619
+ getUserEvents(limit, skip, options) {
11620
+ return __awaiter(this, void 0, void 0, function* () {
11621
+ var _a, _b, _c;
11622
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserEvents(limit, skip, options);
11623
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11624
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.getUserEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11625
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11626
+ });
11627
+ },
11494
11628
  /**
11495
11629
  *
11496
11630
  * @param {string} id
@@ -11932,6 +12066,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
11932
12066
  getUserBookings(requestParameters = {}, options) {
11933
12067
  return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
11934
12068
  },
12069
+ /**
12070
+ *
12071
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12072
+ * @param {*} [options] Override http request option.
12073
+ * @throws {RequiredError}
12074
+ */
12075
+ getUserEvents(requestParameters = {}, options) {
12076
+ return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
12077
+ },
11935
12078
  /**
11936
12079
  *
11937
12080
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -12274,6 +12417,16 @@ export class UsersApi extends BaseAPI {
12274
12417
  getUserBookings(requestParameters = {}, options) {
12275
12418
  return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12276
12419
  }
12420
+ /**
12421
+ *
12422
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12423
+ * @param {*} [options] Override http request option.
12424
+ * @throws {RequiredError}
12425
+ * @memberof UsersApi
12426
+ */
12427
+ getUserEvents(requestParameters = {}, options) {
12428
+ return UsersApiFp(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12429
+ }
12277
12430
  /**
12278
12431
  *
12279
12432
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.