@tennac-booking/sdk 1.0.142 → 1.0.144

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/api.ts CHANGED
@@ -1263,6 +1263,30 @@ export interface BookingSummaryClubAddress {
1263
1263
  * @interface BookingsPerDayItem
1264
1264
  */
1265
1265
  export interface BookingsPerDayItem {
1266
+ /**
1267
+ * Valeur mesurée sur la période actuelle
1268
+ * @type {number}
1269
+ * @memberof BookingsPerDayItem
1270
+ */
1271
+ 'value': number;
1272
+ /**
1273
+ * Valeur de référence calculée avec la comparaison Same Weekday
1274
+ * @type {number}
1275
+ * @memberof BookingsPerDayItem
1276
+ */
1277
+ 'reference': number;
1278
+ /**
1279
+ * Différence entre la valeur actuelle et la référence
1280
+ * @type {number}
1281
+ * @memberof BookingsPerDayItem
1282
+ */
1283
+ 'delta': number;
1284
+ /**
1285
+ *
1286
+ * @type {TrendDirection}
1287
+ * @memberof BookingsPerDayItem
1288
+ */
1289
+ 'trend': TrendDirection;
1266
1290
  /**
1267
1291
  * Jour au format YYYY-MM-DD
1268
1292
  * @type {string}
@@ -1276,6 +1300,8 @@ export interface BookingsPerDayItem {
1276
1300
  */
1277
1301
  'bookingsCount': number;
1278
1302
  }
1303
+
1304
+
1279
1305
  /**
1280
1306
  *
1281
1307
  * @export
@@ -1931,6 +1957,73 @@ export interface ClubAccessSettingsResponse {
1931
1957
  */
1932
1958
  'paymentRequirements': PaymentRequirementsSettings | null;
1933
1959
  }
1960
+ /**
1961
+ *
1962
+ * @export
1963
+ * @interface ClubCustomerSettingsResponse
1964
+ */
1965
+ export interface ClubCustomerSettingsResponse {
1966
+ /**
1967
+ *
1968
+ * @type {string}
1969
+ * @memberof ClubCustomerSettingsResponse
1970
+ */
1971
+ 'userId': string;
1972
+ /**
1973
+ *
1974
+ * @type {string}
1975
+ * @memberof ClubCustomerSettingsResponse
1976
+ */
1977
+ 'clubId': string;
1978
+ /**
1979
+ *
1980
+ * @type {number}
1981
+ * @memberof ClubCustomerSettingsResponse
1982
+ */
1983
+ 'credits': number;
1984
+ /**
1985
+ *
1986
+ * @type {boolean}
1987
+ * @memberof ClubCustomerSettingsResponse
1988
+ */
1989
+ 'isBanned': boolean;
1990
+ /**
1991
+ *
1992
+ * @type {boolean}
1993
+ * @memberof ClubCustomerSettingsResponse
1994
+ */
1995
+ 'isIllimited': boolean;
1996
+ /**
1997
+ *
1998
+ * @type {boolean}
1999
+ * @memberof ClubCustomerSettingsResponse
2000
+ */
2001
+ 'isFree': boolean;
2002
+ /**
2003
+ *
2004
+ * @type {boolean}
2005
+ * @memberof ClubCustomerSettingsResponse
2006
+ */
2007
+ 'isNoShowForced': boolean;
2008
+ /**
2009
+ *
2010
+ * @type {boolean}
2011
+ * @memberof ClubCustomerSettingsResponse
2012
+ */
2013
+ 'paymentMethodSetupCompleted': boolean;
2014
+ /**
2015
+ *
2016
+ * @type {string}
2017
+ * @memberof ClubCustomerSettingsResponse
2018
+ */
2019
+ 'defaultPaymentMethodId': string | null;
2020
+ /**
2021
+ *
2022
+ * @type {Array<string>}
2023
+ * @memberof ClubCustomerSettingsResponse
2024
+ */
2025
+ 'subscriptions': Array<string>;
2026
+ }
1934
2027
  /**
1935
2028
  *
1936
2029
  * @export
@@ -2234,6 +2327,30 @@ export interface ClubMetadataResponseLocation {
2234
2327
  * @interface ClubNewBookingsResponse
2235
2328
  */
2236
2329
  export interface ClubNewBookingsResponse {
2330
+ /**
2331
+ * Valeur mesurée sur la période actuelle
2332
+ * @type {number}
2333
+ * @memberof ClubNewBookingsResponse
2334
+ */
2335
+ 'value': number;
2336
+ /**
2337
+ * Valeur de référence calculée avec la comparaison Same Weekday
2338
+ * @type {number}
2339
+ * @memberof ClubNewBookingsResponse
2340
+ */
2341
+ 'reference': number;
2342
+ /**
2343
+ * Différence entre la valeur actuelle et la référence
2344
+ * @type {number}
2345
+ * @memberof ClubNewBookingsResponse
2346
+ */
2347
+ 'delta': number;
2348
+ /**
2349
+ *
2350
+ * @type {TrendDirection}
2351
+ * @memberof ClubNewBookingsResponse
2352
+ */
2353
+ 'trend': TrendDirection;
2237
2354
  /**
2238
2355
  * Date de début incluse (format ISO)
2239
2356
  * @type {string}
@@ -2253,12 +2370,38 @@ export interface ClubNewBookingsResponse {
2253
2370
  */
2254
2371
  'newBookings': number;
2255
2372
  }
2373
+
2374
+
2256
2375
  /**
2257
2376
  *
2258
2377
  * @export
2259
2378
  * @interface ClubNewSubscribersResponse
2260
2379
  */
2261
2380
  export interface ClubNewSubscribersResponse {
2381
+ /**
2382
+ * Valeur mesurée sur la période actuelle
2383
+ * @type {number}
2384
+ * @memberof ClubNewSubscribersResponse
2385
+ */
2386
+ 'value': number;
2387
+ /**
2388
+ * Valeur de référence calculée avec la comparaison Same Weekday
2389
+ * @type {number}
2390
+ * @memberof ClubNewSubscribersResponse
2391
+ */
2392
+ 'reference': number;
2393
+ /**
2394
+ * Différence entre la valeur actuelle et la référence
2395
+ * @type {number}
2396
+ * @memberof ClubNewSubscribersResponse
2397
+ */
2398
+ 'delta': number;
2399
+ /**
2400
+ *
2401
+ * @type {TrendDirection}
2402
+ * @memberof ClubNewSubscribersResponse
2403
+ */
2404
+ 'trend': TrendDirection;
2262
2405
  /**
2263
2406
  * Date de début incluse (format ISO)
2264
2407
  * @type {string}
@@ -2278,6 +2421,8 @@ export interface ClubNewSubscribersResponse {
2278
2421
  */
2279
2422
  'newSubscribers': number;
2280
2423
  }
2424
+
2425
+
2281
2426
  /**
2282
2427
  *
2283
2428
  * @export
@@ -3973,6 +4118,12 @@ export interface CreateEventRequest {
3973
4118
  * @memberof CreateEventRequest
3974
4119
  */
3975
4120
  'sponsors'?: Array<EventSponsor>;
4121
+ /**
4122
+ *
4123
+ * @type {string}
4124
+ * @memberof CreateEventRequest
4125
+ */
4126
+ 'registrationOpeningDate': string;
3976
4127
  /**
3977
4128
  *
3978
4129
  * @type {string}
@@ -5090,6 +5241,12 @@ export interface EventResponse {
5090
5241
  * @memberof EventResponse
5091
5242
  */
5092
5243
  'sponsors'?: Array<EventSponsor>;
5244
+ /**
5245
+ *
5246
+ * @type {string}
5247
+ * @memberof EventResponse
5248
+ */
5249
+ 'registrationOpeningDate': string;
5093
5250
  /**
5094
5251
  *
5095
5252
  * @type {string}
@@ -6742,6 +6899,30 @@ export interface MonthlyBreakdown {
6742
6899
  * @interface MonthlyTurnoverResponse
6743
6900
  */
6744
6901
  export interface MonthlyTurnoverResponse {
6902
+ /**
6903
+ * Valeur mesurée sur la période actuelle
6904
+ * @type {number}
6905
+ * @memberof MonthlyTurnoverResponse
6906
+ */
6907
+ 'value': number;
6908
+ /**
6909
+ * Valeur de référence calculée avec la comparaison Same Weekday
6910
+ * @type {number}
6911
+ * @memberof MonthlyTurnoverResponse
6912
+ */
6913
+ 'reference': number;
6914
+ /**
6915
+ * Différence entre la valeur actuelle et la référence
6916
+ * @type {number}
6917
+ * @memberof MonthlyTurnoverResponse
6918
+ */
6919
+ 'delta': number;
6920
+ /**
6921
+ *
6922
+ * @type {TrendDirection}
6923
+ * @memberof MonthlyTurnoverResponse
6924
+ */
6925
+ 'trend': TrendDirection;
6745
6926
  /**
6746
6927
  * Année
6747
6928
  * @type {number}
@@ -6773,6 +6954,8 @@ export interface MonthlyTurnoverResponse {
6773
6954
  */
6774
6955
  'period': string;
6775
6956
  }
6957
+
6958
+
6776
6959
  /**
6777
6960
  *
6778
6961
  * @export
@@ -8568,6 +8751,30 @@ export interface ResetPasswordRequest {
8568
8751
  * @interface RetentionRateResponse
8569
8752
  */
8570
8753
  export interface RetentionRateResponse {
8754
+ /**
8755
+ * Valeur mesurée sur la période actuelle
8756
+ * @type {number}
8757
+ * @memberof RetentionRateResponse
8758
+ */
8759
+ 'value': number;
8760
+ /**
8761
+ * Valeur de référence calculée avec la comparaison Same Weekday
8762
+ * @type {number}
8763
+ * @memberof RetentionRateResponse
8764
+ */
8765
+ 'reference': number;
8766
+ /**
8767
+ * Différence entre la valeur actuelle et la référence
8768
+ * @type {number}
8769
+ * @memberof RetentionRateResponse
8770
+ */
8771
+ 'delta': number;
8772
+ /**
8773
+ *
8774
+ * @type {TrendDirection}
8775
+ * @memberof RetentionRateResponse
8776
+ */
8777
+ 'trend': TrendDirection;
8571
8778
  /**
8572
8779
  * Pourcentage de joueurs fidèles (>= 2 réservations)
8573
8780
  * @type {number}
@@ -8587,6 +8794,8 @@ export interface RetentionRateResponse {
8587
8794
  */
8588
8795
  'totalPlayers': number;
8589
8796
  }
8797
+
8798
+
8590
8799
  /**
8591
8800
  *
8592
8801
  * @export
@@ -9848,6 +10057,21 @@ export interface TimeBounds {
9848
10057
  */
9849
10058
  'end': string;
9850
10059
  }
10060
+ /**
10061
+ *
10062
+ * @export
10063
+ * @enum {string}
10064
+ */
10065
+
10066
+ export const TrendDirection = {
10067
+ Up: 'up',
10068
+ Down: 'down',
10069
+ Steady: 'steady'
10070
+ } as const;
10071
+
10072
+ export type TrendDirection = typeof TrendDirection[keyof typeof TrendDirection];
10073
+
10074
+
9851
10075
  /**
9852
10076
  *
9853
10077
  * @export
@@ -10399,6 +10623,12 @@ export interface UpdateEventRequest {
10399
10623
  * @memberof UpdateEventRequest
10400
10624
  */
10401
10625
  'levels'?: Array<string | null>;
10626
+ /**
10627
+ *
10628
+ * @type {string}
10629
+ * @memberof UpdateEventRequest
10630
+ */
10631
+ 'registrationOpeningDate'?: string;
10402
10632
  /**
10403
10633
  *
10404
10634
  * @type {Array<EventSponsor>}
@@ -14536,10 +14766,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
14536
14766
  },
14537
14767
  /**
14538
14768
  * Calcule le taux de fidélisation des joueurs
14769
+ * @param {string} [startDate]
14770
+ * @param {string} [endDate]
14539
14771
  * @param {*} [options] Override http request option.
14540
14772
  * @throws {RequiredError}
14541
14773
  */
14542
- getRetentionRate: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14774
+ getRetentionRate: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14543
14775
  const localVarPath = `/api/club-analytics/retention-rate`;
14544
14776
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14545
14777
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14556,6 +14788,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
14556
14788
  // http bearer authentication required
14557
14789
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
14558
14790
 
14791
+ if (startDate !== undefined) {
14792
+ localVarQueryParameter['startDate'] = startDate;
14793
+ }
14794
+
14795
+ if (endDate !== undefined) {
14796
+ localVarQueryParameter['endDate'] = endDate;
14797
+ }
14798
+
14559
14799
 
14560
14800
 
14561
14801
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14940,11 +15180,13 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
14940
15180
  },
14941
15181
  /**
14942
15182
  * Calcule le taux de fidélisation des joueurs
15183
+ * @param {string} [startDate]
15184
+ * @param {string} [endDate]
14943
15185
  * @param {*} [options] Override http request option.
14944
15186
  * @throws {RequiredError}
14945
15187
  */
14946
- async getRetentionRate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetentionRateResponse>> {
14947
- const localVarAxiosArgs = await localVarAxiosParamCreator.getRetentionRate(options);
15188
+ async getRetentionRate(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetentionRateResponse>> {
15189
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRetentionRate(startDate, endDate, options);
14948
15190
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14949
15191
  const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getRetentionRate']?.[localVarOperationServerIndex]?.url;
14950
15192
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -15163,11 +15405,12 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
15163
15405
  },
15164
15406
  /**
15165
15407
  * Calcule le taux de fidélisation des joueurs
15408
+ * @param {ClubAnalyticsStaffApiGetRetentionRateRequest} requestParameters Request parameters.
15166
15409
  * @param {*} [options] Override http request option.
15167
15410
  * @throws {RequiredError}
15168
15411
  */
15169
- getRetentionRate(options?: RawAxiosRequestConfig): AxiosPromise<RetentionRateResponse> {
15170
- return localVarFp.getRetentionRate(options).then((request) => request(axios, basePath));
15412
+ getRetentionRate(requestParameters: ClubAnalyticsStaffApiGetRetentionRateRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<RetentionRateResponse> {
15413
+ return localVarFp.getRetentionRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
15171
15414
  },
15172
15415
  /**
15173
15416
  * Récupère le chiffre d\'affaires par sport
@@ -15464,6 +15707,27 @@ export interface ClubAnalyticsStaffApiGetNoShowRateRequest {
15464
15707
  readonly endDate?: string
15465
15708
  }
15466
15709
 
15710
+ /**
15711
+ * Request parameters for getRetentionRate operation in ClubAnalyticsStaffApi.
15712
+ * @export
15713
+ * @interface ClubAnalyticsStaffApiGetRetentionRateRequest
15714
+ */
15715
+ export interface ClubAnalyticsStaffApiGetRetentionRateRequest {
15716
+ /**
15717
+ *
15718
+ * @type {string}
15719
+ * @memberof ClubAnalyticsStaffApiGetRetentionRate
15720
+ */
15721
+ readonly startDate?: string
15722
+
15723
+ /**
15724
+ *
15725
+ * @type {string}
15726
+ * @memberof ClubAnalyticsStaffApiGetRetentionRate
15727
+ */
15728
+ readonly endDate?: string
15729
+ }
15730
+
15467
15731
  /**
15468
15732
  * Request parameters for getYearlyTurnOver operation in ClubAnalyticsStaffApi.
15469
15733
  * @export
@@ -15680,12 +15944,13 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
15680
15944
 
15681
15945
  /**
15682
15946
  * Calcule le taux de fidélisation des joueurs
15947
+ * @param {ClubAnalyticsStaffApiGetRetentionRateRequest} requestParameters Request parameters.
15683
15948
  * @param {*} [options] Override http request option.
15684
15949
  * @throws {RequiredError}
15685
15950
  * @memberof ClubAnalyticsStaffApi
15686
15951
  */
15687
- public getRetentionRate(options?: RawAxiosRequestConfig) {
15688
- return ClubAnalyticsStaffApiFp(this.configuration).getRetentionRate(options).then((request) => request(this.axios, this.basePath));
15952
+ public getRetentionRate(requestParameters: ClubAnalyticsStaffApiGetRetentionRateRequest = {}, options?: RawAxiosRequestConfig) {
15953
+ return ClubAnalyticsStaffApiFp(this.configuration).getRetentionRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
15689
15954
  }
15690
15955
 
15691
15956
  /**
@@ -15732,6 +15997,225 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
15732
15997
 
15733
15998
 
15734
15999
 
16000
+ /**
16001
+ * ClubCustomerStaffApi - axios parameter creator
16002
+ * @export
16003
+ */
16004
+ export const ClubCustomerStaffApiAxiosParamCreator = function (configuration?: Configuration) {
16005
+ return {
16006
+ /**
16007
+ *
16008
+ * @param {string} userId
16009
+ * @param {*} [options] Override http request option.
16010
+ * @throws {RequiredError}
16011
+ */
16012
+ getClubCustomerSettings: async (userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16013
+ // verify required parameter 'userId' is not null or undefined
16014
+ assertParamExists('getClubCustomerSettings', 'userId', userId)
16015
+ const localVarPath = `/api/clubCustomers/clubCustomer/{userId}/settings`
16016
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
16017
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16018
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16019
+ let baseOptions;
16020
+ if (configuration) {
16021
+ baseOptions = configuration.baseOptions;
16022
+ }
16023
+
16024
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16025
+ const localVarHeaderParameter = {} as any;
16026
+ const localVarQueryParameter = {} as any;
16027
+
16028
+ // authentication bearerAuth required
16029
+ // http bearer authentication required
16030
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16031
+
16032
+
16033
+
16034
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16035
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16036
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16037
+
16038
+ return {
16039
+ url: toPathString(localVarUrlObj),
16040
+ options: localVarRequestOptions,
16041
+ };
16042
+ },
16043
+ /**
16044
+ *
16045
+ * @param {string} userId
16046
+ * @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
16047
+ * @param {*} [options] Override http request option.
16048
+ * @throws {RequiredError}
16049
+ */
16050
+ updateClubCustomerSettings: async (userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16051
+ // verify required parameter 'userId' is not null or undefined
16052
+ assertParamExists('updateClubCustomerSettings', 'userId', userId)
16053
+ // verify required parameter 'clubCustomerSettingsResponse' is not null or undefined
16054
+ assertParamExists('updateClubCustomerSettings', 'clubCustomerSettingsResponse', clubCustomerSettingsResponse)
16055
+ const localVarPath = `/api/clubCustomers/clubCustomer/{userId}/settings`
16056
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
16057
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16058
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16059
+ let baseOptions;
16060
+ if (configuration) {
16061
+ baseOptions = configuration.baseOptions;
16062
+ }
16063
+
16064
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
16065
+ const localVarHeaderParameter = {} as any;
16066
+ const localVarQueryParameter = {} as any;
16067
+
16068
+ // authentication bearerAuth required
16069
+ // http bearer authentication required
16070
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16071
+
16072
+
16073
+
16074
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16075
+
16076
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16077
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16078
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16079
+ localVarRequestOptions.data = serializeDataIfNeeded(clubCustomerSettingsResponse, localVarRequestOptions, configuration)
16080
+
16081
+ return {
16082
+ url: toPathString(localVarUrlObj),
16083
+ options: localVarRequestOptions,
16084
+ };
16085
+ },
16086
+ }
16087
+ };
16088
+
16089
+ /**
16090
+ * ClubCustomerStaffApi - functional programming interface
16091
+ * @export
16092
+ */
16093
+ export const ClubCustomerStaffApiFp = function(configuration?: Configuration) {
16094
+ const localVarAxiosParamCreator = ClubCustomerStaffApiAxiosParamCreator(configuration)
16095
+ return {
16096
+ /**
16097
+ *
16098
+ * @param {string} userId
16099
+ * @param {*} [options] Override http request option.
16100
+ * @throws {RequiredError}
16101
+ */
16102
+ async getClubCustomerSettings(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>> {
16103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubCustomerSettings(userId, options);
16104
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16105
+ const localVarOperationServerBasePath = operationServerMap['ClubCustomerStaffApi.getClubCustomerSettings']?.[localVarOperationServerIndex]?.url;
16106
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16107
+ },
16108
+ /**
16109
+ *
16110
+ * @param {string} userId
16111
+ * @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
16112
+ * @param {*} [options] Override http request option.
16113
+ * @throws {RequiredError}
16114
+ */
16115
+ async updateClubCustomerSettings(userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>> {
16116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubCustomerSettings(userId, clubCustomerSettingsResponse, options);
16117
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16118
+ const localVarOperationServerBasePath = operationServerMap['ClubCustomerStaffApi.updateClubCustomerSettings']?.[localVarOperationServerIndex]?.url;
16119
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16120
+ },
16121
+ }
16122
+ };
16123
+
16124
+ /**
16125
+ * ClubCustomerStaffApi - factory interface
16126
+ * @export
16127
+ */
16128
+ export const ClubCustomerStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
16129
+ const localVarFp = ClubCustomerStaffApiFp(configuration)
16130
+ return {
16131
+ /**
16132
+ *
16133
+ * @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
16134
+ * @param {*} [options] Override http request option.
16135
+ * @throws {RequiredError}
16136
+ */
16137
+ getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse> {
16138
+ return localVarFp.getClubCustomerSettings(requestParameters.userId, options).then((request) => request(axios, basePath));
16139
+ },
16140
+ /**
16141
+ *
16142
+ * @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
16143
+ * @param {*} [options] Override http request option.
16144
+ * @throws {RequiredError}
16145
+ */
16146
+ updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse> {
16147
+ return localVarFp.updateClubCustomerSettings(requestParameters.userId, requestParameters.clubCustomerSettingsResponse, options).then((request) => request(axios, basePath));
16148
+ },
16149
+ };
16150
+ };
16151
+
16152
+ /**
16153
+ * Request parameters for getClubCustomerSettings operation in ClubCustomerStaffApi.
16154
+ * @export
16155
+ * @interface ClubCustomerStaffApiGetClubCustomerSettingsRequest
16156
+ */
16157
+ export interface ClubCustomerStaffApiGetClubCustomerSettingsRequest {
16158
+ /**
16159
+ *
16160
+ * @type {string}
16161
+ * @memberof ClubCustomerStaffApiGetClubCustomerSettings
16162
+ */
16163
+ readonly userId: string
16164
+ }
16165
+
16166
+ /**
16167
+ * Request parameters for updateClubCustomerSettings operation in ClubCustomerStaffApi.
16168
+ * @export
16169
+ * @interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest
16170
+ */
16171
+ export interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest {
16172
+ /**
16173
+ *
16174
+ * @type {string}
16175
+ * @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
16176
+ */
16177
+ readonly userId: string
16178
+
16179
+ /**
16180
+ *
16181
+ * @type {ClubCustomerSettingsResponse}
16182
+ * @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
16183
+ */
16184
+ readonly clubCustomerSettingsResponse: ClubCustomerSettingsResponse
16185
+ }
16186
+
16187
+ /**
16188
+ * ClubCustomerStaffApi - object-oriented interface
16189
+ * @export
16190
+ * @class ClubCustomerStaffApi
16191
+ * @extends {BaseAPI}
16192
+ */
16193
+ export class ClubCustomerStaffApi extends BaseAPI {
16194
+ /**
16195
+ *
16196
+ * @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
16197
+ * @param {*} [options] Override http request option.
16198
+ * @throws {RequiredError}
16199
+ * @memberof ClubCustomerStaffApi
16200
+ */
16201
+ public getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig) {
16202
+ return ClubCustomerStaffApiFp(this.configuration).getClubCustomerSettings(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
16203
+ }
16204
+
16205
+ /**
16206
+ *
16207
+ * @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
16208
+ * @param {*} [options] Override http request option.
16209
+ * @throws {RequiredError}
16210
+ * @memberof ClubCustomerStaffApi
16211
+ */
16212
+ public updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig) {
16213
+ return ClubCustomerStaffApiFp(this.configuration).updateClubCustomerSettings(requestParameters.userId, requestParameters.clubCustomerSettingsResponse, options).then((request) => request(this.axios, this.basePath));
16214
+ }
16215
+ }
16216
+
16217
+
16218
+
15735
16219
  /**
15736
16220
  * ClubRolesManagerApi - axios parameter creator
15737
16221
  * @export