@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/.openapi-generator/FILES
CHANGED
|
@@ -203,6 +203,7 @@ docs/FavoritePlayersResponse.md
|
|
|
203
203
|
docs/Gender.md
|
|
204
204
|
docs/GenderPercentageResponse.md
|
|
205
205
|
docs/GetAvailableSlotsBySports200Response.md
|
|
206
|
+
docs/GetAvailableSlotsDaysByClubById200Response.md
|
|
206
207
|
docs/GetClubMembers200Response.md
|
|
207
208
|
docs/GetClubRoles200Response.md
|
|
208
209
|
docs/GetClubTimezone200Response.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.240
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.240 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -134,9 +134,9 @@ Class | Method | HTTP request | Description
|
|
|
134
134
|
*ClubSettingsStaffApi* | [**getReservationSettings**](docs/ClubSettingsStaffApi.md#getreservationsettings) | **GET** /api/club-settings/reservation |
|
|
135
135
|
*ClubsApi* | [**getActiveClubs**](docs/ClubsApi.md#getactiveclubs) | **GET** /api/clubs/active |
|
|
136
136
|
*ClubsApi* | [**getAllClubs**](docs/ClubsApi.md#getallclubs) | **GET** /api/clubs |
|
|
137
|
-
*ClubsApi* | [**getAvailableSlotsByClubById**](docs/ClubsApi.md#getavailableslotsbyclubbyid) | **GET** /api/clubs/{clubID}/availableSlots |
|
|
138
137
|
*ClubsApi* | [**getAvailableSlotsBySports**](docs/ClubsApi.md#getavailableslotsbysports) | **GET** /api/clubs/{id}/sports/{sportId}/slots |
|
|
139
138
|
*ClubsApi* | [**getAvailableSlotsBySportsAndDay**](docs/ClubsApi.md#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} |
|
|
139
|
+
*ClubsApi* | [**getAvailableSlotsDaysByClubById**](docs/ClubsApi.md#getavailableslotsdaysbyclubbyid) | **GET** /api/clubs/{clubID}/availableSlotsDays |
|
|
140
140
|
*ClubsApi* | [**getClubInfo**](docs/ClubsApi.md#getclubinfo) | **GET** /api/clubs/info |
|
|
141
141
|
*ClubsApi* | [**getClubMetadata**](docs/ClubsApi.md#getclubmetadata) | **GET** /api/clubs/{clubId}/metadata |
|
|
142
142
|
*ClubsApi* | [**getClubPageInfo**](docs/ClubsApi.md#getclubpageinfo) | **GET** /api/clubs/club-page/{clubId} |
|
|
@@ -498,6 +498,7 @@ Class | Method | HTTP request | Description
|
|
|
498
498
|
- [Gender](docs/Gender.md)
|
|
499
499
|
- [GenderPercentageResponse](docs/GenderPercentageResponse.md)
|
|
500
500
|
- [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
|
|
501
|
+
- [GetAvailableSlotsDaysByClubById200Response](docs/GetAvailableSlotsDaysByClubById200Response.md)
|
|
501
502
|
- [GetClubMembers200Response](docs/GetClubMembers200Response.md)
|
|
502
503
|
- [GetClubRoles200Response](docs/GetClubRoles200Response.md)
|
|
503
504
|
- [GetClubTimezone200Response](docs/GetClubTimezone200Response.md)
|
package/api.ts
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).
|
|
@@ -6698,6 +6698,25 @@ export interface GetAvailableSlotsBySports200Response {
|
|
|
6698
6698
|
*/
|
|
6699
6699
|
'slots': Array<any>;
|
|
6700
6700
|
}
|
|
6701
|
+
/**
|
|
6702
|
+
*
|
|
6703
|
+
* @export
|
|
6704
|
+
* @interface GetAvailableSlotsDaysByClubById200Response
|
|
6705
|
+
*/
|
|
6706
|
+
export interface GetAvailableSlotsDaysByClubById200Response {
|
|
6707
|
+
/**
|
|
6708
|
+
*
|
|
6709
|
+
* @type {string}
|
|
6710
|
+
* @memberof GetAvailableSlotsDaysByClubById200Response
|
|
6711
|
+
*/
|
|
6712
|
+
'lastSlotDate': string | null;
|
|
6713
|
+
/**
|
|
6714
|
+
*
|
|
6715
|
+
* @type {Array<string>}
|
|
6716
|
+
* @memberof GetAvailableSlotsDaysByClubById200Response
|
|
6717
|
+
*/
|
|
6718
|
+
'availableDays': Array<string>;
|
|
6719
|
+
}
|
|
6701
6720
|
/**
|
|
6702
6721
|
*
|
|
6703
6722
|
* @export
|
|
@@ -23890,16 +23909,20 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23890
23909
|
};
|
|
23891
23910
|
},
|
|
23892
23911
|
/**
|
|
23893
|
-
*
|
|
23894
|
-
* @param {string}
|
|
23912
|
+
*
|
|
23913
|
+
* @param {string} id
|
|
23914
|
+
* @param {string} sportId
|
|
23895
23915
|
* @param {*} [options] Override http request option.
|
|
23896
23916
|
* @throws {RequiredError}
|
|
23897
23917
|
*/
|
|
23898
|
-
|
|
23899
|
-
// verify required parameter '
|
|
23900
|
-
assertParamExists('
|
|
23901
|
-
|
|
23902
|
-
|
|
23918
|
+
getAvailableSlotsBySports: async (id: string, sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23919
|
+
// verify required parameter 'id' is not null or undefined
|
|
23920
|
+
assertParamExists('getAvailableSlotsBySports', 'id', id)
|
|
23921
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
23922
|
+
assertParamExists('getAvailableSlotsBySports', 'sportId', sportId)
|
|
23923
|
+
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots`
|
|
23924
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
23925
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
23903
23926
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23904
23927
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23905
23928
|
let baseOptions;
|
|
@@ -23926,17 +23949,21 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23926
23949
|
*
|
|
23927
23950
|
* @param {string} id
|
|
23928
23951
|
* @param {string} sportId
|
|
23952
|
+
* @param {string} day
|
|
23929
23953
|
* @param {*} [options] Override http request option.
|
|
23930
23954
|
* @throws {RequiredError}
|
|
23931
23955
|
*/
|
|
23932
|
-
|
|
23956
|
+
getAvailableSlotsBySportsAndDay: async (id: string, sportId: string, day: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23933
23957
|
// verify required parameter 'id' is not null or undefined
|
|
23934
|
-
assertParamExists('
|
|
23958
|
+
assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id)
|
|
23935
23959
|
// verify required parameter 'sportId' is not null or undefined
|
|
23936
|
-
assertParamExists('
|
|
23937
|
-
|
|
23960
|
+
assertParamExists('getAvailableSlotsBySportsAndDay', 'sportId', sportId)
|
|
23961
|
+
// verify required parameter 'day' is not null or undefined
|
|
23962
|
+
assertParamExists('getAvailableSlotsBySportsAndDay', 'day', day)
|
|
23963
|
+
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots/{day}`
|
|
23938
23964
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
23939
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
23965
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
23966
|
+
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
23940
23967
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23941
23968
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23942
23969
|
let baseOptions;
|
|
@@ -23960,24 +23987,16 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
23960
23987
|
};
|
|
23961
23988
|
},
|
|
23962
23989
|
/**
|
|
23963
|
-
*
|
|
23964
|
-
* @param {string}
|
|
23965
|
-
* @param {string} sportId
|
|
23966
|
-
* @param {string} day
|
|
23990
|
+
* reference to artillery tests
|
|
23991
|
+
* @param {string} clubID
|
|
23967
23992
|
* @param {*} [options] Override http request option.
|
|
23968
23993
|
* @throws {RequiredError}
|
|
23969
23994
|
*/
|
|
23970
|
-
|
|
23971
|
-
// verify required parameter '
|
|
23972
|
-
assertParamExists('
|
|
23973
|
-
|
|
23974
|
-
|
|
23975
|
-
// verify required parameter 'day' is not null or undefined
|
|
23976
|
-
assertParamExists('getAvailableSlotsBySportsAndDay', 'day', day)
|
|
23977
|
-
const localVarPath = `/api/clubs/{id}/sports/{sportId}/slots/{day}`
|
|
23978
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
23979
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)))
|
|
23980
|
-
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
23995
|
+
getAvailableSlotsDaysByClubById: async (clubID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23996
|
+
// verify required parameter 'clubID' is not null or undefined
|
|
23997
|
+
assertParamExists('getAvailableSlotsDaysByClubById', 'clubID', clubID)
|
|
23998
|
+
const localVarPath = `/api/clubs/{clubID}/availableSlotsDays`
|
|
23999
|
+
.replace(`{${"clubID"}}`, encodeURIComponent(String(clubID)));
|
|
23981
24000
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23982
24001
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23983
24002
|
let baseOptions;
|
|
@@ -24405,18 +24424,6 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
24405
24424
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAllClubs']?.[localVarOperationServerIndex]?.url;
|
|
24406
24425
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24407
24426
|
},
|
|
24408
|
-
/**
|
|
24409
|
-
* reference to artillery tests
|
|
24410
|
-
* @param {string} clubID
|
|
24411
|
-
* @param {*} [options] Override http request option.
|
|
24412
|
-
* @throws {RequiredError}
|
|
24413
|
-
*/
|
|
24414
|
-
async getAvailableSlotsByClubById(clubID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSlotsByClubById200Response>> {
|
|
24415
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotsByClubById(clubID, options);
|
|
24416
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24417
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotsByClubById']?.[localVarOperationServerIndex]?.url;
|
|
24418
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24419
|
-
},
|
|
24420
24427
|
/**
|
|
24421
24428
|
*
|
|
24422
24429
|
* @param {string} id
|
|
@@ -24444,6 +24451,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
24444
24451
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
24445
24452
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24446
24453
|
},
|
|
24454
|
+
/**
|
|
24455
|
+
* reference to artillery tests
|
|
24456
|
+
* @param {string} clubID
|
|
24457
|
+
* @param {*} [options] Override http request option.
|
|
24458
|
+
* @throws {RequiredError}
|
|
24459
|
+
*/
|
|
24460
|
+
async getAvailableSlotsDaysByClubById(clubID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsDaysByClubById200Response>> {
|
|
24461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotsDaysByClubById(clubID, options);
|
|
24462
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24463
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotsDaysByClubById']?.[localVarOperationServerIndex]?.url;
|
|
24464
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24465
|
+
},
|
|
24447
24466
|
/**
|
|
24448
24467
|
* Récupère les informations d\'un club spécifique
|
|
24449
24468
|
* @param {*} [options] Override http request option.
|
|
@@ -24603,15 +24622,6 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
24603
24622
|
getAllClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClubResponse>> {
|
|
24604
24623
|
return localVarFp.getAllClubs(options).then((request) => request(axios, basePath));
|
|
24605
24624
|
},
|
|
24606
|
-
/**
|
|
24607
|
-
* reference to artillery tests
|
|
24608
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
24609
|
-
* @param {*} [options] Override http request option.
|
|
24610
|
-
* @throws {RequiredError}
|
|
24611
|
-
*/
|
|
24612
|
-
getAvailableSlotsByClubById(requestParameters: ClubsApiGetAvailableSlotsByClubByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSlotsByClubById200Response> {
|
|
24613
|
-
return localVarFp.getAvailableSlotsByClubById(requestParameters.clubID, options).then((request) => request(axios, basePath));
|
|
24614
|
-
},
|
|
24615
24625
|
/**
|
|
24616
24626
|
*
|
|
24617
24627
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -24630,6 +24640,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
24630
24640
|
getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySports200Response> {
|
|
24631
24641
|
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
24632
24642
|
},
|
|
24643
|
+
/**
|
|
24644
|
+
* reference to artillery tests
|
|
24645
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
24646
|
+
* @param {*} [options] Override http request option.
|
|
24647
|
+
* @throws {RequiredError}
|
|
24648
|
+
*/
|
|
24649
|
+
getAvailableSlotsDaysByClubById(requestParameters: ClubsApiGetAvailableSlotsDaysByClubByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsDaysByClubById200Response> {
|
|
24650
|
+
return localVarFp.getAvailableSlotsDaysByClubById(requestParameters.clubID, options).then((request) => request(axios, basePath));
|
|
24651
|
+
},
|
|
24633
24652
|
/**
|
|
24634
24653
|
* Récupère les informations d\'un club spécifique
|
|
24635
24654
|
* @param {*} [options] Override http request option.
|
|
@@ -24730,20 +24749,6 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
24730
24749
|
};
|
|
24731
24750
|
};
|
|
24732
24751
|
|
|
24733
|
-
/**
|
|
24734
|
-
* Request parameters for getAvailableSlotsByClubById operation in ClubsApi.
|
|
24735
|
-
* @export
|
|
24736
|
-
* @interface ClubsApiGetAvailableSlotsByClubByIdRequest
|
|
24737
|
-
*/
|
|
24738
|
-
export interface ClubsApiGetAvailableSlotsByClubByIdRequest {
|
|
24739
|
-
/**
|
|
24740
|
-
*
|
|
24741
|
-
* @type {string}
|
|
24742
|
-
* @memberof ClubsApiGetAvailableSlotsByClubById
|
|
24743
|
-
*/
|
|
24744
|
-
readonly clubID: string
|
|
24745
|
-
}
|
|
24746
|
-
|
|
24747
24752
|
/**
|
|
24748
24753
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
24749
24754
|
* @export
|
|
@@ -24793,6 +24798,20 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
24793
24798
|
readonly day: string
|
|
24794
24799
|
}
|
|
24795
24800
|
|
|
24801
|
+
/**
|
|
24802
|
+
* Request parameters for getAvailableSlotsDaysByClubById operation in ClubsApi.
|
|
24803
|
+
* @export
|
|
24804
|
+
* @interface ClubsApiGetAvailableSlotsDaysByClubByIdRequest
|
|
24805
|
+
*/
|
|
24806
|
+
export interface ClubsApiGetAvailableSlotsDaysByClubByIdRequest {
|
|
24807
|
+
/**
|
|
24808
|
+
*
|
|
24809
|
+
* @type {string}
|
|
24810
|
+
* @memberof ClubsApiGetAvailableSlotsDaysByClubById
|
|
24811
|
+
*/
|
|
24812
|
+
readonly clubID: string
|
|
24813
|
+
}
|
|
24814
|
+
|
|
24796
24815
|
/**
|
|
24797
24816
|
* Request parameters for getClubMetadata operation in ClubsApi.
|
|
24798
24817
|
* @export
|
|
@@ -24967,17 +24986,6 @@ export class ClubsApi extends BaseAPI {
|
|
|
24967
24986
|
return ClubsApiFp(this.configuration).getAllClubs(options).then((request) => request(this.axios, this.basePath));
|
|
24968
24987
|
}
|
|
24969
24988
|
|
|
24970
|
-
/**
|
|
24971
|
-
* reference to artillery tests
|
|
24972
|
-
* @param {ClubsApiGetAvailableSlotsByClubByIdRequest} requestParameters Request parameters.
|
|
24973
|
-
* @param {*} [options] Override http request option.
|
|
24974
|
-
* @throws {RequiredError}
|
|
24975
|
-
* @memberof ClubsApi
|
|
24976
|
-
*/
|
|
24977
|
-
public getAvailableSlotsByClubById(requestParameters: ClubsApiGetAvailableSlotsByClubByIdRequest, options?: RawAxiosRequestConfig) {
|
|
24978
|
-
return ClubsApiFp(this.configuration).getAvailableSlotsByClubById(requestParameters.clubID, options).then((request) => request(this.axios, this.basePath));
|
|
24979
|
-
}
|
|
24980
|
-
|
|
24981
24989
|
/**
|
|
24982
24990
|
*
|
|
24983
24991
|
* @param {ClubsApiGetAvailableSlotsBySportsRequest} requestParameters Request parameters.
|
|
@@ -25000,6 +25008,17 @@ export class ClubsApi extends BaseAPI {
|
|
|
25000
25008
|
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
25001
25009
|
}
|
|
25002
25010
|
|
|
25011
|
+
/**
|
|
25012
|
+
* reference to artillery tests
|
|
25013
|
+
* @param {ClubsApiGetAvailableSlotsDaysByClubByIdRequest} requestParameters Request parameters.
|
|
25014
|
+
* @param {*} [options] Override http request option.
|
|
25015
|
+
* @throws {RequiredError}
|
|
25016
|
+
* @memberof ClubsApi
|
|
25017
|
+
*/
|
|
25018
|
+
public getAvailableSlotsDaysByClubById(requestParameters: ClubsApiGetAvailableSlotsDaysByClubByIdRequest, options?: RawAxiosRequestConfig) {
|
|
25019
|
+
return ClubsApiFp(this.configuration).getAvailableSlotsDaysByClubById(requestParameters.clubID, options).then((request) => request(this.axios, this.basePath));
|
|
25020
|
+
}
|
|
25021
|
+
|
|
25003
25022
|
/**
|
|
25004
25023
|
* Récupère les informations d\'un club spécifique
|
|
25005
25024
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/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.
|