@tennac-booking/sdk 1.0.70 → 1.0.72

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 (57) hide show
  1. package/.openapi-generator/FILES +239 -230
  2. package/README.md +18 -5
  3. package/api.ts +1187 -155
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1097 -274
  8. package/dist/api.js +413 -50
  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 +1097 -274
  16. package/dist/esm/api.js +410 -47
  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/BookingPriceBody.md +22 -0
  28. package/docs/BookingStatus.md +2 -0
  29. package/docs/BookingsApi.md +52 -0
  30. package/docs/BookingsStaffApi.md +1 -1
  31. package/docs/CheckInPlayersResponse.md +2 -10
  32. package/docs/ClubResponse.md +8 -0
  33. package/docs/ClubsApi.md +2 -2
  34. package/docs/CreateEventRequest.md +26 -0
  35. package/docs/CreateSportForClubRequest.md +6 -0
  36. package/docs/CreateSportRequest.md +8 -2
  37. package/docs/EventResponse.md +26 -0
  38. package/docs/EventsApi.md +131 -12
  39. package/docs/EventsManagerApi.md +59 -0
  40. package/docs/JoinEventRequest.md +22 -0
  41. package/docs/JoinEventResponse.md +22 -0
  42. package/docs/PartialClubResponse.md +8 -0
  43. package/docs/PlayerPrice.md +30 -0
  44. package/docs/SportKey.md +14 -0
  45. package/docs/SportLevel.md +22 -0
  46. package/docs/SportResponse.md +10 -5
  47. package/docs/SportWithLevels.md +30 -0
  48. package/docs/SportsManagerApi.md +6 -3
  49. package/docs/SportsStaffApi.md +3 -3
  50. package/docs/SubscriberPrice.md +22 -0
  51. package/docs/SubscriptionInfo.md +24 -0
  52. package/docs/{GetSportsByClubById200Response.md → Team.md} +7 -5
  53. package/docs/UpdateEventRequest.md +54 -0
  54. package/docs/UpdateSportRequest.md +9 -1
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
  57. package/docs/SportWithAnalytics.md +0 -36
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.68
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,6 +38,7 @@ export const BookingHistoryPopulatedPerformedByTypeEnum = {
38
38
  */
39
39
  export const BookingStatus = {
40
40
  Paid: 'paid',
41
+ Validated: 'validated',
41
42
  Active: 'active',
42
43
  Pending: 'pending',
43
44
  ActivePaymentsTimeout: 'active_payments_timeout',
@@ -71,6 +72,25 @@ export const CreateClubRoleRequestRoleEnum = {
71
72
  Manager: 'manager',
72
73
  Staff: 'staff'
73
74
  };
75
+ export const CreateEventRequestTypeEnum = {
76
+ Event: 'event',
77
+ Closure: 'closure'
78
+ };
79
+ export const CreateEventRequestRecurringTypeEnum = {
80
+ Unique: 'unique',
81
+ Daily: 'daily',
82
+ Weekly: 'weekly',
83
+ Monthly: 'monthly'
84
+ };
85
+ export const CreateEventRequestParticipationTypeEnum = {
86
+ Solo: 'solo',
87
+ Team: 'team'
88
+ };
89
+ export const CreateEventRequestVisibilityTypeEnum = {
90
+ Public: 'public',
91
+ Private: 'private',
92
+ Invitation: 'invitation'
93
+ };
74
94
  /**
75
95
  *
76
96
  * @export
@@ -82,6 +102,25 @@ export const DiscountType = {
82
102
  Percentage: 'percentage',
83
103
  OffPeak: 'off_peak'
84
104
  };
105
+ export const EventResponseTypeEnum = {
106
+ Event: 'event',
107
+ Closure: 'closure'
108
+ };
109
+ export const EventResponseRecurringTypeEnum = {
110
+ Unique: 'unique',
111
+ Daily: 'daily',
112
+ Weekly: 'weekly',
113
+ Monthly: 'monthly'
114
+ };
115
+ export const EventResponseParticipationTypeEnum = {
116
+ Solo: 'solo',
117
+ Team: 'team'
118
+ };
119
+ export const EventResponseVisibilityTypeEnum = {
120
+ Public: 'public',
121
+ Private: 'private',
122
+ Invitation: 'invitation'
123
+ };
85
124
  /**
86
125
  *
87
126
  * @export
@@ -131,6 +170,17 @@ export const PlayerCategoryId = {
131
170
  export const RegisterRequestBodyLocationTypeEnum = {
132
171
  Point: 'Point'
133
172
  };
173
+ /**
174
+ *
175
+ * @export
176
+ * @enum {string}
177
+ */
178
+ export const SportKey = {
179
+ Padel: 'Padel',
180
+ Tennis: 'Tennis',
181
+ Pickleball: 'Pickleball',
182
+ Autres: 'Autres'
183
+ };
134
184
  export const StripeStripeDeletedProductObjectEnum = {
135
185
  Product: 'product'
136
186
  };
@@ -255,6 +305,25 @@ export const UpdateClubRoleRequestRoleEnum = {
255
305
  Manager: 'manager',
256
306
  Staff: 'staff'
257
307
  };
308
+ export const UpdateEventRequestTypeEnum = {
309
+ Event: 'event',
310
+ Closure: 'closure'
311
+ };
312
+ export const UpdateEventRequestRecurringTypeEnum = {
313
+ Unique: 'unique',
314
+ Daily: 'daily',
315
+ Weekly: 'weekly',
316
+ Monthly: 'monthly'
317
+ };
318
+ export const UpdateEventRequestParticipationTypeEnum = {
319
+ Solo: 'solo',
320
+ Team: 'team'
321
+ };
322
+ export const UpdateEventRequestVisibilityTypeEnum = {
323
+ Public: 'public',
324
+ Private: 'private',
325
+ Invitation: 'invitation'
326
+ };
258
327
  export const UserLocationSummaryTypeEnum = {
259
328
  Point: 'Point'
260
329
  };
@@ -295,6 +364,38 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
295
364
  options: localVarRequestOptions,
296
365
  };
297
366
  }),
367
+ /**
368
+ *
369
+ * @param {BookingPriceBody} bookingPriceBody
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
374
+ // verify required parameter 'bookingPriceBody' is not null or undefined
375
+ assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
376
+ const localVarPath = `/api/bookings/booking-price`;
377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
379
+ let baseOptions;
380
+ if (configuration) {
381
+ baseOptions = configuration.baseOptions;
382
+ }
383
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
384
+ const localVarHeaderParameter = {};
385
+ const localVarQueryParameter = {};
386
+ // authentication bearerAuth required
387
+ // http bearer authentication required
388
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
389
+ localVarHeaderParameter['Content-Type'] = 'application/json';
390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
392
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
393
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration);
394
+ return {
395
+ url: toPathString(localVarUrlObj),
396
+ options: localVarRequestOptions,
397
+ };
398
+ }),
298
399
  /**
299
400
  * Recherche des créneaux disponibles pour une réservation rapide
300
401
  * @param {number} [latitude]
@@ -383,6 +484,21 @@ export const BookingsApiFp = function (configuration) {
383
484
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
384
485
  });
385
486
  },
487
+ /**
488
+ *
489
+ * @param {BookingPriceBody} bookingPriceBody
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ getBookingPrice(bookingPriceBody, options) {
494
+ return __awaiter(this, void 0, void 0, function* () {
495
+ var _a, _b, _c;
496
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
497
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
498
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
499
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
500
+ });
501
+ },
386
502
  /**
387
503
  * Recherche des créneaux disponibles pour une réservation rapide
388
504
  * @param {number} [latitude]
@@ -425,6 +541,15 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
425
541
  getBookingHistory(requestParameters, options) {
426
542
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
427
543
  },
544
+ /**
545
+ *
546
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ */
550
+ getBookingPrice(requestParameters, options) {
551
+ return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
552
+ },
428
553
  /**
429
554
  * Recherche des créneaux disponibles pour une réservation rapide
430
555
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -453,6 +578,16 @@ export class BookingsApi extends BaseAPI {
453
578
  getBookingHistory(requestParameters, options) {
454
579
  return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
455
580
  }
581
+ /**
582
+ *
583
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ * @memberof BookingsApi
587
+ */
588
+ getBookingPrice(requestParameters, options) {
589
+ return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
590
+ }
456
591
  /**
457
592
  * Recherche des créneaux disponibles pour une réservation rapide
458
593
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -641,7 +776,7 @@ export class BookingsManagerApi extends BaseAPI {
641
776
  export const BookingsStaffApiAxiosParamCreator = function (configuration) {
642
777
  return {
643
778
  /**
644
- * Check-in des joueurs
779
+ * Check-in des joueurs only for club with payment features
645
780
  * @param {string} bookingId
646
781
  * @param {CheckInPlayersRequest} checkInPlayersRequest
647
782
  * @param {*} [options] Override http request option.
@@ -841,7 +976,7 @@ export const BookingsStaffApiFp = function (configuration) {
841
976
  const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration);
842
977
  return {
843
978
  /**
844
- * Check-in des joueurs
979
+ * Check-in des joueurs only for club with payment features
845
980
  * @param {string} bookingId
846
981
  * @param {CheckInPlayersRequest} checkInPlayersRequest
847
982
  * @param {*} [options] Override http request option.
@@ -941,7 +1076,7 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
941
1076
  const localVarFp = BookingsStaffApiFp(configuration);
942
1077
  return {
943
1078
  /**
944
- * Check-in des joueurs
1079
+ * Check-in des joueurs only for club with payment features
945
1080
  * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
946
1081
  * @param {*} [options] Override http request option.
947
1082
  * @throws {RequiredError}
@@ -1004,7 +1139,7 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
1004
1139
  */
1005
1140
  export class BookingsStaffApi extends BaseAPI {
1006
1141
  /**
1007
- * Check-in des joueurs
1142
+ * Check-in des joueurs only for club with payment features
1008
1143
  * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1009
1144
  * @param {*} [options] Override http request option.
1010
1145
  * @throws {RequiredError}
@@ -5334,13 +5469,44 @@ export class DefaultApi extends BaseAPI {
5334
5469
  */
5335
5470
  export const EventsApiAxiosParamCreator = function (configuration) {
5336
5471
  return {
5472
+ /**
5473
+ * Get a specific event by ID
5474
+ * @param {string} eventId
5475
+ * @param {*} [options] Override http request option.
5476
+ * @throws {RequiredError}
5477
+ */
5478
+ getEventById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
5479
+ // verify required parameter 'eventId' is not null or undefined
5480
+ assertParamExists('getEventById', 'eventId', eventId);
5481
+ const localVarPath = `/api/events/{eventId}`
5482
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
5483
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5484
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5485
+ let baseOptions;
5486
+ if (configuration) {
5487
+ baseOptions = configuration.baseOptions;
5488
+ }
5489
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5490
+ const localVarHeaderParameter = {};
5491
+ const localVarQueryParameter = {};
5492
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5493
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5494
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5495
+ return {
5496
+ url: toPathString(localVarUrlObj),
5497
+ options: localVarRequestOptions,
5498
+ };
5499
+ }),
5337
5500
  /**
5338
5501
  * Get all published events for a club
5339
5502
  * @param {string} [clubId]
5503
+ * @param {GetPublishedEventsByClubIdVisibilityTypeEnum} [visibilityType]
5504
+ * @param {GetPublishedEventsByClubIdTypeEnum} [type]
5505
+ * @param {string} [sportId]
5340
5506
  * @param {*} [options] Override http request option.
5341
5507
  * @throws {RequiredError}
5342
5508
  */
5343
- getPublishedEventsByClubId: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
5509
+ getPublishedEventsByClubId: (clubId_1, visibilityType_1, type_1, sportId_1, ...args_1) => __awaiter(this, [clubId_1, visibilityType_1, type_1, sportId_1, ...args_1], void 0, function* (clubId, visibilityType, type, sportId, options = {}) {
5344
5510
  const localVarPath = `/api/events`;
5345
5511
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5346
5512
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5354,6 +5520,15 @@ export const EventsApiAxiosParamCreator = function (configuration) {
5354
5520
  if (clubId !== undefined) {
5355
5521
  localVarQueryParameter['clubId'] = clubId;
5356
5522
  }
5523
+ if (visibilityType !== undefined) {
5524
+ localVarQueryParameter['visibilityType'] = visibilityType;
5525
+ }
5526
+ if (type !== undefined) {
5527
+ localVarQueryParameter['type'] = type;
5528
+ }
5529
+ if (sportId !== undefined) {
5530
+ localVarQueryParameter['sportId'] = sportId;
5531
+ }
5357
5532
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5358
5533
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5359
5534
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5363,18 +5538,18 @@ export const EventsApiAxiosParamCreator = function (configuration) {
5363
5538
  };
5364
5539
  }),
5365
5540
  /**
5366
- * Register for an event
5541
+ * Join an event (user)
5367
5542
  * @param {string} eventId
5368
- * @param {any} body
5543
+ * @param {JoinEventRequest} joinEventRequest
5369
5544
  * @param {*} [options] Override http request option.
5370
5545
  * @throws {RequiredError}
5371
5546
  */
5372
- registerForEvent: (eventId_1, body_1, ...args_1) => __awaiter(this, [eventId_1, body_1, ...args_1], void 0, function* (eventId, body, options = {}) {
5547
+ joinEvent: (eventId_1, joinEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinEventRequest_1, ...args_1], void 0, function* (eventId, joinEventRequest, options = {}) {
5373
5548
  // verify required parameter 'eventId' is not null or undefined
5374
- assertParamExists('registerForEvent', 'eventId', eventId);
5375
- // verify required parameter 'body' is not null or undefined
5376
- assertParamExists('registerForEvent', 'body', body);
5377
- const localVarPath = `/api/events/{eventId}/register`
5549
+ assertParamExists('joinEvent', 'eventId', eventId);
5550
+ // verify required parameter 'joinEventRequest' is not null or undefined
5551
+ assertParamExists('joinEvent', 'joinEventRequest', joinEventRequest);
5552
+ const localVarPath = `/api/events/{eventId}/join`
5378
5553
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
5379
5554
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5380
5555
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5392,7 +5567,38 @@ export const EventsApiAxiosParamCreator = function (configuration) {
5392
5567
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5393
5568
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5394
5569
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5395
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
5570
+ localVarRequestOptions.data = serializeDataIfNeeded(joinEventRequest, localVarRequestOptions, configuration);
5571
+ return {
5572
+ url: toPathString(localVarUrlObj),
5573
+ options: localVarRequestOptions,
5574
+ };
5575
+ }),
5576
+ /**
5577
+ * Leave an event (user)
5578
+ * @param {string} eventId
5579
+ * @param {*} [options] Override http request option.
5580
+ * @throws {RequiredError}
5581
+ */
5582
+ leaveEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
5583
+ // verify required parameter 'eventId' is not null or undefined
5584
+ assertParamExists('leaveEvent', 'eventId', eventId);
5585
+ const localVarPath = `/api/events/{eventId}/leave`
5586
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
5587
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5588
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5589
+ let baseOptions;
5590
+ if (configuration) {
5591
+ baseOptions = configuration.baseOptions;
5592
+ }
5593
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
5594
+ const localVarHeaderParameter = {};
5595
+ const localVarQueryParameter = {};
5596
+ // authentication bearerAuth required
5597
+ // http bearer authentication required
5598
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
5599
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5600
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5601
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5396
5602
  return {
5397
5603
  url: toPathString(localVarUrlObj),
5398
5604
  options: localVarRequestOptions,
@@ -5407,34 +5613,67 @@ export const EventsApiAxiosParamCreator = function (configuration) {
5407
5613
  export const EventsApiFp = function (configuration) {
5408
5614
  const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration);
5409
5615
  return {
5616
+ /**
5617
+ * Get a specific event by ID
5618
+ * @param {string} eventId
5619
+ * @param {*} [options] Override http request option.
5620
+ * @throws {RequiredError}
5621
+ */
5622
+ getEventById(eventId, options) {
5623
+ return __awaiter(this, void 0, void 0, function* () {
5624
+ var _a, _b, _c;
5625
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, options);
5626
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5627
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5628
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5629
+ });
5630
+ },
5410
5631
  /**
5411
5632
  * Get all published events for a club
5412
5633
  * @param {string} [clubId]
5634
+ * @param {GetPublishedEventsByClubIdVisibilityTypeEnum} [visibilityType]
5635
+ * @param {GetPublishedEventsByClubIdTypeEnum} [type]
5636
+ * @param {string} [sportId]
5413
5637
  * @param {*} [options] Override http request option.
5414
5638
  * @throws {RequiredError}
5415
5639
  */
5416
- getPublishedEventsByClubId(clubId, options) {
5640
+ getPublishedEventsByClubId(clubId, visibilityType, type, sportId, options) {
5417
5641
  return __awaiter(this, void 0, void 0, function* () {
5418
5642
  var _a, _b, _c;
5419
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublishedEventsByClubId(clubId, options);
5643
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublishedEventsByClubId(clubId, visibilityType, type, sportId, options);
5420
5644
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5421
5645
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getPublishedEventsByClubId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5422
5646
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5423
5647
  });
5424
5648
  },
5425
5649
  /**
5426
- * Register for an event
5650
+ * Join an event (user)
5651
+ * @param {string} eventId
5652
+ * @param {JoinEventRequest} joinEventRequest
5653
+ * @param {*} [options] Override http request option.
5654
+ * @throws {RequiredError}
5655
+ */
5656
+ joinEvent(eventId, joinEventRequest, options) {
5657
+ return __awaiter(this, void 0, void 0, function* () {
5658
+ var _a, _b, _c;
5659
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEvent(eventId, joinEventRequest, options);
5660
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5661
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.joinEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5662
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5663
+ });
5664
+ },
5665
+ /**
5666
+ * Leave an event (user)
5427
5667
  * @param {string} eventId
5428
- * @param {any} body
5429
5668
  * @param {*} [options] Override http request option.
5430
5669
  * @throws {RequiredError}
5431
5670
  */
5432
- registerForEvent(eventId, body, options) {
5671
+ leaveEvent(eventId, options) {
5433
5672
  return __awaiter(this, void 0, void 0, function* () {
5434
5673
  var _a, _b, _c;
5435
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registerForEvent(eventId, body, options);
5674
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveEvent(eventId, options);
5436
5675
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5437
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.registerForEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5676
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.leaveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5438
5677
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5439
5678
  });
5440
5679
  },
@@ -5447,6 +5686,15 @@ export const EventsApiFp = function (configuration) {
5447
5686
  export const EventsApiFactory = function (configuration, basePath, axios) {
5448
5687
  const localVarFp = EventsApiFp(configuration);
5449
5688
  return {
5689
+ /**
5690
+ * Get a specific event by ID
5691
+ * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
5692
+ * @param {*} [options] Override http request option.
5693
+ * @throws {RequiredError}
5694
+ */
5695
+ getEventById(requestParameters, options) {
5696
+ return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
5697
+ },
5450
5698
  /**
5451
5699
  * Get all published events for a club
5452
5700
  * @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
@@ -5454,16 +5702,25 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
5454
5702
  * @throws {RequiredError}
5455
5703
  */
5456
5704
  getPublishedEventsByClubId(requestParameters = {}, options) {
5457
- return localVarFp.getPublishedEventsByClubId(requestParameters.clubId, options).then((request) => request(axios, basePath));
5705
+ return localVarFp.getPublishedEventsByClubId(requestParameters.clubId, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
5458
5706
  },
5459
5707
  /**
5460
- * Register for an event
5461
- * @param {EventsApiRegisterForEventRequest} requestParameters Request parameters.
5708
+ * Join an event (user)
5709
+ * @param {EventsApiJoinEventRequest} requestParameters Request parameters.
5462
5710
  * @param {*} [options] Override http request option.
5463
5711
  * @throws {RequiredError}
5464
5712
  */
5465
- registerForEvent(requestParameters, options) {
5466
- return localVarFp.registerForEvent(requestParameters.eventId, requestParameters.body, options).then((request) => request(axios, basePath));
5713
+ joinEvent(requestParameters, options) {
5714
+ return localVarFp.joinEvent(requestParameters.eventId, requestParameters.joinEventRequest, options).then((request) => request(axios, basePath));
5715
+ },
5716
+ /**
5717
+ * Leave an event (user)
5718
+ * @param {EventsApiLeaveEventRequest} requestParameters Request parameters.
5719
+ * @param {*} [options] Override http request option.
5720
+ * @throws {RequiredError}
5721
+ */
5722
+ leaveEvent(requestParameters, options) {
5723
+ return localVarFp.leaveEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
5467
5724
  },
5468
5725
  };
5469
5726
  };
@@ -5474,6 +5731,16 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
5474
5731
  * @extends {BaseAPI}
5475
5732
  */
5476
5733
  export class EventsApi extends BaseAPI {
5734
+ /**
5735
+ * Get a specific event by ID
5736
+ * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
5737
+ * @param {*} [options] Override http request option.
5738
+ * @throws {RequiredError}
5739
+ * @memberof EventsApi
5740
+ */
5741
+ getEventById(requestParameters, options) {
5742
+ return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
5743
+ }
5477
5744
  /**
5478
5745
  * Get all published events for a club
5479
5746
  * @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
@@ -5482,19 +5749,44 @@ export class EventsApi extends BaseAPI {
5482
5749
  * @memberof EventsApi
5483
5750
  */
5484
5751
  getPublishedEventsByClubId(requestParameters = {}, options) {
5485
- return EventsApiFp(this.configuration).getPublishedEventsByClubId(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
5752
+ return EventsApiFp(this.configuration).getPublishedEventsByClubId(requestParameters.clubId, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
5753
+ }
5754
+ /**
5755
+ * Join an event (user)
5756
+ * @param {EventsApiJoinEventRequest} requestParameters Request parameters.
5757
+ * @param {*} [options] Override http request option.
5758
+ * @throws {RequiredError}
5759
+ * @memberof EventsApi
5760
+ */
5761
+ joinEvent(requestParameters, options) {
5762
+ return EventsApiFp(this.configuration).joinEvent(requestParameters.eventId, requestParameters.joinEventRequest, options).then((request) => request(this.axios, this.basePath));
5486
5763
  }
5487
5764
  /**
5488
- * Register for an event
5489
- * @param {EventsApiRegisterForEventRequest} requestParameters Request parameters.
5765
+ * Leave an event (user)
5766
+ * @param {EventsApiLeaveEventRequest} requestParameters Request parameters.
5490
5767
  * @param {*} [options] Override http request option.
5491
5768
  * @throws {RequiredError}
5492
5769
  * @memberof EventsApi
5493
5770
  */
5494
- registerForEvent(requestParameters, options) {
5495
- return EventsApiFp(this.configuration).registerForEvent(requestParameters.eventId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
5771
+ leaveEvent(requestParameters, options) {
5772
+ return EventsApiFp(this.configuration).leaveEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
5496
5773
  }
5497
5774
  }
5775
+ /**
5776
+ * @export
5777
+ */
5778
+ export const GetPublishedEventsByClubIdVisibilityTypeEnum = {
5779
+ Public: 'public',
5780
+ Private: 'private',
5781
+ Invitation: 'invitation'
5782
+ };
5783
+ /**
5784
+ * @export
5785
+ */
5786
+ export const GetPublishedEventsByClubIdTypeEnum = {
5787
+ Event: 'event',
5788
+ Closure: 'closure'
5789
+ };
5498
5790
  /**
5499
5791
  * EventsManagerApi - axios parameter creator
5500
5792
  * @export
@@ -5626,6 +5918,42 @@ export const EventsManagerApiAxiosParamCreator = function (configuration) {
5626
5918
  options: localVarRequestOptions,
5627
5919
  };
5628
5920
  }),
5921
+ /**
5922
+ * Update an event (manager)
5923
+ * @param {string} eventId
5924
+ * @param {UpdateEventRequest} updateEventRequest
5925
+ * @param {*} [options] Override http request option.
5926
+ * @throws {RequiredError}
5927
+ */
5928
+ updateEvent: (eventId_1, updateEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, updateEventRequest_1, ...args_1], void 0, function* (eventId, updateEventRequest, options = {}) {
5929
+ // verify required parameter 'eventId' is not null or undefined
5930
+ assertParamExists('updateEvent', 'eventId', eventId);
5931
+ // verify required parameter 'updateEventRequest' is not null or undefined
5932
+ assertParamExists('updateEvent', 'updateEventRequest', updateEventRequest);
5933
+ const localVarPath = `/api/events/manager/updateEvent/{eventId}`
5934
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
5935
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5936
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5937
+ let baseOptions;
5938
+ if (configuration) {
5939
+ baseOptions = configuration.baseOptions;
5940
+ }
5941
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
5942
+ const localVarHeaderParameter = {};
5943
+ const localVarQueryParameter = {};
5944
+ // authentication bearerAuth required
5945
+ // http bearer authentication required
5946
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
5947
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5948
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5949
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5950
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5951
+ localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration);
5952
+ return {
5953
+ url: toPathString(localVarUrlObj),
5954
+ options: localVarRequestOptions,
5955
+ };
5956
+ }),
5629
5957
  };
5630
5958
  };
5631
5959
  /**
@@ -5695,6 +6023,22 @@ export const EventsManagerApiFp = function (configuration) {
5695
6023
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5696
6024
  });
5697
6025
  },
6026
+ /**
6027
+ * Update an event (manager)
6028
+ * @param {string} eventId
6029
+ * @param {UpdateEventRequest} updateEventRequest
6030
+ * @param {*} [options] Override http request option.
6031
+ * @throws {RequiredError}
6032
+ */
6033
+ updateEvent(eventId, updateEventRequest, options) {
6034
+ return __awaiter(this, void 0, void 0, function* () {
6035
+ var _a, _b, _c;
6036
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEvent(eventId, updateEventRequest, options);
6037
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6038
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsManagerApi.updateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6039
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6040
+ });
6041
+ },
5698
6042
  };
5699
6043
  };
5700
6044
  /**
@@ -5740,6 +6084,15 @@ export const EventsManagerApiFactory = function (configuration, basePath, axios)
5740
6084
  unpublishEvent(requestParameters, options) {
5741
6085
  return localVarFp.unpublishEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
5742
6086
  },
6087
+ /**
6088
+ * Update an event (manager)
6089
+ * @param {EventsManagerApiUpdateEventRequest} requestParameters Request parameters.
6090
+ * @param {*} [options] Override http request option.
6091
+ * @throws {RequiredError}
6092
+ */
6093
+ updateEvent(requestParameters, options) {
6094
+ return localVarFp.updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
6095
+ },
5743
6096
  };
5744
6097
  };
5745
6098
  /**
@@ -5789,6 +6142,16 @@ export class EventsManagerApi extends BaseAPI {
5789
6142
  unpublishEvent(requestParameters, options) {
5790
6143
  return EventsManagerApiFp(this.configuration).unpublishEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
5791
6144
  }
6145
+ /**
6146
+ * Update an event (manager)
6147
+ * @param {EventsManagerApiUpdateEventRequest} requestParameters Request parameters.
6148
+ * @param {*} [options] Override http request option.
6149
+ * @throws {RequiredError}
6150
+ * @memberof EventsManagerApi
6151
+ */
6152
+ updateEvent(requestParameters, options) {
6153
+ return EventsManagerApiFp(this.configuration).updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
6154
+ }
5792
6155
  }
5793
6156
  /**
5794
6157
  * EventsStaffApi - axios parameter creator
@@ -5889,7 +6252,7 @@ export class EventsStaffApi extends BaseAPI {
5889
6252
  export const SportsManagerApiAxiosParamCreator = function (configuration) {
5890
6253
  return {
5891
6254
  /**
5892
- * Crée un sport dans un club
6255
+ * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
5893
6256
  * @param {CreateSportRequest} createSportRequest
5894
6257
  * @param {*} [options] Override http request option.
5895
6258
  * @throws {RequiredError}
@@ -5921,7 +6284,7 @@ export const SportsManagerApiAxiosParamCreator = function (configuration) {
5921
6284
  };
5922
6285
  }),
5923
6286
  /**
5924
- * Supprime un sport
6287
+ * Supprime un sport (interdit si vérifié)
5925
6288
  * @param {string} id
5926
6289
  * @param {*} [options] Override http request option.
5927
6290
  * @throws {RequiredError}
@@ -5952,7 +6315,7 @@ export const SportsManagerApiAxiosParamCreator = function (configuration) {
5952
6315
  };
5953
6316
  }),
5954
6317
  /**
5955
- * Met à jour un sport
6318
+ * Met à jour un sport (interdit si vérifié)
5956
6319
  * @param {string} id
5957
6320
  * @param {UpdateSportRequest} updateSportRequest
5958
6321
  * @param {*} [options] Override http request option.
@@ -5997,7 +6360,7 @@ export const SportsManagerApiFp = function (configuration) {
5997
6360
  const localVarAxiosParamCreator = SportsManagerApiAxiosParamCreator(configuration);
5998
6361
  return {
5999
6362
  /**
6000
- * Crée un sport dans un club
6363
+ * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
6001
6364
  * @param {CreateSportRequest} createSportRequest
6002
6365
  * @param {*} [options] Override http request option.
6003
6366
  * @throws {RequiredError}
@@ -6012,7 +6375,7 @@ export const SportsManagerApiFp = function (configuration) {
6012
6375
  });
6013
6376
  },
6014
6377
  /**
6015
- * Supprime un sport
6378
+ * Supprime un sport (interdit si vérifié)
6016
6379
  * @param {string} id
6017
6380
  * @param {*} [options] Override http request option.
6018
6381
  * @throws {RequiredError}
@@ -6027,7 +6390,7 @@ export const SportsManagerApiFp = function (configuration) {
6027
6390
  });
6028
6391
  },
6029
6392
  /**
6030
- * Met à jour un sport
6393
+ * Met à jour un sport (interdit si vérifié)
6031
6394
  * @param {string} id
6032
6395
  * @param {UpdateSportRequest} updateSportRequest
6033
6396
  * @param {*} [options] Override http request option.
@@ -6052,7 +6415,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
6052
6415
  const localVarFp = SportsManagerApiFp(configuration);
6053
6416
  return {
6054
6417
  /**
6055
- * Crée un sport dans un club
6418
+ * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
6056
6419
  * @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
6057
6420
  * @param {*} [options] Override http request option.
6058
6421
  * @throws {RequiredError}
@@ -6061,7 +6424,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
6061
6424
  return localVarFp.createSport(requestParameters.createSportRequest, options).then((request) => request(axios, basePath));
6062
6425
  },
6063
6426
  /**
6064
- * Supprime un sport
6427
+ * Supprime un sport (interdit si vérifié)
6065
6428
  * @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
6066
6429
  * @param {*} [options] Override http request option.
6067
6430
  * @throws {RequiredError}
@@ -6070,7 +6433,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
6070
6433
  return localVarFp.deleteSport(requestParameters.id, options).then((request) => request(axios, basePath));
6071
6434
  },
6072
6435
  /**
6073
- * Met à jour un sport
6436
+ * Met à jour un sport (interdit si vérifié)
6074
6437
  * @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
6075
6438
  * @param {*} [options] Override http request option.
6076
6439
  * @throws {RequiredError}
@@ -6088,7 +6451,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
6088
6451
  */
6089
6452
  export class SportsManagerApi extends BaseAPI {
6090
6453
  /**
6091
- * Crée un sport dans un club
6454
+ * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
6092
6455
  * @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
6093
6456
  * @param {*} [options] Override http request option.
6094
6457
  * @throws {RequiredError}
@@ -6098,7 +6461,7 @@ export class SportsManagerApi extends BaseAPI {
6098
6461
  return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
6099
6462
  }
6100
6463
  /**
6101
- * Supprime un sport
6464
+ * Supprime un sport (interdit si vérifié)
6102
6465
  * @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
6103
6466
  * @param {*} [options] Override http request option.
6104
6467
  * @throws {RequiredError}
@@ -6108,7 +6471,7 @@ export class SportsManagerApi extends BaseAPI {
6108
6471
  return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6109
6472
  }
6110
6473
  /**
6111
- * Met à jour un sport
6474
+ * Met à jour un sport (interdit si vérifié)
6112
6475
  * @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
6113
6476
  * @param {*} [options] Override http request option.
6114
6477
  * @throws {RequiredError}
@@ -6125,7 +6488,7 @@ export class SportsManagerApi extends BaseAPI {
6125
6488
  export const SportsStaffApiAxiosParamCreator = function (configuration) {
6126
6489
  return {
6127
6490
  /**
6128
- * Récupère la liste des sports d\'un club
6491
+ * Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
6129
6492
  * @param {*} [options] Override http request option.
6130
6493
  * @throws {RequiredError}
6131
6494
  */
@@ -6161,7 +6524,7 @@ export const SportsStaffApiFp = function (configuration) {
6161
6524
  const localVarAxiosParamCreator = SportsStaffApiAxiosParamCreator(configuration);
6162
6525
  return {
6163
6526
  /**
6164
- * Récupère la liste des sports d\'un club
6527
+ * Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
6165
6528
  * @param {*} [options] Override http request option.
6166
6529
  * @throws {RequiredError}
6167
6530
  */
@@ -6184,7 +6547,7 @@ export const SportsStaffApiFactory = function (configuration, basePath, axios) {
6184
6547
  const localVarFp = SportsStaffApiFp(configuration);
6185
6548
  return {
6186
6549
  /**
6187
- * Récupère la liste des sports d\'un club
6550
+ * Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
6188
6551
  * @param {*} [options] Override http request option.
6189
6552
  * @throws {RequiredError}
6190
6553
  */
@@ -6201,7 +6564,7 @@ export const SportsStaffApiFactory = function (configuration, basePath, axios) {
6201
6564
  */
6202
6565
  export class SportsStaffApi extends BaseAPI {
6203
6566
  /**
6204
- * Récupère la liste des sports d\'un club
6567
+ * Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
6205
6568
  * @param {*} [options] Override http request option.
6206
6569
  * @throws {RequiredError}
6207
6570
  * @memberof SportsStaffApi