@tennac-booking/sdk 1.0.70 → 1.0.71
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.
- package/.openapi-generator/FILES +236 -230
- package/README.md +14 -5
- package/api.ts +957 -145
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +909 -263
- package/dist/api.js +347 -50
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +909 -263
- package/dist/esm/api.js +344 -47
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingStatus.md +2 -0
- package/docs/BookingsStaffApi.md +1 -1
- package/docs/CheckInPlayersResponse.md +2 -10
- package/docs/ClubsApi.md +2 -2
- package/docs/CreateEventRequest.md +26 -0
- package/docs/CreateSportForClubRequest.md +6 -0
- package/docs/CreateSportRequest.md +8 -2
- package/docs/EventResponse.md +26 -0
- package/docs/EventsApi.md +131 -12
- package/docs/EventsManagerApi.md +59 -0
- package/docs/JoinEventRequest.md +22 -0
- package/docs/JoinEventResponse.md +22 -0
- package/docs/SportKey.md +14 -0
- package/docs/SportLevel.md +22 -0
- package/docs/SportResponse.md +10 -5
- package/docs/SportWithLevels.md +30 -0
- package/docs/SportsManagerApi.md +6 -3
- package/docs/SportsStaffApi.md +3 -3
- package/docs/SubscriberPrice.md +22 -0
- package/docs/{GetSportsByClubById200Response.md → Team.md} +7 -5
- package/docs/UpdateEventRequest.md +54 -0
- package/docs/UpdateSportRequest.md +9 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.71
|
|
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
|
};
|
|
@@ -641,7 +710,7 @@ export class BookingsManagerApi extends BaseAPI {
|
|
|
641
710
|
export const BookingsStaffApiAxiosParamCreator = function (configuration) {
|
|
642
711
|
return {
|
|
643
712
|
/**
|
|
644
|
-
* Check-in des joueurs
|
|
713
|
+
* Check-in des joueurs only for club with payment features
|
|
645
714
|
* @param {string} bookingId
|
|
646
715
|
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
647
716
|
* @param {*} [options] Override http request option.
|
|
@@ -841,7 +910,7 @@ export const BookingsStaffApiFp = function (configuration) {
|
|
|
841
910
|
const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration);
|
|
842
911
|
return {
|
|
843
912
|
/**
|
|
844
|
-
* Check-in des joueurs
|
|
913
|
+
* Check-in des joueurs only for club with payment features
|
|
845
914
|
* @param {string} bookingId
|
|
846
915
|
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
847
916
|
* @param {*} [options] Override http request option.
|
|
@@ -941,7 +1010,7 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
|
|
|
941
1010
|
const localVarFp = BookingsStaffApiFp(configuration);
|
|
942
1011
|
return {
|
|
943
1012
|
/**
|
|
944
|
-
* Check-in des joueurs
|
|
1013
|
+
* Check-in des joueurs only for club with payment features
|
|
945
1014
|
* @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
946
1015
|
* @param {*} [options] Override http request option.
|
|
947
1016
|
* @throws {RequiredError}
|
|
@@ -1004,7 +1073,7 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
|
|
|
1004
1073
|
*/
|
|
1005
1074
|
export class BookingsStaffApi extends BaseAPI {
|
|
1006
1075
|
/**
|
|
1007
|
-
* Check-in des joueurs
|
|
1076
|
+
* Check-in des joueurs only for club with payment features
|
|
1008
1077
|
* @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
1009
1078
|
* @param {*} [options] Override http request option.
|
|
1010
1079
|
* @throws {RequiredError}
|
|
@@ -5334,13 +5403,44 @@ export class DefaultApi extends BaseAPI {
|
|
|
5334
5403
|
*/
|
|
5335
5404
|
export const EventsApiAxiosParamCreator = function (configuration) {
|
|
5336
5405
|
return {
|
|
5406
|
+
/**
|
|
5407
|
+
* Get a specific event by ID
|
|
5408
|
+
* @param {string} eventId
|
|
5409
|
+
* @param {*} [options] Override http request option.
|
|
5410
|
+
* @throws {RequiredError}
|
|
5411
|
+
*/
|
|
5412
|
+
getEventById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
5413
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
5414
|
+
assertParamExists('getEventById', 'eventId', eventId);
|
|
5415
|
+
const localVarPath = `/api/events/{eventId}`
|
|
5416
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
5417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5419
|
+
let baseOptions;
|
|
5420
|
+
if (configuration) {
|
|
5421
|
+
baseOptions = configuration.baseOptions;
|
|
5422
|
+
}
|
|
5423
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5424
|
+
const localVarHeaderParameter = {};
|
|
5425
|
+
const localVarQueryParameter = {};
|
|
5426
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5428
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5429
|
+
return {
|
|
5430
|
+
url: toPathString(localVarUrlObj),
|
|
5431
|
+
options: localVarRequestOptions,
|
|
5432
|
+
};
|
|
5433
|
+
}),
|
|
5337
5434
|
/**
|
|
5338
5435
|
* Get all published events for a club
|
|
5339
5436
|
* @param {string} [clubId]
|
|
5437
|
+
* @param {GetPublishedEventsByClubIdVisibilityTypeEnum} [visibilityType]
|
|
5438
|
+
* @param {GetPublishedEventsByClubIdTypeEnum} [type]
|
|
5439
|
+
* @param {string} [sportId]
|
|
5340
5440
|
* @param {*} [options] Override http request option.
|
|
5341
5441
|
* @throws {RequiredError}
|
|
5342
5442
|
*/
|
|
5343
|
-
getPublishedEventsByClubId: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
5443
|
+
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
5444
|
const localVarPath = `/api/events`;
|
|
5345
5445
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5346
5446
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5354,6 +5454,15 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
5354
5454
|
if (clubId !== undefined) {
|
|
5355
5455
|
localVarQueryParameter['clubId'] = clubId;
|
|
5356
5456
|
}
|
|
5457
|
+
if (visibilityType !== undefined) {
|
|
5458
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
5459
|
+
}
|
|
5460
|
+
if (type !== undefined) {
|
|
5461
|
+
localVarQueryParameter['type'] = type;
|
|
5462
|
+
}
|
|
5463
|
+
if (sportId !== undefined) {
|
|
5464
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
5465
|
+
}
|
|
5357
5466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5358
5467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5359
5468
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5363,18 +5472,18 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
5363
5472
|
};
|
|
5364
5473
|
}),
|
|
5365
5474
|
/**
|
|
5366
|
-
*
|
|
5475
|
+
* Join an event (user)
|
|
5367
5476
|
* @param {string} eventId
|
|
5368
|
-
* @param {
|
|
5477
|
+
* @param {JoinEventRequest} joinEventRequest
|
|
5369
5478
|
* @param {*} [options] Override http request option.
|
|
5370
5479
|
* @throws {RequiredError}
|
|
5371
5480
|
*/
|
|
5372
|
-
|
|
5481
|
+
joinEvent: (eventId_1, joinEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinEventRequest_1, ...args_1], void 0, function* (eventId, joinEventRequest, options = {}) {
|
|
5373
5482
|
// verify required parameter 'eventId' is not null or undefined
|
|
5374
|
-
assertParamExists('
|
|
5375
|
-
// verify required parameter '
|
|
5376
|
-
assertParamExists('
|
|
5377
|
-
const localVarPath = `/api/events/{eventId}/
|
|
5483
|
+
assertParamExists('joinEvent', 'eventId', eventId);
|
|
5484
|
+
// verify required parameter 'joinEventRequest' is not null or undefined
|
|
5485
|
+
assertParamExists('joinEvent', 'joinEventRequest', joinEventRequest);
|
|
5486
|
+
const localVarPath = `/api/events/{eventId}/join`
|
|
5378
5487
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
5379
5488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5380
5489
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5392,7 +5501,38 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
5392
5501
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5393
5502
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5394
5503
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5395
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
5504
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinEventRequest, localVarRequestOptions, configuration);
|
|
5505
|
+
return {
|
|
5506
|
+
url: toPathString(localVarUrlObj),
|
|
5507
|
+
options: localVarRequestOptions,
|
|
5508
|
+
};
|
|
5509
|
+
}),
|
|
5510
|
+
/**
|
|
5511
|
+
* Leave an event (user)
|
|
5512
|
+
* @param {string} eventId
|
|
5513
|
+
* @param {*} [options] Override http request option.
|
|
5514
|
+
* @throws {RequiredError}
|
|
5515
|
+
*/
|
|
5516
|
+
leaveEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
5517
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
5518
|
+
assertParamExists('leaveEvent', 'eventId', eventId);
|
|
5519
|
+
const localVarPath = `/api/events/{eventId}/leave`
|
|
5520
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
5521
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5522
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5523
|
+
let baseOptions;
|
|
5524
|
+
if (configuration) {
|
|
5525
|
+
baseOptions = configuration.baseOptions;
|
|
5526
|
+
}
|
|
5527
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5528
|
+
const localVarHeaderParameter = {};
|
|
5529
|
+
const localVarQueryParameter = {};
|
|
5530
|
+
// authentication bearerAuth required
|
|
5531
|
+
// http bearer authentication required
|
|
5532
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5533
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5534
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5535
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5396
5536
|
return {
|
|
5397
5537
|
url: toPathString(localVarUrlObj),
|
|
5398
5538
|
options: localVarRequestOptions,
|
|
@@ -5407,34 +5547,67 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
5407
5547
|
export const EventsApiFp = function (configuration) {
|
|
5408
5548
|
const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration);
|
|
5409
5549
|
return {
|
|
5550
|
+
/**
|
|
5551
|
+
* Get a specific event by ID
|
|
5552
|
+
* @param {string} eventId
|
|
5553
|
+
* @param {*} [options] Override http request option.
|
|
5554
|
+
* @throws {RequiredError}
|
|
5555
|
+
*/
|
|
5556
|
+
getEventById(eventId, options) {
|
|
5557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5558
|
+
var _a, _b, _c;
|
|
5559
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, options);
|
|
5560
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5561
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5563
|
+
});
|
|
5564
|
+
},
|
|
5410
5565
|
/**
|
|
5411
5566
|
* Get all published events for a club
|
|
5412
5567
|
* @param {string} [clubId]
|
|
5568
|
+
* @param {GetPublishedEventsByClubIdVisibilityTypeEnum} [visibilityType]
|
|
5569
|
+
* @param {GetPublishedEventsByClubIdTypeEnum} [type]
|
|
5570
|
+
* @param {string} [sportId]
|
|
5413
5571
|
* @param {*} [options] Override http request option.
|
|
5414
5572
|
* @throws {RequiredError}
|
|
5415
5573
|
*/
|
|
5416
|
-
getPublishedEventsByClubId(clubId, options) {
|
|
5574
|
+
getPublishedEventsByClubId(clubId, visibilityType, type, sportId, options) {
|
|
5417
5575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5418
5576
|
var _a, _b, _c;
|
|
5419
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublishedEventsByClubId(clubId, options);
|
|
5577
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublishedEventsByClubId(clubId, visibilityType, type, sportId, options);
|
|
5420
5578
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5421
5579
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getPublishedEventsByClubId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5422
5580
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5423
5581
|
});
|
|
5424
5582
|
},
|
|
5425
5583
|
/**
|
|
5426
|
-
*
|
|
5584
|
+
* Join an event (user)
|
|
5427
5585
|
* @param {string} eventId
|
|
5428
|
-
* @param {
|
|
5586
|
+
* @param {JoinEventRequest} joinEventRequest
|
|
5429
5587
|
* @param {*} [options] Override http request option.
|
|
5430
5588
|
* @throws {RequiredError}
|
|
5431
5589
|
*/
|
|
5432
|
-
|
|
5590
|
+
joinEvent(eventId, joinEventRequest, options) {
|
|
5433
5591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5434
5592
|
var _a, _b, _c;
|
|
5435
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5593
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEvent(eventId, joinEventRequest, options);
|
|
5436
5594
|
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.
|
|
5595
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.joinEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5596
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5597
|
+
});
|
|
5598
|
+
},
|
|
5599
|
+
/**
|
|
5600
|
+
* Leave an event (user)
|
|
5601
|
+
* @param {string} eventId
|
|
5602
|
+
* @param {*} [options] Override http request option.
|
|
5603
|
+
* @throws {RequiredError}
|
|
5604
|
+
*/
|
|
5605
|
+
leaveEvent(eventId, options) {
|
|
5606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5607
|
+
var _a, _b, _c;
|
|
5608
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveEvent(eventId, options);
|
|
5609
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5610
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.leaveEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5438
5611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5439
5612
|
});
|
|
5440
5613
|
},
|
|
@@ -5447,6 +5620,15 @@ export const EventsApiFp = function (configuration) {
|
|
|
5447
5620
|
export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
5448
5621
|
const localVarFp = EventsApiFp(configuration);
|
|
5449
5622
|
return {
|
|
5623
|
+
/**
|
|
5624
|
+
* Get a specific event by ID
|
|
5625
|
+
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
5626
|
+
* @param {*} [options] Override http request option.
|
|
5627
|
+
* @throws {RequiredError}
|
|
5628
|
+
*/
|
|
5629
|
+
getEventById(requestParameters, options) {
|
|
5630
|
+
return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
5631
|
+
},
|
|
5450
5632
|
/**
|
|
5451
5633
|
* Get all published events for a club
|
|
5452
5634
|
* @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
|
|
@@ -5454,16 +5636,25 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
5454
5636
|
* @throws {RequiredError}
|
|
5455
5637
|
*/
|
|
5456
5638
|
getPublishedEventsByClubId(requestParameters = {}, options) {
|
|
5457
|
-
return localVarFp.getPublishedEventsByClubId(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
5639
|
+
return localVarFp.getPublishedEventsByClubId(requestParameters.clubId, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
5458
5640
|
},
|
|
5459
5641
|
/**
|
|
5460
|
-
*
|
|
5461
|
-
* @param {
|
|
5642
|
+
* Join an event (user)
|
|
5643
|
+
* @param {EventsApiJoinEventRequest} requestParameters Request parameters.
|
|
5462
5644
|
* @param {*} [options] Override http request option.
|
|
5463
5645
|
* @throws {RequiredError}
|
|
5464
5646
|
*/
|
|
5465
|
-
|
|
5466
|
-
return localVarFp.
|
|
5647
|
+
joinEvent(requestParameters, options) {
|
|
5648
|
+
return localVarFp.joinEvent(requestParameters.eventId, requestParameters.joinEventRequest, options).then((request) => request(axios, basePath));
|
|
5649
|
+
},
|
|
5650
|
+
/**
|
|
5651
|
+
* Leave an event (user)
|
|
5652
|
+
* @param {EventsApiLeaveEventRequest} requestParameters Request parameters.
|
|
5653
|
+
* @param {*} [options] Override http request option.
|
|
5654
|
+
* @throws {RequiredError}
|
|
5655
|
+
*/
|
|
5656
|
+
leaveEvent(requestParameters, options) {
|
|
5657
|
+
return localVarFp.leaveEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
5467
5658
|
},
|
|
5468
5659
|
};
|
|
5469
5660
|
};
|
|
@@ -5474,6 +5665,16 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
5474
5665
|
* @extends {BaseAPI}
|
|
5475
5666
|
*/
|
|
5476
5667
|
export class EventsApi extends BaseAPI {
|
|
5668
|
+
/**
|
|
5669
|
+
* Get a specific event by ID
|
|
5670
|
+
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
5671
|
+
* @param {*} [options] Override http request option.
|
|
5672
|
+
* @throws {RequiredError}
|
|
5673
|
+
* @memberof EventsApi
|
|
5674
|
+
*/
|
|
5675
|
+
getEventById(requestParameters, options) {
|
|
5676
|
+
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
5677
|
+
}
|
|
5477
5678
|
/**
|
|
5478
5679
|
* Get all published events for a club
|
|
5479
5680
|
* @param {EventsApiGetPublishedEventsByClubIdRequest} requestParameters Request parameters.
|
|
@@ -5482,19 +5683,44 @@ export class EventsApi extends BaseAPI {
|
|
|
5482
5683
|
* @memberof EventsApi
|
|
5483
5684
|
*/
|
|
5484
5685
|
getPublishedEventsByClubId(requestParameters = {}, options) {
|
|
5485
|
-
return EventsApiFp(this.configuration).getPublishedEventsByClubId(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
5686
|
+
return EventsApiFp(this.configuration).getPublishedEventsByClubId(requestParameters.clubId, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
5687
|
+
}
|
|
5688
|
+
/**
|
|
5689
|
+
* Join an event (user)
|
|
5690
|
+
* @param {EventsApiJoinEventRequest} requestParameters Request parameters.
|
|
5691
|
+
* @param {*} [options] Override http request option.
|
|
5692
|
+
* @throws {RequiredError}
|
|
5693
|
+
* @memberof EventsApi
|
|
5694
|
+
*/
|
|
5695
|
+
joinEvent(requestParameters, options) {
|
|
5696
|
+
return EventsApiFp(this.configuration).joinEvent(requestParameters.eventId, requestParameters.joinEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5486
5697
|
}
|
|
5487
5698
|
/**
|
|
5488
|
-
*
|
|
5489
|
-
* @param {
|
|
5699
|
+
* Leave an event (user)
|
|
5700
|
+
* @param {EventsApiLeaveEventRequest} requestParameters Request parameters.
|
|
5490
5701
|
* @param {*} [options] Override http request option.
|
|
5491
5702
|
* @throws {RequiredError}
|
|
5492
5703
|
* @memberof EventsApi
|
|
5493
5704
|
*/
|
|
5494
|
-
|
|
5495
|
-
return EventsApiFp(this.configuration).
|
|
5705
|
+
leaveEvent(requestParameters, options) {
|
|
5706
|
+
return EventsApiFp(this.configuration).leaveEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
5496
5707
|
}
|
|
5497
5708
|
}
|
|
5709
|
+
/**
|
|
5710
|
+
* @export
|
|
5711
|
+
*/
|
|
5712
|
+
export const GetPublishedEventsByClubIdVisibilityTypeEnum = {
|
|
5713
|
+
Public: 'public',
|
|
5714
|
+
Private: 'private',
|
|
5715
|
+
Invitation: 'invitation'
|
|
5716
|
+
};
|
|
5717
|
+
/**
|
|
5718
|
+
* @export
|
|
5719
|
+
*/
|
|
5720
|
+
export const GetPublishedEventsByClubIdTypeEnum = {
|
|
5721
|
+
Event: 'event',
|
|
5722
|
+
Closure: 'closure'
|
|
5723
|
+
};
|
|
5498
5724
|
/**
|
|
5499
5725
|
* EventsManagerApi - axios parameter creator
|
|
5500
5726
|
* @export
|
|
@@ -5626,6 +5852,42 @@ export const EventsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5626
5852
|
options: localVarRequestOptions,
|
|
5627
5853
|
};
|
|
5628
5854
|
}),
|
|
5855
|
+
/**
|
|
5856
|
+
* Update an event (manager)
|
|
5857
|
+
* @param {string} eventId
|
|
5858
|
+
* @param {UpdateEventRequest} updateEventRequest
|
|
5859
|
+
* @param {*} [options] Override http request option.
|
|
5860
|
+
* @throws {RequiredError}
|
|
5861
|
+
*/
|
|
5862
|
+
updateEvent: (eventId_1, updateEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, updateEventRequest_1, ...args_1], void 0, function* (eventId, updateEventRequest, options = {}) {
|
|
5863
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
5864
|
+
assertParamExists('updateEvent', 'eventId', eventId);
|
|
5865
|
+
// verify required parameter 'updateEventRequest' is not null or undefined
|
|
5866
|
+
assertParamExists('updateEvent', 'updateEventRequest', updateEventRequest);
|
|
5867
|
+
const localVarPath = `/api/events/manager/updateEvent/{eventId}`
|
|
5868
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
5869
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5871
|
+
let baseOptions;
|
|
5872
|
+
if (configuration) {
|
|
5873
|
+
baseOptions = configuration.baseOptions;
|
|
5874
|
+
}
|
|
5875
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5876
|
+
const localVarHeaderParameter = {};
|
|
5877
|
+
const localVarQueryParameter = {};
|
|
5878
|
+
// authentication bearerAuth required
|
|
5879
|
+
// http bearer authentication required
|
|
5880
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5881
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5884
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5885
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration);
|
|
5886
|
+
return {
|
|
5887
|
+
url: toPathString(localVarUrlObj),
|
|
5888
|
+
options: localVarRequestOptions,
|
|
5889
|
+
};
|
|
5890
|
+
}),
|
|
5629
5891
|
};
|
|
5630
5892
|
};
|
|
5631
5893
|
/**
|
|
@@ -5695,6 +5957,22 @@ export const EventsManagerApiFp = function (configuration) {
|
|
|
5695
5957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5696
5958
|
});
|
|
5697
5959
|
},
|
|
5960
|
+
/**
|
|
5961
|
+
* Update an event (manager)
|
|
5962
|
+
* @param {string} eventId
|
|
5963
|
+
* @param {UpdateEventRequest} updateEventRequest
|
|
5964
|
+
* @param {*} [options] Override http request option.
|
|
5965
|
+
* @throws {RequiredError}
|
|
5966
|
+
*/
|
|
5967
|
+
updateEvent(eventId, updateEventRequest, options) {
|
|
5968
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5969
|
+
var _a, _b, _c;
|
|
5970
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEvent(eventId, updateEventRequest, options);
|
|
5971
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5972
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsManagerApi.updateEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5973
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5974
|
+
});
|
|
5975
|
+
},
|
|
5698
5976
|
};
|
|
5699
5977
|
};
|
|
5700
5978
|
/**
|
|
@@ -5740,6 +6018,15 @@ export const EventsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
5740
6018
|
unpublishEvent(requestParameters, options) {
|
|
5741
6019
|
return localVarFp.unpublishEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
5742
6020
|
},
|
|
6021
|
+
/**
|
|
6022
|
+
* Update an event (manager)
|
|
6023
|
+
* @param {EventsManagerApiUpdateEventRequest} requestParameters Request parameters.
|
|
6024
|
+
* @param {*} [options] Override http request option.
|
|
6025
|
+
* @throws {RequiredError}
|
|
6026
|
+
*/
|
|
6027
|
+
updateEvent(requestParameters, options) {
|
|
6028
|
+
return localVarFp.updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
6029
|
+
},
|
|
5743
6030
|
};
|
|
5744
6031
|
};
|
|
5745
6032
|
/**
|
|
@@ -5789,6 +6076,16 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
5789
6076
|
unpublishEvent(requestParameters, options) {
|
|
5790
6077
|
return EventsManagerApiFp(this.configuration).unpublishEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
5791
6078
|
}
|
|
6079
|
+
/**
|
|
6080
|
+
* Update an event (manager)
|
|
6081
|
+
* @param {EventsManagerApiUpdateEventRequest} requestParameters Request parameters.
|
|
6082
|
+
* @param {*} [options] Override http request option.
|
|
6083
|
+
* @throws {RequiredError}
|
|
6084
|
+
* @memberof EventsManagerApi
|
|
6085
|
+
*/
|
|
6086
|
+
updateEvent(requestParameters, options) {
|
|
6087
|
+
return EventsManagerApiFp(this.configuration).updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6088
|
+
}
|
|
5792
6089
|
}
|
|
5793
6090
|
/**
|
|
5794
6091
|
* EventsStaffApi - axios parameter creator
|
|
@@ -5889,7 +6186,7 @@ export class EventsStaffApi extends BaseAPI {
|
|
|
5889
6186
|
export const SportsManagerApiAxiosParamCreator = function (configuration) {
|
|
5890
6187
|
return {
|
|
5891
6188
|
/**
|
|
5892
|
-
* Crée un sport
|
|
6189
|
+
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
5893
6190
|
* @param {CreateSportRequest} createSportRequest
|
|
5894
6191
|
* @param {*} [options] Override http request option.
|
|
5895
6192
|
* @throws {RequiredError}
|
|
@@ -5921,7 +6218,7 @@ export const SportsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5921
6218
|
};
|
|
5922
6219
|
}),
|
|
5923
6220
|
/**
|
|
5924
|
-
* Supprime un sport
|
|
6221
|
+
* Supprime un sport (interdit si vérifié)
|
|
5925
6222
|
* @param {string} id
|
|
5926
6223
|
* @param {*} [options] Override http request option.
|
|
5927
6224
|
* @throws {RequiredError}
|
|
@@ -5952,7 +6249,7 @@ export const SportsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5952
6249
|
};
|
|
5953
6250
|
}),
|
|
5954
6251
|
/**
|
|
5955
|
-
* Met à jour un sport
|
|
6252
|
+
* Met à jour un sport (interdit si vérifié)
|
|
5956
6253
|
* @param {string} id
|
|
5957
6254
|
* @param {UpdateSportRequest} updateSportRequest
|
|
5958
6255
|
* @param {*} [options] Override http request option.
|
|
@@ -5997,7 +6294,7 @@ export const SportsManagerApiFp = function (configuration) {
|
|
|
5997
6294
|
const localVarAxiosParamCreator = SportsManagerApiAxiosParamCreator(configuration);
|
|
5998
6295
|
return {
|
|
5999
6296
|
/**
|
|
6000
|
-
* Crée un sport
|
|
6297
|
+
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
6001
6298
|
* @param {CreateSportRequest} createSportRequest
|
|
6002
6299
|
* @param {*} [options] Override http request option.
|
|
6003
6300
|
* @throws {RequiredError}
|
|
@@ -6012,7 +6309,7 @@ export const SportsManagerApiFp = function (configuration) {
|
|
|
6012
6309
|
});
|
|
6013
6310
|
},
|
|
6014
6311
|
/**
|
|
6015
|
-
* Supprime un sport
|
|
6312
|
+
* Supprime un sport (interdit si vérifié)
|
|
6016
6313
|
* @param {string} id
|
|
6017
6314
|
* @param {*} [options] Override http request option.
|
|
6018
6315
|
* @throws {RequiredError}
|
|
@@ -6027,7 +6324,7 @@ export const SportsManagerApiFp = function (configuration) {
|
|
|
6027
6324
|
});
|
|
6028
6325
|
},
|
|
6029
6326
|
/**
|
|
6030
|
-
* Met à jour un sport
|
|
6327
|
+
* Met à jour un sport (interdit si vérifié)
|
|
6031
6328
|
* @param {string} id
|
|
6032
6329
|
* @param {UpdateSportRequest} updateSportRequest
|
|
6033
6330
|
* @param {*} [options] Override http request option.
|
|
@@ -6052,7 +6349,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
6052
6349
|
const localVarFp = SportsManagerApiFp(configuration);
|
|
6053
6350
|
return {
|
|
6054
6351
|
/**
|
|
6055
|
-
* Crée un sport
|
|
6352
|
+
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
6056
6353
|
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
6057
6354
|
* @param {*} [options] Override http request option.
|
|
6058
6355
|
* @throws {RequiredError}
|
|
@@ -6061,7 +6358,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
6061
6358
|
return localVarFp.createSport(requestParameters.createSportRequest, options).then((request) => request(axios, basePath));
|
|
6062
6359
|
},
|
|
6063
6360
|
/**
|
|
6064
|
-
* Supprime un sport
|
|
6361
|
+
* Supprime un sport (interdit si vérifié)
|
|
6065
6362
|
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
6066
6363
|
* @param {*} [options] Override http request option.
|
|
6067
6364
|
* @throws {RequiredError}
|
|
@@ -6070,7 +6367,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
6070
6367
|
return localVarFp.deleteSport(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6071
6368
|
},
|
|
6072
6369
|
/**
|
|
6073
|
-
* Met à jour un sport
|
|
6370
|
+
* Met à jour un sport (interdit si vérifié)
|
|
6074
6371
|
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
6075
6372
|
* @param {*} [options] Override http request option.
|
|
6076
6373
|
* @throws {RequiredError}
|
|
@@ -6088,7 +6385,7 @@ export const SportsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
6088
6385
|
*/
|
|
6089
6386
|
export class SportsManagerApi extends BaseAPI {
|
|
6090
6387
|
/**
|
|
6091
|
-
* Crée un sport
|
|
6388
|
+
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
6092
6389
|
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
6093
6390
|
* @param {*} [options] Override http request option.
|
|
6094
6391
|
* @throws {RequiredError}
|
|
@@ -6098,7 +6395,7 @@ export class SportsManagerApi extends BaseAPI {
|
|
|
6098
6395
|
return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6099
6396
|
}
|
|
6100
6397
|
/**
|
|
6101
|
-
* Supprime un sport
|
|
6398
|
+
* Supprime un sport (interdit si vérifié)
|
|
6102
6399
|
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
6103
6400
|
* @param {*} [options] Override http request option.
|
|
6104
6401
|
* @throws {RequiredError}
|
|
@@ -6108,7 +6405,7 @@ export class SportsManagerApi extends BaseAPI {
|
|
|
6108
6405
|
return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6109
6406
|
}
|
|
6110
6407
|
/**
|
|
6111
|
-
* Met à jour un sport
|
|
6408
|
+
* Met à jour un sport (interdit si vérifié)
|
|
6112
6409
|
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
6113
6410
|
* @param {*} [options] Override http request option.
|
|
6114
6411
|
* @throws {RequiredError}
|
|
@@ -6125,7 +6422,7 @@ export class SportsManagerApi extends BaseAPI {
|
|
|
6125
6422
|
export const SportsStaffApiAxiosParamCreator = function (configuration) {
|
|
6126
6423
|
return {
|
|
6127
6424
|
/**
|
|
6128
|
-
* Récupère la liste des sports
|
|
6425
|
+
* Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
|
|
6129
6426
|
* @param {*} [options] Override http request option.
|
|
6130
6427
|
* @throws {RequiredError}
|
|
6131
6428
|
*/
|
|
@@ -6161,7 +6458,7 @@ export const SportsStaffApiFp = function (configuration) {
|
|
|
6161
6458
|
const localVarAxiosParamCreator = SportsStaffApiAxiosParamCreator(configuration);
|
|
6162
6459
|
return {
|
|
6163
6460
|
/**
|
|
6164
|
-
* Récupère la liste des sports
|
|
6461
|
+
* Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
|
|
6165
6462
|
* @param {*} [options] Override http request option.
|
|
6166
6463
|
* @throws {RequiredError}
|
|
6167
6464
|
*/
|
|
@@ -6184,7 +6481,7 @@ export const SportsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
6184
6481
|
const localVarFp = SportsStaffApiFp(configuration);
|
|
6185
6482
|
return {
|
|
6186
6483
|
/**
|
|
6187
|
-
* Récupère la liste des sports
|
|
6484
|
+
* Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
|
|
6188
6485
|
* @param {*} [options] Override http request option.
|
|
6189
6486
|
* @throws {RequiredError}
|
|
6190
6487
|
*/
|
|
@@ -6201,7 +6498,7 @@ export const SportsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
6201
6498
|
*/
|
|
6202
6499
|
export class SportsStaffApi extends BaseAPI {
|
|
6203
6500
|
/**
|
|
6204
|
-
* Récupère la liste des sports
|
|
6501
|
+
* Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
|
|
6205
6502
|
* @param {*} [options] Override http request option.
|
|
6206
6503
|
* @throws {RequiredError}
|
|
6207
6504
|
* @memberof SportsStaffApi
|