@tennac-booking/sdk 1.0.23 → 1.0.24
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 +6 -2
- package/README.md +13 -7
- package/api.ts +647 -519
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +336 -232
- package/dist/api.js +345 -321
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +336 -232
- package/dist/esm/api.js +343 -315
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupResponse.md +24 -0
- package/docs/BlockSlotResponse.md +1 -1
- package/docs/ClubSettings.md +14 -8
- package/docs/{DeleteClubSettings200Response.md → LevelBySportsItem.md} +7 -5
- package/docs/ProfilePictureResponse.md +20 -0
- package/docs/StaffClubsApi.md +56 -0
- package/docs/UpdateLevelBySportsRequestBody.md +20 -0
- package/docs/UpdateProfilePictureRequestBody.md +20 -0
- package/docs/UserApi.md +0 -56
- package/docs/UserPaymentApi.md +55 -0
- package/docs/UserProfileApi.md +158 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ManagerClubSettingsApi.md +0 -172
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.24
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ManagerClubRolesApi = exports.ManagerClubRolesApiFactory = exports.ManagerClubRolesApiFp = exports.ManagerClubRolesApiAxiosParamCreator = exports.ManagerClubCourtsApi = exports.ManagerClubCourtsApiFactory = exports.ManagerClubCourtsApiFp = exports.ManagerClubCourtsApiAxiosParamCreator = exports.ManagerBookingsApi = exports.ManagerBookingsApiFactory = exports.ManagerBookingsApiFp = exports.ManagerBookingsApiAxiosParamCreator = exports.GetInvoicesStatusEnum = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.AdminClubsApi = exports.AdminClubsApiFactory = exports.AdminClubsApiFp = exports.AdminClubsApiAxiosParamCreator = exports.AdminClubSubscriptionsApi = exports.AdminClubSubscriptionsApiFactory = exports.AdminClubSubscriptionsApiFp = exports.AdminClubSubscriptionsApiAxiosParamCreator = exports.AdminClubSlotsApi = exports.AdminClubSlotsApiFactory = exports.AdminClubSlotsApiFp = exports.AdminClubSlotsApiAxiosParamCreator = exports.GetInvoicesAdminStatusEnum = exports.AdminClubAnalyticsApi = exports.AdminClubAnalyticsApiFactory = exports.AdminClubAnalyticsApiFp = exports.AdminClubAnalyticsApiAxiosParamCreator = exports.SubscriptionResponseStatusEnum = exports.StripeStatus = exports.PaymentMethod = exports.NoShowFeeResponseCaptureResultsInnerStatusEnum = exports.NoShowFeeResponseCaptureResultsInnerTypeEnum = exports.ManagerCancelBookingResponseBookingStatusEnum = exports.InvoicesResponseInvoicesInnerStatusEnum = exports.CreatePriceRequestIntervalEnum = exports.CourtStatus = exports.CourtResponseSurfaceEnum = exports.CourtResponseStatusEnum = exports.CancelBookingResponseBookingStatusEnum = exports.BookingStatus = exports.BookingPopulatedPaymentByPlayersStatusInnerInvoicesInnerStatusEnum = exports.BookingPopulatedStatusEnum = exports.BookingPaymentStatusResponsePaymentStatusInnerPaymentMethodEnum = void 0;
|
|
26
|
-
exports.UserClubCourtsApiFp = exports.UserClubCourtsApiAxiosParamCreator = exports.UserBookingsApi = exports.UserBookingsApiFactory = exports.UserBookingsApiFp = exports.UserBookingsApiAxiosParamCreator = exports.UserAuthenticationApi = exports.UserAuthenticationApiFactory = exports.UserAuthenticationApiFp = exports.UserAuthenticationApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.StaffProfileApi = exports.StaffProfileApiFactory = exports.StaffProfileApiFp = exports.StaffProfileApiAxiosParamCreator = exports.StaffClubsApi = exports.StaffClubsApiFactory = exports.StaffClubsApiFp = exports.StaffClubsApiAxiosParamCreator = exports.StaffClubBookingsApi = exports.StaffClubBookingsApiFactory = exports.StaffClubBookingsApiFp = exports.StaffClubBookingsApiAxiosParamCreator = exports.StaffClubAnalyticsApi = exports.StaffClubAnalyticsApiFactory = exports.StaffClubAnalyticsApiFp = exports.StaffClubAnalyticsApiAxiosParamCreator = exports.ManagerSportsApi = exports.ManagerSportsApiFactory = exports.ManagerSportsApiFp = exports.ManagerSportsApiAxiosParamCreator = exports.ManagerClubsApi = exports.ManagerClubsApiFactory = exports.ManagerClubsApiFp = exports.ManagerClubsApiAxiosParamCreator = exports.ManagerClubSubscriptionsApi = exports.ManagerClubSubscriptionsApiFactory = exports.ManagerClubSubscriptionsApiFp = exports.ManagerClubSubscriptionsApiAxiosParamCreator = exports.ManagerClubSlotsApi = exports.ManagerClubSlotsApiFactory = exports.ManagerClubSlotsApiFp = exports.ManagerClubSlotsApiAxiosParamCreator =
|
|
27
|
-
exports.UserSubscriptionsApi = exports.UserSubscriptionsApiFactory = exports.UserSubscriptionsApiFp = exports.UserSubscriptionsApiAxiosParamCreator = exports.UserProfileApi = exports.UserProfileApiFactory = exports.UserProfileApiFp = exports.UserProfileApiAxiosParamCreator = exports.UserPaymentApi = exports.UserPaymentApiFactory = exports.UserPaymentApiFp = exports.UserPaymentApiAxiosParamCreator = exports.UserClubsApi = exports.UserClubsApiFactory = exports.UserClubsApiFp = exports.UserClubsApiAxiosParamCreator = exports.UserClubSportsApi = exports.UserClubSportsApiFactory = exports.UserClubSportsApiFp = exports.UserClubSportsApiAxiosParamCreator = exports.UserClubSlotsApi = exports.UserClubSlotsApiFactory =
|
|
26
|
+
exports.UserClubSlotsApiFp = exports.UserClubSlotsApiAxiosParamCreator = exports.UserClubCourtsApi = exports.UserClubCourtsApiFactory = exports.UserClubCourtsApiFp = exports.UserClubCourtsApiAxiosParamCreator = exports.UserBookingsApi = exports.UserBookingsApiFactory = exports.UserBookingsApiFp = exports.UserBookingsApiAxiosParamCreator = exports.UserAuthenticationApi = exports.UserAuthenticationApiFactory = exports.UserAuthenticationApiFp = exports.UserAuthenticationApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.StaffProfileApi = exports.StaffProfileApiFactory = exports.StaffProfileApiFp = exports.StaffProfileApiAxiosParamCreator = exports.StaffClubsApi = exports.StaffClubsApiFactory = exports.StaffClubsApiFp = exports.StaffClubsApiAxiosParamCreator = exports.StaffClubBookingsApi = exports.StaffClubBookingsApiFactory = exports.StaffClubBookingsApiFp = exports.StaffClubBookingsApiAxiosParamCreator = exports.StaffClubAnalyticsApi = exports.StaffClubAnalyticsApiFactory = exports.StaffClubAnalyticsApiFp = exports.StaffClubAnalyticsApiAxiosParamCreator = exports.ManagerSportsApi = exports.ManagerSportsApiFactory = exports.ManagerSportsApiFp = exports.ManagerSportsApiAxiosParamCreator = exports.ManagerClubsApi = exports.ManagerClubsApiFactory = exports.ManagerClubsApiFp = exports.ManagerClubsApiAxiosParamCreator = exports.ManagerClubSubscriptionsApi = exports.ManagerClubSubscriptionsApiFactory = exports.ManagerClubSubscriptionsApiFp = exports.ManagerClubSubscriptionsApiAxiosParamCreator = exports.ManagerClubSlotsApi = exports.ManagerClubSlotsApiFactory = exports.ManagerClubSlotsApiFp = exports.ManagerClubSlotsApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.UserSubscriptionsApi = exports.UserSubscriptionsApiFactory = exports.UserSubscriptionsApiFp = exports.UserSubscriptionsApiAxiosParamCreator = exports.UserProfileApi = exports.UserProfileApiFactory = exports.UserProfileApiFp = exports.UserProfileApiAxiosParamCreator = exports.UserPaymentApi = exports.UserPaymentApiFactory = exports.UserPaymentApiFp = exports.UserPaymentApiAxiosParamCreator = exports.UserClubsApi = exports.UserClubsApiFactory = exports.UserClubsApiFp = exports.UserClubsApiAxiosParamCreator = exports.UserClubSportsApi = exports.UserClubSportsApiFactory = exports.UserClubSportsApiFp = exports.UserClubSportsApiAxiosParamCreator = exports.UserClubSlotsApi = exports.UserClubSlotsApiFactory = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -2710,254 +2710,6 @@ class ManagerClubRolesApi extends base_1.BaseAPI {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
2712
|
exports.ManagerClubRolesApi = ManagerClubRolesApi;
|
|
2713
|
-
/**
|
|
2714
|
-
* ManagerClubSettingsApi - axios parameter creator
|
|
2715
|
-
* @export
|
|
2716
|
-
*/
|
|
2717
|
-
const ManagerClubSettingsApiAxiosParamCreator = function (configuration) {
|
|
2718
|
-
return {
|
|
2719
|
-
/**
|
|
2720
|
-
*
|
|
2721
|
-
* @summary Créer les paramètres d\'un club
|
|
2722
|
-
* @param {CreateClubSettingsRequest} createClubSettingsRequest
|
|
2723
|
-
* @param {*} [options] Override http request option.
|
|
2724
|
-
* @throws {RequiredError}
|
|
2725
|
-
*/
|
|
2726
|
-
createClubSettings: (createClubSettingsRequest_1, ...args_1) => __awaiter(this, [createClubSettingsRequest_1, ...args_1], void 0, function* (createClubSettingsRequest, options = {}) {
|
|
2727
|
-
// verify required parameter 'createClubSettingsRequest' is not null or undefined
|
|
2728
|
-
(0, common_1.assertParamExists)('createClubSettings', 'createClubSettingsRequest', createClubSettingsRequest);
|
|
2729
|
-
const localVarPath = `/api/club-settings`;
|
|
2730
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2731
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2732
|
-
let baseOptions;
|
|
2733
|
-
if (configuration) {
|
|
2734
|
-
baseOptions = configuration.baseOptions;
|
|
2735
|
-
}
|
|
2736
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2737
|
-
const localVarHeaderParameter = {};
|
|
2738
|
-
const localVarQueryParameter = {};
|
|
2739
|
-
// authentication bearerAuth required
|
|
2740
|
-
// http bearer authentication required
|
|
2741
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2742
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2743
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2744
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2745
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2746
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClubSettingsRequest, localVarRequestOptions, configuration);
|
|
2747
|
-
return {
|
|
2748
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2749
|
-
options: localVarRequestOptions,
|
|
2750
|
-
};
|
|
2751
|
-
}),
|
|
2752
|
-
/**
|
|
2753
|
-
*
|
|
2754
|
-
* @summary Supprimer les paramètres d\'un club
|
|
2755
|
-
* @param {DeleteClubSettingsRequest} deleteClubSettingsRequest
|
|
2756
|
-
* @param {*} [options] Override http request option.
|
|
2757
|
-
* @throws {RequiredError}
|
|
2758
|
-
*/
|
|
2759
|
-
deleteClubSettings: (deleteClubSettingsRequest_1, ...args_1) => __awaiter(this, [deleteClubSettingsRequest_1, ...args_1], void 0, function* (deleteClubSettingsRequest, options = {}) {
|
|
2760
|
-
// verify required parameter 'deleteClubSettingsRequest' is not null or undefined
|
|
2761
|
-
(0, common_1.assertParamExists)('deleteClubSettings', 'deleteClubSettingsRequest', deleteClubSettingsRequest);
|
|
2762
|
-
const localVarPath = `/api/club-settings`;
|
|
2763
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2764
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2765
|
-
let baseOptions;
|
|
2766
|
-
if (configuration) {
|
|
2767
|
-
baseOptions = configuration.baseOptions;
|
|
2768
|
-
}
|
|
2769
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2770
|
-
const localVarHeaderParameter = {};
|
|
2771
|
-
const localVarQueryParameter = {};
|
|
2772
|
-
// authentication bearerAuth required
|
|
2773
|
-
// http bearer authentication required
|
|
2774
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2775
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2776
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2777
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2778
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2779
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deleteClubSettingsRequest, localVarRequestOptions, configuration);
|
|
2780
|
-
return {
|
|
2781
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2782
|
-
options: localVarRequestOptions,
|
|
2783
|
-
};
|
|
2784
|
-
}),
|
|
2785
|
-
/**
|
|
2786
|
-
*
|
|
2787
|
-
* @summary Mettre à jour les paramètres d\'un club
|
|
2788
|
-
* @param {UpdateClubSettingsRequest} updateClubSettingsRequest
|
|
2789
|
-
* @param {*} [options] Override http request option.
|
|
2790
|
-
* @throws {RequiredError}
|
|
2791
|
-
*/
|
|
2792
|
-
updateClubSettings: (updateClubSettingsRequest_1, ...args_1) => __awaiter(this, [updateClubSettingsRequest_1, ...args_1], void 0, function* (updateClubSettingsRequest, options = {}) {
|
|
2793
|
-
// verify required parameter 'updateClubSettingsRequest' is not null or undefined
|
|
2794
|
-
(0, common_1.assertParamExists)('updateClubSettings', 'updateClubSettingsRequest', updateClubSettingsRequest);
|
|
2795
|
-
const localVarPath = `/api/club-settings`;
|
|
2796
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2797
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2798
|
-
let baseOptions;
|
|
2799
|
-
if (configuration) {
|
|
2800
|
-
baseOptions = configuration.baseOptions;
|
|
2801
|
-
}
|
|
2802
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2803
|
-
const localVarHeaderParameter = {};
|
|
2804
|
-
const localVarQueryParameter = {};
|
|
2805
|
-
// authentication bearerAuth required
|
|
2806
|
-
// http bearer authentication required
|
|
2807
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2808
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2809
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2810
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2811
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2812
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClubSettingsRequest, localVarRequestOptions, configuration);
|
|
2813
|
-
return {
|
|
2814
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2815
|
-
options: localVarRequestOptions,
|
|
2816
|
-
};
|
|
2817
|
-
}),
|
|
2818
|
-
};
|
|
2819
|
-
};
|
|
2820
|
-
exports.ManagerClubSettingsApiAxiosParamCreator = ManagerClubSettingsApiAxiosParamCreator;
|
|
2821
|
-
/**
|
|
2822
|
-
* ManagerClubSettingsApi - functional programming interface
|
|
2823
|
-
* @export
|
|
2824
|
-
*/
|
|
2825
|
-
const ManagerClubSettingsApiFp = function (configuration) {
|
|
2826
|
-
const localVarAxiosParamCreator = (0, exports.ManagerClubSettingsApiAxiosParamCreator)(configuration);
|
|
2827
|
-
return {
|
|
2828
|
-
/**
|
|
2829
|
-
*
|
|
2830
|
-
* @summary Créer les paramètres d\'un club
|
|
2831
|
-
* @param {CreateClubSettingsRequest} createClubSettingsRequest
|
|
2832
|
-
* @param {*} [options] Override http request option.
|
|
2833
|
-
* @throws {RequiredError}
|
|
2834
|
-
*/
|
|
2835
|
-
createClubSettings(createClubSettingsRequest, options) {
|
|
2836
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2837
|
-
var _a, _b, _c;
|
|
2838
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createClubSettings(createClubSettingsRequest, options);
|
|
2839
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2840
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ManagerClubSettingsApi.createClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2841
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2842
|
-
});
|
|
2843
|
-
},
|
|
2844
|
-
/**
|
|
2845
|
-
*
|
|
2846
|
-
* @summary Supprimer les paramètres d\'un club
|
|
2847
|
-
* @param {DeleteClubSettingsRequest} deleteClubSettingsRequest
|
|
2848
|
-
* @param {*} [options] Override http request option.
|
|
2849
|
-
* @throws {RequiredError}
|
|
2850
|
-
*/
|
|
2851
|
-
deleteClubSettings(deleteClubSettingsRequest, options) {
|
|
2852
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2853
|
-
var _a, _b, _c;
|
|
2854
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClubSettings(deleteClubSettingsRequest, options);
|
|
2855
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2856
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ManagerClubSettingsApi.deleteClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2857
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2858
|
-
});
|
|
2859
|
-
},
|
|
2860
|
-
/**
|
|
2861
|
-
*
|
|
2862
|
-
* @summary Mettre à jour les paramètres d\'un club
|
|
2863
|
-
* @param {UpdateClubSettingsRequest} updateClubSettingsRequest
|
|
2864
|
-
* @param {*} [options] Override http request option.
|
|
2865
|
-
* @throws {RequiredError}
|
|
2866
|
-
*/
|
|
2867
|
-
updateClubSettings(updateClubSettingsRequest, options) {
|
|
2868
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2869
|
-
var _a, _b, _c;
|
|
2870
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubSettings(updateClubSettingsRequest, options);
|
|
2871
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2872
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ManagerClubSettingsApi.updateClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2873
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2874
|
-
});
|
|
2875
|
-
},
|
|
2876
|
-
};
|
|
2877
|
-
};
|
|
2878
|
-
exports.ManagerClubSettingsApiFp = ManagerClubSettingsApiFp;
|
|
2879
|
-
/**
|
|
2880
|
-
* ManagerClubSettingsApi - factory interface
|
|
2881
|
-
* @export
|
|
2882
|
-
*/
|
|
2883
|
-
const ManagerClubSettingsApiFactory = function (configuration, basePath, axios) {
|
|
2884
|
-
const localVarFp = (0, exports.ManagerClubSettingsApiFp)(configuration);
|
|
2885
|
-
return {
|
|
2886
|
-
/**
|
|
2887
|
-
*
|
|
2888
|
-
* @summary Créer les paramètres d\'un club
|
|
2889
|
-
* @param {ManagerClubSettingsApiCreateClubSettingsRequest} requestParameters Request parameters.
|
|
2890
|
-
* @param {*} [options] Override http request option.
|
|
2891
|
-
* @throws {RequiredError}
|
|
2892
|
-
*/
|
|
2893
|
-
createClubSettings(requestParameters, options) {
|
|
2894
|
-
return localVarFp.createClubSettings(requestParameters.createClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
2895
|
-
},
|
|
2896
|
-
/**
|
|
2897
|
-
*
|
|
2898
|
-
* @summary Supprimer les paramètres d\'un club
|
|
2899
|
-
* @param {ManagerClubSettingsApiDeleteClubSettingsRequest} requestParameters Request parameters.
|
|
2900
|
-
* @param {*} [options] Override http request option.
|
|
2901
|
-
* @throws {RequiredError}
|
|
2902
|
-
*/
|
|
2903
|
-
deleteClubSettings(requestParameters, options) {
|
|
2904
|
-
return localVarFp.deleteClubSettings(requestParameters.deleteClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
2905
|
-
},
|
|
2906
|
-
/**
|
|
2907
|
-
*
|
|
2908
|
-
* @summary Mettre à jour les paramètres d\'un club
|
|
2909
|
-
* @param {ManagerClubSettingsApiUpdateClubSettingsRequest} requestParameters Request parameters.
|
|
2910
|
-
* @param {*} [options] Override http request option.
|
|
2911
|
-
* @throws {RequiredError}
|
|
2912
|
-
*/
|
|
2913
|
-
updateClubSettings(requestParameters, options) {
|
|
2914
|
-
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
2915
|
-
},
|
|
2916
|
-
};
|
|
2917
|
-
};
|
|
2918
|
-
exports.ManagerClubSettingsApiFactory = ManagerClubSettingsApiFactory;
|
|
2919
|
-
/**
|
|
2920
|
-
* ManagerClubSettingsApi - object-oriented interface
|
|
2921
|
-
* @export
|
|
2922
|
-
* @class ManagerClubSettingsApi
|
|
2923
|
-
* @extends {BaseAPI}
|
|
2924
|
-
*/
|
|
2925
|
-
class ManagerClubSettingsApi extends base_1.BaseAPI {
|
|
2926
|
-
/**
|
|
2927
|
-
*
|
|
2928
|
-
* @summary Créer les paramètres d\'un club
|
|
2929
|
-
* @param {ManagerClubSettingsApiCreateClubSettingsRequest} requestParameters Request parameters.
|
|
2930
|
-
* @param {*} [options] Override http request option.
|
|
2931
|
-
* @throws {RequiredError}
|
|
2932
|
-
* @memberof ManagerClubSettingsApi
|
|
2933
|
-
*/
|
|
2934
|
-
createClubSettings(requestParameters, options) {
|
|
2935
|
-
return (0, exports.ManagerClubSettingsApiFp)(this.configuration).createClubSettings(requestParameters.createClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2936
|
-
}
|
|
2937
|
-
/**
|
|
2938
|
-
*
|
|
2939
|
-
* @summary Supprimer les paramètres d\'un club
|
|
2940
|
-
* @param {ManagerClubSettingsApiDeleteClubSettingsRequest} requestParameters Request parameters.
|
|
2941
|
-
* @param {*} [options] Override http request option.
|
|
2942
|
-
* @throws {RequiredError}
|
|
2943
|
-
* @memberof ManagerClubSettingsApi
|
|
2944
|
-
*/
|
|
2945
|
-
deleteClubSettings(requestParameters, options) {
|
|
2946
|
-
return (0, exports.ManagerClubSettingsApiFp)(this.configuration).deleteClubSettings(requestParameters.deleteClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2947
|
-
}
|
|
2948
|
-
/**
|
|
2949
|
-
*
|
|
2950
|
-
* @summary Mettre à jour les paramètres d\'un club
|
|
2951
|
-
* @param {ManagerClubSettingsApiUpdateClubSettingsRequest} requestParameters Request parameters.
|
|
2952
|
-
* @param {*} [options] Override http request option.
|
|
2953
|
-
* @throws {RequiredError}
|
|
2954
|
-
* @memberof ManagerClubSettingsApi
|
|
2955
|
-
*/
|
|
2956
|
-
updateClubSettings(requestParameters, options) {
|
|
2957
|
-
return (0, exports.ManagerClubSettingsApiFp)(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2958
|
-
}
|
|
2959
|
-
}
|
|
2960
|
-
exports.ManagerClubSettingsApi = ManagerClubSettingsApi;
|
|
2961
2713
|
/**
|
|
2962
2714
|
* ManagerClubSlotsApi - axios parameter creator
|
|
2963
2715
|
* @export
|
|
@@ -4607,6 +4359,39 @@ const StaffClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4607
4359
|
options: localVarRequestOptions,
|
|
4608
4360
|
};
|
|
4609
4361
|
}),
|
|
4362
|
+
/**
|
|
4363
|
+
*
|
|
4364
|
+
* @summary Récupère les paramètres d’un club
|
|
4365
|
+
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4366
|
+
* @param {*} [options] Override http request option.
|
|
4367
|
+
* @throws {RequiredError}
|
|
4368
|
+
*/
|
|
4369
|
+
getClubSettings: (getClubSettingsRequest_1, ...args_1) => __awaiter(this, [getClubSettingsRequest_1, ...args_1], void 0, function* (getClubSettingsRequest, options = {}) {
|
|
4370
|
+
// verify required parameter 'getClubSettingsRequest' is not null or undefined
|
|
4371
|
+
(0, common_1.assertParamExists)('getClubSettings', 'getClubSettingsRequest', getClubSettingsRequest);
|
|
4372
|
+
const localVarPath = `/api/club-settings`;
|
|
4373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4374
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4375
|
+
let baseOptions;
|
|
4376
|
+
if (configuration) {
|
|
4377
|
+
baseOptions = configuration.baseOptions;
|
|
4378
|
+
}
|
|
4379
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4380
|
+
const localVarHeaderParameter = {};
|
|
4381
|
+
const localVarQueryParameter = {};
|
|
4382
|
+
// authentication bearerAuth required
|
|
4383
|
+
// http bearer authentication required
|
|
4384
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4385
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4386
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4387
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4388
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4389
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getClubSettingsRequest, localVarRequestOptions, configuration);
|
|
4390
|
+
return {
|
|
4391
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4392
|
+
options: localVarRequestOptions,
|
|
4393
|
+
};
|
|
4394
|
+
}),
|
|
4610
4395
|
};
|
|
4611
4396
|
};
|
|
4612
4397
|
exports.StaffClubsApiAxiosParamCreator = StaffClubsApiAxiosParamCreator;
|
|
@@ -4632,6 +4417,22 @@ const StaffClubsApiFp = function (configuration) {
|
|
|
4632
4417
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4633
4418
|
});
|
|
4634
4419
|
},
|
|
4420
|
+
/**
|
|
4421
|
+
*
|
|
4422
|
+
* @summary Récupère les paramètres d’un club
|
|
4423
|
+
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4424
|
+
* @param {*} [options] Override http request option.
|
|
4425
|
+
* @throws {RequiredError}
|
|
4426
|
+
*/
|
|
4427
|
+
getClubSettings(getClubSettingsRequest, options) {
|
|
4428
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4429
|
+
var _a, _b, _c;
|
|
4430
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(getClubSettingsRequest, options);
|
|
4431
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4432
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StaffClubsApi.getClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4433
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4434
|
+
});
|
|
4435
|
+
},
|
|
4635
4436
|
};
|
|
4636
4437
|
};
|
|
4637
4438
|
exports.StaffClubsApiFp = StaffClubsApiFp;
|
|
@@ -4651,6 +4452,16 @@ const StaffClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4651
4452
|
getClubInfos(options) {
|
|
4652
4453
|
return localVarFp.getClubInfos(options).then((request) => request(axios, basePath));
|
|
4653
4454
|
},
|
|
4455
|
+
/**
|
|
4456
|
+
*
|
|
4457
|
+
* @summary Récupère les paramètres d’un club
|
|
4458
|
+
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
4459
|
+
* @param {*} [options] Override http request option.
|
|
4460
|
+
* @throws {RequiredError}
|
|
4461
|
+
*/
|
|
4462
|
+
getClubSettings(requestParameters, options) {
|
|
4463
|
+
return localVarFp.getClubSettings(requestParameters.getClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
4464
|
+
},
|
|
4654
4465
|
};
|
|
4655
4466
|
};
|
|
4656
4467
|
exports.StaffClubsApiFactory = StaffClubsApiFactory;
|
|
@@ -4671,6 +4482,17 @@ class StaffClubsApi extends base_1.BaseAPI {
|
|
|
4671
4482
|
getClubInfos(options) {
|
|
4672
4483
|
return (0, exports.StaffClubsApiFp)(this.configuration).getClubInfos(options).then((request) => request(this.axios, this.basePath));
|
|
4673
4484
|
}
|
|
4485
|
+
/**
|
|
4486
|
+
*
|
|
4487
|
+
* @summary Récupère les paramètres d’un club
|
|
4488
|
+
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
4489
|
+
* @param {*} [options] Override http request option.
|
|
4490
|
+
* @throws {RequiredError}
|
|
4491
|
+
* @memberof StaffClubsApi
|
|
4492
|
+
*/
|
|
4493
|
+
getClubSettings(requestParameters, options) {
|
|
4494
|
+
return (0, exports.StaffClubsApiFp)(this.configuration).getClubSettings(requestParameters.getClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4495
|
+
}
|
|
4674
4496
|
}
|
|
4675
4497
|
exports.StaffClubsApi = StaffClubsApi;
|
|
4676
4498
|
/**
|
|
@@ -4779,39 +4601,6 @@ exports.StaffProfileApi = StaffProfileApi;
|
|
|
4779
4601
|
*/
|
|
4780
4602
|
const UserApiAxiosParamCreator = function (configuration) {
|
|
4781
4603
|
return {
|
|
4782
|
-
/**
|
|
4783
|
-
*
|
|
4784
|
-
* @summary Abonne l\'utilisateur connecté à un club
|
|
4785
|
-
* @param {SubscribeToClubRequestBody} subscribeToClubRequestBody
|
|
4786
|
-
* @param {*} [options] Override http request option.
|
|
4787
|
-
* @throws {RequiredError}
|
|
4788
|
-
*/
|
|
4789
|
-
subscribeToClub: (subscribeToClubRequestBody_1, ...args_1) => __awaiter(this, [subscribeToClubRequestBody_1, ...args_1], void 0, function* (subscribeToClubRequestBody, options = {}) {
|
|
4790
|
-
// verify required parameter 'subscribeToClubRequestBody' is not null or undefined
|
|
4791
|
-
(0, common_1.assertParamExists)('subscribeToClub', 'subscribeToClubRequestBody', subscribeToClubRequestBody);
|
|
4792
|
-
const localVarPath = `/api/users/me/subscribe`;
|
|
4793
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4794
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4795
|
-
let baseOptions;
|
|
4796
|
-
if (configuration) {
|
|
4797
|
-
baseOptions = configuration.baseOptions;
|
|
4798
|
-
}
|
|
4799
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4800
|
-
const localVarHeaderParameter = {};
|
|
4801
|
-
const localVarQueryParameter = {};
|
|
4802
|
-
// authentication bearerAuth required
|
|
4803
|
-
// http bearer authentication required
|
|
4804
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4805
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4806
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4807
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4808
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4809
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(subscribeToClubRequestBody, localVarRequestOptions, configuration);
|
|
4810
|
-
return {
|
|
4811
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4812
|
-
options: localVarRequestOptions,
|
|
4813
|
-
};
|
|
4814
|
-
}),
|
|
4815
4604
|
/**
|
|
4816
4605
|
*
|
|
4817
4606
|
* @summary Met à jour le Customer Stripe de l\'utilisateur
|
|
@@ -4855,22 +4644,6 @@ exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
|
|
|
4855
4644
|
const UserApiFp = function (configuration) {
|
|
4856
4645
|
const localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
|
|
4857
4646
|
return {
|
|
4858
|
-
/**
|
|
4859
|
-
*
|
|
4860
|
-
* @summary Abonne l\'utilisateur connecté à un club
|
|
4861
|
-
* @param {SubscribeToClubRequestBody} subscribeToClubRequestBody
|
|
4862
|
-
* @param {*} [options] Override http request option.
|
|
4863
|
-
* @throws {RequiredError}
|
|
4864
|
-
*/
|
|
4865
|
-
subscribeToClub(subscribeToClubRequestBody, options) {
|
|
4866
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
4867
|
-
var _a, _b, _c;
|
|
4868
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.subscribeToClub(subscribeToClubRequestBody, options);
|
|
4869
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4870
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.subscribeToClub']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4871
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4872
|
-
});
|
|
4873
|
-
},
|
|
4874
4647
|
/**
|
|
4875
4648
|
*
|
|
4876
4649
|
* @summary Met à jour le Customer Stripe de l\'utilisateur
|
|
@@ -4897,16 +4670,6 @@ exports.UserApiFp = UserApiFp;
|
|
|
4897
4670
|
const UserApiFactory = function (configuration, basePath, axios) {
|
|
4898
4671
|
const localVarFp = (0, exports.UserApiFp)(configuration);
|
|
4899
4672
|
return {
|
|
4900
|
-
/**
|
|
4901
|
-
*
|
|
4902
|
-
* @summary Abonne l\'utilisateur connecté à un club
|
|
4903
|
-
* @param {UserApiSubscribeToClubRequest} requestParameters Request parameters.
|
|
4904
|
-
* @param {*} [options] Override http request option.
|
|
4905
|
-
* @throws {RequiredError}
|
|
4906
|
-
*/
|
|
4907
|
-
subscribeToClub(requestParameters, options) {
|
|
4908
|
-
return localVarFp.subscribeToClub(requestParameters.subscribeToClubRequestBody, options).then((request) => request(axios, basePath));
|
|
4909
|
-
},
|
|
4910
4673
|
/**
|
|
4911
4674
|
*
|
|
4912
4675
|
* @summary Met à jour le Customer Stripe de l\'utilisateur
|
|
@@ -4927,17 +4690,6 @@ exports.UserApiFactory = UserApiFactory;
|
|
|
4927
4690
|
* @extends {BaseAPI}
|
|
4928
4691
|
*/
|
|
4929
4692
|
class UserApi extends base_1.BaseAPI {
|
|
4930
|
-
/**
|
|
4931
|
-
*
|
|
4932
|
-
* @summary Abonne l\'utilisateur connecté à un club
|
|
4933
|
-
* @param {UserApiSubscribeToClubRequest} requestParameters Request parameters.
|
|
4934
|
-
* @param {*} [options] Override http request option.
|
|
4935
|
-
* @throws {RequiredError}
|
|
4936
|
-
* @memberof UserApi
|
|
4937
|
-
*/
|
|
4938
|
-
subscribeToClub(requestParameters, options) {
|
|
4939
|
-
return (0, exports.UserApiFp)(this.configuration).subscribeToClub(requestParameters.subscribeToClubRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
4940
|
-
}
|
|
4941
4693
|
/**
|
|
4942
4694
|
*
|
|
4943
4695
|
* @summary Met à jour le Customer Stripe de l\'utilisateur
|
|
@@ -6045,6 +5797,39 @@ exports.UserClubsApi = UserClubsApi;
|
|
|
6045
5797
|
*/
|
|
6046
5798
|
const UserPaymentApiAxiosParamCreator = function (configuration) {
|
|
6047
5799
|
return {
|
|
5800
|
+
/**
|
|
5801
|
+
*
|
|
5802
|
+
* @summary Ajoute une méthode de paiement Stripe à la liste de l\'utilisateur
|
|
5803
|
+
* @param {AddPaymentMethodSetupRequestBody} addPaymentMethodSetupRequestBody
|
|
5804
|
+
* @param {*} [options] Override http request option.
|
|
5805
|
+
* @throws {RequiredError}
|
|
5806
|
+
*/
|
|
5807
|
+
addPaymentMethodSetup: (addPaymentMethodSetupRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodSetupRequestBody_1, ...args_1], void 0, function* (addPaymentMethodSetupRequestBody, options = {}) {
|
|
5808
|
+
// verify required parameter 'addPaymentMethodSetupRequestBody' is not null or undefined
|
|
5809
|
+
(0, common_1.assertParamExists)('addPaymentMethodSetup', 'addPaymentMethodSetupRequestBody', addPaymentMethodSetupRequestBody);
|
|
5810
|
+
const localVarPath = `/api/users/addPaymentMethodSetup`;
|
|
5811
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5812
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5813
|
+
let baseOptions;
|
|
5814
|
+
if (configuration) {
|
|
5815
|
+
baseOptions = configuration.baseOptions;
|
|
5816
|
+
}
|
|
5817
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5818
|
+
const localVarHeaderParameter = {};
|
|
5819
|
+
const localVarQueryParameter = {};
|
|
5820
|
+
// authentication bearerAuth required
|
|
5821
|
+
// http bearer authentication required
|
|
5822
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5823
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5824
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5825
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5826
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5827
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addPaymentMethodSetupRequestBody, localVarRequestOptions, configuration);
|
|
5828
|
+
return {
|
|
5829
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5830
|
+
options: localVarRequestOptions,
|
|
5831
|
+
};
|
|
5832
|
+
}),
|
|
6048
5833
|
/**
|
|
6049
5834
|
* Confirme que la méthode de paiement a été configurée avec succès et la sauvegarde pour l\'utilisateur
|
|
6050
5835
|
* @summary Confirme la configuration d\'une méthode de paiement
|
|
@@ -6121,6 +5906,22 @@ exports.UserPaymentApiAxiosParamCreator = UserPaymentApiAxiosParamCreator;
|
|
|
6121
5906
|
const UserPaymentApiFp = function (configuration) {
|
|
6122
5907
|
const localVarAxiosParamCreator = (0, exports.UserPaymentApiAxiosParamCreator)(configuration);
|
|
6123
5908
|
return {
|
|
5909
|
+
/**
|
|
5910
|
+
*
|
|
5911
|
+
* @summary Ajoute une méthode de paiement Stripe à la liste de l\'utilisateur
|
|
5912
|
+
* @param {AddPaymentMethodSetupRequestBody} addPaymentMethodSetupRequestBody
|
|
5913
|
+
* @param {*} [options] Override http request option.
|
|
5914
|
+
* @throws {RequiredError}
|
|
5915
|
+
*/
|
|
5916
|
+
addPaymentMethodSetup(addPaymentMethodSetupRequestBody, options) {
|
|
5917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5918
|
+
var _a, _b, _c;
|
|
5919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodSetupRequestBody, options);
|
|
5920
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5921
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserPaymentApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5922
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5923
|
+
});
|
|
5924
|
+
},
|
|
6124
5925
|
/**
|
|
6125
5926
|
* Confirme que la méthode de paiement a été configurée avec succès et la sauvegarde pour l\'utilisateur
|
|
6126
5927
|
* @summary Confirme la configuration d\'une méthode de paiement
|
|
@@ -6163,6 +5964,16 @@ exports.UserPaymentApiFp = UserPaymentApiFp;
|
|
|
6163
5964
|
const UserPaymentApiFactory = function (configuration, basePath, axios) {
|
|
6164
5965
|
const localVarFp = (0, exports.UserPaymentApiFp)(configuration);
|
|
6165
5966
|
return {
|
|
5967
|
+
/**
|
|
5968
|
+
*
|
|
5969
|
+
* @summary Ajoute une méthode de paiement Stripe à la liste de l\'utilisateur
|
|
5970
|
+
* @param {UserPaymentApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
5971
|
+
* @param {*} [options] Override http request option.
|
|
5972
|
+
* @throws {RequiredError}
|
|
5973
|
+
*/
|
|
5974
|
+
addPaymentMethodSetup(requestParameters, options) {
|
|
5975
|
+
return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodSetupRequestBody, options).then((request) => request(axios, basePath));
|
|
5976
|
+
},
|
|
6166
5977
|
/**
|
|
6167
5978
|
* Confirme que la méthode de paiement a été configurée avec succès et la sauvegarde pour l\'utilisateur
|
|
6168
5979
|
* @summary Confirme la configuration d\'une méthode de paiement
|
|
@@ -6193,6 +6004,17 @@ exports.UserPaymentApiFactory = UserPaymentApiFactory;
|
|
|
6193
6004
|
* @extends {BaseAPI}
|
|
6194
6005
|
*/
|
|
6195
6006
|
class UserPaymentApi extends base_1.BaseAPI {
|
|
6007
|
+
/**
|
|
6008
|
+
*
|
|
6009
|
+
* @summary Ajoute une méthode de paiement Stripe à la liste de l\'utilisateur
|
|
6010
|
+
* @param {UserPaymentApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
6011
|
+
* @param {*} [options] Override http request option.
|
|
6012
|
+
* @throws {RequiredError}
|
|
6013
|
+
* @memberof UserPaymentApi
|
|
6014
|
+
*/
|
|
6015
|
+
addPaymentMethodSetup(requestParameters, options) {
|
|
6016
|
+
return (0, exports.UserPaymentApiFp)(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodSetupRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
6017
|
+
}
|
|
6196
6018
|
/**
|
|
6197
6019
|
* Confirme que la méthode de paiement a été configurée avec succès et la sauvegarde pour l\'utilisateur
|
|
6198
6020
|
* @summary Confirme la configuration d\'une méthode de paiement
|
|
@@ -6296,6 +6118,34 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
6296
6118
|
options: localVarRequestOptions,
|
|
6297
6119
|
};
|
|
6298
6120
|
}),
|
|
6121
|
+
/**
|
|
6122
|
+
*
|
|
6123
|
+
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6124
|
+
* @param {*} [options] Override http request option.
|
|
6125
|
+
* @throws {RequiredError}
|
|
6126
|
+
*/
|
|
6127
|
+
getProfilePicture: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6128
|
+
const localVarPath = `/api/users/me/profile-picture`;
|
|
6129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6130
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6131
|
+
let baseOptions;
|
|
6132
|
+
if (configuration) {
|
|
6133
|
+
baseOptions = configuration.baseOptions;
|
|
6134
|
+
}
|
|
6135
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6136
|
+
const localVarHeaderParameter = {};
|
|
6137
|
+
const localVarQueryParameter = {};
|
|
6138
|
+
// authentication bearerAuth required
|
|
6139
|
+
// http bearer authentication required
|
|
6140
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6141
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6143
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6144
|
+
return {
|
|
6145
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6146
|
+
options: localVarRequestOptions,
|
|
6147
|
+
};
|
|
6148
|
+
}),
|
|
6299
6149
|
/**
|
|
6300
6150
|
*
|
|
6301
6151
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -6324,6 +6174,72 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
6324
6174
|
options: localVarRequestOptions,
|
|
6325
6175
|
};
|
|
6326
6176
|
}),
|
|
6177
|
+
/**
|
|
6178
|
+
*
|
|
6179
|
+
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
6180
|
+
* @param {UpdateLevelBySportsRequestBody} updateLevelBySportsRequestBody
|
|
6181
|
+
* @param {*} [options] Override http request option.
|
|
6182
|
+
* @throws {RequiredError}
|
|
6183
|
+
*/
|
|
6184
|
+
updateLevelBySports: (updateLevelBySportsRequestBody_1, ...args_1) => __awaiter(this, [updateLevelBySportsRequestBody_1, ...args_1], void 0, function* (updateLevelBySportsRequestBody, options = {}) {
|
|
6185
|
+
// verify required parameter 'updateLevelBySportsRequestBody' is not null or undefined
|
|
6186
|
+
(0, common_1.assertParamExists)('updateLevelBySports', 'updateLevelBySportsRequestBody', updateLevelBySportsRequestBody);
|
|
6187
|
+
const localVarPath = `/api/users/me/level-by-sports`;
|
|
6188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6189
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6190
|
+
let baseOptions;
|
|
6191
|
+
if (configuration) {
|
|
6192
|
+
baseOptions = configuration.baseOptions;
|
|
6193
|
+
}
|
|
6194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
6195
|
+
const localVarHeaderParameter = {};
|
|
6196
|
+
const localVarQueryParameter = {};
|
|
6197
|
+
// authentication bearerAuth required
|
|
6198
|
+
// http bearer authentication required
|
|
6199
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6201
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6203
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6204
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLevelBySportsRequestBody, localVarRequestOptions, configuration);
|
|
6205
|
+
return {
|
|
6206
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6207
|
+
options: localVarRequestOptions,
|
|
6208
|
+
};
|
|
6209
|
+
}),
|
|
6210
|
+
/**
|
|
6211
|
+
*
|
|
6212
|
+
* @summary Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6213
|
+
* @param {UpdateProfilePictureRequestBody} updateProfilePictureRequestBody
|
|
6214
|
+
* @param {*} [options] Override http request option.
|
|
6215
|
+
* @throws {RequiredError}
|
|
6216
|
+
*/
|
|
6217
|
+
updateProfilePicture: (updateProfilePictureRequestBody_1, ...args_1) => __awaiter(this, [updateProfilePictureRequestBody_1, ...args_1], void 0, function* (updateProfilePictureRequestBody, options = {}) {
|
|
6218
|
+
// verify required parameter 'updateProfilePictureRequestBody' is not null or undefined
|
|
6219
|
+
(0, common_1.assertParamExists)('updateProfilePicture', 'updateProfilePictureRequestBody', updateProfilePictureRequestBody);
|
|
6220
|
+
const localVarPath = `/api/users/me/profile-picture`;
|
|
6221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6222
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6223
|
+
let baseOptions;
|
|
6224
|
+
if (configuration) {
|
|
6225
|
+
baseOptions = configuration.baseOptions;
|
|
6226
|
+
}
|
|
6227
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
6228
|
+
const localVarHeaderParameter = {};
|
|
6229
|
+
const localVarQueryParameter = {};
|
|
6230
|
+
// authentication bearerAuth required
|
|
6231
|
+
// http bearer authentication required
|
|
6232
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6233
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6234
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6236
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6237
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateProfilePictureRequestBody, localVarRequestOptions, configuration);
|
|
6238
|
+
return {
|
|
6239
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6240
|
+
options: localVarRequestOptions,
|
|
6241
|
+
};
|
|
6242
|
+
}),
|
|
6327
6243
|
/**
|
|
6328
6244
|
*
|
|
6329
6245
|
* @summary Met à jour les données de l\'utilisateur connecté
|
|
@@ -6401,6 +6317,21 @@ const UserProfileApiFp = function (configuration) {
|
|
|
6401
6317
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6402
6318
|
});
|
|
6403
6319
|
},
|
|
6320
|
+
/**
|
|
6321
|
+
*
|
|
6322
|
+
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6323
|
+
* @param {*} [options] Override http request option.
|
|
6324
|
+
* @throws {RequiredError}
|
|
6325
|
+
*/
|
|
6326
|
+
getProfilePicture(options) {
|
|
6327
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6328
|
+
var _a, _b, _c;
|
|
6329
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProfilePicture(options);
|
|
6330
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6331
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getProfilePicture']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6332
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6333
|
+
});
|
|
6334
|
+
},
|
|
6404
6335
|
/**
|
|
6405
6336
|
*
|
|
6406
6337
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -6416,6 +6347,38 @@ const UserProfileApiFp = function (configuration) {
|
|
|
6416
6347
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6417
6348
|
});
|
|
6418
6349
|
},
|
|
6350
|
+
/**
|
|
6351
|
+
*
|
|
6352
|
+
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
6353
|
+
* @param {UpdateLevelBySportsRequestBody} updateLevelBySportsRequestBody
|
|
6354
|
+
* @param {*} [options] Override http request option.
|
|
6355
|
+
* @throws {RequiredError}
|
|
6356
|
+
*/
|
|
6357
|
+
updateLevelBySports(updateLevelBySportsRequestBody, options) {
|
|
6358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6359
|
+
var _a, _b, _c;
|
|
6360
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateLevelBySports(updateLevelBySportsRequestBody, options);
|
|
6361
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6362
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.updateLevelBySports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6363
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6364
|
+
});
|
|
6365
|
+
},
|
|
6366
|
+
/**
|
|
6367
|
+
*
|
|
6368
|
+
* @summary Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6369
|
+
* @param {UpdateProfilePictureRequestBody} updateProfilePictureRequestBody
|
|
6370
|
+
* @param {*} [options] Override http request option.
|
|
6371
|
+
* @throws {RequiredError}
|
|
6372
|
+
*/
|
|
6373
|
+
updateProfilePicture(updateProfilePictureRequestBody, options) {
|
|
6374
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6375
|
+
var _a, _b, _c;
|
|
6376
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProfilePicture(updateProfilePictureRequestBody, options);
|
|
6377
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6378
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.updateProfilePicture']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6379
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6380
|
+
});
|
|
6381
|
+
},
|
|
6419
6382
|
/**
|
|
6420
6383
|
*
|
|
6421
6384
|
* @summary Met à jour les données de l\'utilisateur connecté
|
|
@@ -6462,6 +6425,15 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
6462
6425
|
getAllUsers(requestParameters = {}, options) {
|
|
6463
6426
|
return localVarFp.getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
6464
6427
|
},
|
|
6428
|
+
/**
|
|
6429
|
+
*
|
|
6430
|
+
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6431
|
+
* @param {*} [options] Override http request option.
|
|
6432
|
+
* @throws {RequiredError}
|
|
6433
|
+
*/
|
|
6434
|
+
getProfilePicture(options) {
|
|
6435
|
+
return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
|
|
6436
|
+
},
|
|
6465
6437
|
/**
|
|
6466
6438
|
*
|
|
6467
6439
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -6471,6 +6443,26 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
6471
6443
|
getUserInfo(options) {
|
|
6472
6444
|
return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
|
|
6473
6445
|
},
|
|
6446
|
+
/**
|
|
6447
|
+
*
|
|
6448
|
+
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
6449
|
+
* @param {UserProfileApiUpdateLevelBySportsRequest} requestParameters Request parameters.
|
|
6450
|
+
* @param {*} [options] Override http request option.
|
|
6451
|
+
* @throws {RequiredError}
|
|
6452
|
+
*/
|
|
6453
|
+
updateLevelBySports(requestParameters, options) {
|
|
6454
|
+
return localVarFp.updateLevelBySports(requestParameters.updateLevelBySportsRequestBody, options).then((request) => request(axios, basePath));
|
|
6455
|
+
},
|
|
6456
|
+
/**
|
|
6457
|
+
*
|
|
6458
|
+
* @summary Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6459
|
+
* @param {UserProfileApiUpdateProfilePictureRequest} requestParameters Request parameters.
|
|
6460
|
+
* @param {*} [options] Override http request option.
|
|
6461
|
+
* @throws {RequiredError}
|
|
6462
|
+
*/
|
|
6463
|
+
updateProfilePicture(requestParameters, options) {
|
|
6464
|
+
return localVarFp.updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(axios, basePath));
|
|
6465
|
+
},
|
|
6474
6466
|
/**
|
|
6475
6467
|
*
|
|
6476
6468
|
* @summary Met à jour les données de l\'utilisateur connecté
|
|
@@ -6513,6 +6505,16 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
6513
6505
|
getAllUsers(requestParameters = {}, options) {
|
|
6514
6506
|
return (0, exports.UserProfileApiFp)(this.configuration).getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
6515
6507
|
}
|
|
6508
|
+
/**
|
|
6509
|
+
*
|
|
6510
|
+
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6511
|
+
* @param {*} [options] Override http request option.
|
|
6512
|
+
* @throws {RequiredError}
|
|
6513
|
+
* @memberof UserProfileApi
|
|
6514
|
+
*/
|
|
6515
|
+
getProfilePicture(options) {
|
|
6516
|
+
return (0, exports.UserProfileApiFp)(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
|
|
6517
|
+
}
|
|
6516
6518
|
/**
|
|
6517
6519
|
*
|
|
6518
6520
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -6523,6 +6525,28 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
6523
6525
|
getUserInfo(options) {
|
|
6524
6526
|
return (0, exports.UserProfileApiFp)(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
|
|
6525
6527
|
}
|
|
6528
|
+
/**
|
|
6529
|
+
*
|
|
6530
|
+
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
6531
|
+
* @param {UserProfileApiUpdateLevelBySportsRequest} requestParameters Request parameters.
|
|
6532
|
+
* @param {*} [options] Override http request option.
|
|
6533
|
+
* @throws {RequiredError}
|
|
6534
|
+
* @memberof UserProfileApi
|
|
6535
|
+
*/
|
|
6536
|
+
updateLevelBySports(requestParameters, options) {
|
|
6537
|
+
return (0, exports.UserProfileApiFp)(this.configuration).updateLevelBySports(requestParameters.updateLevelBySportsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
6538
|
+
}
|
|
6539
|
+
/**
|
|
6540
|
+
*
|
|
6541
|
+
* @summary Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
6542
|
+
* @param {UserProfileApiUpdateProfilePictureRequest} requestParameters Request parameters.
|
|
6543
|
+
* @param {*} [options] Override http request option.
|
|
6544
|
+
* @throws {RequiredError}
|
|
6545
|
+
* @memberof UserProfileApi
|
|
6546
|
+
*/
|
|
6547
|
+
updateProfilePicture(requestParameters, options) {
|
|
6548
|
+
return (0, exports.UserProfileApiFp)(this.configuration).updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
6549
|
+
}
|
|
6526
6550
|
/**
|
|
6527
6551
|
*
|
|
6528
6552
|
* @summary Met à jour les données de l\'utilisateur connecté
|