@tennac-booking/sdk 1.0.90 → 1.0.92
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 +9 -25
- package/README.md +15 -37
- package/api.ts +791 -1990
- package/dist/api.d.ts +527 -1428
- package/dist/api.js +237 -719
- package/dist/esm/api.d.ts +527 -1428
- package/dist/esm/api.js +234 -711
- package/docs/{ClubDaySchedule.md → AddCreditsToCustomer200Response.md} +5 -7
- package/docs/AddCreditsToCustomerRequest.md +22 -0
- package/docs/BookingPlayerPaymentSummary.md +2 -0
- package/docs/BookingPopulated.md +3 -3
- package/docs/BookingSummary.md +2 -0
- package/docs/ClubAnalyticsStaffApi.md +0 -173
- package/docs/ClubSettingsManagerApi.md +60 -54
- package/docs/ClubSettingsResponse.md +39 -0
- package/docs/ClubsManagerApi.md +58 -52
- package/docs/ClubsStaffApi.md +0 -44
- package/docs/CreateClubSettingsRequest.md +34 -0
- package/docs/CreateEventRequest.md +1 -3
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/EventResponse.md +1 -1
- package/docs/EventResponseCourtsInner.md +18 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/UpdateClubSettingsRequest.md +32 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/docs/UserClubMembership.md +34 -0
- package/docs/UserClubMembershipsResponse.md +20 -0
- package/docs/UsersApi.md +46 -0
- package/package.json +1 -1
- package/docs/ClubGeneralSettingsResponse.md +0 -32
- package/docs/ClubHoursSettingsResponse.md +0 -22
- package/docs/ClubLocationSettings.md +0 -26
- package/docs/ClubPlayerBookingItem.md +0 -36
- package/docs/ClubPlayerBookingsPagination.md +0 -28
- package/docs/ClubPlayerBookingsResponse.md +0 -24
- package/docs/ClubPlayerDetailResponse.md +0 -46
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponse.md +0 -42
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
- package/docs/ClubPlayerSubscriptionSummary.md +0 -28
- package/docs/ClubPresentationSettingsResponse.md +0 -26
- package/docs/ClubPricingPeriodResponse.md +0 -30
- package/docs/ClubReservationSettingsResponse.md +0 -28
- package/docs/ClubSettingsStaffApi.md +0 -183
- package/docs/ClubWeeklySchedule.md +0 -32
- package/docs/PartialClubWeeklySchedule.md +0 -33
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -34
- package/docs/UpdateClubHoursSettingsRequest.md +0 -22
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -26
- package/docs/UpdateClubReservationSettingsRequest.md +0 -28
package/dist/esm/api.js
CHANGED
|
@@ -1571,107 +1571,6 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1571
1571
|
options: localVarRequestOptions,
|
|
1572
1572
|
};
|
|
1573
1573
|
}),
|
|
1574
|
-
/**
|
|
1575
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1576
|
-
* @param {string} playerId
|
|
1577
|
-
* @param {number} [page]
|
|
1578
|
-
* @param {number} [pageSize]
|
|
1579
|
-
* @param {*} [options] Override http request option.
|
|
1580
|
-
* @throws {RequiredError}
|
|
1581
|
-
*/
|
|
1582
|
-
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 = {}) {
|
|
1583
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1584
|
-
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1585
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
1586
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1587
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1588
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1589
|
-
let baseOptions;
|
|
1590
|
-
if (configuration) {
|
|
1591
|
-
baseOptions = configuration.baseOptions;
|
|
1592
|
-
}
|
|
1593
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1594
|
-
const localVarHeaderParameter = {};
|
|
1595
|
-
const localVarQueryParameter = {};
|
|
1596
|
-
// authentication bearerAuth required
|
|
1597
|
-
// http bearer authentication required
|
|
1598
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1599
|
-
if (page !== undefined) {
|
|
1600
|
-
localVarQueryParameter['page'] = page;
|
|
1601
|
-
}
|
|
1602
|
-
if (pageSize !== undefined) {
|
|
1603
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
1604
|
-
}
|
|
1605
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1606
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1607
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1608
|
-
return {
|
|
1609
|
-
url: toPathString(localVarUrlObj),
|
|
1610
|
-
options: localVarRequestOptions,
|
|
1611
|
-
};
|
|
1612
|
-
}),
|
|
1613
|
-
/**
|
|
1614
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1615
|
-
* @param {string} playerId
|
|
1616
|
-
* @param {*} [options] Override http request option.
|
|
1617
|
-
* @throws {RequiredError}
|
|
1618
|
-
*/
|
|
1619
|
-
getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1620
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1621
|
-
assertParamExists('getClubPlayerById', 'playerId', playerId);
|
|
1622
|
-
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
1623
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1624
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1625
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1626
|
-
let baseOptions;
|
|
1627
|
-
if (configuration) {
|
|
1628
|
-
baseOptions = configuration.baseOptions;
|
|
1629
|
-
}
|
|
1630
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1631
|
-
const localVarHeaderParameter = {};
|
|
1632
|
-
const localVarQueryParameter = {};
|
|
1633
|
-
// authentication bearerAuth required
|
|
1634
|
-
// http bearer authentication required
|
|
1635
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1636
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1637
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1638
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1639
|
-
return {
|
|
1640
|
-
url: toPathString(localVarUrlObj),
|
|
1641
|
-
options: localVarRequestOptions,
|
|
1642
|
-
};
|
|
1643
|
-
}),
|
|
1644
|
-
/**
|
|
1645
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
1646
|
-
* @param {string} playerId
|
|
1647
|
-
* @param {*} [options] Override http request option.
|
|
1648
|
-
* @throws {RequiredError}
|
|
1649
|
-
*/
|
|
1650
|
-
getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1651
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
1652
|
-
assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId);
|
|
1653
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
1654
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1655
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1656
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1657
|
-
let baseOptions;
|
|
1658
|
-
if (configuration) {
|
|
1659
|
-
baseOptions = configuration.baseOptions;
|
|
1660
|
-
}
|
|
1661
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1662
|
-
const localVarHeaderParameter = {};
|
|
1663
|
-
const localVarQueryParameter = {};
|
|
1664
|
-
// authentication bearerAuth required
|
|
1665
|
-
// http bearer authentication required
|
|
1666
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1667
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1668
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1669
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1670
|
-
return {
|
|
1671
|
-
url: toPathString(localVarUrlObj),
|
|
1672
|
-
options: localVarRequestOptions,
|
|
1673
|
-
};
|
|
1674
|
-
}),
|
|
1675
1574
|
/**
|
|
1676
1575
|
* Récupère la liste des joueurs du club
|
|
1677
1576
|
* @param {*} [options] Override http request option.
|
|
@@ -1971,53 +1870,6 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
1971
1870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1972
1871
|
});
|
|
1973
1872
|
},
|
|
1974
|
-
/**
|
|
1975
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1976
|
-
* @param {string} playerId
|
|
1977
|
-
* @param {number} [page]
|
|
1978
|
-
* @param {number} [pageSize]
|
|
1979
|
-
* @param {*} [options] Override http request option.
|
|
1980
|
-
* @throws {RequiredError}
|
|
1981
|
-
*/
|
|
1982
|
-
getClubPlayerBookingsById(playerId, page, pageSize, options) {
|
|
1983
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1984
|
-
var _a, _b, _c;
|
|
1985
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
|
|
1986
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1987
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1988
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1989
|
-
});
|
|
1990
|
-
},
|
|
1991
|
-
/**
|
|
1992
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1993
|
-
* @param {string} playerId
|
|
1994
|
-
* @param {*} [options] Override http request option.
|
|
1995
|
-
* @throws {RequiredError}
|
|
1996
|
-
*/
|
|
1997
|
-
getClubPlayerById(playerId, options) {
|
|
1998
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1999
|
-
var _a, _b, _c;
|
|
2000
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerById(playerId, options);
|
|
2001
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2002
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2003
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2004
|
-
});
|
|
2005
|
-
},
|
|
2006
|
-
/**
|
|
2007
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2008
|
-
* @param {string} playerId
|
|
2009
|
-
* @param {*} [options] Override http request option.
|
|
2010
|
-
* @throws {RequiredError}
|
|
2011
|
-
*/
|
|
2012
|
-
getClubPlayerStatisticsById(playerId, options) {
|
|
2013
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2014
|
-
var _a, _b, _c;
|
|
2015
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
|
|
2016
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2017
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2018
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2019
|
-
});
|
|
2020
|
-
},
|
|
2021
1873
|
/**
|
|
2022
1874
|
* Récupère la liste des joueurs du club
|
|
2023
1875
|
* @param {*} [options] Override http request option.
|
|
@@ -2168,33 +2020,6 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2168
2020
|
getAnalyticsBySport(requestParameters, options) {
|
|
2169
2021
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
2170
2022
|
},
|
|
2171
|
-
/**
|
|
2172
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2173
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2174
|
-
* @param {*} [options] Override http request option.
|
|
2175
|
-
* @throws {RequiredError}
|
|
2176
|
-
*/
|
|
2177
|
-
getClubPlayerBookingsById(requestParameters, options) {
|
|
2178
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2179
|
-
},
|
|
2180
|
-
/**
|
|
2181
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2182
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2183
|
-
* @param {*} [options] Override http request option.
|
|
2184
|
-
* @throws {RequiredError}
|
|
2185
|
-
*/
|
|
2186
|
-
getClubPlayerById(requestParameters, options) {
|
|
2187
|
-
return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2188
|
-
},
|
|
2189
|
-
/**
|
|
2190
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2191
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2192
|
-
* @param {*} [options] Override http request option.
|
|
2193
|
-
* @throws {RequiredError}
|
|
2194
|
-
*/
|
|
2195
|
-
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2196
|
-
return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2197
|
-
},
|
|
2198
2023
|
/**
|
|
2199
2024
|
* Récupère la liste des joueurs du club
|
|
2200
2025
|
* @param {*} [options] Override http request option.
|
|
@@ -2290,36 +2115,6 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2290
2115
|
getAnalyticsBySport(requestParameters, options) {
|
|
2291
2116
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
2292
2117
|
}
|
|
2293
|
-
/**
|
|
2294
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2295
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2296
|
-
* @param {*} [options] Override http request option.
|
|
2297
|
-
* @throws {RequiredError}
|
|
2298
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2299
|
-
*/
|
|
2300
|
-
getClubPlayerBookingsById(requestParameters, options) {
|
|
2301
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2302
|
-
}
|
|
2303
|
-
/**
|
|
2304
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2305
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2306
|
-
* @param {*} [options] Override http request option.
|
|
2307
|
-
* @throws {RequiredError}
|
|
2308
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2309
|
-
*/
|
|
2310
|
-
getClubPlayerById(requestParameters, options) {
|
|
2311
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2312
|
-
}
|
|
2313
|
-
/**
|
|
2314
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2315
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2316
|
-
* @param {*} [options] Override http request option.
|
|
2317
|
-
* @throws {RequiredError}
|
|
2318
|
-
* @memberof ClubAnalyticsStaffApi
|
|
2319
|
-
*/
|
|
2320
|
-
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2321
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2322
|
-
}
|
|
2323
2118
|
/**
|
|
2324
2119
|
* Récupère la liste des joueurs du club
|
|
2325
2120
|
* @param {*} [options] Override http request option.
|
|
@@ -2826,382 +2621,93 @@ export const ClubRolesStaffApiFactory = function (configuration, basePath, axios
|
|
|
2826
2621
|
* @export
|
|
2827
2622
|
* @class ClubRolesStaffApi
|
|
2828
2623
|
* @extends {BaseAPI}
|
|
2829
|
-
*/
|
|
2830
|
-
export class ClubRolesStaffApi extends BaseAPI {
|
|
2831
|
-
/**
|
|
2832
|
-
* Récupère la liste des rôles d\'un club
|
|
2833
|
-
* @param {*} [options] Override http request option.
|
|
2834
|
-
* @throws {RequiredError}
|
|
2835
|
-
* @memberof ClubRolesStaffApi
|
|
2836
|
-
*/
|
|
2837
|
-
getAllClubRoles(options) {
|
|
2838
|
-
return ClubRolesStaffApiFp(this.configuration).getAllClubRoles(options).then((request) => request(this.axios, this.basePath));
|
|
2839
|
-
}
|
|
2840
|
-
/**
|
|
2841
|
-
* Récupère un rôle de club par ID
|
|
2842
|
-
* @param {ClubRolesStaffApiGetClubRoleByIdRequest} requestParameters Request parameters.
|
|
2843
|
-
* @param {*} [options] Override http request option.
|
|
2844
|
-
* @throws {RequiredError}
|
|
2845
|
-
* @memberof ClubRolesStaffApi
|
|
2846
|
-
*/
|
|
2847
|
-
getClubRoleById(requestParameters, options) {
|
|
2848
|
-
return ClubRolesStaffApiFp(this.configuration).getClubRoleById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2849
|
-
}
|
|
2850
|
-
/**
|
|
2851
|
-
*
|
|
2852
|
-
* @param {*} [options] Override http request option.
|
|
2853
|
-
* @throws {RequiredError}
|
|
2854
|
-
* @memberof ClubRolesStaffApi
|
|
2855
|
-
*/
|
|
2856
|
-
getUserRolesInClubs(options) {
|
|
2857
|
-
return ClubRolesStaffApiFp(this.configuration).getUserRolesInClubs(options).then((request) => request(this.axios, this.basePath));
|
|
2858
|
-
}
|
|
2859
|
-
}
|
|
2860
|
-
/**
|
|
2861
|
-
* ClubSettingsManagerApi - axios parameter creator
|
|
2862
|
-
* @export
|
|
2863
|
-
*/
|
|
2864
|
-
export const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
|
|
2865
|
-
return {
|
|
2866
|
-
/**
|
|
2867
|
-
*
|
|
2868
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
2869
|
-
* @param {*} [options] Override http request option.
|
|
2870
|
-
* @throws {RequiredError}
|
|
2871
|
-
*/
|
|
2872
|
-
updateClubGeneralSettings: (updateClubGeneralSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubGeneralSettingsRequest_1, ...args_1], void 0, function* (updateClubGeneralSettingsRequest, options = {}) {
|
|
2873
|
-
// verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
|
|
2874
|
-
assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest);
|
|
2875
|
-
const localVarPath = `/api/club-settings/settings/general`;
|
|
2876
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2877
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2878
|
-
let baseOptions;
|
|
2879
|
-
if (configuration) {
|
|
2880
|
-
baseOptions = configuration.baseOptions;
|
|
2881
|
-
}
|
|
2882
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2883
|
-
const localVarHeaderParameter = {};
|
|
2884
|
-
const localVarQueryParameter = {};
|
|
2885
|
-
// authentication bearerAuth required
|
|
2886
|
-
// http bearer authentication required
|
|
2887
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2888
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2889
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2890
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2891
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2892
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration);
|
|
2893
|
-
return {
|
|
2894
|
-
url: toPathString(localVarUrlObj),
|
|
2895
|
-
options: localVarRequestOptions,
|
|
2896
|
-
};
|
|
2897
|
-
}),
|
|
2898
|
-
/**
|
|
2899
|
-
*
|
|
2900
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
2901
|
-
* @param {*} [options] Override http request option.
|
|
2902
|
-
* @throws {RequiredError}
|
|
2903
|
-
*/
|
|
2904
|
-
updateHoursSettings: (updateClubHoursSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubHoursSettingsRequest_1, ...args_1], void 0, function* (updateClubHoursSettingsRequest, options = {}) {
|
|
2905
|
-
// verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
|
|
2906
|
-
assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest);
|
|
2907
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
2908
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2909
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2910
|
-
let baseOptions;
|
|
2911
|
-
if (configuration) {
|
|
2912
|
-
baseOptions = configuration.baseOptions;
|
|
2913
|
-
}
|
|
2914
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2915
|
-
const localVarHeaderParameter = {};
|
|
2916
|
-
const localVarQueryParameter = {};
|
|
2917
|
-
// authentication bearerAuth required
|
|
2918
|
-
// http bearer authentication required
|
|
2919
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2920
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2921
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2922
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2923
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2924
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration);
|
|
2925
|
-
return {
|
|
2926
|
-
url: toPathString(localVarUrlObj),
|
|
2927
|
-
options: localVarRequestOptions,
|
|
2928
|
-
};
|
|
2929
|
-
}),
|
|
2930
|
-
/**
|
|
2931
|
-
*
|
|
2932
|
-
* @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
|
|
2933
|
-
* @param {*} [options] Override http request option.
|
|
2934
|
-
* @throws {RequiredError}
|
|
2935
|
-
*/
|
|
2936
|
-
updatePresentationSettings: (clubPresentationSettingsResponse_1, ...args_1) => __awaiter(this, [clubPresentationSettingsResponse_1, ...args_1], void 0, function* (clubPresentationSettingsResponse, options = {}) {
|
|
2937
|
-
// verify required parameter 'clubPresentationSettingsResponse' is not null or undefined
|
|
2938
|
-
assertParamExists('updatePresentationSettings', 'clubPresentationSettingsResponse', clubPresentationSettingsResponse);
|
|
2939
|
-
const localVarPath = `/api/club-settings/presentation`;
|
|
2940
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2941
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2942
|
-
let baseOptions;
|
|
2943
|
-
if (configuration) {
|
|
2944
|
-
baseOptions = configuration.baseOptions;
|
|
2945
|
-
}
|
|
2946
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2947
|
-
const localVarHeaderParameter = {};
|
|
2948
|
-
const localVarQueryParameter = {};
|
|
2949
|
-
// authentication bearerAuth required
|
|
2950
|
-
// http bearer authentication required
|
|
2951
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2952
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2953
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2954
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2955
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2956
|
-
localVarRequestOptions.data = serializeDataIfNeeded(clubPresentationSettingsResponse, localVarRequestOptions, configuration);
|
|
2957
|
-
return {
|
|
2958
|
-
url: toPathString(localVarUrlObj),
|
|
2959
|
-
options: localVarRequestOptions,
|
|
2960
|
-
};
|
|
2961
|
-
}),
|
|
2962
|
-
/**
|
|
2963
|
-
*
|
|
2964
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
2965
|
-
* @param {*} [options] Override http request option.
|
|
2966
|
-
* @throws {RequiredError}
|
|
2967
|
-
*/
|
|
2968
|
-
updateReservationSettings: (updateClubReservationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubReservationSettingsRequest_1, ...args_1], void 0, function* (updateClubReservationSettingsRequest, options = {}) {
|
|
2969
|
-
// verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
|
|
2970
|
-
assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest);
|
|
2971
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
2972
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2973
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2974
|
-
let baseOptions;
|
|
2975
|
-
if (configuration) {
|
|
2976
|
-
baseOptions = configuration.baseOptions;
|
|
2977
|
-
}
|
|
2978
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2979
|
-
const localVarHeaderParameter = {};
|
|
2980
|
-
const localVarQueryParameter = {};
|
|
2981
|
-
// authentication bearerAuth required
|
|
2982
|
-
// http bearer authentication required
|
|
2983
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2984
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2985
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2986
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2987
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2988
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration);
|
|
2989
|
-
return {
|
|
2990
|
-
url: toPathString(localVarUrlObj),
|
|
2991
|
-
options: localVarRequestOptions,
|
|
2992
|
-
};
|
|
2993
|
-
}),
|
|
2994
|
-
};
|
|
2995
|
-
};
|
|
2996
|
-
/**
|
|
2997
|
-
* ClubSettingsManagerApi - functional programming interface
|
|
2998
|
-
* @export
|
|
2999
|
-
*/
|
|
3000
|
-
export const ClubSettingsManagerApiFp = function (configuration) {
|
|
3001
|
-
const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration);
|
|
3002
|
-
return {
|
|
3003
|
-
/**
|
|
3004
|
-
*
|
|
3005
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
3006
|
-
* @param {*} [options] Override http request option.
|
|
3007
|
-
* @throws {RequiredError}
|
|
3008
|
-
*/
|
|
3009
|
-
updateClubGeneralSettings(updateClubGeneralSettingsRequest, options) {
|
|
3010
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3011
|
-
var _a, _b, _c;
|
|
3012
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
|
|
3013
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3014
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateClubGeneralSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3015
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3016
|
-
});
|
|
3017
|
-
},
|
|
3018
|
-
/**
|
|
3019
|
-
*
|
|
3020
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
3021
|
-
* @param {*} [options] Override http request option.
|
|
3022
|
-
* @throws {RequiredError}
|
|
3023
|
-
*/
|
|
3024
|
-
updateHoursSettings(updateClubHoursSettingsRequest, options) {
|
|
3025
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3026
|
-
var _a, _b, _c;
|
|
3027
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
|
|
3028
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3029
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3030
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3031
|
-
});
|
|
3032
|
-
},
|
|
3033
|
-
/**
|
|
3034
|
-
*
|
|
3035
|
-
* @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
|
|
3036
|
-
* @param {*} [options] Override http request option.
|
|
3037
|
-
* @throws {RequiredError}
|
|
3038
|
-
*/
|
|
3039
|
-
updatePresentationSettings(clubPresentationSettingsResponse, options) {
|
|
3040
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3041
|
-
var _a, _b, _c;
|
|
3042
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePresentationSettings(clubPresentationSettingsResponse, options);
|
|
3043
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3044
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updatePresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3045
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3046
|
-
});
|
|
3047
|
-
},
|
|
3048
|
-
/**
|
|
3049
|
-
*
|
|
3050
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
3051
|
-
* @param {*} [options] Override http request option.
|
|
3052
|
-
* @throws {RequiredError}
|
|
3053
|
-
*/
|
|
3054
|
-
updateReservationSettings(updateClubReservationSettingsRequest, options) {
|
|
3055
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3056
|
-
var _a, _b, _c;
|
|
3057
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
|
|
3058
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3059
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateReservationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3060
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3061
|
-
});
|
|
3062
|
-
},
|
|
3063
|
-
};
|
|
3064
|
-
};
|
|
3065
|
-
/**
|
|
3066
|
-
* ClubSettingsManagerApi - factory interface
|
|
3067
|
-
* @export
|
|
3068
|
-
*/
|
|
3069
|
-
export const ClubSettingsManagerApiFactory = function (configuration, basePath, axios) {
|
|
3070
|
-
const localVarFp = ClubSettingsManagerApiFp(configuration);
|
|
3071
|
-
return {
|
|
3072
|
-
/**
|
|
3073
|
-
*
|
|
3074
|
-
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
3075
|
-
* @param {*} [options] Override http request option.
|
|
3076
|
-
* @throws {RequiredError}
|
|
3077
|
-
*/
|
|
3078
|
-
updateClubGeneralSettings(requestParameters, options) {
|
|
3079
|
-
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3080
|
-
},
|
|
3081
|
-
/**
|
|
3082
|
-
*
|
|
3083
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
3084
|
-
* @param {*} [options] Override http request option.
|
|
3085
|
-
* @throws {RequiredError}
|
|
3086
|
-
*/
|
|
3087
|
-
updateHoursSettings(requestParameters, options) {
|
|
3088
|
-
return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3089
|
-
},
|
|
3090
|
-
/**
|
|
3091
|
-
*
|
|
3092
|
-
* @param {ClubSettingsManagerApiUpdatePresentationSettingsRequest} requestParameters Request parameters.
|
|
3093
|
-
* @param {*} [options] Override http request option.
|
|
3094
|
-
* @throws {RequiredError}
|
|
3095
|
-
*/
|
|
3096
|
-
updatePresentationSettings(requestParameters, options) {
|
|
3097
|
-
return localVarFp.updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, options).then((request) => request(axios, basePath));
|
|
3098
|
-
},
|
|
3099
|
-
/**
|
|
3100
|
-
*
|
|
3101
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3102
|
-
* @param {*} [options] Override http request option.
|
|
3103
|
-
* @throws {RequiredError}
|
|
3104
|
-
*/
|
|
3105
|
-
updateReservationSettings(requestParameters, options) {
|
|
3106
|
-
return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3107
|
-
},
|
|
3108
|
-
};
|
|
3109
|
-
};
|
|
3110
|
-
/**
|
|
3111
|
-
* ClubSettingsManagerApi - object-oriented interface
|
|
3112
|
-
* @export
|
|
3113
|
-
* @class ClubSettingsManagerApi
|
|
3114
|
-
* @extends {BaseAPI}
|
|
3115
|
-
*/
|
|
3116
|
-
export class ClubSettingsManagerApi extends BaseAPI {
|
|
3117
|
-
/**
|
|
3118
|
-
*
|
|
3119
|
-
* @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
3120
|
-
* @param {*} [options] Override http request option.
|
|
3121
|
-
* @throws {RequiredError}
|
|
3122
|
-
* @memberof ClubSettingsManagerApi
|
|
3123
|
-
*/
|
|
3124
|
-
updateClubGeneralSettings(requestParameters, options) {
|
|
3125
|
-
return ClubSettingsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3126
|
-
}
|
|
2624
|
+
*/
|
|
2625
|
+
export class ClubRolesStaffApi extends BaseAPI {
|
|
3127
2626
|
/**
|
|
3128
|
-
*
|
|
3129
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
2627
|
+
* Récupère la liste des rôles d\'un club
|
|
3130
2628
|
* @param {*} [options] Override http request option.
|
|
3131
2629
|
* @throws {RequiredError}
|
|
3132
|
-
* @memberof
|
|
2630
|
+
* @memberof ClubRolesStaffApi
|
|
3133
2631
|
*/
|
|
3134
|
-
|
|
3135
|
-
return
|
|
2632
|
+
getAllClubRoles(options) {
|
|
2633
|
+
return ClubRolesStaffApiFp(this.configuration).getAllClubRoles(options).then((request) => request(this.axios, this.basePath));
|
|
3136
2634
|
}
|
|
3137
2635
|
/**
|
|
3138
|
-
*
|
|
3139
|
-
* @param {
|
|
2636
|
+
* Récupère un rôle de club par ID
|
|
2637
|
+
* @param {ClubRolesStaffApiGetClubRoleByIdRequest} requestParameters Request parameters.
|
|
3140
2638
|
* @param {*} [options] Override http request option.
|
|
3141
2639
|
* @throws {RequiredError}
|
|
3142
|
-
* @memberof
|
|
2640
|
+
* @memberof ClubRolesStaffApi
|
|
3143
2641
|
*/
|
|
3144
|
-
|
|
3145
|
-
return
|
|
2642
|
+
getClubRoleById(requestParameters, options) {
|
|
2643
|
+
return ClubRolesStaffApiFp(this.configuration).getClubRoleById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3146
2644
|
}
|
|
3147
2645
|
/**
|
|
3148
2646
|
*
|
|
3149
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
3150
2647
|
* @param {*} [options] Override http request option.
|
|
3151
2648
|
* @throws {RequiredError}
|
|
3152
|
-
* @memberof
|
|
2649
|
+
* @memberof ClubRolesStaffApi
|
|
3153
2650
|
*/
|
|
3154
|
-
|
|
3155
|
-
return
|
|
2651
|
+
getUserRolesInClubs(options) {
|
|
2652
|
+
return ClubRolesStaffApiFp(this.configuration).getUserRolesInClubs(options).then((request) => request(this.axios, this.basePath));
|
|
3156
2653
|
}
|
|
3157
2654
|
}
|
|
3158
2655
|
/**
|
|
3159
|
-
*
|
|
2656
|
+
* ClubSettingsManagerApi - axios parameter creator
|
|
3160
2657
|
* @export
|
|
3161
2658
|
*/
|
|
3162
|
-
export const
|
|
2659
|
+
export const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
|
|
3163
2660
|
return {
|
|
3164
2661
|
/**
|
|
3165
|
-
*
|
|
2662
|
+
* Crée les paramètres d\'un club
|
|
2663
|
+
* @param {string} clubId
|
|
2664
|
+
* @param {CreateClubSettingsRequest} createClubSettingsRequest
|
|
3166
2665
|
* @param {*} [options] Override http request option.
|
|
3167
2666
|
* @throws {RequiredError}
|
|
3168
2667
|
*/
|
|
3169
|
-
|
|
3170
|
-
|
|
2668
|
+
createClubSettings: (clubId_1, createClubSettingsRequest_1, ...args_1) => __awaiter(this, [clubId_1, createClubSettingsRequest_1, ...args_1], void 0, function* (clubId, createClubSettingsRequest, options = {}) {
|
|
2669
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
2670
|
+
assertParamExists('createClubSettings', 'clubId', clubId);
|
|
2671
|
+
// verify required parameter 'createClubSettingsRequest' is not null or undefined
|
|
2672
|
+
assertParamExists('createClubSettings', 'createClubSettingsRequest', createClubSettingsRequest);
|
|
2673
|
+
const localVarPath = `/api/club-settings/{clubId}`
|
|
2674
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
3171
2675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3172
2676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3173
2677
|
let baseOptions;
|
|
3174
2678
|
if (configuration) {
|
|
3175
2679
|
baseOptions = configuration.baseOptions;
|
|
3176
2680
|
}
|
|
3177
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
2681
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3178
2682
|
const localVarHeaderParameter = {};
|
|
3179
2683
|
const localVarQueryParameter = {};
|
|
3180
2684
|
// authentication bearerAuth required
|
|
3181
2685
|
// http bearer authentication required
|
|
3182
2686
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2687
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3183
2688
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3184
2689
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3185
2690
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2691
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClubSettingsRequest, localVarRequestOptions, configuration);
|
|
3186
2692
|
return {
|
|
3187
2693
|
url: toPathString(localVarUrlObj),
|
|
3188
2694
|
options: localVarRequestOptions,
|
|
3189
2695
|
};
|
|
3190
2696
|
}),
|
|
3191
2697
|
/**
|
|
3192
|
-
*
|
|
2698
|
+
* Supprime les paramètres d\'un club
|
|
3193
2699
|
* @param {*} [options] Override http request option.
|
|
3194
2700
|
* @throws {RequiredError}
|
|
3195
2701
|
*/
|
|
3196
|
-
|
|
3197
|
-
const localVarPath = `/api/club-settings
|
|
2702
|
+
deleteClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2703
|
+
const localVarPath = `/api/club-settings`;
|
|
3198
2704
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3199
2705
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3200
2706
|
let baseOptions;
|
|
3201
2707
|
if (configuration) {
|
|
3202
2708
|
baseOptions = configuration.baseOptions;
|
|
3203
2709
|
}
|
|
3204
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
2710
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3205
2711
|
const localVarHeaderParameter = {};
|
|
3206
2712
|
const localVarQueryParameter = {};
|
|
3207
2713
|
// authentication bearerAuth required
|
|
@@ -3216,12 +2722,12 @@ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
3216
2722
|
};
|
|
3217
2723
|
}),
|
|
3218
2724
|
/**
|
|
3219
|
-
*
|
|
2725
|
+
* Récupère les paramètres d\'un club
|
|
3220
2726
|
* @param {*} [options] Override http request option.
|
|
3221
2727
|
* @throws {RequiredError}
|
|
3222
2728
|
*/
|
|
3223
|
-
|
|
3224
|
-
const localVarPath = `/api/club-settings
|
|
2729
|
+
getClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2730
|
+
const localVarPath = `/api/club-settings`;
|
|
3225
2731
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3226
2732
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3227
2733
|
let baseOptions;
|
|
@@ -3243,27 +2749,32 @@ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
3243
2749
|
};
|
|
3244
2750
|
}),
|
|
3245
2751
|
/**
|
|
3246
|
-
*
|
|
2752
|
+
* Met à jour les paramètres d\'un club
|
|
2753
|
+
* @param {UpdateClubSettingsRequest} updateClubSettingsRequest
|
|
3247
2754
|
* @param {*} [options] Override http request option.
|
|
3248
2755
|
* @throws {RequiredError}
|
|
3249
2756
|
*/
|
|
3250
|
-
|
|
3251
|
-
|
|
2757
|
+
updateClubSettings: (updateClubSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubSettingsRequest_1, ...args_1], void 0, function* (updateClubSettingsRequest, options = {}) {
|
|
2758
|
+
// verify required parameter 'updateClubSettingsRequest' is not null or undefined
|
|
2759
|
+
assertParamExists('updateClubSettings', 'updateClubSettingsRequest', updateClubSettingsRequest);
|
|
2760
|
+
const localVarPath = `/api/club-settings`;
|
|
3252
2761
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3253
2762
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3254
2763
|
let baseOptions;
|
|
3255
2764
|
if (configuration) {
|
|
3256
2765
|
baseOptions = configuration.baseOptions;
|
|
3257
2766
|
}
|
|
3258
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
2767
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
3259
2768
|
const localVarHeaderParameter = {};
|
|
3260
2769
|
const localVarQueryParameter = {};
|
|
3261
2770
|
// authentication bearerAuth required
|
|
3262
2771
|
// http bearer authentication required
|
|
3263
2772
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2773
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3264
2774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3265
2775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3266
2776
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2777
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubSettingsRequest, localVarRequestOptions, configuration);
|
|
3267
2778
|
return {
|
|
3268
2779
|
url: toPathString(localVarUrlObj),
|
|
3269
2780
|
options: localVarRequestOptions,
|
|
@@ -3272,153 +2783,160 @@ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
3272
2783
|
};
|
|
3273
2784
|
};
|
|
3274
2785
|
/**
|
|
3275
|
-
*
|
|
2786
|
+
* ClubSettingsManagerApi - functional programming interface
|
|
3276
2787
|
* @export
|
|
3277
2788
|
*/
|
|
3278
|
-
export const
|
|
3279
|
-
const localVarAxiosParamCreator =
|
|
2789
|
+
export const ClubSettingsManagerApiFp = function (configuration) {
|
|
2790
|
+
const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration);
|
|
3280
2791
|
return {
|
|
3281
2792
|
/**
|
|
3282
|
-
*
|
|
2793
|
+
* Crée les paramètres d\'un club
|
|
2794
|
+
* @param {string} clubId
|
|
2795
|
+
* @param {CreateClubSettingsRequest} createClubSettingsRequest
|
|
3283
2796
|
* @param {*} [options] Override http request option.
|
|
3284
2797
|
* @throws {RequiredError}
|
|
3285
2798
|
*/
|
|
3286
|
-
|
|
2799
|
+
createClubSettings(clubId, createClubSettingsRequest, options) {
|
|
3287
2800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3288
2801
|
var _a, _b, _c;
|
|
3289
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2802
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClubSettings(clubId, createClubSettingsRequest, options);
|
|
3290
2803
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3291
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
2804
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.createClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3292
2805
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3293
2806
|
});
|
|
3294
2807
|
},
|
|
3295
2808
|
/**
|
|
3296
|
-
*
|
|
2809
|
+
* Supprime les paramètres d\'un club
|
|
3297
2810
|
* @param {*} [options] Override http request option.
|
|
3298
2811
|
* @throws {RequiredError}
|
|
3299
2812
|
*/
|
|
3300
|
-
|
|
2813
|
+
deleteClubSettings(options) {
|
|
3301
2814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3302
2815
|
var _a, _b, _c;
|
|
3303
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2816
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClubSettings(options);
|
|
3304
2817
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3305
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
2818
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.deleteClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3306
2819
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3307
2820
|
});
|
|
3308
2821
|
},
|
|
3309
2822
|
/**
|
|
3310
|
-
*
|
|
2823
|
+
* Récupère les paramètres d\'un club
|
|
3311
2824
|
* @param {*} [options] Override http request option.
|
|
3312
2825
|
* @throws {RequiredError}
|
|
3313
2826
|
*/
|
|
3314
|
-
|
|
2827
|
+
getClubSettings(options) {
|
|
3315
2828
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3316
2829
|
var _a, _b, _c;
|
|
3317
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2830
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(options);
|
|
3318
2831
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3319
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
2832
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.getClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3320
2833
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3321
2834
|
});
|
|
3322
2835
|
},
|
|
3323
2836
|
/**
|
|
3324
|
-
*
|
|
2837
|
+
* Met à jour les paramètres d\'un club
|
|
2838
|
+
* @param {UpdateClubSettingsRequest} updateClubSettingsRequest
|
|
3325
2839
|
* @param {*} [options] Override http request option.
|
|
3326
2840
|
* @throws {RequiredError}
|
|
3327
2841
|
*/
|
|
3328
|
-
|
|
2842
|
+
updateClubSettings(updateClubSettingsRequest, options) {
|
|
3329
2843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3330
2844
|
var _a, _b, _c;
|
|
3331
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2845
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubSettings(updateClubSettingsRequest, options);
|
|
3332
2846
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3333
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
2847
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3334
2848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3335
2849
|
});
|
|
3336
2850
|
},
|
|
3337
2851
|
};
|
|
3338
2852
|
};
|
|
3339
2853
|
/**
|
|
3340
|
-
*
|
|
2854
|
+
* ClubSettingsManagerApi - factory interface
|
|
3341
2855
|
* @export
|
|
3342
2856
|
*/
|
|
3343
|
-
export const
|
|
3344
|
-
const localVarFp =
|
|
2857
|
+
export const ClubSettingsManagerApiFactory = function (configuration, basePath, axios) {
|
|
2858
|
+
const localVarFp = ClubSettingsManagerApiFp(configuration);
|
|
3345
2859
|
return {
|
|
3346
2860
|
/**
|
|
3347
|
-
*
|
|
2861
|
+
* Crée les paramètres d\'un club
|
|
2862
|
+
* @param {ClubSettingsManagerApiCreateClubSettingsRequest} requestParameters Request parameters.
|
|
3348
2863
|
* @param {*} [options] Override http request option.
|
|
3349
2864
|
* @throws {RequiredError}
|
|
3350
2865
|
*/
|
|
3351
|
-
|
|
3352
|
-
return localVarFp.
|
|
2866
|
+
createClubSettings(requestParameters, options) {
|
|
2867
|
+
return localVarFp.createClubSettings(requestParameters.clubId, requestParameters.createClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3353
2868
|
},
|
|
3354
2869
|
/**
|
|
3355
|
-
*
|
|
2870
|
+
* Supprime les paramètres d\'un club
|
|
3356
2871
|
* @param {*} [options] Override http request option.
|
|
3357
2872
|
* @throws {RequiredError}
|
|
3358
2873
|
*/
|
|
3359
|
-
|
|
3360
|
-
return localVarFp.
|
|
2874
|
+
deleteClubSettings(options) {
|
|
2875
|
+
return localVarFp.deleteClubSettings(options).then((request) => request(axios, basePath));
|
|
3361
2876
|
},
|
|
3362
2877
|
/**
|
|
3363
|
-
*
|
|
2878
|
+
* Récupère les paramètres d\'un club
|
|
3364
2879
|
* @param {*} [options] Override http request option.
|
|
3365
2880
|
* @throws {RequiredError}
|
|
3366
2881
|
*/
|
|
3367
|
-
|
|
3368
|
-
return localVarFp.
|
|
2882
|
+
getClubSettings(options) {
|
|
2883
|
+
return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
|
|
3369
2884
|
},
|
|
3370
2885
|
/**
|
|
3371
|
-
*
|
|
2886
|
+
* Met à jour les paramètres d\'un club
|
|
2887
|
+
* @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
|
|
3372
2888
|
* @param {*} [options] Override http request option.
|
|
3373
2889
|
* @throws {RequiredError}
|
|
3374
2890
|
*/
|
|
3375
|
-
|
|
3376
|
-
return localVarFp.
|
|
2891
|
+
updateClubSettings(requestParameters, options) {
|
|
2892
|
+
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
3377
2893
|
},
|
|
3378
2894
|
};
|
|
3379
2895
|
};
|
|
3380
2896
|
/**
|
|
3381
|
-
*
|
|
2897
|
+
* ClubSettingsManagerApi - object-oriented interface
|
|
3382
2898
|
* @export
|
|
3383
|
-
* @class
|
|
2899
|
+
* @class ClubSettingsManagerApi
|
|
3384
2900
|
* @extends {BaseAPI}
|
|
3385
2901
|
*/
|
|
3386
|
-
export class
|
|
2902
|
+
export class ClubSettingsManagerApi extends BaseAPI {
|
|
3387
2903
|
/**
|
|
3388
|
-
*
|
|
2904
|
+
* Crée les paramètres d\'un club
|
|
2905
|
+
* @param {ClubSettingsManagerApiCreateClubSettingsRequest} requestParameters Request parameters.
|
|
3389
2906
|
* @param {*} [options] Override http request option.
|
|
3390
2907
|
* @throws {RequiredError}
|
|
3391
|
-
* @memberof
|
|
2908
|
+
* @memberof ClubSettingsManagerApi
|
|
3392
2909
|
*/
|
|
3393
|
-
|
|
3394
|
-
return
|
|
2910
|
+
createClubSettings(requestParameters, options) {
|
|
2911
|
+
return ClubSettingsManagerApiFp(this.configuration).createClubSettings(requestParameters.clubId, requestParameters.createClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3395
2912
|
}
|
|
3396
2913
|
/**
|
|
3397
|
-
*
|
|
2914
|
+
* Supprime les paramètres d\'un club
|
|
3398
2915
|
* @param {*} [options] Override http request option.
|
|
3399
2916
|
* @throws {RequiredError}
|
|
3400
|
-
* @memberof
|
|
2917
|
+
* @memberof ClubSettingsManagerApi
|
|
3401
2918
|
*/
|
|
3402
|
-
|
|
3403
|
-
return
|
|
2919
|
+
deleteClubSettings(options) {
|
|
2920
|
+
return ClubSettingsManagerApiFp(this.configuration).deleteClubSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3404
2921
|
}
|
|
3405
2922
|
/**
|
|
3406
|
-
*
|
|
2923
|
+
* Récupère les paramètres d\'un club
|
|
3407
2924
|
* @param {*} [options] Override http request option.
|
|
3408
2925
|
* @throws {RequiredError}
|
|
3409
|
-
* @memberof
|
|
2926
|
+
* @memberof ClubSettingsManagerApi
|
|
3410
2927
|
*/
|
|
3411
|
-
|
|
3412
|
-
return
|
|
2928
|
+
getClubSettings(options) {
|
|
2929
|
+
return ClubSettingsManagerApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
|
|
3413
2930
|
}
|
|
3414
2931
|
/**
|
|
3415
|
-
*
|
|
2932
|
+
* Met à jour les paramètres d\'un club
|
|
2933
|
+
* @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
|
|
3416
2934
|
* @param {*} [options] Override http request option.
|
|
3417
2935
|
* @throws {RequiredError}
|
|
3418
|
-
* @memberof
|
|
2936
|
+
* @memberof ClubSettingsManagerApi
|
|
3419
2937
|
*/
|
|
3420
|
-
|
|
3421
|
-
return
|
|
2938
|
+
updateClubSettings(requestParameters, options) {
|
|
2939
|
+
return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3422
2940
|
}
|
|
3423
2941
|
}
|
|
3424
2942
|
/**
|
|
@@ -4232,6 +3750,42 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4232
3750
|
options: localVarRequestOptions,
|
|
4233
3751
|
};
|
|
4234
3752
|
}),
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @param {string} userId
|
|
3756
|
+
* @param {AddCreditsToCustomerRequest} addCreditsToCustomerRequest
|
|
3757
|
+
* @param {*} [options] Override http request option.
|
|
3758
|
+
* @throws {RequiredError}
|
|
3759
|
+
*/
|
|
3760
|
+
addCreditsToCustomer: (userId_1, addCreditsToCustomerRequest_1, ...args_1) => __awaiter(this, [userId_1, addCreditsToCustomerRequest_1, ...args_1], void 0, function* (userId, addCreditsToCustomerRequest, options = {}) {
|
|
3761
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3762
|
+
assertParamExists('addCreditsToCustomer', 'userId', userId);
|
|
3763
|
+
// verify required parameter 'addCreditsToCustomerRequest' is not null or undefined
|
|
3764
|
+
assertParamExists('addCreditsToCustomer', 'addCreditsToCustomerRequest', addCreditsToCustomerRequest);
|
|
3765
|
+
const localVarPath = `/api/clubs/customers/{userId}/credits`
|
|
3766
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
3767
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3769
|
+
let baseOptions;
|
|
3770
|
+
if (configuration) {
|
|
3771
|
+
baseOptions = configuration.baseOptions;
|
|
3772
|
+
}
|
|
3773
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3774
|
+
const localVarHeaderParameter = {};
|
|
3775
|
+
const localVarQueryParameter = {};
|
|
3776
|
+
// authentication bearerAuth required
|
|
3777
|
+
// http bearer authentication required
|
|
3778
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3779
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3782
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3783
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addCreditsToCustomerRequest, localVarRequestOptions, configuration);
|
|
3784
|
+
return {
|
|
3785
|
+
url: toPathString(localVarUrlObj),
|
|
3786
|
+
options: localVarRequestOptions,
|
|
3787
|
+
};
|
|
3788
|
+
}),
|
|
4235
3789
|
/**
|
|
4236
3790
|
*
|
|
4237
3791
|
* @param {string} priceId
|
|
@@ -4708,38 +4262,6 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
4708
4262
|
options: localVarRequestOptions,
|
|
4709
4263
|
};
|
|
4710
4264
|
}),
|
|
4711
|
-
/**
|
|
4712
|
-
*
|
|
4713
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
4714
|
-
* @param {*} [options] Override http request option.
|
|
4715
|
-
* @throws {RequiredError}
|
|
4716
|
-
*/
|
|
4717
|
-
updateClubPresentationSettings: (updateClubPresentationSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubPresentationSettingsRequest_1, ...args_1], void 0, function* (updateClubPresentationSettingsRequest, options = {}) {
|
|
4718
|
-
// verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
|
|
4719
|
-
assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest);
|
|
4720
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
4721
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4722
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4723
|
-
let baseOptions;
|
|
4724
|
-
if (configuration) {
|
|
4725
|
-
baseOptions = configuration.baseOptions;
|
|
4726
|
-
}
|
|
4727
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4728
|
-
const localVarHeaderParameter = {};
|
|
4729
|
-
const localVarQueryParameter = {};
|
|
4730
|
-
// authentication bearerAuth required
|
|
4731
|
-
// http bearer authentication required
|
|
4732
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4733
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4734
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4735
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4736
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4737
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration);
|
|
4738
|
-
return {
|
|
4739
|
-
url: toPathString(localVarUrlObj),
|
|
4740
|
-
options: localVarRequestOptions,
|
|
4741
|
-
};
|
|
4742
|
-
}),
|
|
4743
4265
|
/**
|
|
4744
4266
|
*
|
|
4745
4267
|
* @param {string} courtId
|
|
@@ -4836,6 +4358,22 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
4836
4358
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4837
4359
|
});
|
|
4838
4360
|
},
|
|
4361
|
+
/**
|
|
4362
|
+
*
|
|
4363
|
+
* @param {string} userId
|
|
4364
|
+
* @param {AddCreditsToCustomerRequest} addCreditsToCustomerRequest
|
|
4365
|
+
* @param {*} [options] Override http request option.
|
|
4366
|
+
* @throws {RequiredError}
|
|
4367
|
+
*/
|
|
4368
|
+
addCreditsToCustomer(userId, addCreditsToCustomerRequest, options) {
|
|
4369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4370
|
+
var _a, _b, _c;
|
|
4371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addCreditsToCustomer(userId, addCreditsToCustomerRequest, options);
|
|
4372
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4373
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.addCreditsToCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4374
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4375
|
+
});
|
|
4376
|
+
},
|
|
4839
4377
|
/**
|
|
4840
4378
|
*
|
|
4841
4379
|
* @param {string} priceId
|
|
@@ -5062,21 +4600,6 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
5062
4600
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5063
4601
|
});
|
|
5064
4602
|
},
|
|
5065
|
-
/**
|
|
5066
|
-
*
|
|
5067
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
5068
|
-
* @param {*} [options] Override http request option.
|
|
5069
|
-
* @throws {RequiredError}
|
|
5070
|
-
*/
|
|
5071
|
-
updateClubPresentationSettings(updateClubPresentationSettingsRequest, options) {
|
|
5072
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5073
|
-
var _a, _b, _c;
|
|
5074
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
|
|
5075
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5076
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5077
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5078
|
-
});
|
|
5079
|
-
},
|
|
5080
4603
|
/**
|
|
5081
4604
|
*
|
|
5082
4605
|
* @param {string} courtId
|
|
@@ -5127,6 +4650,15 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
5127
4650
|
addClubMember(requestParameters, options) {
|
|
5128
4651
|
return localVarFp.addClubMember(requestParameters.addClubMemberRequest, options).then((request) => request(axios, basePath));
|
|
5129
4652
|
},
|
|
4653
|
+
/**
|
|
4654
|
+
*
|
|
4655
|
+
* @param {ClubsManagerApiAddCreditsToCustomerRequest} requestParameters Request parameters.
|
|
4656
|
+
* @param {*} [options] Override http request option.
|
|
4657
|
+
* @throws {RequiredError}
|
|
4658
|
+
*/
|
|
4659
|
+
addCreditsToCustomer(requestParameters, options) {
|
|
4660
|
+
return localVarFp.addCreditsToCustomer(requestParameters.userId, requestParameters.addCreditsToCustomerRequest, options).then((request) => request(axios, basePath));
|
|
4661
|
+
},
|
|
5130
4662
|
/**
|
|
5131
4663
|
*
|
|
5132
4664
|
* @param {ClubsManagerApiArchivePriceForSubscriptionPlanRequest} requestParameters Request parameters.
|
|
@@ -5261,15 +4793,6 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
5261
4793
|
updateClubInfos(requestParameters, options) {
|
|
5262
4794
|
return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
5263
4795
|
},
|
|
5264
|
-
/**
|
|
5265
|
-
*
|
|
5266
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5267
|
-
* @param {*} [options] Override http request option.
|
|
5268
|
-
* @throws {RequiredError}
|
|
5269
|
-
*/
|
|
5270
|
-
updateClubPresentationSettings(requestParameters, options) {
|
|
5271
|
-
return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
5272
|
-
},
|
|
5273
4796
|
/**
|
|
5274
4797
|
*
|
|
5275
4798
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5307,6 +4830,16 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
5307
4830
|
addClubMember(requestParameters, options) {
|
|
5308
4831
|
return ClubsManagerApiFp(this.configuration).addClubMember(requestParameters.addClubMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5309
4832
|
}
|
|
4833
|
+
/**
|
|
4834
|
+
*
|
|
4835
|
+
* @param {ClubsManagerApiAddCreditsToCustomerRequest} requestParameters Request parameters.
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
* @memberof ClubsManagerApi
|
|
4839
|
+
*/
|
|
4840
|
+
addCreditsToCustomer(requestParameters, options) {
|
|
4841
|
+
return ClubsManagerApiFp(this.configuration).addCreditsToCustomer(requestParameters.userId, requestParameters.addCreditsToCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4842
|
+
}
|
|
5310
4843
|
/**
|
|
5311
4844
|
*
|
|
5312
4845
|
* @param {ClubsManagerApiArchivePriceForSubscriptionPlanRequest} requestParameters Request parameters.
|
|
@@ -5456,16 +4989,6 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
5456
4989
|
updateClubInfos(requestParameters, options) {
|
|
5457
4990
|
return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5458
4991
|
}
|
|
5459
|
-
/**
|
|
5460
|
-
*
|
|
5461
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
5462
|
-
* @param {*} [options] Override http request option.
|
|
5463
|
-
* @throws {RequiredError}
|
|
5464
|
-
* @memberof ClubsManagerApi
|
|
5465
|
-
*/
|
|
5466
|
-
updateClubPresentationSettings(requestParameters, options) {
|
|
5467
|
-
return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5468
|
-
}
|
|
5469
4992
|
/**
|
|
5470
4993
|
*
|
|
5471
4994
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -5574,33 +5097,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
5574
5097
|
options: localVarRequestOptions,
|
|
5575
5098
|
};
|
|
5576
5099
|
}),
|
|
5577
|
-
/**
|
|
5578
|
-
*
|
|
5579
|
-
* @param {*} [options] Override http request option.
|
|
5580
|
-
* @throws {RequiredError}
|
|
5581
|
-
*/
|
|
5582
|
-
getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
5583
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
5584
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5585
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5586
|
-
let baseOptions;
|
|
5587
|
-
if (configuration) {
|
|
5588
|
-
baseOptions = configuration.baseOptions;
|
|
5589
|
-
}
|
|
5590
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5591
|
-
const localVarHeaderParameter = {};
|
|
5592
|
-
const localVarQueryParameter = {};
|
|
5593
|
-
// authentication bearerAuth required
|
|
5594
|
-
// http bearer authentication required
|
|
5595
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5596
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5597
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5598
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5599
|
-
return {
|
|
5600
|
-
url: toPathString(localVarUrlObj),
|
|
5601
|
-
options: localVarRequestOptions,
|
|
5602
|
-
};
|
|
5603
|
-
}),
|
|
5604
5100
|
/**
|
|
5605
5101
|
* Récupère les rôles d\'un club
|
|
5606
5102
|
* @param {*} [options] Override http request option.
|
|
@@ -5764,20 +5260,6 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
5764
5260
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5765
5261
|
});
|
|
5766
5262
|
},
|
|
5767
|
-
/**
|
|
5768
|
-
*
|
|
5769
|
-
* @param {*} [options] Override http request option.
|
|
5770
|
-
* @throws {RequiredError}
|
|
5771
|
-
*/
|
|
5772
|
-
getClubPresentationSettings(options) {
|
|
5773
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5774
|
-
var _a, _b, _c;
|
|
5775
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPresentationSettings(options);
|
|
5776
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5777
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubPresentationSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5778
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5779
|
-
});
|
|
5780
|
-
},
|
|
5781
5263
|
/**
|
|
5782
5264
|
* Récupère les rôles d\'un club
|
|
5783
5265
|
* @param {*} [options] Override http request option.
|
|
@@ -5868,14 +5350,6 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
5868
5350
|
getClubMembers(options) {
|
|
5869
5351
|
return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
|
|
5870
5352
|
},
|
|
5871
|
-
/**
|
|
5872
|
-
*
|
|
5873
|
-
* @param {*} [options] Override http request option.
|
|
5874
|
-
* @throws {RequiredError}
|
|
5875
|
-
*/
|
|
5876
|
-
getClubPresentationSettings(options) {
|
|
5877
|
-
return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
|
|
5878
|
-
},
|
|
5879
5353
|
/**
|
|
5880
5354
|
* Récupère les rôles d\'un club
|
|
5881
5355
|
* @param {*} [options] Override http request option.
|
|
@@ -5945,15 +5419,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
5945
5419
|
getClubMembers(options) {
|
|
5946
5420
|
return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
|
|
5947
5421
|
}
|
|
5948
|
-
/**
|
|
5949
|
-
*
|
|
5950
|
-
* @param {*} [options] Override http request option.
|
|
5951
|
-
* @throws {RequiredError}
|
|
5952
|
-
* @memberof ClubsStaffApi
|
|
5953
|
-
*/
|
|
5954
|
-
getClubPresentationSettings(options) {
|
|
5955
|
-
return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
5956
|
-
}
|
|
5957
5422
|
/**
|
|
5958
5423
|
* Récupère les rôles d\'un club
|
|
5959
5424
|
* @param {*} [options] Override http request option.
|
|
@@ -8433,6 +7898,33 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8433
7898
|
options: localVarRequestOptions,
|
|
8434
7899
|
};
|
|
8435
7900
|
}),
|
|
7901
|
+
/**
|
|
7902
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
7903
|
+
* @param {*} [options] Override http request option.
|
|
7904
|
+
* @throws {RequiredError}
|
|
7905
|
+
*/
|
|
7906
|
+
getMyClubMemberships: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7907
|
+
const localVarPath = `/api/users/me/club-memberships`;
|
|
7908
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7909
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7910
|
+
let baseOptions;
|
|
7911
|
+
if (configuration) {
|
|
7912
|
+
baseOptions = configuration.baseOptions;
|
|
7913
|
+
}
|
|
7914
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7915
|
+
const localVarHeaderParameter = {};
|
|
7916
|
+
const localVarQueryParameter = {};
|
|
7917
|
+
// authentication bearerAuth required
|
|
7918
|
+
// http bearer authentication required
|
|
7919
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7922
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7923
|
+
return {
|
|
7924
|
+
url: toPathString(localVarUrlObj),
|
|
7925
|
+
options: localVarRequestOptions,
|
|
7926
|
+
};
|
|
7927
|
+
}),
|
|
8436
7928
|
/**
|
|
8437
7929
|
*
|
|
8438
7930
|
* @param {number} [radiusInKm]
|
|
@@ -9392,6 +8884,20 @@ export const UsersApiFp = function (configuration) {
|
|
|
9392
8884
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9393
8885
|
});
|
|
9394
8886
|
},
|
|
8887
|
+
/**
|
|
8888
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
8889
|
+
* @param {*} [options] Override http request option.
|
|
8890
|
+
* @throws {RequiredError}
|
|
8891
|
+
*/
|
|
8892
|
+
getMyClubMemberships(options) {
|
|
8893
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8894
|
+
var _a, _b, _c;
|
|
8895
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyClubMemberships(options);
|
|
8896
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8897
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.getMyClubMemberships']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8898
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8899
|
+
});
|
|
8900
|
+
},
|
|
9395
8901
|
/**
|
|
9396
8902
|
*
|
|
9397
8903
|
* @param {number} [radiusInKm]
|
|
@@ -9870,6 +9376,14 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9870
9376
|
getMe(options) {
|
|
9871
9377
|
return localVarFp.getMe(options).then((request) => request(axios, basePath));
|
|
9872
9378
|
},
|
|
9379
|
+
/**
|
|
9380
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
9381
|
+
* @param {*} [options] Override http request option.
|
|
9382
|
+
* @throws {RequiredError}
|
|
9383
|
+
*/
|
|
9384
|
+
getMyClubMemberships(options) {
|
|
9385
|
+
return localVarFp.getMyClubMemberships(options).then((request) => request(axios, basePath));
|
|
9386
|
+
},
|
|
9873
9387
|
/**
|
|
9874
9388
|
*
|
|
9875
9389
|
* @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
|
|
@@ -10197,6 +9711,15 @@ export class UsersApi extends BaseAPI {
|
|
|
10197
9711
|
getMe(options) {
|
|
10198
9712
|
return UsersApiFp(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
|
|
10199
9713
|
}
|
|
9714
|
+
/**
|
|
9715
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
9716
|
+
* @param {*} [options] Override http request option.
|
|
9717
|
+
* @throws {RequiredError}
|
|
9718
|
+
* @memberof UsersApi
|
|
9719
|
+
*/
|
|
9720
|
+
getMyClubMemberships(options) {
|
|
9721
|
+
return UsersApiFp(this.configuration).getMyClubMemberships(options).then((request) => request(this.axios, this.basePath));
|
|
9722
|
+
}
|
|
10200
9723
|
/**
|
|
10201
9724
|
*
|
|
10202
9725
|
* @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
|