@tennac-booking/sdk 1.0.158 → 1.0.160
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 +373 -371
- package/README.md +5 -2
- package/api.ts +237 -14
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +185 -11
- package/dist/api.js +78 -6
- 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 +185 -11
- package/dist/esm/api.js +78 -6
- 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/ClientOnboardingRequestBody.md +2 -0
- package/docs/ClubsApi.md +61 -1
- package/docs/GetClubTimezone200Response.md +20 -0
- package/docs/GetCourtsByClubAndSportById200Response.md +1 -1
- package/docs/GetCourtsByClubAndSportById200ResponseCourtsInner.md +50 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.160
|
|
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.160 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -132,6 +132,7 @@ Class | Method | HTTP request | Description
|
|
|
132
132
|
*ClubsApi* | [**getClubInfo**](docs/ClubsApi.md#getclubinfo) | **GET** /api/clubs/info |
|
|
133
133
|
*ClubsApi* | [**getClubMetadata**](docs/ClubsApi.md#getclubmetadata) | **GET** /api/clubs/{clubId}/metadata |
|
|
134
134
|
*ClubsApi* | [**getClubPageInfo**](docs/ClubsApi.md#getclubpageinfo) | **GET** /api/clubs/club-page/{clubId} |
|
|
135
|
+
*ClubsApi* | [**getClubTimezone**](docs/ClubsApi.md#getclubtimezone) | **GET** /api/clubs/{id}/timezone |
|
|
135
136
|
*ClubsApi* | [**getClubUsersById**](docs/ClubsApi.md#getclubusersbyid) | **GET** /api/clubs/{id}/users |
|
|
136
137
|
*ClubsApi* | [**getClubsWithVerificationDomains**](docs/ClubsApi.md#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains |
|
|
137
138
|
*ClubsApi* | [**getCourtsByClubAndSportById**](docs/ClubsApi.md#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts |
|
|
@@ -410,10 +411,12 @@ Class | Method | HTTP request | Description
|
|
|
410
411
|
- [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
|
|
411
412
|
- [GetClubMembers200Response](docs/GetClubMembers200Response.md)
|
|
412
413
|
- [GetClubRoles200Response](docs/GetClubRoles200Response.md)
|
|
414
|
+
- [GetClubTimezone200Response](docs/GetClubTimezone200Response.md)
|
|
413
415
|
- [GetClubType200Response](docs/GetClubType200Response.md)
|
|
414
416
|
- [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
|
|
415
417
|
- [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
|
|
416
418
|
- [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
|
|
419
|
+
- [GetCourtsByClubAndSportById200ResponseCourtsInner](docs/GetCourtsByClubAndSportById200ResponseCourtsInner.md)
|
|
417
420
|
- [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
|
|
418
421
|
- [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
|
|
419
422
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.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.160
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1774,6 +1774,12 @@ export interface ClientOnboardingRequestBody {
|
|
|
1774
1774
|
* @memberof ClientOnboardingRequestBody
|
|
1775
1775
|
*/
|
|
1776
1776
|
'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
|
|
1777
|
+
/**
|
|
1778
|
+
* Fuseau horaire du club (optionnel)
|
|
1779
|
+
* @type {string}
|
|
1780
|
+
* @memberof ClientOnboardingRequestBody
|
|
1781
|
+
*/
|
|
1782
|
+
'timezone'?: string;
|
|
1777
1783
|
}
|
|
1778
1784
|
|
|
1779
1785
|
export const ClientOnboardingRequestBodyClubTypeEnum = {
|
|
@@ -5794,6 +5800,19 @@ export interface GetClubRoles200Response {
|
|
|
5794
5800
|
*/
|
|
5795
5801
|
'roles': Array<any>;
|
|
5796
5802
|
}
|
|
5803
|
+
/**
|
|
5804
|
+
*
|
|
5805
|
+
* @export
|
|
5806
|
+
* @interface GetClubTimezone200Response
|
|
5807
|
+
*/
|
|
5808
|
+
export interface GetClubTimezone200Response {
|
|
5809
|
+
/**
|
|
5810
|
+
*
|
|
5811
|
+
* @type {string}
|
|
5812
|
+
* @memberof GetClubTimezone200Response
|
|
5813
|
+
*/
|
|
5814
|
+
'timezone': string;
|
|
5815
|
+
}
|
|
5797
5816
|
/**
|
|
5798
5817
|
*
|
|
5799
5818
|
* @export
|
|
@@ -5877,11 +5896,116 @@ export interface GetCourtsByClubAndSportById200Response {
|
|
|
5877
5896
|
'total': number;
|
|
5878
5897
|
/**
|
|
5879
5898
|
*
|
|
5880
|
-
* @type {Array<
|
|
5899
|
+
* @type {Array<GetCourtsByClubAndSportById200ResponseCourtsInner>}
|
|
5881
5900
|
* @memberof GetCourtsByClubAndSportById200Response
|
|
5882
5901
|
*/
|
|
5883
|
-
'courts': Array<
|
|
5902
|
+
'courts': Array<GetCourtsByClubAndSportById200ResponseCourtsInner>;
|
|
5884
5903
|
}
|
|
5904
|
+
/**
|
|
5905
|
+
*
|
|
5906
|
+
* @export
|
|
5907
|
+
* @interface GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5908
|
+
*/
|
|
5909
|
+
export interface GetCourtsByClubAndSportById200ResponseCourtsInner {
|
|
5910
|
+
/**
|
|
5911
|
+
*
|
|
5912
|
+
* @type {string}
|
|
5913
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5914
|
+
*/
|
|
5915
|
+
'clubId': string;
|
|
5916
|
+
/**
|
|
5917
|
+
*
|
|
5918
|
+
* @type {string}
|
|
5919
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5920
|
+
*/
|
|
5921
|
+
'name': string;
|
|
5922
|
+
/**
|
|
5923
|
+
*
|
|
5924
|
+
* @type {CourtStatus}
|
|
5925
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5926
|
+
*/
|
|
5927
|
+
'status': CourtStatus;
|
|
5928
|
+
/**
|
|
5929
|
+
*
|
|
5930
|
+
* @type {string}
|
|
5931
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5932
|
+
*/
|
|
5933
|
+
'comments': string;
|
|
5934
|
+
/**
|
|
5935
|
+
*
|
|
5936
|
+
* @type {number}
|
|
5937
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5938
|
+
*/
|
|
5939
|
+
'slotDefaultDuration': number;
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @type {number}
|
|
5943
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5944
|
+
*/
|
|
5945
|
+
'startTimeInTheDayInMinutes': number;
|
|
5946
|
+
/**
|
|
5947
|
+
*
|
|
5948
|
+
* @type {number}
|
|
5949
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5950
|
+
*/
|
|
5951
|
+
'endTimeInTheDayInMinutes': number;
|
|
5952
|
+
/**
|
|
5953
|
+
*
|
|
5954
|
+
* @type {number}
|
|
5955
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5956
|
+
*/
|
|
5957
|
+
'pricePerHour'?: number;
|
|
5958
|
+
/**
|
|
5959
|
+
*
|
|
5960
|
+
* @type {string}
|
|
5961
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5962
|
+
*/
|
|
5963
|
+
'sportId': string;
|
|
5964
|
+
/**
|
|
5965
|
+
*
|
|
5966
|
+
* @type {SurfaceType}
|
|
5967
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5968
|
+
*/
|
|
5969
|
+
'surface'?: SurfaceType;
|
|
5970
|
+
/**
|
|
5971
|
+
*
|
|
5972
|
+
* @type {boolean}
|
|
5973
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5974
|
+
*/
|
|
5975
|
+
'isIndoor': boolean;
|
|
5976
|
+
/**
|
|
5977
|
+
*
|
|
5978
|
+
* @type {string}
|
|
5979
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5980
|
+
*/
|
|
5981
|
+
'createdAt'?: string;
|
|
5982
|
+
/**
|
|
5983
|
+
*
|
|
5984
|
+
* @type {string}
|
|
5985
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5986
|
+
*/
|
|
5987
|
+
'updatedAt'?: string;
|
|
5988
|
+
/**
|
|
5989
|
+
*
|
|
5990
|
+
* @type {number}
|
|
5991
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5992
|
+
*/
|
|
5993
|
+
'variationPercentage'?: number;
|
|
5994
|
+
/**
|
|
5995
|
+
*
|
|
5996
|
+
* @type {boolean}
|
|
5997
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5998
|
+
*/
|
|
5999
|
+
'isReducedPrice'?: boolean;
|
|
6000
|
+
/**
|
|
6001
|
+
*
|
|
6002
|
+
* @type {number}
|
|
6003
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
6004
|
+
*/
|
|
6005
|
+
'estimatedPrice'?: number;
|
|
6006
|
+
}
|
|
6007
|
+
|
|
6008
|
+
|
|
5885
6009
|
/**
|
|
5886
6010
|
*
|
|
5887
6011
|
* @export
|
|
@@ -10600,12 +10724,6 @@ export interface UpdateClubGeneralSettingsRequest {
|
|
|
10600
10724
|
* @memberof UpdateClubGeneralSettingsRequest
|
|
10601
10725
|
*/
|
|
10602
10726
|
'description'?: string;
|
|
10603
|
-
/**
|
|
10604
|
-
*
|
|
10605
|
-
* @type {string}
|
|
10606
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
10607
|
-
*/
|
|
10608
|
-
'rib'?: string | null;
|
|
10609
10727
|
/**
|
|
10610
10728
|
*
|
|
10611
10729
|
* @type {UpdateClubGeneralSettingsRequestLogo}
|
|
@@ -19299,6 +19417,39 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19299
19417
|
|
|
19300
19418
|
|
|
19301
19419
|
|
|
19420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19422
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19423
|
+
|
|
19424
|
+
return {
|
|
19425
|
+
url: toPathString(localVarUrlObj),
|
|
19426
|
+
options: localVarRequestOptions,
|
|
19427
|
+
};
|
|
19428
|
+
},
|
|
19429
|
+
/**
|
|
19430
|
+
* Récupère le fuseau horaire d\'un club
|
|
19431
|
+
* @param {string} id
|
|
19432
|
+
* @param {*} [options] Override http request option.
|
|
19433
|
+
* @throws {RequiredError}
|
|
19434
|
+
*/
|
|
19435
|
+
getClubTimezone: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19436
|
+
// verify required parameter 'id' is not null or undefined
|
|
19437
|
+
assertParamExists('getClubTimezone', 'id', id)
|
|
19438
|
+
const localVarPath = `/api/clubs/{id}/timezone`
|
|
19439
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
19440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19442
|
+
let baseOptions;
|
|
19443
|
+
if (configuration) {
|
|
19444
|
+
baseOptions = configuration.baseOptions;
|
|
19445
|
+
}
|
|
19446
|
+
|
|
19447
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19448
|
+
const localVarHeaderParameter = {} as any;
|
|
19449
|
+
const localVarQueryParameter = {} as any;
|
|
19450
|
+
|
|
19451
|
+
|
|
19452
|
+
|
|
19302
19453
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19303
19454
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19304
19455
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -19374,10 +19525,12 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19374
19525
|
*
|
|
19375
19526
|
* @param {string} id
|
|
19376
19527
|
* @param {string} sportId
|
|
19528
|
+
* @param {string} [startDate]
|
|
19529
|
+
* @param {string} [endDate]
|
|
19377
19530
|
* @param {*} [options] Override http request option.
|
|
19378
19531
|
* @throws {RequiredError}
|
|
19379
19532
|
*/
|
|
19380
|
-
getCourtsByClubAndSportById: async (id: string, sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19533
|
+
getCourtsByClubAndSportById: async (id: string, sportId: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19381
19534
|
// verify required parameter 'id' is not null or undefined
|
|
19382
19535
|
assertParamExists('getCourtsByClubAndSportById', 'id', id)
|
|
19383
19536
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -19396,6 +19549,14 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19396
19549
|
const localVarHeaderParameter = {} as any;
|
|
19397
19550
|
const localVarQueryParameter = {} as any;
|
|
19398
19551
|
|
|
19552
|
+
if (startDate !== undefined) {
|
|
19553
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19554
|
+
}
|
|
19555
|
+
|
|
19556
|
+
if (endDate !== undefined) {
|
|
19557
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19558
|
+
}
|
|
19559
|
+
|
|
19399
19560
|
|
|
19400
19561
|
|
|
19401
19562
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19645,6 +19806,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
19645
19806
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubPageInfo']?.[localVarOperationServerIndex]?.url;
|
|
19646
19807
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19647
19808
|
},
|
|
19809
|
+
/**
|
|
19810
|
+
* Récupère le fuseau horaire d\'un club
|
|
19811
|
+
* @param {string} id
|
|
19812
|
+
* @param {*} [options] Override http request option.
|
|
19813
|
+
* @throws {RequiredError}
|
|
19814
|
+
*/
|
|
19815
|
+
async getClubTimezone(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubTimezone200Response>> {
|
|
19816
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubTimezone(id, options);
|
|
19817
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19818
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubTimezone']?.[localVarOperationServerIndex]?.url;
|
|
19819
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19820
|
+
},
|
|
19648
19821
|
/**
|
|
19649
19822
|
*
|
|
19650
19823
|
* @param {string} id
|
|
@@ -19672,11 +19845,13 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
19672
19845
|
*
|
|
19673
19846
|
* @param {string} id
|
|
19674
19847
|
* @param {string} sportId
|
|
19848
|
+
* @param {string} [startDate]
|
|
19849
|
+
* @param {string} [endDate]
|
|
19675
19850
|
* @param {*} [options] Override http request option.
|
|
19676
19851
|
* @throws {RequiredError}
|
|
19677
19852
|
*/
|
|
19678
|
-
async getCourtsByClubAndSportById(id: string, sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>> {
|
|
19679
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, options);
|
|
19853
|
+
async getCourtsByClubAndSportById(id: string, sportId: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>> {
|
|
19854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, startDate, endDate, options);
|
|
19680
19855
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19681
19856
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getCourtsByClubAndSportById']?.[localVarOperationServerIndex]?.url;
|
|
19682
19857
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19808,6 +19983,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
19808
19983
|
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse> {
|
|
19809
19984
|
return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
19810
19985
|
},
|
|
19986
|
+
/**
|
|
19987
|
+
* Récupère le fuseau horaire d\'un club
|
|
19988
|
+
* @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
|
|
19989
|
+
* @param {*} [options] Override http request option.
|
|
19990
|
+
* @throws {RequiredError}
|
|
19991
|
+
*/
|
|
19992
|
+
getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubTimezone200Response> {
|
|
19993
|
+
return localVarFp.getClubTimezone(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
19994
|
+
},
|
|
19811
19995
|
/**
|
|
19812
19996
|
*
|
|
19813
19997
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -19832,7 +20016,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
19832
20016
|
* @throws {RequiredError}
|
|
19833
20017
|
*/
|
|
19834
20018
|
getCourtsByClubAndSportById(requestParameters: ClubsApiGetCourtsByClubAndSportByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCourtsByClubAndSportById200Response> {
|
|
19835
|
-
return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
20019
|
+
return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
19836
20020
|
},
|
|
19837
20021
|
/**
|
|
19838
20022
|
* Récupère les informations publiques d\'un club en fonction de son ID
|
|
@@ -19964,6 +20148,20 @@ export interface ClubsApiGetClubPageInfoRequest {
|
|
|
19964
20148
|
readonly clubId: string
|
|
19965
20149
|
}
|
|
19966
20150
|
|
|
20151
|
+
/**
|
|
20152
|
+
* Request parameters for getClubTimezone operation in ClubsApi.
|
|
20153
|
+
* @export
|
|
20154
|
+
* @interface ClubsApiGetClubTimezoneRequest
|
|
20155
|
+
*/
|
|
20156
|
+
export interface ClubsApiGetClubTimezoneRequest {
|
|
20157
|
+
/**
|
|
20158
|
+
*
|
|
20159
|
+
* @type {string}
|
|
20160
|
+
* @memberof ClubsApiGetClubTimezone
|
|
20161
|
+
*/
|
|
20162
|
+
readonly id: string
|
|
20163
|
+
}
|
|
20164
|
+
|
|
19967
20165
|
/**
|
|
19968
20166
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
19969
20167
|
* @export
|
|
@@ -19997,6 +20195,20 @@ export interface ClubsApiGetCourtsByClubAndSportByIdRequest {
|
|
|
19997
20195
|
* @memberof ClubsApiGetCourtsByClubAndSportById
|
|
19998
20196
|
*/
|
|
19999
20197
|
readonly sportId: string
|
|
20198
|
+
|
|
20199
|
+
/**
|
|
20200
|
+
*
|
|
20201
|
+
* @type {string}
|
|
20202
|
+
* @memberof ClubsApiGetCourtsByClubAndSportById
|
|
20203
|
+
*/
|
|
20204
|
+
readonly startDate?: string
|
|
20205
|
+
|
|
20206
|
+
/**
|
|
20207
|
+
*
|
|
20208
|
+
* @type {string}
|
|
20209
|
+
* @memberof ClubsApiGetCourtsByClubAndSportById
|
|
20210
|
+
*/
|
|
20211
|
+
readonly endDate?: string
|
|
20000
20212
|
}
|
|
20001
20213
|
|
|
20002
20214
|
/**
|
|
@@ -20147,6 +20359,17 @@ export class ClubsApi extends BaseAPI {
|
|
|
20147
20359
|
return ClubsApiFp(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
20148
20360
|
}
|
|
20149
20361
|
|
|
20362
|
+
/**
|
|
20363
|
+
* Récupère le fuseau horaire d\'un club
|
|
20364
|
+
* @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
|
|
20365
|
+
* @param {*} [options] Override http request option.
|
|
20366
|
+
* @throws {RequiredError}
|
|
20367
|
+
* @memberof ClubsApi
|
|
20368
|
+
*/
|
|
20369
|
+
public getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig) {
|
|
20370
|
+
return ClubsApiFp(this.configuration).getClubTimezone(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
20371
|
+
}
|
|
20372
|
+
|
|
20150
20373
|
/**
|
|
20151
20374
|
*
|
|
20152
20375
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -20176,7 +20399,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
20176
20399
|
* @memberof ClubsApi
|
|
20177
20400
|
*/
|
|
20178
20401
|
public getCourtsByClubAndSportById(requestParameters: ClubsApiGetCourtsByClubAndSportByIdRequest, options?: RawAxiosRequestConfig) {
|
|
20179
|
-
return ClubsApiFp(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
20402
|
+
return ClubsApiFp(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
20180
20403
|
}
|
|
20181
20404
|
|
|
20182
20405
|
/**
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED