@tennac-booking/sdk 1.0.83 → 1.0.85
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 +241 -270
- package/README.md +17 -57
- package/api.ts +1065 -2960
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +990 -2388
- package/dist/api.js +193 -961
- 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 +990 -2388
- package/dist/esm/api.js +186 -954
- 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/BookingClubInfo.md +28 -0
- package/docs/{ClubDaySchedule.md → BookingCourtInfo.md} +7 -7
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPaymentStatus.md +24 -0
- package/docs/BookingPlayerPaymentSummary.md +34 -0
- package/docs/BookingPopulated.md +3 -3
- package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
- package/docs/BookingResponse.md +2 -0
- package/docs/BookingSlotInfo.md +30 -0
- package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
- package/docs/BookingSummary.md +54 -2
- package/docs/BookingsApi.md +55 -0
- package/docs/ClubAnalyticsStaffApi.md +0 -173
- package/docs/ClubResponse.md +8 -0
- package/docs/ClubSettingsManagerApi.md +0 -104
- package/docs/ClubSettingsResponse.md +0 -2
- package/docs/ClubsManagerApi.md +0 -104
- package/docs/ClubsStaffApi.md +0 -88
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +1 -3
- package/docs/EventResponse.md +1 -1
- package/docs/{SetupPaymentMethodRequestBody.md → EventResponseCourtsInner.md} +3 -5
- package/docs/IUserAttributes.md +2 -12
- package/docs/InvoiceStatus.md +22 -0
- package/docs/PartialClubResponse.md +8 -0
- package/docs/PlayerPrice.md +30 -0
- package/docs/QuickReservationClubSport.md +22 -0
- package/docs/QuickReservationClubSummary.md +4 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/SportsPublicApi.md +53 -0
- package/docs/StaffUserProfileResponse.md +2 -12
- package/docs/SubscribeRequestBody.md +2 -0
- package/docs/SubscriptionInfo.md +24 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/docs/UserBookingsResponse.md +28 -0
- package/docs/UserProfileResponse.md +4 -12
- package/docs/UsersApi.md +4 -160
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ClubGeneralSettingsResponse.md +0 -34
- package/docs/ClubHoursSettingsResponse.md +0 -22
- package/docs/ClubLocationSettings.md +0 -26
- package/docs/ClubPlayerBookingItem.md +0 -36
- package/docs/ClubPlayerBookingsPagination.md +0 -28
- package/docs/ClubPlayerBookingsResponse.md +0 -24
- package/docs/ClubPlayerDetailResponse.md +0 -46
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponse.md +0 -42
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
- package/docs/ClubPlayerSubscriptionSummary.md +0 -28
- package/docs/ClubPresentationSettingsResponse.md +0 -26
- package/docs/ClubPricingPeriodResponse.md +0 -30
- package/docs/ClubReservationAccessSettingsResponse.md +0 -26
- package/docs/ClubReservationSettingsResponse.md +0 -36
- package/docs/ClubSettingsStaffApi.md +0 -95
- package/docs/ClubWeeklySchedule.md +0 -32
- package/docs/ConfirmPaymentMethodResponse.md +0 -22
- package/docs/HotelAccessSettings.md +0 -26
- package/docs/PartialClubWeeklySchedule.md +0 -33
- package/docs/PartialHotelAccessSettings.md +0 -27
- package/docs/PartialPaymentRequirementsSettings.md +0 -23
- package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +0 -27
- package/docs/PartialPublicAccessSettings.md +0 -25
- package/docs/PartialSchoolAccessSettings.md +0 -25
- package/docs/PaymentMethodSetupResponse.md +0 -24
- package/docs/PaymentRequirementsSettings.md +0 -22
- package/docs/PublicAccessSettings.md +0 -24
- package/docs/SchoolAccessSettings.md +0 -24
- package/docs/SetupPaymentMethodResponse.md +0 -24
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -34
- package/docs/UpdateClubHoursSettingsRequest.md +0 -22
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -26
- package/docs/UpdateClubReservationSettingsRequest.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.85
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -134,10 +134,20 @@ export const Gender = {
|
|
|
134
134
|
export const IUserLocationTypeEnum = {
|
|
135
135
|
Point: 'Point'
|
|
136
136
|
};
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @export
|
|
140
|
+
* @enum {string}
|
|
141
|
+
*/
|
|
142
|
+
export const InvoiceStatus = {
|
|
143
|
+
SetupPending: 'setup_pending',
|
|
144
|
+
SetupSuccess: 'setup_success',
|
|
145
|
+
Pending: 'pending',
|
|
146
|
+
Paid: 'paid',
|
|
147
|
+
Failed: 'failed',
|
|
148
|
+
Authorized: 'authorized',
|
|
149
|
+
Canceled: 'canceled',
|
|
150
|
+
Expired: 'expired'
|
|
141
151
|
};
|
|
142
152
|
/**
|
|
143
153
|
*
|
|
@@ -172,11 +182,6 @@ export const PlayerCategoryId = {
|
|
|
172
182
|
MostActive: 'most-active',
|
|
173
183
|
Nearby: 'nearby'
|
|
174
184
|
};
|
|
175
|
-
export const PublicAccessSettingsPaymentModeEnum = {
|
|
176
|
-
Free: 'free',
|
|
177
|
-
AccessFee: 'access_fee',
|
|
178
|
-
PerCourt: 'per_court'
|
|
179
|
-
};
|
|
180
185
|
export const RegisterRequestBodyLocationTypeEnum = {
|
|
181
186
|
Point: 'Point'
|
|
182
187
|
};
|
|
@@ -374,6 +379,38 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
374
379
|
options: localVarRequestOptions,
|
|
375
380
|
};
|
|
376
381
|
}),
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
|
|
389
|
+
// verify required parameter 'bookingPriceBody' is not null or undefined
|
|
390
|
+
assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
|
|
391
|
+
const localVarPath = `/api/bookings/booking-price`;
|
|
392
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
393
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
394
|
+
let baseOptions;
|
|
395
|
+
if (configuration) {
|
|
396
|
+
baseOptions = configuration.baseOptions;
|
|
397
|
+
}
|
|
398
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
399
|
+
const localVarHeaderParameter = {};
|
|
400
|
+
const localVarQueryParameter = {};
|
|
401
|
+
// authentication bearerAuth required
|
|
402
|
+
// http bearer authentication required
|
|
403
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
404
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
405
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
406
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
407
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
408
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration);
|
|
409
|
+
return {
|
|
410
|
+
url: toPathString(localVarUrlObj),
|
|
411
|
+
options: localVarRequestOptions,
|
|
412
|
+
};
|
|
413
|
+
}),
|
|
377
414
|
/**
|
|
378
415
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
379
416
|
* @param {number} [latitude]
|
|
@@ -384,12 +421,13 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
384
421
|
* @param {string} [startTime]
|
|
385
422
|
* @param {number} [priceMax]
|
|
386
423
|
* @param {string} [courtTypes]
|
|
424
|
+
* @param {string} [surfaceTypes]
|
|
387
425
|
* @param {number} [limitPerClub]
|
|
388
426
|
* @param {number} [maxClubs]
|
|
389
427
|
* @param {*} [options] Override http request option.
|
|
390
428
|
* @throws {RequiredError}
|
|
391
429
|
*/
|
|
392
|
-
getQuickReservationSlots: (latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, limitPerClub_1, maxClubs_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, limitPerClub_1, maxClubs_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options = {}) {
|
|
430
|
+
getQuickReservationSlots: (latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, surfaceTypes_1, limitPerClub_1, maxClubs_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, surfaceTypes_1, limitPerClub_1, maxClubs_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options = {}) {
|
|
393
431
|
const localVarPath = `/api/bookings/quick-reservations`;
|
|
394
432
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
395
433
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -424,8 +462,11 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
424
462
|
if (courtTypes !== undefined) {
|
|
425
463
|
localVarQueryParameter['courtTypes'] = courtTypes;
|
|
426
464
|
}
|
|
465
|
+
if (surfaceTypes !== undefined) {
|
|
466
|
+
localVarQueryParameter['surfaceTypes'] = surfaceTypes;
|
|
467
|
+
}
|
|
427
468
|
if (limitPerClub !== undefined) {
|
|
428
|
-
localVarQueryParameter['
|
|
469
|
+
localVarQueryParameter['_limitPerClub'] = limitPerClub;
|
|
429
470
|
}
|
|
430
471
|
if (maxClubs !== undefined) {
|
|
431
472
|
localVarQueryParameter['maxClubs'] = maxClubs;
|
|
@@ -462,6 +503,21 @@ export const BookingsApiFp = function (configuration) {
|
|
|
462
503
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
463
504
|
});
|
|
464
505
|
},
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
getBookingPrice(bookingPriceBody, options) {
|
|
513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
514
|
+
var _a, _b, _c;
|
|
515
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
|
|
516
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
517
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
518
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
519
|
+
});
|
|
520
|
+
},
|
|
465
521
|
/**
|
|
466
522
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
467
523
|
* @param {number} [latitude]
|
|
@@ -472,15 +528,16 @@ export const BookingsApiFp = function (configuration) {
|
|
|
472
528
|
* @param {string} [startTime]
|
|
473
529
|
* @param {number} [priceMax]
|
|
474
530
|
* @param {string} [courtTypes]
|
|
531
|
+
* @param {string} [surfaceTypes]
|
|
475
532
|
* @param {number} [limitPerClub]
|
|
476
533
|
* @param {number} [maxClubs]
|
|
477
534
|
* @param {*} [options] Override http request option.
|
|
478
535
|
* @throws {RequiredError}
|
|
479
536
|
*/
|
|
480
|
-
getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options) {
|
|
537
|
+
getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options) {
|
|
481
538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
482
539
|
var _a, _b, _c;
|
|
483
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
|
|
540
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options);
|
|
484
541
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
485
542
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getQuickReservationSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
486
543
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -504,6 +561,15 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
504
561
|
getBookingHistory(requestParameters, options) {
|
|
505
562
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
506
563
|
},
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
567
|
+
* @param {*} [options] Override http request option.
|
|
568
|
+
* @throws {RequiredError}
|
|
569
|
+
*/
|
|
570
|
+
getBookingPrice(requestParameters, options) {
|
|
571
|
+
return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
|
|
572
|
+
},
|
|
507
573
|
/**
|
|
508
574
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
509
575
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -511,7 +577,7 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
511
577
|
* @throws {RequiredError}
|
|
512
578
|
*/
|
|
513
579
|
getQuickReservationSlots(requestParameters = {}, options) {
|
|
514
|
-
return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
|
|
580
|
+
return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
|
|
515
581
|
},
|
|
516
582
|
};
|
|
517
583
|
};
|
|
@@ -532,6 +598,16 @@ export class BookingsApi extends BaseAPI {
|
|
|
532
598
|
getBookingHistory(requestParameters, options) {
|
|
533
599
|
return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
534
600
|
}
|
|
601
|
+
/**
|
|
602
|
+
*
|
|
603
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
* @memberof BookingsApi
|
|
607
|
+
*/
|
|
608
|
+
getBookingPrice(requestParameters, options) {
|
|
609
|
+
return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
610
|
+
}
|
|
535
611
|
/**
|
|
536
612
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
537
613
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -540,7 +616,7 @@ export class BookingsApi extends BaseAPI {
|
|
|
540
616
|
* @memberof BookingsApi
|
|
541
617
|
*/
|
|
542
618
|
getQuickReservationSlots(requestParameters = {}, options) {
|
|
543
|
-
return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
|
|
619
|
+
return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
|
|
544
620
|
}
|
|
545
621
|
}
|
|
546
622
|
/**
|
|
@@ -1495,107 +1571,6 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1495
1571
|
options: localVarRequestOptions,
|
|
1496
1572
|
};
|
|
1497
1573
|
}),
|
|
1498
|
-
/**
|
|
1499
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1500
|
-
* @param {string} playerId
|
|
1501
|
-
* @param {number} [page]
|
|
1502
|
-
* @param {number} [pageSize]
|
|
1503
|
-
* @param {*} [options] Override http request option.
|
|
1504
|
-
* @throws {RequiredError}
|
|
1505
|
-
*/
|
|
1506
|
-
getClubPlayerBookingsById: (playerId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [playerId_1, page_1, pageSize_1, ...args_1], void 0, function* (playerId, page, pageSize, options = {}) {
|
|
1507
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1508
|
-
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1509
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
1510
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1511
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1512
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1513
|
-
let baseOptions;
|
|
1514
|
-
if (configuration) {
|
|
1515
|
-
baseOptions = configuration.baseOptions;
|
|
1516
|
-
}
|
|
1517
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1518
|
-
const localVarHeaderParameter = {};
|
|
1519
|
-
const localVarQueryParameter = {};
|
|
1520
|
-
// authentication bearerAuth required
|
|
1521
|
-
// http bearer authentication required
|
|
1522
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1523
|
-
if (page !== undefined) {
|
|
1524
|
-
localVarQueryParameter['page'] = page;
|
|
1525
|
-
}
|
|
1526
|
-
if (pageSize !== undefined) {
|
|
1527
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
1528
|
-
}
|
|
1529
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1530
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1531
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1532
|
-
return {
|
|
1533
|
-
url: toPathString(localVarUrlObj),
|
|
1534
|
-
options: localVarRequestOptions,
|
|
1535
|
-
};
|
|
1536
|
-
}),
|
|
1537
|
-
/**
|
|
1538
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1539
|
-
* @param {string} playerId
|
|
1540
|
-
* @param {*} [options] Override http request option.
|
|
1541
|
-
* @throws {RequiredError}
|
|
1542
|
-
*/
|
|
1543
|
-
getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1544
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1545
|
-
assertParamExists('getClubPlayerById', 'playerId', playerId);
|
|
1546
|
-
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
1547
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1548
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1549
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1550
|
-
let baseOptions;
|
|
1551
|
-
if (configuration) {
|
|
1552
|
-
baseOptions = configuration.baseOptions;
|
|
1553
|
-
}
|
|
1554
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1555
|
-
const localVarHeaderParameter = {};
|
|
1556
|
-
const localVarQueryParameter = {};
|
|
1557
|
-
// authentication bearerAuth required
|
|
1558
|
-
// http bearer authentication required
|
|
1559
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1560
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1561
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1562
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1563
|
-
return {
|
|
1564
|
-
url: toPathString(localVarUrlObj),
|
|
1565
|
-
options: localVarRequestOptions,
|
|
1566
|
-
};
|
|
1567
|
-
}),
|
|
1568
|
-
/**
|
|
1569
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
1570
|
-
* @param {string} playerId
|
|
1571
|
-
* @param {*} [options] Override http request option.
|
|
1572
|
-
* @throws {RequiredError}
|
|
1573
|
-
*/
|
|
1574
|
-
getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1575
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1576
|
-
assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId);
|
|
1577
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
1578
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1579
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1580
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1581
|
-
let baseOptions;
|
|
1582
|
-
if (configuration) {
|
|
1583
|
-
baseOptions = configuration.baseOptions;
|
|
1584
|
-
}
|
|
1585
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1586
|
-
const localVarHeaderParameter = {};
|
|
1587
|
-
const localVarQueryParameter = {};
|
|
1588
|
-
// authentication bearerAuth required
|
|
1589
|
-
// http bearer authentication required
|
|
1590
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1591
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1592
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1593
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1594
|
-
return {
|
|
1595
|
-
url: toPathString(localVarUrlObj),
|
|
1596
|
-
options: localVarRequestOptions,
|
|
1597
|
-
};
|
|
1598
|
-
}),
|
|
1599
1574
|
/**
|
|
1600
1575
|
* Récupère la liste des joueurs du club
|
|
1601
1576
|
* @param {*} [options] Override http request option.
|
|
@@ -1895,53 +1870,6 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
1895
1870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1896
1871
|
});
|
|
1897
1872
|
},
|
|
1898
|
-
/**
|
|
1899
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1900
|
-
* @param {string} playerId
|
|
1901
|
-
* @param {number} [page]
|
|
1902
|
-
* @param {number} [pageSize]
|
|
1903
|
-
* @param {*} [options] Override http request option.
|
|
1904
|
-
* @throws {RequiredError}
|
|
1905
|
-
*/
|
|
1906
|
-
getClubPlayerBookingsById(playerId, page, pageSize, options) {
|
|
1907
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1908
|
-
var _a, _b, _c;
|
|
1909
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
|
|
1910
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1911
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1912
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1913
|
-
});
|
|
1914
|
-
},
|
|
1915
|
-
/**
|
|
1916
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1917
|
-
* @param {string} playerId
|
|
1918
|
-
* @param {*} [options] Override http request option.
|
|
1919
|
-
* @throws {RequiredError}
|
|
1920
|
-
*/
|
|
1921
|
-
getClubPlayerById(playerId, options) {
|
|
1922
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1923
|
-
var _a, _b, _c;
|
|
1924
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerById(playerId, options);
|
|
1925
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1926
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1927
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1928
|
-
});
|
|
1929
|
-
},
|
|
1930
|
-
/**
|
|
1931
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
1932
|
-
* @param {string} playerId
|
|
1933
|
-
* @param {*} [options] Override http request option.
|
|
1934
|
-
* @throws {RequiredError}
|
|
1935
|
-
*/
|
|
1936
|
-
getClubPlayerStatisticsById(playerId, options) {
|
|
1937
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1938
|
-
var _a, _b, _c;
|
|
1939
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
|
|
1940
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1941
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1942
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1943
|
-
});
|
|
1944
|
-
},
|
|
1945
1873
|
/**
|
|
1946
1874
|
* Récupère la liste des joueurs du club
|
|
1947
1875
|
* @param {*} [options] Override http request option.
|
|
@@ -2092,33 +2020,6 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2092
2020
|
getAnalyticsBySport(requestParameters, options) {
|
|
2093
2021
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
2094
2022
|
},
|
|
2095
|
-
/**
|
|
2096
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2097
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2098
|
-
* @param {*} [options] Override http request option.
|
|
2099
|
-
* @throws {RequiredError}
|
|
2100
|
-
*/
|
|
2101
|
-
getClubPlayerBookingsById(requestParameters, options) {
|
|
2102
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2103
|
-
},
|
|
2104
|
-
/**
|
|
2105
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2106
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2107
|
-
* @param {*} [options] Override http request option.
|
|
2108
|
-
* @throws {RequiredError}
|
|
2109
|
-
*/
|
|
2110
|
-
getClubPlayerById(requestParameters, options) {
|
|
2111
|
-
return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2112
|
-
},
|
|
2113
|
-
/**
|
|
2114
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2115
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2116
|
-
* @param {*} [options] Override http request option.
|
|
2117
|
-
* @throws {RequiredError}
|
|
2118
|
-
*/
|
|
2119
|
-
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2120
|
-
return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2121
|
-
},
|
|
2122
2023
|
/**
|
|
2123
2024
|
* Récupère la liste des joueurs du club
|
|
2124
2025
|
* @param {*} [options] Override http request option.
|
|
@@ -2214,36 +2115,6 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2214
2115
|
getAnalyticsBySport(requestParameters, options) {
|
|
2215
2116
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
2216
2117
|
}
|
|
2217
|
-
/**
|
|
2218
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2219
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2220
|
-
* @param {*} [options] Override http request option.
|
|
2221
|
-
* @throws {RequiredError}
|
|
2222
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2223
|
-
*/
|
|
2224
|
-
getClubPlayerBookingsById(requestParameters, options) {
|
|
2225
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2226
|
-
}
|
|
2227
|
-
/**
|
|
2228
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2229
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2230
|
-
* @param {*} [options] Override http request option.
|
|
2231
|
-
* @throws {RequiredError}
|
|
2232
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2233
|
-
*/
|
|
2234
|
-
getClubPlayerById(requestParameters, options) {
|
|
2235
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2236
|
-
}
|
|
2237
|
-
/**
|
|
2238
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2239
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2240
|
-
* @param {*} [options] Override http request option.
|
|
2241
|
-
* @throws {RequiredError}
|
|
2242
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2243
|
-
*/
|
|
2244
|
-
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2245
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2246
|
-
}
|
|
2247
2118
|
/**
|
|
2248
2119
|
* Récupère la liste des joueurs du club
|
|
2249
2120
|
* @param {*} [options] Override http request option.
|
|
@@ -2909,70 +2780,6 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
|
|
|
2909
2780
|
options: localVarRequestOptions,
|
|
2910
2781
|
};
|
|
2911
2782
|
}),
|
|
2912
|
-
/**
|
|
2913
|
-
*
|
|
2914
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
2915
|
-
* @param {*} [options] Override http request option.
|
|
2916
|
-
* @throws {RequiredError}
|
|
2917
|
-
*/
|
|
2918
|
-
updateHoursSettings: (updateClubHoursSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubHoursSettingsRequest_1, ...args_1], void 0, function* (updateClubHoursSettingsRequest, options = {}) {
|
|
2919
|
-
// verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
|
|
2920
|
-
assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest);
|
|
2921
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
2922
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2923
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2924
|
-
let baseOptions;
|
|
2925
|
-
if (configuration) {
|
|
2926
|
-
baseOptions = configuration.baseOptions;
|
|
2927
|
-
}
|
|
2928
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2929
|
-
const localVarHeaderParameter = {};
|
|
2930
|
-
const localVarQueryParameter = {};
|
|
2931
|
-
// authentication bearerAuth required
|
|
2932
|
-
// http bearer authentication required
|
|
2933
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2934
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2935
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2936
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2937
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2938
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration);
|
|
2939
|
-
return {
|
|
2940
|
-
url: toPathString(localVarUrlObj),
|
|
2941
|
-
options: localVarRequestOptions,
|
|
2942
|
-
};
|
|
2943
|
-
}),
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
2947
|
-
* @param {*} [options] Override http request option.
|
|
2948
|
-
* @throws {RequiredError}
|
|
2949
|
-
*/
|
|
2950
|
-
updateReservationSettings: (updateClubReservationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubReservationSettingsRequest_1, ...args_1], void 0, function* (updateClubReservationSettingsRequest, options = {}) {
|
|
2951
|
-
// verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
|
|
2952
|
-
assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest);
|
|
2953
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
2954
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2955
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2956
|
-
let baseOptions;
|
|
2957
|
-
if (configuration) {
|
|
2958
|
-
baseOptions = configuration.baseOptions;
|
|
2959
|
-
}
|
|
2960
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2961
|
-
const localVarHeaderParameter = {};
|
|
2962
|
-
const localVarQueryParameter = {};
|
|
2963
|
-
// authentication bearerAuth required
|
|
2964
|
-
// http bearer authentication required
|
|
2965
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2966
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2967
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2968
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2969
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2970
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration);
|
|
2971
|
-
return {
|
|
2972
|
-
url: toPathString(localVarUrlObj),
|
|
2973
|
-
options: localVarRequestOptions,
|
|
2974
|
-
};
|
|
2975
|
-
}),
|
|
2976
2783
|
};
|
|
2977
2784
|
};
|
|
2978
2785
|
/**
|
|
@@ -3041,36 +2848,6 @@ export const ClubSettingsManagerApiFp = function (configuration) {
|
|
|
3041
2848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3042
2849
|
});
|
|
3043
2850
|
},
|
|
3044
|
-
/**
|
|
3045
|
-
*
|
|
3046
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
3047
|
-
* @param {*} [options] Override http request option.
|
|
3048
|
-
* @throws {RequiredError}
|
|
3049
|
-
*/
|
|
3050
|
-
updateHoursSettings(updateClubHoursSettingsRequest, options) {
|
|
3051
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3052
|
-
var _a, _b, _c;
|
|
3053
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
|
|
3054
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3055
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3056
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3057
|
-
});
|
|
3058
|
-
},
|
|
3059
|
-
/**
|
|
3060
|
-
*
|
|
3061
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
3062
|
-
* @param {*} [options] Override http request option.
|
|
3063
|
-
* @throws {RequiredError}
|
|
3064
|
-
*/
|
|
3065
|
-
updateReservationSettings(updateClubReservationSettingsRequest, options) {
|
|
3066
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3067
|
-
var _a, _b, _c;
|
|
3068
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
|
|
3069
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3070
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3071
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3072
|
-
});
|
|
3073
|
-
},
|
|
3074
2851
|
};
|
|
3075
2852
|
};
|
|
3076
2853
|
/**
|
|
@@ -3114,24 +2891,6 @@ export const ClubSettingsManagerApiFactory = function (configuration, basePath,
|
|
|
3114
2891
|
updateClubSettings(requestParameters, options) {
|
|
3115
2892
|
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3116
2893
|
},
|
|
3117
|
-
/**
|
|
3118
|
-
*
|
|
3119
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3120
|
-
* @param {*} [options] Override http request option.
|
|
3121
|
-
* @throws {RequiredError}
|
|
3122
|
-
*/
|
|
3123
|
-
updateHoursSettings(requestParameters, options) {
|
|
3124
|
-
return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3125
|
-
},
|
|
3126
|
-
/**
|
|
3127
|
-
*
|
|
3128
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3129
|
-
* @param {*} [options] Override http request option.
|
|
3130
|
-
* @throws {RequiredError}
|
|
3131
|
-
*/
|
|
3132
|
-
updateReservationSettings(requestParameters, options) {
|
|
3133
|
-
return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3134
|
-
},
|
|
3135
2894
|
};
|
|
3136
2895
|
};
|
|
3137
2896
|
/**
|
|
@@ -3179,176 +2938,6 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
3179
2938
|
updateClubSettings(requestParameters, options) {
|
|
3180
2939
|
return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3181
2940
|
}
|
|
3182
|
-
/**
|
|
3183
|
-
*
|
|
3184
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3185
|
-
* @param {*} [options] Override http request option.
|
|
3186
|
-
* @throws {RequiredError}
|
|
3187
|
-
* @memberof ClubSettingsManagerApi
|
|
3188
|
-
*/
|
|
3189
|
-
updateHoursSettings(requestParameters, options) {
|
|
3190
|
-
return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3191
|
-
}
|
|
3192
|
-
/**
|
|
3193
|
-
*
|
|
3194
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3195
|
-
* @param {*} [options] Override http request option.
|
|
3196
|
-
* @throws {RequiredError}
|
|
3197
|
-
* @memberof ClubSettingsManagerApi
|
|
3198
|
-
*/
|
|
3199
|
-
updateReservationSettings(requestParameters, options) {
|
|
3200
|
-
return ClubSettingsManagerApiFp(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3201
|
-
}
|
|
3202
|
-
}
|
|
3203
|
-
/**
|
|
3204
|
-
* ClubSettingsStaffApi - axios parameter creator
|
|
3205
|
-
* @export
|
|
3206
|
-
*/
|
|
3207
|
-
export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
|
|
3208
|
-
return {
|
|
3209
|
-
/**
|
|
3210
|
-
*
|
|
3211
|
-
* @param {*} [options] Override http request option.
|
|
3212
|
-
* @throws {RequiredError}
|
|
3213
|
-
*/
|
|
3214
|
-
getHoursSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3215
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
3216
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3217
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3218
|
-
let baseOptions;
|
|
3219
|
-
if (configuration) {
|
|
3220
|
-
baseOptions = configuration.baseOptions;
|
|
3221
|
-
}
|
|
3222
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3223
|
-
const localVarHeaderParameter = {};
|
|
3224
|
-
const localVarQueryParameter = {};
|
|
3225
|
-
// authentication bearerAuth required
|
|
3226
|
-
// http bearer authentication required
|
|
3227
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3228
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3229
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3230
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3231
|
-
return {
|
|
3232
|
-
url: toPathString(localVarUrlObj),
|
|
3233
|
-
options: localVarRequestOptions,
|
|
3234
|
-
};
|
|
3235
|
-
}),
|
|
3236
|
-
/**
|
|
3237
|
-
*
|
|
3238
|
-
* @param {*} [options] Override http request option.
|
|
3239
|
-
* @throws {RequiredError}
|
|
3240
|
-
*/
|
|
3241
|
-
getReservationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3242
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
3243
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3244
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3245
|
-
let baseOptions;
|
|
3246
|
-
if (configuration) {
|
|
3247
|
-
baseOptions = configuration.baseOptions;
|
|
3248
|
-
}
|
|
3249
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3250
|
-
const localVarHeaderParameter = {};
|
|
3251
|
-
const localVarQueryParameter = {};
|
|
3252
|
-
// authentication bearerAuth required
|
|
3253
|
-
// http bearer authentication required
|
|
3254
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3255
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3256
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3257
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3258
|
-
return {
|
|
3259
|
-
url: toPathString(localVarUrlObj),
|
|
3260
|
-
options: localVarRequestOptions,
|
|
3261
|
-
};
|
|
3262
|
-
}),
|
|
3263
|
-
};
|
|
3264
|
-
};
|
|
3265
|
-
/**
|
|
3266
|
-
* ClubSettingsStaffApi - functional programming interface
|
|
3267
|
-
* @export
|
|
3268
|
-
*/
|
|
3269
|
-
export const ClubSettingsStaffApiFp = function (configuration) {
|
|
3270
|
-
const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration);
|
|
3271
|
-
return {
|
|
3272
|
-
/**
|
|
3273
|
-
*
|
|
3274
|
-
* @param {*} [options] Override http request option.
|
|
3275
|
-
* @throws {RequiredError}
|
|
3276
|
-
*/
|
|
3277
|
-
getHoursSettings(options) {
|
|
3278
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3279
|
-
var _a, _b, _c;
|
|
3280
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHoursSettings(options);
|
|
3281
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3282
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3283
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3284
|
-
});
|
|
3285
|
-
},
|
|
3286
|
-
/**
|
|
3287
|
-
*
|
|
3288
|
-
* @param {*} [options] Override http request option.
|
|
3289
|
-
* @throws {RequiredError}
|
|
3290
|
-
*/
|
|
3291
|
-
getReservationSettings(options) {
|
|
3292
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3293
|
-
var _a, _b, _c;
|
|
3294
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReservationSettings(options);
|
|
3295
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3296
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3297
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3298
|
-
});
|
|
3299
|
-
},
|
|
3300
|
-
};
|
|
3301
|
-
};
|
|
3302
|
-
/**
|
|
3303
|
-
* ClubSettingsStaffApi - factory interface
|
|
3304
|
-
* @export
|
|
3305
|
-
*/
|
|
3306
|
-
export const ClubSettingsStaffApiFactory = function (configuration, basePath, axios) {
|
|
3307
|
-
const localVarFp = ClubSettingsStaffApiFp(configuration);
|
|
3308
|
-
return {
|
|
3309
|
-
/**
|
|
3310
|
-
*
|
|
3311
|
-
* @param {*} [options] Override http request option.
|
|
3312
|
-
* @throws {RequiredError}
|
|
3313
|
-
*/
|
|
3314
|
-
getHoursSettings(options) {
|
|
3315
|
-
return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
|
|
3316
|
-
},
|
|
3317
|
-
/**
|
|
3318
|
-
*
|
|
3319
|
-
* @param {*} [options] Override http request option.
|
|
3320
|
-
* @throws {RequiredError}
|
|
3321
|
-
*/
|
|
3322
|
-
getReservationSettings(options) {
|
|
3323
|
-
return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
|
|
3324
|
-
},
|
|
3325
|
-
};
|
|
3326
|
-
};
|
|
3327
|
-
/**
|
|
3328
|
-
* ClubSettingsStaffApi - object-oriented interface
|
|
3329
|
-
* @export
|
|
3330
|
-
* @class ClubSettingsStaffApi
|
|
3331
|
-
* @extends {BaseAPI}
|
|
3332
|
-
*/
|
|
3333
|
-
export class ClubSettingsStaffApi extends BaseAPI {
|
|
3334
|
-
/**
|
|
3335
|
-
*
|
|
3336
|
-
* @param {*} [options] Override http request option.
|
|
3337
|
-
* @throws {RequiredError}
|
|
3338
|
-
* @memberof ClubSettingsStaffApi
|
|
3339
|
-
*/
|
|
3340
|
-
getHoursSettings(options) {
|
|
3341
|
-
return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
-
}
|
|
3343
|
-
/**
|
|
3344
|
-
*
|
|
3345
|
-
* @param {*} [options] Override http request option.
|
|
3346
|
-
* @throws {RequiredError}
|
|
3347
|
-
* @memberof ClubSettingsStaffApi
|
|
3348
|
-
*/
|
|
3349
|
-
getReservationSettings(options) {
|
|
3350
|
-
return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3351
|
-
}
|
|
3352
2941
|
}
|
|
3353
2942
|
/**
|
|
3354
2943
|
* ClubsApi - axios parameter creator
|
|
@@ -4605,38 +4194,6 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4605
4194
|
options: localVarRequestOptions,
|
|
4606
4195
|
};
|
|
4607
4196
|
}),
|
|
4608
|
-
/**
|
|
4609
|
-
*
|
|
4610
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
4611
|
-
* @param {*} [options] Override http request option.
|
|
4612
|
-
* @throws {RequiredError}
|
|
4613
|
-
*/
|
|
4614
|
-
updateClubGeneralSettings: (updateClubGeneralSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubGeneralSettingsRequest_1, ...args_1], void 0, function* (updateClubGeneralSettingsRequest, options = {}) {
|
|
4615
|
-
// verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
|
|
4616
|
-
assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest);
|
|
4617
|
-
const localVarPath = `/api/clubs/settings/general`;
|
|
4618
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4619
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4620
|
-
let baseOptions;
|
|
4621
|
-
if (configuration) {
|
|
4622
|
-
baseOptions = configuration.baseOptions;
|
|
4623
|
-
}
|
|
4624
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4625
|
-
const localVarHeaderParameter = {};
|
|
4626
|
-
const localVarQueryParameter = {};
|
|
4627
|
-
// authentication bearerAuth required
|
|
4628
|
-
// http bearer authentication required
|
|
4629
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4630
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4631
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4632
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4633
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4634
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration);
|
|
4635
|
-
return {
|
|
4636
|
-
url: toPathString(localVarUrlObj),
|
|
4637
|
-
options: localVarRequestOptions,
|
|
4638
|
-
};
|
|
4639
|
-
}),
|
|
4640
4197
|
/**
|
|
4641
4198
|
*
|
|
4642
4199
|
* @param {any} body
|
|
@@ -4669,38 +4226,6 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4669
4226
|
options: localVarRequestOptions,
|
|
4670
4227
|
};
|
|
4671
4228
|
}),
|
|
4672
|
-
/**
|
|
4673
|
-
*
|
|
4674
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
4675
|
-
* @param {*} [options] Override http request option.
|
|
4676
|
-
* @throws {RequiredError}
|
|
4677
|
-
*/
|
|
4678
|
-
updateClubPresentationSettings: (updateClubPresentationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubPresentationSettingsRequest_1, ...args_1], void 0, function* (updateClubPresentationSettingsRequest, options = {}) {
|
|
4679
|
-
// verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
|
|
4680
|
-
assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest);
|
|
4681
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
4682
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4683
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4684
|
-
let baseOptions;
|
|
4685
|
-
if (configuration) {
|
|
4686
|
-
baseOptions = configuration.baseOptions;
|
|
4687
|
-
}
|
|
4688
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4689
|
-
const localVarHeaderParameter = {};
|
|
4690
|
-
const localVarQueryParameter = {};
|
|
4691
|
-
// authentication bearerAuth required
|
|
4692
|
-
// http bearer authentication required
|
|
4693
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4694
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4695
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4696
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4697
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4698
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration);
|
|
4699
|
-
return {
|
|
4700
|
-
url: toPathString(localVarUrlObj),
|
|
4701
|
-
options: localVarRequestOptions,
|
|
4702
|
-
};
|
|
4703
|
-
}),
|
|
4704
4229
|
/**
|
|
4705
4230
|
*
|
|
4706
4231
|
* @param {string} courtId
|
|
@@ -5008,21 +4533,6 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
5008
4533
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5009
4534
|
});
|
|
5010
4535
|
},
|
|
5011
|
-
/**
|
|
5012
|
-
*
|
|
5013
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
5014
|
-
* @param {*} [options] Override http request option.
|
|
5015
|
-
* @throws {RequiredError}
|
|
5016
|
-
*/
|
|
5017
|
-
updateClubGeneralSettings(updateClubGeneralSettingsRequest, options) {
|
|
5018
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5019
|
-
var _a, _b, _c;
|
|
5020
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
|
|
5021
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5022
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5023
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5024
|
-
});
|
|
5025
|
-
},
|
|
5026
4536
|
/**
|
|
5027
4537
|
*
|
|
5028
4538
|
* @param {any} body
|
|
@@ -5038,21 +4548,6 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
5038
4548
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5039
4549
|
});
|
|
5040
4550
|
},
|
|
5041
|
-
/**
|
|
5042
|
-
*
|
|
5043
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
5044
|
-
* @param {*} [options] Override http request option.
|
|
5045
|
-
* @throws {RequiredError}
|
|
5046
|
-
*/
|
|
5047
|
-
updateClubPresentationSettings(updateClubPresentationSettingsRequest, options) {
|
|
5048
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5049
|
-
var _a, _b, _c;
|
|
5050
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
|
|
5051
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5052
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5053
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5054
|
-
});
|
|
5055
|
-
},
|
|
5056
4551
|
/**
|
|
5057
4552
|
*
|
|
5058
4553
|
* @param {string} courtId
|
|
@@ -5228,15 +4723,6 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
5228
4723
|
updateClub(requestParameters, options) {
|
|
5229
4724
|
return localVarFp.updateClub(requestParameters.updateClubRequest, options).then((request) => request(axios, basePath));
|
|
5230
4725
|
},
|
|
5231
|
-
/**
|
|
5232
|
-
*
|
|
5233
|
-
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
5234
|
-
* @param {*} [options] Override http request option.
|
|
5235
|
-
* @throws {RequiredError}
|
|
5236
|
-
*/
|
|
5237
|
-
updateClubGeneralSettings(requestParameters, options) {
|
|
5238
|
-
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5239
|
-
},
|
|
5240
4726
|
/**
|
|
5241
4727
|
*
|
|
5242
4728
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -5246,15 +4732,6 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
5246
4732
|
updateClubInfos(requestParameters, options) {
|
|
5247
4733
|
return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
5248
4734
|
},
|
|
5249
|
-
/**
|
|
5250
|
-
*
|
|
5251
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5252
|
-
* @param {*} [options] Override http request option.
|
|
5253
|
-
* @throws {RequiredError}
|
|
5254
|
-
*/
|
|
5255
|
-
updateClubPresentationSettings(requestParameters, options) {
|
|
5256
|
-
return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5257
|
-
},
|
|
5258
4735
|
/**
|
|
5259
4736
|
*
|
|
5260
4737
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5431,16 +4908,6 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
5431
4908
|
updateClub(requestParameters, options) {
|
|
5432
4909
|
return ClubsManagerApiFp(this.configuration).updateClub(requestParameters.updateClubRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5433
4910
|
}
|
|
5434
|
-
/**
|
|
5435
|
-
*
|
|
5436
|
-
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
5437
|
-
* @param {*} [options] Override http request option.
|
|
5438
|
-
* @throws {RequiredError}
|
|
5439
|
-
* @memberof ClubsManagerApi
|
|
5440
|
-
*/
|
|
5441
|
-
updateClubGeneralSettings(requestParameters, options) {
|
|
5442
|
-
return ClubsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5443
|
-
}
|
|
5444
4911
|
/**
|
|
5445
4912
|
*
|
|
5446
4913
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -5451,16 +4918,6 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
5451
4918
|
updateClubInfos(requestParameters, options) {
|
|
5452
4919
|
return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5453
4920
|
}
|
|
5454
|
-
/**
|
|
5455
|
-
*
|
|
5456
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5457
|
-
* @param {*} [options] Override http request option.
|
|
5458
|
-
* @throws {RequiredError}
|
|
5459
|
-
* @memberof ClubsManagerApi
|
|
5460
|
-
*/
|
|
5461
|
-
updateClubPresentationSettings(requestParameters, options) {
|
|
5462
|
-
return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5463
|
-
}
|
|
5464
4921
|
/**
|
|
5465
4922
|
*
|
|
5466
4923
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5515,33 +4972,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5515
4972
|
options: localVarRequestOptions,
|
|
5516
4973
|
};
|
|
5517
4974
|
}),
|
|
5518
|
-
/**
|
|
5519
|
-
*
|
|
5520
|
-
* @param {*} [options] Override http request option.
|
|
5521
|
-
* @throws {RequiredError}
|
|
5522
|
-
*/
|
|
5523
|
-
getClubGeneralSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5524
|
-
const localVarPath = `/api/clubs/settings/general`;
|
|
5525
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5526
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5527
|
-
let baseOptions;
|
|
5528
|
-
if (configuration) {
|
|
5529
|
-
baseOptions = configuration.baseOptions;
|
|
5530
|
-
}
|
|
5531
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5532
|
-
const localVarHeaderParameter = {};
|
|
5533
|
-
const localVarQueryParameter = {};
|
|
5534
|
-
// authentication bearerAuth required
|
|
5535
|
-
// http bearer authentication required
|
|
5536
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5537
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5538
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5539
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5540
|
-
return {
|
|
5541
|
-
url: toPathString(localVarUrlObj),
|
|
5542
|
-
options: localVarRequestOptions,
|
|
5543
|
-
};
|
|
5544
|
-
}),
|
|
5545
4975
|
/**
|
|
5546
4976
|
*
|
|
5547
4977
|
* @param {*} [options] Override http request option.
|
|
@@ -5596,33 +5026,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5596
5026
|
options: localVarRequestOptions,
|
|
5597
5027
|
};
|
|
5598
5028
|
}),
|
|
5599
|
-
/**
|
|
5600
|
-
*
|
|
5601
|
-
* @param {*} [options] Override http request option.
|
|
5602
|
-
* @throws {RequiredError}
|
|
5603
|
-
*/
|
|
5604
|
-
getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5605
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
5606
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5607
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5608
|
-
let baseOptions;
|
|
5609
|
-
if (configuration) {
|
|
5610
|
-
baseOptions = configuration.baseOptions;
|
|
5611
|
-
}
|
|
5612
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5613
|
-
const localVarHeaderParameter = {};
|
|
5614
|
-
const localVarQueryParameter = {};
|
|
5615
|
-
// authentication bearerAuth required
|
|
5616
|
-
// http bearer authentication required
|
|
5617
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5618
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5619
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5620
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5621
|
-
return {
|
|
5622
|
-
url: toPathString(localVarUrlObj),
|
|
5623
|
-
options: localVarRequestOptions,
|
|
5624
|
-
};
|
|
5625
|
-
}),
|
|
5626
5029
|
/**
|
|
5627
5030
|
* Récupère les rôles d\'un club
|
|
5628
5031
|
* @param {*} [options] Override http request option.
|
|
@@ -5742,33 +5145,19 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5742
5145
|
* @export
|
|
5743
5146
|
*/
|
|
5744
5147
|
export const ClubsStaffApiFp = function (configuration) {
|
|
5745
|
-
const localVarAxiosParamCreator = ClubsStaffApiAxiosParamCreator(configuration);
|
|
5746
|
-
return {
|
|
5747
|
-
/**
|
|
5748
|
-
*
|
|
5749
|
-
* @param {*} [options] Override http request option.
|
|
5750
|
-
* @throws {RequiredError}
|
|
5751
|
-
*/
|
|
5752
|
-
getActualities(options) {
|
|
5753
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5754
|
-
var _a, _b, _c;
|
|
5755
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActualities(options);
|
|
5756
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5757
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getActualities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5758
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5759
|
-
});
|
|
5760
|
-
},
|
|
5148
|
+
const localVarAxiosParamCreator = ClubsStaffApiAxiosParamCreator(configuration);
|
|
5149
|
+
return {
|
|
5761
5150
|
/**
|
|
5762
5151
|
*
|
|
5763
5152
|
* @param {*} [options] Override http request option.
|
|
5764
5153
|
* @throws {RequiredError}
|
|
5765
5154
|
*/
|
|
5766
|
-
|
|
5155
|
+
getActualities(options) {
|
|
5767
5156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5768
5157
|
var _a, _b, _c;
|
|
5769
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5158
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActualities(options);
|
|
5770
5159
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5771
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.
|
|
5160
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getActualities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5772
5161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5773
5162
|
});
|
|
5774
5163
|
},
|
|
@@ -5800,20 +5189,6 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
5800
5189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5801
5190
|
});
|
|
5802
5191
|
},
|
|
5803
|
-
/**
|
|
5804
|
-
*
|
|
5805
|
-
* @param {*} [options] Override http request option.
|
|
5806
|
-
* @throws {RequiredError}
|
|
5807
|
-
*/
|
|
5808
|
-
getClubPresentationSettings(options) {
|
|
5809
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5810
|
-
var _a, _b, _c;
|
|
5811
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPresentationSettings(options);
|
|
5812
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5813
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5814
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5815
|
-
});
|
|
5816
|
-
},
|
|
5817
5192
|
/**
|
|
5818
5193
|
* Récupère les rôles d\'un club
|
|
5819
5194
|
* @param {*} [options] Override http request option.
|
|
@@ -5888,14 +5263,6 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5888
5263
|
getActualities(options) {
|
|
5889
5264
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
5890
5265
|
},
|
|
5891
|
-
/**
|
|
5892
|
-
*
|
|
5893
|
-
* @param {*} [options] Override http request option.
|
|
5894
|
-
* @throws {RequiredError}
|
|
5895
|
-
*/
|
|
5896
|
-
getClubGeneralSettings(options) {
|
|
5897
|
-
return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
|
|
5898
|
-
},
|
|
5899
5266
|
/**
|
|
5900
5267
|
*
|
|
5901
5268
|
* @param {*} [options] Override http request option.
|
|
@@ -5912,14 +5279,6 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5912
5279
|
getClubMembers(options) {
|
|
5913
5280
|
return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
|
|
5914
5281
|
},
|
|
5915
|
-
/**
|
|
5916
|
-
*
|
|
5917
|
-
* @param {*} [options] Override http request option.
|
|
5918
|
-
* @throws {RequiredError}
|
|
5919
|
-
*/
|
|
5920
|
-
getClubPresentationSettings(options) {
|
|
5921
|
-
return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
|
|
5922
|
-
},
|
|
5923
5282
|
/**
|
|
5924
5283
|
* Récupère les rôles d\'un club
|
|
5925
5284
|
* @param {*} [options] Override http request option.
|
|
@@ -5971,15 +5330,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
5971
5330
|
getActualities(options) {
|
|
5972
5331
|
return ClubsStaffApiFp(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
5973
5332
|
}
|
|
5974
|
-
/**
|
|
5975
|
-
*
|
|
5976
|
-
* @param {*} [options] Override http request option.
|
|
5977
|
-
* @throws {RequiredError}
|
|
5978
|
-
* @memberof ClubsStaffApi
|
|
5979
|
-
*/
|
|
5980
|
-
getClubGeneralSettings(options) {
|
|
5981
|
-
return ClubsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
|
|
5982
|
-
}
|
|
5983
5333
|
/**
|
|
5984
5334
|
*
|
|
5985
5335
|
* @param {*} [options] Override http request option.
|
|
@@ -5998,15 +5348,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
5998
5348
|
getClubMembers(options) {
|
|
5999
5349
|
return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
|
|
6000
5350
|
}
|
|
6001
|
-
/**
|
|
6002
|
-
*
|
|
6003
|
-
* @param {*} [options] Override http request option.
|
|
6004
|
-
* @throws {RequiredError}
|
|
6005
|
-
* @memberof ClubsStaffApi
|
|
6006
|
-
*/
|
|
6007
|
-
getClubPresentationSettings(options) {
|
|
6008
|
-
return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
6009
|
-
}
|
|
6010
5351
|
/**
|
|
6011
5352
|
* Récupère les rôles d\'un club
|
|
6012
5353
|
* @param {*} [options] Override http request option.
|
|
@@ -7160,6 +6501,95 @@ export class SportsManagerApi extends BaseAPI {
|
|
|
7160
6501
|
return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7161
6502
|
}
|
|
7162
6503
|
}
|
|
6504
|
+
/**
|
|
6505
|
+
* SportsPublicApi - axios parameter creator
|
|
6506
|
+
* @export
|
|
6507
|
+
*/
|
|
6508
|
+
export const SportsPublicApiAxiosParamCreator = function (configuration) {
|
|
6509
|
+
return {
|
|
6510
|
+
/**
|
|
6511
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6512
|
+
* @param {*} [options] Override http request option.
|
|
6513
|
+
* @throws {RequiredError}
|
|
6514
|
+
*/
|
|
6515
|
+
getVerifiedSports: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6516
|
+
const localVarPath = `/api/sports/verified`;
|
|
6517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6518
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6519
|
+
let baseOptions;
|
|
6520
|
+
if (configuration) {
|
|
6521
|
+
baseOptions = configuration.baseOptions;
|
|
6522
|
+
}
|
|
6523
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6524
|
+
const localVarHeaderParameter = {};
|
|
6525
|
+
const localVarQueryParameter = {};
|
|
6526
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6527
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6528
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6529
|
+
return {
|
|
6530
|
+
url: toPathString(localVarUrlObj),
|
|
6531
|
+
options: localVarRequestOptions,
|
|
6532
|
+
};
|
|
6533
|
+
}),
|
|
6534
|
+
};
|
|
6535
|
+
};
|
|
6536
|
+
/**
|
|
6537
|
+
* SportsPublicApi - functional programming interface
|
|
6538
|
+
* @export
|
|
6539
|
+
*/
|
|
6540
|
+
export const SportsPublicApiFp = function (configuration) {
|
|
6541
|
+
const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration);
|
|
6542
|
+
return {
|
|
6543
|
+
/**
|
|
6544
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6545
|
+
* @param {*} [options] Override http request option.
|
|
6546
|
+
* @throws {RequiredError}
|
|
6547
|
+
*/
|
|
6548
|
+
getVerifiedSports(options) {
|
|
6549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6550
|
+
var _a, _b, _c;
|
|
6551
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getVerifiedSports(options);
|
|
6552
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6553
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SportsPublicApi.getVerifiedSports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6554
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6555
|
+
});
|
|
6556
|
+
},
|
|
6557
|
+
};
|
|
6558
|
+
};
|
|
6559
|
+
/**
|
|
6560
|
+
* SportsPublicApi - factory interface
|
|
6561
|
+
* @export
|
|
6562
|
+
*/
|
|
6563
|
+
export const SportsPublicApiFactory = function (configuration, basePath, axios) {
|
|
6564
|
+
const localVarFp = SportsPublicApiFp(configuration);
|
|
6565
|
+
return {
|
|
6566
|
+
/**
|
|
6567
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6568
|
+
* @param {*} [options] Override http request option.
|
|
6569
|
+
* @throws {RequiredError}
|
|
6570
|
+
*/
|
|
6571
|
+
getVerifiedSports(options) {
|
|
6572
|
+
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
6573
|
+
},
|
|
6574
|
+
};
|
|
6575
|
+
};
|
|
6576
|
+
/**
|
|
6577
|
+
* SportsPublicApi - object-oriented interface
|
|
6578
|
+
* @export
|
|
6579
|
+
* @class SportsPublicApi
|
|
6580
|
+
* @extends {BaseAPI}
|
|
6581
|
+
*/
|
|
6582
|
+
export class SportsPublicApi extends BaseAPI {
|
|
6583
|
+
/**
|
|
6584
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6585
|
+
* @param {*} [options] Override http request option.
|
|
6586
|
+
* @throws {RequiredError}
|
|
6587
|
+
* @memberof SportsPublicApi
|
|
6588
|
+
*/
|
|
6589
|
+
getVerifiedSports(options) {
|
|
6590
|
+
return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
7163
6593
|
/**
|
|
7164
6594
|
* SportsStaffApi - axios parameter creator
|
|
7165
6595
|
* @export
|
|
@@ -8071,38 +7501,6 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8071
7501
|
options: localVarRequestOptions,
|
|
8072
7502
|
};
|
|
8073
7503
|
}),
|
|
8074
|
-
/**
|
|
8075
|
-
*
|
|
8076
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
8077
|
-
* @param {*} [options] Override http request option.
|
|
8078
|
-
* @throws {RequiredError}
|
|
8079
|
-
*/
|
|
8080
|
-
addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
|
|
8081
|
-
// verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
|
|
8082
|
-
assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
|
|
8083
|
-
const localVarPath = `/api/users/addPaymentMethodSetup`;
|
|
8084
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8085
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8086
|
-
let baseOptions;
|
|
8087
|
-
if (configuration) {
|
|
8088
|
-
baseOptions = configuration.baseOptions;
|
|
8089
|
-
}
|
|
8090
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8091
|
-
const localVarHeaderParameter = {};
|
|
8092
|
-
const localVarQueryParameter = {};
|
|
8093
|
-
// authentication bearerAuth required
|
|
8094
|
-
// http bearer authentication required
|
|
8095
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8096
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8097
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8098
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8099
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8100
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
8101
|
-
return {
|
|
8102
|
-
url: toPathString(localVarUrlObj),
|
|
8103
|
-
options: localVarRequestOptions,
|
|
8104
|
-
};
|
|
8105
|
-
}),
|
|
8106
7504
|
/**
|
|
8107
7505
|
*
|
|
8108
7506
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -8135,38 +7533,6 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8135
7533
|
options: localVarRequestOptions,
|
|
8136
7534
|
};
|
|
8137
7535
|
}),
|
|
8138
|
-
/**
|
|
8139
|
-
*
|
|
8140
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
8141
|
-
* @param {*} [options] Override http request option.
|
|
8142
|
-
* @throws {RequiredError}
|
|
8143
|
-
*/
|
|
8144
|
-
confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
|
|
8145
|
-
// verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
|
|
8146
|
-
assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
|
|
8147
|
-
const localVarPath = `/api/users/confirmPaymentMethodSetup`;
|
|
8148
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8149
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8150
|
-
let baseOptions;
|
|
8151
|
-
if (configuration) {
|
|
8152
|
-
baseOptions = configuration.baseOptions;
|
|
8153
|
-
}
|
|
8154
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8155
|
-
const localVarHeaderParameter = {};
|
|
8156
|
-
const localVarQueryParameter = {};
|
|
8157
|
-
// authentication bearerAuth required
|
|
8158
|
-
// http bearer authentication required
|
|
8159
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8160
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8161
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8162
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8163
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8164
|
-
localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
8165
|
-
return {
|
|
8166
|
-
url: toPathString(localVarUrlObj),
|
|
8167
|
-
options: localVarRequestOptions,
|
|
8168
|
-
};
|
|
8169
|
-
}),
|
|
8170
7536
|
/**
|
|
8171
7537
|
*
|
|
8172
7538
|
* @param {*} [options] Override http request option.
|
|
@@ -8936,38 +8302,6 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8936
8302
|
options: localVarRequestOptions,
|
|
8937
8303
|
};
|
|
8938
8304
|
}),
|
|
8939
|
-
/**
|
|
8940
|
-
*
|
|
8941
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
8942
|
-
* @param {*} [options] Override http request option.
|
|
8943
|
-
* @throws {RequiredError}
|
|
8944
|
-
*/
|
|
8945
|
-
setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
|
|
8946
|
-
// verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
|
|
8947
|
-
assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
|
|
8948
|
-
const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
|
|
8949
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8950
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8951
|
-
let baseOptions;
|
|
8952
|
-
if (configuration) {
|
|
8953
|
-
baseOptions = configuration.baseOptions;
|
|
8954
|
-
}
|
|
8955
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8956
|
-
const localVarHeaderParameter = {};
|
|
8957
|
-
const localVarQueryParameter = {};
|
|
8958
|
-
// authentication bearerAuth required
|
|
8959
|
-
// http bearer authentication required
|
|
8960
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8961
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8962
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8963
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8964
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8965
|
-
localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
8966
|
-
return {
|
|
8967
|
-
url: toPathString(localVarUrlObj),
|
|
8968
|
-
options: localVarRequestOptions,
|
|
8969
|
-
};
|
|
8970
|
-
}),
|
|
8971
8305
|
/**
|
|
8972
8306
|
*
|
|
8973
8307
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -9237,21 +8571,6 @@ export const UsersApiFp = function (configuration) {
|
|
|
9237
8571
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9238
8572
|
});
|
|
9239
8573
|
},
|
|
9240
|
-
/**
|
|
9241
|
-
*
|
|
9242
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
9243
|
-
* @param {*} [options] Override http request option.
|
|
9244
|
-
* @throws {RequiredError}
|
|
9245
|
-
*/
|
|
9246
|
-
addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
|
|
9247
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9248
|
-
var _a, _b, _c;
|
|
9249
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
|
|
9250
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9251
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9252
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9253
|
-
});
|
|
9254
|
-
},
|
|
9255
8574
|
/**
|
|
9256
8575
|
*
|
|
9257
8576
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -9267,21 +8586,6 @@ export const UsersApiFp = function (configuration) {
|
|
|
9267
8586
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9268
8587
|
});
|
|
9269
8588
|
},
|
|
9270
|
-
/**
|
|
9271
|
-
*
|
|
9272
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
9273
|
-
* @param {*} [options] Override http request option.
|
|
9274
|
-
* @throws {RequiredError}
|
|
9275
|
-
*/
|
|
9276
|
-
confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
|
|
9277
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9278
|
-
var _a, _b, _c;
|
|
9279
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
|
|
9280
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9281
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9282
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9283
|
-
});
|
|
9284
|
-
},
|
|
9285
8589
|
/**
|
|
9286
8590
|
*
|
|
9287
8591
|
* @param {*} [options] Override http request option.
|
|
@@ -9652,21 +8956,6 @@ export const UsersApiFp = function (configuration) {
|
|
|
9652
8956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9653
8957
|
});
|
|
9654
8958
|
},
|
|
9655
|
-
/**
|
|
9656
|
-
*
|
|
9657
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
9658
|
-
* @param {*} [options] Override http request option.
|
|
9659
|
-
* @throws {RequiredError}
|
|
9660
|
-
*/
|
|
9661
|
-
setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
|
|
9662
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9663
|
-
var _a, _b, _c;
|
|
9664
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
|
|
9665
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9666
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9667
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9668
|
-
});
|
|
9669
|
-
},
|
|
9670
8959
|
/**
|
|
9671
8960
|
*
|
|
9672
8961
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -9808,15 +9097,6 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9808
9097
|
addOrganization(requestParameters, options) {
|
|
9809
9098
|
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
9810
9099
|
},
|
|
9811
|
-
/**
|
|
9812
|
-
*
|
|
9813
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9814
|
-
* @param {*} [options] Override http request option.
|
|
9815
|
-
* @throws {RequiredError}
|
|
9816
|
-
*/
|
|
9817
|
-
addPaymentMethodSetup(requestParameters, options) {
|
|
9818
|
-
return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9819
|
-
},
|
|
9820
9100
|
/**
|
|
9821
9101
|
*
|
|
9822
9102
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -9826,15 +9106,6 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9826
9106
|
changePassword(requestParameters, options) {
|
|
9827
9107
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
9828
9108
|
},
|
|
9829
|
-
/**
|
|
9830
|
-
*
|
|
9831
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9832
|
-
* @param {*} [options] Override http request option.
|
|
9833
|
-
* @throws {RequiredError}
|
|
9834
|
-
*/
|
|
9835
|
-
confirmPaymentMethodSetup(requestParameters, options) {
|
|
9836
|
-
return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9837
|
-
},
|
|
9838
9109
|
/**
|
|
9839
9110
|
*
|
|
9840
9111
|
* @param {*} [options] Override http request option.
|
|
@@ -10043,15 +9314,6 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
10043
9314
|
resetPassword(requestParameters, options) {
|
|
10044
9315
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
10045
9316
|
},
|
|
10046
|
-
/**
|
|
10047
|
-
*
|
|
10048
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
10049
|
-
* @param {*} [options] Override http request option.
|
|
10050
|
-
* @throws {RequiredError}
|
|
10051
|
-
*/
|
|
10052
|
-
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
10053
|
-
return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
10054
|
-
},
|
|
10055
9317
|
/**
|
|
10056
9318
|
*
|
|
10057
9319
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -10154,16 +9416,6 @@ export class UsersApi extends BaseAPI {
|
|
|
10154
9416
|
addOrganization(requestParameters, options) {
|
|
10155
9417
|
return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10156
9418
|
}
|
|
10157
|
-
/**
|
|
10158
|
-
*
|
|
10159
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
10160
|
-
* @param {*} [options] Override http request option.
|
|
10161
|
-
* @throws {RequiredError}
|
|
10162
|
-
* @memberof UsersApi
|
|
10163
|
-
*/
|
|
10164
|
-
addPaymentMethodSetup(requestParameters, options) {
|
|
10165
|
-
return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10166
|
-
}
|
|
10167
9419
|
/**
|
|
10168
9420
|
*
|
|
10169
9421
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -10174,16 +9426,6 @@ export class UsersApi extends BaseAPI {
|
|
|
10174
9426
|
changePassword(requestParameters, options) {
|
|
10175
9427
|
return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10176
9428
|
}
|
|
10177
|
-
/**
|
|
10178
|
-
*
|
|
10179
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
10180
|
-
* @param {*} [options] Override http request option.
|
|
10181
|
-
* @throws {RequiredError}
|
|
10182
|
-
* @memberof UsersApi
|
|
10183
|
-
*/
|
|
10184
|
-
confirmPaymentMethodSetup(requestParameters, options) {
|
|
10185
|
-
return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10186
|
-
}
|
|
10187
9429
|
/**
|
|
10188
9430
|
*
|
|
10189
9431
|
* @param {*} [options] Override http request option.
|
|
@@ -10416,16 +9658,6 @@ export class UsersApi extends BaseAPI {
|
|
|
10416
9658
|
resetPassword(requestParameters, options) {
|
|
10417
9659
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10418
9660
|
}
|
|
10419
|
-
/**
|
|
10420
|
-
*
|
|
10421
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
10422
|
-
* @param {*} [options] Override http request option.
|
|
10423
|
-
* @throws {RequiredError}
|
|
10424
|
-
* @memberof UsersApi
|
|
10425
|
-
*/
|
|
10426
|
-
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
10427
|
-
return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10428
|
-
}
|
|
10429
9661
|
/**
|
|
10430
9662
|
*
|
|
10431
9663
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|