@tennac-booking/sdk 1.0.82 → 1.0.83
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 +25 -1
- package/README.md +32 -1
- package/api.ts +1565 -73
- package/dist/api.d.ts +1224 -81
- package/dist/api.js +562 -8
- package/dist/esm/api.d.ts +1224 -81
- package/dist/esm/api.js +555 -5
- package/docs/BookingPopulated.md +2 -0
- package/docs/ClubAnalyticsStaffApi.md +7 -1
- package/docs/{EventResponseCourtsInner.md → ClubDaySchedule.md} +7 -3
- package/docs/ClubGeneralSettingsResponse.md +34 -0
- package/docs/ClubHoursSettingsResponse.md +22 -0
- package/docs/ClubLocationSettings.md +26 -0
- package/docs/ClubPlayerBookingsPagination.md +28 -0
- package/docs/ClubPlayerBookingsResponse.md +2 -0
- package/docs/ClubPresentationSettingsResponse.md +26 -0
- package/docs/ClubPricingPeriodResponse.md +30 -0
- package/docs/ClubReservationAccessSettingsResponse.md +26 -0
- package/docs/ClubReservationSettingsResponse.md +36 -0
- package/docs/ClubSettingsManagerApi.md +104 -0
- package/docs/ClubSettingsStaffApi.md +95 -0
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsManagerApi.md +104 -0
- package/docs/ClubsStaffApi.md +88 -0
- package/docs/CreateEventRequest.md +1 -1
- package/docs/EventResponse.md +1 -1
- package/docs/HotelAccessSettings.md +26 -0
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/PartialHotelAccessSettings.md +27 -0
- package/docs/PartialPaymentRequirementsSettings.md +23 -0
- package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +27 -0
- package/docs/PartialPublicAccessSettings.md +25 -0
- package/docs/PartialSchoolAccessSettings.md +25 -0
- package/docs/PaymentRequirementsSettings.md +22 -0
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/SchoolAccessSettings.md +24 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
- package/docs/UpdateClubHoursSettingsRequest.md +22 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
- package/docs/UpdateClubReservationSettingsRequest.md +34 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -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.
|
|
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.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 = void 0;
|
|
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.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.PartialPublicAccessSettingsPaymentModeEnum = 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.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = 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 = exports.BookingsApiFp = 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.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 = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -139,6 +139,11 @@ exports.Gender = {
|
|
|
139
139
|
exports.IUserLocationTypeEnum = {
|
|
140
140
|
Point: 'Point'
|
|
141
141
|
};
|
|
142
|
+
exports.PartialPublicAccessSettingsPaymentModeEnum = {
|
|
143
|
+
Free: 'free',
|
|
144
|
+
AccessFee: 'access_fee',
|
|
145
|
+
PerCourt: 'per_court'
|
|
146
|
+
};
|
|
142
147
|
/**
|
|
143
148
|
*
|
|
144
149
|
* @export
|
|
@@ -172,6 +177,11 @@ exports.PlayerCategoryId = {
|
|
|
172
177
|
MostActive: 'most-active',
|
|
173
178
|
Nearby: 'nearby'
|
|
174
179
|
};
|
|
180
|
+
exports.PublicAccessSettingsPaymentModeEnum = {
|
|
181
|
+
Free: 'free',
|
|
182
|
+
AccessFee: 'access_fee',
|
|
183
|
+
PerCourt: 'per_court'
|
|
184
|
+
};
|
|
175
185
|
exports.RegisterRequestBodyLocationTypeEnum = {
|
|
176
186
|
Point: 'Point'
|
|
177
187
|
};
|
|
@@ -1513,10 +1523,12 @@ const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1513
1523
|
/**
|
|
1514
1524
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1515
1525
|
* @param {string} playerId
|
|
1526
|
+
* @param {number} [page]
|
|
1527
|
+
* @param {number} [pageSize]
|
|
1516
1528
|
* @param {*} [options] Override http request option.
|
|
1517
1529
|
* @throws {RequiredError}
|
|
1518
1530
|
*/
|
|
1519
|
-
getClubPlayerBookingsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
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 = {}) {
|
|
1520
1532
|
// verify required parameter 'playerId' is not null or undefined
|
|
1521
1533
|
(0, common_1.assertParamExists)('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1522
1534
|
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
@@ -1533,6 +1545,12 @@ const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1533
1545
|
// authentication bearerAuth required
|
|
1534
1546
|
// http bearer authentication required
|
|
1535
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
|
+
}
|
|
1536
1554
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1537
1555
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1538
1556
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1906,13 +1924,15 @@ const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
1906
1924
|
/**
|
|
1907
1925
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1908
1926
|
* @param {string} playerId
|
|
1927
|
+
* @param {number} [page]
|
|
1928
|
+
* @param {number} [pageSize]
|
|
1909
1929
|
* @param {*} [options] Override http request option.
|
|
1910
1930
|
* @throws {RequiredError}
|
|
1911
1931
|
*/
|
|
1912
|
-
getClubPlayerBookingsById(playerId, options) {
|
|
1932
|
+
getClubPlayerBookingsById(playerId, page, pageSize, options) {
|
|
1913
1933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1914
1934
|
var _a, _b, _c;
|
|
1915
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
|
|
1935
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
|
|
1916
1936
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1917
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;
|
|
1918
1938
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2106,7 +2126,7 @@ const ClubAnalyticsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
2106
2126
|
* @throws {RequiredError}
|
|
2107
2127
|
*/
|
|
2108
2128
|
getClubPlayerBookingsById(requestParameters, options) {
|
|
2109
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2129
|
+
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2110
2130
|
},
|
|
2111
2131
|
/**
|
|
2112
2132
|
* Récupère les informations détaillées d\'un joueur par son ID
|
|
@@ -2230,7 +2250,7 @@ class ClubAnalyticsStaffApi extends base_1.BaseAPI {
|
|
|
2230
2250
|
* @memberof ClubAnalyticsStaffApi
|
|
2231
2251
|
*/
|
|
2232
2252
|
getClubPlayerBookingsById(requestParameters, options) {
|
|
2233
|
-
return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2253
|
+
return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2234
2254
|
}
|
|
2235
2255
|
/**
|
|
2236
2256
|
* Récupère les informations détaillées d\'un joueur par son ID
|
|
@@ -2926,6 +2946,70 @@ const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
2926
2946
|
options: localVarRequestOptions,
|
|
2927
2947
|
};
|
|
2928
2948
|
}),
|
|
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
|
+
}),
|
|
2929
3013
|
};
|
|
2930
3014
|
};
|
|
2931
3015
|
exports.ClubSettingsManagerApiAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator;
|
|
@@ -2995,6 +3079,36 @@ const ClubSettingsManagerApiFp = function (configuration) {
|
|
|
2995
3079
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2996
3080
|
});
|
|
2997
3081
|
},
|
|
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
|
+
},
|
|
2998
3112
|
};
|
|
2999
3113
|
};
|
|
3000
3114
|
exports.ClubSettingsManagerApiFp = ClubSettingsManagerApiFp;
|
|
@@ -3039,6 +3153,24 @@ const ClubSettingsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
3039
3153
|
updateClubSettings(requestParameters, options) {
|
|
3040
3154
|
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3041
3155
|
},
|
|
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
|
+
},
|
|
3042
3174
|
};
|
|
3043
3175
|
};
|
|
3044
3176
|
exports.ClubSettingsManagerApiFactory = ClubSettingsManagerApiFactory;
|
|
@@ -3087,8 +3219,182 @@ class ClubSettingsManagerApi extends base_1.BaseAPI {
|
|
|
3087
3219
|
updateClubSettings(requestParameters, options) {
|
|
3088
3220
|
return (0, exports.ClubSettingsManagerApiFp)(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3089
3221
|
}
|
|
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
|
+
}
|
|
3090
3242
|
}
|
|
3091
3243
|
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;
|
|
3092
3398
|
/**
|
|
3093
3399
|
* ClubsApi - axios parameter creator
|
|
3094
3400
|
* @export
|
|
@@ -4348,6 +4654,38 @@ const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4348
4654
|
options: localVarRequestOptions,
|
|
4349
4655
|
};
|
|
4350
4656
|
}),
|
|
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
|
+
}),
|
|
4351
4689
|
/**
|
|
4352
4690
|
*
|
|
4353
4691
|
* @param {any} body
|
|
@@ -4380,6 +4718,38 @@ const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4380
4718
|
options: localVarRequestOptions,
|
|
4381
4719
|
};
|
|
4382
4720
|
}),
|
|
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
|
+
}),
|
|
4383
4753
|
/**
|
|
4384
4754
|
*
|
|
4385
4755
|
* @param {string} courtId
|
|
@@ -4688,6 +5058,21 @@ const ClubsManagerApiFp = function (configuration) {
|
|
|
4688
5058
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4689
5059
|
});
|
|
4690
5060
|
},
|
|
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
|
+
},
|
|
4691
5076
|
/**
|
|
4692
5077
|
*
|
|
4693
5078
|
* @param {any} body
|
|
@@ -4703,6 +5088,21 @@ const ClubsManagerApiFp = function (configuration) {
|
|
|
4703
5088
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4704
5089
|
});
|
|
4705
5090
|
},
|
|
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
|
+
},
|
|
4706
5106
|
/**
|
|
4707
5107
|
*
|
|
4708
5108
|
* @param {string} courtId
|
|
@@ -4879,6 +5279,15 @@ const ClubsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
4879
5279
|
updateClub(requestParameters, options) {
|
|
4880
5280
|
return localVarFp.updateClub(requestParameters.updateClubRequest, options).then((request) => request(axios, basePath));
|
|
4881
5281
|
},
|
|
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
|
+
},
|
|
4882
5291
|
/**
|
|
4883
5292
|
*
|
|
4884
5293
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -4888,6 +5297,15 @@ const ClubsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
4888
5297
|
updateClubInfos(requestParameters, options) {
|
|
4889
5298
|
return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4890
5299
|
},
|
|
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
|
+
},
|
|
4891
5309
|
/**
|
|
4892
5310
|
*
|
|
4893
5311
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5065,6 +5483,16 @@ class ClubsManagerApi extends base_1.BaseAPI {
|
|
|
5065
5483
|
updateClub(requestParameters, options) {
|
|
5066
5484
|
return (0, exports.ClubsManagerApiFp)(this.configuration).updateClub(requestParameters.updateClubRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5067
5485
|
}
|
|
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
|
+
}
|
|
5068
5496
|
/**
|
|
5069
5497
|
*
|
|
5070
5498
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -5075,6 +5503,16 @@ class ClubsManagerApi extends base_1.BaseAPI {
|
|
|
5075
5503
|
updateClubInfos(requestParameters, options) {
|
|
5076
5504
|
return (0, exports.ClubsManagerApiFp)(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5077
5505
|
}
|
|
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
|
+
}
|
|
5078
5516
|
/**
|
|
5079
5517
|
*
|
|
5080
5518
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5130,6 +5568,33 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5130
5568
|
options: localVarRequestOptions,
|
|
5131
5569
|
};
|
|
5132
5570
|
}),
|
|
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
|
+
}),
|
|
5133
5598
|
/**
|
|
5134
5599
|
*
|
|
5135
5600
|
* @param {*} [options] Override http request option.
|
|
@@ -5184,6 +5649,33 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5184
5649
|
options: localVarRequestOptions,
|
|
5185
5650
|
};
|
|
5186
5651
|
}),
|
|
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
|
+
}),
|
|
5187
5679
|
/**
|
|
5188
5680
|
* Récupère les rôles d\'un club
|
|
5189
5681
|
* @param {*} [options] Override http request option.
|
|
@@ -5320,6 +5812,20 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
5320
5812
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5321
5813
|
});
|
|
5322
5814
|
},
|
|
5815
|
+
/**
|
|
5816
|
+
*
|
|
5817
|
+
* @param {*} [options] Override http request option.
|
|
5818
|
+
* @throws {RequiredError}
|
|
5819
|
+
*/
|
|
5820
|
+
getClubGeneralSettings(options) {
|
|
5821
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5822
|
+
var _a, _b, _c;
|
|
5823
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubGeneralSettings(options);
|
|
5824
|
+
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.getClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5826
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5827
|
+
});
|
|
5828
|
+
},
|
|
5323
5829
|
/**
|
|
5324
5830
|
*
|
|
5325
5831
|
* @param {*} [options] Override http request option.
|
|
@@ -5348,6 +5854,20 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
5348
5854
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5349
5855
|
});
|
|
5350
5856
|
},
|
|
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
|
+
},
|
|
5351
5871
|
/**
|
|
5352
5872
|
* Récupère les rôles d\'un club
|
|
5353
5873
|
* @param {*} [options] Override http request option.
|
|
@@ -5423,6 +5943,14 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5423
5943
|
getActualities(options) {
|
|
5424
5944
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
5425
5945
|
},
|
|
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
|
+
},
|
|
5426
5954
|
/**
|
|
5427
5955
|
*
|
|
5428
5956
|
* @param {*} [options] Override http request option.
|
|
@@ -5439,6 +5967,14 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5439
5967
|
getClubMembers(options) {
|
|
5440
5968
|
return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
|
|
5441
5969
|
},
|
|
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
|
+
},
|
|
5442
5978
|
/**
|
|
5443
5979
|
* Récupère les rôles d\'un club
|
|
5444
5980
|
* @param {*} [options] Override http request option.
|
|
@@ -5491,6 +6027,15 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
5491
6027
|
getActualities(options) {
|
|
5492
6028
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
5493
6029
|
}
|
|
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
|
+
}
|
|
5494
6039
|
/**
|
|
5495
6040
|
*
|
|
5496
6041
|
* @param {*} [options] Override http request option.
|
|
@@ -5509,6 +6054,15 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
5509
6054
|
getClubMembers(options) {
|
|
5510
6055
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
|
|
5511
6056
|
}
|
|
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
|
+
}
|
|
5512
6066
|
/**
|
|
5513
6067
|
* Récupère les rôles d\'un club
|
|
5514
6068
|
* @param {*} [options] Override http request option.
|