@tennac-booking/sdk 1.0.159 → 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.
@@ -1,5 +1,6 @@
1
1
  .gitignore
2
2
  .npmignore
3
+ .openapi-generator-ignore
3
4
  README.md
4
5
  api.ts
5
6
  base.ts
@@ -179,6 +180,7 @@ docs/GetActualities200Response.md
179
180
  docs/GetAvailableSlotsBySports200Response.md
180
181
  docs/GetClubMembers200Response.md
181
182
  docs/GetClubRoles200Response.md
183
+ docs/GetClubTimezone200Response.md
182
184
  docs/GetClubType200Response.md
183
185
  docs/GetClubUsersById200Response.md
184
186
  docs/GetClubsWithVerificationDomains200ResponseInner.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.159
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.159 --save
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,6 +411,7 @@ 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)
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.159
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
@@ -19398,6 +19417,39 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
19398
19417
 
19399
19418
 
19400
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
+
19401
19453
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19402
19454
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19403
19455
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -19754,6 +19806,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
19754
19806
  const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubPageInfo']?.[localVarOperationServerIndex]?.url;
19755
19807
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19756
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
+ },
19757
19821
  /**
19758
19822
  *
19759
19823
  * @param {string} id
@@ -19919,6 +19983,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
19919
19983
  getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse> {
19920
19984
  return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
19921
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
+ },
19922
19995
  /**
19923
19996
  *
19924
19997
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
@@ -20075,6 +20148,20 @@ export interface ClubsApiGetClubPageInfoRequest {
20075
20148
  readonly clubId: string
20076
20149
  }
20077
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
+
20078
20165
  /**
20079
20166
  * Request parameters for getClubUsersById operation in ClubsApi.
20080
20167
  * @export
@@ -20272,6 +20359,17 @@ export class ClubsApi extends BaseAPI {
20272
20359
  return ClubsApiFp(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
20273
20360
  }
20274
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
+
20275
20373
  /**
20276
20374
  *
20277
20375
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
package/base.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.159
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).
package/common.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.159
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).
package/configuration.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.159
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).
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.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1733,6 +1733,12 @@ export interface ClientOnboardingRequestBody {
1733
1733
  * @memberof ClientOnboardingRequestBody
1734
1734
  */
1735
1735
  'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
1736
+ /**
1737
+ * Fuseau horaire du club (optionnel)
1738
+ * @type {string}
1739
+ * @memberof ClientOnboardingRequestBody
1740
+ */
1741
+ 'timezone'?: string;
1736
1742
  }
1737
1743
  export declare const ClientOnboardingRequestBodyClubTypeEnum: {
1738
1744
  readonly Public: "public";
@@ -5687,6 +5693,19 @@ export interface GetClubRoles200Response {
5687
5693
  */
5688
5694
  'roles': Array<any>;
5689
5695
  }
5696
+ /**
5697
+ *
5698
+ * @export
5699
+ * @interface GetClubTimezone200Response
5700
+ */
5701
+ export interface GetClubTimezone200Response {
5702
+ /**
5703
+ *
5704
+ * @type {string}
5705
+ * @memberof GetClubTimezone200Response
5706
+ */
5707
+ 'timezone': string;
5708
+ }
5690
5709
  /**
5691
5710
  *
5692
5711
  * @export
@@ -15675,6 +15694,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
15675
15694
  * @throws {RequiredError}
15676
15695
  */
15677
15696
  getClubPageInfo: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15697
+ /**
15698
+ * Récupère le fuseau horaire d\'un club
15699
+ * @param {string} id
15700
+ * @param {*} [options] Override http request option.
15701
+ * @throws {RequiredError}
15702
+ */
15703
+ getClubTimezone: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15678
15704
  /**
15679
15705
  *
15680
15706
  * @param {string} id
@@ -15788,6 +15814,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
15788
15814
  * @throws {RequiredError}
15789
15815
  */
15790
15816
  getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>>;
15817
+ /**
15818
+ * Récupère le fuseau horaire d\'un club
15819
+ * @param {string} id
15820
+ * @param {*} [options] Override http request option.
15821
+ * @throws {RequiredError}
15822
+ */
15823
+ getClubTimezone(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubTimezone200Response>>;
15791
15824
  /**
15792
15825
  *
15793
15826
  * @param {string} id
@@ -15898,6 +15931,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
15898
15931
  * @throws {RequiredError}
15899
15932
  */
15900
15933
  getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse>;
15934
+ /**
15935
+ * Récupère le fuseau horaire d\'un club
15936
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
15937
+ * @param {*} [options] Override http request option.
15938
+ * @throws {RequiredError}
15939
+ */
15940
+ getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubTimezone200Response>;
15901
15941
  /**
15902
15942
  *
15903
15943
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
@@ -16030,6 +16070,19 @@ export interface ClubsApiGetClubPageInfoRequest {
16030
16070
  */
16031
16071
  readonly clubId: string;
16032
16072
  }
16073
+ /**
16074
+ * Request parameters for getClubTimezone operation in ClubsApi.
16075
+ * @export
16076
+ * @interface ClubsApiGetClubTimezoneRequest
16077
+ */
16078
+ export interface ClubsApiGetClubTimezoneRequest {
16079
+ /**
16080
+ *
16081
+ * @type {string}
16082
+ * @memberof ClubsApiGetClubTimezone
16083
+ */
16084
+ readonly id: string;
16085
+ }
16033
16086
  /**
16034
16087
  * Request parameters for getClubUsersById operation in ClubsApi.
16035
16088
  * @export
@@ -16194,6 +16247,14 @@ export declare class ClubsApi extends BaseAPI {
16194
16247
  * @memberof ClubsApi
16195
16248
  */
16196
16249
  getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPageResponse, any, {}>>;
16250
+ /**
16251
+ * Récupère le fuseau horaire d\'un club
16252
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
16253
+ * @param {*} [options] Override http request option.
16254
+ * @throws {RequiredError}
16255
+ * @memberof ClubsApi
16256
+ */
16257
+ getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubTimezone200Response, any, {}>>;
16197
16258
  /**
16198
16259
  *
16199
16260
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
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.159
8
+ * The version of the OpenAPI document: 1.0.160
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5925,6 +5925,34 @@ const ClubsApiAxiosParamCreator = function (configuration) {
5925
5925
  options: localVarRequestOptions,
5926
5926
  };
5927
5927
  }),
5928
+ /**
5929
+ * Récupère le fuseau horaire d\'un club
5930
+ * @param {string} id
5931
+ * @param {*} [options] Override http request option.
5932
+ * @throws {RequiredError}
5933
+ */
5934
+ getClubTimezone: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
5935
+ // verify required parameter 'id' is not null or undefined
5936
+ (0, common_1.assertParamExists)('getClubTimezone', 'id', id);
5937
+ const localVarPath = `/api/clubs/{id}/timezone`
5938
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5939
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5940
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5941
+ let baseOptions;
5942
+ if (configuration) {
5943
+ baseOptions = configuration.baseOptions;
5944
+ }
5945
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5946
+ const localVarHeaderParameter = {};
5947
+ const localVarQueryParameter = {};
5948
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5949
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5950
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5951
+ return {
5952
+ url: (0, common_1.toPathString)(localVarUrlObj),
5953
+ options: localVarRequestOptions,
5954
+ };
5955
+ }),
5928
5956
  /**
5929
5957
  *
5930
5958
  * @param {string} id
@@ -6259,6 +6287,21 @@ const ClubsApiFp = function (configuration) {
6259
6287
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6260
6288
  });
6261
6289
  },
6290
+ /**
6291
+ * Récupère le fuseau horaire d\'un club
6292
+ * @param {string} id
6293
+ * @param {*} [options] Override http request option.
6294
+ * @throws {RequiredError}
6295
+ */
6296
+ getClubTimezone(id, options) {
6297
+ return __awaiter(this, void 0, void 0, function* () {
6298
+ var _a, _b, _c;
6299
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubTimezone(id, options);
6300
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6301
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getClubTimezone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6302
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6303
+ });
6304
+ },
6262
6305
  /**
6263
6306
  *
6264
6307
  * @param {string} id
@@ -6445,6 +6488,15 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
6445
6488
  getClubPageInfo(requestParameters, options) {
6446
6489
  return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
6447
6490
  },
6491
+ /**
6492
+ * Récupère le fuseau horaire d\'un club
6493
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
6494
+ * @param {*} [options] Override http request option.
6495
+ * @throws {RequiredError}
6496
+ */
6497
+ getClubTimezone(requestParameters, options) {
6498
+ return localVarFp.getClubTimezone(requestParameters.id, options).then((request) => request(axios, basePath));
6499
+ },
6448
6500
  /**
6449
6501
  *
6450
6502
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
@@ -6594,6 +6646,16 @@ class ClubsApi extends base_1.BaseAPI {
6594
6646
  getClubPageInfo(requestParameters, options) {
6595
6647
  return (0, exports.ClubsApiFp)(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
6596
6648
  }
6649
+ /**
6650
+ * Récupère le fuseau horaire d\'un club
6651
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
6652
+ * @param {*} [options] Override http request option.
6653
+ * @throws {RequiredError}
6654
+ * @memberof ClubsApi
6655
+ */
6656
+ getClubTimezone(requestParameters, options) {
6657
+ return (0, exports.ClubsApiFp)(this.configuration).getClubTimezone(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6658
+ }
6597
6659
  /**
6598
6660
  *
6599
6661
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
package/dist/base.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.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.159
8
+ * The version of the OpenAPI document: 1.0.160
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.159
8
+ * The version of the OpenAPI document: 1.0.160
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.159
8
+ * The version of the OpenAPI document: 1.0.160
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1733,6 +1733,12 @@ export interface ClientOnboardingRequestBody {
1733
1733
  * @memberof ClientOnboardingRequestBody
1734
1734
  */
1735
1735
  'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
1736
+ /**
1737
+ * Fuseau horaire du club (optionnel)
1738
+ * @type {string}
1739
+ * @memberof ClientOnboardingRequestBody
1740
+ */
1741
+ 'timezone'?: string;
1736
1742
  }
1737
1743
  export declare const ClientOnboardingRequestBodyClubTypeEnum: {
1738
1744
  readonly Public: "public";
@@ -5687,6 +5693,19 @@ export interface GetClubRoles200Response {
5687
5693
  */
5688
5694
  'roles': Array<any>;
5689
5695
  }
5696
+ /**
5697
+ *
5698
+ * @export
5699
+ * @interface GetClubTimezone200Response
5700
+ */
5701
+ export interface GetClubTimezone200Response {
5702
+ /**
5703
+ *
5704
+ * @type {string}
5705
+ * @memberof GetClubTimezone200Response
5706
+ */
5707
+ 'timezone': string;
5708
+ }
5690
5709
  /**
5691
5710
  *
5692
5711
  * @export
@@ -15675,6 +15694,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
15675
15694
  * @throws {RequiredError}
15676
15695
  */
15677
15696
  getClubPageInfo: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15697
+ /**
15698
+ * Récupère le fuseau horaire d\'un club
15699
+ * @param {string} id
15700
+ * @param {*} [options] Override http request option.
15701
+ * @throws {RequiredError}
15702
+ */
15703
+ getClubTimezone: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15678
15704
  /**
15679
15705
  *
15680
15706
  * @param {string} id
@@ -15788,6 +15814,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
15788
15814
  * @throws {RequiredError}
15789
15815
  */
15790
15816
  getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>>;
15817
+ /**
15818
+ * Récupère le fuseau horaire d\'un club
15819
+ * @param {string} id
15820
+ * @param {*} [options] Override http request option.
15821
+ * @throws {RequiredError}
15822
+ */
15823
+ getClubTimezone(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubTimezone200Response>>;
15791
15824
  /**
15792
15825
  *
15793
15826
  * @param {string} id
@@ -15898,6 +15931,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
15898
15931
  * @throws {RequiredError}
15899
15932
  */
15900
15933
  getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse>;
15934
+ /**
15935
+ * Récupère le fuseau horaire d\'un club
15936
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
15937
+ * @param {*} [options] Override http request option.
15938
+ * @throws {RequiredError}
15939
+ */
15940
+ getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubTimezone200Response>;
15901
15941
  /**
15902
15942
  *
15903
15943
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
@@ -16030,6 +16070,19 @@ export interface ClubsApiGetClubPageInfoRequest {
16030
16070
  */
16031
16071
  readonly clubId: string;
16032
16072
  }
16073
+ /**
16074
+ * Request parameters for getClubTimezone operation in ClubsApi.
16075
+ * @export
16076
+ * @interface ClubsApiGetClubTimezoneRequest
16077
+ */
16078
+ export interface ClubsApiGetClubTimezoneRequest {
16079
+ /**
16080
+ *
16081
+ * @type {string}
16082
+ * @memberof ClubsApiGetClubTimezone
16083
+ */
16084
+ readonly id: string;
16085
+ }
16033
16086
  /**
16034
16087
  * Request parameters for getClubUsersById operation in ClubsApi.
16035
16088
  * @export
@@ -16194,6 +16247,14 @@ export declare class ClubsApi extends BaseAPI {
16194
16247
  * @memberof ClubsApi
16195
16248
  */
16196
16249
  getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPageResponse, any, {}>>;
16250
+ /**
16251
+ * Récupère le fuseau horaire d\'un club
16252
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
16253
+ * @param {*} [options] Override http request option.
16254
+ * @throws {RequiredError}
16255
+ * @memberof ClubsApi
16256
+ */
16257
+ getClubTimezone(requestParameters: ClubsApiGetClubTimezoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubTimezone200Response, any, {}>>;
16197
16258
  /**
16198
16259
  *
16199
16260
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
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.159
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).
@@ -5867,6 +5867,34 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
5867
5867
  options: localVarRequestOptions,
5868
5868
  };
5869
5869
  }),
5870
+ /**
5871
+ * Récupère le fuseau horaire d\'un club
5872
+ * @param {string} id
5873
+ * @param {*} [options] Override http request option.
5874
+ * @throws {RequiredError}
5875
+ */
5876
+ getClubTimezone: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
5877
+ // verify required parameter 'id' is not null or undefined
5878
+ assertParamExists('getClubTimezone', 'id', id);
5879
+ const localVarPath = `/api/clubs/{id}/timezone`
5880
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5881
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5882
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5883
+ let baseOptions;
5884
+ if (configuration) {
5885
+ baseOptions = configuration.baseOptions;
5886
+ }
5887
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5888
+ const localVarHeaderParameter = {};
5889
+ const localVarQueryParameter = {};
5890
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5891
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5892
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5893
+ return {
5894
+ url: toPathString(localVarUrlObj),
5895
+ options: localVarRequestOptions,
5896
+ };
5897
+ }),
5870
5898
  /**
5871
5899
  *
5872
5900
  * @param {string} id
@@ -6200,6 +6228,21 @@ export const ClubsApiFp = function (configuration) {
6200
6228
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6201
6229
  });
6202
6230
  },
6231
+ /**
6232
+ * Récupère le fuseau horaire d\'un club
6233
+ * @param {string} id
6234
+ * @param {*} [options] Override http request option.
6235
+ * @throws {RequiredError}
6236
+ */
6237
+ getClubTimezone(id, options) {
6238
+ return __awaiter(this, void 0, void 0, function* () {
6239
+ var _a, _b, _c;
6240
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubTimezone(id, options);
6241
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6242
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getClubTimezone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6243
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6244
+ });
6245
+ },
6203
6246
  /**
6204
6247
  *
6205
6248
  * @param {string} id
@@ -6385,6 +6428,15 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
6385
6428
  getClubPageInfo(requestParameters, options) {
6386
6429
  return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
6387
6430
  },
6431
+ /**
6432
+ * Récupère le fuseau horaire d\'un club
6433
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
6434
+ * @param {*} [options] Override http request option.
6435
+ * @throws {RequiredError}
6436
+ */
6437
+ getClubTimezone(requestParameters, options) {
6438
+ return localVarFp.getClubTimezone(requestParameters.id, options).then((request) => request(axios, basePath));
6439
+ },
6388
6440
  /**
6389
6441
  *
6390
6442
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
@@ -6533,6 +6585,16 @@ export class ClubsApi extends BaseAPI {
6533
6585
  getClubPageInfo(requestParameters, options) {
6534
6586
  return ClubsApiFp(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
6535
6587
  }
6588
+ /**
6589
+ * Récupère le fuseau horaire d\'un club
6590
+ * @param {ClubsApiGetClubTimezoneRequest} requestParameters Request parameters.
6591
+ * @param {*} [options] Override http request option.
6592
+ * @throws {RequiredError}
6593
+ * @memberof ClubsApi
6594
+ */
6595
+ getClubTimezone(requestParameters, options) {
6596
+ return ClubsApiFp(this.configuration).getClubTimezone(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6597
+ }
6536
6598
  /**
6537
6599
  *
6538
6600
  * @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.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.159
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).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.159
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).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.159
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).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.159
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).
package/dist/index.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.159
5
+ * The version of the OpenAPI document: 1.0.160
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.159
8
+ * The version of the OpenAPI document: 1.0.160
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **postalCode** | **string** | Code postal du club (optionnel) | [optional] [default to undefined]
15
15
  **country** | **string** | Pays du club (optionnel) | [optional] [default to undefined]
16
16
  **clubType** | **string** | Type de club souhaité (public | school) | [optional] [default to undefined]
17
+ **timezone** | **string** | Fuseau horaire du club (optionnel) | [optional] [default to undefined]
17
18
 
18
19
  ## Example
19
20
 
@@ -29,6 +30,7 @@ const instance: ClientOnboardingRequestBody = {
29
30
  postalCode,
30
31
  country,
31
32
  clubType,
33
+ timezone,
32
34
  };
33
35
  ```
34
36
 
package/docs/ClubsApi.md CHANGED
@@ -12,6 +12,7 @@ All URIs are relative to *http://localhost*
12
12
  |[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/info | |
13
13
  |[**getClubMetadata**](#getclubmetadata) | **GET** /api/clubs/{clubId}/metadata | |
14
14
  |[**getClubPageInfo**](#getclubpageinfo) | **GET** /api/clubs/club-page/{clubId} | |
15
+ |[**getClubTimezone**](#getclubtimezone) | **GET** /api/clubs/{id}/timezone | |
15
16
  |[**getClubUsersById**](#getclubusersbyid) | **GET** /api/clubs/{id}/users | |
16
17
  |[**getClubsWithVerificationDomains**](#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains | |
17
18
  |[**getCourtsByClubAndSportById**](#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts | |
@@ -422,6 +423,59 @@ No authorization required
422
423
 
423
424
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
424
425
 
426
+ # **getClubTimezone**
427
+ > GetClubTimezone200Response getClubTimezone()
428
+
429
+ Récupère le fuseau horaire d\'un club
430
+
431
+ ### Example
432
+
433
+ ```typescript
434
+ import {
435
+ ClubsApi,
436
+ Configuration
437
+ } from '@tennac-booking/sdk';
438
+
439
+ const configuration = new Configuration();
440
+ const apiInstance = new ClubsApi(configuration);
441
+
442
+ let id: string; // (default to undefined)
443
+
444
+ const { status, data } = await apiInstance.getClubTimezone(
445
+ id
446
+ );
447
+ ```
448
+
449
+ ### Parameters
450
+
451
+ |Name | Type | Description | Notes|
452
+ |------------- | ------------- | ------------- | -------------|
453
+ | **id** | [**string**] | | defaults to undefined|
454
+
455
+
456
+ ### Return type
457
+
458
+ **GetClubTimezone200Response**
459
+
460
+ ### Authorization
461
+
462
+ No authorization required
463
+
464
+ ### HTTP request headers
465
+
466
+ - **Content-Type**: Not defined
467
+ - **Accept**: application/json
468
+
469
+
470
+ ### HTTP response details
471
+ | Status code | Description | Response headers |
472
+ |-------------|-------------|------------------|
473
+ |**200** | Fuseau horaire du club | - |
474
+ |**400** | Bad Request | - |
475
+ |**404** | Club non trouvé | - |
476
+
477
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
478
+
425
479
  # **getClubUsersById**
426
480
  > GetClubUsersById200Response getClubUsersById()
427
481
 
@@ -0,0 +1,20 @@
1
+ # GetClubTimezone200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **timezone** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetClubTimezone200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetClubTimezone200Response = {
16
+ timezone,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.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.159
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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.159",
3
+ "version": "1.0.160",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {