@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/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.85
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsStaffApi = exports.SportsStaffApiFactory = exports.SportsStaffApiFp = exports.SportsStaffApiAxiosParamCreator = exports.
|
|
25
|
+
exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.InvoiceStatus = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = void 0;
|
|
27
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsStaffApi = exports.SportsStaffApiFactory = exports.SportsStaffApiFp = exports.SportsStaffApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -139,10 +139,20 @@ exports.Gender = {
|
|
|
139
139
|
exports.IUserLocationTypeEnum = {
|
|
140
140
|
Point: 'Point'
|
|
141
141
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @export
|
|
145
|
+
* @enum {string}
|
|
146
|
+
*/
|
|
147
|
+
exports.InvoiceStatus = {
|
|
148
|
+
SetupPending: 'setup_pending',
|
|
149
|
+
SetupSuccess: 'setup_success',
|
|
150
|
+
Pending: 'pending',
|
|
151
|
+
Paid: 'paid',
|
|
152
|
+
Failed: 'failed',
|
|
153
|
+
Authorized: 'authorized',
|
|
154
|
+
Canceled: 'canceled',
|
|
155
|
+
Expired: 'expired'
|
|
146
156
|
};
|
|
147
157
|
/**
|
|
148
158
|
*
|
|
@@ -177,11 +187,6 @@ exports.PlayerCategoryId = {
|
|
|
177
187
|
MostActive: 'most-active',
|
|
178
188
|
Nearby: 'nearby'
|
|
179
189
|
};
|
|
180
|
-
exports.PublicAccessSettingsPaymentModeEnum = {
|
|
181
|
-
Free: 'free',
|
|
182
|
-
AccessFee: 'access_fee',
|
|
183
|
-
PerCourt: 'per_court'
|
|
184
|
-
};
|
|
185
190
|
exports.RegisterRequestBodyLocationTypeEnum = {
|
|
186
191
|
Point: 'Point'
|
|
187
192
|
};
|
|
@@ -379,6 +384,38 @@ const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
379
384
|
options: localVarRequestOptions,
|
|
380
385
|
};
|
|
381
386
|
}),
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
390
|
+
* @param {*} [options] Override http request option.
|
|
391
|
+
* @throws {RequiredError}
|
|
392
|
+
*/
|
|
393
|
+
getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
|
|
394
|
+
// verify required parameter 'bookingPriceBody' is not null or undefined
|
|
395
|
+
(0, common_1.assertParamExists)('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
|
|
396
|
+
const localVarPath = `/api/bookings/booking-price`;
|
|
397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
398
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
399
|
+
let baseOptions;
|
|
400
|
+
if (configuration) {
|
|
401
|
+
baseOptions = configuration.baseOptions;
|
|
402
|
+
}
|
|
403
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
404
|
+
const localVarHeaderParameter = {};
|
|
405
|
+
const localVarQueryParameter = {};
|
|
406
|
+
// authentication bearerAuth required
|
|
407
|
+
// http bearer authentication required
|
|
408
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
409
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
410
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
413
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bookingPriceBody, localVarRequestOptions, configuration);
|
|
414
|
+
return {
|
|
415
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
416
|
+
options: localVarRequestOptions,
|
|
417
|
+
};
|
|
418
|
+
}),
|
|
382
419
|
/**
|
|
383
420
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
384
421
|
* @param {number} [latitude]
|
|
@@ -389,12 +426,13 @@ const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
389
426
|
* @param {string} [startTime]
|
|
390
427
|
* @param {number} [priceMax]
|
|
391
428
|
* @param {string} [courtTypes]
|
|
429
|
+
* @param {string} [surfaceTypes]
|
|
392
430
|
* @param {number} [limitPerClub]
|
|
393
431
|
* @param {number} [maxClubs]
|
|
394
432
|
* @param {*} [options] Override http request option.
|
|
395
433
|
* @throws {RequiredError}
|
|
396
434
|
*/
|
|
397
|
-
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 = {}) {
|
|
435
|
+
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 = {}) {
|
|
398
436
|
const localVarPath = `/api/bookings/quick-reservations`;
|
|
399
437
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
400
438
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -429,8 +467,11 @@ const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
429
467
|
if (courtTypes !== undefined) {
|
|
430
468
|
localVarQueryParameter['courtTypes'] = courtTypes;
|
|
431
469
|
}
|
|
470
|
+
if (surfaceTypes !== undefined) {
|
|
471
|
+
localVarQueryParameter['surfaceTypes'] = surfaceTypes;
|
|
472
|
+
}
|
|
432
473
|
if (limitPerClub !== undefined) {
|
|
433
|
-
localVarQueryParameter['
|
|
474
|
+
localVarQueryParameter['_limitPerClub'] = limitPerClub;
|
|
434
475
|
}
|
|
435
476
|
if (maxClubs !== undefined) {
|
|
436
477
|
localVarQueryParameter['maxClubs'] = maxClubs;
|
|
@@ -468,6 +509,21 @@ const BookingsApiFp = function (configuration) {
|
|
|
468
509
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
469
510
|
});
|
|
470
511
|
},
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
getBookingPrice(bookingPriceBody, options) {
|
|
519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
520
|
+
var _a, _b, _c;
|
|
521
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
|
|
522
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
523
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
524
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
525
|
+
});
|
|
526
|
+
},
|
|
471
527
|
/**
|
|
472
528
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
473
529
|
* @param {number} [latitude]
|
|
@@ -478,15 +534,16 @@ const BookingsApiFp = function (configuration) {
|
|
|
478
534
|
* @param {string} [startTime]
|
|
479
535
|
* @param {number} [priceMax]
|
|
480
536
|
* @param {string} [courtTypes]
|
|
537
|
+
* @param {string} [surfaceTypes]
|
|
481
538
|
* @param {number} [limitPerClub]
|
|
482
539
|
* @param {number} [maxClubs]
|
|
483
540
|
* @param {*} [options] Override http request option.
|
|
484
541
|
* @throws {RequiredError}
|
|
485
542
|
*/
|
|
486
|
-
getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options) {
|
|
543
|
+
getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options) {
|
|
487
544
|
return __awaiter(this, void 0, void 0, function* () {
|
|
488
545
|
var _a, _b, _c;
|
|
489
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
|
|
546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options);
|
|
490
547
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
491
548
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.getQuickReservationSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
492
549
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -511,6 +568,15 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
511
568
|
getBookingHistory(requestParameters, options) {
|
|
512
569
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
513
570
|
},
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
getBookingPrice(requestParameters, options) {
|
|
578
|
+
return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
|
|
579
|
+
},
|
|
514
580
|
/**
|
|
515
581
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
516
582
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -518,7 +584,7 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
518
584
|
* @throws {RequiredError}
|
|
519
585
|
*/
|
|
520
586
|
getQuickReservationSlots(requestParameters = {}, options) {
|
|
521
|
-
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));
|
|
587
|
+
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));
|
|
522
588
|
},
|
|
523
589
|
};
|
|
524
590
|
};
|
|
@@ -540,6 +606,16 @@ class BookingsApi extends base_1.BaseAPI {
|
|
|
540
606
|
getBookingHistory(requestParameters, options) {
|
|
541
607
|
return (0, exports.BookingsApiFp)(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
542
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
* @memberof BookingsApi
|
|
615
|
+
*/
|
|
616
|
+
getBookingPrice(requestParameters, options) {
|
|
617
|
+
return (0, exports.BookingsApiFp)(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
618
|
+
}
|
|
543
619
|
/**
|
|
544
620
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
545
621
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -548,7 +624,7 @@ class BookingsApi extends base_1.BaseAPI {
|
|
|
548
624
|
* @memberof BookingsApi
|
|
549
625
|
*/
|
|
550
626
|
getQuickReservationSlots(requestParameters = {}, options) {
|
|
551
|
-
return (0, exports.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));
|
|
627
|
+
return (0, exports.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));
|
|
552
628
|
}
|
|
553
629
|
}
|
|
554
630
|
exports.BookingsApi = BookingsApi;
|
|
@@ -1520,107 +1596,6 @@ const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1520
1596
|
options: localVarRequestOptions,
|
|
1521
1597
|
};
|
|
1522
1598
|
}),
|
|
1523
|
-
/**
|
|
1524
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1525
|
-
* @param {string} playerId
|
|
1526
|
-
* @param {number} [page]
|
|
1527
|
-
* @param {number} [pageSize]
|
|
1528
|
-
* @param {*} [options] Override http request option.
|
|
1529
|
-
* @throws {RequiredError}
|
|
1530
|
-
*/
|
|
1531
|
-
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 = {}) {
|
|
1532
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1533
|
-
(0, common_1.assertParamExists)('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1534
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
1535
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1536
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1537
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1538
|
-
let baseOptions;
|
|
1539
|
-
if (configuration) {
|
|
1540
|
-
baseOptions = configuration.baseOptions;
|
|
1541
|
-
}
|
|
1542
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1543
|
-
const localVarHeaderParameter = {};
|
|
1544
|
-
const localVarQueryParameter = {};
|
|
1545
|
-
// authentication bearerAuth required
|
|
1546
|
-
// http bearer authentication required
|
|
1547
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1548
|
-
if (page !== undefined) {
|
|
1549
|
-
localVarQueryParameter['page'] = page;
|
|
1550
|
-
}
|
|
1551
|
-
if (pageSize !== undefined) {
|
|
1552
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
1553
|
-
}
|
|
1554
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1555
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1556
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1557
|
-
return {
|
|
1558
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1559
|
-
options: localVarRequestOptions,
|
|
1560
|
-
};
|
|
1561
|
-
}),
|
|
1562
|
-
/**
|
|
1563
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1564
|
-
* @param {string} playerId
|
|
1565
|
-
* @param {*} [options] Override http request option.
|
|
1566
|
-
* @throws {RequiredError}
|
|
1567
|
-
*/
|
|
1568
|
-
getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1569
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1570
|
-
(0, common_1.assertParamExists)('getClubPlayerById', 'playerId', playerId);
|
|
1571
|
-
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
1572
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1573
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1574
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1575
|
-
let baseOptions;
|
|
1576
|
-
if (configuration) {
|
|
1577
|
-
baseOptions = configuration.baseOptions;
|
|
1578
|
-
}
|
|
1579
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1580
|
-
const localVarHeaderParameter = {};
|
|
1581
|
-
const localVarQueryParameter = {};
|
|
1582
|
-
// authentication bearerAuth required
|
|
1583
|
-
// http bearer authentication required
|
|
1584
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1585
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1586
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1587
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1588
|
-
return {
|
|
1589
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1590
|
-
options: localVarRequestOptions,
|
|
1591
|
-
};
|
|
1592
|
-
}),
|
|
1593
|
-
/**
|
|
1594
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
1595
|
-
* @param {string} playerId
|
|
1596
|
-
* @param {*} [options] Override http request option.
|
|
1597
|
-
* @throws {RequiredError}
|
|
1598
|
-
*/
|
|
1599
|
-
getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1600
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1601
|
-
(0, common_1.assertParamExists)('getClubPlayerStatisticsById', 'playerId', playerId);
|
|
1602
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
1603
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1604
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1605
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1606
|
-
let baseOptions;
|
|
1607
|
-
if (configuration) {
|
|
1608
|
-
baseOptions = configuration.baseOptions;
|
|
1609
|
-
}
|
|
1610
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1611
|
-
const localVarHeaderParameter = {};
|
|
1612
|
-
const localVarQueryParameter = {};
|
|
1613
|
-
// authentication bearerAuth required
|
|
1614
|
-
// http bearer authentication required
|
|
1615
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1616
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1617
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1618
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1619
|
-
return {
|
|
1620
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1621
|
-
options: localVarRequestOptions,
|
|
1622
|
-
};
|
|
1623
|
-
}),
|
|
1624
1599
|
/**
|
|
1625
1600
|
* Récupère la liste des joueurs du club
|
|
1626
1601
|
* @param {*} [options] Override http request option.
|
|
@@ -1921,53 +1896,6 @@ const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
1921
1896
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1922
1897
|
});
|
|
1923
1898
|
},
|
|
1924
|
-
/**
|
|
1925
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1926
|
-
* @param {string} playerId
|
|
1927
|
-
* @param {number} [page]
|
|
1928
|
-
* @param {number} [pageSize]
|
|
1929
|
-
* @param {*} [options] Override http request option.
|
|
1930
|
-
* @throws {RequiredError}
|
|
1931
|
-
*/
|
|
1932
|
-
getClubPlayerBookingsById(playerId, page, pageSize, options) {
|
|
1933
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1934
|
-
var _a, _b, _c;
|
|
1935
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
|
|
1936
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1937
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1938
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1939
|
-
});
|
|
1940
|
-
},
|
|
1941
|
-
/**
|
|
1942
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1943
|
-
* @param {string} playerId
|
|
1944
|
-
* @param {*} [options] Override http request option.
|
|
1945
|
-
* @throws {RequiredError}
|
|
1946
|
-
*/
|
|
1947
|
-
getClubPlayerById(playerId, options) {
|
|
1948
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1949
|
-
var _a, _b, _c;
|
|
1950
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerById(playerId, options);
|
|
1951
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1952
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1953
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1954
|
-
});
|
|
1955
|
-
},
|
|
1956
|
-
/**
|
|
1957
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
1958
|
-
* @param {string} playerId
|
|
1959
|
-
* @param {*} [options] Override http request option.
|
|
1960
|
-
* @throws {RequiredError}
|
|
1961
|
-
*/
|
|
1962
|
-
getClubPlayerStatisticsById(playerId, options) {
|
|
1963
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1964
|
-
var _a, _b, _c;
|
|
1965
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
|
|
1966
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1967
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1968
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1969
|
-
});
|
|
1970
|
-
},
|
|
1971
1899
|
/**
|
|
1972
1900
|
* Récupère la liste des joueurs du club
|
|
1973
1901
|
* @param {*} [options] Override http request option.
|
|
@@ -2119,33 +2047,6 @@ const ClubAnalyticsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
2119
2047
|
getAnalyticsBySport(requestParameters, options) {
|
|
2120
2048
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
2121
2049
|
},
|
|
2122
|
-
/**
|
|
2123
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2124
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2125
|
-
* @param {*} [options] Override http request option.
|
|
2126
|
-
* @throws {RequiredError}
|
|
2127
|
-
*/
|
|
2128
|
-
getClubPlayerBookingsById(requestParameters, options) {
|
|
2129
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2130
|
-
},
|
|
2131
|
-
/**
|
|
2132
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2133
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2134
|
-
* @param {*} [options] Override http request option.
|
|
2135
|
-
* @throws {RequiredError}
|
|
2136
|
-
*/
|
|
2137
|
-
getClubPlayerById(requestParameters, options) {
|
|
2138
|
-
return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2139
|
-
},
|
|
2140
|
-
/**
|
|
2141
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2142
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2143
|
-
* @param {*} [options] Override http request option.
|
|
2144
|
-
* @throws {RequiredError}
|
|
2145
|
-
*/
|
|
2146
|
-
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2147
|
-
return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2148
|
-
},
|
|
2149
2050
|
/**
|
|
2150
2051
|
* Récupère la liste des joueurs du club
|
|
2151
2052
|
* @param {*} [options] Override http request option.
|
|
@@ -2242,36 +2143,6 @@ class ClubAnalyticsStaffApi extends base_1.BaseAPI {
|
|
|
2242
2143
|
getAnalyticsBySport(requestParameters, options) {
|
|
2243
2144
|
return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
2244
2145
|
}
|
|
2245
|
-
/**
|
|
2246
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2247
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2248
|
-
* @param {*} [options] Override http request option.
|
|
2249
|
-
* @throws {RequiredError}
|
|
2250
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2251
|
-
*/
|
|
2252
|
-
getClubPlayerBookingsById(requestParameters, options) {
|
|
2253
|
-
return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2254
|
-
}
|
|
2255
|
-
/**
|
|
2256
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2257
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2258
|
-
* @param {*} [options] Override http request option.
|
|
2259
|
-
* @throws {RequiredError}
|
|
2260
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2261
|
-
*/
|
|
2262
|
-
getClubPlayerById(requestParameters, options) {
|
|
2263
|
-
return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2264
|
-
}
|
|
2265
|
-
/**
|
|
2266
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2267
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2268
|
-
* @param {*} [options] Override http request option.
|
|
2269
|
-
* @throws {RequiredError}
|
|
2270
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2271
|
-
*/
|
|
2272
|
-
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2273
|
-
return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2274
|
-
}
|
|
2275
2146
|
/**
|
|
2276
2147
|
* Récupère la liste des joueurs du club
|
|
2277
2148
|
* @param {*} [options] Override http request option.
|
|
@@ -2946,70 +2817,6 @@ const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
2946
2817
|
options: localVarRequestOptions,
|
|
2947
2818
|
};
|
|
2948
2819
|
}),
|
|
2949
|
-
/**
|
|
2950
|
-
*
|
|
2951
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
2952
|
-
* @param {*} [options] Override http request option.
|
|
2953
|
-
* @throws {RequiredError}
|
|
2954
|
-
*/
|
|
2955
|
-
updateHoursSettings: (updateClubHoursSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubHoursSettingsRequest_1, ...args_1], void 0, function* (updateClubHoursSettingsRequest, options = {}) {
|
|
2956
|
-
// verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
|
|
2957
|
-
(0, common_1.assertParamExists)('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest);
|
|
2958
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
2959
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2960
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2961
|
-
let baseOptions;
|
|
2962
|
-
if (configuration) {
|
|
2963
|
-
baseOptions = configuration.baseOptions;
|
|
2964
|
-
}
|
|
2965
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2966
|
-
const localVarHeaderParameter = {};
|
|
2967
|
-
const localVarQueryParameter = {};
|
|
2968
|
-
// authentication bearerAuth required
|
|
2969
|
-
// http bearer authentication required
|
|
2970
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2971
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2972
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2973
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2974
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2975
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClubHoursSettingsRequest, localVarRequestOptions, configuration);
|
|
2976
|
-
return {
|
|
2977
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2978
|
-
options: localVarRequestOptions,
|
|
2979
|
-
};
|
|
2980
|
-
}),
|
|
2981
|
-
/**
|
|
2982
|
-
*
|
|
2983
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
2984
|
-
* @param {*} [options] Override http request option.
|
|
2985
|
-
* @throws {RequiredError}
|
|
2986
|
-
*/
|
|
2987
|
-
updateReservationSettings: (updateClubReservationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubReservationSettingsRequest_1, ...args_1], void 0, function* (updateClubReservationSettingsRequest, options = {}) {
|
|
2988
|
-
// verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
|
|
2989
|
-
(0, common_1.assertParamExists)('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest);
|
|
2990
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
2991
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2992
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2993
|
-
let baseOptions;
|
|
2994
|
-
if (configuration) {
|
|
2995
|
-
baseOptions = configuration.baseOptions;
|
|
2996
|
-
}
|
|
2997
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2998
|
-
const localVarHeaderParameter = {};
|
|
2999
|
-
const localVarQueryParameter = {};
|
|
3000
|
-
// authentication bearerAuth required
|
|
3001
|
-
// http bearer authentication required
|
|
3002
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3003
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3004
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3005
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3006
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3007
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClubReservationSettingsRequest, localVarRequestOptions, configuration);
|
|
3008
|
-
return {
|
|
3009
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3010
|
-
options: localVarRequestOptions,
|
|
3011
|
-
};
|
|
3012
|
-
}),
|
|
3013
2820
|
};
|
|
3014
2821
|
};
|
|
3015
2822
|
exports.ClubSettingsManagerApiAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator;
|
|
@@ -3079,36 +2886,6 @@ const ClubSettingsManagerApiFp = function (configuration) {
|
|
|
3079
2886
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3080
2887
|
});
|
|
3081
2888
|
},
|
|
3082
|
-
/**
|
|
3083
|
-
*
|
|
3084
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
3085
|
-
* @param {*} [options] Override http request option.
|
|
3086
|
-
* @throws {RequiredError}
|
|
3087
|
-
*/
|
|
3088
|
-
updateHoursSettings(updateClubHoursSettingsRequest, options) {
|
|
3089
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3090
|
-
var _a, _b, _c;
|
|
3091
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
|
|
3092
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3093
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubSettingsManagerApi.updateHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3094
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3095
|
-
});
|
|
3096
|
-
},
|
|
3097
|
-
/**
|
|
3098
|
-
*
|
|
3099
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
3100
|
-
* @param {*} [options] Override http request option.
|
|
3101
|
-
* @throws {RequiredError}
|
|
3102
|
-
*/
|
|
3103
|
-
updateReservationSettings(updateClubReservationSettingsRequest, options) {
|
|
3104
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3105
|
-
var _a, _b, _c;
|
|
3106
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
|
|
3107
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3108
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubSettingsManagerApi.updateReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3109
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3110
|
-
});
|
|
3111
|
-
},
|
|
3112
2889
|
};
|
|
3113
2890
|
};
|
|
3114
2891
|
exports.ClubSettingsManagerApiFp = ClubSettingsManagerApiFp;
|
|
@@ -3153,24 +2930,6 @@ const ClubSettingsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
3153
2930
|
updateClubSettings(requestParameters, options) {
|
|
3154
2931
|
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3155
2932
|
},
|
|
3156
|
-
/**
|
|
3157
|
-
*
|
|
3158
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3159
|
-
* @param {*} [options] Override http request option.
|
|
3160
|
-
* @throws {RequiredError}
|
|
3161
|
-
*/
|
|
3162
|
-
updateHoursSettings(requestParameters, options) {
|
|
3163
|
-
return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3164
|
-
},
|
|
3165
|
-
/**
|
|
3166
|
-
*
|
|
3167
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3168
|
-
* @param {*} [options] Override http request option.
|
|
3169
|
-
* @throws {RequiredError}
|
|
3170
|
-
*/
|
|
3171
|
-
updateReservationSettings(requestParameters, options) {
|
|
3172
|
-
return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3173
|
-
},
|
|
3174
2933
|
};
|
|
3175
2934
|
};
|
|
3176
2935
|
exports.ClubSettingsManagerApiFactory = ClubSettingsManagerApiFactory;
|
|
@@ -3219,182 +2978,8 @@ class ClubSettingsManagerApi extends base_1.BaseAPI {
|
|
|
3219
2978
|
updateClubSettings(requestParameters, options) {
|
|
3220
2979
|
return (0, exports.ClubSettingsManagerApiFp)(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3221
2980
|
}
|
|
3222
|
-
/**
|
|
3223
|
-
*
|
|
3224
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3225
|
-
* @param {*} [options] Override http request option.
|
|
3226
|
-
* @throws {RequiredError}
|
|
3227
|
-
* @memberof ClubSettingsManagerApi
|
|
3228
|
-
*/
|
|
3229
|
-
updateHoursSettings(requestParameters, options) {
|
|
3230
|
-
return (0, exports.ClubSettingsManagerApiFp)(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3231
|
-
}
|
|
3232
|
-
/**
|
|
3233
|
-
*
|
|
3234
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3235
|
-
* @param {*} [options] Override http request option.
|
|
3236
|
-
* @throws {RequiredError}
|
|
3237
|
-
* @memberof ClubSettingsManagerApi
|
|
3238
|
-
*/
|
|
3239
|
-
updateReservationSettings(requestParameters, options) {
|
|
3240
|
-
return (0, exports.ClubSettingsManagerApiFp)(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3241
|
-
}
|
|
3242
2981
|
}
|
|
3243
2982
|
exports.ClubSettingsManagerApi = ClubSettingsManagerApi;
|
|
3244
|
-
/**
|
|
3245
|
-
* ClubSettingsStaffApi - axios parameter creator
|
|
3246
|
-
* @export
|
|
3247
|
-
*/
|
|
3248
|
-
const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
|
|
3249
|
-
return {
|
|
3250
|
-
/**
|
|
3251
|
-
*
|
|
3252
|
-
* @param {*} [options] Override http request option.
|
|
3253
|
-
* @throws {RequiredError}
|
|
3254
|
-
*/
|
|
3255
|
-
getHoursSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3256
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
3257
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3258
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3259
|
-
let baseOptions;
|
|
3260
|
-
if (configuration) {
|
|
3261
|
-
baseOptions = configuration.baseOptions;
|
|
3262
|
-
}
|
|
3263
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3264
|
-
const localVarHeaderParameter = {};
|
|
3265
|
-
const localVarQueryParameter = {};
|
|
3266
|
-
// authentication bearerAuth required
|
|
3267
|
-
// http bearer authentication required
|
|
3268
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3269
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3270
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3271
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3272
|
-
return {
|
|
3273
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3274
|
-
options: localVarRequestOptions,
|
|
3275
|
-
};
|
|
3276
|
-
}),
|
|
3277
|
-
/**
|
|
3278
|
-
*
|
|
3279
|
-
* @param {*} [options] Override http request option.
|
|
3280
|
-
* @throws {RequiredError}
|
|
3281
|
-
*/
|
|
3282
|
-
getReservationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3283
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
3284
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3285
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3286
|
-
let baseOptions;
|
|
3287
|
-
if (configuration) {
|
|
3288
|
-
baseOptions = configuration.baseOptions;
|
|
3289
|
-
}
|
|
3290
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3291
|
-
const localVarHeaderParameter = {};
|
|
3292
|
-
const localVarQueryParameter = {};
|
|
3293
|
-
// authentication bearerAuth required
|
|
3294
|
-
// http bearer authentication required
|
|
3295
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3296
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3297
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3298
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3299
|
-
return {
|
|
3300
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3301
|
-
options: localVarRequestOptions,
|
|
3302
|
-
};
|
|
3303
|
-
}),
|
|
3304
|
-
};
|
|
3305
|
-
};
|
|
3306
|
-
exports.ClubSettingsStaffApiAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator;
|
|
3307
|
-
/**
|
|
3308
|
-
* ClubSettingsStaffApi - functional programming interface
|
|
3309
|
-
* @export
|
|
3310
|
-
*/
|
|
3311
|
-
const ClubSettingsStaffApiFp = function (configuration) {
|
|
3312
|
-
const localVarAxiosParamCreator = (0, exports.ClubSettingsStaffApiAxiosParamCreator)(configuration);
|
|
3313
|
-
return {
|
|
3314
|
-
/**
|
|
3315
|
-
*
|
|
3316
|
-
* @param {*} [options] Override http request option.
|
|
3317
|
-
* @throws {RequiredError}
|
|
3318
|
-
*/
|
|
3319
|
-
getHoursSettings(options) {
|
|
3320
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3321
|
-
var _a, _b, _c;
|
|
3322
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHoursSettings(options);
|
|
3323
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3324
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubSettingsStaffApi.getHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3325
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3326
|
-
});
|
|
3327
|
-
},
|
|
3328
|
-
/**
|
|
3329
|
-
*
|
|
3330
|
-
* @param {*} [options] Override http request option.
|
|
3331
|
-
* @throws {RequiredError}
|
|
3332
|
-
*/
|
|
3333
|
-
getReservationSettings(options) {
|
|
3334
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3335
|
-
var _a, _b, _c;
|
|
3336
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReservationSettings(options);
|
|
3337
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3338
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubSettingsStaffApi.getReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3339
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3340
|
-
});
|
|
3341
|
-
},
|
|
3342
|
-
};
|
|
3343
|
-
};
|
|
3344
|
-
exports.ClubSettingsStaffApiFp = ClubSettingsStaffApiFp;
|
|
3345
|
-
/**
|
|
3346
|
-
* ClubSettingsStaffApi - factory interface
|
|
3347
|
-
* @export
|
|
3348
|
-
*/
|
|
3349
|
-
const ClubSettingsStaffApiFactory = function (configuration, basePath, axios) {
|
|
3350
|
-
const localVarFp = (0, exports.ClubSettingsStaffApiFp)(configuration);
|
|
3351
|
-
return {
|
|
3352
|
-
/**
|
|
3353
|
-
*
|
|
3354
|
-
* @param {*} [options] Override http request option.
|
|
3355
|
-
* @throws {RequiredError}
|
|
3356
|
-
*/
|
|
3357
|
-
getHoursSettings(options) {
|
|
3358
|
-
return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
|
|
3359
|
-
},
|
|
3360
|
-
/**
|
|
3361
|
-
*
|
|
3362
|
-
* @param {*} [options] Override http request option.
|
|
3363
|
-
* @throws {RequiredError}
|
|
3364
|
-
*/
|
|
3365
|
-
getReservationSettings(options) {
|
|
3366
|
-
return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
|
|
3367
|
-
},
|
|
3368
|
-
};
|
|
3369
|
-
};
|
|
3370
|
-
exports.ClubSettingsStaffApiFactory = ClubSettingsStaffApiFactory;
|
|
3371
|
-
/**
|
|
3372
|
-
* ClubSettingsStaffApi - object-oriented interface
|
|
3373
|
-
* @export
|
|
3374
|
-
* @class ClubSettingsStaffApi
|
|
3375
|
-
* @extends {BaseAPI}
|
|
3376
|
-
*/
|
|
3377
|
-
class ClubSettingsStaffApi extends base_1.BaseAPI {
|
|
3378
|
-
/**
|
|
3379
|
-
*
|
|
3380
|
-
* @param {*} [options] Override http request option.
|
|
3381
|
-
* @throws {RequiredError}
|
|
3382
|
-
* @memberof ClubSettingsStaffApi
|
|
3383
|
-
*/
|
|
3384
|
-
getHoursSettings(options) {
|
|
3385
|
-
return (0, exports.ClubSettingsStaffApiFp)(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3386
|
-
}
|
|
3387
|
-
/**
|
|
3388
|
-
*
|
|
3389
|
-
* @param {*} [options] Override http request option.
|
|
3390
|
-
* @throws {RequiredError}
|
|
3391
|
-
* @memberof ClubSettingsStaffApi
|
|
3392
|
-
*/
|
|
3393
|
-
getReservationSettings(options) {
|
|
3394
|
-
return (0, exports.ClubSettingsStaffApiFp)(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3395
|
-
}
|
|
3396
|
-
}
|
|
3397
|
-
exports.ClubSettingsStaffApi = ClubSettingsStaffApi;
|
|
3398
2983
|
/**
|
|
3399
2984
|
* ClubsApi - axios parameter creator
|
|
3400
2985
|
* @export
|
|
@@ -4654,38 +4239,6 @@ const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4654
4239
|
options: localVarRequestOptions,
|
|
4655
4240
|
};
|
|
4656
4241
|
}),
|
|
4657
|
-
/**
|
|
4658
|
-
*
|
|
4659
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
4660
|
-
* @param {*} [options] Override http request option.
|
|
4661
|
-
* @throws {RequiredError}
|
|
4662
|
-
*/
|
|
4663
|
-
updateClubGeneralSettings: (updateClubGeneralSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubGeneralSettingsRequest_1, ...args_1], void 0, function* (updateClubGeneralSettingsRequest, options = {}) {
|
|
4664
|
-
// verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
|
|
4665
|
-
(0, common_1.assertParamExists)('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest);
|
|
4666
|
-
const localVarPath = `/api/clubs/settings/general`;
|
|
4667
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4668
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4669
|
-
let baseOptions;
|
|
4670
|
-
if (configuration) {
|
|
4671
|
-
baseOptions = configuration.baseOptions;
|
|
4672
|
-
}
|
|
4673
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4674
|
-
const localVarHeaderParameter = {};
|
|
4675
|
-
const localVarQueryParameter = {};
|
|
4676
|
-
// authentication bearerAuth required
|
|
4677
|
-
// http bearer authentication required
|
|
4678
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4679
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4680
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4681
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4682
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4683
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration);
|
|
4684
|
-
return {
|
|
4685
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4686
|
-
options: localVarRequestOptions,
|
|
4687
|
-
};
|
|
4688
|
-
}),
|
|
4689
4242
|
/**
|
|
4690
4243
|
*
|
|
4691
4244
|
* @param {any} body
|
|
@@ -4718,38 +4271,6 @@ const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4718
4271
|
options: localVarRequestOptions,
|
|
4719
4272
|
};
|
|
4720
4273
|
}),
|
|
4721
|
-
/**
|
|
4722
|
-
*
|
|
4723
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
4724
|
-
* @param {*} [options] Override http request option.
|
|
4725
|
-
* @throws {RequiredError}
|
|
4726
|
-
*/
|
|
4727
|
-
updateClubPresentationSettings: (updateClubPresentationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubPresentationSettingsRequest_1, ...args_1], void 0, function* (updateClubPresentationSettingsRequest, options = {}) {
|
|
4728
|
-
// verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
|
|
4729
|
-
(0, common_1.assertParamExists)('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest);
|
|
4730
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
4731
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4732
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4733
|
-
let baseOptions;
|
|
4734
|
-
if (configuration) {
|
|
4735
|
-
baseOptions = configuration.baseOptions;
|
|
4736
|
-
}
|
|
4737
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4738
|
-
const localVarHeaderParameter = {};
|
|
4739
|
-
const localVarQueryParameter = {};
|
|
4740
|
-
// authentication bearerAuth required
|
|
4741
|
-
// http bearer authentication required
|
|
4742
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4743
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4744
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4745
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4746
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4747
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration);
|
|
4748
|
-
return {
|
|
4749
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4750
|
-
options: localVarRequestOptions,
|
|
4751
|
-
};
|
|
4752
|
-
}),
|
|
4753
4274
|
/**
|
|
4754
4275
|
*
|
|
4755
4276
|
* @param {string} courtId
|
|
@@ -5058,21 +4579,6 @@ const ClubsManagerApiFp = function (configuration) {
|
|
|
5058
4579
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5059
4580
|
});
|
|
5060
4581
|
},
|
|
5061
|
-
/**
|
|
5062
|
-
*
|
|
5063
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
5064
|
-
* @param {*} [options] Override http request option.
|
|
5065
|
-
* @throws {RequiredError}
|
|
5066
|
-
*/
|
|
5067
|
-
updateClubGeneralSettings(updateClubGeneralSettingsRequest, options) {
|
|
5068
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5069
|
-
var _a, _b, _c;
|
|
5070
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
|
|
5071
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5072
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsManagerApi.updateClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5073
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5074
|
-
});
|
|
5075
|
-
},
|
|
5076
4582
|
/**
|
|
5077
4583
|
*
|
|
5078
4584
|
* @param {any} body
|
|
@@ -5088,21 +4594,6 @@ const ClubsManagerApiFp = function (configuration) {
|
|
|
5088
4594
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5089
4595
|
});
|
|
5090
4596
|
},
|
|
5091
|
-
/**
|
|
5092
|
-
*
|
|
5093
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
5094
|
-
* @param {*} [options] Override http request option.
|
|
5095
|
-
* @throws {RequiredError}
|
|
5096
|
-
*/
|
|
5097
|
-
updateClubPresentationSettings(updateClubPresentationSettingsRequest, options) {
|
|
5098
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5099
|
-
var _a, _b, _c;
|
|
5100
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
|
|
5101
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5102
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsManagerApi.updateClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5103
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5104
|
-
});
|
|
5105
|
-
},
|
|
5106
4597
|
/**
|
|
5107
4598
|
*
|
|
5108
4599
|
* @param {string} courtId
|
|
@@ -5279,15 +4770,6 @@ const ClubsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
5279
4770
|
updateClub(requestParameters, options) {
|
|
5280
4771
|
return localVarFp.updateClub(requestParameters.updateClubRequest, options).then((request) => request(axios, basePath));
|
|
5281
4772
|
},
|
|
5282
|
-
/**
|
|
5283
|
-
*
|
|
5284
|
-
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
5285
|
-
* @param {*} [options] Override http request option.
|
|
5286
|
-
* @throws {RequiredError}
|
|
5287
|
-
*/
|
|
5288
|
-
updateClubGeneralSettings(requestParameters, options) {
|
|
5289
|
-
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5290
|
-
},
|
|
5291
4773
|
/**
|
|
5292
4774
|
*
|
|
5293
4775
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -5297,15 +4779,6 @@ const ClubsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
5297
4779
|
updateClubInfos(requestParameters, options) {
|
|
5298
4780
|
return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
5299
4781
|
},
|
|
5300
|
-
/**
|
|
5301
|
-
*
|
|
5302
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5303
|
-
* @param {*} [options] Override http request option.
|
|
5304
|
-
* @throws {RequiredError}
|
|
5305
|
-
*/
|
|
5306
|
-
updateClubPresentationSettings(requestParameters, options) {
|
|
5307
|
-
return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5308
|
-
},
|
|
5309
4782
|
/**
|
|
5310
4783
|
*
|
|
5311
4784
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5483,16 +4956,6 @@ class ClubsManagerApi extends base_1.BaseAPI {
|
|
|
5483
4956
|
updateClub(requestParameters, options) {
|
|
5484
4957
|
return (0, exports.ClubsManagerApiFp)(this.configuration).updateClub(requestParameters.updateClubRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5485
4958
|
}
|
|
5486
|
-
/**
|
|
5487
|
-
*
|
|
5488
|
-
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
5489
|
-
* @param {*} [options] Override http request option.
|
|
5490
|
-
* @throws {RequiredError}
|
|
5491
|
-
* @memberof ClubsManagerApi
|
|
5492
|
-
*/
|
|
5493
|
-
updateClubGeneralSettings(requestParameters, options) {
|
|
5494
|
-
return (0, exports.ClubsManagerApiFp)(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5495
|
-
}
|
|
5496
4959
|
/**
|
|
5497
4960
|
*
|
|
5498
4961
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -5503,16 +4966,6 @@ class ClubsManagerApi extends base_1.BaseAPI {
|
|
|
5503
4966
|
updateClubInfos(requestParameters, options) {
|
|
5504
4967
|
return (0, exports.ClubsManagerApiFp)(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5505
4968
|
}
|
|
5506
|
-
/**
|
|
5507
|
-
*
|
|
5508
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5509
|
-
* @param {*} [options] Override http request option.
|
|
5510
|
-
* @throws {RequiredError}
|
|
5511
|
-
* @memberof ClubsManagerApi
|
|
5512
|
-
*/
|
|
5513
|
-
updateClubPresentationSettings(requestParameters, options) {
|
|
5514
|
-
return (0, exports.ClubsManagerApiFp)(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5515
|
-
}
|
|
5516
4969
|
/**
|
|
5517
4970
|
*
|
|
5518
4971
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5568,33 +5021,6 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5568
5021
|
options: localVarRequestOptions,
|
|
5569
5022
|
};
|
|
5570
5023
|
}),
|
|
5571
|
-
/**
|
|
5572
|
-
*
|
|
5573
|
-
* @param {*} [options] Override http request option.
|
|
5574
|
-
* @throws {RequiredError}
|
|
5575
|
-
*/
|
|
5576
|
-
getClubGeneralSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5577
|
-
const localVarPath = `/api/clubs/settings/general`;
|
|
5578
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5579
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5580
|
-
let baseOptions;
|
|
5581
|
-
if (configuration) {
|
|
5582
|
-
baseOptions = configuration.baseOptions;
|
|
5583
|
-
}
|
|
5584
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5585
|
-
const localVarHeaderParameter = {};
|
|
5586
|
-
const localVarQueryParameter = {};
|
|
5587
|
-
// authentication bearerAuth required
|
|
5588
|
-
// http bearer authentication required
|
|
5589
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5590
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5591
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5592
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5593
|
-
return {
|
|
5594
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5595
|
-
options: localVarRequestOptions,
|
|
5596
|
-
};
|
|
5597
|
-
}),
|
|
5598
5024
|
/**
|
|
5599
5025
|
*
|
|
5600
5026
|
* @param {*} [options] Override http request option.
|
|
@@ -5649,33 +5075,6 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5649
5075
|
options: localVarRequestOptions,
|
|
5650
5076
|
};
|
|
5651
5077
|
}),
|
|
5652
|
-
/**
|
|
5653
|
-
*
|
|
5654
|
-
* @param {*} [options] Override http request option.
|
|
5655
|
-
* @throws {RequiredError}
|
|
5656
|
-
*/
|
|
5657
|
-
getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5658
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
5659
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5660
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5661
|
-
let baseOptions;
|
|
5662
|
-
if (configuration) {
|
|
5663
|
-
baseOptions = configuration.baseOptions;
|
|
5664
|
-
}
|
|
5665
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5666
|
-
const localVarHeaderParameter = {};
|
|
5667
|
-
const localVarQueryParameter = {};
|
|
5668
|
-
// authentication bearerAuth required
|
|
5669
|
-
// http bearer authentication required
|
|
5670
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5671
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5672
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5673
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5674
|
-
return {
|
|
5675
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5676
|
-
options: localVarRequestOptions,
|
|
5677
|
-
};
|
|
5678
|
-
}),
|
|
5679
5078
|
/**
|
|
5680
5079
|
* Récupère les rôles d\'un club
|
|
5681
5080
|
* @param {*} [options] Override http request option.
|
|
@@ -5796,33 +5195,19 @@ exports.ClubsStaffApiAxiosParamCreator = ClubsStaffApiAxiosParamCreator;
|
|
|
5796
5195
|
* @export
|
|
5797
5196
|
*/
|
|
5798
5197
|
const ClubsStaffApiFp = function (configuration) {
|
|
5799
|
-
const localVarAxiosParamCreator = (0, exports.ClubsStaffApiAxiosParamCreator)(configuration);
|
|
5800
|
-
return {
|
|
5801
|
-
/**
|
|
5802
|
-
*
|
|
5803
|
-
* @param {*} [options] Override http request option.
|
|
5804
|
-
* @throws {RequiredError}
|
|
5805
|
-
*/
|
|
5806
|
-
getActualities(options) {
|
|
5807
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5808
|
-
var _a, _b, _c;
|
|
5809
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActualities(options);
|
|
5810
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5811
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getActualities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5812
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5813
|
-
});
|
|
5814
|
-
},
|
|
5198
|
+
const localVarAxiosParamCreator = (0, exports.ClubsStaffApiAxiosParamCreator)(configuration);
|
|
5199
|
+
return {
|
|
5815
5200
|
/**
|
|
5816
5201
|
*
|
|
5817
5202
|
* @param {*} [options] Override http request option.
|
|
5818
5203
|
* @throws {RequiredError}
|
|
5819
5204
|
*/
|
|
5820
|
-
|
|
5205
|
+
getActualities(options) {
|
|
5821
5206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5822
5207
|
var _a, _b, _c;
|
|
5823
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5208
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActualities(options);
|
|
5824
5209
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5825
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.
|
|
5210
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getActualities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5826
5211
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5827
5212
|
});
|
|
5828
5213
|
},
|
|
@@ -5854,20 +5239,6 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
5854
5239
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5855
5240
|
});
|
|
5856
5241
|
},
|
|
5857
|
-
/**
|
|
5858
|
-
*
|
|
5859
|
-
* @param {*} [options] Override http request option.
|
|
5860
|
-
* @throws {RequiredError}
|
|
5861
|
-
*/
|
|
5862
|
-
getClubPresentationSettings(options) {
|
|
5863
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5864
|
-
var _a, _b, _c;
|
|
5865
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPresentationSettings(options);
|
|
5866
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5867
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5868
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5869
|
-
});
|
|
5870
|
-
},
|
|
5871
5242
|
/**
|
|
5872
5243
|
* Récupère les rôles d\'un club
|
|
5873
5244
|
* @param {*} [options] Override http request option.
|
|
@@ -5943,14 +5314,6 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5943
5314
|
getActualities(options) {
|
|
5944
5315
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
5945
5316
|
},
|
|
5946
|
-
/**
|
|
5947
|
-
*
|
|
5948
|
-
* @param {*} [options] Override http request option.
|
|
5949
|
-
* @throws {RequiredError}
|
|
5950
|
-
*/
|
|
5951
|
-
getClubGeneralSettings(options) {
|
|
5952
|
-
return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
|
|
5953
|
-
},
|
|
5954
5317
|
/**
|
|
5955
5318
|
*
|
|
5956
5319
|
* @param {*} [options] Override http request option.
|
|
@@ -5967,14 +5330,6 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5967
5330
|
getClubMembers(options) {
|
|
5968
5331
|
return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
|
|
5969
5332
|
},
|
|
5970
|
-
/**
|
|
5971
|
-
*
|
|
5972
|
-
* @param {*} [options] Override http request option.
|
|
5973
|
-
* @throws {RequiredError}
|
|
5974
|
-
*/
|
|
5975
|
-
getClubPresentationSettings(options) {
|
|
5976
|
-
return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
|
|
5977
|
-
},
|
|
5978
5333
|
/**
|
|
5979
5334
|
* Récupère les rôles d\'un club
|
|
5980
5335
|
* @param {*} [options] Override http request option.
|
|
@@ -6027,15 +5382,6 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
6027
5382
|
getActualities(options) {
|
|
6028
5383
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
6029
5384
|
}
|
|
6030
|
-
/**
|
|
6031
|
-
*
|
|
6032
|
-
* @param {*} [options] Override http request option.
|
|
6033
|
-
* @throws {RequiredError}
|
|
6034
|
-
* @memberof ClubsStaffApi
|
|
6035
|
-
*/
|
|
6036
|
-
getClubGeneralSettings(options) {
|
|
6037
|
-
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
|
|
6038
|
-
}
|
|
6039
5385
|
/**
|
|
6040
5386
|
*
|
|
6041
5387
|
* @param {*} [options] Override http request option.
|
|
@@ -6054,15 +5400,6 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
6054
5400
|
getClubMembers(options) {
|
|
6055
5401
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
|
|
6056
5402
|
}
|
|
6057
|
-
/**
|
|
6058
|
-
*
|
|
6059
|
-
* @param {*} [options] Override http request option.
|
|
6060
|
-
* @throws {RequiredError}
|
|
6061
|
-
* @memberof ClubsStaffApi
|
|
6062
|
-
*/
|
|
6063
|
-
getClubPresentationSettings(options) {
|
|
6064
|
-
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
6065
|
-
}
|
|
6066
5403
|
/**
|
|
6067
5404
|
* Récupère les rôles d\'un club
|
|
6068
5405
|
* @param {*} [options] Override http request option.
|
|
@@ -7237,6 +6574,99 @@ class SportsManagerApi extends base_1.BaseAPI {
|
|
|
7237
6574
|
}
|
|
7238
6575
|
}
|
|
7239
6576
|
exports.SportsManagerApi = SportsManagerApi;
|
|
6577
|
+
/**
|
|
6578
|
+
* SportsPublicApi - axios parameter creator
|
|
6579
|
+
* @export
|
|
6580
|
+
*/
|
|
6581
|
+
const SportsPublicApiAxiosParamCreator = function (configuration) {
|
|
6582
|
+
return {
|
|
6583
|
+
/**
|
|
6584
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6585
|
+
* @param {*} [options] Override http request option.
|
|
6586
|
+
* @throws {RequiredError}
|
|
6587
|
+
*/
|
|
6588
|
+
getVerifiedSports: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6589
|
+
const localVarPath = `/api/sports/verified`;
|
|
6590
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6591
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6592
|
+
let baseOptions;
|
|
6593
|
+
if (configuration) {
|
|
6594
|
+
baseOptions = configuration.baseOptions;
|
|
6595
|
+
}
|
|
6596
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6597
|
+
const localVarHeaderParameter = {};
|
|
6598
|
+
const localVarQueryParameter = {};
|
|
6599
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6600
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6601
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6602
|
+
return {
|
|
6603
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6604
|
+
options: localVarRequestOptions,
|
|
6605
|
+
};
|
|
6606
|
+
}),
|
|
6607
|
+
};
|
|
6608
|
+
};
|
|
6609
|
+
exports.SportsPublicApiAxiosParamCreator = SportsPublicApiAxiosParamCreator;
|
|
6610
|
+
/**
|
|
6611
|
+
* SportsPublicApi - functional programming interface
|
|
6612
|
+
* @export
|
|
6613
|
+
*/
|
|
6614
|
+
const SportsPublicApiFp = function (configuration) {
|
|
6615
|
+
const localVarAxiosParamCreator = (0, exports.SportsPublicApiAxiosParamCreator)(configuration);
|
|
6616
|
+
return {
|
|
6617
|
+
/**
|
|
6618
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6619
|
+
* @param {*} [options] Override http request option.
|
|
6620
|
+
* @throws {RequiredError}
|
|
6621
|
+
*/
|
|
6622
|
+
getVerifiedSports(options) {
|
|
6623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6624
|
+
var _a, _b, _c;
|
|
6625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getVerifiedSports(options);
|
|
6626
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6627
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SportsPublicApi.getVerifiedSports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6628
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6629
|
+
});
|
|
6630
|
+
},
|
|
6631
|
+
};
|
|
6632
|
+
};
|
|
6633
|
+
exports.SportsPublicApiFp = SportsPublicApiFp;
|
|
6634
|
+
/**
|
|
6635
|
+
* SportsPublicApi - factory interface
|
|
6636
|
+
* @export
|
|
6637
|
+
*/
|
|
6638
|
+
const SportsPublicApiFactory = function (configuration, basePath, axios) {
|
|
6639
|
+
const localVarFp = (0, exports.SportsPublicApiFp)(configuration);
|
|
6640
|
+
return {
|
|
6641
|
+
/**
|
|
6642
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6643
|
+
* @param {*} [options] Override http request option.
|
|
6644
|
+
* @throws {RequiredError}
|
|
6645
|
+
*/
|
|
6646
|
+
getVerifiedSports(options) {
|
|
6647
|
+
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
6648
|
+
},
|
|
6649
|
+
};
|
|
6650
|
+
};
|
|
6651
|
+
exports.SportsPublicApiFactory = SportsPublicApiFactory;
|
|
6652
|
+
/**
|
|
6653
|
+
* SportsPublicApi - object-oriented interface
|
|
6654
|
+
* @export
|
|
6655
|
+
* @class SportsPublicApi
|
|
6656
|
+
* @extends {BaseAPI}
|
|
6657
|
+
*/
|
|
6658
|
+
class SportsPublicApi extends base_1.BaseAPI {
|
|
6659
|
+
/**
|
|
6660
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6661
|
+
* @param {*} [options] Override http request option.
|
|
6662
|
+
* @throws {RequiredError}
|
|
6663
|
+
* @memberof SportsPublicApi
|
|
6664
|
+
*/
|
|
6665
|
+
getVerifiedSports(options) {
|
|
6666
|
+
return (0, exports.SportsPublicApiFp)(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
|
|
6667
|
+
}
|
|
6668
|
+
}
|
|
6669
|
+
exports.SportsPublicApi = SportsPublicApi;
|
|
7240
6670
|
/**
|
|
7241
6671
|
* SportsStaffApi - axios parameter creator
|
|
7242
6672
|
* @export
|
|
@@ -8168,38 +7598,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8168
7598
|
options: localVarRequestOptions,
|
|
8169
7599
|
};
|
|
8170
7600
|
}),
|
|
8171
|
-
/**
|
|
8172
|
-
*
|
|
8173
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
8174
|
-
* @param {*} [options] Override http request option.
|
|
8175
|
-
* @throws {RequiredError}
|
|
8176
|
-
*/
|
|
8177
|
-
addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
|
|
8178
|
-
// verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
|
|
8179
|
-
(0, common_1.assertParamExists)('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
|
|
8180
|
-
const localVarPath = `/api/users/addPaymentMethodSetup`;
|
|
8181
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8182
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8183
|
-
let baseOptions;
|
|
8184
|
-
if (configuration) {
|
|
8185
|
-
baseOptions = configuration.baseOptions;
|
|
8186
|
-
}
|
|
8187
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8188
|
-
const localVarHeaderParameter = {};
|
|
8189
|
-
const localVarQueryParameter = {};
|
|
8190
|
-
// authentication bearerAuth required
|
|
8191
|
-
// http bearer authentication required
|
|
8192
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8193
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8194
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8195
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8196
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8197
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
8198
|
-
return {
|
|
8199
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8200
|
-
options: localVarRequestOptions,
|
|
8201
|
-
};
|
|
8202
|
-
}),
|
|
8203
7601
|
/**
|
|
8204
7602
|
*
|
|
8205
7603
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -8232,38 +7630,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8232
7630
|
options: localVarRequestOptions,
|
|
8233
7631
|
};
|
|
8234
7632
|
}),
|
|
8235
|
-
/**
|
|
8236
|
-
*
|
|
8237
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
8238
|
-
* @param {*} [options] Override http request option.
|
|
8239
|
-
* @throws {RequiredError}
|
|
8240
|
-
*/
|
|
8241
|
-
confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
|
|
8242
|
-
// verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
|
|
8243
|
-
(0, common_1.assertParamExists)('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
|
|
8244
|
-
const localVarPath = `/api/users/confirmPaymentMethodSetup`;
|
|
8245
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8246
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8247
|
-
let baseOptions;
|
|
8248
|
-
if (configuration) {
|
|
8249
|
-
baseOptions = configuration.baseOptions;
|
|
8250
|
-
}
|
|
8251
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8252
|
-
const localVarHeaderParameter = {};
|
|
8253
|
-
const localVarQueryParameter = {};
|
|
8254
|
-
// authentication bearerAuth required
|
|
8255
|
-
// http bearer authentication required
|
|
8256
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8257
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8258
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8259
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8260
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8261
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
8262
|
-
return {
|
|
8263
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8264
|
-
options: localVarRequestOptions,
|
|
8265
|
-
};
|
|
8266
|
-
}),
|
|
8267
7633
|
/**
|
|
8268
7634
|
*
|
|
8269
7635
|
* @param {*} [options] Override http request option.
|
|
@@ -9033,38 +8399,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
9033
8399
|
options: localVarRequestOptions,
|
|
9034
8400
|
};
|
|
9035
8401
|
}),
|
|
9036
|
-
/**
|
|
9037
|
-
*
|
|
9038
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
9039
|
-
* @param {*} [options] Override http request option.
|
|
9040
|
-
* @throws {RequiredError}
|
|
9041
|
-
*/
|
|
9042
|
-
setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
|
|
9043
|
-
// verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
|
|
9044
|
-
(0, common_1.assertParamExists)('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
|
|
9045
|
-
const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
|
|
9046
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9047
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9048
|
-
let baseOptions;
|
|
9049
|
-
if (configuration) {
|
|
9050
|
-
baseOptions = configuration.baseOptions;
|
|
9051
|
-
}
|
|
9052
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9053
|
-
const localVarHeaderParameter = {};
|
|
9054
|
-
const localVarQueryParameter = {};
|
|
9055
|
-
// authentication bearerAuth required
|
|
9056
|
-
// http bearer authentication required
|
|
9057
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9058
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9059
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9060
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9061
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9062
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
9063
|
-
return {
|
|
9064
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9065
|
-
options: localVarRequestOptions,
|
|
9066
|
-
};
|
|
9067
|
-
}),
|
|
9068
8402
|
/**
|
|
9069
8403
|
*
|
|
9070
8404
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -9335,21 +8669,6 @@ const UsersApiFp = function (configuration) {
|
|
|
9335
8669
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9336
8670
|
});
|
|
9337
8671
|
},
|
|
9338
|
-
/**
|
|
9339
|
-
*
|
|
9340
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
9341
|
-
* @param {*} [options] Override http request option.
|
|
9342
|
-
* @throws {RequiredError}
|
|
9343
|
-
*/
|
|
9344
|
-
addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
|
|
9345
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9346
|
-
var _a, _b, _c;
|
|
9347
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
|
|
9348
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9349
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9350
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9351
|
-
});
|
|
9352
|
-
},
|
|
9353
8672
|
/**
|
|
9354
8673
|
*
|
|
9355
8674
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -9365,21 +8684,6 @@ const UsersApiFp = function (configuration) {
|
|
|
9365
8684
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9366
8685
|
});
|
|
9367
8686
|
},
|
|
9368
|
-
/**
|
|
9369
|
-
*
|
|
9370
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
9371
|
-
* @param {*} [options] Override http request option.
|
|
9372
|
-
* @throws {RequiredError}
|
|
9373
|
-
*/
|
|
9374
|
-
confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
|
|
9375
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9376
|
-
var _a, _b, _c;
|
|
9377
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
|
|
9378
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9379
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9380
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9381
|
-
});
|
|
9382
|
-
},
|
|
9383
8687
|
/**
|
|
9384
8688
|
*
|
|
9385
8689
|
* @param {*} [options] Override http request option.
|
|
@@ -9750,21 +9054,6 @@ const UsersApiFp = function (configuration) {
|
|
|
9750
9054
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9751
9055
|
});
|
|
9752
9056
|
},
|
|
9753
|
-
/**
|
|
9754
|
-
*
|
|
9755
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
9756
|
-
* @param {*} [options] Override http request option.
|
|
9757
|
-
* @throws {RequiredError}
|
|
9758
|
-
*/
|
|
9759
|
-
setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
|
|
9760
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9761
|
-
var _a, _b, _c;
|
|
9762
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
|
|
9763
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9764
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9765
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9766
|
-
});
|
|
9767
|
-
},
|
|
9768
9057
|
/**
|
|
9769
9058
|
*
|
|
9770
9059
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -9907,15 +9196,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9907
9196
|
addOrganization(requestParameters, options) {
|
|
9908
9197
|
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
9909
9198
|
},
|
|
9910
|
-
/**
|
|
9911
|
-
*
|
|
9912
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9913
|
-
* @param {*} [options] Override http request option.
|
|
9914
|
-
* @throws {RequiredError}
|
|
9915
|
-
*/
|
|
9916
|
-
addPaymentMethodSetup(requestParameters, options) {
|
|
9917
|
-
return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9918
|
-
},
|
|
9919
9199
|
/**
|
|
9920
9200
|
*
|
|
9921
9201
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -9925,15 +9205,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9925
9205
|
changePassword(requestParameters, options) {
|
|
9926
9206
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
9927
9207
|
},
|
|
9928
|
-
/**
|
|
9929
|
-
*
|
|
9930
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9931
|
-
* @param {*} [options] Override http request option.
|
|
9932
|
-
* @throws {RequiredError}
|
|
9933
|
-
*/
|
|
9934
|
-
confirmPaymentMethodSetup(requestParameters, options) {
|
|
9935
|
-
return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9936
|
-
},
|
|
9937
9208
|
/**
|
|
9938
9209
|
*
|
|
9939
9210
|
* @param {*} [options] Override http request option.
|
|
@@ -10142,15 +9413,6 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
10142
9413
|
resetPassword(requestParameters, options) {
|
|
10143
9414
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
10144
9415
|
},
|
|
10145
|
-
/**
|
|
10146
|
-
*
|
|
10147
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
10148
|
-
* @param {*} [options] Override http request option.
|
|
10149
|
-
* @throws {RequiredError}
|
|
10150
|
-
*/
|
|
10151
|
-
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
10152
|
-
return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
10153
|
-
},
|
|
10154
9416
|
/**
|
|
10155
9417
|
*
|
|
10156
9418
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -10254,16 +9516,6 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
10254
9516
|
addOrganization(requestParameters, options) {
|
|
10255
9517
|
return (0, exports.UsersApiFp)(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10256
9518
|
}
|
|
10257
|
-
/**
|
|
10258
|
-
*
|
|
10259
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
10260
|
-
* @param {*} [options] Override http request option.
|
|
10261
|
-
* @throws {RequiredError}
|
|
10262
|
-
* @memberof UsersApi
|
|
10263
|
-
*/
|
|
10264
|
-
addPaymentMethodSetup(requestParameters, options) {
|
|
10265
|
-
return (0, exports.UsersApiFp)(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10266
|
-
}
|
|
10267
9519
|
/**
|
|
10268
9520
|
*
|
|
10269
9521
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -10274,16 +9526,6 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
10274
9526
|
changePassword(requestParameters, options) {
|
|
10275
9527
|
return (0, exports.UsersApiFp)(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10276
9528
|
}
|
|
10277
|
-
/**
|
|
10278
|
-
*
|
|
10279
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
10280
|
-
* @param {*} [options] Override http request option.
|
|
10281
|
-
* @throws {RequiredError}
|
|
10282
|
-
* @memberof UsersApi
|
|
10283
|
-
*/
|
|
10284
|
-
confirmPaymentMethodSetup(requestParameters, options) {
|
|
10285
|
-
return (0, exports.UsersApiFp)(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10286
|
-
}
|
|
10287
9529
|
/**
|
|
10288
9530
|
*
|
|
10289
9531
|
* @param {*} [options] Override http request option.
|
|
@@ -10516,16 +9758,6 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
10516
9758
|
resetPassword(requestParameters, options) {
|
|
10517
9759
|
return (0, exports.UsersApiFp)(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10518
9760
|
}
|
|
10519
|
-
/**
|
|
10520
|
-
*
|
|
10521
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
10522
|
-
* @param {*} [options] Override http request option.
|
|
10523
|
-
* @throws {RequiredError}
|
|
10524
|
-
* @memberof UsersApi
|
|
10525
|
-
*/
|
|
10526
|
-
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
10527
|
-
return (0, exports.UsersApiFp)(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10528
|
-
}
|
|
10529
9761
|
/**
|
|
10530
9762
|
*
|
|
10531
9763
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|