@tennac-booking/sdk 1.0.113 → 1.0.115
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 -0
- package/README.md +12 -2
- package/api.ts +840 -12
- package/dist/api.d.ts +552 -4
- package/dist/api.js +452 -6
- package/dist/esm/api.d.ts +552 -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 +5 -1
- package/docs/EventResponse.md +2 -0
- package/docs/EventsStaffApi.md +198 -0
- package/docs/UpdateUserCreditsRequest.md +20 -0
- package/package.json +1 -1
package/dist/esm/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}
|
|
@@ -3434,6 +3592,12 @@ export interface CreateEventRequest {
|
|
|
3434
3592
|
* @memberof CreateEventRequest
|
|
3435
3593
|
*/
|
|
3436
3594
|
'playerLimit'?: number;
|
|
3595
|
+
/**
|
|
3596
|
+
*
|
|
3597
|
+
* @type {number}
|
|
3598
|
+
* @memberof CreateEventRequest
|
|
3599
|
+
*/
|
|
3600
|
+
'playersPerTeam'?: number;
|
|
3437
3601
|
/**
|
|
3438
3602
|
*
|
|
3439
3603
|
* @type {number}
|
|
@@ -4088,6 +4252,12 @@ export interface EventResponse {
|
|
|
4088
4252
|
* @memberof EventResponse
|
|
4089
4253
|
*/
|
|
4090
4254
|
'teamLimit'?: number;
|
|
4255
|
+
/**
|
|
4256
|
+
*
|
|
4257
|
+
* @type {number}
|
|
4258
|
+
* @memberof EventResponse
|
|
4259
|
+
*/
|
|
4260
|
+
'playersPerTeam'?: number;
|
|
4091
4261
|
/**
|
|
4092
4262
|
*
|
|
4093
4263
|
* @type {number}
|
|
@@ -9077,6 +9247,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
|
|
|
9077
9247
|
*/
|
|
9078
9248
|
'price': any;
|
|
9079
9249
|
}
|
|
9250
|
+
/**
|
|
9251
|
+
*
|
|
9252
|
+
* @export
|
|
9253
|
+
* @interface UpdateUserCreditsRequest
|
|
9254
|
+
*/
|
|
9255
|
+
export interface UpdateUserCreditsRequest {
|
|
9256
|
+
/**
|
|
9257
|
+
* Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
|
|
9258
|
+
* @type {number}
|
|
9259
|
+
* @memberof UpdateUserCreditsRequest
|
|
9260
|
+
*/
|
|
9261
|
+
'deltaInCents': number;
|
|
9262
|
+
}
|
|
9080
9263
|
/**
|
|
9081
9264
|
*
|
|
9082
9265
|
* @export
|
|
@@ -12576,6 +12759,13 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
|
|
|
12576
12759
|
* @throws {RequiredError}
|
|
12577
12760
|
*/
|
|
12578
12761
|
deleteActuality: (actualityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12762
|
+
/**
|
|
12763
|
+
* Supprime un membre d\'un club
|
|
12764
|
+
* @param {string} userId
|
|
12765
|
+
* @param {*} [options] Override http request option.
|
|
12766
|
+
* @throws {RequiredError}
|
|
12767
|
+
*/
|
|
12768
|
+
deleteClubMember: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12579
12769
|
/**
|
|
12580
12770
|
* Supprime un terrain et ses créneaux futurs
|
|
12581
12771
|
* @param {string} courtId
|
|
@@ -12726,6 +12916,13 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
|
|
|
12726
12916
|
* @throws {RequiredError}
|
|
12727
12917
|
*/
|
|
12728
12918
|
deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
|
|
12919
|
+
/**
|
|
12920
|
+
* Supprime un membre d\'un club
|
|
12921
|
+
* @param {string} userId
|
|
12922
|
+
* @param {*} [options] Override http request option.
|
|
12923
|
+
* @throws {RequiredError}
|
|
12924
|
+
*/
|
|
12925
|
+
deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
|
|
12729
12926
|
/**
|
|
12730
12927
|
* Supprime un terrain et ses créneaux futurs
|
|
12731
12928
|
* @param {string} courtId
|
|
@@ -12875,6 +13072,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
|
|
|
12875
13072
|
* @throws {RequiredError}
|
|
12876
13073
|
*/
|
|
12877
13074
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
13075
|
+
/**
|
|
13076
|
+
* Supprime un membre d\'un club
|
|
13077
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13078
|
+
* @param {*} [options] Override http request option.
|
|
13079
|
+
* @throws {RequiredError}
|
|
13080
|
+
*/
|
|
13081
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
|
|
12878
13082
|
/**
|
|
12879
13083
|
* Supprime un terrain et ses créneaux futurs
|
|
12880
13084
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -13063,6 +13267,19 @@ export interface ClubsManagerApiDeleteActualityRequest {
|
|
|
13063
13267
|
*/
|
|
13064
13268
|
readonly actualityId: string;
|
|
13065
13269
|
}
|
|
13270
|
+
/**
|
|
13271
|
+
* Request parameters for deleteClubMember operation in ClubsManagerApi.
|
|
13272
|
+
* @export
|
|
13273
|
+
* @interface ClubsManagerApiDeleteClubMemberRequest
|
|
13274
|
+
*/
|
|
13275
|
+
export interface ClubsManagerApiDeleteClubMemberRequest {
|
|
13276
|
+
/**
|
|
13277
|
+
*
|
|
13278
|
+
* @type {string}
|
|
13279
|
+
* @memberof ClubsManagerApiDeleteClubMember
|
|
13280
|
+
*/
|
|
13281
|
+
readonly userId: string;
|
|
13282
|
+
}
|
|
13066
13283
|
/**
|
|
13067
13284
|
* Request parameters for deleteCourt operation in ClubsManagerApi.
|
|
13068
13285
|
* @export
|
|
@@ -13306,6 +13523,14 @@ export declare class ClubsManagerApi extends BaseAPI {
|
|
|
13306
13523
|
* @memberof ClubsManagerApi
|
|
13307
13524
|
*/
|
|
13308
13525
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
|
|
13526
|
+
/**
|
|
13527
|
+
* Supprime un membre d\'un club
|
|
13528
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13529
|
+
* @param {*} [options] Override http request option.
|
|
13530
|
+
* @throws {RequiredError}
|
|
13531
|
+
* @memberof ClubsManagerApi
|
|
13532
|
+
*/
|
|
13533
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
|
|
13309
13534
|
/**
|
|
13310
13535
|
* Supprime un terrain et ses créneaux futurs
|
|
13311
13536
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -13472,6 +13697,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
13472
13697
|
* @throws {RequiredError}
|
|
13473
13698
|
*/
|
|
13474
13699
|
getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13700
|
+
/**
|
|
13701
|
+
*
|
|
13702
|
+
* @param {string} id
|
|
13703
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
13704
|
+
* @param {*} [options] Override http request option.
|
|
13705
|
+
* @throws {RequiredError}
|
|
13706
|
+
*/
|
|
13707
|
+
updateUserCreditsStaff: (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13475
13708
|
};
|
|
13476
13709
|
/**
|
|
13477
13710
|
* ClubsStaffApi - functional programming interface
|
|
@@ -13535,6 +13768,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
13535
13768
|
* @throws {RequiredError}
|
|
13536
13769
|
*/
|
|
13537
13770
|
getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
13771
|
+
/**
|
|
13772
|
+
*
|
|
13773
|
+
* @param {string} id
|
|
13774
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
13775
|
+
* @param {*} [options] Override http request option.
|
|
13776
|
+
* @throws {RequiredError}
|
|
13777
|
+
*/
|
|
13778
|
+
updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
13538
13779
|
};
|
|
13539
13780
|
/**
|
|
13540
13781
|
* ClubsStaffApi - factory interface
|
|
@@ -13597,6 +13838,13 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
13597
13838
|
* @throws {RequiredError}
|
|
13598
13839
|
*/
|
|
13599
13840
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
13841
|
+
/**
|
|
13842
|
+
*
|
|
13843
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
13844
|
+
* @param {*} [options] Override http request option.
|
|
13845
|
+
* @throws {RequiredError}
|
|
13846
|
+
*/
|
|
13847
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
13600
13848
|
};
|
|
13601
13849
|
/**
|
|
13602
13850
|
* Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
|
|
@@ -13630,6 +13878,25 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
|
|
|
13630
13878
|
*/
|
|
13631
13879
|
readonly id: string;
|
|
13632
13880
|
}
|
|
13881
|
+
/**
|
|
13882
|
+
* Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
|
|
13883
|
+
* @export
|
|
13884
|
+
* @interface ClubsStaffApiUpdateUserCreditsStaffRequest
|
|
13885
|
+
*/
|
|
13886
|
+
export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
|
|
13887
|
+
/**
|
|
13888
|
+
*
|
|
13889
|
+
* @type {string}
|
|
13890
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
13891
|
+
*/
|
|
13892
|
+
readonly id: string;
|
|
13893
|
+
/**
|
|
13894
|
+
*
|
|
13895
|
+
* @type {UpdateUserCreditsRequest}
|
|
13896
|
+
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
13897
|
+
*/
|
|
13898
|
+
readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
|
|
13899
|
+
}
|
|
13633
13900
|
/**
|
|
13634
13901
|
* ClubsStaffApi - object-oriented interface
|
|
13635
13902
|
* @export
|
|
@@ -13702,6 +13969,14 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
13702
13969
|
* @memberof ClubsStaffApi
|
|
13703
13970
|
*/
|
|
13704
13971
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
13972
|
+
/**
|
|
13973
|
+
*
|
|
13974
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
13975
|
+
* @param {*} [options] Override http request option.
|
|
13976
|
+
* @throws {RequiredError}
|
|
13977
|
+
* @memberof ClubsStaffApi
|
|
13978
|
+
*/
|
|
13979
|
+
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
13705
13980
|
}
|
|
13706
13981
|
/**
|
|
13707
13982
|
* DefaultApi - axios parameter creator
|
|
@@ -14363,12 +14638,45 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
|
|
|
14363
14638
|
* @throws {RequiredError}
|
|
14364
14639
|
*/
|
|
14365
14640
|
checkInEventParticipants: (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14641
|
+
/**
|
|
14642
|
+
* Get events for the day view (entire week)
|
|
14643
|
+
* @param {string} [clubId]
|
|
14644
|
+
* @param {string} [date]
|
|
14645
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
14646
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
14647
|
+
* @param {string} [sportId]
|
|
14648
|
+
* @param {*} [options] Override http request option.
|
|
14649
|
+
* @throws {RequiredError}
|
|
14650
|
+
*/
|
|
14651
|
+
getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14366
14652
|
/**
|
|
14367
14653
|
* Get all events for a club (staff only)
|
|
14368
14654
|
* @param {*} [options] Override http request option.
|
|
14369
14655
|
* @throws {RequiredError}
|
|
14370
14656
|
*/
|
|
14371
14657
|
getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14658
|
+
/**
|
|
14659
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14660
|
+
* @param {string} [clubId]
|
|
14661
|
+
* @param {string} [date]
|
|
14662
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
14663
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
14664
|
+
* @param {string} [sportId]
|
|
14665
|
+
* @param {*} [options] Override http request option.
|
|
14666
|
+
* @throws {RequiredError}
|
|
14667
|
+
*/
|
|
14668
|
+
getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14669
|
+
/**
|
|
14670
|
+
* Get events for the week view (30 day sliding window)
|
|
14671
|
+
* @param {string} [clubId]
|
|
14672
|
+
* @param {string} [date]
|
|
14673
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
14674
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
14675
|
+
* @param {string} [sportId]
|
|
14676
|
+
* @param {*} [options] Override http request option.
|
|
14677
|
+
* @throws {RequiredError}
|
|
14678
|
+
*/
|
|
14679
|
+
getWeeklyEvents: (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14372
14680
|
};
|
|
14373
14681
|
/**
|
|
14374
14682
|
* EventsStaffApi - functional programming interface
|
|
@@ -14383,12 +14691,45 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
|
|
|
14383
14691
|
* @throws {RequiredError}
|
|
14384
14692
|
*/
|
|
14385
14693
|
checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>>;
|
|
14694
|
+
/**
|
|
14695
|
+
* Get events for the day view (entire week)
|
|
14696
|
+
* @param {string} [clubId]
|
|
14697
|
+
* @param {string} [date]
|
|
14698
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
14699
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
14700
|
+
* @param {string} [sportId]
|
|
14701
|
+
* @param {*} [options] Override http request option.
|
|
14702
|
+
* @throws {RequiredError}
|
|
14703
|
+
*/
|
|
14704
|
+
getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14386
14705
|
/**
|
|
14387
14706
|
* Get all events for a club (staff only)
|
|
14388
14707
|
* @param {*} [options] Override http request option.
|
|
14389
14708
|
* @throws {RequiredError}
|
|
14390
14709
|
*/
|
|
14391
14710
|
getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14711
|
+
/**
|
|
14712
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14713
|
+
* @param {string} [clubId]
|
|
14714
|
+
* @param {string} [date]
|
|
14715
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
14716
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
14717
|
+
* @param {string} [sportId]
|
|
14718
|
+
* @param {*} [options] Override http request option.
|
|
14719
|
+
* @throws {RequiredError}
|
|
14720
|
+
*/
|
|
14721
|
+
getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14722
|
+
/**
|
|
14723
|
+
* Get events for the week view (30 day sliding window)
|
|
14724
|
+
* @param {string} [clubId]
|
|
14725
|
+
* @param {string} [date]
|
|
14726
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
14727
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
14728
|
+
* @param {string} [sportId]
|
|
14729
|
+
* @param {*} [options] Override http request option.
|
|
14730
|
+
* @throws {RequiredError}
|
|
14731
|
+
*/
|
|
14732
|
+
getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
|
|
14392
14733
|
};
|
|
14393
14734
|
/**
|
|
14394
14735
|
* EventsStaffApi - factory interface
|
|
@@ -14402,12 +14743,33 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
|
|
|
14402
14743
|
* @throws {RequiredError}
|
|
14403
14744
|
*/
|
|
14404
14745
|
checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response>;
|
|
14746
|
+
/**
|
|
14747
|
+
* Get events for the day view (entire week)
|
|
14748
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
14749
|
+
* @param {*} [options] Override http request option.
|
|
14750
|
+
* @throws {RequiredError}
|
|
14751
|
+
*/
|
|
14752
|
+
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14405
14753
|
/**
|
|
14406
14754
|
* Get all events for a club (staff only)
|
|
14407
14755
|
* @param {*} [options] Override http request option.
|
|
14408
14756
|
* @throws {RequiredError}
|
|
14409
14757
|
*/
|
|
14410
14758
|
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14759
|
+
/**
|
|
14760
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14761
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
14762
|
+
* @param {*} [options] Override http request option.
|
|
14763
|
+
* @throws {RequiredError}
|
|
14764
|
+
*/
|
|
14765
|
+
getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14766
|
+
/**
|
|
14767
|
+
* Get events for the week view (30 day sliding window)
|
|
14768
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
14769
|
+
* @param {*} [options] Override http request option.
|
|
14770
|
+
* @throws {RequiredError}
|
|
14771
|
+
*/
|
|
14772
|
+
getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
|
|
14411
14773
|
};
|
|
14412
14774
|
/**
|
|
14413
14775
|
* Request parameters for checkInEventParticipants operation in EventsStaffApi.
|
|
@@ -14428,6 +14790,117 @@ export interface EventsStaffApiCheckInEventParticipantsRequest {
|
|
|
14428
14790
|
*/
|
|
14429
14791
|
readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest;
|
|
14430
14792
|
}
|
|
14793
|
+
/**
|
|
14794
|
+
* Request parameters for getDailyEvents operation in EventsStaffApi.
|
|
14795
|
+
* @export
|
|
14796
|
+
* @interface EventsStaffApiGetDailyEventsRequest
|
|
14797
|
+
*/
|
|
14798
|
+
export interface EventsStaffApiGetDailyEventsRequest {
|
|
14799
|
+
/**
|
|
14800
|
+
*
|
|
14801
|
+
* @type {string}
|
|
14802
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14803
|
+
*/
|
|
14804
|
+
readonly clubId?: string;
|
|
14805
|
+
/**
|
|
14806
|
+
*
|
|
14807
|
+
* @type {string}
|
|
14808
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14809
|
+
*/
|
|
14810
|
+
readonly date?: string;
|
|
14811
|
+
/**
|
|
14812
|
+
*
|
|
14813
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14814
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14815
|
+
*/
|
|
14816
|
+
readonly visibilityType?: GetDailyEventsVisibilityTypeEnum;
|
|
14817
|
+
/**
|
|
14818
|
+
*
|
|
14819
|
+
* @type {'event' | 'closure'}
|
|
14820
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14821
|
+
*/
|
|
14822
|
+
readonly type?: GetDailyEventsTypeEnum;
|
|
14823
|
+
/**
|
|
14824
|
+
*
|
|
14825
|
+
* @type {string}
|
|
14826
|
+
* @memberof EventsStaffApiGetDailyEvents
|
|
14827
|
+
*/
|
|
14828
|
+
readonly sportId?: string;
|
|
14829
|
+
}
|
|
14830
|
+
/**
|
|
14831
|
+
* Request parameters for getMonthlyEvents operation in EventsStaffApi.
|
|
14832
|
+
* @export
|
|
14833
|
+
* @interface EventsStaffApiGetMonthlyEventsRequest
|
|
14834
|
+
*/
|
|
14835
|
+
export interface EventsStaffApiGetMonthlyEventsRequest {
|
|
14836
|
+
/**
|
|
14837
|
+
*
|
|
14838
|
+
* @type {string}
|
|
14839
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14840
|
+
*/
|
|
14841
|
+
readonly clubId?: string;
|
|
14842
|
+
/**
|
|
14843
|
+
*
|
|
14844
|
+
* @type {string}
|
|
14845
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14846
|
+
*/
|
|
14847
|
+
readonly date?: string;
|
|
14848
|
+
/**
|
|
14849
|
+
*
|
|
14850
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14851
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14852
|
+
*/
|
|
14853
|
+
readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum;
|
|
14854
|
+
/**
|
|
14855
|
+
*
|
|
14856
|
+
* @type {'event' | 'closure'}
|
|
14857
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14858
|
+
*/
|
|
14859
|
+
readonly type?: GetMonthlyEventsTypeEnum;
|
|
14860
|
+
/**
|
|
14861
|
+
*
|
|
14862
|
+
* @type {string}
|
|
14863
|
+
* @memberof EventsStaffApiGetMonthlyEvents
|
|
14864
|
+
*/
|
|
14865
|
+
readonly sportId?: string;
|
|
14866
|
+
}
|
|
14867
|
+
/**
|
|
14868
|
+
* Request parameters for getWeeklyEvents operation in EventsStaffApi.
|
|
14869
|
+
* @export
|
|
14870
|
+
* @interface EventsStaffApiGetWeeklyEventsRequest
|
|
14871
|
+
*/
|
|
14872
|
+
export interface EventsStaffApiGetWeeklyEventsRequest {
|
|
14873
|
+
/**
|
|
14874
|
+
*
|
|
14875
|
+
* @type {string}
|
|
14876
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14877
|
+
*/
|
|
14878
|
+
readonly clubId?: string;
|
|
14879
|
+
/**
|
|
14880
|
+
*
|
|
14881
|
+
* @type {string}
|
|
14882
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14883
|
+
*/
|
|
14884
|
+
readonly date?: string;
|
|
14885
|
+
/**
|
|
14886
|
+
*
|
|
14887
|
+
* @type {'public' | 'private' | 'invitation'}
|
|
14888
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14889
|
+
*/
|
|
14890
|
+
readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum;
|
|
14891
|
+
/**
|
|
14892
|
+
*
|
|
14893
|
+
* @type {'event' | 'closure'}
|
|
14894
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14895
|
+
*/
|
|
14896
|
+
readonly type?: GetWeeklyEventsTypeEnum;
|
|
14897
|
+
/**
|
|
14898
|
+
*
|
|
14899
|
+
* @type {string}
|
|
14900
|
+
* @memberof EventsStaffApiGetWeeklyEvents
|
|
14901
|
+
*/
|
|
14902
|
+
readonly sportId?: string;
|
|
14903
|
+
}
|
|
14431
14904
|
/**
|
|
14432
14905
|
* EventsStaffApi - object-oriented interface
|
|
14433
14906
|
* @export
|
|
@@ -14443,6 +14916,14 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
14443
14916
|
* @memberof EventsStaffApi
|
|
14444
14917
|
*/
|
|
14445
14918
|
checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInEventParticipants200Response, any, {}>>;
|
|
14919
|
+
/**
|
|
14920
|
+
* Get events for the day view (entire week)
|
|
14921
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
14922
|
+
* @param {*} [options] Override http request option.
|
|
14923
|
+
* @throws {RequiredError}
|
|
14924
|
+
* @memberof EventsStaffApi
|
|
14925
|
+
*/
|
|
14926
|
+
getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14446
14927
|
/**
|
|
14447
14928
|
* Get all events for a club (staff only)
|
|
14448
14929
|
* @param {*} [options] Override http request option.
|
|
@@ -14450,7 +14931,74 @@ export declare class EventsStaffApi extends BaseAPI {
|
|
|
14450
14931
|
* @memberof EventsStaffApi
|
|
14451
14932
|
*/
|
|
14452
14933
|
getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14934
|
+
/**
|
|
14935
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
14936
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
14937
|
+
* @param {*} [options] Override http request option.
|
|
14938
|
+
* @throws {RequiredError}
|
|
14939
|
+
* @memberof EventsStaffApi
|
|
14940
|
+
*/
|
|
14941
|
+
getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14942
|
+
/**
|
|
14943
|
+
* Get events for the week view (30 day sliding window)
|
|
14944
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
14945
|
+
* @param {*} [options] Override http request option.
|
|
14946
|
+
* @throws {RequiredError}
|
|
14947
|
+
* @memberof EventsStaffApi
|
|
14948
|
+
*/
|
|
14949
|
+
getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
|
|
14453
14950
|
}
|
|
14951
|
+
/**
|
|
14952
|
+
* @export
|
|
14953
|
+
*/
|
|
14954
|
+
export declare const GetDailyEventsVisibilityTypeEnum: {
|
|
14955
|
+
readonly Public: "public";
|
|
14956
|
+
readonly Private: "private";
|
|
14957
|
+
readonly Invitation: "invitation";
|
|
14958
|
+
};
|
|
14959
|
+
export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
|
|
14960
|
+
/**
|
|
14961
|
+
* @export
|
|
14962
|
+
*/
|
|
14963
|
+
export declare const GetDailyEventsTypeEnum: {
|
|
14964
|
+
readonly Event: "event";
|
|
14965
|
+
readonly Closure: "closure";
|
|
14966
|
+
};
|
|
14967
|
+
export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
|
|
14968
|
+
/**
|
|
14969
|
+
* @export
|
|
14970
|
+
*/
|
|
14971
|
+
export declare const GetMonthlyEventsVisibilityTypeEnum: {
|
|
14972
|
+
readonly Public: "public";
|
|
14973
|
+
readonly Private: "private";
|
|
14974
|
+
readonly Invitation: "invitation";
|
|
14975
|
+
};
|
|
14976
|
+
export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
|
|
14977
|
+
/**
|
|
14978
|
+
* @export
|
|
14979
|
+
*/
|
|
14980
|
+
export declare const GetMonthlyEventsTypeEnum: {
|
|
14981
|
+
readonly Event: "event";
|
|
14982
|
+
readonly Closure: "closure";
|
|
14983
|
+
};
|
|
14984
|
+
export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
|
|
14985
|
+
/**
|
|
14986
|
+
* @export
|
|
14987
|
+
*/
|
|
14988
|
+
export declare const GetWeeklyEventsVisibilityTypeEnum: {
|
|
14989
|
+
readonly Public: "public";
|
|
14990
|
+
readonly Private: "private";
|
|
14991
|
+
readonly Invitation: "invitation";
|
|
14992
|
+
};
|
|
14993
|
+
export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
|
|
14994
|
+
/**
|
|
14995
|
+
* @export
|
|
14996
|
+
*/
|
|
14997
|
+
export declare const GetWeeklyEventsTypeEnum: {
|
|
14998
|
+
readonly Event: "event";
|
|
14999
|
+
readonly Closure: "closure";
|
|
15000
|
+
};
|
|
15001
|
+
export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
|
|
14454
15002
|
/**
|
|
14455
15003
|
* SportsManagerApi - axios parameter creator
|
|
14456
15004
|
* @export
|