@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/esm/api.js
CHANGED
|
@@ -134,6 +134,11 @@ export const Gender = {
|
|
|
134
134
|
export const IUserLocationTypeEnum = {
|
|
135
135
|
Point: 'Point'
|
|
136
136
|
};
|
|
137
|
+
export const PartialPublicAccessSettingsPaymentModeEnum = {
|
|
138
|
+
Free: 'free',
|
|
139
|
+
AccessFee: 'access_fee',
|
|
140
|
+
PerCourt: 'per_court'
|
|
141
|
+
};
|
|
137
142
|
/**
|
|
138
143
|
*
|
|
139
144
|
* @export
|
|
@@ -167,6 +172,11 @@ export const PlayerCategoryId = {
|
|
|
167
172
|
MostActive: 'most-active',
|
|
168
173
|
Nearby: 'nearby'
|
|
169
174
|
};
|
|
175
|
+
export const PublicAccessSettingsPaymentModeEnum = {
|
|
176
|
+
Free: 'free',
|
|
177
|
+
AccessFee: 'access_fee',
|
|
178
|
+
PerCourt: 'per_court'
|
|
179
|
+
};
|
|
170
180
|
export const RegisterRequestBodyLocationTypeEnum = {
|
|
171
181
|
Point: 'Point'
|
|
172
182
|
};
|
|
@@ -1488,10 +1498,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1488
1498
|
/**
|
|
1489
1499
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1490
1500
|
* @param {string} playerId
|
|
1501
|
+
* @param {number} [page]
|
|
1502
|
+
* @param {number} [pageSize]
|
|
1491
1503
|
* @param {*} [options] Override http request option.
|
|
1492
1504
|
* @throws {RequiredError}
|
|
1493
1505
|
*/
|
|
1494
|
-
getClubPlayerBookingsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1506
|
+
getClubPlayerBookingsById: (playerId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [playerId_1, page_1, pageSize_1, ...args_1], void 0, function* (playerId, page, pageSize, options = {}) {
|
|
1495
1507
|
// verify required parameter 'playerId' is not null or undefined
|
|
1496
1508
|
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1497
1509
|
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
@@ -1508,6 +1520,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1508
1520
|
// authentication bearerAuth required
|
|
1509
1521
|
// http bearer authentication required
|
|
1510
1522
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1523
|
+
if (page !== undefined) {
|
|
1524
|
+
localVarQueryParameter['page'] = page;
|
|
1525
|
+
}
|
|
1526
|
+
if (pageSize !== undefined) {
|
|
1527
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1528
|
+
}
|
|
1511
1529
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1512
1530
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1513
1531
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1880,13 +1898,15 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
1880
1898
|
/**
|
|
1881
1899
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1882
1900
|
* @param {string} playerId
|
|
1901
|
+
* @param {number} [page]
|
|
1902
|
+
* @param {number} [pageSize]
|
|
1883
1903
|
* @param {*} [options] Override http request option.
|
|
1884
1904
|
* @throws {RequiredError}
|
|
1885
1905
|
*/
|
|
1886
|
-
getClubPlayerBookingsById(playerId, options) {
|
|
1906
|
+
getClubPlayerBookingsById(playerId, page, pageSize, options) {
|
|
1887
1907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
1908
|
var _a, _b, _c;
|
|
1889
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
|
|
1909
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
|
|
1890
1910
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1891
1911
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1892
1912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2079,7 +2099,7 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2079
2099
|
* @throws {RequiredError}
|
|
2080
2100
|
*/
|
|
2081
2101
|
getClubPlayerBookingsById(requestParameters, options) {
|
|
2082
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2102
|
+
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2083
2103
|
},
|
|
2084
2104
|
/**
|
|
2085
2105
|
* Récupère les informations détaillées d\'un joueur par son ID
|
|
@@ -2202,7 +2222,7 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2202
2222
|
* @memberof ClubAnalyticsStaffApi
|
|
2203
2223
|
*/
|
|
2204
2224
|
getClubPlayerBookingsById(requestParameters, options) {
|
|
2205
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2225
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2206
2226
|
}
|
|
2207
2227
|
/**
|
|
2208
2228
|
* Récupère les informations détaillées d\'un joueur par son ID
|
|
@@ -2889,6 +2909,70 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
|
|
|
2889
2909
|
options: localVarRequestOptions,
|
|
2890
2910
|
};
|
|
2891
2911
|
}),
|
|
2912
|
+
/**
|
|
2913
|
+
*
|
|
2914
|
+
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
2915
|
+
* @param {*} [options] Override http request option.
|
|
2916
|
+
* @throws {RequiredError}
|
|
2917
|
+
*/
|
|
2918
|
+
updateHoursSettings: (updateClubHoursSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubHoursSettingsRequest_1, ...args_1], void 0, function* (updateClubHoursSettingsRequest, options = {}) {
|
|
2919
|
+
// verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
|
|
2920
|
+
assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest);
|
|
2921
|
+
const localVarPath = `/api/club-settings/hours`;
|
|
2922
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2923
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2924
|
+
let baseOptions;
|
|
2925
|
+
if (configuration) {
|
|
2926
|
+
baseOptions = configuration.baseOptions;
|
|
2927
|
+
}
|
|
2928
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2929
|
+
const localVarHeaderParameter = {};
|
|
2930
|
+
const localVarQueryParameter = {};
|
|
2931
|
+
// authentication bearerAuth required
|
|
2932
|
+
// http bearer authentication required
|
|
2933
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2934
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2935
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2936
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2937
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2938
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration);
|
|
2939
|
+
return {
|
|
2940
|
+
url: toPathString(localVarUrlObj),
|
|
2941
|
+
options: localVarRequestOptions,
|
|
2942
|
+
};
|
|
2943
|
+
}),
|
|
2944
|
+
/**
|
|
2945
|
+
*
|
|
2946
|
+
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
2947
|
+
* @param {*} [options] Override http request option.
|
|
2948
|
+
* @throws {RequiredError}
|
|
2949
|
+
*/
|
|
2950
|
+
updateReservationSettings: (updateClubReservationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubReservationSettingsRequest_1, ...args_1], void 0, function* (updateClubReservationSettingsRequest, options = {}) {
|
|
2951
|
+
// verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
|
|
2952
|
+
assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest);
|
|
2953
|
+
const localVarPath = `/api/club-settings/reservation`;
|
|
2954
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2955
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2956
|
+
let baseOptions;
|
|
2957
|
+
if (configuration) {
|
|
2958
|
+
baseOptions = configuration.baseOptions;
|
|
2959
|
+
}
|
|
2960
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2961
|
+
const localVarHeaderParameter = {};
|
|
2962
|
+
const localVarQueryParameter = {};
|
|
2963
|
+
// authentication bearerAuth required
|
|
2964
|
+
// http bearer authentication required
|
|
2965
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2966
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2967
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2968
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2969
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2970
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration);
|
|
2971
|
+
return {
|
|
2972
|
+
url: toPathString(localVarUrlObj),
|
|
2973
|
+
options: localVarRequestOptions,
|
|
2974
|
+
};
|
|
2975
|
+
}),
|
|
2892
2976
|
};
|
|
2893
2977
|
};
|
|
2894
2978
|
/**
|
|
@@ -2957,6 +3041,36 @@ export const ClubSettingsManagerApiFp = function (configuration) {
|
|
|
2957
3041
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2958
3042
|
});
|
|
2959
3043
|
},
|
|
3044
|
+
/**
|
|
3045
|
+
*
|
|
3046
|
+
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
3047
|
+
* @param {*} [options] Override http request option.
|
|
3048
|
+
* @throws {RequiredError}
|
|
3049
|
+
*/
|
|
3050
|
+
updateHoursSettings(updateClubHoursSettingsRequest, options) {
|
|
3051
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3052
|
+
var _a, _b, _c;
|
|
3053
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
|
|
3054
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3055
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3056
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3057
|
+
});
|
|
3058
|
+
},
|
|
3059
|
+
/**
|
|
3060
|
+
*
|
|
3061
|
+
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
3062
|
+
* @param {*} [options] Override http request option.
|
|
3063
|
+
* @throws {RequiredError}
|
|
3064
|
+
*/
|
|
3065
|
+
updateReservationSettings(updateClubReservationSettingsRequest, options) {
|
|
3066
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3067
|
+
var _a, _b, _c;
|
|
3068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
|
|
3069
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3070
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3072
|
+
});
|
|
3073
|
+
},
|
|
2960
3074
|
};
|
|
2961
3075
|
};
|
|
2962
3076
|
/**
|
|
@@ -3000,6 +3114,24 @@ export const ClubSettingsManagerApiFactory = function (configuration, basePath,
|
|
|
3000
3114
|
updateClubSettings(requestParameters, options) {
|
|
3001
3115
|
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3002
3116
|
},
|
|
3117
|
+
/**
|
|
3118
|
+
*
|
|
3119
|
+
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3120
|
+
* @param {*} [options] Override http request option.
|
|
3121
|
+
* @throws {RequiredError}
|
|
3122
|
+
*/
|
|
3123
|
+
updateHoursSettings(requestParameters, options) {
|
|
3124
|
+
return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3125
|
+
},
|
|
3126
|
+
/**
|
|
3127
|
+
*
|
|
3128
|
+
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3129
|
+
* @param {*} [options] Override http request option.
|
|
3130
|
+
* @throws {RequiredError}
|
|
3131
|
+
*/
|
|
3132
|
+
updateReservationSettings(requestParameters, options) {
|
|
3133
|
+
return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3134
|
+
},
|
|
3003
3135
|
};
|
|
3004
3136
|
};
|
|
3005
3137
|
/**
|
|
@@ -3047,6 +3179,176 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
3047
3179
|
updateClubSettings(requestParameters, options) {
|
|
3048
3180
|
return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3049
3181
|
}
|
|
3182
|
+
/**
|
|
3183
|
+
*
|
|
3184
|
+
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3185
|
+
* @param {*} [options] Override http request option.
|
|
3186
|
+
* @throws {RequiredError}
|
|
3187
|
+
* @memberof ClubSettingsManagerApi
|
|
3188
|
+
*/
|
|
3189
|
+
updateHoursSettings(requestParameters, options) {
|
|
3190
|
+
return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3191
|
+
}
|
|
3192
|
+
/**
|
|
3193
|
+
*
|
|
3194
|
+
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3195
|
+
* @param {*} [options] Override http request option.
|
|
3196
|
+
* @throws {RequiredError}
|
|
3197
|
+
* @memberof ClubSettingsManagerApi
|
|
3198
|
+
*/
|
|
3199
|
+
updateReservationSettings(requestParameters, options) {
|
|
3200
|
+
return ClubSettingsManagerApiFp(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
* ClubSettingsStaffApi - axios parameter creator
|
|
3205
|
+
* @export
|
|
3206
|
+
*/
|
|
3207
|
+
export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
|
|
3208
|
+
return {
|
|
3209
|
+
/**
|
|
3210
|
+
*
|
|
3211
|
+
* @param {*} [options] Override http request option.
|
|
3212
|
+
* @throws {RequiredError}
|
|
3213
|
+
*/
|
|
3214
|
+
getHoursSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3215
|
+
const localVarPath = `/api/club-settings/hours`;
|
|
3216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3218
|
+
let baseOptions;
|
|
3219
|
+
if (configuration) {
|
|
3220
|
+
baseOptions = configuration.baseOptions;
|
|
3221
|
+
}
|
|
3222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3223
|
+
const localVarHeaderParameter = {};
|
|
3224
|
+
const localVarQueryParameter = {};
|
|
3225
|
+
// authentication bearerAuth required
|
|
3226
|
+
// http bearer authentication required
|
|
3227
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3230
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3231
|
+
return {
|
|
3232
|
+
url: toPathString(localVarUrlObj),
|
|
3233
|
+
options: localVarRequestOptions,
|
|
3234
|
+
};
|
|
3235
|
+
}),
|
|
3236
|
+
/**
|
|
3237
|
+
*
|
|
3238
|
+
* @param {*} [options] Override http request option.
|
|
3239
|
+
* @throws {RequiredError}
|
|
3240
|
+
*/
|
|
3241
|
+
getReservationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3242
|
+
const localVarPath = `/api/club-settings/reservation`;
|
|
3243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3245
|
+
let baseOptions;
|
|
3246
|
+
if (configuration) {
|
|
3247
|
+
baseOptions = configuration.baseOptions;
|
|
3248
|
+
}
|
|
3249
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3250
|
+
const localVarHeaderParameter = {};
|
|
3251
|
+
const localVarQueryParameter = {};
|
|
3252
|
+
// authentication bearerAuth required
|
|
3253
|
+
// http bearer authentication required
|
|
3254
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3257
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3258
|
+
return {
|
|
3259
|
+
url: toPathString(localVarUrlObj),
|
|
3260
|
+
options: localVarRequestOptions,
|
|
3261
|
+
};
|
|
3262
|
+
}),
|
|
3263
|
+
};
|
|
3264
|
+
};
|
|
3265
|
+
/**
|
|
3266
|
+
* ClubSettingsStaffApi - functional programming interface
|
|
3267
|
+
* @export
|
|
3268
|
+
*/
|
|
3269
|
+
export const ClubSettingsStaffApiFp = function (configuration) {
|
|
3270
|
+
const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration);
|
|
3271
|
+
return {
|
|
3272
|
+
/**
|
|
3273
|
+
*
|
|
3274
|
+
* @param {*} [options] Override http request option.
|
|
3275
|
+
* @throws {RequiredError}
|
|
3276
|
+
*/
|
|
3277
|
+
getHoursSettings(options) {
|
|
3278
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3279
|
+
var _a, _b, _c;
|
|
3280
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHoursSettings(options);
|
|
3281
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3282
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3283
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3284
|
+
});
|
|
3285
|
+
},
|
|
3286
|
+
/**
|
|
3287
|
+
*
|
|
3288
|
+
* @param {*} [options] Override http request option.
|
|
3289
|
+
* @throws {RequiredError}
|
|
3290
|
+
*/
|
|
3291
|
+
getReservationSettings(options) {
|
|
3292
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3293
|
+
var _a, _b, _c;
|
|
3294
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReservationSettings(options);
|
|
3295
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3296
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsStaffApi.getReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3298
|
+
});
|
|
3299
|
+
},
|
|
3300
|
+
};
|
|
3301
|
+
};
|
|
3302
|
+
/**
|
|
3303
|
+
* ClubSettingsStaffApi - factory interface
|
|
3304
|
+
* @export
|
|
3305
|
+
*/
|
|
3306
|
+
export const ClubSettingsStaffApiFactory = function (configuration, basePath, axios) {
|
|
3307
|
+
const localVarFp = ClubSettingsStaffApiFp(configuration);
|
|
3308
|
+
return {
|
|
3309
|
+
/**
|
|
3310
|
+
*
|
|
3311
|
+
* @param {*} [options] Override http request option.
|
|
3312
|
+
* @throws {RequiredError}
|
|
3313
|
+
*/
|
|
3314
|
+
getHoursSettings(options) {
|
|
3315
|
+
return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
|
|
3316
|
+
},
|
|
3317
|
+
/**
|
|
3318
|
+
*
|
|
3319
|
+
* @param {*} [options] Override http request option.
|
|
3320
|
+
* @throws {RequiredError}
|
|
3321
|
+
*/
|
|
3322
|
+
getReservationSettings(options) {
|
|
3323
|
+
return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
|
|
3324
|
+
},
|
|
3325
|
+
};
|
|
3326
|
+
};
|
|
3327
|
+
/**
|
|
3328
|
+
* ClubSettingsStaffApi - object-oriented interface
|
|
3329
|
+
* @export
|
|
3330
|
+
* @class ClubSettingsStaffApi
|
|
3331
|
+
* @extends {BaseAPI}
|
|
3332
|
+
*/
|
|
3333
|
+
export class ClubSettingsStaffApi extends BaseAPI {
|
|
3334
|
+
/**
|
|
3335
|
+
*
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
* @memberof ClubSettingsStaffApi
|
|
3339
|
+
*/
|
|
3340
|
+
getHoursSettings(options) {
|
|
3341
|
+
return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
+
}
|
|
3343
|
+
/**
|
|
3344
|
+
*
|
|
3345
|
+
* @param {*} [options] Override http request option.
|
|
3346
|
+
* @throws {RequiredError}
|
|
3347
|
+
* @memberof ClubSettingsStaffApi
|
|
3348
|
+
*/
|
|
3349
|
+
getReservationSettings(options) {
|
|
3350
|
+
return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3351
|
+
}
|
|
3050
3352
|
}
|
|
3051
3353
|
/**
|
|
3052
3354
|
* ClubsApi - axios parameter creator
|
|
@@ -4303,6 +4605,38 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4303
4605
|
options: localVarRequestOptions,
|
|
4304
4606
|
};
|
|
4305
4607
|
}),
|
|
4608
|
+
/**
|
|
4609
|
+
*
|
|
4610
|
+
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
4611
|
+
* @param {*} [options] Override http request option.
|
|
4612
|
+
* @throws {RequiredError}
|
|
4613
|
+
*/
|
|
4614
|
+
updateClubGeneralSettings: (updateClubGeneralSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubGeneralSettingsRequest_1, ...args_1], void 0, function* (updateClubGeneralSettingsRequest, options = {}) {
|
|
4615
|
+
// verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
|
|
4616
|
+
assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest);
|
|
4617
|
+
const localVarPath = `/api/clubs/settings/general`;
|
|
4618
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4619
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4620
|
+
let baseOptions;
|
|
4621
|
+
if (configuration) {
|
|
4622
|
+
baseOptions = configuration.baseOptions;
|
|
4623
|
+
}
|
|
4624
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4625
|
+
const localVarHeaderParameter = {};
|
|
4626
|
+
const localVarQueryParameter = {};
|
|
4627
|
+
// authentication bearerAuth required
|
|
4628
|
+
// http bearer authentication required
|
|
4629
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4630
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4631
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4632
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4633
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4634
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration);
|
|
4635
|
+
return {
|
|
4636
|
+
url: toPathString(localVarUrlObj),
|
|
4637
|
+
options: localVarRequestOptions,
|
|
4638
|
+
};
|
|
4639
|
+
}),
|
|
4306
4640
|
/**
|
|
4307
4641
|
*
|
|
4308
4642
|
* @param {any} body
|
|
@@ -4335,6 +4669,38 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4335
4669
|
options: localVarRequestOptions,
|
|
4336
4670
|
};
|
|
4337
4671
|
}),
|
|
4672
|
+
/**
|
|
4673
|
+
*
|
|
4674
|
+
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
4675
|
+
* @param {*} [options] Override http request option.
|
|
4676
|
+
* @throws {RequiredError}
|
|
4677
|
+
*/
|
|
4678
|
+
updateClubPresentationSettings: (updateClubPresentationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubPresentationSettingsRequest_1, ...args_1], void 0, function* (updateClubPresentationSettingsRequest, options = {}) {
|
|
4679
|
+
// verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
|
|
4680
|
+
assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest);
|
|
4681
|
+
const localVarPath = `/api/clubs/settings/presentation`;
|
|
4682
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4683
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4684
|
+
let baseOptions;
|
|
4685
|
+
if (configuration) {
|
|
4686
|
+
baseOptions = configuration.baseOptions;
|
|
4687
|
+
}
|
|
4688
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4689
|
+
const localVarHeaderParameter = {};
|
|
4690
|
+
const localVarQueryParameter = {};
|
|
4691
|
+
// authentication bearerAuth required
|
|
4692
|
+
// http bearer authentication required
|
|
4693
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4694
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4695
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4696
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4697
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4698
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration);
|
|
4699
|
+
return {
|
|
4700
|
+
url: toPathString(localVarUrlObj),
|
|
4701
|
+
options: localVarRequestOptions,
|
|
4702
|
+
};
|
|
4703
|
+
}),
|
|
4338
4704
|
/**
|
|
4339
4705
|
*
|
|
4340
4706
|
* @param {string} courtId
|
|
@@ -4642,6 +5008,21 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
4642
5008
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4643
5009
|
});
|
|
4644
5010
|
},
|
|
5011
|
+
/**
|
|
5012
|
+
*
|
|
5013
|
+
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
5014
|
+
* @param {*} [options] Override http request option.
|
|
5015
|
+
* @throws {RequiredError}
|
|
5016
|
+
*/
|
|
5017
|
+
updateClubGeneralSettings(updateClubGeneralSettingsRequest, options) {
|
|
5018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5019
|
+
var _a, _b, _c;
|
|
5020
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
|
|
5021
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5022
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5023
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5024
|
+
});
|
|
5025
|
+
},
|
|
4645
5026
|
/**
|
|
4646
5027
|
*
|
|
4647
5028
|
* @param {any} body
|
|
@@ -4657,6 +5038,21 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
4657
5038
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4658
5039
|
});
|
|
4659
5040
|
},
|
|
5041
|
+
/**
|
|
5042
|
+
*
|
|
5043
|
+
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
5044
|
+
* @param {*} [options] Override http request option.
|
|
5045
|
+
* @throws {RequiredError}
|
|
5046
|
+
*/
|
|
5047
|
+
updateClubPresentationSettings(updateClubPresentationSettingsRequest, options) {
|
|
5048
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5049
|
+
var _a, _b, _c;
|
|
5050
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
|
|
5051
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5052
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5053
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5054
|
+
});
|
|
5055
|
+
},
|
|
4660
5056
|
/**
|
|
4661
5057
|
*
|
|
4662
5058
|
* @param {string} courtId
|
|
@@ -4832,6 +5228,15 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
4832
5228
|
updateClub(requestParameters, options) {
|
|
4833
5229
|
return localVarFp.updateClub(requestParameters.updateClubRequest, options).then((request) => request(axios, basePath));
|
|
4834
5230
|
},
|
|
5231
|
+
/**
|
|
5232
|
+
*
|
|
5233
|
+
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
5234
|
+
* @param {*} [options] Override http request option.
|
|
5235
|
+
* @throws {RequiredError}
|
|
5236
|
+
*/
|
|
5237
|
+
updateClubGeneralSettings(requestParameters, options) {
|
|
5238
|
+
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5239
|
+
},
|
|
4835
5240
|
/**
|
|
4836
5241
|
*
|
|
4837
5242
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -4841,6 +5246,15 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
4841
5246
|
updateClubInfos(requestParameters, options) {
|
|
4842
5247
|
return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4843
5248
|
},
|
|
5249
|
+
/**
|
|
5250
|
+
*
|
|
5251
|
+
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5252
|
+
* @param {*} [options] Override http request option.
|
|
5253
|
+
* @throws {RequiredError}
|
|
5254
|
+
*/
|
|
5255
|
+
updateClubPresentationSettings(requestParameters, options) {
|
|
5256
|
+
return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5257
|
+
},
|
|
4844
5258
|
/**
|
|
4845
5259
|
*
|
|
4846
5260
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5017,6 +5431,16 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
5017
5431
|
updateClub(requestParameters, options) {
|
|
5018
5432
|
return ClubsManagerApiFp(this.configuration).updateClub(requestParameters.updateClubRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5019
5433
|
}
|
|
5434
|
+
/**
|
|
5435
|
+
*
|
|
5436
|
+
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
5437
|
+
* @param {*} [options] Override http request option.
|
|
5438
|
+
* @throws {RequiredError}
|
|
5439
|
+
* @memberof ClubsManagerApi
|
|
5440
|
+
*/
|
|
5441
|
+
updateClubGeneralSettings(requestParameters, options) {
|
|
5442
|
+
return ClubsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5443
|
+
}
|
|
5020
5444
|
/**
|
|
5021
5445
|
*
|
|
5022
5446
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -5027,6 +5451,16 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
5027
5451
|
updateClubInfos(requestParameters, options) {
|
|
5028
5452
|
return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5029
5453
|
}
|
|
5454
|
+
/**
|
|
5455
|
+
*
|
|
5456
|
+
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5457
|
+
* @param {*} [options] Override http request option.
|
|
5458
|
+
* @throws {RequiredError}
|
|
5459
|
+
* @memberof ClubsManagerApi
|
|
5460
|
+
*/
|
|
5461
|
+
updateClubPresentationSettings(requestParameters, options) {
|
|
5462
|
+
return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5463
|
+
}
|
|
5030
5464
|
/**
|
|
5031
5465
|
*
|
|
5032
5466
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5081,6 +5515,33 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5081
5515
|
options: localVarRequestOptions,
|
|
5082
5516
|
};
|
|
5083
5517
|
}),
|
|
5518
|
+
/**
|
|
5519
|
+
*
|
|
5520
|
+
* @param {*} [options] Override http request option.
|
|
5521
|
+
* @throws {RequiredError}
|
|
5522
|
+
*/
|
|
5523
|
+
getClubGeneralSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5524
|
+
const localVarPath = `/api/clubs/settings/general`;
|
|
5525
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5526
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5527
|
+
let baseOptions;
|
|
5528
|
+
if (configuration) {
|
|
5529
|
+
baseOptions = configuration.baseOptions;
|
|
5530
|
+
}
|
|
5531
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5532
|
+
const localVarHeaderParameter = {};
|
|
5533
|
+
const localVarQueryParameter = {};
|
|
5534
|
+
// authentication bearerAuth required
|
|
5535
|
+
// http bearer authentication required
|
|
5536
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5537
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5538
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5539
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5540
|
+
return {
|
|
5541
|
+
url: toPathString(localVarUrlObj),
|
|
5542
|
+
options: localVarRequestOptions,
|
|
5543
|
+
};
|
|
5544
|
+
}),
|
|
5084
5545
|
/**
|
|
5085
5546
|
*
|
|
5086
5547
|
* @param {*} [options] Override http request option.
|
|
@@ -5135,6 +5596,33 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5135
5596
|
options: localVarRequestOptions,
|
|
5136
5597
|
};
|
|
5137
5598
|
}),
|
|
5599
|
+
/**
|
|
5600
|
+
*
|
|
5601
|
+
* @param {*} [options] Override http request option.
|
|
5602
|
+
* @throws {RequiredError}
|
|
5603
|
+
*/
|
|
5604
|
+
getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5605
|
+
const localVarPath = `/api/clubs/settings/presentation`;
|
|
5606
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5607
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5608
|
+
let baseOptions;
|
|
5609
|
+
if (configuration) {
|
|
5610
|
+
baseOptions = configuration.baseOptions;
|
|
5611
|
+
}
|
|
5612
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5613
|
+
const localVarHeaderParameter = {};
|
|
5614
|
+
const localVarQueryParameter = {};
|
|
5615
|
+
// authentication bearerAuth required
|
|
5616
|
+
// http bearer authentication required
|
|
5617
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5618
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5619
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5620
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5621
|
+
return {
|
|
5622
|
+
url: toPathString(localVarUrlObj),
|
|
5623
|
+
options: localVarRequestOptions,
|
|
5624
|
+
};
|
|
5625
|
+
}),
|
|
5138
5626
|
/**
|
|
5139
5627
|
* Récupère les rôles d\'un club
|
|
5140
5628
|
* @param {*} [options] Override http request option.
|
|
@@ -5270,6 +5758,20 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
5270
5758
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5271
5759
|
});
|
|
5272
5760
|
},
|
|
5761
|
+
/**
|
|
5762
|
+
*
|
|
5763
|
+
* @param {*} [options] Override http request option.
|
|
5764
|
+
* @throws {RequiredError}
|
|
5765
|
+
*/
|
|
5766
|
+
getClubGeneralSettings(options) {
|
|
5767
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5768
|
+
var _a, _b, _c;
|
|
5769
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubGeneralSettings(options);
|
|
5770
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5771
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5772
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5773
|
+
});
|
|
5774
|
+
},
|
|
5273
5775
|
/**
|
|
5274
5776
|
*
|
|
5275
5777
|
* @param {*} [options] Override http request option.
|
|
@@ -5298,6 +5800,20 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
5298
5800
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5299
5801
|
});
|
|
5300
5802
|
},
|
|
5803
|
+
/**
|
|
5804
|
+
*
|
|
5805
|
+
* @param {*} [options] Override http request option.
|
|
5806
|
+
* @throws {RequiredError}
|
|
5807
|
+
*/
|
|
5808
|
+
getClubPresentationSettings(options) {
|
|
5809
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5810
|
+
var _a, _b, _c;
|
|
5811
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPresentationSettings(options);
|
|
5812
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5813
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5815
|
+
});
|
|
5816
|
+
},
|
|
5301
5817
|
/**
|
|
5302
5818
|
* Récupère les rôles d\'un club
|
|
5303
5819
|
* @param {*} [options] Override http request option.
|
|
@@ -5372,6 +5888,14 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5372
5888
|
getActualities(options) {
|
|
5373
5889
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
5374
5890
|
},
|
|
5891
|
+
/**
|
|
5892
|
+
*
|
|
5893
|
+
* @param {*} [options] Override http request option.
|
|
5894
|
+
* @throws {RequiredError}
|
|
5895
|
+
*/
|
|
5896
|
+
getClubGeneralSettings(options) {
|
|
5897
|
+
return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
|
|
5898
|
+
},
|
|
5375
5899
|
/**
|
|
5376
5900
|
*
|
|
5377
5901
|
* @param {*} [options] Override http request option.
|
|
@@ -5388,6 +5912,14 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5388
5912
|
getClubMembers(options) {
|
|
5389
5913
|
return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
|
|
5390
5914
|
},
|
|
5915
|
+
/**
|
|
5916
|
+
*
|
|
5917
|
+
* @param {*} [options] Override http request option.
|
|
5918
|
+
* @throws {RequiredError}
|
|
5919
|
+
*/
|
|
5920
|
+
getClubPresentationSettings(options) {
|
|
5921
|
+
return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
|
|
5922
|
+
},
|
|
5391
5923
|
/**
|
|
5392
5924
|
* Récupère les rôles d\'un club
|
|
5393
5925
|
* @param {*} [options] Override http request option.
|
|
@@ -5439,6 +5971,15 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
5439
5971
|
getActualities(options) {
|
|
5440
5972
|
return ClubsStaffApiFp(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
5441
5973
|
}
|
|
5974
|
+
/**
|
|
5975
|
+
*
|
|
5976
|
+
* @param {*} [options] Override http request option.
|
|
5977
|
+
* @throws {RequiredError}
|
|
5978
|
+
* @memberof ClubsStaffApi
|
|
5979
|
+
*/
|
|
5980
|
+
getClubGeneralSettings(options) {
|
|
5981
|
+
return ClubsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
|
|
5982
|
+
}
|
|
5442
5983
|
/**
|
|
5443
5984
|
*
|
|
5444
5985
|
* @param {*} [options] Override http request option.
|
|
@@ -5457,6 +5998,15 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
5457
5998
|
getClubMembers(options) {
|
|
5458
5999
|
return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
|
|
5459
6000
|
}
|
|
6001
|
+
/**
|
|
6002
|
+
*
|
|
6003
|
+
* @param {*} [options] Override http request option.
|
|
6004
|
+
* @throws {RequiredError}
|
|
6005
|
+
* @memberof ClubsStaffApi
|
|
6006
|
+
*/
|
|
6007
|
+
getClubPresentationSettings(options) {
|
|
6008
|
+
return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
6009
|
+
}
|
|
5460
6010
|
/**
|
|
5461
6011
|
* Récupère les rôles d\'un club
|
|
5462
6012
|
* @param {*} [options] Override http request option.
|