@tennac-booking/sdk 1.0.239 → 1.0.241
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 +1 -0
- package/README.md +4 -3
- package/api.ts +93 -74
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +62 -43
- package/dist/api.js +62 -62
- 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 +62 -43
- package/dist/esm/api.js +62 -62
- 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/ClubsApi.md +29 -29
- package/docs/GetAvailableSlotsDaysByClubById200Response.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.240
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6442,16 +6442,20 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6442
6442
|
};
|
|
6443
6443
|
}),
|
|
6444
6444
|
/**
|
|
6445
|
-
*
|
|
6446
|
-
* @param {string}
|
|
6445
|
+
*
|
|
6446
|
+
* @param {string} id
|
|
6447
|
+
* @param {string} sportId
|
|
6447
6448
|
* @param {*} [options] Override http request option.
|
|
6448
6449
|
* @throws {RequiredError}
|
|
6449
6450
|
*/
|
|
6450
|
-
|
|
6451
|
-
// verify required parameter '
|
|
6452
|
-
(0, common_1.assertParamExists)('
|
|
6453
|
-
|
|
6454
|
-
|
|
6451
|
+
getAvailableSlotsBySports: (id_1, sportId_1, ...args_1) => __awaiter(this, [id_1, sportId_1, ...args_1], void 0, function* (id, sportId, options = {}) {
|
|
6452
|
+
// verify required parameter 'id' is not null or undefined
|
|
6453
|
+
(0, common_1.assertParamExists)('getAvailableSlotsBySports', 'id', id);
|
|
6454
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
6455
|
+
(0, common_1.assertParamExists)('getAvailableSlotsBySports', 'sportId', sportId);
|
|
6456
|
+
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots`
|
|
6457
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
6458
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
6455
6459
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6456
6460
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6457
6461
|
let baseOptions;
|
|
@@ -6473,17 +6477,21 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6473
6477
|
*
|
|
6474
6478
|
* @param {string} id
|
|
6475
6479
|
* @param {string} sportId
|
|
6480
|
+
* @param {string} day
|
|
6476
6481
|
* @param {*} [options] Override http request option.
|
|
6477
6482
|
* @throws {RequiredError}
|
|
6478
6483
|
*/
|
|
6479
|
-
|
|
6484
|
+
getAvailableSlotsBySportsAndDay: (id_1, sportId_1, day_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, ...args_1], void 0, function* (id, sportId, day, options = {}) {
|
|
6480
6485
|
// verify required parameter 'id' is not null or undefined
|
|
6481
|
-
(0, common_1.assertParamExists)('
|
|
6486
|
+
(0, common_1.assertParamExists)('getAvailableSlotsBySportsAndDay', 'id', id);
|
|
6482
6487
|
// verify required parameter 'sportId' is not null or undefined
|
|
6483
|
-
(0, common_1.assertParamExists)('
|
|
6484
|
-
|
|
6488
|
+
(0, common_1.assertParamExists)('getAvailableSlotsBySportsAndDay', 'sportId', sportId);
|
|
6489
|
+
// verify required parameter 'day' is not null or undefined
|
|
6490
|
+
(0, common_1.assertParamExists)('getAvailableSlotsBySportsAndDay', 'day', day);
|
|
6491
|
+
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots/{day}`
|
|
6485
6492
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
6486
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
6493
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
6494
|
+
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
6487
6495
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6488
6496
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6489
6497
|
let baseOptions;
|
|
@@ -6502,24 +6510,16 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6502
6510
|
};
|
|
6503
6511
|
}),
|
|
6504
6512
|
/**
|
|
6505
|
-
*
|
|
6506
|
-
* @param {string}
|
|
6507
|
-
* @param {string} sportId
|
|
6508
|
-
* @param {string} day
|
|
6513
|
+
* reference to artillery tests
|
|
6514
|
+
* @param {string} clubID
|
|
6509
6515
|
* @param {*} [options] Override http request option.
|
|
6510
6516
|
* @throws {RequiredError}
|
|
6511
6517
|
*/
|
|
6512
|
-
|
|
6513
|
-
// verify required parameter '
|
|
6514
|
-
(0, common_1.assertParamExists)('
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
// verify required parameter 'day' is not null or undefined
|
|
6518
|
-
(0, common_1.assertParamExists)('getAvailableSlotsBySportsAndDay', 'day', day);
|
|
6519
|
-
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots/{day}`
|
|
6520
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
6521
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
6522
|
-
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
6518
|
+
getAvailableSlotsDaysByClubById: (clubID_1, ...args_1) => __awaiter(this, [clubID_1, ...args_1], void 0, function* (clubID, options = {}) {
|
|
6519
|
+
// verify required parameter 'clubID' is not null or undefined
|
|
6520
|
+
(0, common_1.assertParamExists)('getAvailableSlotsDaysByClubById', 'clubID', clubID);
|
|
6521
|
+
const localVarPath = `/api/clubs/{clubID}/availableSlotsDays`
|
|
6522
|
+
.replace(`{${"clubID"}}`, encodeURIComponent(String(clubID)));
|
|
6523
6523
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6524
6524
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6525
6525
|
let baseOptions;
|
|
@@ -6890,21 +6890,6 @@ const ClubsApiFp = function (configuration) {
|
|
|
6890
6890
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6891
6891
|
});
|
|
6892
6892
|
},
|
|
6893
|
-
/**
|
|
6894
|
-
* reference to artillery tests
|
|
6895
|
-
* @param {string} clubID
|
|
6896
|
-
* @param {*} [options] Override http request option.
|
|
6897
|
-
* @throws {RequiredError}
|
|
6898
|
-
*/
|
|
6899
|
-
getAvailableSlotsByClubById(clubID, options) {
|
|
6900
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6901
|
-
var _a, _b, _c;
|
|
6902
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsByClubById(clubID, options);
|
|
6903
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6904
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getAvailableSlotsByClubById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6905
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6906
|
-
});
|
|
6907
|
-
},
|
|
6908
6893
|
/**
|
|
6909
6894
|
*
|
|
6910
6895
|
* @param {string} id
|
|
@@ -6938,6 +6923,21 @@ const ClubsApiFp = function (configuration) {
|
|
|
6938
6923
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6939
6924
|
});
|
|
6940
6925
|
},
|
|
6926
|
+
/**
|
|
6927
|
+
* reference to artillery tests
|
|
6928
|
+
* @param {string} clubID
|
|
6929
|
+
* @param {*} [options] Override http request option.
|
|
6930
|
+
* @throws {RequiredError}
|
|
6931
|
+
*/
|
|
6932
|
+
getAvailableSlotsDaysByClubById(clubID, options) {
|
|
6933
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6934
|
+
var _a, _b, _c;
|
|
6935
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsDaysByClubById(clubID, options);
|
|
6936
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6937
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getAvailableSlotsDaysByClubById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6938
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6939
|
+
});
|
|
6940
|
+
},
|
|
6941
6941
|
/**
|
|
6942
6942
|
* Récupère les informations d\'un club spécifique
|
|
6943
6943
|
* @param {*} [options] Override http request option.
|
|
@@ -7130,15 +7130,6 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7130
7130
|
getAllClubs(options) {
|
|
7131
7131
|
return localVarFp.getAllClubs(options).then((request) => request(axios, basePath));
|
|
7132
7132
|
},
|
|
7133
|
-
/**
|
|
7134
|
-
* reference to artillery tests
|
|
7135
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
7136
|
-
* @param {*} [options] Override http request option.
|
|
7137
|
-
* @throws {RequiredError}
|
|
7138
|
-
*/
|
|
7139
|
-
getAvailableSlotsByClubById(requestParameters, options) {
|
|
7140
|
-
return localVarFp.getAvailableSlotsByClubById(requestParameters.clubID, options).then((request) => request(axios, basePath));
|
|
7141
|
-
},
|
|
7142
7133
|
/**
|
|
7143
7134
|
*
|
|
7144
7135
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -7157,6 +7148,15 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7157
7148
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7158
7149
|
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
7159
7150
|
},
|
|
7151
|
+
/**
|
|
7152
|
+
* reference to artillery tests
|
|
7153
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
7154
|
+
* @param {*} [options] Override http request option.
|
|
7155
|
+
* @throws {RequiredError}
|
|
7156
|
+
*/
|
|
7157
|
+
getAvailableSlotsDaysByClubById(requestParameters, options) {
|
|
7158
|
+
return localVarFp.getAvailableSlotsDaysByClubById(requestParameters.clubID, options).then((request) => request(axios, basePath));
|
|
7159
|
+
},
|
|
7160
7160
|
/**
|
|
7161
7161
|
* Récupère les informations d\'un club spécifique
|
|
7162
7162
|
* @param {*} [options] Override http request option.
|
|
@@ -7282,16 +7282,6 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
7282
7282
|
getAllClubs(options) {
|
|
7283
7283
|
return (0, exports.ClubsApiFp)(this.configuration).getAllClubs(options).then((request) => request(this.axios, this.basePath));
|
|
7284
7284
|
}
|
|
7285
|
-
/**
|
|
7286
|
-
* reference to artillery tests
|
|
7287
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
7288
|
-
* @param {*} [options] Override http request option.
|
|
7289
|
-
* @throws {RequiredError}
|
|
7290
|
-
* @memberof ClubsApi
|
|
7291
|
-
*/
|
|
7292
|
-
getAvailableSlotsByClubById(requestParameters, options) {
|
|
7293
|
-
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotsByClubById(requestParameters.clubID, options).then((request) => request(this.axios, this.basePath));
|
|
7294
|
-
}
|
|
7295
7285
|
/**
|
|
7296
7286
|
*
|
|
7297
7287
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -7312,6 +7302,16 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
7312
7302
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7313
7303
|
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
7314
7304
|
}
|
|
7305
|
+
/**
|
|
7306
|
+
* reference to artillery tests
|
|
7307
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
7308
|
+
* @param {*} [options] Override http request option.
|
|
7309
|
+
* @throws {RequiredError}
|
|
7310
|
+
* @memberof ClubsApi
|
|
7311
|
+
*/
|
|
7312
|
+
getAvailableSlotsDaysByClubById(requestParameters, options) {
|
|
7313
|
+
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotsDaysByClubById(requestParameters.clubID, options).then((request) => request(this.axios, this.basePath));
|
|
7314
|
+
}
|
|
7315
7315
|
/**
|
|
7316
7316
|
* Récupère les informations d\'un club spécifique
|
|
7317
7317
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.240
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6601,6 +6601,25 @@ export interface GetAvailableSlotsBySports200Response {
|
|
|
6601
6601
|
*/
|
|
6602
6602
|
'slots': Array<any>;
|
|
6603
6603
|
}
|
|
6604
|
+
/**
|
|
6605
|
+
*
|
|
6606
|
+
* @export
|
|
6607
|
+
* @interface GetAvailableSlotsDaysByClubById200Response
|
|
6608
|
+
*/
|
|
6609
|
+
export interface GetAvailableSlotsDaysByClubById200Response {
|
|
6610
|
+
/**
|
|
6611
|
+
*
|
|
6612
|
+
* @type {string}
|
|
6613
|
+
* @memberof GetAvailableSlotsDaysByClubById200Response
|
|
6614
|
+
*/
|
|
6615
|
+
'lastSlotDate': string | null;
|
|
6616
|
+
/**
|
|
6617
|
+
*
|
|
6618
|
+
* @type {Array<string>}
|
|
6619
|
+
* @memberof GetAvailableSlotsDaysByClubById200Response
|
|
6620
|
+
*/
|
|
6621
|
+
'availableDays': Array<string>;
|
|
6622
|
+
}
|
|
6604
6623
|
/**
|
|
6605
6624
|
*
|
|
6606
6625
|
* @export
|
|
@@ -19929,13 +19948,6 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
19929
19948
|
* @throws {RequiredError}
|
|
19930
19949
|
*/
|
|
19931
19950
|
getAllClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19932
|
-
/**
|
|
19933
|
-
* reference to artillery tests
|
|
19934
|
-
* @param {string} clubID
|
|
19935
|
-
* @param {*} [options] Override http request option.
|
|
19936
|
-
* @throws {RequiredError}
|
|
19937
|
-
*/
|
|
19938
|
-
getAvailableSlotsByClubById: (clubID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19939
19951
|
/**
|
|
19940
19952
|
*
|
|
19941
19953
|
* @param {string} id
|
|
@@ -19953,6 +19965,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
19953
19965
|
* @throws {RequiredError}
|
|
19954
19966
|
*/
|
|
19955
19967
|
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19968
|
+
/**
|
|
19969
|
+
* reference to artillery tests
|
|
19970
|
+
* @param {string} clubID
|
|
19971
|
+
* @param {*} [options] Override http request option.
|
|
19972
|
+
* @throws {RequiredError}
|
|
19973
|
+
*/
|
|
19974
|
+
getAvailableSlotsDaysByClubById: (clubID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19956
19975
|
/**
|
|
19957
19976
|
* Récupère les informations d\'un club spécifique
|
|
19958
19977
|
* @param {*} [options] Override http request option.
|
|
@@ -20049,13 +20068,6 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
20049
20068
|
* @throws {RequiredError}
|
|
20050
20069
|
*/
|
|
20051
20070
|
getAllClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClubResponse>>>;
|
|
20052
|
-
/**
|
|
20053
|
-
* reference to artillery tests
|
|
20054
|
-
* @param {string} clubID
|
|
20055
|
-
* @param {*} [options] Override http request option.
|
|
20056
|
-
* @throws {RequiredError}
|
|
20057
|
-
*/
|
|
20058
|
-
getAvailableSlotsByClubById(clubID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSlotsByClubById200Response>>;
|
|
20059
20071
|
/**
|
|
20060
20072
|
*
|
|
20061
20073
|
* @param {string} id
|
|
@@ -20073,6 +20085,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
20073
20085
|
* @throws {RequiredError}
|
|
20074
20086
|
*/
|
|
20075
20087
|
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySports200Response>>;
|
|
20088
|
+
/**
|
|
20089
|
+
* reference to artillery tests
|
|
20090
|
+
* @param {string} clubID
|
|
20091
|
+
* @param {*} [options] Override http request option.
|
|
20092
|
+
* @throws {RequiredError}
|
|
20093
|
+
*/
|
|
20094
|
+
getAvailableSlotsDaysByClubById(clubID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsDaysByClubById200Response>>;
|
|
20076
20095
|
/**
|
|
20077
20096
|
* Récupère les informations d\'un club spécifique
|
|
20078
20097
|
* @param {*} [options] Override http request option.
|
|
@@ -20169,13 +20188,6 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
20169
20188
|
* @throws {RequiredError}
|
|
20170
20189
|
*/
|
|
20171
20190
|
getAllClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClubResponse>>;
|
|
20172
|
-
/**
|
|
20173
|
-
* reference to artillery tests
|
|
20174
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
20175
|
-
* @param {*} [options] Override http request option.
|
|
20176
|
-
* @throws {RequiredError}
|
|
20177
|
-
*/
|
|
20178
|
-
getAvailableSlotsByClubById(requestParameters: ClubsApiGetAvailableSlotsByClubByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSlotsByClubById200Response>;
|
|
20179
20191
|
/**
|
|
20180
20192
|
*
|
|
20181
20193
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -20190,6 +20202,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
20190
20202
|
* @throws {RequiredError}
|
|
20191
20203
|
*/
|
|
20192
20204
|
getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySports200Response>;
|
|
20205
|
+
/**
|
|
20206
|
+
* reference to artillery tests
|
|
20207
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
20208
|
+
* @param {*} [options] Override http request option.
|
|
20209
|
+
* @throws {RequiredError}
|
|
20210
|
+
*/
|
|
20211
|
+
getAvailableSlotsDaysByClubById(requestParameters: ClubsApiGetAvailableSlotsDaysByClubByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsDaysByClubById200Response>;
|
|
20193
20212
|
/**
|
|
20194
20213
|
* Récupère les informations d\'un club spécifique
|
|
20195
20214
|
* @param {*} [options] Override http request option.
|
|
@@ -20266,19 +20285,6 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
20266
20285
|
*/
|
|
20267
20286
|
getSportsByClubById(requestParameters: ClubsApiGetSportsByClubByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>>;
|
|
20268
20287
|
};
|
|
20269
|
-
/**
|
|
20270
|
-
* Request parameters for getAvailableSlotsByClubById operation in ClubsApi.
|
|
20271
|
-
* @export
|
|
20272
|
-
* @interface ClubsApiGetAvailableSlotsByClubByIdRequest
|
|
20273
|
-
*/
|
|
20274
|
-
export interface ClubsApiGetAvailableSlotsByClubByIdRequest {
|
|
20275
|
-
/**
|
|
20276
|
-
*
|
|
20277
|
-
* @type {string}
|
|
20278
|
-
* @memberof ClubsApiGetAvailableSlotsByClubById
|
|
20279
|
-
*/
|
|
20280
|
-
readonly clubID: string;
|
|
20281
|
-
}
|
|
20282
20288
|
/**
|
|
20283
20289
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
20284
20290
|
* @export
|
|
@@ -20323,6 +20329,19 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
20323
20329
|
*/
|
|
20324
20330
|
readonly day: string;
|
|
20325
20331
|
}
|
|
20332
|
+
/**
|
|
20333
|
+
* Request parameters for getAvailableSlotsDaysByClubById operation in ClubsApi.
|
|
20334
|
+
* @export
|
|
20335
|
+
* @interface ClubsApiGetAvailableSlotsDaysByClubByIdRequest
|
|
20336
|
+
*/
|
|
20337
|
+
export interface ClubsApiGetAvailableSlotsDaysByClubByIdRequest {
|
|
20338
|
+
/**
|
|
20339
|
+
*
|
|
20340
|
+
* @type {string}
|
|
20341
|
+
* @memberof ClubsApiGetAvailableSlotsDaysByClubById
|
|
20342
|
+
*/
|
|
20343
|
+
readonly clubID: string;
|
|
20344
|
+
}
|
|
20326
20345
|
/**
|
|
20327
20346
|
* Request parameters for getClubMetadata operation in ClubsApi.
|
|
20328
20347
|
* @export
|
|
@@ -20479,14 +20498,6 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
20479
20498
|
* @memberof ClubsApi
|
|
20480
20499
|
*/
|
|
20481
20500
|
getAllClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse[], any, {}>>;
|
|
20482
|
-
/**
|
|
20483
|
-
* reference to artillery tests
|
|
20484
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
20485
|
-
* @param {*} [options] Override http request option.
|
|
20486
|
-
* @throws {RequiredError}
|
|
20487
|
-
* @memberof ClubsApi
|
|
20488
|
-
*/
|
|
20489
|
-
getAvailableSlotsByClubById(requestParameters: ClubsApiGetAvailableSlotsByClubByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSlotsByClubById200Response, any, {}>>;
|
|
20490
20501
|
/**
|
|
20491
20502
|
*
|
|
20492
20503
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -20503,6 +20514,14 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
20503
20514
|
* @memberof ClubsApi
|
|
20504
20515
|
*/
|
|
20505
20516
|
getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAvailableSlotsBySports200Response, any, {}>>;
|
|
20517
|
+
/**
|
|
20518
|
+
* reference to artillery tests
|
|
20519
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
20520
|
+
* @param {*} [options] Override http request option.
|
|
20521
|
+
* @throws {RequiredError}
|
|
20522
|
+
* @memberof ClubsApi
|
|
20523
|
+
*/
|
|
20524
|
+
getAvailableSlotsDaysByClubById(requestParameters: ClubsApiGetAvailableSlotsDaysByClubByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAvailableSlotsDaysByClubById200Response, any, {}>>;
|
|
20506
20525
|
/**
|
|
20507
20526
|
* Récupère les informations d\'un club spécifique
|
|
20508
20527
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.240
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6379,16 +6379,20 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6379
6379
|
};
|
|
6380
6380
|
}),
|
|
6381
6381
|
/**
|
|
6382
|
-
*
|
|
6383
|
-
* @param {string}
|
|
6382
|
+
*
|
|
6383
|
+
* @param {string} id
|
|
6384
|
+
* @param {string} sportId
|
|
6384
6385
|
* @param {*} [options] Override http request option.
|
|
6385
6386
|
* @throws {RequiredError}
|
|
6386
6387
|
*/
|
|
6387
|
-
|
|
6388
|
-
// verify required parameter '
|
|
6389
|
-
assertParamExists('
|
|
6390
|
-
|
|
6391
|
-
|
|
6388
|
+
getAvailableSlotsBySports: (id_1, sportId_1, ...args_1) => __awaiter(this, [id_1, sportId_1, ...args_1], void 0, function* (id, sportId, options = {}) {
|
|
6389
|
+
// verify required parameter 'id' is not null or undefined
|
|
6390
|
+
assertParamExists('getAvailableSlotsBySports', 'id', id);
|
|
6391
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
6392
|
+
assertParamExists('getAvailableSlotsBySports', 'sportId', sportId);
|
|
6393
|
+
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots`
|
|
6394
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
6395
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
6392
6396
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6393
6397
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6394
6398
|
let baseOptions;
|
|
@@ -6410,17 +6414,21 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6410
6414
|
*
|
|
6411
6415
|
* @param {string} id
|
|
6412
6416
|
* @param {string} sportId
|
|
6417
|
+
* @param {string} day
|
|
6413
6418
|
* @param {*} [options] Override http request option.
|
|
6414
6419
|
* @throws {RequiredError}
|
|
6415
6420
|
*/
|
|
6416
|
-
|
|
6421
|
+
getAvailableSlotsBySportsAndDay: (id_1, sportId_1, day_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, ...args_1], void 0, function* (id, sportId, day, options = {}) {
|
|
6417
6422
|
// verify required parameter 'id' is not null or undefined
|
|
6418
|
-
assertParamExists('
|
|
6423
|
+
assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id);
|
|
6419
6424
|
// verify required parameter 'sportId' is not null or undefined
|
|
6420
|
-
assertParamExists('
|
|
6421
|
-
|
|
6425
|
+
assertParamExists('getAvailableSlotsBySportsAndDay', 'sportId', sportId);
|
|
6426
|
+
// verify required parameter 'day' is not null or undefined
|
|
6427
|
+
assertParamExists('getAvailableSlotsBySportsAndDay', 'day', day);
|
|
6428
|
+
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots/{day}`
|
|
6422
6429
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
6423
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
6430
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
6431
|
+
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
6424
6432
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6425
6433
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6426
6434
|
let baseOptions;
|
|
@@ -6439,24 +6447,16 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6439
6447
|
};
|
|
6440
6448
|
}),
|
|
6441
6449
|
/**
|
|
6442
|
-
*
|
|
6443
|
-
* @param {string}
|
|
6444
|
-
* @param {string} sportId
|
|
6445
|
-
* @param {string} day
|
|
6450
|
+
* reference to artillery tests
|
|
6451
|
+
* @param {string} clubID
|
|
6446
6452
|
* @param {*} [options] Override http request option.
|
|
6447
6453
|
* @throws {RequiredError}
|
|
6448
6454
|
*/
|
|
6449
|
-
|
|
6450
|
-
// verify required parameter '
|
|
6451
|
-
assertParamExists('
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
// verify required parameter 'day' is not null or undefined
|
|
6455
|
-
assertParamExists('getAvailableSlotsBySportsAndDay', 'day', day);
|
|
6456
|
-
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots/{day}`
|
|
6457
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
6458
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
6459
|
-
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
6455
|
+
getAvailableSlotsDaysByClubById: (clubID_1, ...args_1) => __awaiter(this, [clubID_1, ...args_1], void 0, function* (clubID, options = {}) {
|
|
6456
|
+
// verify required parameter 'clubID' is not null or undefined
|
|
6457
|
+
assertParamExists('getAvailableSlotsDaysByClubById', 'clubID', clubID);
|
|
6458
|
+
const localVarPath = `/api/clubs/{clubID}/availableSlotsDays`
|
|
6459
|
+
.replace(`{${"clubID"}}`, encodeURIComponent(String(clubID)));
|
|
6460
6460
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6461
6461
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6462
6462
|
let baseOptions;
|
|
@@ -6826,21 +6826,6 @@ export const ClubsApiFp = function (configuration) {
|
|
|
6826
6826
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6827
6827
|
});
|
|
6828
6828
|
},
|
|
6829
|
-
/**
|
|
6830
|
-
* reference to artillery tests
|
|
6831
|
-
* @param {string} clubID
|
|
6832
|
-
* @param {*} [options] Override http request option.
|
|
6833
|
-
* @throws {RequiredError}
|
|
6834
|
-
*/
|
|
6835
|
-
getAvailableSlotsByClubById(clubID, options) {
|
|
6836
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6837
|
-
var _a, _b, _c;
|
|
6838
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsByClubById(clubID, options);
|
|
6839
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6840
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getAvailableSlotsByClubById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6841
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6842
|
-
});
|
|
6843
|
-
},
|
|
6844
6829
|
/**
|
|
6845
6830
|
*
|
|
6846
6831
|
* @param {string} id
|
|
@@ -6874,6 +6859,21 @@ export const ClubsApiFp = function (configuration) {
|
|
|
6874
6859
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6875
6860
|
});
|
|
6876
6861
|
},
|
|
6862
|
+
/**
|
|
6863
|
+
* reference to artillery tests
|
|
6864
|
+
* @param {string} clubID
|
|
6865
|
+
* @param {*} [options] Override http request option.
|
|
6866
|
+
* @throws {RequiredError}
|
|
6867
|
+
*/
|
|
6868
|
+
getAvailableSlotsDaysByClubById(clubID, options) {
|
|
6869
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6870
|
+
var _a, _b, _c;
|
|
6871
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsDaysByClubById(clubID, options);
|
|
6872
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6873
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getAvailableSlotsDaysByClubById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6875
|
+
});
|
|
6876
|
+
},
|
|
6877
6877
|
/**
|
|
6878
6878
|
* Récupère les informations d\'un club spécifique
|
|
6879
6879
|
* @param {*} [options] Override http request option.
|
|
@@ -7065,15 +7065,6 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7065
7065
|
getAllClubs(options) {
|
|
7066
7066
|
return localVarFp.getAllClubs(options).then((request) => request(axios, basePath));
|
|
7067
7067
|
},
|
|
7068
|
-
/**
|
|
7069
|
-
* reference to artillery tests
|
|
7070
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
7071
|
-
* @param {*} [options] Override http request option.
|
|
7072
|
-
* @throws {RequiredError}
|
|
7073
|
-
*/
|
|
7074
|
-
getAvailableSlotsByClubById(requestParameters, options) {
|
|
7075
|
-
return localVarFp.getAvailableSlotsByClubById(requestParameters.clubID, options).then((request) => request(axios, basePath));
|
|
7076
|
-
},
|
|
7077
7068
|
/**
|
|
7078
7069
|
*
|
|
7079
7070
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -7092,6 +7083,15 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7092
7083
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7093
7084
|
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
7094
7085
|
},
|
|
7086
|
+
/**
|
|
7087
|
+
* reference to artillery tests
|
|
7088
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
7089
|
+
* @param {*} [options] Override http request option.
|
|
7090
|
+
* @throws {RequiredError}
|
|
7091
|
+
*/
|
|
7092
|
+
getAvailableSlotsDaysByClubById(requestParameters, options) {
|
|
7093
|
+
return localVarFp.getAvailableSlotsDaysByClubById(requestParameters.clubID, options).then((request) => request(axios, basePath));
|
|
7094
|
+
},
|
|
7095
7095
|
/**
|
|
7096
7096
|
* Récupère les informations d\'un club spécifique
|
|
7097
7097
|
* @param {*} [options] Override http request option.
|
|
@@ -7216,16 +7216,6 @@ export class ClubsApi extends BaseAPI {
|
|
|
7216
7216
|
getAllClubs(options) {
|
|
7217
7217
|
return ClubsApiFp(this.configuration).getAllClubs(options).then((request) => request(this.axios, this.basePath));
|
|
7218
7218
|
}
|
|
7219
|
-
/**
|
|
7220
|
-
* reference to artillery tests
|
|
7221
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
7222
|
-
* @param {*} [options] Override http request option.
|
|
7223
|
-
* @throws {RequiredError}
|
|
7224
|
-
* @memberof ClubsApi
|
|
7225
|
-
*/
|
|
7226
|
-
getAvailableSlotsByClubById(requestParameters, options) {
|
|
7227
|
-
return ClubsApiFp(this.configuration).getAvailableSlotsByClubById(requestParameters.clubID, options).then((request) => request(this.axios, this.basePath));
|
|
7228
|
-
}
|
|
7229
7219
|
/**
|
|
7230
7220
|
*
|
|
7231
7221
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -7246,6 +7236,16 @@ export class ClubsApi extends BaseAPI {
|
|
|
7246
7236
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7247
7237
|
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
7248
7238
|
}
|
|
7239
|
+
/**
|
|
7240
|
+
* reference to artillery tests
|
|
7241
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
7242
|
+
* @param {*} [options] Override http request option.
|
|
7243
|
+
* @throws {RequiredError}
|
|
7244
|
+
* @memberof ClubsApi
|
|
7245
|
+
*/
|
|
7246
|
+
getAvailableSlotsDaysByClubById(requestParameters, options) {
|
|
7247
|
+
return ClubsApiFp(this.configuration).getAvailableSlotsDaysByClubById(requestParameters.clubID, options).then((request) => request(this.axios, this.basePath));
|
|
7248
|
+
}
|
|
7249
7249
|
/**
|
|
7250
7250
|
* Récupère les informations d\'un club spécifique
|
|
7251
7251
|
* @param {*} [options] Override http request option.
|