@tennac-booking/sdk 1.0.143 → 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/.openapi-generator/FILES +2 -0
- package/README.md +3 -0
- package/api.ts +304 -0
- package/dist/api.d.ts +203 -0
- package/dist/api.js +177 -3
- package/dist/esm/api.d.ts +203 -0
- package/dist/esm/api.js +170 -0
- package/docs/ClubCustomerSettingsResponse.md +38 -0
- package/docs/ClubCustomerStaffApi.md +113 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/UpdateEventRequest.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -64,6 +64,8 @@ docs/ClientSubscriptionsResponse.md
|
|
|
64
64
|
docs/ClubAccessSettingsResponse.md
|
|
65
65
|
docs/ClubAnalyticsApi.md
|
|
66
66
|
docs/ClubAnalyticsStaffApi.md
|
|
67
|
+
docs/ClubCustomerSettingsResponse.md
|
|
68
|
+
docs/ClubCustomerStaffApi.md
|
|
67
69
|
docs/ClubDayInterval.md
|
|
68
70
|
docs/ClubEvent.md
|
|
69
71
|
docs/ClubGeneralSettingsResponse.md
|
package/README.md
CHANGED
|
@@ -95,6 +95,8 @@ Class | Method | HTTP request | Description
|
|
|
95
95
|
*ClubAnalyticsStaffApi* | [**getTenNextBookings**](docs/ClubAnalyticsStaffApi.md#gettennextbookings) | **GET** /api/club-analytics/next-bookings |
|
|
96
96
|
*ClubAnalyticsStaffApi* | [**getTopCourtsByBookings**](docs/ClubAnalyticsStaffApi.md#gettopcourtsbybookings) | **GET** /api/club-analytics/top-courts |
|
|
97
97
|
*ClubAnalyticsStaffApi* | [**getYearlyTurnOver**](docs/ClubAnalyticsStaffApi.md#getyearlyturnover) | **GET** /api/club-analytics/yearly-turnover |
|
|
98
|
+
*ClubCustomerStaffApi* | [**getClubCustomerSettings**](docs/ClubCustomerStaffApi.md#getclubcustomersettings) | **GET** /api/clubCustomers/clubCustomer/{userId}/settings |
|
|
99
|
+
*ClubCustomerStaffApi* | [**updateClubCustomerSettings**](docs/ClubCustomerStaffApi.md#updateclubcustomersettings) | **PATCH** /api/clubCustomers/clubCustomer/{userId}/settings |
|
|
98
100
|
*ClubRolesManagerApi* | [**createClubRole**](docs/ClubRolesManagerApi.md#createclubrole) | **POST** /api/club-roles |
|
|
99
101
|
*ClubRolesManagerApi* | [**deleteClubRole**](docs/ClubRolesManagerApi.md#deleteclubrole) | **DELETE** /api/club-roles/{id} |
|
|
100
102
|
*ClubRolesManagerApi* | [**updateClubRole**](docs/ClubRolesManagerApi.md#updateclubrole) | **PUT** /api/club-roles/{id} |
|
|
@@ -289,6 +291,7 @@ Class | Method | HTTP request | Description
|
|
|
289
291
|
- [ClientSubscriptionItem](docs/ClientSubscriptionItem.md)
|
|
290
292
|
- [ClientSubscriptionsResponse](docs/ClientSubscriptionsResponse.md)
|
|
291
293
|
- [ClubAccessSettingsResponse](docs/ClubAccessSettingsResponse.md)
|
|
294
|
+
- [ClubCustomerSettingsResponse](docs/ClubCustomerSettingsResponse.md)
|
|
292
295
|
- [ClubDayInterval](docs/ClubDayInterval.md)
|
|
293
296
|
- [ClubEvent](docs/ClubEvent.md)
|
|
294
297
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
package/api.ts
CHANGED
|
@@ -1957,6 +1957,73 @@ export interface ClubAccessSettingsResponse {
|
|
|
1957
1957
|
*/
|
|
1958
1958
|
'paymentRequirements': PaymentRequirementsSettings | null;
|
|
1959
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
|
+
}
|
|
1960
2027
|
/**
|
|
1961
2028
|
*
|
|
1962
2029
|
* @export
|
|
@@ -4051,6 +4118,12 @@ export interface CreateEventRequest {
|
|
|
4051
4118
|
* @memberof CreateEventRequest
|
|
4052
4119
|
*/
|
|
4053
4120
|
'sponsors'?: Array<EventSponsor>;
|
|
4121
|
+
/**
|
|
4122
|
+
*
|
|
4123
|
+
* @type {string}
|
|
4124
|
+
* @memberof CreateEventRequest
|
|
4125
|
+
*/
|
|
4126
|
+
'registrationOpeningDate': string;
|
|
4054
4127
|
/**
|
|
4055
4128
|
*
|
|
4056
4129
|
* @type {string}
|
|
@@ -5168,6 +5241,12 @@ export interface EventResponse {
|
|
|
5168
5241
|
* @memberof EventResponse
|
|
5169
5242
|
*/
|
|
5170
5243
|
'sponsors'?: Array<EventSponsor>;
|
|
5244
|
+
/**
|
|
5245
|
+
*
|
|
5246
|
+
* @type {string}
|
|
5247
|
+
* @memberof EventResponse
|
|
5248
|
+
*/
|
|
5249
|
+
'registrationOpeningDate': string;
|
|
5171
5250
|
/**
|
|
5172
5251
|
*
|
|
5173
5252
|
* @type {string}
|
|
@@ -10544,6 +10623,12 @@ export interface UpdateEventRequest {
|
|
|
10544
10623
|
* @memberof UpdateEventRequest
|
|
10545
10624
|
*/
|
|
10546
10625
|
'levels'?: Array<string | null>;
|
|
10626
|
+
/**
|
|
10627
|
+
*
|
|
10628
|
+
* @type {string}
|
|
10629
|
+
* @memberof UpdateEventRequest
|
|
10630
|
+
*/
|
|
10631
|
+
'registrationOpeningDate'?: string;
|
|
10547
10632
|
/**
|
|
10548
10633
|
*
|
|
10549
10634
|
* @type {Array<EventSponsor>}
|
|
@@ -15912,6 +15997,225 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
15912
15997
|
|
|
15913
15998
|
|
|
15914
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
|
+
|
|
15915
16219
|
/**
|
|
15916
16220
|
* ClubRolesManagerApi - axios parameter creator
|
|
15917
16221
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1913,6 +1913,73 @@ export interface ClubAccessSettingsResponse {
|
|
|
1913
1913
|
*/
|
|
1914
1914
|
'paymentRequirements': PaymentRequirementsSettings | null;
|
|
1915
1915
|
}
|
|
1916
|
+
/**
|
|
1917
|
+
*
|
|
1918
|
+
* @export
|
|
1919
|
+
* @interface ClubCustomerSettingsResponse
|
|
1920
|
+
*/
|
|
1921
|
+
export interface ClubCustomerSettingsResponse {
|
|
1922
|
+
/**
|
|
1923
|
+
*
|
|
1924
|
+
* @type {string}
|
|
1925
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1926
|
+
*/
|
|
1927
|
+
'userId': string;
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @type {string}
|
|
1931
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1932
|
+
*/
|
|
1933
|
+
'clubId': string;
|
|
1934
|
+
/**
|
|
1935
|
+
*
|
|
1936
|
+
* @type {number}
|
|
1937
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1938
|
+
*/
|
|
1939
|
+
'credits': number;
|
|
1940
|
+
/**
|
|
1941
|
+
*
|
|
1942
|
+
* @type {boolean}
|
|
1943
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1944
|
+
*/
|
|
1945
|
+
'isBanned': boolean;
|
|
1946
|
+
/**
|
|
1947
|
+
*
|
|
1948
|
+
* @type {boolean}
|
|
1949
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1950
|
+
*/
|
|
1951
|
+
'isIllimited': boolean;
|
|
1952
|
+
/**
|
|
1953
|
+
*
|
|
1954
|
+
* @type {boolean}
|
|
1955
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1956
|
+
*/
|
|
1957
|
+
'isFree': boolean;
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @type {boolean}
|
|
1961
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1962
|
+
*/
|
|
1963
|
+
'isNoShowForced': boolean;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {boolean}
|
|
1967
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1968
|
+
*/
|
|
1969
|
+
'paymentMethodSetupCompleted': boolean;
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1974
|
+
*/
|
|
1975
|
+
'defaultPaymentMethodId': string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @type {Array<string>}
|
|
1979
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1980
|
+
*/
|
|
1981
|
+
'subscriptions': Array<string>;
|
|
1982
|
+
}
|
|
1916
1983
|
/**
|
|
1917
1984
|
*
|
|
1918
1985
|
* @export
|
|
@@ -3987,6 +4054,12 @@ export interface CreateEventRequest {
|
|
|
3987
4054
|
* @memberof CreateEventRequest
|
|
3988
4055
|
*/
|
|
3989
4056
|
'sponsors'?: Array<EventSponsor>;
|
|
4057
|
+
/**
|
|
4058
|
+
*
|
|
4059
|
+
* @type {string}
|
|
4060
|
+
* @memberof CreateEventRequest
|
|
4061
|
+
*/
|
|
4062
|
+
'registrationOpeningDate': string;
|
|
3990
4063
|
/**
|
|
3991
4064
|
*
|
|
3992
4065
|
* @type {string}
|
|
@@ -5078,6 +5151,12 @@ export interface EventResponse {
|
|
|
5078
5151
|
* @memberof EventResponse
|
|
5079
5152
|
*/
|
|
5080
5153
|
'sponsors'?: Array<EventSponsor>;
|
|
5154
|
+
/**
|
|
5155
|
+
*
|
|
5156
|
+
* @type {string}
|
|
5157
|
+
* @memberof EventResponse
|
|
5158
|
+
*/
|
|
5159
|
+
'registrationOpeningDate': string;
|
|
5081
5160
|
/**
|
|
5082
5161
|
*
|
|
5083
5162
|
* @type {string}
|
|
@@ -10353,6 +10432,12 @@ export interface UpdateEventRequest {
|
|
|
10353
10432
|
* @memberof UpdateEventRequest
|
|
10354
10433
|
*/
|
|
10355
10434
|
'levels'?: Array<string | null>;
|
|
10435
|
+
/**
|
|
10436
|
+
*
|
|
10437
|
+
* @type {string}
|
|
10438
|
+
* @memberof UpdateEventRequest
|
|
10439
|
+
*/
|
|
10440
|
+
'registrationOpeningDate'?: string;
|
|
10356
10441
|
/**
|
|
10357
10442
|
*
|
|
10358
10443
|
* @type {Array<EventSponsor>}
|
|
@@ -13685,6 +13770,124 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
13685
13770
|
*/
|
|
13686
13771
|
getYearlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YearlyTurnoverResponse, any, {}>>;
|
|
13687
13772
|
}
|
|
13773
|
+
/**
|
|
13774
|
+
* ClubCustomerStaffApi - axios parameter creator
|
|
13775
|
+
* @export
|
|
13776
|
+
*/
|
|
13777
|
+
export declare const ClubCustomerStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13778
|
+
/**
|
|
13779
|
+
*
|
|
13780
|
+
* @param {string} userId
|
|
13781
|
+
* @param {*} [options] Override http request option.
|
|
13782
|
+
* @throws {RequiredError}
|
|
13783
|
+
*/
|
|
13784
|
+
getClubCustomerSettings: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13785
|
+
/**
|
|
13786
|
+
*
|
|
13787
|
+
* @param {string} userId
|
|
13788
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
13789
|
+
* @param {*} [options] Override http request option.
|
|
13790
|
+
* @throws {RequiredError}
|
|
13791
|
+
*/
|
|
13792
|
+
updateClubCustomerSettings: (userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13793
|
+
};
|
|
13794
|
+
/**
|
|
13795
|
+
* ClubCustomerStaffApi - functional programming interface
|
|
13796
|
+
* @export
|
|
13797
|
+
*/
|
|
13798
|
+
export declare const ClubCustomerStaffApiFp: (configuration?: Configuration) => {
|
|
13799
|
+
/**
|
|
13800
|
+
*
|
|
13801
|
+
* @param {string} userId
|
|
13802
|
+
* @param {*} [options] Override http request option.
|
|
13803
|
+
* @throws {RequiredError}
|
|
13804
|
+
*/
|
|
13805
|
+
getClubCustomerSettings(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
|
|
13806
|
+
/**
|
|
13807
|
+
*
|
|
13808
|
+
* @param {string} userId
|
|
13809
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
13810
|
+
* @param {*} [options] Override http request option.
|
|
13811
|
+
* @throws {RequiredError}
|
|
13812
|
+
*/
|
|
13813
|
+
updateClubCustomerSettings(userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
|
|
13814
|
+
};
|
|
13815
|
+
/**
|
|
13816
|
+
* ClubCustomerStaffApi - factory interface
|
|
13817
|
+
* @export
|
|
13818
|
+
*/
|
|
13819
|
+
export declare const ClubCustomerStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13820
|
+
/**
|
|
13821
|
+
*
|
|
13822
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13823
|
+
* @param {*} [options] Override http request option.
|
|
13824
|
+
* @throws {RequiredError}
|
|
13825
|
+
*/
|
|
13826
|
+
getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
|
|
13827
|
+
/**
|
|
13828
|
+
*
|
|
13829
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13830
|
+
* @param {*} [options] Override http request option.
|
|
13831
|
+
* @throws {RequiredError}
|
|
13832
|
+
*/
|
|
13833
|
+
updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
|
|
13834
|
+
};
|
|
13835
|
+
/**
|
|
13836
|
+
* Request parameters for getClubCustomerSettings operation in ClubCustomerStaffApi.
|
|
13837
|
+
* @export
|
|
13838
|
+
* @interface ClubCustomerStaffApiGetClubCustomerSettingsRequest
|
|
13839
|
+
*/
|
|
13840
|
+
export interface ClubCustomerStaffApiGetClubCustomerSettingsRequest {
|
|
13841
|
+
/**
|
|
13842
|
+
*
|
|
13843
|
+
* @type {string}
|
|
13844
|
+
* @memberof ClubCustomerStaffApiGetClubCustomerSettings
|
|
13845
|
+
*/
|
|
13846
|
+
readonly userId: string;
|
|
13847
|
+
}
|
|
13848
|
+
/**
|
|
13849
|
+
* Request parameters for updateClubCustomerSettings operation in ClubCustomerStaffApi.
|
|
13850
|
+
* @export
|
|
13851
|
+
* @interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest
|
|
13852
|
+
*/
|
|
13853
|
+
export interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest {
|
|
13854
|
+
/**
|
|
13855
|
+
*
|
|
13856
|
+
* @type {string}
|
|
13857
|
+
* @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
|
|
13858
|
+
*/
|
|
13859
|
+
readonly userId: string;
|
|
13860
|
+
/**
|
|
13861
|
+
*
|
|
13862
|
+
* @type {ClubCustomerSettingsResponse}
|
|
13863
|
+
* @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
|
|
13864
|
+
*/
|
|
13865
|
+
readonly clubCustomerSettingsResponse: ClubCustomerSettingsResponse;
|
|
13866
|
+
}
|
|
13867
|
+
/**
|
|
13868
|
+
* ClubCustomerStaffApi - object-oriented interface
|
|
13869
|
+
* @export
|
|
13870
|
+
* @class ClubCustomerStaffApi
|
|
13871
|
+
* @extends {BaseAPI}
|
|
13872
|
+
*/
|
|
13873
|
+
export declare class ClubCustomerStaffApi extends BaseAPI {
|
|
13874
|
+
/**
|
|
13875
|
+
*
|
|
13876
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13877
|
+
* @param {*} [options] Override http request option.
|
|
13878
|
+
* @throws {RequiredError}
|
|
13879
|
+
* @memberof ClubCustomerStaffApi
|
|
13880
|
+
*/
|
|
13881
|
+
getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
|
|
13882
|
+
/**
|
|
13883
|
+
*
|
|
13884
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13885
|
+
* @param {*} [options] Override http request option.
|
|
13886
|
+
* @throws {RequiredError}
|
|
13887
|
+
* @memberof ClubCustomerStaffApi
|
|
13888
|
+
*/
|
|
13889
|
+
updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
|
|
13890
|
+
}
|
|
13688
13891
|
/**
|
|
13689
13892
|
* ClubRolesManagerApi - axios parameter creator
|
|
13690
13893
|
* @export
|