@tennac-booking/sdk 1.0.107 → 1.0.109
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 +1 -0
- package/README.md +5 -0
- package/api.ts +601 -2
- package/dist/api.d.ts +368 -2
- package/dist/api.js +373 -2
- package/dist/esm/api.d.ts +368 -2
- package/dist/esm/api.js +371 -0
- package/docs/ClubPlayerDetailResponse.md +2 -0
- package/docs/ClubSummary.md +8 -2
- package/docs/ClubsStaffApi.md +55 -0
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventsStaffApi.md +198 -0
- package/docs/UpdateUserCreditsRequest.md +20 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2328,6 +2328,12 @@ export interface ClubPlayerDetailResponse {
|
|
|
2328
2328
|
* @memberof ClubPlayerDetailResponse
|
|
2329
2329
|
*/
|
|
2330
2330
|
'birthDate': string | null;
|
|
2331
|
+
/**
|
|
2332
|
+
*
|
|
2333
|
+
* @type {number}
|
|
2334
|
+
* @memberof ClubPlayerDetailResponse
|
|
2335
|
+
*/
|
|
2336
|
+
'credits': number | null;
|
|
2331
2337
|
}
|
|
2332
2338
|
/**
|
|
2333
2339
|
*
|
|
@@ -3070,7 +3076,19 @@ export interface ClubSummary {
|
|
|
3070
3076
|
* @type {string}
|
|
3071
3077
|
* @memberof ClubSummary
|
|
3072
3078
|
*/
|
|
3073
|
-
'
|
|
3079
|
+
'picture'?: string;
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @type {Array<string>}
|
|
3083
|
+
* @memberof ClubSummary
|
|
3084
|
+
*/
|
|
3085
|
+
'bannerPictures'?: Array<string>;
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @type {Array<string>}
|
|
3089
|
+
* @memberof ClubSummary
|
|
3090
|
+
*/
|
|
3091
|
+
'galleryPictures'?: Array<string>;
|
|
3074
3092
|
/**
|
|
3075
3093
|
*
|
|
3076
3094
|
* @type {UserLocationSummary}
|
|
@@ -3083,6 +3101,12 @@ export interface ClubSummary {
|
|
|
3083
3101
|
* @memberof ClubSummary
|
|
3084
3102
|
*/
|
|
3085
3103
|
'visitCount'?: number;
|
|
3104
|
+
/**
|
|
3105
|
+
*
|
|
3106
|
+
* @type {Array<string>}
|
|
3107
|
+
* @memberof ClubSummary
|
|
3108
|
+
*/
|
|
3109
|
+
'tags'?: Array<string>;
|
|
3086
3110
|
}
|
|
3087
3111
|
/**
|
|
3088
3112
|
*
|
|
@@ -3560,13 +3584,19 @@ export interface CreateEventRequest {
|
|
|
3560
3584
|
* @type {string}
|
|
3561
3585
|
* @memberof CreateEventRequest
|
|
3562
3586
|
*/
|
|
3563
|
-
'recurringType'
|
|
3587
|
+
'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
|
|
3564
3588
|
/**
|
|
3565
3589
|
*
|
|
3566
3590
|
* @type {string}
|
|
3567
3591
|
* @memberof CreateEventRequest
|
|
3568
3592
|
*/
|
|
3569
3593
|
'recurrenceEndDate'?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
*
|
|
3596
|
+
* @type {number}
|
|
3597
|
+
* @memberof CreateEventRequest
|
|
3598
|
+
*/
|
|
3599
|
+
'occurrences'?: number;
|
|
3570
3600
|
/**
|
|
3571
3601
|
*
|
|
3572
3602
|
* @type {string}
|
|
@@ -9151,6 +9181,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
|
|
|
9151
9181
|
*/
|
|
9152
9182
|
'price': any;
|
|
9153
9183
|
}
|
|
9184
|
+
/**
|
|
9185
|
+
*
|
|
9186
|
+
* @export
|
|
9187
|
+
* @interface UpdateUserCreditsRequest
|
|
9188
|
+
*/
|
|
9189
|
+
export interface UpdateUserCreditsRequest {
|
|
9190
|
+
/**
|
|
9191
|
+
* Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
|
|
9192
|
+
* @type {number}
|
|
9193
|
+
* @memberof UpdateUserCreditsRequest
|
|
9194
|
+
*/
|
|
9195
|
+
'deltaInCents': number;
|
|
9196
|
+
}
|
|
9154
9197
|
/**
|
|
9155
9198
|
*
|
|
9156
9199
|
* @export
|
|
@@ -17747,6 +17790,49 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17747
17790
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17748
17791
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17749
17792
|
|
|
17793
|
+
return {
|
|
17794
|
+
url: toPathString(localVarUrlObj),
|
|
17795
|
+
options: localVarRequestOptions,
|
|
17796
|
+
};
|
|
17797
|
+
},
|
|
17798
|
+
/**
|
|
17799
|
+
*
|
|
17800
|
+
* @param {string} id
|
|
17801
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
17802
|
+
* @param {*} [options] Override http request option.
|
|
17803
|
+
* @throws {RequiredError}
|
|
17804
|
+
*/
|
|
17805
|
+
updateUserCreditsStaff: async (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17806
|
+
// verify required parameter 'id' is not null or undefined
|
|
17807
|
+
assertParamExists('updateUserCreditsStaff', 'id', id)
|
|
17808
|
+
// verify required parameter 'updateUserCreditsRequest' is not null or undefined
|
|
17809
|
+
assertParamExists('updateUserCreditsStaff', 'updateUserCreditsRequest', updateUserCreditsRequest)
|
|
17810
|
+
const localVarPath = `/api/clubs/staff/user-credits/{id}`
|
|
17811
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17812
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17813
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17814
|
+
let baseOptions;
|
|
17815
|
+
if (configuration) {
|
|
17816
|
+
baseOptions = configuration.baseOptions;
|
|
17817
|
+
}
|
|
17818
|
+
|
|
17819
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
17820
|
+
const localVarHeaderParameter = {} as any;
|
|
17821
|
+
const localVarQueryParameter = {} as any;
|
|
17822
|
+
|
|
17823
|
+
// authentication bearerAuth required
|
|
17824
|
+
// http bearer authentication required
|
|
17825
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17826
|
+
|
|
17827
|
+
|
|
17828
|
+
|
|
17829
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17830
|
+
|
|
17831
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17833
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17834
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserCreditsRequest, localVarRequestOptions, configuration)
|
|
17835
|
+
|
|
17750
17836
|
return {
|
|
17751
17837
|
url: toPathString(localVarUrlObj),
|
|
17752
17838
|
options: localVarRequestOptions,
|
|
@@ -17851,6 +17937,19 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
17851
17937
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getUserProfileStaff']?.[localVarOperationServerIndex]?.url;
|
|
17852
17938
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17853
17939
|
},
|
|
17940
|
+
/**
|
|
17941
|
+
*
|
|
17942
|
+
* @param {string} id
|
|
17943
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
17944
|
+
* @param {*} [options] Override http request option.
|
|
17945
|
+
* @throws {RequiredError}
|
|
17946
|
+
*/
|
|
17947
|
+
async updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>> {
|
|
17948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserCreditsStaff(id, updateUserCreditsRequest, options);
|
|
17949
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17950
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.updateUserCreditsStaff']?.[localVarOperationServerIndex]?.url;
|
|
17951
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17952
|
+
},
|
|
17854
17953
|
}
|
|
17855
17954
|
};
|
|
17856
17955
|
|
|
@@ -17926,6 +18025,15 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
17926
18025
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse> {
|
|
17927
18026
|
return localVarFp.getUserProfileStaff(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
17928
18027
|
},
|
|
18028
|
+
/**
|
|
18029
|
+
*
|
|
18030
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
18031
|
+
* @param {*} [options] Override http request option.
|
|
18032
|
+
* @throws {RequiredError}
|
|
18033
|
+
*/
|
|
18034
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse> {
|
|
18035
|
+
return localVarFp.updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(axios, basePath));
|
|
18036
|
+
},
|
|
17929
18037
|
};
|
|
17930
18038
|
};
|
|
17931
18039
|
|
|
@@ -17943,6 +18051,27 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
|
|
|
17943
18051
|
readonly id: string
|
|
17944
18052
|
}
|
|
17945
18053
|
|
|
18054
|
+
/**
|
|
18055
|
+
* Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
|
|
18056
|
+
* @export
|
|
18057
|
+
* @interface ClubsStaffApiUpdateUserCreditsStaffRequest
|
|
18058
|
+
*/
|
|
18059
|
+
export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
|
|
18060
|
+
/**
|
|
18061
|
+
*
|
|
18062
|
+
* @type {string}
|
|
18063
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
18064
|
+
*/
|
|
18065
|
+
readonly id: string
|
|
18066
|
+
|
|
18067
|
+
/**
|
|
18068
|
+
*
|
|
18069
|
+
* @type {UpdateUserCreditsRequest}
|
|
18070
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
18071
|
+
*/
|
|
18072
|
+
readonly updateUserCreditsRequest: UpdateUserCreditsRequest
|
|
18073
|
+
}
|
|
18074
|
+
|
|
17946
18075
|
/**
|
|
17947
18076
|
* ClubsStaffApi - object-oriented interface
|
|
17948
18077
|
* @export
|
|
@@ -18030,6 +18159,17 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
18030
18159
|
public getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig) {
|
|
18031
18160
|
return ClubsStaffApiFp(this.configuration).getUserProfileStaff(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
18032
18161
|
}
|
|
18162
|
+
|
|
18163
|
+
/**
|
|
18164
|
+
*
|
|
18165
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
18166
|
+
* @param {*} [options] Override http request option.
|
|
18167
|
+
* @throws {RequiredError}
|
|
18168
|
+
* @memberof ClubsStaffApi
|
|
18169
|
+
*/
|
|
18170
|
+
public updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig) {
|
|
18171
|
+
return ClubsStaffApiFp(this.configuration).updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18172
|
+
}
|
|
18033
18173
|
}
|
|
18034
18174
|
|
|
18035
18175
|
|
|
@@ -19064,6 +19204,64 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
19064
19204
|
*/
|
|
19065
19205
|
export const EventsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19066
19206
|
return {
|
|
19207
|
+
/**
|
|
19208
|
+
* Get events for the day view (entire week)
|
|
19209
|
+
* @param {string} [clubId]
|
|
19210
|
+
* @param {string} [date]
|
|
19211
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
19212
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
19213
|
+
* @param {string} [sportId]
|
|
19214
|
+
* @param {*} [options] Override http request option.
|
|
19215
|
+
* @throws {RequiredError}
|
|
19216
|
+
*/
|
|
19217
|
+
getDailyEvents: async (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19218
|
+
const localVarPath = `/api/events/calendar/daily`;
|
|
19219
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19220
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19221
|
+
let baseOptions;
|
|
19222
|
+
if (configuration) {
|
|
19223
|
+
baseOptions = configuration.baseOptions;
|
|
19224
|
+
}
|
|
19225
|
+
|
|
19226
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19227
|
+
const localVarHeaderParameter = {} as any;
|
|
19228
|
+
const localVarQueryParameter = {} as any;
|
|
19229
|
+
|
|
19230
|
+
// authentication bearerAuth required
|
|
19231
|
+
// http bearer authentication required
|
|
19232
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19233
|
+
|
|
19234
|
+
if (clubId !== undefined) {
|
|
19235
|
+
localVarQueryParameter['clubId'] = clubId;
|
|
19236
|
+
}
|
|
19237
|
+
|
|
19238
|
+
if (date !== undefined) {
|
|
19239
|
+
localVarQueryParameter['date'] = date;
|
|
19240
|
+
}
|
|
19241
|
+
|
|
19242
|
+
if (visibilityType !== undefined) {
|
|
19243
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
19244
|
+
}
|
|
19245
|
+
|
|
19246
|
+
if (type !== undefined) {
|
|
19247
|
+
localVarQueryParameter['type'] = type;
|
|
19248
|
+
}
|
|
19249
|
+
|
|
19250
|
+
if (sportId !== undefined) {
|
|
19251
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
19252
|
+
}
|
|
19253
|
+
|
|
19254
|
+
|
|
19255
|
+
|
|
19256
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19258
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19259
|
+
|
|
19260
|
+
return {
|
|
19261
|
+
url: toPathString(localVarUrlObj),
|
|
19262
|
+
options: localVarRequestOptions,
|
|
19263
|
+
};
|
|
19264
|
+
},
|
|
19067
19265
|
/**
|
|
19068
19266
|
* Get all events for a club (staff only)
|
|
19069
19267
|
* @param {*} [options] Override http request option.
|
|
@@ -19088,6 +19286,122 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
|
|
|
19088
19286
|
|
|
19089
19287
|
|
|
19090
19288
|
|
|
19289
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19290
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19291
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19292
|
+
|
|
19293
|
+
return {
|
|
19294
|
+
url: toPathString(localVarUrlObj),
|
|
19295
|
+
options: localVarRequestOptions,
|
|
19296
|
+
};
|
|
19297
|
+
},
|
|
19298
|
+
/**
|
|
19299
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
19300
|
+
* @param {string} [clubId]
|
|
19301
|
+
* @param {string} [date]
|
|
19302
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
19303
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
19304
|
+
* @param {string} [sportId]
|
|
19305
|
+
* @param {*} [options] Override http request option.
|
|
19306
|
+
* @throws {RequiredError}
|
|
19307
|
+
*/
|
|
19308
|
+
getMonthlyEvents: async (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19309
|
+
const localVarPath = `/api/events/calendar/monthly`;
|
|
19310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19311
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19312
|
+
let baseOptions;
|
|
19313
|
+
if (configuration) {
|
|
19314
|
+
baseOptions = configuration.baseOptions;
|
|
19315
|
+
}
|
|
19316
|
+
|
|
19317
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19318
|
+
const localVarHeaderParameter = {} as any;
|
|
19319
|
+
const localVarQueryParameter = {} as any;
|
|
19320
|
+
|
|
19321
|
+
// authentication bearerAuth required
|
|
19322
|
+
// http bearer authentication required
|
|
19323
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19324
|
+
|
|
19325
|
+
if (clubId !== undefined) {
|
|
19326
|
+
localVarQueryParameter['clubId'] = clubId;
|
|
19327
|
+
}
|
|
19328
|
+
|
|
19329
|
+
if (date !== undefined) {
|
|
19330
|
+
localVarQueryParameter['date'] = date;
|
|
19331
|
+
}
|
|
19332
|
+
|
|
19333
|
+
if (visibilityType !== undefined) {
|
|
19334
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
19335
|
+
}
|
|
19336
|
+
|
|
19337
|
+
if (type !== undefined) {
|
|
19338
|
+
localVarQueryParameter['type'] = type;
|
|
19339
|
+
}
|
|
19340
|
+
|
|
19341
|
+
if (sportId !== undefined) {
|
|
19342
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
19343
|
+
}
|
|
19344
|
+
|
|
19345
|
+
|
|
19346
|
+
|
|
19347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19350
|
+
|
|
19351
|
+
return {
|
|
19352
|
+
url: toPathString(localVarUrlObj),
|
|
19353
|
+
options: localVarRequestOptions,
|
|
19354
|
+
};
|
|
19355
|
+
},
|
|
19356
|
+
/**
|
|
19357
|
+
* Get events for the week view (30 day sliding window)
|
|
19358
|
+
* @param {string} [clubId]
|
|
19359
|
+
* @param {string} [date]
|
|
19360
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
19361
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
19362
|
+
* @param {string} [sportId]
|
|
19363
|
+
* @param {*} [options] Override http request option.
|
|
19364
|
+
* @throws {RequiredError}
|
|
19365
|
+
*/
|
|
19366
|
+
getWeeklyEvents: async (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19367
|
+
const localVarPath = `/api/events/calendar/weekly`;
|
|
19368
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19369
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19370
|
+
let baseOptions;
|
|
19371
|
+
if (configuration) {
|
|
19372
|
+
baseOptions = configuration.baseOptions;
|
|
19373
|
+
}
|
|
19374
|
+
|
|
19375
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19376
|
+
const localVarHeaderParameter = {} as any;
|
|
19377
|
+
const localVarQueryParameter = {} as any;
|
|
19378
|
+
|
|
19379
|
+
// authentication bearerAuth required
|
|
19380
|
+
// http bearer authentication required
|
|
19381
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19382
|
+
|
|
19383
|
+
if (clubId !== undefined) {
|
|
19384
|
+
localVarQueryParameter['clubId'] = clubId;
|
|
19385
|
+
}
|
|
19386
|
+
|
|
19387
|
+
if (date !== undefined) {
|
|
19388
|
+
localVarQueryParameter['date'] = date;
|
|
19389
|
+
}
|
|
19390
|
+
|
|
19391
|
+
if (visibilityType !== undefined) {
|
|
19392
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
19393
|
+
}
|
|
19394
|
+
|
|
19395
|
+
if (type !== undefined) {
|
|
19396
|
+
localVarQueryParameter['type'] = type;
|
|
19397
|
+
}
|
|
19398
|
+
|
|
19399
|
+
if (sportId !== undefined) {
|
|
19400
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
19401
|
+
}
|
|
19402
|
+
|
|
19403
|
+
|
|
19404
|
+
|
|
19091
19405
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19092
19406
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19093
19407
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -19107,6 +19421,22 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
|
|
|
19107
19421
|
export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
19108
19422
|
const localVarAxiosParamCreator = EventsStaffApiAxiosParamCreator(configuration)
|
|
19109
19423
|
return {
|
|
19424
|
+
/**
|
|
19425
|
+
* Get events for the day view (entire week)
|
|
19426
|
+
* @param {string} [clubId]
|
|
19427
|
+
* @param {string} [date]
|
|
19428
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
19429
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
19430
|
+
* @param {string} [sportId]
|
|
19431
|
+
* @param {*} [options] Override http request option.
|
|
19432
|
+
* @throws {RequiredError}
|
|
19433
|
+
*/
|
|
19434
|
+
async getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>> {
|
|
19435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDailyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
19436
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19437
|
+
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getDailyEvents']?.[localVarOperationServerIndex]?.url;
|
|
19438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19439
|
+
},
|
|
19110
19440
|
/**
|
|
19111
19441
|
* Get all events for a club (staff only)
|
|
19112
19442
|
* @param {*} [options] Override http request option.
|
|
@@ -19118,6 +19448,38 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19118
19448
|
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventsByClub']?.[localVarOperationServerIndex]?.url;
|
|
19119
19449
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19120
19450
|
},
|
|
19451
|
+
/**
|
|
19452
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
19453
|
+
* @param {string} [clubId]
|
|
19454
|
+
* @param {string} [date]
|
|
19455
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
19456
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
19457
|
+
* @param {string} [sportId]
|
|
19458
|
+
* @param {*} [options] Override http request option.
|
|
19459
|
+
* @throws {RequiredError}
|
|
19460
|
+
*/
|
|
19461
|
+
async getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>> {
|
|
19462
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMonthlyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
19463
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19464
|
+
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getMonthlyEvents']?.[localVarOperationServerIndex]?.url;
|
|
19465
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19466
|
+
},
|
|
19467
|
+
/**
|
|
19468
|
+
* Get events for the week view (30 day sliding window)
|
|
19469
|
+
* @param {string} [clubId]
|
|
19470
|
+
* @param {string} [date]
|
|
19471
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
19472
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
19473
|
+
* @param {string} [sportId]
|
|
19474
|
+
* @param {*} [options] Override http request option.
|
|
19475
|
+
* @throws {RequiredError}
|
|
19476
|
+
*/
|
|
19477
|
+
async getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>> {
|
|
19478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWeeklyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
19479
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19480
|
+
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getWeeklyEvents']?.[localVarOperationServerIndex]?.url;
|
|
19481
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19482
|
+
},
|
|
19121
19483
|
}
|
|
19122
19484
|
};
|
|
19123
19485
|
|
|
@@ -19128,6 +19490,15 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19128
19490
|
export const EventsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19129
19491
|
const localVarFp = EventsStaffApiFp(configuration)
|
|
19130
19492
|
return {
|
|
19493
|
+
/**
|
|
19494
|
+
* Get events for the day view (entire week)
|
|
19495
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
19496
|
+
* @param {*} [options] Override http request option.
|
|
19497
|
+
* @throws {RequiredError}
|
|
19498
|
+
*/
|
|
19499
|
+
getDailyEvents(requestParameters: EventsStaffApiGetDailyEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19500
|
+
return localVarFp.getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
19501
|
+
},
|
|
19131
19502
|
/**
|
|
19132
19503
|
* Get all events for a club (staff only)
|
|
19133
19504
|
* @param {*} [options] Override http request option.
|
|
@@ -19136,9 +19507,153 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
|
|
|
19136
19507
|
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19137
19508
|
return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
|
|
19138
19509
|
},
|
|
19510
|
+
/**
|
|
19511
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
19512
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
19513
|
+
* @param {*} [options] Override http request option.
|
|
19514
|
+
* @throws {RequiredError}
|
|
19515
|
+
*/
|
|
19516
|
+
getMonthlyEvents(requestParameters: EventsStaffApiGetMonthlyEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19517
|
+
return localVarFp.getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
19518
|
+
},
|
|
19519
|
+
/**
|
|
19520
|
+
* Get events for the week view (30 day sliding window)
|
|
19521
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
19522
|
+
* @param {*} [options] Override http request option.
|
|
19523
|
+
* @throws {RequiredError}
|
|
19524
|
+
*/
|
|
19525
|
+
getWeeklyEvents(requestParameters: EventsStaffApiGetWeeklyEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19526
|
+
return localVarFp.getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
19527
|
+
},
|
|
19139
19528
|
};
|
|
19140
19529
|
};
|
|
19141
19530
|
|
|
19531
|
+
/**
|
|
19532
|
+
* Request parameters for getDailyEvents operation in EventsStaffApi.
|
|
19533
|
+
* @export
|
|
19534
|
+
* @interface EventsStaffApiGetDailyEventsRequest
|
|
19535
|
+
*/
|
|
19536
|
+
export interface EventsStaffApiGetDailyEventsRequest {
|
|
19537
|
+
/**
|
|
19538
|
+
*
|
|
19539
|
+
* @type {string}
|
|
19540
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
19541
|
+
*/
|
|
19542
|
+
readonly clubId?: string
|
|
19543
|
+
|
|
19544
|
+
/**
|
|
19545
|
+
*
|
|
19546
|
+
* @type {string}
|
|
19547
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
19548
|
+
*/
|
|
19549
|
+
readonly date?: string
|
|
19550
|
+
|
|
19551
|
+
/**
|
|
19552
|
+
*
|
|
19553
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
19554
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
19555
|
+
*/
|
|
19556
|
+
readonly visibilityType?: GetDailyEventsVisibilityTypeEnum
|
|
19557
|
+
|
|
19558
|
+
/**
|
|
19559
|
+
*
|
|
19560
|
+
* @type {'event' | 'closure'}
|
|
19561
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
19562
|
+
*/
|
|
19563
|
+
readonly type?: GetDailyEventsTypeEnum
|
|
19564
|
+
|
|
19565
|
+
/**
|
|
19566
|
+
*
|
|
19567
|
+
* @type {string}
|
|
19568
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
19569
|
+
*/
|
|
19570
|
+
readonly sportId?: string
|
|
19571
|
+
}
|
|
19572
|
+
|
|
19573
|
+
/**
|
|
19574
|
+
* Request parameters for getMonthlyEvents operation in EventsStaffApi.
|
|
19575
|
+
* @export
|
|
19576
|
+
* @interface EventsStaffApiGetMonthlyEventsRequest
|
|
19577
|
+
*/
|
|
19578
|
+
export interface EventsStaffApiGetMonthlyEventsRequest {
|
|
19579
|
+
/**
|
|
19580
|
+
*
|
|
19581
|
+
* @type {string}
|
|
19582
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19583
|
+
*/
|
|
19584
|
+
readonly clubId?: string
|
|
19585
|
+
|
|
19586
|
+
/**
|
|
19587
|
+
*
|
|
19588
|
+
* @type {string}
|
|
19589
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19590
|
+
*/
|
|
19591
|
+
readonly date?: string
|
|
19592
|
+
|
|
19593
|
+
/**
|
|
19594
|
+
*
|
|
19595
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
19596
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19597
|
+
*/
|
|
19598
|
+
readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum
|
|
19599
|
+
|
|
19600
|
+
/**
|
|
19601
|
+
*
|
|
19602
|
+
* @type {'event' | 'closure'}
|
|
19603
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19604
|
+
*/
|
|
19605
|
+
readonly type?: GetMonthlyEventsTypeEnum
|
|
19606
|
+
|
|
19607
|
+
/**
|
|
19608
|
+
*
|
|
19609
|
+
* @type {string}
|
|
19610
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19611
|
+
*/
|
|
19612
|
+
readonly sportId?: string
|
|
19613
|
+
}
|
|
19614
|
+
|
|
19615
|
+
/**
|
|
19616
|
+
* Request parameters for getWeeklyEvents operation in EventsStaffApi.
|
|
19617
|
+
* @export
|
|
19618
|
+
* @interface EventsStaffApiGetWeeklyEventsRequest
|
|
19619
|
+
*/
|
|
19620
|
+
export interface EventsStaffApiGetWeeklyEventsRequest {
|
|
19621
|
+
/**
|
|
19622
|
+
*
|
|
19623
|
+
* @type {string}
|
|
19624
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19625
|
+
*/
|
|
19626
|
+
readonly clubId?: string
|
|
19627
|
+
|
|
19628
|
+
/**
|
|
19629
|
+
*
|
|
19630
|
+
* @type {string}
|
|
19631
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19632
|
+
*/
|
|
19633
|
+
readonly date?: string
|
|
19634
|
+
|
|
19635
|
+
/**
|
|
19636
|
+
*
|
|
19637
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
19638
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19639
|
+
*/
|
|
19640
|
+
readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum
|
|
19641
|
+
|
|
19642
|
+
/**
|
|
19643
|
+
*
|
|
19644
|
+
* @type {'event' | 'closure'}
|
|
19645
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19646
|
+
*/
|
|
19647
|
+
readonly type?: GetWeeklyEventsTypeEnum
|
|
19648
|
+
|
|
19649
|
+
/**
|
|
19650
|
+
*
|
|
19651
|
+
* @type {string}
|
|
19652
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19653
|
+
*/
|
|
19654
|
+
readonly sportId?: string
|
|
19655
|
+
}
|
|
19656
|
+
|
|
19142
19657
|
/**
|
|
19143
19658
|
* EventsStaffApi - object-oriented interface
|
|
19144
19659
|
* @export
|
|
@@ -19146,6 +19661,17 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
|
|
|
19146
19661
|
* @extends {BaseAPI}
|
|
19147
19662
|
*/
|
|
19148
19663
|
export class EventsStaffApi extends BaseAPI {
|
|
19664
|
+
/**
|
|
19665
|
+
* Get events for the day view (entire week)
|
|
19666
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
19667
|
+
* @param {*} [options] Override http request option.
|
|
19668
|
+
* @throws {RequiredError}
|
|
19669
|
+
* @memberof EventsStaffApi
|
|
19670
|
+
*/
|
|
19671
|
+
public getDailyEvents(requestParameters: EventsStaffApiGetDailyEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
19672
|
+
return EventsStaffApiFp(this.configuration).getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
19673
|
+
}
|
|
19674
|
+
|
|
19149
19675
|
/**
|
|
19150
19676
|
* Get all events for a club (staff only)
|
|
19151
19677
|
* @param {*} [options] Override http request option.
|
|
@@ -19155,8 +19681,81 @@ export class EventsStaffApi extends BaseAPI {
|
|
|
19155
19681
|
public getEventsByClub(options?: RawAxiosRequestConfig) {
|
|
19156
19682
|
return EventsStaffApiFp(this.configuration).getEventsByClub(options).then((request) => request(this.axios, this.basePath));
|
|
19157
19683
|
}
|
|
19684
|
+
|
|
19685
|
+
/**
|
|
19686
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
19687
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
19688
|
+
* @param {*} [options] Override http request option.
|
|
19689
|
+
* @throws {RequiredError}
|
|
19690
|
+
* @memberof EventsStaffApi
|
|
19691
|
+
*/
|
|
19692
|
+
public getMonthlyEvents(requestParameters: EventsStaffApiGetMonthlyEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
19693
|
+
return EventsStaffApiFp(this.configuration).getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
19694
|
+
}
|
|
19695
|
+
|
|
19696
|
+
/**
|
|
19697
|
+
* Get events for the week view (30 day sliding window)
|
|
19698
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
19699
|
+
* @param {*} [options] Override http request option.
|
|
19700
|
+
* @throws {RequiredError}
|
|
19701
|
+
* @memberof EventsStaffApi
|
|
19702
|
+
*/
|
|
19703
|
+
public getWeeklyEvents(requestParameters: EventsStaffApiGetWeeklyEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
19704
|
+
return EventsStaffApiFp(this.configuration).getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
19705
|
+
}
|
|
19158
19706
|
}
|
|
19159
19707
|
|
|
19708
|
+
/**
|
|
19709
|
+
* @export
|
|
19710
|
+
*/
|
|
19711
|
+
export const GetDailyEventsVisibilityTypeEnum = {
|
|
19712
|
+
Public: 'public',
|
|
19713
|
+
Private: 'private',
|
|
19714
|
+
Invitation: 'invitation'
|
|
19715
|
+
} as const;
|
|
19716
|
+
export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
|
|
19717
|
+
/**
|
|
19718
|
+
* @export
|
|
19719
|
+
*/
|
|
19720
|
+
export const GetDailyEventsTypeEnum = {
|
|
19721
|
+
Event: 'event',
|
|
19722
|
+
Closure: 'closure'
|
|
19723
|
+
} as const;
|
|
19724
|
+
export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
|
|
19725
|
+
/**
|
|
19726
|
+
* @export
|
|
19727
|
+
*/
|
|
19728
|
+
export const GetMonthlyEventsVisibilityTypeEnum = {
|
|
19729
|
+
Public: 'public',
|
|
19730
|
+
Private: 'private',
|
|
19731
|
+
Invitation: 'invitation'
|
|
19732
|
+
} as const;
|
|
19733
|
+
export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
|
|
19734
|
+
/**
|
|
19735
|
+
* @export
|
|
19736
|
+
*/
|
|
19737
|
+
export const GetMonthlyEventsTypeEnum = {
|
|
19738
|
+
Event: 'event',
|
|
19739
|
+
Closure: 'closure'
|
|
19740
|
+
} as const;
|
|
19741
|
+
export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
|
|
19742
|
+
/**
|
|
19743
|
+
* @export
|
|
19744
|
+
*/
|
|
19745
|
+
export const GetWeeklyEventsVisibilityTypeEnum = {
|
|
19746
|
+
Public: 'public',
|
|
19747
|
+
Private: 'private',
|
|
19748
|
+
Invitation: 'invitation'
|
|
19749
|
+
} as const;
|
|
19750
|
+
export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
|
|
19751
|
+
/**
|
|
19752
|
+
* @export
|
|
19753
|
+
*/
|
|
19754
|
+
export const GetWeeklyEventsTypeEnum = {
|
|
19755
|
+
Event: 'event',
|
|
19756
|
+
Closure: 'closure'
|
|
19757
|
+
} as const;
|
|
19758
|
+
export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
|
|
19160
19759
|
|
|
19161
19760
|
|
|
19162
19761
|
/**
|