@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/dist/esm/api.d.ts
CHANGED
|
@@ -2293,6 +2293,12 @@ export interface ClubPlayerDetailResponse {
|
|
|
2293
2293
|
* @memberof ClubPlayerDetailResponse
|
|
2294
2294
|
*/
|
|
2295
2295
|
'birthDate': string | null;
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @type {number}
|
|
2299
|
+
* @memberof ClubPlayerDetailResponse
|
|
2300
|
+
*/
|
|
2301
|
+
'credits': number | null;
|
|
2296
2302
|
}
|
|
2297
2303
|
/**
|
|
2298
2304
|
*
|
|
@@ -3032,7 +3038,19 @@ export interface ClubSummary {
|
|
|
3032
3038
|
* @type {string}
|
|
3033
3039
|
* @memberof ClubSummary
|
|
3034
3040
|
*/
|
|
3035
|
-
'
|
|
3041
|
+
'picture'?: string;
|
|
3042
|
+
/**
|
|
3043
|
+
*
|
|
3044
|
+
* @type {Array<string>}
|
|
3045
|
+
* @memberof ClubSummary
|
|
3046
|
+
*/
|
|
3047
|
+
'bannerPictures'?: Array<string>;
|
|
3048
|
+
/**
|
|
3049
|
+
*
|
|
3050
|
+
* @type {Array<string>}
|
|
3051
|
+
* @memberof ClubSummary
|
|
3052
|
+
*/
|
|
3053
|
+
'galleryPictures'?: Array<string>;
|
|
3036
3054
|
/**
|
|
3037
3055
|
*
|
|
3038
3056
|
* @type {UserLocationSummary}
|
|
@@ -3045,6 +3063,12 @@ export interface ClubSummary {
|
|
|
3045
3063
|
* @memberof ClubSummary
|
|
3046
3064
|
*/
|
|
3047
3065
|
'visitCount'?: number;
|
|
3066
|
+
/**
|
|
3067
|
+
*
|
|
3068
|
+
* @type {Array<string>}
|
|
3069
|
+
* @memberof ClubSummary
|
|
3070
|
+
*/
|
|
3071
|
+
'tags'?: Array<string>;
|
|
3048
3072
|
}
|
|
3049
3073
|
/**
|
|
3050
3074
|
*
|
|
@@ -3509,13 +3533,19 @@ export interface CreateEventRequest {
|
|
|
3509
3533
|
* @type {string}
|
|
3510
3534
|
* @memberof CreateEventRequest
|
|
3511
3535
|
*/
|
|
3512
|
-
'recurringType'
|
|
3536
|
+
'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
|
|
3513
3537
|
/**
|
|
3514
3538
|
*
|
|
3515
3539
|
* @type {string}
|
|
3516
3540
|
* @memberof CreateEventRequest
|
|
3517
3541
|
*/
|
|
3518
3542
|
'recurrenceEndDate'?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
*
|
|
3545
|
+
* @type {number}
|
|
3546
|
+
* @memberof CreateEventRequest
|
|
3547
|
+
*/
|
|
3548
|
+
'occurrences'?: number;
|
|
3519
3549
|
/**
|
|
3520
3550
|
*
|
|
3521
3551
|
* @type {string}
|
|
@@ -8984,6 +9014,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
|
|
|
8984
9014
|
*/
|
|
8985
9015
|
'price': any;
|
|
8986
9016
|
}
|
|
9017
|
+
/**
|
|
9018
|
+
*
|
|
9019
|
+
* @export
|
|
9020
|
+
* @interface UpdateUserCreditsRequest
|
|
9021
|
+
*/
|
|
9022
|
+
export interface UpdateUserCreditsRequest {
|
|
9023
|
+
/**
|
|
9024
|
+
* Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
|
|
9025
|
+
* @type {number}
|
|
9026
|
+
* @memberof UpdateUserCreditsRequest
|
|
9027
|
+
*/
|
|
9028
|
+
'deltaInCents': number;
|
|
9029
|
+
}
|
|
8987
9030
|
/**
|
|
8988
9031
|
*
|
|
8989
9032
|
* @export
|
|
@@ -13564,6 +13607,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
13564
13607
|
* @throws {RequiredError}
|
|
13565
13608
|
*/
|
|
13566
13609
|
getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13610
|
+
/**
|
|
13611
|
+
*
|
|
13612
|
+
* @param {string} id
|
|
13613
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
13614
|
+
* @param {*} [options] Override http request option.
|
|
13615
|
+
* @throws {RequiredError}
|
|
13616
|
+
*/
|
|
13617
|
+
updateUserCreditsStaff: (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13567
13618
|
};
|
|
13568
13619
|
/**
|
|
13569
13620
|
* ClubsStaffApi - functional programming interface
|
|
@@ -13619,6 +13670,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
13619
13670
|
* @throws {RequiredError}
|
|
13620
13671
|
*/
|
|
13621
13672
|
getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
13673
|
+
/**
|
|
13674
|
+
*
|
|
13675
|
+
* @param {string} id
|
|
13676
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
13677
|
+
* @param {*} [options] Override http request option.
|
|
13678
|
+
* @throws {RequiredError}
|
|
13679
|
+
*/
|
|
13680
|
+
updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
13622
13681
|
};
|
|
13623
13682
|
/**
|
|
13624
13683
|
* ClubsStaffApi - factory interface
|
|
@@ -13674,6 +13733,13 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
13674
13733
|
* @throws {RequiredError}
|
|
13675
13734
|
*/
|
|
13676
13735
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
13736
|
+
/**
|
|
13737
|
+
*
|
|
13738
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
13739
|
+
* @param {*} [options] Override http request option.
|
|
13740
|
+
* @throws {RequiredError}
|
|
13741
|
+
*/
|
|
13742
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
13677
13743
|
};
|
|
13678
13744
|
/**
|
|
13679
13745
|
* Request parameters for getUserProfileStaff operation in ClubsStaffApi.
|
|
@@ -13688,6 +13754,25 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
|
|
|
13688
13754
|
*/
|
|
13689
13755
|
readonly id: string;
|
|
13690
13756
|
}
|
|
13757
|
+
/**
|
|
13758
|
+
* Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
|
|
13759
|
+
* @export
|
|
13760
|
+
* @interface ClubsStaffApiUpdateUserCreditsStaffRequest
|
|
13761
|
+
*/
|
|
13762
|
+
export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
|
|
13763
|
+
/**
|
|
13764
|
+
*
|
|
13765
|
+
* @type {string}
|
|
13766
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
13767
|
+
*/
|
|
13768
|
+
readonly id: string;
|
|
13769
|
+
/**
|
|
13770
|
+
*
|
|
13771
|
+
* @type {UpdateUserCreditsRequest}
|
|
13772
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
13773
|
+
*/
|
|
13774
|
+
readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
|
|
13775
|
+
}
|
|
13691
13776
|
/**
|
|
13692
13777
|
* ClubsStaffApi - object-oriented interface
|
|
13693
13778
|
* @export
|
|
@@ -13752,6 +13837,14 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
13752
13837
|
* @memberof ClubsStaffApi
|
|
13753
13838
|
*/
|
|
13754
13839
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
13840
|
+
/**
|
|
13841
|
+
*
|
|
13842
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
13843
|
+
* @param {*} [options] Override http request option.
|
|
13844
|
+
* @throws {RequiredError}
|
|
13845
|
+
* @memberof ClubsStaffApi
|
|
13846
|
+
*/
|
|
13847
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
13755
13848
|
}
|
|
13756
13849
|
/**
|
|
13757
13850
|
* DefaultApi - axios parameter creator
|
|
@@ -14313,37 +14406,235 @@ export declare class EventsManagerApi extends BaseAPI {
|
|
|
14313
14406
|
* @export
|
|
14314
14407
|
*/
|
|
14315
14408
|
export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14409
|
+
/**
|
|
14410
|
+
* Get events for the day view (entire week)
|
|
14411
|
+
* @param {string} [clubId]
|
|
14412
|
+
* @param {string} [date]
|
|
14413
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
14414
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
14415
|
+
* @param {string} [sportId]
|
|
14416
|
+
* @param {*} [options] Override http request option.
|
|
14417
|
+
* @throws {RequiredError}
|
|
14418
|
+
*/
|
|
14419
|
+
getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14316
14420
|
/**
|
|
14317
14421
|
* Get all events for a club (staff only)
|
|
14318
14422
|
* @param {*} [options] Override http request option.
|
|
14319
14423
|
* @throws {RequiredError}
|
|
14320
14424
|
*/
|
|
14321
14425
|
getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14426
|
+
/**
|
|
14427
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14428
|
+
* @param {string} [clubId]
|
|
14429
|
+
* @param {string} [date]
|
|
14430
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
14431
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
14432
|
+
* @param {string} [sportId]
|
|
14433
|
+
* @param {*} [options] Override http request option.
|
|
14434
|
+
* @throws {RequiredError}
|
|
14435
|
+
*/
|
|
14436
|
+
getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14437
|
+
/**
|
|
14438
|
+
* Get events for the week view (30 day sliding window)
|
|
14439
|
+
* @param {string} [clubId]
|
|
14440
|
+
* @param {string} [date]
|
|
14441
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
14442
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
14443
|
+
* @param {string} [sportId]
|
|
14444
|
+
* @param {*} [options] Override http request option.
|
|
14445
|
+
* @throws {RequiredError}
|
|
14446
|
+
*/
|
|
14447
|
+
getWeeklyEvents: (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14322
14448
|
};
|
|
14323
14449
|
/**
|
|
14324
14450
|
* EventsStaffApi - functional programming interface
|
|
14325
14451
|
* @export
|
|
14326
14452
|
*/
|
|
14327
14453
|
export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
14454
|
+
/**
|
|
14455
|
+
* Get events for the day view (entire week)
|
|
14456
|
+
* @param {string} [clubId]
|
|
14457
|
+
* @param {string} [date]
|
|
14458
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
14459
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
14460
|
+
* @param {string} [sportId]
|
|
14461
|
+
* @param {*} [options] Override http request option.
|
|
14462
|
+
* @throws {RequiredError}
|
|
14463
|
+
*/
|
|
14464
|
+
getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14328
14465
|
/**
|
|
14329
14466
|
* Get all events for a club (staff only)
|
|
14330
14467
|
* @param {*} [options] Override http request option.
|
|
14331
14468
|
* @throws {RequiredError}
|
|
14332
14469
|
*/
|
|
14333
14470
|
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14471
|
+
/**
|
|
14472
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14473
|
+
* @param {string} [clubId]
|
|
14474
|
+
* @param {string} [date]
|
|
14475
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
14476
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
14477
|
+
* @param {string} [sportId]
|
|
14478
|
+
* @param {*} [options] Override http request option.
|
|
14479
|
+
* @throws {RequiredError}
|
|
14480
|
+
*/
|
|
14481
|
+
getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14482
|
+
/**
|
|
14483
|
+
* Get events for the week view (30 day sliding window)
|
|
14484
|
+
* @param {string} [clubId]
|
|
14485
|
+
* @param {string} [date]
|
|
14486
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
14487
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
14488
|
+
* @param {string} [sportId]
|
|
14489
|
+
* @param {*} [options] Override http request option.
|
|
14490
|
+
* @throws {RequiredError}
|
|
14491
|
+
*/
|
|
14492
|
+
getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14334
14493
|
};
|
|
14335
14494
|
/**
|
|
14336
14495
|
* EventsStaffApi - factory interface
|
|
14337
14496
|
* @export
|
|
14338
14497
|
*/
|
|
14339
14498
|
export declare const EventsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14499
|
+
/**
|
|
14500
|
+
* Get events for the day view (entire week)
|
|
14501
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
14502
|
+
* @param {*} [options] Override http request option.
|
|
14503
|
+
* @throws {RequiredError}
|
|
14504
|
+
*/
|
|
14505
|
+
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14340
14506
|
/**
|
|
14341
14507
|
* Get all events for a club (staff only)
|
|
14342
14508
|
* @param {*} [options] Override http request option.
|
|
14343
14509
|
* @throws {RequiredError}
|
|
14344
14510
|
*/
|
|
14345
14511
|
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14512
|
+
/**
|
|
14513
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14514
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
14515
|
+
* @param {*} [options] Override http request option.
|
|
14516
|
+
* @throws {RequiredError}
|
|
14517
|
+
*/
|
|
14518
|
+
getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14519
|
+
/**
|
|
14520
|
+
* Get events for the week view (30 day sliding window)
|
|
14521
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
14522
|
+
* @param {*} [options] Override http request option.
|
|
14523
|
+
* @throws {RequiredError}
|
|
14524
|
+
*/
|
|
14525
|
+
getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14346
14526
|
};
|
|
14527
|
+
/**
|
|
14528
|
+
* Request parameters for getDailyEvents operation in EventsStaffApi.
|
|
14529
|
+
* @export
|
|
14530
|
+
* @interface EventsStaffApiGetDailyEventsRequest
|
|
14531
|
+
*/
|
|
14532
|
+
export interface EventsStaffApiGetDailyEventsRequest {
|
|
14533
|
+
/**
|
|
14534
|
+
*
|
|
14535
|
+
* @type {string}
|
|
14536
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14537
|
+
*/
|
|
14538
|
+
readonly clubId?: string;
|
|
14539
|
+
/**
|
|
14540
|
+
*
|
|
14541
|
+
* @type {string}
|
|
14542
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14543
|
+
*/
|
|
14544
|
+
readonly date?: string;
|
|
14545
|
+
/**
|
|
14546
|
+
*
|
|
14547
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14548
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14549
|
+
*/
|
|
14550
|
+
readonly visibilityType?: GetDailyEventsVisibilityTypeEnum;
|
|
14551
|
+
/**
|
|
14552
|
+
*
|
|
14553
|
+
* @type {'event' | 'closure'}
|
|
14554
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14555
|
+
*/
|
|
14556
|
+
readonly type?: GetDailyEventsTypeEnum;
|
|
14557
|
+
/**
|
|
14558
|
+
*
|
|
14559
|
+
* @type {string}
|
|
14560
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14561
|
+
*/
|
|
14562
|
+
readonly sportId?: string;
|
|
14563
|
+
}
|
|
14564
|
+
/**
|
|
14565
|
+
* Request parameters for getMonthlyEvents operation in EventsStaffApi.
|
|
14566
|
+
* @export
|
|
14567
|
+
* @interface EventsStaffApiGetMonthlyEventsRequest
|
|
14568
|
+
*/
|
|
14569
|
+
export interface EventsStaffApiGetMonthlyEventsRequest {
|
|
14570
|
+
/**
|
|
14571
|
+
*
|
|
14572
|
+
* @type {string}
|
|
14573
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14574
|
+
*/
|
|
14575
|
+
readonly clubId?: string;
|
|
14576
|
+
/**
|
|
14577
|
+
*
|
|
14578
|
+
* @type {string}
|
|
14579
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14580
|
+
*/
|
|
14581
|
+
readonly date?: string;
|
|
14582
|
+
/**
|
|
14583
|
+
*
|
|
14584
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14585
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14586
|
+
*/
|
|
14587
|
+
readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum;
|
|
14588
|
+
/**
|
|
14589
|
+
*
|
|
14590
|
+
* @type {'event' | 'closure'}
|
|
14591
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14592
|
+
*/
|
|
14593
|
+
readonly type?: GetMonthlyEventsTypeEnum;
|
|
14594
|
+
/**
|
|
14595
|
+
*
|
|
14596
|
+
* @type {string}
|
|
14597
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14598
|
+
*/
|
|
14599
|
+
readonly sportId?: string;
|
|
14600
|
+
}
|
|
14601
|
+
/**
|
|
14602
|
+
* Request parameters for getWeeklyEvents operation in EventsStaffApi.
|
|
14603
|
+
* @export
|
|
14604
|
+
* @interface EventsStaffApiGetWeeklyEventsRequest
|
|
14605
|
+
*/
|
|
14606
|
+
export interface EventsStaffApiGetWeeklyEventsRequest {
|
|
14607
|
+
/**
|
|
14608
|
+
*
|
|
14609
|
+
* @type {string}
|
|
14610
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14611
|
+
*/
|
|
14612
|
+
readonly clubId?: string;
|
|
14613
|
+
/**
|
|
14614
|
+
*
|
|
14615
|
+
* @type {string}
|
|
14616
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14617
|
+
*/
|
|
14618
|
+
readonly date?: string;
|
|
14619
|
+
/**
|
|
14620
|
+
*
|
|
14621
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14622
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14623
|
+
*/
|
|
14624
|
+
readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum;
|
|
14625
|
+
/**
|
|
14626
|
+
*
|
|
14627
|
+
* @type {'event' | 'closure'}
|
|
14628
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14629
|
+
*/
|
|
14630
|
+
readonly type?: GetWeeklyEventsTypeEnum;
|
|
14631
|
+
/**
|
|
14632
|
+
*
|
|
14633
|
+
* @type {string}
|
|
14634
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14635
|
+
*/
|
|
14636
|
+
readonly sportId?: string;
|
|
14637
|
+
}
|
|
14347
14638
|
/**
|
|
14348
14639
|
* EventsStaffApi - object-oriented interface
|
|
14349
14640
|
* @export
|
|
@@ -14351,6 +14642,14 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
14351
14642
|
* @extends {BaseAPI}
|
|
14352
14643
|
*/
|
|
14353
14644
|
export declare class EventsStaffApi extends BaseAPI {
|
|
14645
|
+
/**
|
|
14646
|
+
* Get events for the day view (entire week)
|
|
14647
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
14648
|
+
* @param {*} [options] Override http request option.
|
|
14649
|
+
* @throws {RequiredError}
|
|
14650
|
+
* @memberof EventsStaffApi
|
|
14651
|
+
*/
|
|
14652
|
+
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14354
14653
|
/**
|
|
14355
14654
|
* Get all events for a club (staff only)
|
|
14356
14655
|
* @param {*} [options] Override http request option.
|
|
@@ -14358,7 +14657,74 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
14358
14657
|
* @memberof EventsStaffApi
|
|
14359
14658
|
*/
|
|
14360
14659
|
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14660
|
+
/**
|
|
14661
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14662
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
14663
|
+
* @param {*} [options] Override http request option.
|
|
14664
|
+
* @throws {RequiredError}
|
|
14665
|
+
* @memberof EventsStaffApi
|
|
14666
|
+
*/
|
|
14667
|
+
getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14668
|
+
/**
|
|
14669
|
+
* Get events for the week view (30 day sliding window)
|
|
14670
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
14671
|
+
* @param {*} [options] Override http request option.
|
|
14672
|
+
* @throws {RequiredError}
|
|
14673
|
+
* @memberof EventsStaffApi
|
|
14674
|
+
*/
|
|
14675
|
+
getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14361
14676
|
}
|
|
14677
|
+
/**
|
|
14678
|
+
* @export
|
|
14679
|
+
*/
|
|
14680
|
+
export declare const GetDailyEventsVisibilityTypeEnum: {
|
|
14681
|
+
readonly Public: "public";
|
|
14682
|
+
readonly Private: "private";
|
|
14683
|
+
readonly Invitation: "invitation";
|
|
14684
|
+
};
|
|
14685
|
+
export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
|
|
14686
|
+
/**
|
|
14687
|
+
* @export
|
|
14688
|
+
*/
|
|
14689
|
+
export declare const GetDailyEventsTypeEnum: {
|
|
14690
|
+
readonly Event: "event";
|
|
14691
|
+
readonly Closure: "closure";
|
|
14692
|
+
};
|
|
14693
|
+
export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
|
|
14694
|
+
/**
|
|
14695
|
+
* @export
|
|
14696
|
+
*/
|
|
14697
|
+
export declare const GetMonthlyEventsVisibilityTypeEnum: {
|
|
14698
|
+
readonly Public: "public";
|
|
14699
|
+
readonly Private: "private";
|
|
14700
|
+
readonly Invitation: "invitation";
|
|
14701
|
+
};
|
|
14702
|
+
export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
|
|
14703
|
+
/**
|
|
14704
|
+
* @export
|
|
14705
|
+
*/
|
|
14706
|
+
export declare const GetMonthlyEventsTypeEnum: {
|
|
14707
|
+
readonly Event: "event";
|
|
14708
|
+
readonly Closure: "closure";
|
|
14709
|
+
};
|
|
14710
|
+
export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
|
|
14711
|
+
/**
|
|
14712
|
+
* @export
|
|
14713
|
+
*/
|
|
14714
|
+
export declare const GetWeeklyEventsVisibilityTypeEnum: {
|
|
14715
|
+
readonly Public: "public";
|
|
14716
|
+
readonly Private: "private";
|
|
14717
|
+
readonly Invitation: "invitation";
|
|
14718
|
+
};
|
|
14719
|
+
export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
|
|
14720
|
+
/**
|
|
14721
|
+
* @export
|
|
14722
|
+
*/
|
|
14723
|
+
export declare const GetWeeklyEventsTypeEnum: {
|
|
14724
|
+
readonly Event: "event";
|
|
14725
|
+
readonly Closure: "closure";
|
|
14726
|
+
};
|
|
14727
|
+
export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
|
|
14362
14728
|
/**
|
|
14363
14729
|
* SportsManagerApi - axios parameter creator
|
|
14364
14730
|
* @export
|