@tennac-booking/sdk 1.0.145 → 1.0.147

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/README.md CHANGED
@@ -99,7 +99,7 @@ Class | Method | HTTP request | Description
99
99
  *ClubAnalyticsStaffApi* | [**getTenNextBookings**](docs/ClubAnalyticsStaffApi.md#gettennextbookings) | **GET** /api/club-analytics/next-bookings |
100
100
  *ClubAnalyticsStaffApi* | [**getTopCourtsByBookings**](docs/ClubAnalyticsStaffApi.md#gettopcourtsbybookings) | **GET** /api/club-analytics/top-courts |
101
101
  *ClubAnalyticsStaffApi* | [**getYearlyTurnOver**](docs/ClubAnalyticsStaffApi.md#getyearlyturnover) | **GET** /api/club-analytics/yearly-turnover |
102
- *ClubCustomerMeApi* | [**getClubCustomerSettingsByPlayerId**](docs/ClubCustomerMeApi.md#getclubcustomersettingsbyplayerid) | **GET** /api/clubCustomers/club-customer/me/settings |
102
+ *ClubCustomerMeApi* | [**getClubCustomerSettingsByClubId**](docs/ClubCustomerMeApi.md#getclubcustomersettingsbyclubid) | **GET** /api/clubCustomers/{clubId}/club-customer/me/settings |
103
103
  *ClubCustomerStaffApi* | [**getClubCustomerSettings**](docs/ClubCustomerStaffApi.md#getclubcustomersettings) | **GET** /api/clubCustomers/clubCustomer/{userId}/settings |
104
104
  *ClubCustomerStaffApi* | [**updateClubCustomerSettings**](docs/ClubCustomerStaffApi.md#updateclubcustomersettings) | **PATCH** /api/clubCustomers/clubCustomer/{userId}/settings |
105
105
  *ClubRolesManagerApi* | [**createClubRole**](docs/ClubRolesManagerApi.md#createclubrole) | **POST** /api/club-roles |
package/api.ts CHANGED
@@ -16532,11 +16532,15 @@ export const ClubCustomerMeApiAxiosParamCreator = function (configuration?: Conf
16532
16532
  return {
16533
16533
  /**
16534
16534
  *
16535
+ * @param {string} clubId
16535
16536
  * @param {*} [options] Override http request option.
16536
16537
  * @throws {RequiredError}
16537
16538
  */
16538
- getClubCustomerSettingsByPlayerId: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16539
- const localVarPath = `/api/clubCustomers/club-customer/me/settings`;
16539
+ getClubCustomerSettingsByClubId: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16540
+ // verify required parameter 'clubId' is not null or undefined
16541
+ assertParamExists('getClubCustomerSettingsByClubId', 'clubId', clubId)
16542
+ const localVarPath = `/api/clubCustomers/{clubId}/club-customer/me/settings`
16543
+ .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
16540
16544
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16541
16545
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16542
16546
  let baseOptions;
@@ -16575,13 +16579,14 @@ export const ClubCustomerMeApiFp = function(configuration?: Configuration) {
16575
16579
  return {
16576
16580
  /**
16577
16581
  *
16582
+ * @param {string} clubId
16578
16583
  * @param {*} [options] Override http request option.
16579
16584
  * @throws {RequiredError}
16580
16585
  */
16581
- async getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>> {
16582
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClubCustomerSettingsByPlayerId(options);
16586
+ async getClubCustomerSettingsByClubId(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>> {
16587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubCustomerSettingsByClubId(clubId, options);
16583
16588
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16584
- const localVarOperationServerBasePath = operationServerMap['ClubCustomerMeApi.getClubCustomerSettingsByPlayerId']?.[localVarOperationServerIndex]?.url;
16589
+ const localVarOperationServerBasePath = operationServerMap['ClubCustomerMeApi.getClubCustomerSettingsByClubId']?.[localVarOperationServerIndex]?.url;
16585
16590
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16586
16591
  },
16587
16592
  }
@@ -16596,15 +16601,30 @@ export const ClubCustomerMeApiFactory = function (configuration?: Configuration,
16596
16601
  return {
16597
16602
  /**
16598
16603
  *
16604
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
16599
16605
  * @param {*} [options] Override http request option.
16600
16606
  * @throws {RequiredError}
16601
16607
  */
16602
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse> {
16603
- return localVarFp.getClubCustomerSettingsByPlayerId(options).then((request) => request(axios, basePath));
16608
+ getClubCustomerSettingsByClubId(requestParameters: ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse> {
16609
+ return localVarFp.getClubCustomerSettingsByClubId(requestParameters.clubId, options).then((request) => request(axios, basePath));
16604
16610
  },
16605
16611
  };
16606
16612
  };
16607
16613
 
16614
+ /**
16615
+ * Request parameters for getClubCustomerSettingsByClubId operation in ClubCustomerMeApi.
16616
+ * @export
16617
+ * @interface ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest
16618
+ */
16619
+ export interface ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest {
16620
+ /**
16621
+ *
16622
+ * @type {string}
16623
+ * @memberof ClubCustomerMeApiGetClubCustomerSettingsByClubId
16624
+ */
16625
+ readonly clubId: string
16626
+ }
16627
+
16608
16628
  /**
16609
16629
  * ClubCustomerMeApi - object-oriented interface
16610
16630
  * @export
@@ -16614,12 +16634,13 @@ export const ClubCustomerMeApiFactory = function (configuration?: Configuration,
16614
16634
  export class ClubCustomerMeApi extends BaseAPI {
16615
16635
  /**
16616
16636
  *
16637
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
16617
16638
  * @param {*} [options] Override http request option.
16618
16639
  * @throws {RequiredError}
16619
16640
  * @memberof ClubCustomerMeApi
16620
16641
  */
16621
- public getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig) {
16622
- return ClubCustomerMeApiFp(this.configuration).getClubCustomerSettingsByPlayerId(options).then((request) => request(this.axios, this.basePath));
16642
+ public getClubCustomerSettingsByClubId(requestParameters: ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest, options?: RawAxiosRequestConfig) {
16643
+ return ClubCustomerMeApiFp(this.configuration).getClubCustomerSettingsByClubId(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
16623
16644
  }
16624
16645
  }
16625
16646
 
package/dist/api.d.ts CHANGED
@@ -14131,10 +14131,11 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
14131
14131
  export declare const ClubCustomerMeApiAxiosParamCreator: (configuration?: Configuration) => {
14132
14132
  /**
14133
14133
  *
14134
+ * @param {string} clubId
14134
14135
  * @param {*} [options] Override http request option.
14135
14136
  * @throws {RequiredError}
14136
14137
  */
14137
- getClubCustomerSettingsByPlayerId: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14138
+ getClubCustomerSettingsByClubId: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14138
14139
  };
14139
14140
  /**
14140
14141
  * ClubCustomerMeApi - functional programming interface
@@ -14143,10 +14144,11 @@ export declare const ClubCustomerMeApiAxiosParamCreator: (configuration?: Config
14143
14144
  export declare const ClubCustomerMeApiFp: (configuration?: Configuration) => {
14144
14145
  /**
14145
14146
  *
14147
+ * @param {string} clubId
14146
14148
  * @param {*} [options] Override http request option.
14147
14149
  * @throws {RequiredError}
14148
14150
  */
14149
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14151
+ getClubCustomerSettingsByClubId(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14150
14152
  };
14151
14153
  /**
14152
14154
  * ClubCustomerMeApi - factory interface
@@ -14155,11 +14157,25 @@ export declare const ClubCustomerMeApiFp: (configuration?: Configuration) => {
14155
14157
  export declare const ClubCustomerMeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14156
14158
  /**
14157
14159
  *
14160
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
14158
14161
  * @param {*} [options] Override http request option.
14159
14162
  * @throws {RequiredError}
14160
14163
  */
14161
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14164
+ getClubCustomerSettingsByClubId(requestParameters: ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14162
14165
  };
14166
+ /**
14167
+ * Request parameters for getClubCustomerSettingsByClubId operation in ClubCustomerMeApi.
14168
+ * @export
14169
+ * @interface ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest
14170
+ */
14171
+ export interface ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest {
14172
+ /**
14173
+ *
14174
+ * @type {string}
14175
+ * @memberof ClubCustomerMeApiGetClubCustomerSettingsByClubId
14176
+ */
14177
+ readonly clubId: string;
14178
+ }
14163
14179
  /**
14164
14180
  * ClubCustomerMeApi - object-oriented interface
14165
14181
  * @export
@@ -14169,11 +14185,12 @@ export declare const ClubCustomerMeApiFactory: (configuration?: Configuration, b
14169
14185
  export declare class ClubCustomerMeApi extends BaseAPI {
14170
14186
  /**
14171
14187
  *
14188
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
14172
14189
  * @param {*} [options] Override http request option.
14173
14190
  * @throws {RequiredError}
14174
14191
  * @memberof ClubCustomerMeApi
14175
14192
  */
14176
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14193
+ getClubCustomerSettingsByClubId(requestParameters: ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14177
14194
  }
14178
14195
  /**
14179
14196
  * ClubCustomerStaffApi - axios parameter creator
package/dist/api.js CHANGED
@@ -3862,11 +3862,15 @@ const ClubCustomerMeApiAxiosParamCreator = function (configuration) {
3862
3862
  return {
3863
3863
  /**
3864
3864
  *
3865
+ * @param {string} clubId
3865
3866
  * @param {*} [options] Override http request option.
3866
3867
  * @throws {RequiredError}
3867
3868
  */
3868
- getClubCustomerSettingsByPlayerId: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3869
- const localVarPath = `/api/clubCustomers/club-customer/me/settings`;
3869
+ getClubCustomerSettingsByClubId: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
3870
+ // verify required parameter 'clubId' is not null or undefined
3871
+ (0, common_1.assertParamExists)('getClubCustomerSettingsByClubId', 'clubId', clubId);
3872
+ const localVarPath = `/api/clubCustomers/{clubId}/club-customer/me/settings`
3873
+ .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
3870
3874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3871
3875
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3872
3876
  let baseOptions;
@@ -3899,15 +3903,16 @@ const ClubCustomerMeApiFp = function (configuration) {
3899
3903
  return {
3900
3904
  /**
3901
3905
  *
3906
+ * @param {string} clubId
3902
3907
  * @param {*} [options] Override http request option.
3903
3908
  * @throws {RequiredError}
3904
3909
  */
3905
- getClubCustomerSettingsByPlayerId(options) {
3910
+ getClubCustomerSettingsByClubId(clubId, options) {
3906
3911
  return __awaiter(this, void 0, void 0, function* () {
3907
3912
  var _a, _b, _c;
3908
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubCustomerSettingsByPlayerId(options);
3913
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubCustomerSettingsByClubId(clubId, options);
3909
3914
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3910
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubCustomerMeApi.getClubCustomerSettingsByPlayerId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3915
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubCustomerMeApi.getClubCustomerSettingsByClubId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3911
3916
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3912
3917
  });
3913
3918
  },
@@ -3923,11 +3928,12 @@ const ClubCustomerMeApiFactory = function (configuration, basePath, axios) {
3923
3928
  return {
3924
3929
  /**
3925
3930
  *
3931
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
3926
3932
  * @param {*} [options] Override http request option.
3927
3933
  * @throws {RequiredError}
3928
3934
  */
3929
- getClubCustomerSettingsByPlayerId(options) {
3930
- return localVarFp.getClubCustomerSettingsByPlayerId(options).then((request) => request(axios, basePath));
3935
+ getClubCustomerSettingsByClubId(requestParameters, options) {
3936
+ return localVarFp.getClubCustomerSettingsByClubId(requestParameters.clubId, options).then((request) => request(axios, basePath));
3931
3937
  },
3932
3938
  };
3933
3939
  };
@@ -3941,12 +3947,13 @@ exports.ClubCustomerMeApiFactory = ClubCustomerMeApiFactory;
3941
3947
  class ClubCustomerMeApi extends base_1.BaseAPI {
3942
3948
  /**
3943
3949
  *
3950
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
3944
3951
  * @param {*} [options] Override http request option.
3945
3952
  * @throws {RequiredError}
3946
3953
  * @memberof ClubCustomerMeApi
3947
3954
  */
3948
- getClubCustomerSettingsByPlayerId(options) {
3949
- return (0, exports.ClubCustomerMeApiFp)(this.configuration).getClubCustomerSettingsByPlayerId(options).then((request) => request(this.axios, this.basePath));
3955
+ getClubCustomerSettingsByClubId(requestParameters, options) {
3956
+ return (0, exports.ClubCustomerMeApiFp)(this.configuration).getClubCustomerSettingsByClubId(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
3950
3957
  }
3951
3958
  }
3952
3959
  exports.ClubCustomerMeApi = ClubCustomerMeApi;
package/dist/esm/api.d.ts CHANGED
@@ -14131,10 +14131,11 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
14131
14131
  export declare const ClubCustomerMeApiAxiosParamCreator: (configuration?: Configuration) => {
14132
14132
  /**
14133
14133
  *
14134
+ * @param {string} clubId
14134
14135
  * @param {*} [options] Override http request option.
14135
14136
  * @throws {RequiredError}
14136
14137
  */
14137
- getClubCustomerSettingsByPlayerId: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14138
+ getClubCustomerSettingsByClubId: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14138
14139
  };
14139
14140
  /**
14140
14141
  * ClubCustomerMeApi - functional programming interface
@@ -14143,10 +14144,11 @@ export declare const ClubCustomerMeApiAxiosParamCreator: (configuration?: Config
14143
14144
  export declare const ClubCustomerMeApiFp: (configuration?: Configuration) => {
14144
14145
  /**
14145
14146
  *
14147
+ * @param {string} clubId
14146
14148
  * @param {*} [options] Override http request option.
14147
14149
  * @throws {RequiredError}
14148
14150
  */
14149
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14151
+ getClubCustomerSettingsByClubId(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
14150
14152
  };
14151
14153
  /**
14152
14154
  * ClubCustomerMeApi - factory interface
@@ -14155,11 +14157,25 @@ export declare const ClubCustomerMeApiFp: (configuration?: Configuration) => {
14155
14157
  export declare const ClubCustomerMeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14156
14158
  /**
14157
14159
  *
14160
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
14158
14161
  * @param {*} [options] Override http request option.
14159
14162
  * @throws {RequiredError}
14160
14163
  */
14161
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14164
+ getClubCustomerSettingsByClubId(requestParameters: ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
14162
14165
  };
14166
+ /**
14167
+ * Request parameters for getClubCustomerSettingsByClubId operation in ClubCustomerMeApi.
14168
+ * @export
14169
+ * @interface ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest
14170
+ */
14171
+ export interface ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest {
14172
+ /**
14173
+ *
14174
+ * @type {string}
14175
+ * @memberof ClubCustomerMeApiGetClubCustomerSettingsByClubId
14176
+ */
14177
+ readonly clubId: string;
14178
+ }
14163
14179
  /**
14164
14180
  * ClubCustomerMeApi - object-oriented interface
14165
14181
  * @export
@@ -14169,11 +14185,12 @@ export declare const ClubCustomerMeApiFactory: (configuration?: Configuration, b
14169
14185
  export declare class ClubCustomerMeApi extends BaseAPI {
14170
14186
  /**
14171
14187
  *
14188
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
14172
14189
  * @param {*} [options] Override http request option.
14173
14190
  * @throws {RequiredError}
14174
14191
  * @memberof ClubCustomerMeApi
14175
14192
  */
14176
- getClubCustomerSettingsByPlayerId(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14193
+ getClubCustomerSettingsByClubId(requestParameters: ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
14177
14194
  }
14178
14195
  /**
14179
14196
  * ClubCustomerStaffApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -3828,11 +3828,15 @@ export const ClubCustomerMeApiAxiosParamCreator = function (configuration) {
3828
3828
  return {
3829
3829
  /**
3830
3830
  *
3831
+ * @param {string} clubId
3831
3832
  * @param {*} [options] Override http request option.
3832
3833
  * @throws {RequiredError}
3833
3834
  */
3834
- getClubCustomerSettingsByPlayerId: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3835
- const localVarPath = `/api/clubCustomers/club-customer/me/settings`;
3835
+ getClubCustomerSettingsByClubId: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
3836
+ // verify required parameter 'clubId' is not null or undefined
3837
+ assertParamExists('getClubCustomerSettingsByClubId', 'clubId', clubId);
3838
+ const localVarPath = `/api/clubCustomers/{clubId}/club-customer/me/settings`
3839
+ .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
3836
3840
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3837
3841
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3838
3842
  let baseOptions;
@@ -3864,15 +3868,16 @@ export const ClubCustomerMeApiFp = function (configuration) {
3864
3868
  return {
3865
3869
  /**
3866
3870
  *
3871
+ * @param {string} clubId
3867
3872
  * @param {*} [options] Override http request option.
3868
3873
  * @throws {RequiredError}
3869
3874
  */
3870
- getClubCustomerSettingsByPlayerId(options) {
3875
+ getClubCustomerSettingsByClubId(clubId, options) {
3871
3876
  return __awaiter(this, void 0, void 0, function* () {
3872
3877
  var _a, _b, _c;
3873
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubCustomerSettingsByPlayerId(options);
3878
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubCustomerSettingsByClubId(clubId, options);
3874
3879
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3875
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubCustomerMeApi.getClubCustomerSettingsByPlayerId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3880
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubCustomerMeApi.getClubCustomerSettingsByClubId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3876
3881
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3877
3882
  });
3878
3883
  },
@@ -3887,11 +3892,12 @@ export const ClubCustomerMeApiFactory = function (configuration, basePath, axios
3887
3892
  return {
3888
3893
  /**
3889
3894
  *
3895
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
3890
3896
  * @param {*} [options] Override http request option.
3891
3897
  * @throws {RequiredError}
3892
3898
  */
3893
- getClubCustomerSettingsByPlayerId(options) {
3894
- return localVarFp.getClubCustomerSettingsByPlayerId(options).then((request) => request(axios, basePath));
3899
+ getClubCustomerSettingsByClubId(requestParameters, options) {
3900
+ return localVarFp.getClubCustomerSettingsByClubId(requestParameters.clubId, options).then((request) => request(axios, basePath));
3895
3901
  },
3896
3902
  };
3897
3903
  };
@@ -3904,12 +3910,13 @@ export const ClubCustomerMeApiFactory = function (configuration, basePath, axios
3904
3910
  export class ClubCustomerMeApi extends BaseAPI {
3905
3911
  /**
3906
3912
  *
3913
+ * @param {ClubCustomerMeApiGetClubCustomerSettingsByClubIdRequest} requestParameters Request parameters.
3907
3914
  * @param {*} [options] Override http request option.
3908
3915
  * @throws {RequiredError}
3909
3916
  * @memberof ClubCustomerMeApi
3910
3917
  */
3911
- getClubCustomerSettingsByPlayerId(options) {
3912
- return ClubCustomerMeApiFp(this.configuration).getClubCustomerSettingsByPlayerId(options).then((request) => request(this.axios, this.basePath));
3918
+ getClubCustomerSettingsByClubId(requestParameters, options) {
3919
+ return ClubCustomerMeApiFp(this.configuration).getClubCustomerSettingsByClubId(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
3913
3920
  }
3914
3921
  }
3915
3922
  /**
@@ -4,10 +4,10 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**getClubCustomerSettingsByPlayerId**](#getclubcustomersettingsbyplayerid) | **GET** /api/clubCustomers/club-customer/me/settings | |
7
+ |[**getClubCustomerSettingsByClubId**](#getclubcustomersettingsbyclubid) | **GET** /api/clubCustomers/{clubId}/club-customer/me/settings | |
8
8
 
9
- # **getClubCustomerSettingsByPlayerId**
10
- > ClubCustomerSettingsResponse getClubCustomerSettingsByPlayerId()
9
+ # **getClubCustomerSettingsByClubId**
10
+ > ClubCustomerSettingsResponse getClubCustomerSettingsByClubId()
11
11
 
12
12
 
13
13
  ### Example
@@ -21,11 +21,18 @@ import {
21
21
  const configuration = new Configuration();
22
22
  const apiInstance = new ClubCustomerMeApi(configuration);
23
23
 
24
- const { status, data } = await apiInstance.getClubCustomerSettingsByPlayerId();
24
+ let clubId: string; // (default to undefined)
25
+
26
+ const { status, data } = await apiInstance.getClubCustomerSettingsByClubId(
27
+ clubId
28
+ );
25
29
  ```
26
30
 
27
31
  ### Parameters
28
- This endpoint does not have any parameters.
32
+
33
+ |Name | Type | Description | Notes|
34
+ |------------- | ------------- | ------------- | -------------|
35
+ | **clubId** | [**string**] | | defaults to undefined|
29
36
 
30
37
 
31
38
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.145",
3
+ "version": "1.0.147",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {