@tennac-booking/sdk 1.0.77 → 1.0.80
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 +13 -16
- package/README.md +16 -24
- package/api.ts +1247 -1401
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1030 -1036
- package/dist/api.js +189 -403
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1030 -1036
- package/dist/esm/api.js +182 -400
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingClubInfo.md +28 -0
- package/docs/{SetupPaymentMethodRequestBody.md → BookingCourtInfo.md} +7 -5
- package/docs/BookingDetailResponse.md +53 -1
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPaymentStatus.md +24 -0
- package/docs/BookingPlayerPaymentSummary.md +34 -0
- package/docs/BookingPopulated.md +2 -0
- package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
- package/docs/BookingResponse.md +2 -0
- package/docs/BookingSlotInfo.md +30 -0
- package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
- package/docs/BookingSummary.md +53 -1
- package/docs/BookingsApi.md +55 -0
- package/docs/ClubAnalyticsStaffApi.md +0 -167
- package/docs/ClubResponse.md +8 -0
- package/docs/ClubSettingsResponse.md +0 -2
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +0 -2
- package/docs/IUserAttributes.md +2 -12
- package/docs/InvoiceStatus.md +22 -0
- package/docs/PartialClubResponse.md +8 -0
- package/docs/PlayerPrice.md +30 -0
- package/docs/{ConfirmPaymentMethodResponse.md → QuickReservationClubSport.md} +7 -7
- package/docs/QuickReservationClubSummary.md +4 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/SportsPublicApi.md +53 -0
- package/docs/StaffUserProfileResponse.md +2 -12
- package/docs/SubscribeRequestBody.md +2 -0
- package/docs/SubscriptionInfo.md +24 -0
- package/docs/UserBookingsResponse.md +28 -0
- package/docs/UserProfileResponse.md +4 -12
- package/docs/UsersApi.md +2 -158
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ClubPlayerBookingItem.md +0 -36
- package/docs/ClubPlayerBookingsResponse.md +0 -22
- package/docs/ClubPlayerDetailResponse.md +0 -46
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponse.md +0 -42
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
- package/docs/ClubPlayerSubscriptionSummary.md +0 -28
- package/docs/PaymentMethodSetupResponse.md +0 -24
- package/docs/SetupPaymentMethodResponse.md +0 -24
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.75
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -92,19 +92,6 @@ export interface AddOrganizationRequest {
|
|
|
92
92
|
*/
|
|
93
93
|
'organizationId'?: string;
|
|
94
94
|
}
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @export
|
|
98
|
-
* @interface AddPaymentMethodRequestBody
|
|
99
|
-
*/
|
|
100
|
-
export interface AddPaymentMethodRequestBody {
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof AddPaymentMethodRequestBody
|
|
105
|
-
*/
|
|
106
|
-
'paymentMethodId': string;
|
|
107
|
-
}
|
|
108
95
|
/**
|
|
109
96
|
*
|
|
110
97
|
* @export
|
|
@@ -160,6 +147,62 @@ export interface BookingAnalyticsResponse {
|
|
|
160
147
|
*/
|
|
161
148
|
'paymentByPlayersStatus': Array<any>;
|
|
162
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @export
|
|
153
|
+
* @interface BookingClubInfo
|
|
154
|
+
*/
|
|
155
|
+
export interface BookingClubInfo {
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof BookingClubInfo
|
|
160
|
+
*/
|
|
161
|
+
'id': string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof BookingClubInfo
|
|
166
|
+
*/
|
|
167
|
+
'name'?: string | null;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof BookingClubInfo
|
|
172
|
+
*/
|
|
173
|
+
'picture'?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof BookingClubInfo
|
|
178
|
+
*/
|
|
179
|
+
'address'?: string | null;
|
|
180
|
+
/**
|
|
181
|
+
* Construct a type with a set of properties K of type T
|
|
182
|
+
* @type {{ [key: string]: any; }}
|
|
183
|
+
* @memberof BookingClubInfo
|
|
184
|
+
*/
|
|
185
|
+
'location'?: { [key: string]: any; } | null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @export
|
|
190
|
+
* @interface BookingCourtInfo
|
|
191
|
+
*/
|
|
192
|
+
export interface BookingCourtInfo {
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof BookingCourtInfo
|
|
197
|
+
*/
|
|
198
|
+
'id'?: string | null;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof BookingCourtInfo
|
|
203
|
+
*/
|
|
204
|
+
'name'?: string | null;
|
|
205
|
+
}
|
|
163
206
|
/**
|
|
164
207
|
*
|
|
165
208
|
* @export
|
|
@@ -172,6 +215,132 @@ export interface BookingDetailResponse {
|
|
|
172
215
|
* @memberof BookingDetailResponse
|
|
173
216
|
*/
|
|
174
217
|
'id': string;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof BookingDetailResponse
|
|
222
|
+
*/
|
|
223
|
+
'clubId': string;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof BookingDetailResponse
|
|
228
|
+
*/
|
|
229
|
+
'userId': string;
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @type {Array<string>}
|
|
233
|
+
* @memberof BookingDetailResponse
|
|
234
|
+
*/
|
|
235
|
+
'playersIds': Array<string>;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {BookingStatus}
|
|
239
|
+
* @memberof BookingDetailResponse
|
|
240
|
+
*/
|
|
241
|
+
'status': BookingStatus;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {Array<BookingPaymentStatus>}
|
|
245
|
+
* @memberof BookingDetailResponse
|
|
246
|
+
*/
|
|
247
|
+
'paymentByPlayersStatus': Array<BookingPaymentStatus>;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {boolean}
|
|
251
|
+
* @memberof BookingDetailResponse
|
|
252
|
+
*/
|
|
253
|
+
'isCreatorPayingAll': boolean;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {number}
|
|
257
|
+
* @memberof BookingDetailResponse
|
|
258
|
+
*/
|
|
259
|
+
'totalPrice': number;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {Array<string>}
|
|
263
|
+
* @memberof BookingDetailResponse
|
|
264
|
+
*/
|
|
265
|
+
'slotIds': Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {boolean}
|
|
269
|
+
* @memberof BookingDetailResponse
|
|
270
|
+
*/
|
|
271
|
+
'isPublic': boolean;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {string}
|
|
275
|
+
* @memberof BookingDetailResponse
|
|
276
|
+
*/
|
|
277
|
+
'creatorPaymentMethodId'?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {boolean}
|
|
281
|
+
* @memberof BookingDetailResponse
|
|
282
|
+
*/
|
|
283
|
+
'paymentMethodSetupCompleted': boolean;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {number}
|
|
287
|
+
* @memberof BookingDetailResponse
|
|
288
|
+
*/
|
|
289
|
+
'noShowChargeAmount'?: number | null;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {boolean}
|
|
293
|
+
* @memberof BookingDetailResponse
|
|
294
|
+
*/
|
|
295
|
+
'noShowChargeApplied'?: boolean;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof BookingDetailResponse
|
|
300
|
+
*/
|
|
301
|
+
'noShowChargeIntentId'?: string | null;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof BookingDetailResponse
|
|
306
|
+
*/
|
|
307
|
+
'cancellationReason'?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @type {string}
|
|
311
|
+
* @memberof BookingDetailResponse
|
|
312
|
+
*/
|
|
313
|
+
'cancelledBy'?: string | null;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof BookingDetailResponse
|
|
318
|
+
*/
|
|
319
|
+
'cancelledAt'?: string | null;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {boolean}
|
|
323
|
+
* @memberof BookingDetailResponse
|
|
324
|
+
*/
|
|
325
|
+
'cancelledByManager'?: boolean;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof BookingDetailResponse
|
|
330
|
+
*/
|
|
331
|
+
'createdAt': string | null;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof BookingDetailResponse
|
|
336
|
+
*/
|
|
337
|
+
'updatedAt': string | null;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {number}
|
|
341
|
+
* @memberof BookingDetailResponse
|
|
342
|
+
*/
|
|
343
|
+
'playersCount'?: number | null;
|
|
175
344
|
/**
|
|
176
345
|
*
|
|
177
346
|
* @type {string}
|
|
@@ -198,10 +367,10 @@ export interface BookingDetailResponse {
|
|
|
198
367
|
'startDate'?: string;
|
|
199
368
|
/**
|
|
200
369
|
*
|
|
201
|
-
* @type {
|
|
370
|
+
* @type {InvoiceStatus}
|
|
202
371
|
* @memberof BookingDetailResponse
|
|
203
372
|
*/
|
|
204
|
-
'myPaymentStatus'?:
|
|
373
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
205
374
|
/**
|
|
206
375
|
*
|
|
207
376
|
* @type {string}
|
|
@@ -244,6 +413,36 @@ export interface BookingDetailResponse {
|
|
|
244
413
|
* @memberof BookingDetailResponse
|
|
245
414
|
*/
|
|
246
415
|
'bookingHistory'?: BookingHistoryPopulated;
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {BookingClubInfo}
|
|
419
|
+
* @memberof BookingDetailResponse
|
|
420
|
+
*/
|
|
421
|
+
'club'?: BookingClubInfo | null;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {Array<BookingSlotInfo>}
|
|
425
|
+
* @memberof BookingDetailResponse
|
|
426
|
+
*/
|
|
427
|
+
'slots': Array<BookingSlotInfo>;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {BookingCourtInfo}
|
|
431
|
+
* @memberof BookingDetailResponse
|
|
432
|
+
*/
|
|
433
|
+
'court'?: BookingCourtInfo | null;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {BookingSportInfo}
|
|
437
|
+
* @memberof BookingDetailResponse
|
|
438
|
+
*/
|
|
439
|
+
'sport'?: BookingSportInfo | null;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {Array<BookingPlayerPaymentSummary>}
|
|
443
|
+
* @memberof BookingDetailResponse
|
|
444
|
+
*/
|
|
445
|
+
'players': Array<BookingPlayerPaymentSummary>;
|
|
247
446
|
/**
|
|
248
447
|
*
|
|
249
448
|
* @type {Array<{ [key: string]: any; }>}
|
|
@@ -251,6 +450,8 @@ export interface BookingDetailResponse {
|
|
|
251
450
|
*/
|
|
252
451
|
'paymentStatus': Array<{ [key: string]: any; }>;
|
|
253
452
|
}
|
|
453
|
+
|
|
454
|
+
|
|
254
455
|
/**
|
|
255
456
|
*
|
|
256
457
|
* @export
|
|
@@ -359,10 +560,10 @@ export interface BookingInfo {
|
|
|
359
560
|
'totalPrice': number;
|
|
360
561
|
/**
|
|
361
562
|
* ID du créneau
|
|
362
|
-
* @type {string}
|
|
563
|
+
* @type {Array<string>}
|
|
363
564
|
* @memberof BookingInfo
|
|
364
565
|
*/
|
|
365
|
-
'
|
|
566
|
+
'slotIds': Array<string>;
|
|
366
567
|
/**
|
|
367
568
|
* Indique si le créateur paie pour tous
|
|
368
569
|
* @type {boolean}
|
|
@@ -420,6 +621,33 @@ export interface BookingInfo {
|
|
|
420
621
|
}
|
|
421
622
|
|
|
422
623
|
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @export
|
|
627
|
+
* @interface BookingPaymentStatus
|
|
628
|
+
*/
|
|
629
|
+
export interface BookingPaymentStatus {
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @memberof BookingPaymentStatus
|
|
634
|
+
*/
|
|
635
|
+
'playerId': string;
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {string}
|
|
639
|
+
* @memberof BookingPaymentStatus
|
|
640
|
+
*/
|
|
641
|
+
'invoiceId'?: string | null;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {InvoiceStatus}
|
|
645
|
+
* @memberof BookingPaymentStatus
|
|
646
|
+
*/
|
|
647
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
|
|
423
651
|
/**
|
|
424
652
|
*
|
|
425
653
|
* @export
|
|
@@ -515,6 +743,63 @@ export interface BookingPaymentStatusResponseSummary {
|
|
|
515
743
|
*/
|
|
516
744
|
'totalPlayers': number;
|
|
517
745
|
}
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @export
|
|
749
|
+
* @interface BookingPlayerPaymentSummary
|
|
750
|
+
*/
|
|
751
|
+
export interface BookingPlayerPaymentSummary {
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof BookingPlayerPaymentSummary
|
|
756
|
+
*/
|
|
757
|
+
'id': string;
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @type {string}
|
|
761
|
+
* @memberof BookingPlayerPaymentSummary
|
|
762
|
+
*/
|
|
763
|
+
'firstName'?: string | null;
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @type {string}
|
|
767
|
+
* @memberof BookingPlayerPaymentSummary
|
|
768
|
+
*/
|
|
769
|
+
'lastName'?: string | null;
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {string}
|
|
773
|
+
* @memberof BookingPlayerPaymentSummary
|
|
774
|
+
*/
|
|
775
|
+
'profilePicture'?: string | null;
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @type {number}
|
|
779
|
+
* @memberof BookingPlayerPaymentSummary
|
|
780
|
+
*/
|
|
781
|
+
'amountToPay': number;
|
|
782
|
+
/**
|
|
783
|
+
*
|
|
784
|
+
* @type {string}
|
|
785
|
+
* @memberof BookingPlayerPaymentSummary
|
|
786
|
+
*/
|
|
787
|
+
'invoiceId'?: string | null;
|
|
788
|
+
/**
|
|
789
|
+
*
|
|
790
|
+
* @type {InvoiceStatus}
|
|
791
|
+
* @memberof BookingPlayerPaymentSummary
|
|
792
|
+
*/
|
|
793
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @type {boolean}
|
|
797
|
+
* @memberof BookingPlayerPaymentSummary
|
|
798
|
+
*/
|
|
799
|
+
'isCreator': boolean;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
|
|
518
803
|
/**
|
|
519
804
|
*
|
|
520
805
|
* @export
|
|
@@ -575,6 +860,12 @@ export interface BookingPopulated {
|
|
|
575
860
|
* @memberof BookingPopulated
|
|
576
861
|
*/
|
|
577
862
|
'isCreatorPayingAll': boolean;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @type {Array<string>}
|
|
866
|
+
* @memberof BookingPopulated
|
|
867
|
+
*/
|
|
868
|
+
'playersIds': Array<string>;
|
|
578
869
|
/**
|
|
579
870
|
*
|
|
580
871
|
* @type {Array<BookingHistoryPopulated>}
|
|
@@ -611,12 +902,31 @@ export interface BookingPopulated {
|
|
|
611
902
|
/**
|
|
612
903
|
*
|
|
613
904
|
* @export
|
|
614
|
-
* @interface
|
|
905
|
+
* @interface BookingPriceBody
|
|
615
906
|
*/
|
|
616
|
-
export interface
|
|
907
|
+
export interface BookingPriceBody {
|
|
617
908
|
/**
|
|
618
909
|
*
|
|
619
|
-
* @type {
|
|
910
|
+
* @type {Array<string>}
|
|
911
|
+
* @memberof BookingPriceBody
|
|
912
|
+
*/
|
|
913
|
+
'slotIds': Array<string>;
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @type {Array<string>}
|
|
917
|
+
* @memberof BookingPriceBody
|
|
918
|
+
*/
|
|
919
|
+
'players': Array<string>;
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
*
|
|
923
|
+
* @export
|
|
924
|
+
* @interface BookingResponse
|
|
925
|
+
*/
|
|
926
|
+
export interface BookingResponse {
|
|
927
|
+
/**
|
|
928
|
+
*
|
|
929
|
+
* @type {BookingInfo}
|
|
620
930
|
* @memberof BookingResponse
|
|
621
931
|
*/
|
|
622
932
|
'booking'?: BookingInfo;
|
|
@@ -638,6 +948,12 @@ export interface BookingResponse {
|
|
|
638
948
|
* @memberof BookingResponse
|
|
639
949
|
*/
|
|
640
950
|
'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
|
|
951
|
+
/**
|
|
952
|
+
*
|
|
953
|
+
* @type {string}
|
|
954
|
+
* @memberof BookingResponse
|
|
955
|
+
*/
|
|
956
|
+
'setupNoShowPaymentUrl'?: string;
|
|
641
957
|
/**
|
|
642
958
|
* Message de confirmation
|
|
643
959
|
* @type {string}
|
|
@@ -664,6 +980,68 @@ export interface BookingResponseOnsitePaymentsInner {
|
|
|
664
980
|
*/
|
|
665
981
|
'playerId': string;
|
|
666
982
|
}
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @export
|
|
986
|
+
* @interface BookingSlotInfo
|
|
987
|
+
*/
|
|
988
|
+
export interface BookingSlotInfo {
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {string}
|
|
992
|
+
* @memberof BookingSlotInfo
|
|
993
|
+
*/
|
|
994
|
+
'id': string;
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof BookingSlotInfo
|
|
999
|
+
*/
|
|
1000
|
+
'startDate'?: string | null;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof BookingSlotInfo
|
|
1005
|
+
*/
|
|
1006
|
+
'endDate'?: string | null;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {number}
|
|
1010
|
+
* @memberof BookingSlotInfo
|
|
1011
|
+
*/
|
|
1012
|
+
'durationMinutes'?: number | null;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @type {BookingCourtInfo}
|
|
1016
|
+
* @memberof BookingSlotInfo
|
|
1017
|
+
*/
|
|
1018
|
+
'court'?: BookingCourtInfo | null;
|
|
1019
|
+
/**
|
|
1020
|
+
*
|
|
1021
|
+
* @type {BookingSportInfo}
|
|
1022
|
+
* @memberof BookingSlotInfo
|
|
1023
|
+
*/
|
|
1024
|
+
'sport'?: BookingSportInfo | null;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @export
|
|
1029
|
+
* @interface BookingSportInfo
|
|
1030
|
+
*/
|
|
1031
|
+
export interface BookingSportInfo {
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @type {string}
|
|
1035
|
+
* @memberof BookingSportInfo
|
|
1036
|
+
*/
|
|
1037
|
+
'id'?: string | null;
|
|
1038
|
+
/**
|
|
1039
|
+
*
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof BookingSportInfo
|
|
1042
|
+
*/
|
|
1043
|
+
'key'?: string | null;
|
|
1044
|
+
}
|
|
667
1045
|
/**
|
|
668
1046
|
*
|
|
669
1047
|
* @export
|
|
@@ -695,6 +1073,132 @@ export interface BookingSummary {
|
|
|
695
1073
|
* @memberof BookingSummary
|
|
696
1074
|
*/
|
|
697
1075
|
'id': string;
|
|
1076
|
+
/**
|
|
1077
|
+
*
|
|
1078
|
+
* @type {string}
|
|
1079
|
+
* @memberof BookingSummary
|
|
1080
|
+
*/
|
|
1081
|
+
'clubId': string;
|
|
1082
|
+
/**
|
|
1083
|
+
*
|
|
1084
|
+
* @type {string}
|
|
1085
|
+
* @memberof BookingSummary
|
|
1086
|
+
*/
|
|
1087
|
+
'userId': string;
|
|
1088
|
+
/**
|
|
1089
|
+
*
|
|
1090
|
+
* @type {Array<string>}
|
|
1091
|
+
* @memberof BookingSummary
|
|
1092
|
+
*/
|
|
1093
|
+
'playersIds': Array<string>;
|
|
1094
|
+
/**
|
|
1095
|
+
*
|
|
1096
|
+
* @type {BookingStatus}
|
|
1097
|
+
* @memberof BookingSummary
|
|
1098
|
+
*/
|
|
1099
|
+
'status': BookingStatus;
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @type {Array<BookingPaymentStatus>}
|
|
1103
|
+
* @memberof BookingSummary
|
|
1104
|
+
*/
|
|
1105
|
+
'paymentByPlayersStatus': Array<BookingPaymentStatus>;
|
|
1106
|
+
/**
|
|
1107
|
+
*
|
|
1108
|
+
* @type {boolean}
|
|
1109
|
+
* @memberof BookingSummary
|
|
1110
|
+
*/
|
|
1111
|
+
'isCreatorPayingAll': boolean;
|
|
1112
|
+
/**
|
|
1113
|
+
*
|
|
1114
|
+
* @type {number}
|
|
1115
|
+
* @memberof BookingSummary
|
|
1116
|
+
*/
|
|
1117
|
+
'totalPrice': number;
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @type {Array<string>}
|
|
1121
|
+
* @memberof BookingSummary
|
|
1122
|
+
*/
|
|
1123
|
+
'slotIds': Array<string>;
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {boolean}
|
|
1127
|
+
* @memberof BookingSummary
|
|
1128
|
+
*/
|
|
1129
|
+
'isPublic': boolean;
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* @type {string}
|
|
1133
|
+
* @memberof BookingSummary
|
|
1134
|
+
*/
|
|
1135
|
+
'creatorPaymentMethodId'?: string | null;
|
|
1136
|
+
/**
|
|
1137
|
+
*
|
|
1138
|
+
* @type {boolean}
|
|
1139
|
+
* @memberof BookingSummary
|
|
1140
|
+
*/
|
|
1141
|
+
'paymentMethodSetupCompleted': boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @type {number}
|
|
1145
|
+
* @memberof BookingSummary
|
|
1146
|
+
*/
|
|
1147
|
+
'noShowChargeAmount'?: number | null;
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @type {boolean}
|
|
1151
|
+
* @memberof BookingSummary
|
|
1152
|
+
*/
|
|
1153
|
+
'noShowChargeApplied'?: boolean;
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {string}
|
|
1157
|
+
* @memberof BookingSummary
|
|
1158
|
+
*/
|
|
1159
|
+
'noShowChargeIntentId'?: string | null;
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @type {string}
|
|
1163
|
+
* @memberof BookingSummary
|
|
1164
|
+
*/
|
|
1165
|
+
'cancellationReason'?: string | null;
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @type {string}
|
|
1169
|
+
* @memberof BookingSummary
|
|
1170
|
+
*/
|
|
1171
|
+
'cancelledBy'?: string | null;
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @type {string}
|
|
1175
|
+
* @memberof BookingSummary
|
|
1176
|
+
*/
|
|
1177
|
+
'cancelledAt'?: string | null;
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @type {boolean}
|
|
1181
|
+
* @memberof BookingSummary
|
|
1182
|
+
*/
|
|
1183
|
+
'cancelledByManager'?: boolean;
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @type {string}
|
|
1187
|
+
* @memberof BookingSummary
|
|
1188
|
+
*/
|
|
1189
|
+
'createdAt': string | null;
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @type {string}
|
|
1193
|
+
* @memberof BookingSummary
|
|
1194
|
+
*/
|
|
1195
|
+
'updatedAt': string | null;
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @type {number}
|
|
1199
|
+
* @memberof BookingSummary
|
|
1200
|
+
*/
|
|
1201
|
+
'playersCount'?: number | null;
|
|
698
1202
|
/**
|
|
699
1203
|
*
|
|
700
1204
|
* @type {string}
|
|
@@ -721,10 +1225,10 @@ export interface BookingSummary {
|
|
|
721
1225
|
'startDate'?: string;
|
|
722
1226
|
/**
|
|
723
1227
|
*
|
|
724
|
-
* @type {
|
|
1228
|
+
* @type {InvoiceStatus}
|
|
725
1229
|
* @memberof BookingSummary
|
|
726
1230
|
*/
|
|
727
|
-
'myPaymentStatus'?:
|
|
1231
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
728
1232
|
/**
|
|
729
1233
|
*
|
|
730
1234
|
* @type {string}
|
|
@@ -767,7 +1271,39 @@ export interface BookingSummary {
|
|
|
767
1271
|
* @memberof BookingSummary
|
|
768
1272
|
*/
|
|
769
1273
|
'bookingHistory'?: BookingHistoryPopulated;
|
|
1274
|
+
/**
|
|
1275
|
+
*
|
|
1276
|
+
* @type {BookingClubInfo}
|
|
1277
|
+
* @memberof BookingSummary
|
|
1278
|
+
*/
|
|
1279
|
+
'club'?: BookingClubInfo | null;
|
|
1280
|
+
/**
|
|
1281
|
+
*
|
|
1282
|
+
* @type {Array<BookingSlotInfo>}
|
|
1283
|
+
* @memberof BookingSummary
|
|
1284
|
+
*/
|
|
1285
|
+
'slots': Array<BookingSlotInfo>;
|
|
1286
|
+
/**
|
|
1287
|
+
*
|
|
1288
|
+
* @type {BookingCourtInfo}
|
|
1289
|
+
* @memberof BookingSummary
|
|
1290
|
+
*/
|
|
1291
|
+
'court'?: BookingCourtInfo | null;
|
|
1292
|
+
/**
|
|
1293
|
+
*
|
|
1294
|
+
* @type {BookingSportInfo}
|
|
1295
|
+
* @memberof BookingSummary
|
|
1296
|
+
*/
|
|
1297
|
+
'sport'?: BookingSportInfo | null;
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @type {Array<BookingPlayerPaymentSummary>}
|
|
1301
|
+
* @memberof BookingSummary
|
|
1302
|
+
*/
|
|
1303
|
+
'players': Array<BookingPlayerPaymentSummary>;
|
|
770
1304
|
}
|
|
1305
|
+
|
|
1306
|
+
|
|
771
1307
|
/**
|
|
772
1308
|
*
|
|
773
1309
|
* @export
|
|
@@ -875,619 +1411,219 @@ export interface ChangePasswordRequestBody {
|
|
|
875
1411
|
* @export
|
|
876
1412
|
* @interface ChangePasswordResponse
|
|
877
1413
|
*/
|
|
878
|
-
export interface ChangePasswordResponse {
|
|
879
|
-
/**
|
|
880
|
-
*
|
|
881
|
-
* @type {string}
|
|
882
|
-
* @memberof ChangePasswordResponse
|
|
883
|
-
*/
|
|
884
|
-
'message': string;
|
|
885
|
-
}
|
|
886
|
-
/**
|
|
887
|
-
*
|
|
888
|
-
* @export
|
|
889
|
-
* @interface CheckInPlayersRequest
|
|
890
|
-
*/
|
|
891
|
-
export interface CheckInPlayersRequest {
|
|
892
|
-
/**
|
|
893
|
-
* Liste des IDs des joueurs qui ont payé/sont arrivés
|
|
894
|
-
* @type {Array<string>}
|
|
895
|
-
* @memberof CheckInPlayersRequest
|
|
896
|
-
*/
|
|
897
|
-
'playerIds': Array<string>;
|
|
898
|
-
}
|
|
899
|
-
/**
|
|
900
|
-
*
|
|
901
|
-
* @export
|
|
902
|
-
* @interface CheckInPlayersResponse
|
|
903
|
-
*/
|
|
904
|
-
export interface CheckInPlayersResponse {
|
|
905
|
-
/**
|
|
906
|
-
* Message de confirmation
|
|
907
|
-
* @type {string}
|
|
908
|
-
* @memberof CheckInPlayersResponse
|
|
909
|
-
*/
|
|
910
|
-
'message': string;
|
|
911
|
-
/**
|
|
912
|
-
* Joueurs ayant effectué le check-in
|
|
913
|
-
* @type {Array<CheckedInPlayer>}
|
|
914
|
-
* @memberof CheckInPlayersResponse
|
|
915
|
-
*/
|
|
916
|
-
'invoices': Array<CheckedInPlayer>;
|
|
917
|
-
}
|
|
918
|
-
/**
|
|
919
|
-
*
|
|
920
|
-
* @export
|
|
921
|
-
* @interface CheckedInPlayer
|
|
922
|
-
*/
|
|
923
|
-
export interface CheckedInPlayer {
|
|
924
|
-
/**
|
|
925
|
-
* ID du joueur
|
|
926
|
-
* @type {string}
|
|
927
|
-
* @memberof CheckedInPlayer
|
|
928
|
-
*/
|
|
929
|
-
'playerId': string;
|
|
930
|
-
/**
|
|
931
|
-
* ID de la facture
|
|
932
|
-
* @type {string}
|
|
933
|
-
* @memberof CheckedInPlayer
|
|
934
|
-
*/
|
|
935
|
-
'invoiceId': string;
|
|
936
|
-
/**
|
|
937
|
-
* Montant payé
|
|
938
|
-
* @type {number}
|
|
939
|
-
* @memberof CheckedInPlayer
|
|
940
|
-
*/
|
|
941
|
-
'amount': number;
|
|
942
|
-
/**
|
|
943
|
-
* Statut précédent (optionnel)
|
|
944
|
-
* @type {string}
|
|
945
|
-
* @memberof CheckedInPlayer
|
|
946
|
-
*/
|
|
947
|
-
'previousStatus'?: string;
|
|
948
|
-
/**
|
|
949
|
-
* Nouveau statut (optionnel)
|
|
950
|
-
* @type {string}
|
|
951
|
-
* @memberof CheckedInPlayer
|
|
952
|
-
*/
|
|
953
|
-
'newStatus'?: string;
|
|
954
|
-
/**
|
|
955
|
-
* Statut actuel
|
|
956
|
-
* @type {string}
|
|
957
|
-
* @memberof CheckedInPlayer
|
|
958
|
-
*/
|
|
959
|
-
'status'?: string;
|
|
960
|
-
/**
|
|
961
|
-
*
|
|
962
|
-
* @type {PaymentMethod}
|
|
963
|
-
* @memberof CheckedInPlayer
|
|
964
|
-
*/
|
|
965
|
-
'paymentMethod'?: PaymentMethod;
|
|
966
|
-
/**
|
|
967
|
-
* Note additionnelle
|
|
968
|
-
* @type {string}
|
|
969
|
-
* @memberof CheckedInPlayer
|
|
970
|
-
*/
|
|
971
|
-
'note'?: string;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
*
|
|
977
|
-
* @export
|
|
978
|
-
* @interface ClubMemberResponse
|
|
979
|
-
*/
|
|
980
|
-
export interface ClubMemberResponse {
|
|
981
|
-
/**
|
|
982
|
-
*
|
|
983
|
-
* @type {ClubMemberResponseUser}
|
|
984
|
-
* @memberof ClubMemberResponse
|
|
985
|
-
*/
|
|
986
|
-
'user': ClubMemberResponseUser;
|
|
987
|
-
/**
|
|
988
|
-
* Rôle du membre dans le club
|
|
989
|
-
* @type {string}
|
|
990
|
-
* @memberof ClubMemberResponse
|
|
991
|
-
*/
|
|
992
|
-
'role': string;
|
|
993
|
-
/**
|
|
994
|
-
* Droits du membre dans le club
|
|
995
|
-
* @type {Array<string>}
|
|
996
|
-
* @memberof ClubMemberResponse
|
|
997
|
-
*/
|
|
998
|
-
'rights': Array<string>;
|
|
999
|
-
}
|
|
1000
|
-
/**
|
|
1001
|
-
* Utilisateur (membre)
|
|
1002
|
-
* @export
|
|
1003
|
-
* @interface ClubMemberResponseUser
|
|
1004
|
-
*/
|
|
1005
|
-
export interface ClubMemberResponseUser {
|
|
1006
|
-
/**
|
|
1007
|
-
*
|
|
1008
|
-
* @type {string}
|
|
1009
|
-
* @memberof ClubMemberResponseUser
|
|
1010
|
-
*/
|
|
1011
|
-
'email': string;
|
|
1012
|
-
/**
|
|
1013
|
-
*
|
|
1014
|
-
* @type {string}
|
|
1015
|
-
* @memberof ClubMemberResponseUser
|
|
1016
|
-
*/
|
|
1017
|
-
'lastName': string;
|
|
1018
|
-
/**
|
|
1019
|
-
*
|
|
1020
|
-
* @type {string}
|
|
1021
|
-
* @memberof ClubMemberResponseUser
|
|
1022
|
-
*/
|
|
1023
|
-
'firstName': string;
|
|
1024
|
-
/**
|
|
1025
|
-
*
|
|
1026
|
-
* @type {string}
|
|
1027
|
-
* @memberof ClubMemberResponseUser
|
|
1028
|
-
*/
|
|
1029
|
-
'id': string;
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
*
|
|
1033
|
-
* @export
|
|
1034
|
-
* @interface ClubPlayerBookingItem
|
|
1035
|
-
*/
|
|
1036
|
-
export interface ClubPlayerBookingItem {
|
|
1037
|
-
/**
|
|
1038
|
-
* ID de la réservation
|
|
1039
|
-
* @type {string}
|
|
1040
|
-
* @memberof ClubPlayerBookingItem
|
|
1041
|
-
*/
|
|
1042
|
-
'id': string;
|
|
1043
|
-
/**
|
|
1044
|
-
* Date de début de la réservation
|
|
1045
|
-
* @type {string}
|
|
1046
|
-
* @memberof ClubPlayerBookingItem
|
|
1047
|
-
*/
|
|
1048
|
-
'startDate': string | null;
|
|
1049
|
-
/**
|
|
1050
|
-
* Date de fin de la réservation
|
|
1051
|
-
* @type {string}
|
|
1052
|
-
* @memberof ClubPlayerBookingItem
|
|
1053
|
-
*/
|
|
1054
|
-
'endDate': string | null;
|
|
1055
|
-
/**
|
|
1056
|
-
* Nom du terrain ou emplacement
|
|
1057
|
-
* @type {string}
|
|
1058
|
-
* @memberof ClubPlayerBookingItem
|
|
1059
|
-
*/
|
|
1060
|
-
'location': string | null;
|
|
1061
|
-
/**
|
|
1062
|
-
* Nom du sport associé
|
|
1063
|
-
* @type {string}
|
|
1064
|
-
* @memberof ClubPlayerBookingItem
|
|
1065
|
-
*/
|
|
1066
|
-
'sport': string | null;
|
|
1067
|
-
/**
|
|
1068
|
-
* Statut de la réservation
|
|
1069
|
-
* @type {string}
|
|
1070
|
-
* @memberof ClubPlayerBookingItem
|
|
1071
|
-
*/
|
|
1072
|
-
'status': string;
|
|
1073
|
-
/**
|
|
1074
|
-
* Prix total de la réservation en centimes
|
|
1075
|
-
* @type {number}
|
|
1076
|
-
* @memberof ClubPlayerBookingItem
|
|
1077
|
-
*/
|
|
1078
|
-
'totalPrice': number;
|
|
1079
|
-
/**
|
|
1080
|
-
* Indique si le joueur est le créateur de la réservation
|
|
1081
|
-
* @type {boolean}
|
|
1082
|
-
* @memberof ClubPlayerBookingItem
|
|
1083
|
-
*/
|
|
1084
|
-
'isCreator': boolean;
|
|
1085
|
-
/**
|
|
1086
|
-
* Nombre total de participants
|
|
1087
|
-
* @type {number}
|
|
1088
|
-
* @memberof ClubPlayerBookingItem
|
|
1089
|
-
*/
|
|
1090
|
-
'participantsCount': number;
|
|
1091
|
-
}
|
|
1092
|
-
/**
|
|
1093
|
-
*
|
|
1094
|
-
* @export
|
|
1095
|
-
* @interface ClubPlayerBookingsResponse
|
|
1096
|
-
*/
|
|
1097
|
-
export interface ClubPlayerBookingsResponse {
|
|
1098
|
-
/**
|
|
1099
|
-
* Réservations à venir
|
|
1100
|
-
* @type {Array<ClubPlayerBookingItem>}
|
|
1101
|
-
* @memberof ClubPlayerBookingsResponse
|
|
1102
|
-
*/
|
|
1103
|
-
'upcomingBookings': Array<ClubPlayerBookingItem>;
|
|
1104
|
-
/**
|
|
1105
|
-
* Réservations passées
|
|
1106
|
-
* @type {Array<ClubPlayerBookingItem>}
|
|
1107
|
-
* @memberof ClubPlayerBookingsResponse
|
|
1108
|
-
*/
|
|
1109
|
-
'pastBookings': Array<ClubPlayerBookingItem>;
|
|
1110
|
-
}
|
|
1111
|
-
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @export
|
|
1114
|
-
* @interface ClubPlayerDetailResponse
|
|
1115
|
-
*/
|
|
1116
|
-
export interface ClubPlayerDetailResponse {
|
|
1117
|
-
/**
|
|
1118
|
-
* ID du joueur
|
|
1119
|
-
* @type {string}
|
|
1120
|
-
* @memberof ClubPlayerDetailResponse
|
|
1121
|
-
*/
|
|
1122
|
-
'id': string;
|
|
1123
|
-
/**
|
|
1124
|
-
* Nom complet
|
|
1125
|
-
* @type {string}
|
|
1126
|
-
* @memberof ClubPlayerDetailResponse
|
|
1127
|
-
*/
|
|
1128
|
-
'name': string;
|
|
1129
|
-
/**
|
|
1130
|
-
* Prénom
|
|
1131
|
-
* @type {string}
|
|
1132
|
-
* @memberof ClubPlayerDetailResponse
|
|
1133
|
-
*/
|
|
1134
|
-
'firstName': string;
|
|
1135
|
-
/**
|
|
1136
|
-
* Nom
|
|
1137
|
-
* @type {string}
|
|
1138
|
-
* @memberof ClubPlayerDetailResponse
|
|
1139
|
-
*/
|
|
1140
|
-
'lastName': string;
|
|
1141
|
-
/**
|
|
1142
|
-
* Email
|
|
1143
|
-
* @type {string}
|
|
1144
|
-
* @memberof ClubPlayerDetailResponse
|
|
1145
|
-
*/
|
|
1146
|
-
'email': string;
|
|
1147
|
-
/**
|
|
1148
|
-
* Numéro de téléphone
|
|
1149
|
-
* @type {string}
|
|
1150
|
-
* @memberof ClubPlayerDetailResponse
|
|
1151
|
-
*/
|
|
1152
|
-
'phoneNumber': string | null;
|
|
1153
|
-
/**
|
|
1154
|
-
* URL de la photo de profil
|
|
1155
|
-
* @type {string}
|
|
1156
|
-
* @memberof ClubPlayerDetailResponse
|
|
1157
|
-
*/
|
|
1158
|
-
'profilePictureUrl': string | null;
|
|
1159
|
-
/**
|
|
1160
|
-
* Compte vérifié
|
|
1161
|
-
* @type {boolean}
|
|
1162
|
-
* @memberof ClubPlayerDetailResponse
|
|
1163
|
-
*/
|
|
1164
|
-
'isAccountVerified': boolean;
|
|
1165
|
-
/**
|
|
1166
|
-
* Abonnements au club courant
|
|
1167
|
-
* @type {Array<ClubPlayerSubscriptionSummary>}
|
|
1168
|
-
* @memberof ClubPlayerDetailResponse
|
|
1169
|
-
*/
|
|
1170
|
-
'subscriptionsToMyClub': Array<ClubPlayerSubscriptionSummary>;
|
|
1171
|
-
/**
|
|
1172
|
-
* Description du profil
|
|
1173
|
-
* @type {string}
|
|
1174
|
-
* @memberof ClubPlayerDetailResponse
|
|
1175
|
-
*/
|
|
1176
|
-
'profileDescription': string | null;
|
|
1177
|
-
/**
|
|
1178
|
-
* Genre
|
|
1179
|
-
* @type {string}
|
|
1180
|
-
* @memberof ClubPlayerDetailResponse
|
|
1181
|
-
*/
|
|
1182
|
-
'gender': string | null;
|
|
1183
|
-
/**
|
|
1184
|
-
* Ville
|
|
1185
|
-
* @type {string}
|
|
1186
|
-
* @memberof ClubPlayerDetailResponse
|
|
1187
|
-
*/
|
|
1188
|
-
'city': string | null;
|
|
1189
|
-
/**
|
|
1190
|
-
* Niveaux par sport
|
|
1191
|
-
* @type {Array<ClubPlayerDetailResponseSportsLevelsInner>}
|
|
1192
|
-
* @memberof ClubPlayerDetailResponse
|
|
1193
|
-
*/
|
|
1194
|
-
'sportsLevels': Array<ClubPlayerDetailResponseSportsLevelsInner>;
|
|
1195
|
-
/**
|
|
1196
|
-
* Date de naissance
|
|
1197
|
-
* @type {string}
|
|
1198
|
-
* @memberof ClubPlayerDetailResponse
|
|
1199
|
-
*/
|
|
1200
|
-
'birthDate': string | null;
|
|
1201
|
-
}
|
|
1202
|
-
/**
|
|
1203
|
-
*
|
|
1204
|
-
* @export
|
|
1205
|
-
* @interface ClubPlayerDetailResponseSportsLevelsInner
|
|
1206
|
-
*/
|
|
1207
|
-
export interface ClubPlayerDetailResponseSportsLevelsInner {
|
|
1208
|
-
/**
|
|
1209
|
-
*
|
|
1210
|
-
* @type {string}
|
|
1211
|
-
* @memberof ClubPlayerDetailResponseSportsLevelsInner
|
|
1212
|
-
*/
|
|
1213
|
-
'level': string | null;
|
|
1214
|
-
/**
|
|
1215
|
-
*
|
|
1216
|
-
* @type {string}
|
|
1217
|
-
* @memberof ClubPlayerDetailResponseSportsLevelsInner
|
|
1218
|
-
*/
|
|
1219
|
-
'sport': string | null;
|
|
1220
|
-
}
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @export
|
|
1224
|
-
* @interface ClubPlayerResponse
|
|
1225
|
-
*/
|
|
1226
|
-
export interface ClubPlayerResponse {
|
|
1227
|
-
/**
|
|
1228
|
-
* ID de l\'utilisateur
|
|
1229
|
-
* @type {string}
|
|
1230
|
-
* @memberof ClubPlayerResponse
|
|
1231
|
-
*/
|
|
1232
|
-
'id': string;
|
|
1233
|
-
/**
|
|
1234
|
-
* Prénom
|
|
1235
|
-
* @type {string}
|
|
1236
|
-
* @memberof ClubPlayerResponse
|
|
1237
|
-
*/
|
|
1238
|
-
'firstName': string;
|
|
1239
|
-
/**
|
|
1240
|
-
* Nom
|
|
1241
|
-
* @type {string}
|
|
1242
|
-
* @memberof ClubPlayerResponse
|
|
1243
|
-
*/
|
|
1244
|
-
'lastName': string;
|
|
1245
|
-
/**
|
|
1246
|
-
* Genre
|
|
1247
|
-
* @type {string}
|
|
1248
|
-
* @memberof ClubPlayerResponse
|
|
1249
|
-
*/
|
|
1250
|
-
'gender'?: string;
|
|
1251
|
-
/**
|
|
1252
|
-
* Email
|
|
1253
|
-
* @type {string}
|
|
1254
|
-
* @memberof ClubPlayerResponse
|
|
1255
|
-
*/
|
|
1256
|
-
'email': string;
|
|
1257
|
-
/**
|
|
1258
|
-
* Photo de profil
|
|
1259
|
-
* @type {string}
|
|
1260
|
-
* @memberof ClubPlayerResponse
|
|
1261
|
-
*/
|
|
1262
|
-
'profilePicture'?: string;
|
|
1263
|
-
/**
|
|
1264
|
-
* Compte vérifié
|
|
1265
|
-
* @type {boolean}
|
|
1266
|
-
* @memberof ClubPlayerResponse
|
|
1267
|
-
*/
|
|
1268
|
-
'isAccountVerified': boolean;
|
|
1269
|
-
/**
|
|
1270
|
-
* Profil visible
|
|
1271
|
-
* @type {boolean}
|
|
1272
|
-
* @memberof ClubPlayerResponse
|
|
1273
|
-
*/
|
|
1274
|
-
'isProfileVisible': boolean;
|
|
1414
|
+
export interface ChangePasswordResponse {
|
|
1275
1415
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @type {
|
|
1278
|
-
* @memberof
|
|
1416
|
+
*
|
|
1417
|
+
* @type {string}
|
|
1418
|
+
* @memberof ChangePasswordResponse
|
|
1279
1419
|
*/
|
|
1280
|
-
'
|
|
1420
|
+
'message': string;
|
|
1281
1421
|
}
|
|
1282
1422
|
/**
|
|
1283
1423
|
*
|
|
1284
1424
|
* @export
|
|
1285
|
-
* @interface
|
|
1425
|
+
* @interface CheckInPlayersRequest
|
|
1286
1426
|
*/
|
|
1287
|
-
export interface
|
|
1427
|
+
export interface CheckInPlayersRequest {
|
|
1288
1428
|
/**
|
|
1289
|
-
*
|
|
1290
|
-
* @type {
|
|
1291
|
-
* @memberof
|
|
1429
|
+
* Liste des IDs des joueurs qui ont payé/sont arrivés
|
|
1430
|
+
* @type {Array<string>}
|
|
1431
|
+
* @memberof CheckInPlayersRequest
|
|
1292
1432
|
*/
|
|
1293
|
-
'
|
|
1433
|
+
'playerIds': Array<string>;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
*
|
|
1437
|
+
* @export
|
|
1438
|
+
* @interface CheckInPlayersResponse
|
|
1439
|
+
*/
|
|
1440
|
+
export interface CheckInPlayersResponse {
|
|
1294
1441
|
/**
|
|
1295
|
-
*
|
|
1296
|
-
* @type {
|
|
1297
|
-
* @memberof
|
|
1442
|
+
* Message de confirmation
|
|
1443
|
+
* @type {string}
|
|
1444
|
+
* @memberof CheckInPlayersResponse
|
|
1298
1445
|
*/
|
|
1299
|
-
'
|
|
1446
|
+
'message': string;
|
|
1300
1447
|
/**
|
|
1301
|
-
*
|
|
1302
|
-
* @type {
|
|
1303
|
-
* @memberof
|
|
1448
|
+
* Joueurs ayant effectué le check-in
|
|
1449
|
+
* @type {Array<CheckedInPlayer>}
|
|
1450
|
+
* @memberof CheckInPlayersResponse
|
|
1304
1451
|
*/
|
|
1305
|
-
'
|
|
1452
|
+
'invoices': Array<CheckedInPlayer>;
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @export
|
|
1457
|
+
* @interface CheckedInPlayer
|
|
1458
|
+
*/
|
|
1459
|
+
export interface CheckedInPlayer {
|
|
1306
1460
|
/**
|
|
1307
|
-
*
|
|
1461
|
+
* ID du joueur
|
|
1308
1462
|
* @type {string}
|
|
1309
|
-
* @memberof
|
|
1463
|
+
* @memberof CheckedInPlayer
|
|
1310
1464
|
*/
|
|
1311
|
-
'
|
|
1465
|
+
'playerId': string;
|
|
1312
1466
|
/**
|
|
1313
|
-
*
|
|
1314
|
-
* @type {
|
|
1315
|
-
* @memberof
|
|
1467
|
+
* ID de la facture
|
|
1468
|
+
* @type {string}
|
|
1469
|
+
* @memberof CheckedInPlayer
|
|
1316
1470
|
*/
|
|
1317
|
-
'
|
|
1471
|
+
'invoiceId': string;
|
|
1318
1472
|
/**
|
|
1319
|
-
*
|
|
1473
|
+
* Montant payé
|
|
1320
1474
|
* @type {number}
|
|
1321
|
-
* @memberof
|
|
1475
|
+
* @memberof CheckedInPlayer
|
|
1322
1476
|
*/
|
|
1323
|
-
'
|
|
1477
|
+
'amount': number;
|
|
1324
1478
|
/**
|
|
1325
|
-
*
|
|
1326
|
-
* @type {
|
|
1327
|
-
* @memberof
|
|
1479
|
+
* Statut précédent (optionnel)
|
|
1480
|
+
* @type {string}
|
|
1481
|
+
* @memberof CheckedInPlayer
|
|
1328
1482
|
*/
|
|
1329
|
-
'
|
|
1483
|
+
'previousStatus'?: string;
|
|
1330
1484
|
/**
|
|
1331
|
-
*
|
|
1485
|
+
* Nouveau statut (optionnel)
|
|
1332
1486
|
* @type {string}
|
|
1333
|
-
* @memberof
|
|
1487
|
+
* @memberof CheckedInPlayer
|
|
1334
1488
|
*/
|
|
1335
|
-
'
|
|
1489
|
+
'newStatus'?: string;
|
|
1336
1490
|
/**
|
|
1337
|
-
*
|
|
1338
|
-
* @type {
|
|
1339
|
-
* @memberof
|
|
1491
|
+
* Statut actuel
|
|
1492
|
+
* @type {string}
|
|
1493
|
+
* @memberof CheckedInPlayer
|
|
1340
1494
|
*/
|
|
1341
|
-
'
|
|
1495
|
+
'status'?: string;
|
|
1342
1496
|
/**
|
|
1343
1497
|
*
|
|
1344
|
-
* @type {
|
|
1345
|
-
* @memberof
|
|
1346
|
-
*/
|
|
1347
|
-
'mostPlayedClub': ClubPlayerStatisticsResponseMostPlayedClub | null;
|
|
1348
|
-
/**
|
|
1349
|
-
* Évolution quotidienne des montants dépensés ce mois-ci
|
|
1350
|
-
* @type {Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>}
|
|
1351
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1498
|
+
* @type {PaymentMethod}
|
|
1499
|
+
* @memberof CheckedInPlayer
|
|
1352
1500
|
*/
|
|
1353
|
-
'
|
|
1501
|
+
'paymentMethod'?: PaymentMethod;
|
|
1354
1502
|
/**
|
|
1355
|
-
*
|
|
1356
|
-
* @type {
|
|
1357
|
-
* @memberof
|
|
1503
|
+
* Note additionnelle
|
|
1504
|
+
* @type {string}
|
|
1505
|
+
* @memberof CheckedInPlayer
|
|
1358
1506
|
*/
|
|
1359
|
-
'
|
|
1507
|
+
'note'?: string;
|
|
1360
1508
|
}
|
|
1509
|
+
|
|
1510
|
+
|
|
1361
1511
|
/**
|
|
1362
1512
|
*
|
|
1363
1513
|
* @export
|
|
1364
|
-
* @interface
|
|
1514
|
+
* @interface ClubMemberResponse
|
|
1365
1515
|
*/
|
|
1366
|
-
export interface
|
|
1516
|
+
export interface ClubMemberResponse {
|
|
1367
1517
|
/**
|
|
1368
1518
|
*
|
|
1369
|
-
* @type {
|
|
1370
|
-
* @memberof
|
|
1519
|
+
* @type {ClubMemberResponseUser}
|
|
1520
|
+
* @memberof ClubMemberResponse
|
|
1371
1521
|
*/
|
|
1372
|
-
'
|
|
1522
|
+
'user': ClubMemberResponseUser;
|
|
1373
1523
|
/**
|
|
1374
|
-
*
|
|
1375
|
-
* @type {
|
|
1376
|
-
* @memberof
|
|
1524
|
+
* Rôle du membre dans le club
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof ClubMemberResponse
|
|
1527
|
+
*/
|
|
1528
|
+
'role': string;
|
|
1529
|
+
/**
|
|
1530
|
+
* Droits du membre dans le club
|
|
1531
|
+
* @type {Array<string>}
|
|
1532
|
+
* @memberof ClubMemberResponse
|
|
1377
1533
|
*/
|
|
1378
|
-
'
|
|
1534
|
+
'rights': Array<string>;
|
|
1379
1535
|
}
|
|
1380
1536
|
/**
|
|
1381
|
-
*
|
|
1537
|
+
* Utilisateur (membre)
|
|
1382
1538
|
* @export
|
|
1383
|
-
* @interface
|
|
1539
|
+
* @interface ClubMemberResponseUser
|
|
1384
1540
|
*/
|
|
1385
|
-
export interface
|
|
1541
|
+
export interface ClubMemberResponseUser {
|
|
1386
1542
|
/**
|
|
1387
1543
|
*
|
|
1388
1544
|
* @type {string}
|
|
1389
|
-
* @memberof
|
|
1545
|
+
* @memberof ClubMemberResponseUser
|
|
1390
1546
|
*/
|
|
1391
|
-
'
|
|
1547
|
+
'email': string;
|
|
1392
1548
|
/**
|
|
1393
1549
|
*
|
|
1394
1550
|
* @type {string}
|
|
1395
|
-
* @memberof
|
|
1396
|
-
*/
|
|
1397
|
-
'clubId': string;
|
|
1398
|
-
}
|
|
1399
|
-
/**
|
|
1400
|
-
* Club où le joueur a le plus joué
|
|
1401
|
-
* @export
|
|
1402
|
-
* @interface ClubPlayerStatisticsResponseMostPlayedClub
|
|
1403
|
-
*/
|
|
1404
|
-
export interface ClubPlayerStatisticsResponseMostPlayedClub {
|
|
1405
|
-
/**
|
|
1406
|
-
*
|
|
1407
|
-
* @type {number}
|
|
1408
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedClub
|
|
1551
|
+
* @memberof ClubMemberResponseUser
|
|
1409
1552
|
*/
|
|
1410
|
-
'
|
|
1553
|
+
'lastName': string;
|
|
1411
1554
|
/**
|
|
1412
1555
|
*
|
|
1413
1556
|
* @type {string}
|
|
1414
|
-
* @memberof
|
|
1557
|
+
* @memberof ClubMemberResponseUser
|
|
1415
1558
|
*/
|
|
1416
|
-
'
|
|
1559
|
+
'firstName': string;
|
|
1417
1560
|
/**
|
|
1418
1561
|
*
|
|
1419
1562
|
* @type {string}
|
|
1420
|
-
* @memberof
|
|
1563
|
+
* @memberof ClubMemberResponseUser
|
|
1421
1564
|
*/
|
|
1422
|
-
'
|
|
1565
|
+
'id': string;
|
|
1423
1566
|
}
|
|
1424
1567
|
/**
|
|
1425
1568
|
*
|
|
1426
1569
|
* @export
|
|
1427
|
-
* @interface
|
|
1570
|
+
* @interface ClubPlayerResponse
|
|
1428
1571
|
*/
|
|
1429
|
-
export interface
|
|
1572
|
+
export interface ClubPlayerResponse {
|
|
1430
1573
|
/**
|
|
1431
|
-
*
|
|
1432
|
-
* @type {
|
|
1433
|
-
* @memberof
|
|
1574
|
+
* ID de l\'utilisateur
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof ClubPlayerResponse
|
|
1434
1577
|
*/
|
|
1435
|
-
'
|
|
1578
|
+
'id': string;
|
|
1436
1579
|
/**
|
|
1437
|
-
*
|
|
1580
|
+
* Prénom
|
|
1438
1581
|
* @type {string}
|
|
1439
|
-
* @memberof
|
|
1582
|
+
* @memberof ClubPlayerResponse
|
|
1440
1583
|
*/
|
|
1441
|
-
'
|
|
1584
|
+
'firstName': string;
|
|
1442
1585
|
/**
|
|
1443
|
-
*
|
|
1586
|
+
* Nom
|
|
1444
1587
|
* @type {string}
|
|
1445
|
-
* @memberof
|
|
1588
|
+
* @memberof ClubPlayerResponse
|
|
1446
1589
|
*/
|
|
1447
|
-
'
|
|
1590
|
+
'lastName': string;
|
|
1448
1591
|
/**
|
|
1449
|
-
*
|
|
1592
|
+
* Genre
|
|
1450
1593
|
* @type {string}
|
|
1451
|
-
* @memberof
|
|
1594
|
+
* @memberof ClubPlayerResponse
|
|
1452
1595
|
*/
|
|
1453
|
-
'
|
|
1454
|
-
}
|
|
1455
|
-
/**
|
|
1456
|
-
*
|
|
1457
|
-
* @export
|
|
1458
|
-
* @interface ClubPlayerSubscriptionSummary
|
|
1459
|
-
*/
|
|
1460
|
-
export interface ClubPlayerSubscriptionSummary {
|
|
1596
|
+
'gender'?: string;
|
|
1461
1597
|
/**
|
|
1462
|
-
*
|
|
1598
|
+
* Email
|
|
1463
1599
|
* @type {string}
|
|
1464
|
-
* @memberof
|
|
1600
|
+
* @memberof ClubPlayerResponse
|
|
1465
1601
|
*/
|
|
1466
|
-
'
|
|
1602
|
+
'email': string;
|
|
1467
1603
|
/**
|
|
1468
|
-
*
|
|
1604
|
+
* Photo de profil
|
|
1469
1605
|
* @type {string}
|
|
1470
|
-
* @memberof
|
|
1606
|
+
* @memberof ClubPlayerResponse
|
|
1471
1607
|
*/
|
|
1472
|
-
'
|
|
1608
|
+
'profilePicture'?: string;
|
|
1473
1609
|
/**
|
|
1474
|
-
*
|
|
1475
|
-
* @type {
|
|
1476
|
-
* @memberof
|
|
1610
|
+
* Compte vérifié
|
|
1611
|
+
* @type {boolean}
|
|
1612
|
+
* @memberof ClubPlayerResponse
|
|
1477
1613
|
*/
|
|
1478
|
-
'
|
|
1614
|
+
'isAccountVerified': boolean;
|
|
1479
1615
|
/**
|
|
1480
|
-
*
|
|
1481
|
-
* @type {
|
|
1482
|
-
* @memberof
|
|
1616
|
+
* Profil visible
|
|
1617
|
+
* @type {boolean}
|
|
1618
|
+
* @memberof ClubPlayerResponse
|
|
1483
1619
|
*/
|
|
1484
|
-
'
|
|
1620
|
+
'isProfileVisible': boolean;
|
|
1485
1621
|
/**
|
|
1486
|
-
*
|
|
1487
|
-
* @type {
|
|
1488
|
-
* @memberof
|
|
1622
|
+
* Abonné au club
|
|
1623
|
+
* @type {boolean}
|
|
1624
|
+
* @memberof ClubPlayerResponse
|
|
1489
1625
|
*/
|
|
1490
|
-
'
|
|
1626
|
+
'isSubscribedToClub': boolean;
|
|
1491
1627
|
}
|
|
1492
1628
|
/**
|
|
1493
1629
|
*
|
|
@@ -1579,6 +1715,30 @@ export interface ClubResponse {
|
|
|
1579
1715
|
* @memberof ClubResponse
|
|
1580
1716
|
*/
|
|
1581
1717
|
'sports'?: Array<string>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Autoriser plusieurs réservations en même temps
|
|
1720
|
+
* @type {boolean}
|
|
1721
|
+
* @memberof ClubResponse
|
|
1722
|
+
*/
|
|
1723
|
+
'allowMultipleBookingsAtTheSameTime'?: boolean | null;
|
|
1724
|
+
/**
|
|
1725
|
+
* Limite de réservations simultanées (même créneau)
|
|
1726
|
+
* @type {number}
|
|
1727
|
+
* @memberof ClubResponse
|
|
1728
|
+
*/
|
|
1729
|
+
'sameTimeBookingsLimit'?: number | null;
|
|
1730
|
+
/**
|
|
1731
|
+
* Limite d\'annulation en heures
|
|
1732
|
+
* @type {number}
|
|
1733
|
+
* @memberof ClubResponse
|
|
1734
|
+
*/
|
|
1735
|
+
'cancellationLimitHours'?: number | null;
|
|
1736
|
+
/**
|
|
1737
|
+
* Nombre maximum de réservations par semaine
|
|
1738
|
+
* @type {number}
|
|
1739
|
+
* @memberof ClubResponse
|
|
1740
|
+
*/
|
|
1741
|
+
'maxWeeklyBookings'?: number | null;
|
|
1582
1742
|
/**
|
|
1583
1743
|
*
|
|
1584
1744
|
* @type {ClubResponseCreatedAt}
|
|
@@ -1744,12 +1904,6 @@ export interface ClubSettingsResponse {
|
|
|
1744
1904
|
* @memberof ClubSettingsResponse
|
|
1745
1905
|
*/
|
|
1746
1906
|
'maxWeeklyBookings': number;
|
|
1747
|
-
/**
|
|
1748
|
-
* Autoriser plusieurs réservations en même temps
|
|
1749
|
-
* @type {boolean}
|
|
1750
|
-
* @memberof ClubSettingsResponse
|
|
1751
|
-
*/
|
|
1752
|
-
'allowMultipleBookingsAtTheSameTime': boolean;
|
|
1753
1907
|
/**
|
|
1754
1908
|
* Limite de réservations simultanées
|
|
1755
1909
|
* @type {number}
|
|
@@ -1874,38 +2028,6 @@ export interface ClubUserCountResponse {
|
|
|
1874
2028
|
*/
|
|
1875
2029
|
'count': number;
|
|
1876
2030
|
}
|
|
1877
|
-
/**
|
|
1878
|
-
*
|
|
1879
|
-
* @export
|
|
1880
|
-
* @interface ConfirmPaymentMethodRequestBody
|
|
1881
|
-
*/
|
|
1882
|
-
export interface ConfirmPaymentMethodRequestBody {
|
|
1883
|
-
/**
|
|
1884
|
-
*
|
|
1885
|
-
* @type {string}
|
|
1886
|
-
* @memberof ConfirmPaymentMethodRequestBody
|
|
1887
|
-
*/
|
|
1888
|
-
'setupIntentId': string;
|
|
1889
|
-
}
|
|
1890
|
-
/**
|
|
1891
|
-
*
|
|
1892
|
-
* @export
|
|
1893
|
-
* @interface ConfirmPaymentMethodResponse
|
|
1894
|
-
*/
|
|
1895
|
-
export interface ConfirmPaymentMethodResponse {
|
|
1896
|
-
/**
|
|
1897
|
-
*
|
|
1898
|
-
* @type {string}
|
|
1899
|
-
* @memberof ConfirmPaymentMethodResponse
|
|
1900
|
-
*/
|
|
1901
|
-
'message': string;
|
|
1902
|
-
/**
|
|
1903
|
-
*
|
|
1904
|
-
* @type {string}
|
|
1905
|
-
* @memberof ConfirmPaymentMethodResponse
|
|
1906
|
-
*/
|
|
1907
|
-
'paymentMethodId'?: string | null;
|
|
1908
|
-
}
|
|
1909
2031
|
/**
|
|
1910
2032
|
*
|
|
1911
2033
|
* @export
|
|
@@ -2068,10 +2190,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
|
|
|
2068
2190
|
export interface CreateBookingRequest {
|
|
2069
2191
|
/**
|
|
2070
2192
|
* ID du créneau à réserver
|
|
2071
|
-
* @type {string}
|
|
2193
|
+
* @type {Array<string>}
|
|
2072
2194
|
* @memberof CreateBookingRequest
|
|
2073
2195
|
*/
|
|
2074
|
-
'
|
|
2196
|
+
'slotIds': Array<string>;
|
|
2075
2197
|
/**
|
|
2076
2198
|
* Liste des joueurs avec leurs méthodes de paiement
|
|
2077
2199
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -2383,12 +2505,6 @@ export interface CreateEventRequest {
|
|
|
2383
2505
|
* @memberof CreateEventRequest
|
|
2384
2506
|
*/
|
|
2385
2507
|
'subscriberPrices'?: Array<SubscriberPrice>;
|
|
2386
|
-
/**
|
|
2387
|
-
*
|
|
2388
|
-
* @type {Array<number>}
|
|
2389
|
-
* @memberof CreateEventRequest
|
|
2390
|
-
*/
|
|
2391
|
-
'levels'?: Array<number>;
|
|
2392
2508
|
/**
|
|
2393
2509
|
*
|
|
2394
2510
|
* @type {string}
|
|
@@ -3531,24 +3647,12 @@ export interface IUserAttributes {
|
|
|
3531
3647
|
* @memberof IUserAttributes
|
|
3532
3648
|
*/
|
|
3533
3649
|
'isAccountVerified': boolean;
|
|
3534
|
-
/**
|
|
3535
|
-
*
|
|
3536
|
-
* @type {boolean}
|
|
3537
|
-
* @memberof IUserAttributes
|
|
3538
|
-
*/
|
|
3539
|
-
'isCreditCardRegistered'?: boolean;
|
|
3540
3650
|
/**
|
|
3541
3651
|
*
|
|
3542
3652
|
* @type {Array<ILevelBySports>}
|
|
3543
3653
|
* @memberof IUserAttributes
|
|
3544
3654
|
*/
|
|
3545
3655
|
'levelBySports'?: Array<ILevelBySports>;
|
|
3546
|
-
/**
|
|
3547
|
-
*
|
|
3548
|
-
* @type {string}
|
|
3549
|
-
* @memberof IUserAttributes
|
|
3550
|
-
*/
|
|
3551
|
-
'stripeCustomerId'?: string;
|
|
3552
3656
|
/**
|
|
3553
3657
|
*
|
|
3554
3658
|
* @type {string}
|
|
@@ -3593,58 +3697,34 @@ export interface IUserAttributes {
|
|
|
3593
3697
|
'emailVerificationExpires'?: string;
|
|
3594
3698
|
/**
|
|
3595
3699
|
*
|
|
3596
|
-
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
3597
|
-
* @memberof IUserAttributes
|
|
3598
|
-
*/
|
|
3599
|
-
'organizations'?: Array<IUserAttributesOrganizationsInner>;
|
|
3600
|
-
/**
|
|
3601
|
-
*
|
|
3602
|
-
* @type {boolean}
|
|
3603
|
-
* @memberof IUserAttributes
|
|
3604
|
-
*/
|
|
3605
|
-
'isAdmin': boolean;
|
|
3606
|
-
/**
|
|
3607
|
-
*
|
|
3608
|
-
* @type {string}
|
|
3609
|
-
* @memberof IUserAttributes
|
|
3610
|
-
*/
|
|
3611
|
-
'createdAt': string;
|
|
3612
|
-
/**
|
|
3613
|
-
*
|
|
3614
|
-
* @type {string}
|
|
3615
|
-
* @memberof IUserAttributes
|
|
3616
|
-
*/
|
|
3617
|
-
'updatedAt': string;
|
|
3618
|
-
/**
|
|
3619
|
-
*
|
|
3620
|
-
* @type {boolean}
|
|
3700
|
+
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
3621
3701
|
* @memberof IUserAttributes
|
|
3622
3702
|
*/
|
|
3623
|
-
'
|
|
3703
|
+
'organizations'?: Array<IUserAttributesOrganizationsInner>;
|
|
3624
3704
|
/**
|
|
3625
3705
|
*
|
|
3626
|
-
* @type {
|
|
3706
|
+
* @type {boolean}
|
|
3627
3707
|
* @memberof IUserAttributes
|
|
3628
3708
|
*/
|
|
3629
|
-
'
|
|
3709
|
+
'isAdmin': boolean;
|
|
3630
3710
|
/**
|
|
3631
3711
|
*
|
|
3632
3712
|
* @type {string}
|
|
3633
3713
|
* @memberof IUserAttributes
|
|
3634
3714
|
*/
|
|
3635
|
-
'
|
|
3715
|
+
'createdAt': string;
|
|
3636
3716
|
/**
|
|
3637
3717
|
*
|
|
3638
|
-
* @type {
|
|
3718
|
+
* @type {string}
|
|
3639
3719
|
* @memberof IUserAttributes
|
|
3640
3720
|
*/
|
|
3641
|
-
'
|
|
3721
|
+
'updatedAt': string;
|
|
3642
3722
|
/**
|
|
3643
3723
|
*
|
|
3644
|
-
* @type {
|
|
3724
|
+
* @type {boolean}
|
|
3645
3725
|
* @memberof IUserAttributes
|
|
3646
3726
|
*/
|
|
3647
|
-
'
|
|
3727
|
+
'isLevelCertified'?: boolean;
|
|
3648
3728
|
/**
|
|
3649
3729
|
*
|
|
3650
3730
|
* @type {Array<string>}
|
|
@@ -3675,6 +3755,12 @@ export interface IUserAttributes {
|
|
|
3675
3755
|
* @memberof IUserAttributes
|
|
3676
3756
|
*/
|
|
3677
3757
|
'sports'?: { [key: string]: any; };
|
|
3758
|
+
/**
|
|
3759
|
+
*
|
|
3760
|
+
* @type {string}
|
|
3761
|
+
* @memberof IUserAttributes
|
|
3762
|
+
*/
|
|
3763
|
+
'stripeCustomerId'?: string;
|
|
3678
3764
|
}
|
|
3679
3765
|
|
|
3680
3766
|
|
|
@@ -3832,6 +3918,26 @@ export interface InvoiceInfo {
|
|
|
3832
3918
|
*/
|
|
3833
3919
|
'status': string;
|
|
3834
3920
|
}
|
|
3921
|
+
/**
|
|
3922
|
+
*
|
|
3923
|
+
* @export
|
|
3924
|
+
* @enum {string}
|
|
3925
|
+
*/
|
|
3926
|
+
|
|
3927
|
+
export const InvoiceStatus = {
|
|
3928
|
+
SetupPending: 'setup_pending',
|
|
3929
|
+
SetupSuccess: 'setup_success',
|
|
3930
|
+
Pending: 'pending',
|
|
3931
|
+
Paid: 'paid',
|
|
3932
|
+
Failed: 'failed',
|
|
3933
|
+
Authorized: 'authorized',
|
|
3934
|
+
Canceled: 'canceled',
|
|
3935
|
+
Expired: 'expired'
|
|
3936
|
+
} as const;
|
|
3937
|
+
|
|
3938
|
+
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
3939
|
+
|
|
3940
|
+
|
|
3835
3941
|
/**
|
|
3836
3942
|
*
|
|
3837
3943
|
* @export
|
|
@@ -4222,6 +4328,30 @@ export interface PartialClubResponse {
|
|
|
4222
4328
|
* @memberof PartialClubResponse
|
|
4223
4329
|
*/
|
|
4224
4330
|
'sports'?: Array<string>;
|
|
4331
|
+
/**
|
|
4332
|
+
* Autoriser plusieurs réservations en même temps
|
|
4333
|
+
* @type {boolean}
|
|
4334
|
+
* @memberof PartialClubResponse
|
|
4335
|
+
*/
|
|
4336
|
+
'allowMultipleBookingsAtTheSameTime'?: boolean;
|
|
4337
|
+
/**
|
|
4338
|
+
* Limite de réservations simultanées (même créneau)
|
|
4339
|
+
* @type {number}
|
|
4340
|
+
* @memberof PartialClubResponse
|
|
4341
|
+
*/
|
|
4342
|
+
'sameTimeBookingsLimit'?: number;
|
|
4343
|
+
/**
|
|
4344
|
+
* Limite d\'annulation en heures
|
|
4345
|
+
* @type {number}
|
|
4346
|
+
* @memberof PartialClubResponse
|
|
4347
|
+
*/
|
|
4348
|
+
'cancellationLimitHours'?: number;
|
|
4349
|
+
/**
|
|
4350
|
+
* Nombre maximum de réservations par semaine
|
|
4351
|
+
* @type {number}
|
|
4352
|
+
* @memberof PartialClubResponse
|
|
4353
|
+
*/
|
|
4354
|
+
'maxWeeklyBookings'?: number;
|
|
4225
4355
|
/**
|
|
4226
4356
|
*
|
|
4227
4357
|
* @type {ClubResponseCreatedAt}
|
|
@@ -4282,31 +4412,6 @@ export const PaymentMethod = {
|
|
|
4282
4412
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
4283
4413
|
|
|
4284
4414
|
|
|
4285
|
-
/**
|
|
4286
|
-
*
|
|
4287
|
-
* @export
|
|
4288
|
-
* @interface PaymentMethodSetupResponse
|
|
4289
|
-
*/
|
|
4290
|
-
export interface PaymentMethodSetupResponse {
|
|
4291
|
-
/**
|
|
4292
|
-
*
|
|
4293
|
-
* @type {string}
|
|
4294
|
-
* @memberof PaymentMethodSetupResponse
|
|
4295
|
-
*/
|
|
4296
|
-
'message': string;
|
|
4297
|
-
/**
|
|
4298
|
-
*
|
|
4299
|
-
* @type {Array<string>}
|
|
4300
|
-
* @memberof PaymentMethodSetupResponse
|
|
4301
|
-
*/
|
|
4302
|
-
'paymentMethods': Array<string>;
|
|
4303
|
-
/**
|
|
4304
|
-
*
|
|
4305
|
-
* @type {string}
|
|
4306
|
-
* @memberof PaymentMethodSetupResponse
|
|
4307
|
-
*/
|
|
4308
|
-
'defaultPaymentMethodId'?: string | null;
|
|
4309
|
-
}
|
|
4310
4415
|
/**
|
|
4311
4416
|
* From T, pick a set of properties whose keys are in the union K
|
|
4312
4417
|
* @export
|
|
@@ -4559,6 +4664,49 @@ export interface PlayerPaymentInfo {
|
|
|
4559
4664
|
}
|
|
4560
4665
|
|
|
4561
4666
|
|
|
4667
|
+
/**
|
|
4668
|
+
*
|
|
4669
|
+
* @export
|
|
4670
|
+
* @interface PlayerPrice
|
|
4671
|
+
*/
|
|
4672
|
+
export interface PlayerPrice {
|
|
4673
|
+
/**
|
|
4674
|
+
*
|
|
4675
|
+
* @type {string}
|
|
4676
|
+
* @memberof PlayerPrice
|
|
4677
|
+
*/
|
|
4678
|
+
'playerId': string;
|
|
4679
|
+
/**
|
|
4680
|
+
*
|
|
4681
|
+
* @type {string}
|
|
4682
|
+
* @memberof PlayerPrice
|
|
4683
|
+
*/
|
|
4684
|
+
'firstName'?: string;
|
|
4685
|
+
/**
|
|
4686
|
+
*
|
|
4687
|
+
* @type {string}
|
|
4688
|
+
* @memberof PlayerPrice
|
|
4689
|
+
*/
|
|
4690
|
+
'lastName'?: string;
|
|
4691
|
+
/**
|
|
4692
|
+
*
|
|
4693
|
+
* @type {Array<SubscriptionInfo>}
|
|
4694
|
+
* @memberof PlayerPrice
|
|
4695
|
+
*/
|
|
4696
|
+
'subscriptions': Array<SubscriptionInfo>;
|
|
4697
|
+
/**
|
|
4698
|
+
*
|
|
4699
|
+
* @type {number}
|
|
4700
|
+
* @memberof PlayerPrice
|
|
4701
|
+
*/
|
|
4702
|
+
'creditAvailablesInCents'?: number;
|
|
4703
|
+
/**
|
|
4704
|
+
*
|
|
4705
|
+
* @type {number}
|
|
4706
|
+
* @memberof PlayerPrice
|
|
4707
|
+
*/
|
|
4708
|
+
'price': number;
|
|
4709
|
+
}
|
|
4562
4710
|
/**
|
|
4563
4711
|
*
|
|
4564
4712
|
* @export
|
|
@@ -4830,6 +4978,25 @@ export interface PublishEventResponse {
|
|
|
4830
4978
|
*/
|
|
4831
4979
|
'event': EventResponse;
|
|
4832
4980
|
}
|
|
4981
|
+
/**
|
|
4982
|
+
*
|
|
4983
|
+
* @export
|
|
4984
|
+
* @interface QuickReservationClubSport
|
|
4985
|
+
*/
|
|
4986
|
+
export interface QuickReservationClubSport {
|
|
4987
|
+
/**
|
|
4988
|
+
* ID du sport
|
|
4989
|
+
* @type {string}
|
|
4990
|
+
* @memberof QuickReservationClubSport
|
|
4991
|
+
*/
|
|
4992
|
+
'id': string;
|
|
4993
|
+
/**
|
|
4994
|
+
* Clé du sport
|
|
4995
|
+
* @type {string}
|
|
4996
|
+
* @memberof QuickReservationClubSport
|
|
4997
|
+
*/
|
|
4998
|
+
'key'?: string;
|
|
4999
|
+
}
|
|
4833
5000
|
/**
|
|
4834
5001
|
*
|
|
4835
5002
|
* @export
|
|
@@ -4848,6 +5015,12 @@ export interface QuickReservationClubSummary {
|
|
|
4848
5015
|
* @memberof QuickReservationClubSummary
|
|
4849
5016
|
*/
|
|
4850
5017
|
'clubName': string;
|
|
5018
|
+
/**
|
|
5019
|
+
* Description du club
|
|
5020
|
+
* @type {string}
|
|
5021
|
+
* @memberof QuickReservationClubSummary
|
|
5022
|
+
*/
|
|
5023
|
+
'description'?: string;
|
|
4851
5024
|
/**
|
|
4852
5025
|
* Distance par rapport à la recherche, en mètres
|
|
4853
5026
|
* @type {number}
|
|
@@ -4866,6 +5039,12 @@ export interface QuickReservationClubSummary {
|
|
|
4866
5039
|
* @memberof QuickReservationClubSummary
|
|
4867
5040
|
*/
|
|
4868
5041
|
'slots': Array<QuickReservationSlotSummary>;
|
|
5042
|
+
/**
|
|
5043
|
+
* Sports disponibles dans le club
|
|
5044
|
+
* @type {Array<QuickReservationClubSport>}
|
|
5045
|
+
* @memberof QuickReservationClubSummary
|
|
5046
|
+
*/
|
|
5047
|
+
'sports'?: Array<QuickReservationClubSport>;
|
|
4869
5048
|
}
|
|
4870
5049
|
/**
|
|
4871
5050
|
* Localisation du club
|
|
@@ -5255,44 +5434,6 @@ export interface ResetPasswordRequest {
|
|
|
5255
5434
|
*/
|
|
5256
5435
|
'token'?: string;
|
|
5257
5436
|
}
|
|
5258
|
-
/**
|
|
5259
|
-
*
|
|
5260
|
-
* @export
|
|
5261
|
-
* @interface SetupPaymentMethodRequestBody
|
|
5262
|
-
*/
|
|
5263
|
-
export interface SetupPaymentMethodRequestBody {
|
|
5264
|
-
/**
|
|
5265
|
-
*
|
|
5266
|
-
* @type {string}
|
|
5267
|
-
* @memberof SetupPaymentMethodRequestBody
|
|
5268
|
-
*/
|
|
5269
|
-
'clubId': string;
|
|
5270
|
-
}
|
|
5271
|
-
/**
|
|
5272
|
-
*
|
|
5273
|
-
* @export
|
|
5274
|
-
* @interface SetupPaymentMethodResponse
|
|
5275
|
-
*/
|
|
5276
|
-
export interface SetupPaymentMethodResponse {
|
|
5277
|
-
/**
|
|
5278
|
-
*
|
|
5279
|
-
* @type {string}
|
|
5280
|
-
* @memberof SetupPaymentMethodResponse
|
|
5281
|
-
*/
|
|
5282
|
-
'setupIntentId': string;
|
|
5283
|
-
/**
|
|
5284
|
-
*
|
|
5285
|
-
* @type {string}
|
|
5286
|
-
* @memberof SetupPaymentMethodResponse
|
|
5287
|
-
*/
|
|
5288
|
-
'clientSecret': string;
|
|
5289
|
-
/**
|
|
5290
|
-
*
|
|
5291
|
-
* @type {string}
|
|
5292
|
-
* @memberof SetupPaymentMethodResponse
|
|
5293
|
-
*/
|
|
5294
|
-
'message': string;
|
|
5295
|
-
}
|
|
5296
5437
|
/**
|
|
5297
5438
|
*
|
|
5298
5439
|
* @export
|
|
@@ -5322,7 +5463,7 @@ export interface SlotInfo {
|
|
|
5322
5463
|
* @type {CourtInfo}
|
|
5323
5464
|
* @memberof SlotInfo
|
|
5324
5465
|
*/
|
|
5325
|
-
'
|
|
5466
|
+
'courtId': CourtInfo;
|
|
5326
5467
|
}
|
|
5327
5468
|
/**
|
|
5328
5469
|
*
|
|
@@ -5569,24 +5710,12 @@ export interface StaffUserProfileResponse {
|
|
|
5569
5710
|
* @memberof StaffUserProfileResponse
|
|
5570
5711
|
*/
|
|
5571
5712
|
'isAccountVerified': boolean;
|
|
5572
|
-
/**
|
|
5573
|
-
*
|
|
5574
|
-
* @type {boolean}
|
|
5575
|
-
* @memberof StaffUserProfileResponse
|
|
5576
|
-
*/
|
|
5577
|
-
'isCreditCardRegistered'?: boolean;
|
|
5578
5713
|
/**
|
|
5579
5714
|
*
|
|
5580
5715
|
* @type {Array<ILevelBySports>}
|
|
5581
5716
|
* @memberof StaffUserProfileResponse
|
|
5582
5717
|
*/
|
|
5583
5718
|
'levelBySports'?: Array<ILevelBySports>;
|
|
5584
|
-
/**
|
|
5585
|
-
*
|
|
5586
|
-
* @type {string}
|
|
5587
|
-
* @memberof StaffUserProfileResponse
|
|
5588
|
-
*/
|
|
5589
|
-
'stripeCustomerId'?: string;
|
|
5590
5719
|
/**
|
|
5591
5720
|
*
|
|
5592
5721
|
* @type {string}
|
|
@@ -5659,30 +5788,6 @@ export interface StaffUserProfileResponse {
|
|
|
5659
5788
|
* @memberof StaffUserProfileResponse
|
|
5660
5789
|
*/
|
|
5661
5790
|
'isLevelCertified'?: boolean;
|
|
5662
|
-
/**
|
|
5663
|
-
*
|
|
5664
|
-
* @type {Array<string>}
|
|
5665
|
-
* @memberof StaffUserProfileResponse
|
|
5666
|
-
*/
|
|
5667
|
-
'paymentMethods'?: Array<string>;
|
|
5668
|
-
/**
|
|
5669
|
-
*
|
|
5670
|
-
* @type {string}
|
|
5671
|
-
* @memberof StaffUserProfileResponse
|
|
5672
|
-
*/
|
|
5673
|
-
'defaultPaymentMethodId'?: string;
|
|
5674
|
-
/**
|
|
5675
|
-
*
|
|
5676
|
-
* @type {boolean}
|
|
5677
|
-
* @memberof StaffUserProfileResponse
|
|
5678
|
-
*/
|
|
5679
|
-
'paymentMethodSetupCompleted': boolean;
|
|
5680
|
-
/**
|
|
5681
|
-
*
|
|
5682
|
-
* @type {string}
|
|
5683
|
-
* @memberof StaffUserProfileResponse
|
|
5684
|
-
*/
|
|
5685
|
-
'setupIntentId'?: string;
|
|
5686
5791
|
/**
|
|
5687
5792
|
*
|
|
5688
5793
|
* @type {Array<string>}
|
|
@@ -5713,6 +5818,12 @@ export interface StaffUserProfileResponse {
|
|
|
5713
5818
|
* @memberof StaffUserProfileResponse
|
|
5714
5819
|
*/
|
|
5715
5820
|
'sports'?: { [key: string]: any; };
|
|
5821
|
+
/**
|
|
5822
|
+
*
|
|
5823
|
+
* @type {string}
|
|
5824
|
+
* @memberof StaffUserProfileResponse
|
|
5825
|
+
*/
|
|
5826
|
+
'stripeCustomerId'?: string;
|
|
5716
5827
|
/**
|
|
5717
5828
|
*
|
|
5718
5829
|
* @type {boolean}
|
|
@@ -7006,6 +7117,12 @@ export interface SubscribeRequestBody {
|
|
|
7006
7117
|
* @memberof SubscribeRequestBody
|
|
7007
7118
|
*/
|
|
7008
7119
|
'priceId': string;
|
|
7120
|
+
/**
|
|
7121
|
+
*
|
|
7122
|
+
* @type {boolean}
|
|
7123
|
+
* @memberof SubscribeRequestBody
|
|
7124
|
+
*/
|
|
7125
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
7009
7126
|
}
|
|
7010
7127
|
/**
|
|
7011
7128
|
*
|
|
@@ -7026,6 +7143,31 @@ export interface SubscriberPrice {
|
|
|
7026
7143
|
*/
|
|
7027
7144
|
'amount': number;
|
|
7028
7145
|
}
|
|
7146
|
+
/**
|
|
7147
|
+
*
|
|
7148
|
+
* @export
|
|
7149
|
+
* @interface SubscriptionInfo
|
|
7150
|
+
*/
|
|
7151
|
+
export interface SubscriptionInfo {
|
|
7152
|
+
/**
|
|
7153
|
+
*
|
|
7154
|
+
* @type {string}
|
|
7155
|
+
* @memberof SubscriptionInfo
|
|
7156
|
+
*/
|
|
7157
|
+
'subscriptionPlanName'?: string;
|
|
7158
|
+
/**
|
|
7159
|
+
*
|
|
7160
|
+
* @type {string}
|
|
7161
|
+
* @memberof SubscriptionInfo
|
|
7162
|
+
*/
|
|
7163
|
+
'subscriptionDescription'?: string;
|
|
7164
|
+
/**
|
|
7165
|
+
*
|
|
7166
|
+
* @type {number}
|
|
7167
|
+
* @memberof SubscriptionInfo
|
|
7168
|
+
*/
|
|
7169
|
+
'reducedAmountInCents'?: number;
|
|
7170
|
+
}
|
|
7029
7171
|
/**
|
|
7030
7172
|
*
|
|
7031
7173
|
* @export
|
|
@@ -7650,32 +7792,69 @@ export interface UpdateUserRequestBody {
|
|
|
7650
7792
|
* @type {string}
|
|
7651
7793
|
* @memberof UpdateUserRequestBody
|
|
7652
7794
|
*/
|
|
7653
|
-
'description'?: string;
|
|
7795
|
+
'description'?: string;
|
|
7796
|
+
/**
|
|
7797
|
+
*
|
|
7798
|
+
* @type {RegisterRequestBodyLocation}
|
|
7799
|
+
* @memberof UpdateUserRequestBody
|
|
7800
|
+
*/
|
|
7801
|
+
'location'?: RegisterRequestBodyLocation;
|
|
7802
|
+
}
|
|
7803
|
+
/**
|
|
7804
|
+
*
|
|
7805
|
+
* @export
|
|
7806
|
+
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
7807
|
+
*/
|
|
7808
|
+
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
7809
|
+
/**
|
|
7810
|
+
*
|
|
7811
|
+
* @type {string}
|
|
7812
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
7813
|
+
*/
|
|
7814
|
+
'level': string;
|
|
7815
|
+
/**
|
|
7816
|
+
*
|
|
7817
|
+
* @type {string}
|
|
7818
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
7819
|
+
*/
|
|
7820
|
+
'sport': string;
|
|
7821
|
+
}
|
|
7822
|
+
/**
|
|
7823
|
+
*
|
|
7824
|
+
* @export
|
|
7825
|
+
* @interface UserBookingsResponse
|
|
7826
|
+
*/
|
|
7827
|
+
export interface UserBookingsResponse {
|
|
7828
|
+
/**
|
|
7829
|
+
*
|
|
7830
|
+
* @type {number}
|
|
7831
|
+
* @memberof UserBookingsResponse
|
|
7832
|
+
*/
|
|
7833
|
+
'total': number;
|
|
7834
|
+
/**
|
|
7835
|
+
*
|
|
7836
|
+
* @type {number}
|
|
7837
|
+
* @memberof UserBookingsResponse
|
|
7838
|
+
*/
|
|
7839
|
+
'limit': number;
|
|
7654
7840
|
/**
|
|
7655
7841
|
*
|
|
7656
|
-
* @type {
|
|
7657
|
-
* @memberof
|
|
7842
|
+
* @type {number}
|
|
7843
|
+
* @memberof UserBookingsResponse
|
|
7658
7844
|
*/
|
|
7659
|
-
'
|
|
7660
|
-
}
|
|
7661
|
-
/**
|
|
7662
|
-
*
|
|
7663
|
-
* @export
|
|
7664
|
-
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
7665
|
-
*/
|
|
7666
|
-
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
7845
|
+
'skip': number;
|
|
7667
7846
|
/**
|
|
7668
7847
|
*
|
|
7669
|
-
* @type {
|
|
7670
|
-
* @memberof
|
|
7848
|
+
* @type {boolean}
|
|
7849
|
+
* @memberof UserBookingsResponse
|
|
7671
7850
|
*/
|
|
7672
|
-
'
|
|
7851
|
+
'hasMore': boolean;
|
|
7673
7852
|
/**
|
|
7674
7853
|
*
|
|
7675
|
-
* @type {
|
|
7676
|
-
* @memberof
|
|
7854
|
+
* @type {Array<BookingSummary>}
|
|
7855
|
+
* @memberof UserBookingsResponse
|
|
7677
7856
|
*/
|
|
7678
|
-
'
|
|
7857
|
+
'bookings': Array<BookingSummary>;
|
|
7679
7858
|
}
|
|
7680
7859
|
/**
|
|
7681
7860
|
*
|
|
@@ -7941,24 +8120,12 @@ export interface UserProfileResponse {
|
|
|
7941
8120
|
* @memberof UserProfileResponse
|
|
7942
8121
|
*/
|
|
7943
8122
|
'isAccountVerified': boolean;
|
|
7944
|
-
/**
|
|
7945
|
-
*
|
|
7946
|
-
* @type {boolean}
|
|
7947
|
-
* @memberof UserProfileResponse
|
|
7948
|
-
*/
|
|
7949
|
-
'isCreditCardRegistered'?: boolean;
|
|
7950
8123
|
/**
|
|
7951
8124
|
*
|
|
7952
8125
|
* @type {Array<ILevelBySports>}
|
|
7953
8126
|
* @memberof UserProfileResponse
|
|
7954
8127
|
*/
|
|
7955
8128
|
'levelBySports'?: Array<ILevelBySports>;
|
|
7956
|
-
/**
|
|
7957
|
-
*
|
|
7958
|
-
* @type {string}
|
|
7959
|
-
* @memberof UserProfileResponse
|
|
7960
|
-
*/
|
|
7961
|
-
'stripeCustomerId'?: string;
|
|
7962
8129
|
/**
|
|
7963
8130
|
*
|
|
7964
8131
|
* @type {string}
|
|
@@ -8031,30 +8198,6 @@ export interface UserProfileResponse {
|
|
|
8031
8198
|
* @memberof UserProfileResponse
|
|
8032
8199
|
*/
|
|
8033
8200
|
'isLevelCertified'?: boolean;
|
|
8034
|
-
/**
|
|
8035
|
-
*
|
|
8036
|
-
* @type {Array<string>}
|
|
8037
|
-
* @memberof UserProfileResponse
|
|
8038
|
-
*/
|
|
8039
|
-
'paymentMethods'?: Array<string>;
|
|
8040
|
-
/**
|
|
8041
|
-
*
|
|
8042
|
-
* @type {string}
|
|
8043
|
-
* @memberof UserProfileResponse
|
|
8044
|
-
*/
|
|
8045
|
-
'defaultPaymentMethodId'?: string;
|
|
8046
|
-
/**
|
|
8047
|
-
*
|
|
8048
|
-
* @type {boolean}
|
|
8049
|
-
* @memberof UserProfileResponse
|
|
8050
|
-
*/
|
|
8051
|
-
'paymentMethodSetupCompleted': boolean;
|
|
8052
|
-
/**
|
|
8053
|
-
*
|
|
8054
|
-
* @type {string}
|
|
8055
|
-
* @memberof UserProfileResponse
|
|
8056
|
-
*/
|
|
8057
|
-
'setupIntentId'?: string;
|
|
8058
8201
|
/**
|
|
8059
8202
|
*
|
|
8060
8203
|
* @type {Array<string>}
|
|
@@ -8085,6 +8228,12 @@ export interface UserProfileResponse {
|
|
|
8085
8228
|
* @memberof UserProfileResponse
|
|
8086
8229
|
*/
|
|
8087
8230
|
'sports'?: { [key: string]: any; };
|
|
8231
|
+
/**
|
|
8232
|
+
*
|
|
8233
|
+
* @type {string}
|
|
8234
|
+
* @memberof UserProfileResponse
|
|
8235
|
+
*/
|
|
8236
|
+
'stripeCustomerId'?: string;
|
|
8088
8237
|
/**
|
|
8089
8238
|
*
|
|
8090
8239
|
* @type {number}
|
|
@@ -8121,6 +8270,12 @@ export interface UserProfileResponse {
|
|
|
8121
8270
|
* @memberof UserProfileResponse
|
|
8122
8271
|
*/
|
|
8123
8272
|
'stripeLinks'?: { [key: string]: any; };
|
|
8273
|
+
/**
|
|
8274
|
+
*
|
|
8275
|
+
* @type {Array<SportResponse>}
|
|
8276
|
+
* @memberof UserProfileResponse
|
|
8277
|
+
*/
|
|
8278
|
+
'verifiedSports'?: Array<SportResponse>;
|
|
8124
8279
|
}
|
|
8125
8280
|
|
|
8126
8281
|
|
|
@@ -8238,6 +8393,45 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8238
8393
|
options: localVarRequestOptions,
|
|
8239
8394
|
};
|
|
8240
8395
|
},
|
|
8396
|
+
/**
|
|
8397
|
+
*
|
|
8398
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
8399
|
+
* @param {*} [options] Override http request option.
|
|
8400
|
+
* @throws {RequiredError}
|
|
8401
|
+
*/
|
|
8402
|
+
getBookingPrice: async (bookingPriceBody: BookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8403
|
+
// verify required parameter 'bookingPriceBody' is not null or undefined
|
|
8404
|
+
assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody)
|
|
8405
|
+
const localVarPath = `/api/bookings/booking-price`;
|
|
8406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8407
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8408
|
+
let baseOptions;
|
|
8409
|
+
if (configuration) {
|
|
8410
|
+
baseOptions = configuration.baseOptions;
|
|
8411
|
+
}
|
|
8412
|
+
|
|
8413
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8414
|
+
const localVarHeaderParameter = {} as any;
|
|
8415
|
+
const localVarQueryParameter = {} as any;
|
|
8416
|
+
|
|
8417
|
+
// authentication bearerAuth required
|
|
8418
|
+
// http bearer authentication required
|
|
8419
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8420
|
+
|
|
8421
|
+
|
|
8422
|
+
|
|
8423
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8424
|
+
|
|
8425
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8426
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8427
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8428
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration)
|
|
8429
|
+
|
|
8430
|
+
return {
|
|
8431
|
+
url: toPathString(localVarUrlObj),
|
|
8432
|
+
options: localVarRequestOptions,
|
|
8433
|
+
};
|
|
8434
|
+
},
|
|
8241
8435
|
/**
|
|
8242
8436
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8243
8437
|
* @param {number} [latitude]
|
|
@@ -8248,12 +8442,13 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8248
8442
|
* @param {string} [startTime]
|
|
8249
8443
|
* @param {number} [priceMax]
|
|
8250
8444
|
* @param {string} [courtTypes]
|
|
8445
|
+
* @param {string} [surfaceTypes]
|
|
8251
8446
|
* @param {number} [limitPerClub]
|
|
8252
8447
|
* @param {number} [maxClubs]
|
|
8253
8448
|
* @param {*} [options] Override http request option.
|
|
8254
8449
|
* @throws {RequiredError}
|
|
8255
8450
|
*/
|
|
8256
|
-
getQuickReservationSlots: async (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8451
|
+
getQuickReservationSlots: async (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8257
8452
|
const localVarPath = `/api/bookings/quick-reservations`;
|
|
8258
8453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8259
8454
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8298,8 +8493,12 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8298
8493
|
localVarQueryParameter['courtTypes'] = courtTypes;
|
|
8299
8494
|
}
|
|
8300
8495
|
|
|
8496
|
+
if (surfaceTypes !== undefined) {
|
|
8497
|
+
localVarQueryParameter['surfaceTypes'] = surfaceTypes;
|
|
8498
|
+
}
|
|
8499
|
+
|
|
8301
8500
|
if (limitPerClub !== undefined) {
|
|
8302
|
-
localVarQueryParameter['
|
|
8501
|
+
localVarQueryParameter['_limitPerClub'] = limitPerClub;
|
|
8303
8502
|
}
|
|
8304
8503
|
|
|
8305
8504
|
if (maxClubs !== undefined) {
|
|
@@ -8339,6 +8538,18 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
8339
8538
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingHistory']?.[localVarOperationServerIndex]?.url;
|
|
8340
8539
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8341
8540
|
},
|
|
8541
|
+
/**
|
|
8542
|
+
*
|
|
8543
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
8544
|
+
* @param {*} [options] Override http request option.
|
|
8545
|
+
* @throws {RequiredError}
|
|
8546
|
+
*/
|
|
8547
|
+
async getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>> {
|
|
8548
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
|
|
8549
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8550
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
|
|
8551
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8552
|
+
},
|
|
8342
8553
|
/**
|
|
8343
8554
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8344
8555
|
* @param {number} [latitude]
|
|
@@ -8349,13 +8560,14 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
8349
8560
|
* @param {string} [startTime]
|
|
8350
8561
|
* @param {number} [priceMax]
|
|
8351
8562
|
* @param {string} [courtTypes]
|
|
8563
|
+
* @param {string} [surfaceTypes]
|
|
8352
8564
|
* @param {number} [limitPerClub]
|
|
8353
8565
|
* @param {number} [maxClubs]
|
|
8354
8566
|
* @param {*} [options] Override http request option.
|
|
8355
8567
|
* @throws {RequiredError}
|
|
8356
8568
|
*/
|
|
8357
|
-
async getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>> {
|
|
8358
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
|
|
8569
|
+
async getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>> {
|
|
8570
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options);
|
|
8359
8571
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8360
8572
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getQuickReservationSlots']?.[localVarOperationServerIndex]?.url;
|
|
8361
8573
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8379,6 +8591,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
8379
8591
|
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated> {
|
|
8380
8592
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
8381
8593
|
},
|
|
8594
|
+
/**
|
|
8595
|
+
*
|
|
8596
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8597
|
+
* @param {*} [options] Override http request option.
|
|
8598
|
+
* @throws {RequiredError}
|
|
8599
|
+
*/
|
|
8600
|
+
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>> {
|
|
8601
|
+
return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
|
|
8602
|
+
},
|
|
8382
8603
|
/**
|
|
8383
8604
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8384
8605
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -8386,7 +8607,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
8386
8607
|
* @throws {RequiredError}
|
|
8387
8608
|
*/
|
|
8388
8609
|
getQuickReservationSlots(requestParameters: BookingsApiGetQuickReservationSlotsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<QuickReservationResponse> {
|
|
8389
|
-
return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
|
|
8610
|
+
return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
|
|
8390
8611
|
},
|
|
8391
8612
|
};
|
|
8392
8613
|
};
|
|
@@ -8405,6 +8626,20 @@ export interface BookingsApiGetBookingHistoryRequest {
|
|
|
8405
8626
|
readonly bookingId: string
|
|
8406
8627
|
}
|
|
8407
8628
|
|
|
8629
|
+
/**
|
|
8630
|
+
* Request parameters for getBookingPrice operation in BookingsApi.
|
|
8631
|
+
* @export
|
|
8632
|
+
* @interface BookingsApiGetBookingPriceRequest
|
|
8633
|
+
*/
|
|
8634
|
+
export interface BookingsApiGetBookingPriceRequest {
|
|
8635
|
+
/**
|
|
8636
|
+
*
|
|
8637
|
+
* @type {BookingPriceBody}
|
|
8638
|
+
* @memberof BookingsApiGetBookingPrice
|
|
8639
|
+
*/
|
|
8640
|
+
readonly bookingPriceBody: BookingPriceBody
|
|
8641
|
+
}
|
|
8642
|
+
|
|
8408
8643
|
/**
|
|
8409
8644
|
* Request parameters for getQuickReservationSlots operation in BookingsApi.
|
|
8410
8645
|
* @export
|
|
@@ -8467,6 +8702,13 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
|
|
|
8467
8702
|
*/
|
|
8468
8703
|
readonly courtTypes?: string
|
|
8469
8704
|
|
|
8705
|
+
/**
|
|
8706
|
+
*
|
|
8707
|
+
* @type {string}
|
|
8708
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
8709
|
+
*/
|
|
8710
|
+
readonly surfaceTypes?: string
|
|
8711
|
+
|
|
8470
8712
|
/**
|
|
8471
8713
|
*
|
|
8472
8714
|
* @type {number}
|
|
@@ -8500,6 +8742,17 @@ export class BookingsApi extends BaseAPI {
|
|
|
8500
8742
|
return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
8501
8743
|
}
|
|
8502
8744
|
|
|
8745
|
+
/**
|
|
8746
|
+
*
|
|
8747
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8748
|
+
* @param {*} [options] Override http request option.
|
|
8749
|
+
* @throws {RequiredError}
|
|
8750
|
+
* @memberof BookingsApi
|
|
8751
|
+
*/
|
|
8752
|
+
public getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig) {
|
|
8753
|
+
return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
8754
|
+
}
|
|
8755
|
+
|
|
8503
8756
|
/**
|
|
8504
8757
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8505
8758
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -8508,7 +8761,7 @@ export class BookingsApi extends BaseAPI {
|
|
|
8508
8761
|
* @memberof BookingsApi
|
|
8509
8762
|
*/
|
|
8510
8763
|
public getQuickReservationSlots(requestParameters: BookingsApiGetQuickReservationSlotsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
8511
|
-
return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
|
|
8764
|
+
return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
|
|
8512
8765
|
}
|
|
8513
8766
|
}
|
|
8514
8767
|
|
|
@@ -9603,185 +9856,74 @@ export const ClubAnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
9603
9856
|
* @export
|
|
9604
9857
|
*/
|
|
9605
9858
|
export const ClubAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9606
|
-
const localVarFp = ClubAnalyticsApiFp(configuration)
|
|
9607
|
-
return {
|
|
9608
|
-
/**
|
|
9609
|
-
* Récupère les clubs les plus aimés
|
|
9610
|
-
* @param {*} [options] Override http request option.
|
|
9611
|
-
* @throws {RequiredError}
|
|
9612
|
-
*/
|
|
9613
|
-
getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
9614
|
-
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
9615
|
-
},
|
|
9616
|
-
/**
|
|
9617
|
-
* Récupère les clubs populaires
|
|
9618
|
-
* @param {*} [options] Override http request option.
|
|
9619
|
-
* @throws {RequiredError}
|
|
9620
|
-
*/
|
|
9621
|
-
getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
9622
|
-
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
9623
|
-
},
|
|
9624
|
-
};
|
|
9625
|
-
};
|
|
9626
|
-
|
|
9627
|
-
/**
|
|
9628
|
-
* ClubAnalyticsApi - object-oriented interface
|
|
9629
|
-
* @export
|
|
9630
|
-
* @class ClubAnalyticsApi
|
|
9631
|
-
* @extends {BaseAPI}
|
|
9632
|
-
*/
|
|
9633
|
-
export class ClubAnalyticsApi extends BaseAPI {
|
|
9634
|
-
/**
|
|
9635
|
-
* Récupère les clubs les plus aimés
|
|
9636
|
-
* @param {*} [options] Override http request option.
|
|
9637
|
-
* @throws {RequiredError}
|
|
9638
|
-
* @memberof ClubAnalyticsApi
|
|
9639
|
-
*/
|
|
9640
|
-
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
9641
|
-
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
9642
|
-
}
|
|
9643
|
-
|
|
9644
|
-
/**
|
|
9645
|
-
* Récupère les clubs populaires
|
|
9646
|
-
* @param {*} [options] Override http request option.
|
|
9647
|
-
* @throws {RequiredError}
|
|
9648
|
-
* @memberof ClubAnalyticsApi
|
|
9649
|
-
*/
|
|
9650
|
-
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
9651
|
-
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
9652
|
-
}
|
|
9653
|
-
}
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
/**
|
|
9658
|
-
* ClubAnalyticsStaffApi - axios parameter creator
|
|
9659
|
-
* @export
|
|
9660
|
-
*/
|
|
9661
|
-
export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9662
|
-
return {
|
|
9663
|
-
/**
|
|
9664
|
-
* Récupère les analytics par sport
|
|
9665
|
-
* @param {string} sportId
|
|
9666
|
-
* @param {*} [options] Override http request option.
|
|
9667
|
-
* @throws {RequiredError}
|
|
9668
|
-
*/
|
|
9669
|
-
getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9670
|
-
// verify required parameter 'sportId' is not null or undefined
|
|
9671
|
-
assertParamExists('getAnalyticsBySport', 'sportId', sportId)
|
|
9672
|
-
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
9673
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
9674
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9675
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9676
|
-
let baseOptions;
|
|
9677
|
-
if (configuration) {
|
|
9678
|
-
baseOptions = configuration.baseOptions;
|
|
9679
|
-
}
|
|
9680
|
-
|
|
9681
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9682
|
-
const localVarHeaderParameter = {} as any;
|
|
9683
|
-
const localVarQueryParameter = {} as any;
|
|
9684
|
-
|
|
9685
|
-
// authentication bearerAuth required
|
|
9686
|
-
// http bearer authentication required
|
|
9687
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
|
|
9691
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9692
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9693
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9694
|
-
|
|
9695
|
-
return {
|
|
9696
|
-
url: toPathString(localVarUrlObj),
|
|
9697
|
-
options: localVarRequestOptions,
|
|
9698
|
-
};
|
|
9699
|
-
},
|
|
9700
|
-
/**
|
|
9701
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
9702
|
-
* @param {string} playerId
|
|
9703
|
-
* @param {*} [options] Override http request option.
|
|
9704
|
-
* @throws {RequiredError}
|
|
9705
|
-
*/
|
|
9706
|
-
getClubPlayerBookingsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9707
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
9708
|
-
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
|
|
9709
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
9710
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
9711
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9712
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9713
|
-
let baseOptions;
|
|
9714
|
-
if (configuration) {
|
|
9715
|
-
baseOptions = configuration.baseOptions;
|
|
9716
|
-
}
|
|
9717
|
-
|
|
9718
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9719
|
-
const localVarHeaderParameter = {} as any;
|
|
9720
|
-
const localVarQueryParameter = {} as any;
|
|
9721
|
-
|
|
9722
|
-
// authentication bearerAuth required
|
|
9723
|
-
// http bearer authentication required
|
|
9724
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9729
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9730
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9731
|
-
|
|
9732
|
-
return {
|
|
9733
|
-
url: toPathString(localVarUrlObj),
|
|
9734
|
-
options: localVarRequestOptions,
|
|
9735
|
-
};
|
|
9859
|
+
const localVarFp = ClubAnalyticsApiFp(configuration)
|
|
9860
|
+
return {
|
|
9861
|
+
/**
|
|
9862
|
+
* Récupère les clubs les plus aimés
|
|
9863
|
+
* @param {*} [options] Override http request option.
|
|
9864
|
+
* @throws {RequiredError}
|
|
9865
|
+
*/
|
|
9866
|
+
getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
9867
|
+
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
9736
9868
|
},
|
|
9737
9869
|
/**
|
|
9738
|
-
* Récupère les
|
|
9739
|
-
* @param {string} playerId
|
|
9870
|
+
* Récupère les clubs populaires
|
|
9740
9871
|
* @param {*} [options] Override http request option.
|
|
9741
9872
|
* @throws {RequiredError}
|
|
9742
9873
|
*/
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9749
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9750
|
-
let baseOptions;
|
|
9751
|
-
if (configuration) {
|
|
9752
|
-
baseOptions = configuration.baseOptions;
|
|
9753
|
-
}
|
|
9874
|
+
getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
9875
|
+
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
9876
|
+
},
|
|
9877
|
+
};
|
|
9878
|
+
};
|
|
9754
9879
|
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9880
|
+
/**
|
|
9881
|
+
* ClubAnalyticsApi - object-oriented interface
|
|
9882
|
+
* @export
|
|
9883
|
+
* @class ClubAnalyticsApi
|
|
9884
|
+
* @extends {BaseAPI}
|
|
9885
|
+
*/
|
|
9886
|
+
export class ClubAnalyticsApi extends BaseAPI {
|
|
9887
|
+
/**
|
|
9888
|
+
* Récupère les clubs les plus aimés
|
|
9889
|
+
* @param {*} [options] Override http request option.
|
|
9890
|
+
* @throws {RequiredError}
|
|
9891
|
+
* @memberof ClubAnalyticsApi
|
|
9892
|
+
*/
|
|
9893
|
+
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
9894
|
+
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
9895
|
+
}
|
|
9758
9896
|
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9897
|
+
/**
|
|
9898
|
+
* Récupère les clubs populaires
|
|
9899
|
+
* @param {*} [options] Override http request option.
|
|
9900
|
+
* @throws {RequiredError}
|
|
9901
|
+
* @memberof ClubAnalyticsApi
|
|
9902
|
+
*/
|
|
9903
|
+
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
9904
|
+
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
9905
|
+
}
|
|
9906
|
+
}
|
|
9762
9907
|
|
|
9763
9908
|
|
|
9764
|
-
|
|
9765
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9766
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9767
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9768
9909
|
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9910
|
+
/**
|
|
9911
|
+
* ClubAnalyticsStaffApi - axios parameter creator
|
|
9912
|
+
* @export
|
|
9913
|
+
*/
|
|
9914
|
+
export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9915
|
+
return {
|
|
9774
9916
|
/**
|
|
9775
|
-
* Récupère les
|
|
9776
|
-
* @param {string}
|
|
9917
|
+
* Récupère les analytics par sport
|
|
9918
|
+
* @param {string} sportId
|
|
9777
9919
|
* @param {*} [options] Override http request option.
|
|
9778
9920
|
* @throws {RequiredError}
|
|
9779
9921
|
*/
|
|
9780
|
-
|
|
9781
|
-
// verify required parameter '
|
|
9782
|
-
assertParamExists('
|
|
9783
|
-
const localVarPath = `/api/club-analytics/
|
|
9784
|
-
.replace(`{${"
|
|
9922
|
+
getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9923
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
9924
|
+
assertParamExists('getAnalyticsBySport', 'sportId', sportId)
|
|
9925
|
+
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
9926
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
9785
9927
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9786
9928
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9787
9929
|
let baseOptions;
|
|
@@ -10165,42 +10307,6 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
10165
10307
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
|
|
10166
10308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10167
10309
|
},
|
|
10168
|
-
/**
|
|
10169
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
10170
|
-
* @param {string} playerId
|
|
10171
|
-
* @param {*} [options] Override http request option.
|
|
10172
|
-
* @throws {RequiredError}
|
|
10173
|
-
*/
|
|
10174
|
-
async getClubPlayerBookingsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>> {
|
|
10175
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
|
|
10176
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10177
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']?.[localVarOperationServerIndex]?.url;
|
|
10178
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10179
|
-
},
|
|
10180
|
-
/**
|
|
10181
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
10182
|
-
* @param {string} playerId
|
|
10183
|
-
* @param {*} [options] Override http request option.
|
|
10184
|
-
* @throws {RequiredError}
|
|
10185
|
-
*/
|
|
10186
|
-
async getClubPlayerById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerDetailResponse>> {
|
|
10187
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerById(playerId, options);
|
|
10188
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10189
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']?.[localVarOperationServerIndex]?.url;
|
|
10190
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10191
|
-
},
|
|
10192
|
-
/**
|
|
10193
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
10194
|
-
* @param {string} playerId
|
|
10195
|
-
* @param {*} [options] Override http request option.
|
|
10196
|
-
* @throws {RequiredError}
|
|
10197
|
-
*/
|
|
10198
|
-
async getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>> {
|
|
10199
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
|
|
10200
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10201
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']?.[localVarOperationServerIndex]?.url;
|
|
10202
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10203
|
-
},
|
|
10204
10310
|
/**
|
|
10205
10311
|
* Récupère la liste des joueurs du club
|
|
10206
10312
|
* @param {*} [options] Override http request option.
|
|
@@ -10325,33 +10431,6 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
10325
10431
|
getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
|
|
10326
10432
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
10327
10433
|
},
|
|
10328
|
-
/**
|
|
10329
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
10330
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
10331
|
-
* @param {*} [options] Override http request option.
|
|
10332
|
-
* @throws {RequiredError}
|
|
10333
|
-
*/
|
|
10334
|
-
getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse> {
|
|
10335
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
10336
|
-
},
|
|
10337
|
-
/**
|
|
10338
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
10339
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
10340
|
-
* @param {*} [options] Override http request option.
|
|
10341
|
-
* @throws {RequiredError}
|
|
10342
|
-
*/
|
|
10343
|
-
getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerDetailResponse> {
|
|
10344
|
-
return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
10345
|
-
},
|
|
10346
|
-
/**
|
|
10347
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
10348
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
10349
|
-
* @param {*} [options] Override http request option.
|
|
10350
|
-
* @throws {RequiredError}
|
|
10351
|
-
*/
|
|
10352
|
-
getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse> {
|
|
10353
|
-
return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
10354
|
-
},
|
|
10355
10434
|
/**
|
|
10356
10435
|
* Récupère la liste des joueurs du club
|
|
10357
10436
|
* @param {*} [options] Override http request option.
|
|
@@ -10445,48 +10524,6 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
|
|
|
10445
10524
|
readonly sportId: string
|
|
10446
10525
|
}
|
|
10447
10526
|
|
|
10448
|
-
/**
|
|
10449
|
-
* Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
|
|
10450
|
-
* @export
|
|
10451
|
-
* @interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest
|
|
10452
|
-
*/
|
|
10453
|
-
export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
|
|
10454
|
-
/**
|
|
10455
|
-
*
|
|
10456
|
-
* @type {string}
|
|
10457
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
|
|
10458
|
-
*/
|
|
10459
|
-
readonly playerId: string
|
|
10460
|
-
}
|
|
10461
|
-
|
|
10462
|
-
/**
|
|
10463
|
-
* Request parameters for getClubPlayerById operation in ClubAnalyticsStaffApi.
|
|
10464
|
-
* @export
|
|
10465
|
-
* @interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest
|
|
10466
|
-
*/
|
|
10467
|
-
export interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest {
|
|
10468
|
-
/**
|
|
10469
|
-
*
|
|
10470
|
-
* @type {string}
|
|
10471
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerById
|
|
10472
|
-
*/
|
|
10473
|
-
readonly playerId: string
|
|
10474
|
-
}
|
|
10475
|
-
|
|
10476
|
-
/**
|
|
10477
|
-
* Request parameters for getClubPlayerStatisticsById operation in ClubAnalyticsStaffApi.
|
|
10478
|
-
* @export
|
|
10479
|
-
* @interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest
|
|
10480
|
-
*/
|
|
10481
|
-
export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
|
|
10482
|
-
/**
|
|
10483
|
-
*
|
|
10484
|
-
* @type {string}
|
|
10485
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerStatisticsById
|
|
10486
|
-
*/
|
|
10487
|
-
readonly playerId: string
|
|
10488
|
-
}
|
|
10489
|
-
|
|
10490
10527
|
/**
|
|
10491
10528
|
* Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
|
|
10492
10529
|
* @export
|
|
@@ -10575,39 +10612,6 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
10575
10612
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
10576
10613
|
}
|
|
10577
10614
|
|
|
10578
|
-
/**
|
|
10579
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
10580
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
10581
|
-
* @param {*} [options] Override http request option.
|
|
10582
|
-
* @throws {RequiredError}
|
|
10583
|
-
* @memberof ClubAnalyticsStaffApi
|
|
10584
|
-
*/
|
|
10585
|
-
public getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig) {
|
|
10586
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
10587
|
-
}
|
|
10588
|
-
|
|
10589
|
-
/**
|
|
10590
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
10591
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
10592
|
-
* @param {*} [options] Override http request option.
|
|
10593
|
-
* @throws {RequiredError}
|
|
10594
|
-
* @memberof ClubAnalyticsStaffApi
|
|
10595
|
-
*/
|
|
10596
|
-
public getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig) {
|
|
10597
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
10598
|
-
}
|
|
10599
|
-
|
|
10600
|
-
/**
|
|
10601
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
10602
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
10603
|
-
* @param {*} [options] Override http request option.
|
|
10604
|
-
* @throws {RequiredError}
|
|
10605
|
-
* @memberof ClubAnalyticsStaffApi
|
|
10606
|
-
*/
|
|
10607
|
-
public getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig) {
|
|
10608
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
10609
|
-
}
|
|
10610
|
-
|
|
10611
10615
|
/**
|
|
10612
10616
|
* Récupère la liste des joueurs du club
|
|
10613
10617
|
* @param {*} [options] Override http request option.
|
|
@@ -15995,64 +15999,161 @@ export interface SportsManagerApiDeleteSportRequest {
|
|
|
15995
15999
|
}
|
|
15996
16000
|
|
|
15997
16001
|
/**
|
|
15998
|
-
* Request parameters for updateSport operation in SportsManagerApi.
|
|
16002
|
+
* Request parameters for updateSport operation in SportsManagerApi.
|
|
16003
|
+
* @export
|
|
16004
|
+
* @interface SportsManagerApiUpdateSportRequest
|
|
16005
|
+
*/
|
|
16006
|
+
export interface SportsManagerApiUpdateSportRequest {
|
|
16007
|
+
/**
|
|
16008
|
+
*
|
|
16009
|
+
* @type {string}
|
|
16010
|
+
* @memberof SportsManagerApiUpdateSport
|
|
16011
|
+
*/
|
|
16012
|
+
readonly id: string
|
|
16013
|
+
|
|
16014
|
+
/**
|
|
16015
|
+
*
|
|
16016
|
+
* @type {UpdateSportRequest}
|
|
16017
|
+
* @memberof SportsManagerApiUpdateSport
|
|
16018
|
+
*/
|
|
16019
|
+
readonly updateSportRequest: UpdateSportRequest
|
|
16020
|
+
}
|
|
16021
|
+
|
|
16022
|
+
/**
|
|
16023
|
+
* SportsManagerApi - object-oriented interface
|
|
16024
|
+
* @export
|
|
16025
|
+
* @class SportsManagerApi
|
|
16026
|
+
* @extends {BaseAPI}
|
|
16027
|
+
*/
|
|
16028
|
+
export class SportsManagerApi extends BaseAPI {
|
|
16029
|
+
/**
|
|
16030
|
+
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
16031
|
+
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
16032
|
+
* @param {*} [options] Override http request option.
|
|
16033
|
+
* @throws {RequiredError}
|
|
16034
|
+
* @memberof SportsManagerApi
|
|
16035
|
+
*/
|
|
16036
|
+
public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
|
|
16037
|
+
return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16038
|
+
}
|
|
16039
|
+
|
|
16040
|
+
/**
|
|
16041
|
+
* Supprime un sport (interdit si vérifié)
|
|
16042
|
+
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
16043
|
+
* @param {*} [options] Override http request option.
|
|
16044
|
+
* @throws {RequiredError}
|
|
16045
|
+
* @memberof SportsManagerApi
|
|
16046
|
+
*/
|
|
16047
|
+
public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
|
|
16048
|
+
return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
16049
|
+
}
|
|
16050
|
+
|
|
16051
|
+
/**
|
|
16052
|
+
* Met à jour un sport (interdit si vérifié)
|
|
16053
|
+
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
16054
|
+
* @param {*} [options] Override http request option.
|
|
16055
|
+
* @throws {RequiredError}
|
|
16056
|
+
* @memberof SportsManagerApi
|
|
16057
|
+
*/
|
|
16058
|
+
public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
|
|
16059
|
+
return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16060
|
+
}
|
|
16061
|
+
}
|
|
16062
|
+
|
|
16063
|
+
|
|
16064
|
+
|
|
16065
|
+
/**
|
|
16066
|
+
* SportsPublicApi - axios parameter creator
|
|
16067
|
+
* @export
|
|
16068
|
+
*/
|
|
16069
|
+
export const SportsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
16070
|
+
return {
|
|
16071
|
+
/**
|
|
16072
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
16073
|
+
* @param {*} [options] Override http request option.
|
|
16074
|
+
* @throws {RequiredError}
|
|
16075
|
+
*/
|
|
16076
|
+
getVerifiedSports: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16077
|
+
const localVarPath = `/api/sports/verified`;
|
|
16078
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16079
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16080
|
+
let baseOptions;
|
|
16081
|
+
if (configuration) {
|
|
16082
|
+
baseOptions = configuration.baseOptions;
|
|
16083
|
+
}
|
|
16084
|
+
|
|
16085
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16086
|
+
const localVarHeaderParameter = {} as any;
|
|
16087
|
+
const localVarQueryParameter = {} as any;
|
|
16088
|
+
|
|
16089
|
+
|
|
16090
|
+
|
|
16091
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16092
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16093
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16094
|
+
|
|
16095
|
+
return {
|
|
16096
|
+
url: toPathString(localVarUrlObj),
|
|
16097
|
+
options: localVarRequestOptions,
|
|
16098
|
+
};
|
|
16099
|
+
},
|
|
16100
|
+
}
|
|
16101
|
+
};
|
|
16102
|
+
|
|
16103
|
+
/**
|
|
16104
|
+
* SportsPublicApi - functional programming interface
|
|
15999
16105
|
* @export
|
|
16000
|
-
* @interface SportsManagerApiUpdateSportRequest
|
|
16001
16106
|
*/
|
|
16002
|
-
export
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16107
|
+
export const SportsPublicApiFp = function(configuration?: Configuration) {
|
|
16108
|
+
const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration)
|
|
16109
|
+
return {
|
|
16110
|
+
/**
|
|
16111
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
16112
|
+
* @param {*} [options] Override http request option.
|
|
16113
|
+
* @throws {RequiredError}
|
|
16114
|
+
*/
|
|
16115
|
+
async getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>> {
|
|
16116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVerifiedSports(options);
|
|
16117
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16118
|
+
const localVarOperationServerBasePath = operationServerMap['SportsPublicApi.getVerifiedSports']?.[localVarOperationServerIndex]?.url;
|
|
16119
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16120
|
+
},
|
|
16121
|
+
}
|
|
16122
|
+
};
|
|
16009
16123
|
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16124
|
+
/**
|
|
16125
|
+
* SportsPublicApi - factory interface
|
|
16126
|
+
* @export
|
|
16127
|
+
*/
|
|
16128
|
+
export const SportsPublicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16129
|
+
const localVarFp = SportsPublicApiFp(configuration)
|
|
16130
|
+
return {
|
|
16131
|
+
/**
|
|
16132
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
16133
|
+
* @param {*} [options] Override http request option.
|
|
16134
|
+
* @throws {RequiredError}
|
|
16135
|
+
*/
|
|
16136
|
+
getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
|
|
16137
|
+
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
16138
|
+
},
|
|
16139
|
+
};
|
|
16140
|
+
};
|
|
16017
16141
|
|
|
16018
16142
|
/**
|
|
16019
|
-
*
|
|
16143
|
+
* SportsPublicApi - object-oriented interface
|
|
16020
16144
|
* @export
|
|
16021
|
-
* @class
|
|
16145
|
+
* @class SportsPublicApi
|
|
16022
16146
|
* @extends {BaseAPI}
|
|
16023
16147
|
*/
|
|
16024
|
-
export class
|
|
16025
|
-
/**
|
|
16026
|
-
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
16027
|
-
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
16028
|
-
* @param {*} [options] Override http request option.
|
|
16029
|
-
* @throws {RequiredError}
|
|
16030
|
-
* @memberof SportsManagerApi
|
|
16031
|
-
*/
|
|
16032
|
-
public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
|
|
16033
|
-
return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16034
|
-
}
|
|
16035
|
-
|
|
16036
|
-
/**
|
|
16037
|
-
* Supprime un sport (interdit si vérifié)
|
|
16038
|
-
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
16039
|
-
* @param {*} [options] Override http request option.
|
|
16040
|
-
* @throws {RequiredError}
|
|
16041
|
-
* @memberof SportsManagerApi
|
|
16042
|
-
*/
|
|
16043
|
-
public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
|
|
16044
|
-
return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
16045
|
-
}
|
|
16046
|
-
|
|
16148
|
+
export class SportsPublicApi extends BaseAPI {
|
|
16047
16149
|
/**
|
|
16048
|
-
*
|
|
16049
|
-
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
16150
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
16050
16151
|
* @param {*} [options] Override http request option.
|
|
16051
16152
|
* @throws {RequiredError}
|
|
16052
|
-
* @memberof
|
|
16153
|
+
* @memberof SportsPublicApi
|
|
16053
16154
|
*/
|
|
16054
|
-
public
|
|
16055
|
-
return
|
|
16155
|
+
public getVerifiedSports(options?: RawAxiosRequestConfig) {
|
|
16156
|
+
return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
|
|
16056
16157
|
}
|
|
16057
16158
|
}
|
|
16058
16159
|
|
|
@@ -17169,45 +17270,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17169
17270
|
options: localVarRequestOptions,
|
|
17170
17271
|
};
|
|
17171
17272
|
},
|
|
17172
|
-
/**
|
|
17173
|
-
*
|
|
17174
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
17175
|
-
* @param {*} [options] Override http request option.
|
|
17176
|
-
* @throws {RequiredError}
|
|
17177
|
-
*/
|
|
17178
|
-
addPaymentMethodSetup: async (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17179
|
-
// verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
|
|
17180
|
-
assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody)
|
|
17181
|
-
const localVarPath = `/api/users/addPaymentMethodSetup`;
|
|
17182
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17183
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17184
|
-
let baseOptions;
|
|
17185
|
-
if (configuration) {
|
|
17186
|
-
baseOptions = configuration.baseOptions;
|
|
17187
|
-
}
|
|
17188
|
-
|
|
17189
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17190
|
-
const localVarHeaderParameter = {} as any;
|
|
17191
|
-
const localVarQueryParameter = {} as any;
|
|
17192
|
-
|
|
17193
|
-
// authentication bearerAuth required
|
|
17194
|
-
// http bearer authentication required
|
|
17195
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17196
|
-
|
|
17197
|
-
|
|
17198
|
-
|
|
17199
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17200
|
-
|
|
17201
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17202
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17203
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17204
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration)
|
|
17205
|
-
|
|
17206
|
-
return {
|
|
17207
|
-
url: toPathString(localVarUrlObj),
|
|
17208
|
-
options: localVarRequestOptions,
|
|
17209
|
-
};
|
|
17210
|
-
},
|
|
17211
17273
|
/**
|
|
17212
17274
|
*
|
|
17213
17275
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -17247,45 +17309,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17247
17309
|
options: localVarRequestOptions,
|
|
17248
17310
|
};
|
|
17249
17311
|
},
|
|
17250
|
-
/**
|
|
17251
|
-
*
|
|
17252
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
17253
|
-
* @param {*} [options] Override http request option.
|
|
17254
|
-
* @throws {RequiredError}
|
|
17255
|
-
*/
|
|
17256
|
-
confirmPaymentMethodSetup: async (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17257
|
-
// verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
|
|
17258
|
-
assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody)
|
|
17259
|
-
const localVarPath = `/api/users/confirmPaymentMethodSetup`;
|
|
17260
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17261
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17262
|
-
let baseOptions;
|
|
17263
|
-
if (configuration) {
|
|
17264
|
-
baseOptions = configuration.baseOptions;
|
|
17265
|
-
}
|
|
17266
|
-
|
|
17267
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17268
|
-
const localVarHeaderParameter = {} as any;
|
|
17269
|
-
const localVarQueryParameter = {} as any;
|
|
17270
|
-
|
|
17271
|
-
// authentication bearerAuth required
|
|
17272
|
-
// http bearer authentication required
|
|
17273
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17274
|
-
|
|
17275
|
-
|
|
17276
|
-
|
|
17277
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17278
|
-
|
|
17279
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17280
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17281
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17282
|
-
localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration)
|
|
17283
|
-
|
|
17284
|
-
return {
|
|
17285
|
-
url: toPathString(localVarUrlObj),
|
|
17286
|
-
options: localVarRequestOptions,
|
|
17287
|
-
};
|
|
17288
|
-
},
|
|
17289
17312
|
/**
|
|
17290
17313
|
*
|
|
17291
17314
|
* @param {*} [options] Override http request option.
|
|
@@ -18222,45 +18245,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18222
18245
|
options: localVarRequestOptions,
|
|
18223
18246
|
};
|
|
18224
18247
|
},
|
|
18225
|
-
/**
|
|
18226
|
-
*
|
|
18227
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
18228
|
-
* @param {*} [options] Override http request option.
|
|
18229
|
-
* @throws {RequiredError}
|
|
18230
|
-
*/
|
|
18231
|
-
setupOffSessionPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18232
|
-
// verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
|
|
18233
|
-
assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
|
|
18234
|
-
const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
|
|
18235
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18236
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18237
|
-
let baseOptions;
|
|
18238
|
-
if (configuration) {
|
|
18239
|
-
baseOptions = configuration.baseOptions;
|
|
18240
|
-
}
|
|
18241
|
-
|
|
18242
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18243
|
-
const localVarHeaderParameter = {} as any;
|
|
18244
|
-
const localVarQueryParameter = {} as any;
|
|
18245
|
-
|
|
18246
|
-
// authentication bearerAuth required
|
|
18247
|
-
// http bearer authentication required
|
|
18248
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18249
|
-
|
|
18250
|
-
|
|
18251
|
-
|
|
18252
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18253
|
-
|
|
18254
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18255
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18256
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18257
|
-
localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration)
|
|
18258
|
-
|
|
18259
|
-
return {
|
|
18260
|
-
url: toPathString(localVarUrlObj),
|
|
18261
|
-
options: localVarRequestOptions,
|
|
18262
|
-
};
|
|
18263
|
-
},
|
|
18264
18248
|
/**
|
|
18265
18249
|
*
|
|
18266
18250
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -18568,18 +18552,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
18568
18552
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
|
|
18569
18553
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18570
18554
|
},
|
|
18571
|
-
/**
|
|
18572
|
-
*
|
|
18573
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
18574
|
-
* @param {*} [options] Override http request option.
|
|
18575
|
-
* @throws {RequiredError}
|
|
18576
|
-
*/
|
|
18577
|
-
async addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>> {
|
|
18578
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
|
|
18579
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18580
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.addPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
|
|
18581
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18582
|
-
},
|
|
18583
18555
|
/**
|
|
18584
18556
|
*
|
|
18585
18557
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -18592,18 +18564,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
18592
18564
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
|
|
18593
18565
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18594
18566
|
},
|
|
18595
|
-
/**
|
|
18596
|
-
*
|
|
18597
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
18598
|
-
* @param {*} [options] Override http request option.
|
|
18599
|
-
* @throws {RequiredError}
|
|
18600
|
-
*/
|
|
18601
|
-
async confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>> {
|
|
18602
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
|
|
18603
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18604
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.confirmPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
|
|
18605
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18606
|
-
},
|
|
18607
18567
|
/**
|
|
18608
18568
|
*
|
|
18609
18569
|
* @param {*} [options] Override http request option.
|
|
@@ -18756,7 +18716,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
18756
18716
|
* @param {*} [options] Override http request option.
|
|
18757
18717
|
* @throws {RequiredError}
|
|
18758
18718
|
*/
|
|
18759
|
-
async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18719
|
+
async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>> {
|
|
18760
18720
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBookings(limit, skip, options);
|
|
18761
18721
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18762
18722
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18902,18 +18862,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
18902
18862
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
|
|
18903
18863
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18904
18864
|
},
|
|
18905
|
-
/**
|
|
18906
|
-
*
|
|
18907
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
18908
|
-
* @param {*} [options] Override http request option.
|
|
18909
|
-
* @throws {RequiredError}
|
|
18910
|
-
*/
|
|
18911
|
-
async setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
|
|
18912
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
|
|
18913
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18914
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.setupOffSessionPaymentMethod']?.[localVarOperationServerIndex]?.url;
|
|
18915
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18916
|
-
},
|
|
18917
18865
|
/**
|
|
18918
18866
|
*
|
|
18919
18867
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -19035,15 +18983,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
19035
18983
|
addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
19036
18984
|
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
19037
18985
|
},
|
|
19038
|
-
/**
|
|
19039
|
-
*
|
|
19040
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
19041
|
-
* @param {*} [options] Override http request option.
|
|
19042
|
-
* @throws {RequiredError}
|
|
19043
|
-
*/
|
|
19044
|
-
addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse> {
|
|
19045
|
-
return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
19046
|
-
},
|
|
19047
18986
|
/**
|
|
19048
18987
|
*
|
|
19049
18988
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -19053,15 +18992,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
19053
18992
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
|
|
19054
18993
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
19055
18994
|
},
|
|
19056
|
-
/**
|
|
19057
|
-
*
|
|
19058
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
19059
|
-
* @param {*} [options] Override http request option.
|
|
19060
|
-
* @throws {RequiredError}
|
|
19061
|
-
*/
|
|
19062
|
-
confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse> {
|
|
19063
|
-
return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
19064
|
-
},
|
|
19065
18995
|
/**
|
|
19066
18996
|
*
|
|
19067
18997
|
* @param {*} [options] Override http request option.
|
|
@@ -19169,7 +19099,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
19169
19099
|
* @param {*} [options] Override http request option.
|
|
19170
19100
|
* @throws {RequiredError}
|
|
19171
19101
|
*/
|
|
19172
|
-
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
19102
|
+
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
|
|
19173
19103
|
return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
19174
19104
|
},
|
|
19175
19105
|
/**
|
|
@@ -19270,15 +19200,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
19270
19200
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
19271
19201
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
19272
19202
|
},
|
|
19273
|
-
/**
|
|
19274
|
-
*
|
|
19275
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
19276
|
-
* @param {*} [options] Override http request option.
|
|
19277
|
-
* @throws {RequiredError}
|
|
19278
|
-
*/
|
|
19279
|
-
setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
|
|
19280
|
-
return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
19281
|
-
},
|
|
19282
19203
|
/**
|
|
19283
19204
|
*
|
|
19284
19205
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -19387,20 +19308,6 @@ export interface UsersApiAddOrganizationRequest {
|
|
|
19387
19308
|
readonly addOrganizationRequest: AddOrganizationRequest
|
|
19388
19309
|
}
|
|
19389
19310
|
|
|
19390
|
-
/**
|
|
19391
|
-
* Request parameters for addPaymentMethodSetup operation in UsersApi.
|
|
19392
|
-
* @export
|
|
19393
|
-
* @interface UsersApiAddPaymentMethodSetupRequest
|
|
19394
|
-
*/
|
|
19395
|
-
export interface UsersApiAddPaymentMethodSetupRequest {
|
|
19396
|
-
/**
|
|
19397
|
-
*
|
|
19398
|
-
* @type {AddPaymentMethodRequestBody}
|
|
19399
|
-
* @memberof UsersApiAddPaymentMethodSetup
|
|
19400
|
-
*/
|
|
19401
|
-
readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody
|
|
19402
|
-
}
|
|
19403
|
-
|
|
19404
19311
|
/**
|
|
19405
19312
|
* Request parameters for changePassword operation in UsersApi.
|
|
19406
19313
|
* @export
|
|
@@ -19415,20 +19322,6 @@ export interface UsersApiChangePasswordRequest {
|
|
|
19415
19322
|
readonly changePasswordRequestBody: ChangePasswordRequestBody
|
|
19416
19323
|
}
|
|
19417
19324
|
|
|
19418
|
-
/**
|
|
19419
|
-
* Request parameters for confirmPaymentMethodSetup operation in UsersApi.
|
|
19420
|
-
* @export
|
|
19421
|
-
* @interface UsersApiConfirmPaymentMethodSetupRequest
|
|
19422
|
-
*/
|
|
19423
|
-
export interface UsersApiConfirmPaymentMethodSetupRequest {
|
|
19424
|
-
/**
|
|
19425
|
-
*
|
|
19426
|
-
* @type {ConfirmPaymentMethodRequestBody}
|
|
19427
|
-
* @memberof UsersApiConfirmPaymentMethodSetup
|
|
19428
|
-
*/
|
|
19429
|
-
readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody
|
|
19430
|
-
}
|
|
19431
|
-
|
|
19432
19325
|
/**
|
|
19433
19326
|
* Request parameters for getBookingDetail operation in UsersApi.
|
|
19434
19327
|
* @export
|
|
@@ -19779,20 +19672,6 @@ export interface UsersApiResetPasswordRequest {
|
|
|
19779
19672
|
readonly resetPasswordRequest: ResetPasswordRequest
|
|
19780
19673
|
}
|
|
19781
19674
|
|
|
19782
|
-
/**
|
|
19783
|
-
* Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
|
|
19784
|
-
* @export
|
|
19785
|
-
* @interface UsersApiSetupOffSessionPaymentMethodRequest
|
|
19786
|
-
*/
|
|
19787
|
-
export interface UsersApiSetupOffSessionPaymentMethodRequest {
|
|
19788
|
-
/**
|
|
19789
|
-
*
|
|
19790
|
-
* @type {SetupPaymentMethodRequestBody}
|
|
19791
|
-
* @memberof UsersApiSetupOffSessionPaymentMethod
|
|
19792
|
-
*/
|
|
19793
|
-
readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody
|
|
19794
|
-
}
|
|
19795
|
-
|
|
19796
19675
|
/**
|
|
19797
19676
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
19798
19677
|
* @export
|
|
@@ -19931,17 +19810,6 @@ export class UsersApi extends BaseAPI {
|
|
|
19931
19810
|
return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19932
19811
|
}
|
|
19933
19812
|
|
|
19934
|
-
/**
|
|
19935
|
-
*
|
|
19936
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
19937
|
-
* @param {*} [options] Override http request option.
|
|
19938
|
-
* @throws {RequiredError}
|
|
19939
|
-
* @memberof UsersApi
|
|
19940
|
-
*/
|
|
19941
|
-
public addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
|
|
19942
|
-
return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
19943
|
-
}
|
|
19944
|
-
|
|
19945
19813
|
/**
|
|
19946
19814
|
*
|
|
19947
19815
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -19953,17 +19821,6 @@ export class UsersApi extends BaseAPI {
|
|
|
19953
19821
|
return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
19954
19822
|
}
|
|
19955
19823
|
|
|
19956
|
-
/**
|
|
19957
|
-
*
|
|
19958
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
19959
|
-
* @param {*} [options] Override http request option.
|
|
19960
|
-
* @throws {RequiredError}
|
|
19961
|
-
* @memberof UsersApi
|
|
19962
|
-
*/
|
|
19963
|
-
public confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
|
|
19964
|
-
return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
19965
|
-
}
|
|
19966
|
-
|
|
19967
19824
|
/**
|
|
19968
19825
|
*
|
|
19969
19826
|
* @param {*} [options] Override http request option.
|
|
@@ -20220,17 +20077,6 @@ export class UsersApi extends BaseAPI {
|
|
|
20220
20077
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
20221
20078
|
}
|
|
20222
20079
|
|
|
20223
|
-
/**
|
|
20224
|
-
*
|
|
20225
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
20226
|
-
* @param {*} [options] Override http request option.
|
|
20227
|
-
* @throws {RequiredError}
|
|
20228
|
-
* @memberof UsersApi
|
|
20229
|
-
*/
|
|
20230
|
-
public setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig) {
|
|
20231
|
-
return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
20232
|
-
}
|
|
20233
|
-
|
|
20234
20080
|
/**
|
|
20235
20081
|
*
|
|
20236
20082
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|