@tennac-booking/sdk 1.0.127 → 1.0.128
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/README.md +1 -1
- package/api.ts +8 -29
- package/dist/api.d.ts +4 -21
- package/dist/api.js +8 -15
- package/dist/esm/api.d.ts +4 -21
- package/dist/esm/api.js +8 -15
- package/docs/ClubsStaffApi.md +3 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ Class | Method | HTTP request | Description
|
|
|
143
143
|
*ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
|
|
144
144
|
*ClubsStaffApi* | [**getClubPresentationSettings**](docs/ClubsStaffApi.md#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation |
|
|
145
145
|
*ClubsStaffApi* | [**getClubRoles**](docs/ClubsStaffApi.md#getclubroles) | **GET** /api/clubs/roles |
|
|
146
|
-
*ClubsStaffApi* | [**getClubType**](docs/ClubsStaffApi.md#getclubtype) | **GET** /api/clubs/
|
|
146
|
+
*ClubsStaffApi* | [**getClubType**](docs/ClubsStaffApi.md#getclubtype) | **GET** /api/clubs/clubType |
|
|
147
147
|
*ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
|
|
148
148
|
*ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
|
|
149
149
|
*ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
|
package/api.ts
CHANGED
|
@@ -19200,15 +19200,11 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
19200
19200
|
},
|
|
19201
19201
|
/**
|
|
19202
19202
|
*
|
|
19203
|
-
* @param {string} clubId
|
|
19204
19203
|
* @param {*} [options] Override http request option.
|
|
19205
19204
|
* @throws {RequiredError}
|
|
19206
19205
|
*/
|
|
19207
|
-
getClubType: async (
|
|
19208
|
-
|
|
19209
|
-
assertParamExists('getClubType', 'clubId', clubId)
|
|
19210
|
-
const localVarPath = `/api/clubs/{clubId}/clubType`
|
|
19211
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
19206
|
+
getClubType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19207
|
+
const localVarPath = `/api/clubs/clubType`;
|
|
19212
19208
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19213
19209
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19214
19210
|
let baseOptions;
|
|
@@ -19496,12 +19492,11 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19496
19492
|
},
|
|
19497
19493
|
/**
|
|
19498
19494
|
*
|
|
19499
|
-
* @param {string} clubId
|
|
19500
19495
|
* @param {*} [options] Override http request option.
|
|
19501
19496
|
* @throws {RequiredError}
|
|
19502
19497
|
*/
|
|
19503
|
-
async getClubType(
|
|
19504
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubType(
|
|
19498
|
+
async getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>> {
|
|
19499
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubType(options);
|
|
19505
19500
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19506
19501
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubType']?.[localVarOperationServerIndex]?.url;
|
|
19507
19502
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19621,12 +19616,11 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
19621
19616
|
},
|
|
19622
19617
|
/**
|
|
19623
19618
|
*
|
|
19624
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
19625
19619
|
* @param {*} [options] Override http request option.
|
|
19626
19620
|
* @throws {RequiredError}
|
|
19627
19621
|
*/
|
|
19628
|
-
getClubType(
|
|
19629
|
-
return localVarFp.getClubType(
|
|
19622
|
+
getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response> {
|
|
19623
|
+
return localVarFp.getClubType(options).then((request) => request(axios, basePath));
|
|
19630
19624
|
},
|
|
19631
19625
|
/**
|
|
19632
19626
|
* Récupère les terrains d\'un club
|
|
@@ -19687,20 +19681,6 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
|
|
|
19687
19681
|
readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest
|
|
19688
19682
|
}
|
|
19689
19683
|
|
|
19690
|
-
/**
|
|
19691
|
-
* Request parameters for getClubType operation in ClubsStaffApi.
|
|
19692
|
-
* @export
|
|
19693
|
-
* @interface ClubsStaffApiGetClubTypeRequest
|
|
19694
|
-
*/
|
|
19695
|
-
export interface ClubsStaffApiGetClubTypeRequest {
|
|
19696
|
-
/**
|
|
19697
|
-
*
|
|
19698
|
-
* @type {string}
|
|
19699
|
-
* @memberof ClubsStaffApiGetClubType
|
|
19700
|
-
*/
|
|
19701
|
-
readonly clubId: string
|
|
19702
|
-
}
|
|
19703
|
-
|
|
19704
19684
|
/**
|
|
19705
19685
|
* Request parameters for getInvoices operation in ClubsStaffApi.
|
|
19706
19686
|
* @export
|
|
@@ -19862,13 +19842,12 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
19862
19842
|
|
|
19863
19843
|
/**
|
|
19864
19844
|
*
|
|
19865
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
19866
19845
|
* @param {*} [options] Override http request option.
|
|
19867
19846
|
* @throws {RequiredError}
|
|
19868
19847
|
* @memberof ClubsStaffApi
|
|
19869
19848
|
*/
|
|
19870
|
-
public getClubType(
|
|
19871
|
-
return ClubsStaffApiFp(this.configuration).getClubType(
|
|
19849
|
+
public getClubType(options?: RawAxiosRequestConfig) {
|
|
19850
|
+
return ClubsStaffApiFp(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
|
|
19872
19851
|
}
|
|
19873
19852
|
|
|
19874
19853
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -15070,11 +15070,10 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
15070
15070
|
getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15071
15071
|
/**
|
|
15072
15072
|
*
|
|
15073
|
-
* @param {string} clubId
|
|
15074
15073
|
* @param {*} [options] Override http request option.
|
|
15075
15074
|
* @throws {RequiredError}
|
|
15076
15075
|
*/
|
|
15077
|
-
getClubType: (
|
|
15076
|
+
getClubType: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15078
15077
|
/**
|
|
15079
15078
|
* Récupère les terrains d\'un club
|
|
15080
15079
|
* @param {*} [options] Override http request option.
|
|
@@ -15155,11 +15154,10 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
15155
15154
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
|
|
15156
15155
|
/**
|
|
15157
15156
|
*
|
|
15158
|
-
* @param {string} clubId
|
|
15159
15157
|
* @param {*} [options] Override http request option.
|
|
15160
15158
|
* @throws {RequiredError}
|
|
15161
15159
|
*/
|
|
15162
|
-
getClubType(
|
|
15160
|
+
getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
|
|
15163
15161
|
/**
|
|
15164
15162
|
* Récupère les terrains d\'un club
|
|
15165
15163
|
* @param {*} [options] Override http request option.
|
|
@@ -15239,11 +15237,10 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
15239
15237
|
getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
|
|
15240
15238
|
/**
|
|
15241
15239
|
*
|
|
15242
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
15243
15240
|
* @param {*} [options] Override http request option.
|
|
15244
15241
|
* @throws {RequiredError}
|
|
15245
15242
|
*/
|
|
15246
|
-
getClubType(
|
|
15243
|
+
getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
|
|
15247
15244
|
/**
|
|
15248
15245
|
* Récupère les terrains d\'un club
|
|
15249
15246
|
* @param {*} [options] Override http request option.
|
|
@@ -15291,19 +15288,6 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
|
|
|
15291
15288
|
*/
|
|
15292
15289
|
readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
|
|
15293
15290
|
}
|
|
15294
|
-
/**
|
|
15295
|
-
* Request parameters for getClubType operation in ClubsStaffApi.
|
|
15296
|
-
* @export
|
|
15297
|
-
* @interface ClubsStaffApiGetClubTypeRequest
|
|
15298
|
-
*/
|
|
15299
|
-
export interface ClubsStaffApiGetClubTypeRequest {
|
|
15300
|
-
/**
|
|
15301
|
-
*
|
|
15302
|
-
* @type {string}
|
|
15303
|
-
* @memberof ClubsStaffApiGetClubType
|
|
15304
|
-
*/
|
|
15305
|
-
readonly clubId: string;
|
|
15306
|
-
}
|
|
15307
15291
|
/**
|
|
15308
15292
|
* Request parameters for getInvoices operation in ClubsStaffApi.
|
|
15309
15293
|
* @export
|
|
@@ -15437,12 +15421,11 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
15437
15421
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
|
|
15438
15422
|
/**
|
|
15439
15423
|
*
|
|
15440
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
15441
15424
|
* @param {*} [options] Override http request option.
|
|
15442
15425
|
* @throws {RequiredError}
|
|
15443
15426
|
* @memberof ClubsStaffApi
|
|
15444
15427
|
*/
|
|
15445
|
-
getClubType(
|
|
15428
|
+
getClubType(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
|
|
15446
15429
|
/**
|
|
15447
15430
|
* Récupère les terrains d\'un club
|
|
15448
15431
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -6658,15 +6658,11 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6658
6658
|
}),
|
|
6659
6659
|
/**
|
|
6660
6660
|
*
|
|
6661
|
-
* @param {string} clubId
|
|
6662
6661
|
* @param {*} [options] Override http request option.
|
|
6663
6662
|
* @throws {RequiredError}
|
|
6664
6663
|
*/
|
|
6665
|
-
getClubType: (
|
|
6666
|
-
|
|
6667
|
-
(0, common_1.assertParamExists)('getClubType', 'clubId', clubId);
|
|
6668
|
-
const localVarPath = `/api/clubs/{clubId}/clubType`
|
|
6669
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
6664
|
+
getClubType: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6665
|
+
const localVarPath = `/api/clubs/clubType`;
|
|
6670
6666
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6671
6667
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6672
6668
|
let baseOptions;
|
|
@@ -6934,14 +6930,13 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
6934
6930
|
},
|
|
6935
6931
|
/**
|
|
6936
6932
|
*
|
|
6937
|
-
* @param {string} clubId
|
|
6938
6933
|
* @param {*} [options] Override http request option.
|
|
6939
6934
|
* @throws {RequiredError}
|
|
6940
6935
|
*/
|
|
6941
|
-
getClubType(
|
|
6936
|
+
getClubType(options) {
|
|
6942
6937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6943
6938
|
var _a, _b, _c;
|
|
6944
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(
|
|
6939
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(options);
|
|
6945
6940
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6946
6941
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getClubType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6947
6942
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7074,12 +7069,11 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
7074
7069
|
},
|
|
7075
7070
|
/**
|
|
7076
7071
|
*
|
|
7077
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
7078
7072
|
* @param {*} [options] Override http request option.
|
|
7079
7073
|
* @throws {RequiredError}
|
|
7080
7074
|
*/
|
|
7081
|
-
getClubType(
|
|
7082
|
-
return localVarFp.getClubType(
|
|
7075
|
+
getClubType(options) {
|
|
7076
|
+
return localVarFp.getClubType(options).then((request) => request(axios, basePath));
|
|
7083
7077
|
},
|
|
7084
7078
|
/**
|
|
7085
7079
|
* Récupère les terrains d\'un club
|
|
@@ -7183,13 +7177,12 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
7183
7177
|
}
|
|
7184
7178
|
/**
|
|
7185
7179
|
*
|
|
7186
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
7187
7180
|
* @param {*} [options] Override http request option.
|
|
7188
7181
|
* @throws {RequiredError}
|
|
7189
7182
|
* @memberof ClubsStaffApi
|
|
7190
7183
|
*/
|
|
7191
|
-
getClubType(
|
|
7192
|
-
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubType(
|
|
7184
|
+
getClubType(options) {
|
|
7185
|
+
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
|
|
7193
7186
|
}
|
|
7194
7187
|
/**
|
|
7195
7188
|
* Récupère les terrains d\'un club
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -15070,11 +15070,10 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
15070
15070
|
getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15071
15071
|
/**
|
|
15072
15072
|
*
|
|
15073
|
-
* @param {string} clubId
|
|
15074
15073
|
* @param {*} [options] Override http request option.
|
|
15075
15074
|
* @throws {RequiredError}
|
|
15076
15075
|
*/
|
|
15077
|
-
getClubType: (
|
|
15076
|
+
getClubType: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15078
15077
|
/**
|
|
15079
15078
|
* Récupère les terrains d\'un club
|
|
15080
15079
|
* @param {*} [options] Override http request option.
|
|
@@ -15155,11 +15154,10 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
15155
15154
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
|
|
15156
15155
|
/**
|
|
15157
15156
|
*
|
|
15158
|
-
* @param {string} clubId
|
|
15159
15157
|
* @param {*} [options] Override http request option.
|
|
15160
15158
|
* @throws {RequiredError}
|
|
15161
15159
|
*/
|
|
15162
|
-
getClubType(
|
|
15160
|
+
getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
|
|
15163
15161
|
/**
|
|
15164
15162
|
* Récupère les terrains d\'un club
|
|
15165
15163
|
* @param {*} [options] Override http request option.
|
|
@@ -15239,11 +15237,10 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
15239
15237
|
getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
|
|
15240
15238
|
/**
|
|
15241
15239
|
*
|
|
15242
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
15243
15240
|
* @param {*} [options] Override http request option.
|
|
15244
15241
|
* @throws {RequiredError}
|
|
15245
15242
|
*/
|
|
15246
|
-
getClubType(
|
|
15243
|
+
getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
|
|
15247
15244
|
/**
|
|
15248
15245
|
* Récupère les terrains d\'un club
|
|
15249
15246
|
* @param {*} [options] Override http request option.
|
|
@@ -15291,19 +15288,6 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
|
|
|
15291
15288
|
*/
|
|
15292
15289
|
readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
|
|
15293
15290
|
}
|
|
15294
|
-
/**
|
|
15295
|
-
* Request parameters for getClubType operation in ClubsStaffApi.
|
|
15296
|
-
* @export
|
|
15297
|
-
* @interface ClubsStaffApiGetClubTypeRequest
|
|
15298
|
-
*/
|
|
15299
|
-
export interface ClubsStaffApiGetClubTypeRequest {
|
|
15300
|
-
/**
|
|
15301
|
-
*
|
|
15302
|
-
* @type {string}
|
|
15303
|
-
* @memberof ClubsStaffApiGetClubType
|
|
15304
|
-
*/
|
|
15305
|
-
readonly clubId: string;
|
|
15306
|
-
}
|
|
15307
15291
|
/**
|
|
15308
15292
|
* Request parameters for getInvoices operation in ClubsStaffApi.
|
|
15309
15293
|
* @export
|
|
@@ -15437,12 +15421,11 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
15437
15421
|
getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
|
|
15438
15422
|
/**
|
|
15439
15423
|
*
|
|
15440
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
15441
15424
|
* @param {*} [options] Override http request option.
|
|
15442
15425
|
* @throws {RequiredError}
|
|
15443
15426
|
* @memberof ClubsStaffApi
|
|
15444
15427
|
*/
|
|
15445
|
-
getClubType(
|
|
15428
|
+
getClubType(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
|
|
15446
15429
|
/**
|
|
15447
15430
|
* Récupère les terrains d\'un club
|
|
15448
15431
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -6600,15 +6600,11 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6600
6600
|
}),
|
|
6601
6601
|
/**
|
|
6602
6602
|
*
|
|
6603
|
-
* @param {string} clubId
|
|
6604
6603
|
* @param {*} [options] Override http request option.
|
|
6605
6604
|
* @throws {RequiredError}
|
|
6606
6605
|
*/
|
|
6607
|
-
getClubType: (
|
|
6608
|
-
|
|
6609
|
-
assertParamExists('getClubType', 'clubId', clubId);
|
|
6610
|
-
const localVarPath = `/api/clubs/{clubId}/clubType`
|
|
6611
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
6606
|
+
getClubType: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6607
|
+
const localVarPath = `/api/clubs/clubType`;
|
|
6612
6608
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6613
6609
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6614
6610
|
let baseOptions;
|
|
@@ -6875,14 +6871,13 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
6875
6871
|
},
|
|
6876
6872
|
/**
|
|
6877
6873
|
*
|
|
6878
|
-
* @param {string} clubId
|
|
6879
6874
|
* @param {*} [options] Override http request option.
|
|
6880
6875
|
* @throws {RequiredError}
|
|
6881
6876
|
*/
|
|
6882
|
-
getClubType(
|
|
6877
|
+
getClubType(options) {
|
|
6883
6878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6884
6879
|
var _a, _b, _c;
|
|
6885
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(
|
|
6880
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(options);
|
|
6886
6881
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6887
6882
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6888
6883
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7014,12 +7009,11 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
7014
7009
|
},
|
|
7015
7010
|
/**
|
|
7016
7011
|
*
|
|
7017
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
7018
7012
|
* @param {*} [options] Override http request option.
|
|
7019
7013
|
* @throws {RequiredError}
|
|
7020
7014
|
*/
|
|
7021
|
-
getClubType(
|
|
7022
|
-
return localVarFp.getClubType(
|
|
7015
|
+
getClubType(options) {
|
|
7016
|
+
return localVarFp.getClubType(options).then((request) => request(axios, basePath));
|
|
7023
7017
|
},
|
|
7024
7018
|
/**
|
|
7025
7019
|
* Récupère les terrains d\'un club
|
|
@@ -7122,13 +7116,12 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
7122
7116
|
}
|
|
7123
7117
|
/**
|
|
7124
7118
|
*
|
|
7125
|
-
* @param {ClubsStaffApiGetClubTypeRequest} requestParameters Request parameters.
|
|
7126
7119
|
* @param {*} [options] Override http request option.
|
|
7127
7120
|
* @throws {RequiredError}
|
|
7128
7121
|
* @memberof ClubsStaffApi
|
|
7129
7122
|
*/
|
|
7130
|
-
getClubType(
|
|
7131
|
-
return ClubsStaffApiFp(this.configuration).getClubType(
|
|
7123
|
+
getClubType(options) {
|
|
7124
|
+
return ClubsStaffApiFp(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
|
|
7132
7125
|
}
|
|
7133
7126
|
/**
|
|
7134
7127
|
* Récupère les terrains d\'un club
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -10,7 +10,7 @@ All URIs are relative to *http://localhost*
|
|
|
10
10
|
|[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | |
|
|
11
11
|
|[**getClubPresentationSettings**](#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation | |
|
|
12
12
|
|[**getClubRoles**](#getclubroles) | **GET** /api/clubs/roles | |
|
|
13
|
-
|[**getClubType**](#getclubtype) | **GET** /api/clubs/
|
|
13
|
+
|[**getClubType**](#getclubtype) | **GET** /api/clubs/clubType | |
|
|
14
14
|
|[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/courts | |
|
|
15
15
|
|[**getInvoices**](#getinvoices) | **GET** /api/clubs/invoices | |
|
|
16
16
|
|[**getUserProfileStaff**](#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} | |
|
|
@@ -308,18 +308,11 @@ import {
|
|
|
308
308
|
const configuration = new Configuration();
|
|
309
309
|
const apiInstance = new ClubsStaffApi(configuration);
|
|
310
310
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
const { status, data } = await apiInstance.getClubType(
|
|
314
|
-
clubId
|
|
315
|
-
);
|
|
311
|
+
const { status, data } = await apiInstance.getClubType();
|
|
316
312
|
```
|
|
317
313
|
|
|
318
314
|
### Parameters
|
|
319
|
-
|
|
320
|
-
|Name | Type | Description | Notes|
|
|
321
|
-
|------------- | ------------- | ------------- | -------------|
|
|
322
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
315
|
+
This endpoint does not have any parameters.
|
|
323
316
|
|
|
324
317
|
|
|
325
318
|
### Return type
|