@tennac-booking/sdk 1.0.113 → 1.0.114
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 +5 -1
- package/README.md +12 -2
- package/api.ts +823 -7
- package/dist/api.d.ts +540 -4
- package/dist/api.js +452 -6
- package/dist/esm/api.d.ts +540 -4
- package/dist/esm/api.js +448 -2
- package/docs/AgendaBooking.md +30 -0
- package/docs/AgendaBookingPlayer.md +26 -0
- package/docs/AgendaBookingSlot.md +30 -0
- package/docs/AgendaPaymentStatus.md +12 -0
- package/docs/BookingsWithTimeBoundsResponse.md +1 -1
- package/docs/ClubPlayerDetailResponse.md +2 -0
- package/docs/ClubSettingsManagerApi.md +2 -2
- package/docs/ClubSummary.md +8 -2
- package/docs/ClubsManagerApi.md +56 -0
- 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/api.d.ts
CHANGED
|
@@ -100,6 +100,134 @@ export interface AddOrganizationRequest {
|
|
|
100
100
|
*/
|
|
101
101
|
'organizationId'?: string;
|
|
102
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @export
|
|
106
|
+
* @interface AgendaBooking
|
|
107
|
+
*/
|
|
108
|
+
export interface AgendaBooking {
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof AgendaBooking
|
|
113
|
+
*/
|
|
114
|
+
'id': string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {BookingStatus}
|
|
118
|
+
* @memberof AgendaBooking
|
|
119
|
+
*/
|
|
120
|
+
'status': BookingStatus;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof AgendaBooking
|
|
125
|
+
*/
|
|
126
|
+
'creatorName': string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {Array<AgendaBookingPlayer>}
|
|
130
|
+
* @memberof AgendaBooking
|
|
131
|
+
*/
|
|
132
|
+
'players': Array<AgendaBookingPlayer>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {AgendaPaymentStatus}
|
|
136
|
+
* @memberof AgendaBooking
|
|
137
|
+
*/
|
|
138
|
+
'paymentStatus': AgendaPaymentStatus;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {Array<AgendaBookingSlot>}
|
|
142
|
+
* @memberof AgendaBooking
|
|
143
|
+
*/
|
|
144
|
+
'slots': Array<AgendaBookingSlot>;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @export
|
|
149
|
+
* @interface AgendaBookingPlayer
|
|
150
|
+
*/
|
|
151
|
+
export interface AgendaBookingPlayer {
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof AgendaBookingPlayer
|
|
156
|
+
*/
|
|
157
|
+
'id': string;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof AgendaBookingPlayer
|
|
162
|
+
*/
|
|
163
|
+
'firstName': string;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof AgendaBookingPlayer
|
|
168
|
+
*/
|
|
169
|
+
'lastName': string;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof AgendaBookingPlayer
|
|
174
|
+
*/
|
|
175
|
+
'profilePictureUrl'?: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @export
|
|
180
|
+
* @interface AgendaBookingSlot
|
|
181
|
+
*/
|
|
182
|
+
export interface AgendaBookingSlot {
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof AgendaBookingSlot
|
|
187
|
+
*/
|
|
188
|
+
'start': string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof AgendaBookingSlot
|
|
193
|
+
*/
|
|
194
|
+
'end': string;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof AgendaBookingSlot
|
|
199
|
+
*/
|
|
200
|
+
'courtName': string;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof AgendaBookingSlot
|
|
205
|
+
*/
|
|
206
|
+
'sportKey': string;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof AgendaBookingSlot
|
|
211
|
+
*/
|
|
212
|
+
'surface'?: string;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {boolean}
|
|
216
|
+
* @memberof AgendaBookingSlot
|
|
217
|
+
*/
|
|
218
|
+
'isIndoor'?: boolean;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @export
|
|
223
|
+
* @enum {string}
|
|
224
|
+
*/
|
|
225
|
+
export declare const AgendaPaymentStatus: {
|
|
226
|
+
readonly Pay: "payé";
|
|
227
|
+
readonly NonPay: "non payé";
|
|
228
|
+
readonly EnAttente: "en attente";
|
|
229
|
+
};
|
|
230
|
+
export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
|
|
103
231
|
/**
|
|
104
232
|
*
|
|
105
233
|
* @export
|
|
@@ -1106,10 +1234,10 @@ export interface BookingSummaryClubAddress {
|
|
|
1106
1234
|
export interface BookingsWithTimeBoundsResponse {
|
|
1107
1235
|
/**
|
|
1108
1236
|
*
|
|
1109
|
-
* @type {Array<
|
|
1237
|
+
* @type {Array<AgendaBooking>}
|
|
1110
1238
|
* @memberof BookingsWithTimeBoundsResponse
|
|
1111
1239
|
*/
|
|
1112
|
-
'bookings': Array<
|
|
1240
|
+
'bookings': Array<AgendaBooking>;
|
|
1113
1241
|
/**
|
|
1114
1242
|
*
|
|
1115
1243
|
* @type {TimeBounds}
|
|
@@ -2187,6 +2315,12 @@ export interface ClubPlayerDetailResponse {
|
|
|
2187
2315
|
* @memberof ClubPlayerDetailResponse
|
|
2188
2316
|
*/
|
|
2189
2317
|
'birthDate': string | null;
|
|
2318
|
+
/**
|
|
2319
|
+
*
|
|
2320
|
+
* @type {number}
|
|
2321
|
+
* @memberof ClubPlayerDetailResponse
|
|
2322
|
+
*/
|
|
2323
|
+
'credits': number | null;
|
|
2190
2324
|
}
|
|
2191
2325
|
/**
|
|
2192
2326
|
*
|
|
@@ -2926,7 +3060,19 @@ export interface ClubSummary {
|
|
|
2926
3060
|
* @type {string}
|
|
2927
3061
|
* @memberof ClubSummary
|
|
2928
3062
|
*/
|
|
2929
|
-
'
|
|
3063
|
+
'picture'?: string;
|
|
3064
|
+
/**
|
|
3065
|
+
*
|
|
3066
|
+
* @type {Array<string>}
|
|
3067
|
+
* @memberof ClubSummary
|
|
3068
|
+
*/
|
|
3069
|
+
'bannerPictures'?: Array<string>;
|
|
3070
|
+
/**
|
|
3071
|
+
*
|
|
3072
|
+
* @type {Array<string>}
|
|
3073
|
+
* @memberof ClubSummary
|
|
3074
|
+
*/
|
|
3075
|
+
'galleryPictures'?: Array<string>;
|
|
2930
3076
|
/**
|
|
2931
3077
|
*
|
|
2932
3078
|
* @type {UserLocationSummary}
|
|
@@ -2939,6 +3085,12 @@ export interface ClubSummary {
|
|
|
2939
3085
|
* @memberof ClubSummary
|
|
2940
3086
|
*/
|
|
2941
3087
|
'visitCount'?: number;
|
|
3088
|
+
/**
|
|
3089
|
+
*
|
|
3090
|
+
* @type {Array<string>}
|
|
3091
|
+
* @memberof ClubSummary
|
|
3092
|
+
*/
|
|
3093
|
+
'tags'?: Array<string>;
|
|
2942
3094
|
}
|
|
2943
3095
|
/**
|
|
2944
3096
|
*
|
|
@@ -3403,13 +3555,19 @@ export interface CreateEventRequest {
|
|
|
3403
3555
|
* @type {string}
|
|
3404
3556
|
* @memberof CreateEventRequest
|
|
3405
3557
|
*/
|
|
3406
|
-
'recurringType'
|
|
3558
|
+
'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
|
|
3407
3559
|
/**
|
|
3408
3560
|
*
|
|
3409
3561
|
* @type {string}
|
|
3410
3562
|
* @memberof CreateEventRequest
|
|
3411
3563
|
*/
|
|
3412
3564
|
'recurrenceEndDate'?: string;
|
|
3565
|
+
/**
|
|
3566
|
+
*
|
|
3567
|
+
* @type {number}
|
|
3568
|
+
* @memberof CreateEventRequest
|
|
3569
|
+
*/
|
|
3570
|
+
'occurrences'?: number;
|
|
3413
3571
|
/**
|
|
3414
3572
|
*
|
|
3415
3573
|
* @type {string}
|
|
@@ -9077,6 +9235,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
|
|
|
9077
9235
|
*/
|
|
9078
9236
|
'price': any;
|
|
9079
9237
|
}
|
|
9238
|
+
/**
|
|
9239
|
+
*
|
|
9240
|
+
* @export
|
|
9241
|
+
* @interface UpdateUserCreditsRequest
|
|
9242
|
+
*/
|
|
9243
|
+
export interface UpdateUserCreditsRequest {
|
|
9244
|
+
/**
|
|
9245
|
+
* Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
|
|
9246
|
+
* @type {number}
|
|
9247
|
+
* @memberof UpdateUserCreditsRequest
|
|
9248
|
+
*/
|
|
9249
|
+
'deltaInCents': number;
|
|
9250
|
+
}
|
|
9080
9251
|
/**
|
|
9081
9252
|
*
|
|
9082
9253
|
* @export
|
|
@@ -12576,6 +12747,13 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
|
|
|
12576
12747
|
* @throws {RequiredError}
|
|
12577
12748
|
*/
|
|
12578
12749
|
deleteActuality: (actualityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12750
|
+
/**
|
|
12751
|
+
* Supprime un membre d\'un club
|
|
12752
|
+
* @param {string} userId
|
|
12753
|
+
* @param {*} [options] Override http request option.
|
|
12754
|
+
* @throws {RequiredError}
|
|
12755
|
+
*/
|
|
12756
|
+
deleteClubMember: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12579
12757
|
/**
|
|
12580
12758
|
* Supprime un terrain et ses créneaux futurs
|
|
12581
12759
|
* @param {string} courtId
|
|
@@ -12726,6 +12904,13 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
|
|
|
12726
12904
|
* @throws {RequiredError}
|
|
12727
12905
|
*/
|
|
12728
12906
|
deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
|
|
12907
|
+
/**
|
|
12908
|
+
* Supprime un membre d\'un club
|
|
12909
|
+
* @param {string} userId
|
|
12910
|
+
* @param {*} [options] Override http request option.
|
|
12911
|
+
* @throws {RequiredError}
|
|
12912
|
+
*/
|
|
12913
|
+
deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
|
|
12729
12914
|
/**
|
|
12730
12915
|
* Supprime un terrain et ses créneaux futurs
|
|
12731
12916
|
* @param {string} courtId
|
|
@@ -12875,6 +13060,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
|
|
|
12875
13060
|
* @throws {RequiredError}
|
|
12876
13061
|
*/
|
|
12877
13062
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
13063
|
+
/**
|
|
13064
|
+
* Supprime un membre d\'un club
|
|
13065
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13066
|
+
* @param {*} [options] Override http request option.
|
|
13067
|
+
* @throws {RequiredError}
|
|
13068
|
+
*/
|
|
13069
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
|
|
12878
13070
|
/**
|
|
12879
13071
|
* Supprime un terrain et ses créneaux futurs
|
|
12880
13072
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -13063,6 +13255,19 @@ export interface ClubsManagerApiDeleteActualityRequest {
|
|
|
13063
13255
|
*/
|
|
13064
13256
|
readonly actualityId: string;
|
|
13065
13257
|
}
|
|
13258
|
+
/**
|
|
13259
|
+
* Request parameters for deleteClubMember operation in ClubsManagerApi.
|
|
13260
|
+
* @export
|
|
13261
|
+
* @interface ClubsManagerApiDeleteClubMemberRequest
|
|
13262
|
+
*/
|
|
13263
|
+
export interface ClubsManagerApiDeleteClubMemberRequest {
|
|
13264
|
+
/**
|
|
13265
|
+
*
|
|
13266
|
+
* @type {string}
|
|
13267
|
+
* @memberof ClubsManagerApiDeleteClubMember
|
|
13268
|
+
*/
|
|
13269
|
+
readonly userId: string;
|
|
13270
|
+
}
|
|
13066
13271
|
/**
|
|
13067
13272
|
* Request parameters for deleteCourt operation in ClubsManagerApi.
|
|
13068
13273
|
* @export
|
|
@@ -13306,6 +13511,14 @@ export declare class ClubsManagerApi extends BaseAPI {
|
|
|
13306
13511
|
* @memberof ClubsManagerApi
|
|
13307
13512
|
*/
|
|
13308
13513
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
|
|
13514
|
+
/**
|
|
13515
|
+
* Supprime un membre d\'un club
|
|
13516
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13517
|
+
* @param {*} [options] Override http request option.
|
|
13518
|
+
* @throws {RequiredError}
|
|
13519
|
+
* @memberof ClubsManagerApi
|
|
13520
|
+
*/
|
|
13521
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
|
|
13309
13522
|
/**
|
|
13310
13523
|
* Supprime un terrain et ses créneaux futurs
|
|
13311
13524
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -13472,6 +13685,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
13472
13685
|
* @throws {RequiredError}
|
|
13473
13686
|
*/
|
|
13474
13687
|
getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13688
|
+
/**
|
|
13689
|
+
*
|
|
13690
|
+
* @param {string} id
|
|
13691
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
13692
|
+
* @param {*} [options] Override http request option.
|
|
13693
|
+
* @throws {RequiredError}
|
|
13694
|
+
*/
|
|
13695
|
+
updateUserCreditsStaff: (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13475
13696
|
};
|
|
13476
13697
|
/**
|
|
13477
13698
|
* ClubsStaffApi - functional programming interface
|
|
@@ -13535,6 +13756,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
13535
13756
|
* @throws {RequiredError}
|
|
13536
13757
|
*/
|
|
13537
13758
|
getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
13759
|
+
/**
|
|
13760
|
+
*
|
|
13761
|
+
* @param {string} id
|
|
13762
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
13763
|
+
* @param {*} [options] Override http request option.
|
|
13764
|
+
* @throws {RequiredError}
|
|
13765
|
+
*/
|
|
13766
|
+
updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
13538
13767
|
};
|
|
13539
13768
|
/**
|
|
13540
13769
|
* ClubsStaffApi - factory interface
|
|
@@ -13597,6 +13826,13 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
13597
13826
|
* @throws {RequiredError}
|
|
13598
13827
|
*/
|
|
13599
13828
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
13829
|
+
/**
|
|
13830
|
+
*
|
|
13831
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
13832
|
+
* @param {*} [options] Override http request option.
|
|
13833
|
+
* @throws {RequiredError}
|
|
13834
|
+
*/
|
|
13835
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
13600
13836
|
};
|
|
13601
13837
|
/**
|
|
13602
13838
|
* Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
|
|
@@ -13630,6 +13866,25 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
|
|
|
13630
13866
|
*/
|
|
13631
13867
|
readonly id: string;
|
|
13632
13868
|
}
|
|
13869
|
+
/**
|
|
13870
|
+
* Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
|
|
13871
|
+
* @export
|
|
13872
|
+
* @interface ClubsStaffApiUpdateUserCreditsStaffRequest
|
|
13873
|
+
*/
|
|
13874
|
+
export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
|
|
13875
|
+
/**
|
|
13876
|
+
*
|
|
13877
|
+
* @type {string}
|
|
13878
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
13879
|
+
*/
|
|
13880
|
+
readonly id: string;
|
|
13881
|
+
/**
|
|
13882
|
+
*
|
|
13883
|
+
* @type {UpdateUserCreditsRequest}
|
|
13884
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
13885
|
+
*/
|
|
13886
|
+
readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
|
|
13887
|
+
}
|
|
13633
13888
|
/**
|
|
13634
13889
|
* ClubsStaffApi - object-oriented interface
|
|
13635
13890
|
* @export
|
|
@@ -13702,6 +13957,14 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
13702
13957
|
* @memberof ClubsStaffApi
|
|
13703
13958
|
*/
|
|
13704
13959
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
13960
|
+
/**
|
|
13961
|
+
*
|
|
13962
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
13963
|
+
* @param {*} [options] Override http request option.
|
|
13964
|
+
* @throws {RequiredError}
|
|
13965
|
+
* @memberof ClubsStaffApi
|
|
13966
|
+
*/
|
|
13967
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
13705
13968
|
}
|
|
13706
13969
|
/**
|
|
13707
13970
|
* DefaultApi - axios parameter creator
|
|
@@ -14363,12 +14626,45 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
|
|
|
14363
14626
|
* @throws {RequiredError}
|
|
14364
14627
|
*/
|
|
14365
14628
|
checkInEventParticipants: (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14629
|
+
/**
|
|
14630
|
+
* Get events for the day view (entire week)
|
|
14631
|
+
* @param {string} [clubId]
|
|
14632
|
+
* @param {string} [date]
|
|
14633
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
14634
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
14635
|
+
* @param {string} [sportId]
|
|
14636
|
+
* @param {*} [options] Override http request option.
|
|
14637
|
+
* @throws {RequiredError}
|
|
14638
|
+
*/
|
|
14639
|
+
getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14366
14640
|
/**
|
|
14367
14641
|
* Get all events for a club (staff only)
|
|
14368
14642
|
* @param {*} [options] Override http request option.
|
|
14369
14643
|
* @throws {RequiredError}
|
|
14370
14644
|
*/
|
|
14371
14645
|
getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14646
|
+
/**
|
|
14647
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14648
|
+
* @param {string} [clubId]
|
|
14649
|
+
* @param {string} [date]
|
|
14650
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
14651
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
14652
|
+
* @param {string} [sportId]
|
|
14653
|
+
* @param {*} [options] Override http request option.
|
|
14654
|
+
* @throws {RequiredError}
|
|
14655
|
+
*/
|
|
14656
|
+
getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14657
|
+
/**
|
|
14658
|
+
* Get events for the week view (30 day sliding window)
|
|
14659
|
+
* @param {string} [clubId]
|
|
14660
|
+
* @param {string} [date]
|
|
14661
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
14662
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
14663
|
+
* @param {string} [sportId]
|
|
14664
|
+
* @param {*} [options] Override http request option.
|
|
14665
|
+
* @throws {RequiredError}
|
|
14666
|
+
*/
|
|
14667
|
+
getWeeklyEvents: (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14372
14668
|
};
|
|
14373
14669
|
/**
|
|
14374
14670
|
* EventsStaffApi - functional programming interface
|
|
@@ -14383,12 +14679,45 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
14383
14679
|
* @throws {RequiredError}
|
|
14384
14680
|
*/
|
|
14385
14681
|
checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>>;
|
|
14682
|
+
/**
|
|
14683
|
+
* Get events for the day view (entire week)
|
|
14684
|
+
* @param {string} [clubId]
|
|
14685
|
+
* @param {string} [date]
|
|
14686
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
14687
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
14688
|
+
* @param {string} [sportId]
|
|
14689
|
+
* @param {*} [options] Override http request option.
|
|
14690
|
+
* @throws {RequiredError}
|
|
14691
|
+
*/
|
|
14692
|
+
getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14386
14693
|
/**
|
|
14387
14694
|
* Get all events for a club (staff only)
|
|
14388
14695
|
* @param {*} [options] Override http request option.
|
|
14389
14696
|
* @throws {RequiredError}
|
|
14390
14697
|
*/
|
|
14391
14698
|
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14699
|
+
/**
|
|
14700
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14701
|
+
* @param {string} [clubId]
|
|
14702
|
+
* @param {string} [date]
|
|
14703
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
14704
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
14705
|
+
* @param {string} [sportId]
|
|
14706
|
+
* @param {*} [options] Override http request option.
|
|
14707
|
+
* @throws {RequiredError}
|
|
14708
|
+
*/
|
|
14709
|
+
getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14710
|
+
/**
|
|
14711
|
+
* Get events for the week view (30 day sliding window)
|
|
14712
|
+
* @param {string} [clubId]
|
|
14713
|
+
* @param {string} [date]
|
|
14714
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
14715
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
14716
|
+
* @param {string} [sportId]
|
|
14717
|
+
* @param {*} [options] Override http request option.
|
|
14718
|
+
* @throws {RequiredError}
|
|
14719
|
+
*/
|
|
14720
|
+
getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14392
14721
|
};
|
|
14393
14722
|
/**
|
|
14394
14723
|
* EventsStaffApi - factory interface
|
|
@@ -14402,12 +14731,33 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
14402
14731
|
* @throws {RequiredError}
|
|
14403
14732
|
*/
|
|
14404
14733
|
checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response>;
|
|
14734
|
+
/**
|
|
14735
|
+
* Get events for the day view (entire week)
|
|
14736
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
14737
|
+
* @param {*} [options] Override http request option.
|
|
14738
|
+
* @throws {RequiredError}
|
|
14739
|
+
*/
|
|
14740
|
+
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14405
14741
|
/**
|
|
14406
14742
|
* Get all events for a club (staff only)
|
|
14407
14743
|
* @param {*} [options] Override http request option.
|
|
14408
14744
|
* @throws {RequiredError}
|
|
14409
14745
|
*/
|
|
14410
14746
|
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14747
|
+
/**
|
|
14748
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14749
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
14750
|
+
* @param {*} [options] Override http request option.
|
|
14751
|
+
* @throws {RequiredError}
|
|
14752
|
+
*/
|
|
14753
|
+
getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14754
|
+
/**
|
|
14755
|
+
* Get events for the week view (30 day sliding window)
|
|
14756
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
14757
|
+
* @param {*} [options] Override http request option.
|
|
14758
|
+
* @throws {RequiredError}
|
|
14759
|
+
*/
|
|
14760
|
+
getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14411
14761
|
};
|
|
14412
14762
|
/**
|
|
14413
14763
|
* Request parameters for checkInEventParticipants operation in EventsStaffApi.
|
|
@@ -14428,6 +14778,117 @@ export interface EventsStaffApiCheckInEventParticipantsRequest {
|
|
|
14428
14778
|
*/
|
|
14429
14779
|
readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest;
|
|
14430
14780
|
}
|
|
14781
|
+
/**
|
|
14782
|
+
* Request parameters for getDailyEvents operation in EventsStaffApi.
|
|
14783
|
+
* @export
|
|
14784
|
+
* @interface EventsStaffApiGetDailyEventsRequest
|
|
14785
|
+
*/
|
|
14786
|
+
export interface EventsStaffApiGetDailyEventsRequest {
|
|
14787
|
+
/**
|
|
14788
|
+
*
|
|
14789
|
+
* @type {string}
|
|
14790
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14791
|
+
*/
|
|
14792
|
+
readonly clubId?: string;
|
|
14793
|
+
/**
|
|
14794
|
+
*
|
|
14795
|
+
* @type {string}
|
|
14796
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14797
|
+
*/
|
|
14798
|
+
readonly date?: string;
|
|
14799
|
+
/**
|
|
14800
|
+
*
|
|
14801
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14802
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14803
|
+
*/
|
|
14804
|
+
readonly visibilityType?: GetDailyEventsVisibilityTypeEnum;
|
|
14805
|
+
/**
|
|
14806
|
+
*
|
|
14807
|
+
* @type {'event' | 'closure'}
|
|
14808
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14809
|
+
*/
|
|
14810
|
+
readonly type?: GetDailyEventsTypeEnum;
|
|
14811
|
+
/**
|
|
14812
|
+
*
|
|
14813
|
+
* @type {string}
|
|
14814
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14815
|
+
*/
|
|
14816
|
+
readonly sportId?: string;
|
|
14817
|
+
}
|
|
14818
|
+
/**
|
|
14819
|
+
* Request parameters for getMonthlyEvents operation in EventsStaffApi.
|
|
14820
|
+
* @export
|
|
14821
|
+
* @interface EventsStaffApiGetMonthlyEventsRequest
|
|
14822
|
+
*/
|
|
14823
|
+
export interface EventsStaffApiGetMonthlyEventsRequest {
|
|
14824
|
+
/**
|
|
14825
|
+
*
|
|
14826
|
+
* @type {string}
|
|
14827
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14828
|
+
*/
|
|
14829
|
+
readonly clubId?: string;
|
|
14830
|
+
/**
|
|
14831
|
+
*
|
|
14832
|
+
* @type {string}
|
|
14833
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14834
|
+
*/
|
|
14835
|
+
readonly date?: string;
|
|
14836
|
+
/**
|
|
14837
|
+
*
|
|
14838
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14839
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14840
|
+
*/
|
|
14841
|
+
readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum;
|
|
14842
|
+
/**
|
|
14843
|
+
*
|
|
14844
|
+
* @type {'event' | 'closure'}
|
|
14845
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14846
|
+
*/
|
|
14847
|
+
readonly type?: GetMonthlyEventsTypeEnum;
|
|
14848
|
+
/**
|
|
14849
|
+
*
|
|
14850
|
+
* @type {string}
|
|
14851
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14852
|
+
*/
|
|
14853
|
+
readonly sportId?: string;
|
|
14854
|
+
}
|
|
14855
|
+
/**
|
|
14856
|
+
* Request parameters for getWeeklyEvents operation in EventsStaffApi.
|
|
14857
|
+
* @export
|
|
14858
|
+
* @interface EventsStaffApiGetWeeklyEventsRequest
|
|
14859
|
+
*/
|
|
14860
|
+
export interface EventsStaffApiGetWeeklyEventsRequest {
|
|
14861
|
+
/**
|
|
14862
|
+
*
|
|
14863
|
+
* @type {string}
|
|
14864
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14865
|
+
*/
|
|
14866
|
+
readonly clubId?: string;
|
|
14867
|
+
/**
|
|
14868
|
+
*
|
|
14869
|
+
* @type {string}
|
|
14870
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14871
|
+
*/
|
|
14872
|
+
readonly date?: string;
|
|
14873
|
+
/**
|
|
14874
|
+
*
|
|
14875
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14876
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14877
|
+
*/
|
|
14878
|
+
readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum;
|
|
14879
|
+
/**
|
|
14880
|
+
*
|
|
14881
|
+
* @type {'event' | 'closure'}
|
|
14882
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14883
|
+
*/
|
|
14884
|
+
readonly type?: GetWeeklyEventsTypeEnum;
|
|
14885
|
+
/**
|
|
14886
|
+
*
|
|
14887
|
+
* @type {string}
|
|
14888
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14889
|
+
*/
|
|
14890
|
+
readonly sportId?: string;
|
|
14891
|
+
}
|
|
14431
14892
|
/**
|
|
14432
14893
|
* EventsStaffApi - object-oriented interface
|
|
14433
14894
|
* @export
|
|
@@ -14443,6 +14904,14 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
14443
14904
|
* @memberof EventsStaffApi
|
|
14444
14905
|
*/
|
|
14445
14906
|
checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInEventParticipants200Response, any, {}>>;
|
|
14907
|
+
/**
|
|
14908
|
+
* Get events for the day view (entire week)
|
|
14909
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
14910
|
+
* @param {*} [options] Override http request option.
|
|
14911
|
+
* @throws {RequiredError}
|
|
14912
|
+
* @memberof EventsStaffApi
|
|
14913
|
+
*/
|
|
14914
|
+
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14446
14915
|
/**
|
|
14447
14916
|
* Get all events for a club (staff only)
|
|
14448
14917
|
* @param {*} [options] Override http request option.
|
|
@@ -14450,7 +14919,74 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
14450
14919
|
* @memberof EventsStaffApi
|
|
14451
14920
|
*/
|
|
14452
14921
|
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14922
|
+
/**
|
|
14923
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14924
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
14925
|
+
* @param {*} [options] Override http request option.
|
|
14926
|
+
* @throws {RequiredError}
|
|
14927
|
+
* @memberof EventsStaffApi
|
|
14928
|
+
*/
|
|
14929
|
+
getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14930
|
+
/**
|
|
14931
|
+
* Get events for the week view (30 day sliding window)
|
|
14932
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
14933
|
+
* @param {*} [options] Override http request option.
|
|
14934
|
+
* @throws {RequiredError}
|
|
14935
|
+
* @memberof EventsStaffApi
|
|
14936
|
+
*/
|
|
14937
|
+
getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14453
14938
|
}
|
|
14939
|
+
/**
|
|
14940
|
+
* @export
|
|
14941
|
+
*/
|
|
14942
|
+
export declare const GetDailyEventsVisibilityTypeEnum: {
|
|
14943
|
+
readonly Public: "public";
|
|
14944
|
+
readonly Private: "private";
|
|
14945
|
+
readonly Invitation: "invitation";
|
|
14946
|
+
};
|
|
14947
|
+
export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
|
|
14948
|
+
/**
|
|
14949
|
+
* @export
|
|
14950
|
+
*/
|
|
14951
|
+
export declare const GetDailyEventsTypeEnum: {
|
|
14952
|
+
readonly Event: "event";
|
|
14953
|
+
readonly Closure: "closure";
|
|
14954
|
+
};
|
|
14955
|
+
export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
|
|
14956
|
+
/**
|
|
14957
|
+
* @export
|
|
14958
|
+
*/
|
|
14959
|
+
export declare const GetMonthlyEventsVisibilityTypeEnum: {
|
|
14960
|
+
readonly Public: "public";
|
|
14961
|
+
readonly Private: "private";
|
|
14962
|
+
readonly Invitation: "invitation";
|
|
14963
|
+
};
|
|
14964
|
+
export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
|
|
14965
|
+
/**
|
|
14966
|
+
* @export
|
|
14967
|
+
*/
|
|
14968
|
+
export declare const GetMonthlyEventsTypeEnum: {
|
|
14969
|
+
readonly Event: "event";
|
|
14970
|
+
readonly Closure: "closure";
|
|
14971
|
+
};
|
|
14972
|
+
export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
|
|
14973
|
+
/**
|
|
14974
|
+
* @export
|
|
14975
|
+
*/
|
|
14976
|
+
export declare const GetWeeklyEventsVisibilityTypeEnum: {
|
|
14977
|
+
readonly Public: "public";
|
|
14978
|
+
readonly Private: "private";
|
|
14979
|
+
readonly Invitation: "invitation";
|
|
14980
|
+
};
|
|
14981
|
+
export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
|
|
14982
|
+
/**
|
|
14983
|
+
* @export
|
|
14984
|
+
*/
|
|
14985
|
+
export declare const GetWeeklyEventsTypeEnum: {
|
|
14986
|
+
readonly Event: "event";
|
|
14987
|
+
readonly Closure: "closure";
|
|
14988
|
+
};
|
|
14989
|
+
export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
|
|
14454
14990
|
/**
|
|
14455
14991
|
* SportsManagerApi - axios parameter creator
|
|
14456
14992
|
* @export
|