@tennac-booking/sdk 1.0.126 → 1.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,6 +156,7 @@ docs/GetActualities200Response.md
156
156
  docs/GetAvailableSlotsBySports200Response.md
157
157
  docs/GetClubMembers200Response.md
158
158
  docs/GetClubRoles200Response.md
159
+ docs/GetClubType200Response.md
159
160
  docs/GetClubUsersById200Response.md
160
161
  docs/GetClubsWithVerificationDomains200ResponseInner.md
161
162
  docs/GetCourtsByClubAndSportById200Response.md
package/README.md CHANGED
@@ -143,6 +143,7 @@ Class | Method | HTTP request | Description
143
143
  *ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
144
144
  *ClubsStaffApi* | [**getClubPresentationSettings**](docs/ClubsStaffApi.md#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation |
145
145
  *ClubsStaffApi* | [**getClubRoles**](docs/ClubsStaffApi.md#getclubroles) | **GET** /api/clubs/roles |
146
+ *ClubsStaffApi* | [**getClubType**](docs/ClubsStaffApi.md#getclubtype) | **GET** /api/clubs/clubType |
146
147
  *ClubsStaffApi* | [**getCourtsByClub**](docs/ClubsStaffApi.md#getcourtsbyclub) | **GET** /api/clubs/courts |
147
148
  *ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
148
149
  *ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
@@ -355,6 +356,7 @@ Class | Method | HTTP request | Description
355
356
  - [GetAvailableSlotsBySports200Response](docs/GetAvailableSlotsBySports200Response.md)
356
357
  - [GetClubMembers200Response](docs/GetClubMembers200Response.md)
357
358
  - [GetClubRoles200Response](docs/GetClubRoles200Response.md)
359
+ - [GetClubType200Response](docs/GetClubType200Response.md)
358
360
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
359
361
  - [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
360
362
  - [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
package/api.ts CHANGED
@@ -4965,6 +4965,19 @@ export interface GetClubRoles200Response {
4965
4965
  */
4966
4966
  'roles': Array<any>;
4967
4967
  }
4968
+ /**
4969
+ *
4970
+ * @export
4971
+ * @interface GetClubType200Response
4972
+ */
4973
+ export interface GetClubType200Response {
4974
+ /**
4975
+ *
4976
+ * @type {string}
4977
+ * @memberof GetClubType200Response
4978
+ */
4979
+ 'clubType': string;
4980
+ }
4968
4981
  /**
4969
4982
  *
4970
4983
  * @export
@@ -19176,6 +19189,39 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
19176
19189
 
19177
19190
 
19178
19191
 
19192
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19193
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19194
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19195
+
19196
+ return {
19197
+ url: toPathString(localVarUrlObj),
19198
+ options: localVarRequestOptions,
19199
+ };
19200
+ },
19201
+ /**
19202
+ *
19203
+ * @param {*} [options] Override http request option.
19204
+ * @throws {RequiredError}
19205
+ */
19206
+ getClubType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19207
+ const localVarPath = `/api/clubs/clubType`;
19208
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19209
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19210
+ let baseOptions;
19211
+ if (configuration) {
19212
+ baseOptions = configuration.baseOptions;
19213
+ }
19214
+
19215
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19216
+ const localVarHeaderParameter = {} as any;
19217
+ const localVarQueryParameter = {} as any;
19218
+
19219
+ // authentication bearerAuth required
19220
+ // http bearer authentication required
19221
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
19222
+
19223
+
19224
+
19179
19225
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19180
19226
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19181
19227
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -19444,6 +19490,17 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
19444
19490
  const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubRoles']?.[localVarOperationServerIndex]?.url;
19445
19491
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19446
19492
  },
19493
+ /**
19494
+ *
19495
+ * @param {*} [options] Override http request option.
19496
+ * @throws {RequiredError}
19497
+ */
19498
+ async getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>> {
19499
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubType(options);
19500
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19501
+ const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubType']?.[localVarOperationServerIndex]?.url;
19502
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19503
+ },
19447
19504
  /**
19448
19505
  * Récupère les terrains d\'un club
19449
19506
  * @param {*} [options] Override http request option.
@@ -19557,6 +19614,14 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
19557
19614
  getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response> {
19558
19615
  return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
19559
19616
  },
19617
+ /**
19618
+ *
19619
+ * @param {*} [options] Override http request option.
19620
+ * @throws {RequiredError}
19621
+ */
19622
+ getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response> {
19623
+ return localVarFp.getClubType(options).then((request) => request(axios, basePath));
19624
+ },
19560
19625
  /**
19561
19626
  * Récupère les terrains d\'un club
19562
19627
  * @param {*} [options] Override http request option.
@@ -19775,6 +19840,16 @@ export class ClubsStaffApi extends BaseAPI {
19775
19840
  return ClubsStaffApiFp(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
19776
19841
  }
19777
19842
 
19843
+ /**
19844
+ *
19845
+ * @param {*} [options] Override http request option.
19846
+ * @throws {RequiredError}
19847
+ * @memberof ClubsStaffApi
19848
+ */
19849
+ public getClubType(options?: RawAxiosRequestConfig) {
19850
+ return ClubsStaffApiFp(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
19851
+ }
19852
+
19778
19853
  /**
19779
19854
  * Récupère les terrains d\'un club
19780
19855
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -4885,6 +4885,19 @@ export interface GetClubRoles200Response {
4885
4885
  */
4886
4886
  'roles': Array<any>;
4887
4887
  }
4888
+ /**
4889
+ *
4890
+ * @export
4891
+ * @interface GetClubType200Response
4892
+ */
4893
+ export interface GetClubType200Response {
4894
+ /**
4895
+ *
4896
+ * @type {string}
4897
+ * @memberof GetClubType200Response
4898
+ */
4899
+ 'clubType': string;
4900
+ }
4888
4901
  /**
4889
4902
  *
4890
4903
  * @export
@@ -15055,6 +15068,12 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
15055
15068
  * @throws {RequiredError}
15056
15069
  */
15057
15070
  getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15071
+ /**
15072
+ *
15073
+ * @param {*} [options] Override http request option.
15074
+ * @throws {RequiredError}
15075
+ */
15076
+ getClubType: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15058
15077
  /**
15059
15078
  * Récupère les terrains d\'un club
15060
15079
  * @param {*} [options] Override http request option.
@@ -15133,6 +15152,12 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
15133
15152
  * @throws {RequiredError}
15134
15153
  */
15135
15154
  getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
15155
+ /**
15156
+ *
15157
+ * @param {*} [options] Override http request option.
15158
+ * @throws {RequiredError}
15159
+ */
15160
+ getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
15136
15161
  /**
15137
15162
  * Récupère les terrains d\'un club
15138
15163
  * @param {*} [options] Override http request option.
@@ -15210,6 +15235,12 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
15210
15235
  * @throws {RequiredError}
15211
15236
  */
15212
15237
  getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
15238
+ /**
15239
+ *
15240
+ * @param {*} [options] Override http request option.
15241
+ * @throws {RequiredError}
15242
+ */
15243
+ getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
15213
15244
  /**
15214
15245
  * Récupère les terrains d\'un club
15215
15246
  * @param {*} [options] Override http request option.
@@ -15388,6 +15419,13 @@ export declare class ClubsStaffApi extends BaseAPI {
15388
15419
  * @memberof ClubsStaffApi
15389
15420
  */
15390
15421
  getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
15422
+ /**
15423
+ *
15424
+ * @param {*} [options] Override http request option.
15425
+ * @throws {RequiredError}
15426
+ * @memberof ClubsStaffApi
15427
+ */
15428
+ getClubType(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
15391
15429
  /**
15392
15430
  * Récupère les terrains d\'un club
15393
15431
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -6656,6 +6656,33 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
6656
6656
  options: localVarRequestOptions,
6657
6657
  };
6658
6658
  }),
6659
+ /**
6660
+ *
6661
+ * @param {*} [options] Override http request option.
6662
+ * @throws {RequiredError}
6663
+ */
6664
+ getClubType: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6665
+ const localVarPath = `/api/clubs/clubType`;
6666
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6667
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6668
+ let baseOptions;
6669
+ if (configuration) {
6670
+ baseOptions = configuration.baseOptions;
6671
+ }
6672
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6673
+ const localVarHeaderParameter = {};
6674
+ const localVarQueryParameter = {};
6675
+ // authentication bearerAuth required
6676
+ // http bearer authentication required
6677
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6678
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6679
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6680
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6681
+ return {
6682
+ url: (0, common_1.toPathString)(localVarUrlObj),
6683
+ options: localVarRequestOptions,
6684
+ };
6685
+ }),
6659
6686
  /**
6660
6687
  * Récupère les terrains d\'un club
6661
6688
  * @param {*} [options] Override http request option.
@@ -6901,6 +6928,20 @@ const ClubsStaffApiFp = function (configuration) {
6901
6928
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6902
6929
  });
6903
6930
  },
6931
+ /**
6932
+ *
6933
+ * @param {*} [options] Override http request option.
6934
+ * @throws {RequiredError}
6935
+ */
6936
+ getClubType(options) {
6937
+ return __awaiter(this, void 0, void 0, function* () {
6938
+ var _a, _b, _c;
6939
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(options);
6940
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6941
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getClubType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6942
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6943
+ });
6944
+ },
6904
6945
  /**
6905
6946
  * Récupère les terrains d\'un club
6906
6947
  * @param {*} [options] Override http request option.
@@ -7026,6 +7067,14 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
7026
7067
  getClubRoles(options) {
7027
7068
  return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
7028
7069
  },
7070
+ /**
7071
+ *
7072
+ * @param {*} [options] Override http request option.
7073
+ * @throws {RequiredError}
7074
+ */
7075
+ getClubType(options) {
7076
+ return localVarFp.getClubType(options).then((request) => request(axios, basePath));
7077
+ },
7029
7078
  /**
7030
7079
  * Récupère les terrains d\'un club
7031
7080
  * @param {*} [options] Override http request option.
@@ -7126,6 +7175,15 @@ class ClubsStaffApi extends base_1.BaseAPI {
7126
7175
  getClubRoles(options) {
7127
7176
  return (0, exports.ClubsStaffApiFp)(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
7128
7177
  }
7178
+ /**
7179
+ *
7180
+ * @param {*} [options] Override http request option.
7181
+ * @throws {RequiredError}
7182
+ * @memberof ClubsStaffApi
7183
+ */
7184
+ getClubType(options) {
7185
+ return (0, exports.ClubsStaffApiFp)(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
7186
+ }
7129
7187
  /**
7130
7188
  * Récupère les terrains d\'un club
7131
7189
  * @param {*} [options] Override http request option.
package/dist/esm/api.d.ts CHANGED
@@ -4885,6 +4885,19 @@ export interface GetClubRoles200Response {
4885
4885
  */
4886
4886
  'roles': Array<any>;
4887
4887
  }
4888
+ /**
4889
+ *
4890
+ * @export
4891
+ * @interface GetClubType200Response
4892
+ */
4893
+ export interface GetClubType200Response {
4894
+ /**
4895
+ *
4896
+ * @type {string}
4897
+ * @memberof GetClubType200Response
4898
+ */
4899
+ 'clubType': string;
4900
+ }
4888
4901
  /**
4889
4902
  *
4890
4903
  * @export
@@ -15055,6 +15068,12 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
15055
15068
  * @throws {RequiredError}
15056
15069
  */
15057
15070
  getClubRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15071
+ /**
15072
+ *
15073
+ * @param {*} [options] Override http request option.
15074
+ * @throws {RequiredError}
15075
+ */
15076
+ getClubType: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15058
15077
  /**
15059
15078
  * Récupère les terrains d\'un club
15060
15079
  * @param {*} [options] Override http request option.
@@ -15133,6 +15152,12 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
15133
15152
  * @throws {RequiredError}
15134
15153
  */
15135
15154
  getClubRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubRoles200Response>>;
15155
+ /**
15156
+ *
15157
+ * @param {*} [options] Override http request option.
15158
+ * @throws {RequiredError}
15159
+ */
15160
+ getClubType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubType200Response>>;
15136
15161
  /**
15137
15162
  * Récupère les terrains d\'un club
15138
15163
  * @param {*} [options] Override http request option.
@@ -15210,6 +15235,12 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
15210
15235
  * @throws {RequiredError}
15211
15236
  */
15212
15237
  getClubRoles(options?: RawAxiosRequestConfig): AxiosPromise<GetClubRoles200Response>;
15238
+ /**
15239
+ *
15240
+ * @param {*} [options] Override http request option.
15241
+ * @throws {RequiredError}
15242
+ */
15243
+ getClubType(options?: RawAxiosRequestConfig): AxiosPromise<GetClubType200Response>;
15213
15244
  /**
15214
15245
  * Récupère les terrains d\'un club
15215
15246
  * @param {*} [options] Override http request option.
@@ -15388,6 +15419,13 @@ export declare class ClubsStaffApi extends BaseAPI {
15388
15419
  * @memberof ClubsStaffApi
15389
15420
  */
15390
15421
  getClubRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubRoles200Response, any, {}>>;
15422
+ /**
15423
+ *
15424
+ * @param {*} [options] Override http request option.
15425
+ * @throws {RequiredError}
15426
+ * @memberof ClubsStaffApi
15427
+ */
15428
+ getClubType(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubType200Response, any, {}>>;
15391
15429
  /**
15392
15430
  * Récupère les terrains d\'un club
15393
15431
  * @param {*} [options] Override http request option.
package/dist/esm/api.js CHANGED
@@ -6598,6 +6598,33 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
6598
6598
  options: localVarRequestOptions,
6599
6599
  };
6600
6600
  }),
6601
+ /**
6602
+ *
6603
+ * @param {*} [options] Override http request option.
6604
+ * @throws {RequiredError}
6605
+ */
6606
+ getClubType: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6607
+ const localVarPath = `/api/clubs/clubType`;
6608
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6609
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6610
+ let baseOptions;
6611
+ if (configuration) {
6612
+ baseOptions = configuration.baseOptions;
6613
+ }
6614
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6615
+ const localVarHeaderParameter = {};
6616
+ const localVarQueryParameter = {};
6617
+ // authentication bearerAuth required
6618
+ // http bearer authentication required
6619
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6620
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6621
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6622
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6623
+ return {
6624
+ url: toPathString(localVarUrlObj),
6625
+ options: localVarRequestOptions,
6626
+ };
6627
+ }),
6601
6628
  /**
6602
6629
  * Récupère les terrains d\'un club
6603
6630
  * @param {*} [options] Override http request option.
@@ -6842,6 +6869,20 @@ export const ClubsStaffApiFp = function (configuration) {
6842
6869
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6843
6870
  });
6844
6871
  },
6872
+ /**
6873
+ *
6874
+ * @param {*} [options] Override http request option.
6875
+ * @throws {RequiredError}
6876
+ */
6877
+ getClubType(options) {
6878
+ return __awaiter(this, void 0, void 0, function* () {
6879
+ var _a, _b, _c;
6880
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubType(options);
6881
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6882
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6883
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6884
+ });
6885
+ },
6845
6886
  /**
6846
6887
  * Récupère les terrains d\'un club
6847
6888
  * @param {*} [options] Override http request option.
@@ -6966,6 +7007,14 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
6966
7007
  getClubRoles(options) {
6967
7008
  return localVarFp.getClubRoles(options).then((request) => request(axios, basePath));
6968
7009
  },
7010
+ /**
7011
+ *
7012
+ * @param {*} [options] Override http request option.
7013
+ * @throws {RequiredError}
7014
+ */
7015
+ getClubType(options) {
7016
+ return localVarFp.getClubType(options).then((request) => request(axios, basePath));
7017
+ },
6969
7018
  /**
6970
7019
  * Récupère les terrains d\'un club
6971
7020
  * @param {*} [options] Override http request option.
@@ -7065,6 +7114,15 @@ export class ClubsStaffApi extends BaseAPI {
7065
7114
  getClubRoles(options) {
7066
7115
  return ClubsStaffApiFp(this.configuration).getClubRoles(options).then((request) => request(this.axios, this.basePath));
7067
7116
  }
7117
+ /**
7118
+ *
7119
+ * @param {*} [options] Override http request option.
7120
+ * @throws {RequiredError}
7121
+ * @memberof ClubsStaffApi
7122
+ */
7123
+ getClubType(options) {
7124
+ return ClubsStaffApiFp(this.configuration).getClubType(options).then((request) => request(this.axios, this.basePath));
7125
+ }
7068
7126
  /**
7069
7127
  * Récupère les terrains d\'un club
7070
7128
  * @param {*} [options] Override http request option.
@@ -10,6 +10,7 @@ All URIs are relative to *http://localhost*
10
10
  |[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | |
11
11
  |[**getClubPresentationSettings**](#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation | |
12
12
  |[**getClubRoles**](#getclubroles) | **GET** /api/clubs/roles | |
13
+ |[**getClubType**](#getclubtype) | **GET** /api/clubs/clubType | |
13
14
  |[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/courts | |
14
15
  |[**getInvoices**](#getinvoices) | **GET** /api/clubs/invoices | |
15
16
  |[**getUserProfileStaff**](#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} | |
@@ -292,6 +293,52 @@ This endpoint does not have any parameters.
292
293
 
293
294
  [[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)
294
295
 
296
+ # **getClubType**
297
+ > GetClubType200Response getClubType()
298
+
299
+
300
+ ### Example
301
+
302
+ ```typescript
303
+ import {
304
+ ClubsStaffApi,
305
+ Configuration
306
+ } from '@tennac-booking/sdk';
307
+
308
+ const configuration = new Configuration();
309
+ const apiInstance = new ClubsStaffApi(configuration);
310
+
311
+ const { status, data } = await apiInstance.getClubType();
312
+ ```
313
+
314
+ ### Parameters
315
+ This endpoint does not have any parameters.
316
+
317
+
318
+ ### Return type
319
+
320
+ **GetClubType200Response**
321
+
322
+ ### Authorization
323
+
324
+ [bearerAuth](../README.md#bearerAuth)
325
+
326
+ ### HTTP request headers
327
+
328
+ - **Content-Type**: Not defined
329
+ - **Accept**: application/json
330
+
331
+
332
+ ### HTTP response details
333
+ | Status code | Description | Response headers |
334
+ |-------------|-------------|------------------|
335
+ |**200** | Type de club | - |
336
+ |**400** | Bad Request | - |
337
+ |**404** | Club non trouvé | - |
338
+ |**500** | Server Error | - |
339
+
340
+ [[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)
341
+
295
342
  # **getCourtsByClub**
296
343
  > Array<CourtResponse> getCourtsByClub()
297
344
 
@@ -0,0 +1,20 @@
1
+ # GetClubType200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubType** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetClubType200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetClubType200Response = {
16
+ clubType,
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.126",
3
+ "version": "1.0.128",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {