@tennac-booking/sdk 1.0.83 → 1.0.85
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 +241 -270
- package/README.md +17 -57
- package/api.ts +1065 -2960
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +990 -2388
- package/dist/api.js +193 -961
- 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 +990 -2388
- package/dist/esm/api.js +186 -954
- 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/{ClubDaySchedule.md → BookingCourtInfo.md} +7 -7
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPaymentStatus.md +24 -0
- package/docs/BookingPlayerPaymentSummary.md +34 -0
- package/docs/BookingPopulated.md +3 -3
- 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 +54 -2
- package/docs/BookingsApi.md +55 -0
- package/docs/ClubAnalyticsStaffApi.md +0 -173
- package/docs/ClubResponse.md +8 -0
- package/docs/ClubSettingsManagerApi.md +0 -104
- package/docs/ClubSettingsResponse.md +0 -2
- package/docs/ClubsManagerApi.md +0 -104
- package/docs/ClubsStaffApi.md +0 -88
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +1 -3
- package/docs/EventResponse.md +1 -1
- package/docs/{SetupPaymentMethodRequestBody.md → EventResponseCourtsInner.md} +3 -5
- 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/QuickReservationClubSport.md +22 -0
- 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/UpdateEventRequest.md +1 -1
- package/docs/UserBookingsResponse.md +28 -0
- package/docs/UserProfileResponse.md +4 -12
- package/docs/UsersApi.md +4 -160
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ClubGeneralSettingsResponse.md +0 -34
- package/docs/ClubHoursSettingsResponse.md +0 -22
- package/docs/ClubLocationSettings.md +0 -26
- package/docs/ClubPlayerBookingItem.md +0 -36
- package/docs/ClubPlayerBookingsPagination.md +0 -28
- package/docs/ClubPlayerBookingsResponse.md +0 -24
- 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/ClubPresentationSettingsResponse.md +0 -26
- package/docs/ClubPricingPeriodResponse.md +0 -30
- package/docs/ClubReservationAccessSettingsResponse.md +0 -26
- package/docs/ClubReservationSettingsResponse.md +0 -36
- package/docs/ClubSettingsStaffApi.md +0 -95
- package/docs/ClubWeeklySchedule.md +0 -32
- package/docs/ConfirmPaymentMethodResponse.md +0 -22
- package/docs/HotelAccessSettings.md +0 -26
- package/docs/PartialClubWeeklySchedule.md +0 -33
- package/docs/PartialHotelAccessSettings.md +0 -27
- package/docs/PartialPaymentRequirementsSettings.md +0 -23
- package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +0 -27
- package/docs/PartialPublicAccessSettings.md +0 -25
- package/docs/PartialSchoolAccessSettings.md +0 -25
- package/docs/PaymentMethodSetupResponse.md +0 -24
- package/docs/PaymentRequirementsSettings.md +0 -22
- package/docs/PublicAccessSettings.md +0 -24
- package/docs/SchoolAccessSettings.md +0 -24
- package/docs/SetupPaymentMethodResponse.md +0 -24
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -34
- package/docs/UpdateClubHoursSettingsRequest.md +0 -22
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -26
- package/docs/UpdateClubReservationSettingsRequest.md +0 -34
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.85
|
|
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
|
|
@@ -163,93 +150,58 @@ export interface BookingAnalyticsResponse {
|
|
|
163
150
|
/**
|
|
164
151
|
*
|
|
165
152
|
* @export
|
|
166
|
-
* @interface
|
|
153
|
+
* @interface BookingClubInfo
|
|
167
154
|
*/
|
|
168
|
-
export interface
|
|
155
|
+
export interface BookingClubInfo {
|
|
169
156
|
/**
|
|
170
157
|
*
|
|
171
158
|
* @type {string}
|
|
172
|
-
* @memberof
|
|
159
|
+
* @memberof BookingClubInfo
|
|
173
160
|
*/
|
|
174
161
|
'id': string;
|
|
175
162
|
/**
|
|
176
163
|
*
|
|
177
164
|
* @type {string}
|
|
178
|
-
* @memberof
|
|
179
|
-
*/
|
|
180
|
-
'clubPicture'?: string;
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof BookingDetailResponse
|
|
165
|
+
* @memberof BookingClubInfo
|
|
185
166
|
*/
|
|
186
|
-
'
|
|
167
|
+
'name'?: string | null;
|
|
187
168
|
/**
|
|
188
169
|
*
|
|
189
170
|
* @type {string}
|
|
190
|
-
* @memberof
|
|
171
|
+
* @memberof BookingClubInfo
|
|
191
172
|
*/
|
|
192
|
-
'
|
|
173
|
+
'picture'?: string | null;
|
|
193
174
|
/**
|
|
194
175
|
*
|
|
195
176
|
* @type {string}
|
|
196
|
-
* @memberof
|
|
177
|
+
* @memberof BookingClubInfo
|
|
197
178
|
*/
|
|
198
|
-
'
|
|
179
|
+
'address'?: string | null;
|
|
199
180
|
/**
|
|
200
|
-
*
|
|
201
|
-
* @type {string}
|
|
202
|
-
* @memberof
|
|
181
|
+
* Construct a type with a set of properties K of type T
|
|
182
|
+
* @type {{ [key: string]: any; }}
|
|
183
|
+
* @memberof BookingClubInfo
|
|
203
184
|
*/
|
|
204
|
-
'
|
|
185
|
+
'location'?: { [key: string]: any; } | null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @export
|
|
190
|
+
* @interface BookingCourtInfo
|
|
191
|
+
*/
|
|
192
|
+
export interface BookingCourtInfo {
|
|
205
193
|
/**
|
|
206
194
|
*
|
|
207
195
|
* @type {string}
|
|
208
|
-
* @memberof
|
|
209
|
-
*/
|
|
210
|
-
'bookingStatus'?: string;
|
|
211
|
-
/**
|
|
212
|
-
*
|
|
213
|
-
* @type {Array<string>}
|
|
214
|
-
* @memberof BookingDetailResponse
|
|
196
|
+
* @memberof BookingCourtInfo
|
|
215
197
|
*/
|
|
216
|
-
'
|
|
217
|
-
/**
|
|
218
|
-
*
|
|
219
|
-
* @type {number}
|
|
220
|
-
* @memberof BookingDetailResponse
|
|
221
|
-
*/
|
|
222
|
-
'myAmountToPay': number;
|
|
223
|
-
/**
|
|
224
|
-
*
|
|
225
|
-
* @type {number}
|
|
226
|
-
* @memberof BookingDetailResponse
|
|
227
|
-
*/
|
|
228
|
-
'totalAmount': number;
|
|
198
|
+
'id'?: string | null;
|
|
229
199
|
/**
|
|
230
200
|
*
|
|
231
201
|
* @type {string}
|
|
232
|
-
* @memberof
|
|
233
|
-
*/
|
|
234
|
-
'timeBeforeCancel'?: string | null;
|
|
235
|
-
/**
|
|
236
|
-
*
|
|
237
|
-
* @type {BookingSummaryClubAddress}
|
|
238
|
-
* @memberof BookingDetailResponse
|
|
202
|
+
* @memberof BookingCourtInfo
|
|
239
203
|
*/
|
|
240
|
-
'
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @type {BookingHistoryPopulated}
|
|
244
|
-
* @memberof BookingDetailResponse
|
|
245
|
-
*/
|
|
246
|
-
'bookingHistory'?: BookingHistoryPopulated;
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
* @type {Array<{ [key: string]: any; }>}
|
|
250
|
-
* @memberof BookingDetailResponse
|
|
251
|
-
*/
|
|
252
|
-
'paymentStatus': Array<{ [key: string]: any; }>;
|
|
204
|
+
'name'?: string | null;
|
|
253
205
|
}
|
|
254
206
|
/**
|
|
255
207
|
*
|
|
@@ -359,10 +311,10 @@ export interface BookingInfo {
|
|
|
359
311
|
'totalPrice': number;
|
|
360
312
|
/**
|
|
361
313
|
* ID du créneau
|
|
362
|
-
* @type {string}
|
|
314
|
+
* @type {Array<string>}
|
|
363
315
|
* @memberof BookingInfo
|
|
364
316
|
*/
|
|
365
|
-
'
|
|
317
|
+
'slotIds': Array<string>;
|
|
366
318
|
/**
|
|
367
319
|
* Indique si le créateur paie pour tous
|
|
368
320
|
* @type {boolean}
|
|
@@ -420,6 +372,33 @@ export interface BookingInfo {
|
|
|
420
372
|
}
|
|
421
373
|
|
|
422
374
|
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @export
|
|
378
|
+
* @interface BookingPaymentStatus
|
|
379
|
+
*/
|
|
380
|
+
export interface BookingPaymentStatus {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof BookingPaymentStatus
|
|
385
|
+
*/
|
|
386
|
+
'playerId': string;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof BookingPaymentStatus
|
|
391
|
+
*/
|
|
392
|
+
'invoiceId'?: string | null;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {InvoiceStatus}
|
|
396
|
+
* @memberof BookingPaymentStatus
|
|
397
|
+
*/
|
|
398
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
423
402
|
/**
|
|
424
403
|
*
|
|
425
404
|
* @export
|
|
@@ -515,6 +494,63 @@ export interface BookingPaymentStatusResponseSummary {
|
|
|
515
494
|
*/
|
|
516
495
|
'totalPlayers': number;
|
|
517
496
|
}
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @export
|
|
500
|
+
* @interface BookingPlayerPaymentSummary
|
|
501
|
+
*/
|
|
502
|
+
export interface BookingPlayerPaymentSummary {
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof BookingPlayerPaymentSummary
|
|
507
|
+
*/
|
|
508
|
+
'id': string;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof BookingPlayerPaymentSummary
|
|
513
|
+
*/
|
|
514
|
+
'firstName'?: string | null;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof BookingPlayerPaymentSummary
|
|
519
|
+
*/
|
|
520
|
+
'lastName'?: string | null;
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @type {string}
|
|
524
|
+
* @memberof BookingPlayerPaymentSummary
|
|
525
|
+
*/
|
|
526
|
+
'profilePicture'?: string | null;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {number}
|
|
530
|
+
* @memberof BookingPlayerPaymentSummary
|
|
531
|
+
*/
|
|
532
|
+
'amountToPay': number;
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {string}
|
|
536
|
+
* @memberof BookingPlayerPaymentSummary
|
|
537
|
+
*/
|
|
538
|
+
'invoiceId'?: string | null;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {InvoiceStatus}
|
|
542
|
+
* @memberof BookingPlayerPaymentSummary
|
|
543
|
+
*/
|
|
544
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {boolean}
|
|
548
|
+
* @memberof BookingPlayerPaymentSummary
|
|
549
|
+
*/
|
|
550
|
+
'isCreator': boolean;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
|
|
518
554
|
/**
|
|
519
555
|
*
|
|
520
556
|
* @export
|
|
@@ -540,17 +576,11 @@ export interface BookingPopulated {
|
|
|
540
576
|
*/
|
|
541
577
|
'creator': UserInfo;
|
|
542
578
|
/**
|
|
543
|
-
*
|
|
544
|
-
* @type {SlotInfo}
|
|
545
|
-
* @memberof BookingPopulated
|
|
546
|
-
*/
|
|
547
|
-
'slotInfos': SlotInfo;
|
|
548
|
-
/**
|
|
549
|
-
*
|
|
550
|
-
* @type {Array<UserInfo>}
|
|
579
|
+
* Information(s) des créneaux
|
|
580
|
+
* @type {Array<SlotInfo>}
|
|
551
581
|
* @memberof BookingPopulated
|
|
552
582
|
*/
|
|
553
|
-
'
|
|
583
|
+
'slotInfos': Array<SlotInfo>;
|
|
554
584
|
/**
|
|
555
585
|
* Statut des paiements par joueur
|
|
556
586
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -581,6 +611,12 @@ export interface BookingPopulated {
|
|
|
581
611
|
* @memberof BookingPopulated
|
|
582
612
|
*/
|
|
583
613
|
'isCreatorPayingAll': boolean;
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @type {Array<string>}
|
|
617
|
+
* @memberof BookingPopulated
|
|
618
|
+
*/
|
|
619
|
+
'playersIds': Array<string>;
|
|
584
620
|
/**
|
|
585
621
|
*
|
|
586
622
|
* @type {Array<BookingHistoryPopulated>}
|
|
@@ -614,6 +650,25 @@ export interface BookingPopulated {
|
|
|
614
650
|
}
|
|
615
651
|
|
|
616
652
|
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
* @export
|
|
656
|
+
* @interface BookingPriceBody
|
|
657
|
+
*/
|
|
658
|
+
export interface BookingPriceBody {
|
|
659
|
+
/**
|
|
660
|
+
*
|
|
661
|
+
* @type {Array<string>}
|
|
662
|
+
* @memberof BookingPriceBody
|
|
663
|
+
*/
|
|
664
|
+
'slotIds': Array<string>;
|
|
665
|
+
/**
|
|
666
|
+
*
|
|
667
|
+
* @type {Array<string>}
|
|
668
|
+
* @memberof BookingPriceBody
|
|
669
|
+
*/
|
|
670
|
+
'players': Array<string>;
|
|
671
|
+
}
|
|
617
672
|
/**
|
|
618
673
|
*
|
|
619
674
|
* @export
|
|
@@ -644,6 +699,12 @@ export interface BookingResponse {
|
|
|
644
699
|
* @memberof BookingResponse
|
|
645
700
|
*/
|
|
646
701
|
'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof BookingResponse
|
|
706
|
+
*/
|
|
707
|
+
'setupNoShowPaymentUrl'?: string;
|
|
647
708
|
/**
|
|
648
709
|
* Message de confirmation
|
|
649
710
|
* @type {string}
|
|
@@ -670,6 +731,68 @@ export interface BookingResponseOnsitePaymentsInner {
|
|
|
670
731
|
*/
|
|
671
732
|
'playerId': string;
|
|
672
733
|
}
|
|
734
|
+
/**
|
|
735
|
+
*
|
|
736
|
+
* @export
|
|
737
|
+
* @interface BookingSlotInfo
|
|
738
|
+
*/
|
|
739
|
+
export interface BookingSlotInfo {
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {string}
|
|
743
|
+
* @memberof BookingSlotInfo
|
|
744
|
+
*/
|
|
745
|
+
'id': string;
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @type {string}
|
|
749
|
+
* @memberof BookingSlotInfo
|
|
750
|
+
*/
|
|
751
|
+
'startDate'?: string | null;
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof BookingSlotInfo
|
|
756
|
+
*/
|
|
757
|
+
'endDate'?: string | null;
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @type {number}
|
|
761
|
+
* @memberof BookingSlotInfo
|
|
762
|
+
*/
|
|
763
|
+
'durationMinutes'?: number | null;
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @type {BookingCourtInfo}
|
|
767
|
+
* @memberof BookingSlotInfo
|
|
768
|
+
*/
|
|
769
|
+
'court'?: BookingCourtInfo | null;
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {BookingSportInfo}
|
|
773
|
+
* @memberof BookingSlotInfo
|
|
774
|
+
*/
|
|
775
|
+
'sport'?: BookingSportInfo | null;
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @export
|
|
780
|
+
* @interface BookingSportInfo
|
|
781
|
+
*/
|
|
782
|
+
export interface BookingSportInfo {
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof BookingSportInfo
|
|
787
|
+
*/
|
|
788
|
+
'id'?: string | null;
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof BookingSportInfo
|
|
793
|
+
*/
|
|
794
|
+
'key'?: string | null;
|
|
795
|
+
}
|
|
673
796
|
/**
|
|
674
797
|
*
|
|
675
798
|
* @export
|
|
@@ -706,106 +829,264 @@ export interface BookingSummary {
|
|
|
706
829
|
* @type {string}
|
|
707
830
|
* @memberof BookingSummary
|
|
708
831
|
*/
|
|
709
|
-
'
|
|
832
|
+
'clubId': string;
|
|
710
833
|
/**
|
|
711
834
|
*
|
|
712
835
|
* @type {string}
|
|
713
836
|
* @memberof BookingSummary
|
|
714
837
|
*/
|
|
715
|
-
'
|
|
838
|
+
'userId': string;
|
|
716
839
|
/**
|
|
717
840
|
*
|
|
718
|
-
* @type {string}
|
|
841
|
+
* @type {Array<string>}
|
|
719
842
|
* @memberof BookingSummary
|
|
720
843
|
*/
|
|
721
|
-
'
|
|
844
|
+
'playersIds': Array<string>;
|
|
722
845
|
/**
|
|
723
846
|
*
|
|
724
|
-
* @type {
|
|
847
|
+
* @type {BookingStatus}
|
|
725
848
|
* @memberof BookingSummary
|
|
726
849
|
*/
|
|
727
|
-
'
|
|
850
|
+
'status': BookingStatus;
|
|
728
851
|
/**
|
|
729
852
|
*
|
|
730
|
-
* @type {
|
|
853
|
+
* @type {Array<BookingPaymentStatus>}
|
|
731
854
|
* @memberof BookingSummary
|
|
732
855
|
*/
|
|
733
|
-
'
|
|
856
|
+
'paymentByPlayersStatus': Array<BookingPaymentStatus>;
|
|
734
857
|
/**
|
|
735
858
|
*
|
|
736
|
-
* @type {
|
|
859
|
+
* @type {boolean}
|
|
737
860
|
* @memberof BookingSummary
|
|
738
861
|
*/
|
|
739
|
-
'
|
|
862
|
+
'isCreatorPayingAll': boolean;
|
|
740
863
|
/**
|
|
741
864
|
*
|
|
742
|
-
* @type {
|
|
865
|
+
* @type {number}
|
|
743
866
|
* @memberof BookingSummary
|
|
744
867
|
*/
|
|
745
|
-
'
|
|
868
|
+
'totalPrice': number;
|
|
746
869
|
/**
|
|
747
870
|
*
|
|
748
|
-
* @type {
|
|
871
|
+
* @type {Array<string>}
|
|
749
872
|
* @memberof BookingSummary
|
|
750
873
|
*/
|
|
751
|
-
'
|
|
874
|
+
'slotIds': Array<string>;
|
|
752
875
|
/**
|
|
753
876
|
*
|
|
754
|
-
* @type {
|
|
877
|
+
* @type {boolean}
|
|
755
878
|
* @memberof BookingSummary
|
|
756
879
|
*/
|
|
757
|
-
'
|
|
880
|
+
'isPublic': boolean;
|
|
758
881
|
/**
|
|
759
882
|
*
|
|
760
883
|
* @type {string}
|
|
761
884
|
* @memberof BookingSummary
|
|
762
885
|
*/
|
|
763
|
-
'
|
|
886
|
+
'creatorPaymentMethodId'?: string | null;
|
|
764
887
|
/**
|
|
765
888
|
*
|
|
766
|
-
* @type {
|
|
889
|
+
* @type {boolean}
|
|
767
890
|
* @memberof BookingSummary
|
|
768
891
|
*/
|
|
769
|
-
'
|
|
892
|
+
'paymentMethodSetupCompleted': boolean;
|
|
770
893
|
/**
|
|
771
894
|
*
|
|
772
|
-
* @type {
|
|
895
|
+
* @type {number}
|
|
773
896
|
* @memberof BookingSummary
|
|
774
897
|
*/
|
|
775
|
-
'
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
*
|
|
779
|
-
* @export
|
|
780
|
-
* @interface BookingSummaryClubAddress
|
|
781
|
-
*/
|
|
782
|
-
export interface BookingSummaryClubAddress {
|
|
783
|
-
}
|
|
784
|
-
/**
|
|
785
|
-
*
|
|
786
|
-
* @export
|
|
787
|
-
* @interface CancelBookingResponse
|
|
788
|
-
*/
|
|
789
|
-
export interface CancelBookingResponse {
|
|
898
|
+
'noShowChargeAmount'?: number | null;
|
|
790
899
|
/**
|
|
791
|
-
*
|
|
792
|
-
* @type {
|
|
793
|
-
* @memberof
|
|
900
|
+
*
|
|
901
|
+
* @type {boolean}
|
|
902
|
+
* @memberof BookingSummary
|
|
794
903
|
*/
|
|
795
|
-
'
|
|
904
|
+
'noShowChargeApplied'?: boolean;
|
|
796
905
|
/**
|
|
797
906
|
*
|
|
798
|
-
* @type {
|
|
799
|
-
* @memberof
|
|
907
|
+
* @type {string}
|
|
908
|
+
* @memberof BookingSummary
|
|
800
909
|
*/
|
|
801
|
-
'
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
910
|
+
'noShowChargeIntentId'?: string | null;
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {string}
|
|
914
|
+
* @memberof BookingSummary
|
|
915
|
+
*/
|
|
916
|
+
'cancellationReason'?: string | null;
|
|
917
|
+
/**
|
|
918
|
+
*
|
|
919
|
+
* @type {string}
|
|
920
|
+
* @memberof BookingSummary
|
|
921
|
+
*/
|
|
922
|
+
'cancelledBy'?: string | null;
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @type {string}
|
|
926
|
+
* @memberof BookingSummary
|
|
927
|
+
*/
|
|
928
|
+
'cancelledAt'?: string | null;
|
|
929
|
+
/**
|
|
930
|
+
*
|
|
931
|
+
* @type {boolean}
|
|
932
|
+
* @memberof BookingSummary
|
|
933
|
+
*/
|
|
934
|
+
'cancelledByManager'?: boolean;
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @type {string}
|
|
938
|
+
* @memberof BookingSummary
|
|
939
|
+
*/
|
|
940
|
+
'createdAt': string | null;
|
|
941
|
+
/**
|
|
942
|
+
*
|
|
943
|
+
* @type {string}
|
|
944
|
+
* @memberof BookingSummary
|
|
945
|
+
*/
|
|
946
|
+
'updatedAt': string | null;
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @type {number}
|
|
950
|
+
* @memberof BookingSummary
|
|
951
|
+
*/
|
|
952
|
+
'playersCount'?: number | null;
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @type {string}
|
|
956
|
+
* @memberof BookingSummary
|
|
957
|
+
*/
|
|
958
|
+
'clubPicture'?: string;
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* @type {string}
|
|
962
|
+
* @memberof BookingSummary
|
|
963
|
+
*/
|
|
964
|
+
'courtName'?: string;
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
* @type {string}
|
|
968
|
+
* @memberof BookingSummary
|
|
969
|
+
*/
|
|
970
|
+
'sportName'?: string;
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @type {string}
|
|
974
|
+
* @memberof BookingSummary
|
|
975
|
+
*/
|
|
976
|
+
'startDate'?: string;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @type {InvoiceStatus}
|
|
980
|
+
* @memberof BookingSummary
|
|
981
|
+
*/
|
|
982
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @type {string}
|
|
986
|
+
* @memberof BookingSummary
|
|
987
|
+
*/
|
|
988
|
+
'bookingStatus'?: string;
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {Array<string>}
|
|
992
|
+
* @memberof BookingSummary
|
|
993
|
+
*/
|
|
994
|
+
'playersName': Array<string>;
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {number}
|
|
998
|
+
* @memberof BookingSummary
|
|
999
|
+
*/
|
|
1000
|
+
'myAmountToPay': number;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {number}
|
|
1004
|
+
* @memberof BookingSummary
|
|
1005
|
+
*/
|
|
1006
|
+
'totalAmount': number;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof BookingSummary
|
|
1011
|
+
*/
|
|
1012
|
+
'timeBeforeCancel'?: string | null;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @type {BookingSummaryClubAddress}
|
|
1016
|
+
* @memberof BookingSummary
|
|
1017
|
+
*/
|
|
1018
|
+
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
1019
|
+
/**
|
|
1020
|
+
*
|
|
1021
|
+
* @type {Array<BookingHistoryPopulated>}
|
|
1022
|
+
* @memberof BookingSummary
|
|
1023
|
+
*/
|
|
1024
|
+
'bookingHistory'?: Array<BookingHistoryPopulated>;
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @type {BookingClubInfo}
|
|
1028
|
+
* @memberof BookingSummary
|
|
1029
|
+
*/
|
|
1030
|
+
'club'?: BookingClubInfo | null;
|
|
1031
|
+
/**
|
|
1032
|
+
*
|
|
1033
|
+
* @type {Array<BookingSlotInfo>}
|
|
1034
|
+
* @memberof BookingSummary
|
|
1035
|
+
*/
|
|
1036
|
+
'slots': Array<BookingSlotInfo>;
|
|
1037
|
+
/**
|
|
1038
|
+
*
|
|
1039
|
+
* @type {BookingCourtInfo}
|
|
1040
|
+
* @memberof BookingSummary
|
|
1041
|
+
*/
|
|
1042
|
+
'court'?: BookingCourtInfo | null;
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* @type {BookingSportInfo}
|
|
1046
|
+
* @memberof BookingSummary
|
|
1047
|
+
*/
|
|
1048
|
+
'sport'?: BookingSportInfo | null;
|
|
1049
|
+
/**
|
|
1050
|
+
*
|
|
1051
|
+
* @type {Array<BookingPlayerPaymentSummary>}
|
|
1052
|
+
* @memberof BookingSummary
|
|
1053
|
+
*/
|
|
1054
|
+
'players': Array<BookingPlayerPaymentSummary>;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @export
|
|
1061
|
+
* @interface BookingSummaryClubAddress
|
|
1062
|
+
*/
|
|
1063
|
+
export interface BookingSummaryClubAddress {
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @export
|
|
1068
|
+
* @interface CancelBookingResponse
|
|
1069
|
+
*/
|
|
1070
|
+
export interface CancelBookingResponse {
|
|
1071
|
+
/**
|
|
1072
|
+
* Message de confirmation
|
|
1073
|
+
* @type {string}
|
|
1074
|
+
* @memberof CancelBookingResponse
|
|
1075
|
+
*/
|
|
1076
|
+
'message': string;
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @type {BookingInfo}
|
|
1080
|
+
* @memberof CancelBookingResponse
|
|
1081
|
+
*/
|
|
1082
|
+
'booking': BookingInfo;
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
*
|
|
1086
|
+
* @export
|
|
1087
|
+
* @interface CaptureResult
|
|
1088
|
+
*/
|
|
1089
|
+
export interface CaptureResult {
|
|
809
1090
|
/**
|
|
810
1091
|
* Type de paiement
|
|
811
1092
|
* @type {string}
|
|
@@ -962,871 +1243,138 @@ export interface CheckedInPlayer {
|
|
|
962
1243
|
* @type {string}
|
|
963
1244
|
* @memberof CheckedInPlayer
|
|
964
1245
|
*/
|
|
965
|
-
'status'?: string;
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
* @type {PaymentMethod}
|
|
969
|
-
* @memberof CheckedInPlayer
|
|
970
|
-
*/
|
|
971
|
-
'paymentMethod'?: PaymentMethod;
|
|
972
|
-
/**
|
|
973
|
-
* Note additionnelle
|
|
974
|
-
* @type {string}
|
|
975
|
-
* @memberof CheckedInPlayer
|
|
976
|
-
*/
|
|
977
|
-
'note'?: string;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
/**
|
|
982
|
-
*
|
|
983
|
-
* @export
|
|
984
|
-
* @interface ClubDaySchedule
|
|
985
|
-
*/
|
|
986
|
-
export interface ClubDaySchedule {
|
|
987
|
-
/**
|
|
988
|
-
*
|
|
989
|
-
* @type {string}
|
|
990
|
-
* @memberof ClubDaySchedule
|
|
991
|
-
*/
|
|
992
|
-
'open': string;
|
|
993
|
-
/**
|
|
994
|
-
*
|
|
995
|
-
* @type {string}
|
|
996
|
-
* @memberof ClubDaySchedule
|
|
997
|
-
*/
|
|
998
|
-
'close': string;
|
|
999
|
-
}
|
|
1000
|
-
/**
|
|
1001
|
-
*
|
|
1002
|
-
* @export
|
|
1003
|
-
* @interface ClubGeneralSettingsResponse
|
|
1004
|
-
*/
|
|
1005
|
-
export interface ClubGeneralSettingsResponse {
|
|
1006
|
-
/**
|
|
1007
|
-
*
|
|
1008
|
-
* @type {string}
|
|
1009
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1010
|
-
*/
|
|
1011
|
-
'name': string;
|
|
1012
|
-
/**
|
|
1013
|
-
*
|
|
1014
|
-
* @type {string}
|
|
1015
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1016
|
-
*/
|
|
1017
|
-
'email'?: string;
|
|
1018
|
-
/**
|
|
1019
|
-
*
|
|
1020
|
-
* @type {string}
|
|
1021
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1022
|
-
*/
|
|
1023
|
-
'phone'?: string;
|
|
1024
|
-
/**
|
|
1025
|
-
*
|
|
1026
|
-
* @type {string}
|
|
1027
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1028
|
-
*/
|
|
1029
|
-
'websiteUrl'?: string;
|
|
1030
|
-
/**
|
|
1031
|
-
*
|
|
1032
|
-
* @type {string}
|
|
1033
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1034
|
-
*/
|
|
1035
|
-
'description'?: string;
|
|
1036
|
-
/**
|
|
1037
|
-
*
|
|
1038
|
-
* @type {string}
|
|
1039
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1040
|
-
*/
|
|
1041
|
-
'rib'?: string;
|
|
1042
|
-
/**
|
|
1043
|
-
*
|
|
1044
|
-
* @type {string}
|
|
1045
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1046
|
-
*/
|
|
1047
|
-
'logo'?: string | null;
|
|
1048
|
-
/**
|
|
1049
|
-
*
|
|
1050
|
-
* @type {ClubLocationSettings}
|
|
1051
|
-
* @memberof ClubGeneralSettingsResponse
|
|
1052
|
-
*/
|
|
1053
|
-
'location': ClubLocationSettings;
|
|
1054
|
-
}
|
|
1055
|
-
/**
|
|
1056
|
-
*
|
|
1057
|
-
* @export
|
|
1058
|
-
* @interface ClubHoursSettingsResponse
|
|
1059
|
-
*/
|
|
1060
|
-
export interface ClubHoursSettingsResponse {
|
|
1061
|
-
/**
|
|
1062
|
-
*
|
|
1063
|
-
* @type {ClubWeeklySchedule}
|
|
1064
|
-
* @memberof ClubHoursSettingsResponse
|
|
1065
|
-
*/
|
|
1066
|
-
'schedule': ClubWeeklySchedule;
|
|
1067
|
-
/**
|
|
1068
|
-
*
|
|
1069
|
-
* @type {Array<ClubPricingPeriodResponse>}
|
|
1070
|
-
* @memberof ClubHoursSettingsResponse
|
|
1071
|
-
*/
|
|
1072
|
-
'pricingPeriods': Array<ClubPricingPeriodResponse>;
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
*
|
|
1076
|
-
* @export
|
|
1077
|
-
* @interface ClubLocationSettings
|
|
1078
|
-
*/
|
|
1079
|
-
export interface ClubLocationSettings {
|
|
1080
|
-
/**
|
|
1081
|
-
*
|
|
1082
|
-
* @type {string}
|
|
1083
|
-
* @memberof ClubLocationSettings
|
|
1084
|
-
*/
|
|
1085
|
-
'address'?: string;
|
|
1086
|
-
/**
|
|
1087
|
-
*
|
|
1088
|
-
* @type {string}
|
|
1089
|
-
* @memberof ClubLocationSettings
|
|
1090
|
-
*/
|
|
1091
|
-
'zipCode'?: string;
|
|
1092
|
-
/**
|
|
1093
|
-
*
|
|
1094
|
-
* @type {string}
|
|
1095
|
-
* @memberof ClubLocationSettings
|
|
1096
|
-
*/
|
|
1097
|
-
'city'?: string;
|
|
1098
|
-
/**
|
|
1099
|
-
*
|
|
1100
|
-
* @type {string}
|
|
1101
|
-
* @memberof ClubLocationSettings
|
|
1102
|
-
*/
|
|
1103
|
-
'country'?: string;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
*
|
|
1107
|
-
* @export
|
|
1108
|
-
* @interface ClubMemberResponse
|
|
1109
|
-
*/
|
|
1110
|
-
export interface ClubMemberResponse {
|
|
1111
|
-
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @type {ClubMemberResponseUser}
|
|
1114
|
-
* @memberof ClubMemberResponse
|
|
1115
|
-
*/
|
|
1116
|
-
'user': ClubMemberResponseUser;
|
|
1117
|
-
/**
|
|
1118
|
-
* Rôle du membre dans le club
|
|
1119
|
-
* @type {string}
|
|
1120
|
-
* @memberof ClubMemberResponse
|
|
1121
|
-
*/
|
|
1122
|
-
'role': string;
|
|
1123
|
-
/**
|
|
1124
|
-
* Droits du membre dans le club
|
|
1125
|
-
* @type {Array<string>}
|
|
1126
|
-
* @memberof ClubMemberResponse
|
|
1127
|
-
*/
|
|
1128
|
-
'rights': Array<string>;
|
|
1129
|
-
}
|
|
1130
|
-
/**
|
|
1131
|
-
* Utilisateur (membre)
|
|
1132
|
-
* @export
|
|
1133
|
-
* @interface ClubMemberResponseUser
|
|
1134
|
-
*/
|
|
1135
|
-
export interface ClubMemberResponseUser {
|
|
1136
|
-
/**
|
|
1137
|
-
*
|
|
1138
|
-
* @type {string}
|
|
1139
|
-
* @memberof ClubMemberResponseUser
|
|
1140
|
-
*/
|
|
1141
|
-
'email': string;
|
|
1142
|
-
/**
|
|
1143
|
-
*
|
|
1144
|
-
* @type {string}
|
|
1145
|
-
* @memberof ClubMemberResponseUser
|
|
1146
|
-
*/
|
|
1147
|
-
'lastName': string;
|
|
1148
|
-
/**
|
|
1149
|
-
*
|
|
1150
|
-
* @type {string}
|
|
1151
|
-
* @memberof ClubMemberResponseUser
|
|
1152
|
-
*/
|
|
1153
|
-
'firstName': string;
|
|
1154
|
-
/**
|
|
1155
|
-
*
|
|
1156
|
-
* @type {string}
|
|
1157
|
-
* @memberof ClubMemberResponseUser
|
|
1158
|
-
*/
|
|
1159
|
-
'id': string;
|
|
1160
|
-
}
|
|
1161
|
-
/**
|
|
1162
|
-
*
|
|
1163
|
-
* @export
|
|
1164
|
-
* @interface ClubPlayerBookingItem
|
|
1165
|
-
*/
|
|
1166
|
-
export interface ClubPlayerBookingItem {
|
|
1167
|
-
/**
|
|
1168
|
-
* ID de la réservation
|
|
1169
|
-
* @type {string}
|
|
1170
|
-
* @memberof ClubPlayerBookingItem
|
|
1171
|
-
*/
|
|
1172
|
-
'id': string;
|
|
1173
|
-
/**
|
|
1174
|
-
* Date de début de la réservation
|
|
1175
|
-
* @type {string}
|
|
1176
|
-
* @memberof ClubPlayerBookingItem
|
|
1177
|
-
*/
|
|
1178
|
-
'startDate': string | null;
|
|
1179
|
-
/**
|
|
1180
|
-
* Date de fin de la réservation
|
|
1181
|
-
* @type {string}
|
|
1182
|
-
* @memberof ClubPlayerBookingItem
|
|
1183
|
-
*/
|
|
1184
|
-
'endDate': string | null;
|
|
1185
|
-
/**
|
|
1186
|
-
* Nom du terrain ou emplacement
|
|
1187
|
-
* @type {string}
|
|
1188
|
-
* @memberof ClubPlayerBookingItem
|
|
1189
|
-
*/
|
|
1190
|
-
'location': string | null;
|
|
1191
|
-
/**
|
|
1192
|
-
* Nom du sport associé
|
|
1193
|
-
* @type {string}
|
|
1194
|
-
* @memberof ClubPlayerBookingItem
|
|
1195
|
-
*/
|
|
1196
|
-
'sport': string | null;
|
|
1197
|
-
/**
|
|
1198
|
-
* Statut de la réservation
|
|
1199
|
-
* @type {string}
|
|
1200
|
-
* @memberof ClubPlayerBookingItem
|
|
1201
|
-
*/
|
|
1202
|
-
'status': string;
|
|
1203
|
-
/**
|
|
1204
|
-
* Prix total de la réservation en centimes
|
|
1205
|
-
* @type {number}
|
|
1206
|
-
* @memberof ClubPlayerBookingItem
|
|
1207
|
-
*/
|
|
1208
|
-
'totalPrice': number;
|
|
1209
|
-
/**
|
|
1210
|
-
* Indique si le joueur est le créateur de la réservation
|
|
1211
|
-
* @type {boolean}
|
|
1212
|
-
* @memberof ClubPlayerBookingItem
|
|
1213
|
-
*/
|
|
1214
|
-
'isCreator': boolean;
|
|
1215
|
-
/**
|
|
1216
|
-
* Nombre total de participants
|
|
1217
|
-
* @type {number}
|
|
1218
|
-
* @memberof ClubPlayerBookingItem
|
|
1219
|
-
*/
|
|
1220
|
-
'participantsCount': number;
|
|
1221
|
-
}
|
|
1222
|
-
/**
|
|
1223
|
-
*
|
|
1224
|
-
* @export
|
|
1225
|
-
* @interface ClubPlayerBookingsPagination
|
|
1226
|
-
*/
|
|
1227
|
-
export interface ClubPlayerBookingsPagination {
|
|
1228
|
-
/**
|
|
1229
|
-
* Page courante (1-based)
|
|
1230
|
-
* @type {number}
|
|
1231
|
-
* @memberof ClubPlayerBookingsPagination
|
|
1232
|
-
*/
|
|
1233
|
-
'page': number;
|
|
1234
|
-
/**
|
|
1235
|
-
* Nombre d\'éléments par page
|
|
1236
|
-
* @type {number}
|
|
1237
|
-
* @memberof ClubPlayerBookingsPagination
|
|
1238
|
-
*/
|
|
1239
|
-
'pageSize': number;
|
|
1240
|
-
/**
|
|
1241
|
-
* Nombre total d\'éléments disponibles
|
|
1242
|
-
* @type {number}
|
|
1243
|
-
* @memberof ClubPlayerBookingsPagination
|
|
1244
|
-
*/
|
|
1245
|
-
'totalItems': number;
|
|
1246
|
-
/**
|
|
1247
|
-
* Nombre total de pages disponibles
|
|
1248
|
-
* @type {number}
|
|
1249
|
-
* @memberof ClubPlayerBookingsPagination
|
|
1250
|
-
*/
|
|
1251
|
-
'totalPages': number;
|
|
1252
|
-
/**
|
|
1253
|
-
* Existence d\'une page suivante
|
|
1254
|
-
* @type {boolean}
|
|
1255
|
-
* @memberof ClubPlayerBookingsPagination
|
|
1256
|
-
*/
|
|
1257
|
-
'hasMore': boolean;
|
|
1258
|
-
}
|
|
1259
|
-
/**
|
|
1260
|
-
*
|
|
1261
|
-
* @export
|
|
1262
|
-
* @interface ClubPlayerBookingsResponse
|
|
1263
|
-
*/
|
|
1264
|
-
export interface ClubPlayerBookingsResponse {
|
|
1265
|
-
/**
|
|
1266
|
-
* Réservations à venir
|
|
1267
|
-
* @type {Array<ClubPlayerBookingItem>}
|
|
1268
|
-
* @memberof ClubPlayerBookingsResponse
|
|
1269
|
-
*/
|
|
1270
|
-
'upcomingBookings': Array<ClubPlayerBookingItem>;
|
|
1271
|
-
/**
|
|
1272
|
-
* Réservations passées
|
|
1273
|
-
* @type {Array<ClubPlayerBookingItem>}
|
|
1274
|
-
* @memberof ClubPlayerBookingsResponse
|
|
1275
|
-
*/
|
|
1276
|
-
'pastBookings': Array<ClubPlayerBookingItem>;
|
|
1277
|
-
/**
|
|
1278
|
-
*
|
|
1279
|
-
* @type {ClubPlayerBookingsPagination}
|
|
1280
|
-
* @memberof ClubPlayerBookingsResponse
|
|
1281
|
-
*/
|
|
1282
|
-
'pastPagination'?: ClubPlayerBookingsPagination;
|
|
1283
|
-
}
|
|
1284
|
-
/**
|
|
1285
|
-
*
|
|
1286
|
-
* @export
|
|
1287
|
-
* @interface ClubPlayerDetailResponse
|
|
1288
|
-
*/
|
|
1289
|
-
export interface ClubPlayerDetailResponse {
|
|
1290
|
-
/**
|
|
1291
|
-
* ID du joueur
|
|
1292
|
-
* @type {string}
|
|
1293
|
-
* @memberof ClubPlayerDetailResponse
|
|
1294
|
-
*/
|
|
1295
|
-
'id': string;
|
|
1296
|
-
/**
|
|
1297
|
-
* Nom complet
|
|
1298
|
-
* @type {string}
|
|
1299
|
-
* @memberof ClubPlayerDetailResponse
|
|
1300
|
-
*/
|
|
1301
|
-
'name': string;
|
|
1302
|
-
/**
|
|
1303
|
-
* Prénom
|
|
1304
|
-
* @type {string}
|
|
1305
|
-
* @memberof ClubPlayerDetailResponse
|
|
1306
|
-
*/
|
|
1307
|
-
'firstName': string;
|
|
1308
|
-
/**
|
|
1309
|
-
* Nom
|
|
1310
|
-
* @type {string}
|
|
1311
|
-
* @memberof ClubPlayerDetailResponse
|
|
1312
|
-
*/
|
|
1313
|
-
'lastName': string;
|
|
1314
|
-
/**
|
|
1315
|
-
* Email
|
|
1316
|
-
* @type {string}
|
|
1317
|
-
* @memberof ClubPlayerDetailResponse
|
|
1318
|
-
*/
|
|
1319
|
-
'email': string;
|
|
1320
|
-
/**
|
|
1321
|
-
* Numéro de téléphone
|
|
1322
|
-
* @type {string}
|
|
1323
|
-
* @memberof ClubPlayerDetailResponse
|
|
1324
|
-
*/
|
|
1325
|
-
'phoneNumber': string | null;
|
|
1326
|
-
/**
|
|
1327
|
-
* URL de la photo de profil
|
|
1328
|
-
* @type {string}
|
|
1329
|
-
* @memberof ClubPlayerDetailResponse
|
|
1330
|
-
*/
|
|
1331
|
-
'profilePictureUrl': string | null;
|
|
1332
|
-
/**
|
|
1333
|
-
* Compte vérifié
|
|
1334
|
-
* @type {boolean}
|
|
1335
|
-
* @memberof ClubPlayerDetailResponse
|
|
1336
|
-
*/
|
|
1337
|
-
'isAccountVerified': boolean;
|
|
1338
|
-
/**
|
|
1339
|
-
* Abonnements au club courant
|
|
1340
|
-
* @type {Array<ClubPlayerSubscriptionSummary>}
|
|
1341
|
-
* @memberof ClubPlayerDetailResponse
|
|
1342
|
-
*/
|
|
1343
|
-
'subscriptionsToMyClub': Array<ClubPlayerSubscriptionSummary>;
|
|
1344
|
-
/**
|
|
1345
|
-
* Description du profil
|
|
1346
|
-
* @type {string}
|
|
1347
|
-
* @memberof ClubPlayerDetailResponse
|
|
1348
|
-
*/
|
|
1349
|
-
'profileDescription': string | null;
|
|
1350
|
-
/**
|
|
1351
|
-
* Genre
|
|
1352
|
-
* @type {string}
|
|
1353
|
-
* @memberof ClubPlayerDetailResponse
|
|
1354
|
-
*/
|
|
1355
|
-
'gender': string | null;
|
|
1356
|
-
/**
|
|
1357
|
-
* Ville
|
|
1358
|
-
* @type {string}
|
|
1359
|
-
* @memberof ClubPlayerDetailResponse
|
|
1360
|
-
*/
|
|
1361
|
-
'city': string | null;
|
|
1362
|
-
/**
|
|
1363
|
-
* Niveaux par sport
|
|
1364
|
-
* @type {Array<ClubPlayerDetailResponseSportsLevelsInner>}
|
|
1365
|
-
* @memberof ClubPlayerDetailResponse
|
|
1366
|
-
*/
|
|
1367
|
-
'sportsLevels': Array<ClubPlayerDetailResponseSportsLevelsInner>;
|
|
1368
|
-
/**
|
|
1369
|
-
* Date de naissance
|
|
1370
|
-
* @type {string}
|
|
1371
|
-
* @memberof ClubPlayerDetailResponse
|
|
1372
|
-
*/
|
|
1373
|
-
'birthDate': string | null;
|
|
1374
|
-
}
|
|
1375
|
-
/**
|
|
1376
|
-
*
|
|
1377
|
-
* @export
|
|
1378
|
-
* @interface ClubPlayerDetailResponseSportsLevelsInner
|
|
1379
|
-
*/
|
|
1380
|
-
export interface ClubPlayerDetailResponseSportsLevelsInner {
|
|
1381
|
-
/**
|
|
1382
|
-
*
|
|
1383
|
-
* @type {string}
|
|
1384
|
-
* @memberof ClubPlayerDetailResponseSportsLevelsInner
|
|
1385
|
-
*/
|
|
1386
|
-
'level': string | null;
|
|
1387
|
-
/**
|
|
1388
|
-
*
|
|
1389
|
-
* @type {string}
|
|
1390
|
-
* @memberof ClubPlayerDetailResponseSportsLevelsInner
|
|
1391
|
-
*/
|
|
1392
|
-
'sport': string | null;
|
|
1393
|
-
}
|
|
1394
|
-
/**
|
|
1395
|
-
*
|
|
1396
|
-
* @export
|
|
1397
|
-
* @interface ClubPlayerResponse
|
|
1398
|
-
*/
|
|
1399
|
-
export interface ClubPlayerResponse {
|
|
1400
|
-
/**
|
|
1401
|
-
* ID de l\'utilisateur
|
|
1402
|
-
* @type {string}
|
|
1403
|
-
* @memberof ClubPlayerResponse
|
|
1404
|
-
*/
|
|
1405
|
-
'id': string;
|
|
1406
|
-
/**
|
|
1407
|
-
* Prénom
|
|
1408
|
-
* @type {string}
|
|
1409
|
-
* @memberof ClubPlayerResponse
|
|
1410
|
-
*/
|
|
1411
|
-
'firstName': string;
|
|
1412
|
-
/**
|
|
1413
|
-
* Nom
|
|
1414
|
-
* @type {string}
|
|
1415
|
-
* @memberof ClubPlayerResponse
|
|
1416
|
-
*/
|
|
1417
|
-
'lastName': string;
|
|
1418
|
-
/**
|
|
1419
|
-
* Genre
|
|
1420
|
-
* @type {string}
|
|
1421
|
-
* @memberof ClubPlayerResponse
|
|
1422
|
-
*/
|
|
1423
|
-
'gender'?: string;
|
|
1424
|
-
/**
|
|
1425
|
-
* Email
|
|
1426
|
-
* @type {string}
|
|
1427
|
-
* @memberof ClubPlayerResponse
|
|
1428
|
-
*/
|
|
1429
|
-
'email': string;
|
|
1430
|
-
/**
|
|
1431
|
-
* Photo de profil
|
|
1432
|
-
* @type {string}
|
|
1433
|
-
* @memberof ClubPlayerResponse
|
|
1434
|
-
*/
|
|
1435
|
-
'profilePicture'?: string;
|
|
1436
|
-
/**
|
|
1437
|
-
* Compte vérifié
|
|
1438
|
-
* @type {boolean}
|
|
1439
|
-
* @memberof ClubPlayerResponse
|
|
1440
|
-
*/
|
|
1441
|
-
'isAccountVerified': boolean;
|
|
1442
|
-
/**
|
|
1443
|
-
* Profil visible
|
|
1444
|
-
* @type {boolean}
|
|
1445
|
-
* @memberof ClubPlayerResponse
|
|
1446
|
-
*/
|
|
1447
|
-
'isProfileVisible': boolean;
|
|
1448
|
-
/**
|
|
1449
|
-
* Abonné au club
|
|
1450
|
-
* @type {boolean}
|
|
1451
|
-
* @memberof ClubPlayerResponse
|
|
1452
|
-
*/
|
|
1453
|
-
'isSubscribedToClub': boolean;
|
|
1454
|
-
}
|
|
1455
|
-
/**
|
|
1456
|
-
*
|
|
1457
|
-
* @export
|
|
1458
|
-
* @interface ClubPlayerStatisticsResponse
|
|
1459
|
-
*/
|
|
1460
|
-
export interface ClubPlayerStatisticsResponse {
|
|
1461
|
-
/**
|
|
1462
|
-
* Nombre total de réservations (tous clubs confondus)
|
|
1463
|
-
* @type {number}
|
|
1464
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1465
|
-
*/
|
|
1466
|
-
'totalBookings': number;
|
|
1467
|
-
/**
|
|
1468
|
-
* Nombre total de réservations dans le club courant
|
|
1469
|
-
* @type {number}
|
|
1470
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1471
|
-
*/
|
|
1472
|
-
'totalBookingsInMyClub': number;
|
|
1473
|
-
/**
|
|
1474
|
-
* Somme totale dépensée dans le club courant (centimes)
|
|
1475
|
-
* @type {number}
|
|
1476
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1477
|
-
*/
|
|
1478
|
-
'totalSpentAmount': number;
|
|
1479
|
-
/**
|
|
1480
|
-
* Sport le plus pratiqué dans le club courant
|
|
1481
|
-
* @type {string}
|
|
1482
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1483
|
-
*/
|
|
1484
|
-
'favoriteSport': string | null;
|
|
1485
|
-
/**
|
|
1486
|
-
* Temps moyen entre la réservation et le début du créneau (heures)
|
|
1487
|
-
* @type {number}
|
|
1488
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1489
|
-
*/
|
|
1490
|
-
'averageBookingLeadTimeHours': number | null;
|
|
1491
|
-
/**
|
|
1492
|
-
* Taux d\'annulation dans le club courant (0-1)
|
|
1493
|
-
* @type {number}
|
|
1494
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1495
|
-
*/
|
|
1496
|
-
'bookingCancellationRate': number;
|
|
1497
|
-
/**
|
|
1498
|
-
* Nombre d\'abonnements actifs au club courant
|
|
1499
|
-
* @type {number}
|
|
1500
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1501
|
-
*/
|
|
1502
|
-
'activeSubscriptionsToMyClub': number;
|
|
1503
|
-
/**
|
|
1504
|
-
* Heure de créneau favorite dans le club courant (format HH:00)
|
|
1505
|
-
* @type {string}
|
|
1506
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1507
|
-
*/
|
|
1508
|
-
'favoriteTimeSlot': string | null;
|
|
1509
|
-
/**
|
|
1510
|
-
*
|
|
1511
|
-
* @type {ClubPlayerStatisticsResponseFavoriteClub}
|
|
1512
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1513
|
-
*/
|
|
1514
|
-
'favoriteClub': ClubPlayerStatisticsResponseFavoriteClub | null;
|
|
1515
|
-
/**
|
|
1516
|
-
*
|
|
1517
|
-
* @type {ClubPlayerStatisticsResponseMostPlayedClub}
|
|
1518
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1519
|
-
*/
|
|
1520
|
-
'mostPlayedClub': ClubPlayerStatisticsResponseMostPlayedClub | null;
|
|
1521
|
-
/**
|
|
1522
|
-
* Évolution quotidienne des montants dépensés ce mois-ci
|
|
1523
|
-
* @type {Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>}
|
|
1524
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1525
|
-
*/
|
|
1526
|
-
'bookingAmountEvolutionThisMonth': Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>;
|
|
1527
|
-
/**
|
|
1528
|
-
* Joueurs les plus joués dans le club courant
|
|
1529
|
-
* @type {Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>}
|
|
1530
|
-
* @memberof ClubPlayerStatisticsResponse
|
|
1531
|
-
*/
|
|
1532
|
-
'mostPlayedPartners': Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>;
|
|
1533
|
-
}
|
|
1534
|
-
/**
|
|
1535
|
-
*
|
|
1536
|
-
* @export
|
|
1537
|
-
* @interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
|
|
1538
|
-
*/
|
|
1539
|
-
export interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner {
|
|
1540
|
-
/**
|
|
1541
|
-
*
|
|
1542
|
-
* @type {number}
|
|
1543
|
-
* @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
|
|
1544
|
-
*/
|
|
1545
|
-
'amount': number;
|
|
1546
|
-
/**
|
|
1547
|
-
*
|
|
1548
|
-
* @type {number}
|
|
1549
|
-
* @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
|
|
1550
|
-
*/
|
|
1551
|
-
'day': number;
|
|
1552
|
-
}
|
|
1553
|
-
/**
|
|
1554
|
-
* Club favori selon le profil utilisateur
|
|
1555
|
-
* @export
|
|
1556
|
-
* @interface ClubPlayerStatisticsResponseFavoriteClub
|
|
1557
|
-
*/
|
|
1558
|
-
export interface ClubPlayerStatisticsResponseFavoriteClub {
|
|
1559
|
-
/**
|
|
1560
|
-
*
|
|
1561
|
-
* @type {string}
|
|
1562
|
-
* @memberof ClubPlayerStatisticsResponseFavoriteClub
|
|
1563
|
-
*/
|
|
1564
|
-
'name': string | null;
|
|
1565
|
-
/**
|
|
1566
|
-
*
|
|
1567
|
-
* @type {string}
|
|
1568
|
-
* @memberof ClubPlayerStatisticsResponseFavoriteClub
|
|
1569
|
-
*/
|
|
1570
|
-
'clubId': string;
|
|
1571
|
-
}
|
|
1572
|
-
/**
|
|
1573
|
-
* Club où le joueur a le plus joué
|
|
1574
|
-
* @export
|
|
1575
|
-
* @interface ClubPlayerStatisticsResponseMostPlayedClub
|
|
1576
|
-
*/
|
|
1577
|
-
export interface ClubPlayerStatisticsResponseMostPlayedClub {
|
|
1578
|
-
/**
|
|
1579
|
-
*
|
|
1580
|
-
* @type {number}
|
|
1581
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedClub
|
|
1582
|
-
*/
|
|
1583
|
-
'bookingsCount': number;
|
|
1584
|
-
/**
|
|
1585
|
-
*
|
|
1586
|
-
* @type {string}
|
|
1587
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedClub
|
|
1588
|
-
*/
|
|
1589
|
-
'name': string | null;
|
|
1590
|
-
/**
|
|
1591
|
-
*
|
|
1592
|
-
* @type {string}
|
|
1593
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedClub
|
|
1594
|
-
*/
|
|
1595
|
-
'clubId': string;
|
|
1596
|
-
}
|
|
1597
|
-
/**
|
|
1598
|
-
*
|
|
1599
|
-
* @export
|
|
1600
|
-
* @interface ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
1601
|
-
*/
|
|
1602
|
-
export interface ClubPlayerStatisticsResponseMostPlayedPartnersInner {
|
|
1603
|
-
/**
|
|
1604
|
-
*
|
|
1605
|
-
* @type {number}
|
|
1606
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
1607
|
-
*/
|
|
1608
|
-
'bookingsTogether': number;
|
|
1609
|
-
/**
|
|
1610
|
-
*
|
|
1611
|
-
* @type {string}
|
|
1612
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
1613
|
-
*/
|
|
1614
|
-
'lastName': string | null;
|
|
1615
|
-
/**
|
|
1616
|
-
*
|
|
1617
|
-
* @type {string}
|
|
1618
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
1619
|
-
*/
|
|
1620
|
-
'firstName': string | null;
|
|
1621
|
-
/**
|
|
1622
|
-
*
|
|
1623
|
-
* @type {string}
|
|
1624
|
-
* @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
1625
|
-
*/
|
|
1626
|
-
'userId': string;
|
|
1627
|
-
}
|
|
1628
|
-
/**
|
|
1629
|
-
*
|
|
1630
|
-
* @export
|
|
1631
|
-
* @interface ClubPlayerSubscriptionSummary
|
|
1632
|
-
*/
|
|
1633
|
-
export interface ClubPlayerSubscriptionSummary {
|
|
1634
|
-
/**
|
|
1635
|
-
* ID du plan d\'abonnement
|
|
1636
|
-
* @type {string}
|
|
1637
|
-
* @memberof ClubPlayerSubscriptionSummary
|
|
1638
|
-
*/
|
|
1639
|
-
'id': string;
|
|
1640
|
-
/**
|
|
1641
|
-
* Nom du plan
|
|
1642
|
-
* @type {string}
|
|
1643
|
-
* @memberof ClubPlayerSubscriptionSummary
|
|
1644
|
-
*/
|
|
1645
|
-
'name': string | null;
|
|
1646
|
-
/**
|
|
1647
|
-
* Montant en centimes
|
|
1648
|
-
* @type {number}
|
|
1649
|
-
* @memberof ClubPlayerSubscriptionSummary
|
|
1650
|
-
*/
|
|
1651
|
-
'amountInCents': number | null;
|
|
1652
|
-
/**
|
|
1653
|
-
* Devise
|
|
1654
|
-
* @type {string}
|
|
1655
|
-
* @memberof ClubPlayerSubscriptionSummary
|
|
1656
|
-
*/
|
|
1657
|
-
'currency': string | null;
|
|
1658
|
-
/**
|
|
1659
|
-
* Intervalle de facturation
|
|
1660
|
-
* @type {string}
|
|
1661
|
-
* @memberof ClubPlayerSubscriptionSummary
|
|
1662
|
-
*/
|
|
1663
|
-
'interval': string | null;
|
|
1664
|
-
}
|
|
1665
|
-
/**
|
|
1666
|
-
*
|
|
1667
|
-
* @export
|
|
1668
|
-
* @interface ClubPresentationSettingsResponse
|
|
1669
|
-
*/
|
|
1670
|
-
export interface ClubPresentationSettingsResponse {
|
|
1671
|
-
/**
|
|
1672
|
-
*
|
|
1673
|
-
* @type {string}
|
|
1674
|
-
* @memberof ClubPresentationSettingsResponse
|
|
1675
|
-
*/
|
|
1676
|
-
'description'?: string;
|
|
1677
|
-
/**
|
|
1678
|
-
*
|
|
1679
|
-
* @type {Array<string>}
|
|
1680
|
-
* @memberof ClubPresentationSettingsResponse
|
|
1681
|
-
*/
|
|
1682
|
-
'tags': Array<string>;
|
|
1246
|
+
'status'?: string;
|
|
1683
1247
|
/**
|
|
1684
1248
|
*
|
|
1685
|
-
* @type {
|
|
1686
|
-
* @memberof
|
|
1249
|
+
* @type {PaymentMethod}
|
|
1250
|
+
* @memberof CheckedInPlayer
|
|
1687
1251
|
*/
|
|
1688
|
-
'
|
|
1252
|
+
'paymentMethod'?: PaymentMethod;
|
|
1689
1253
|
/**
|
|
1690
|
-
*
|
|
1691
|
-
* @type {
|
|
1692
|
-
* @memberof
|
|
1254
|
+
* Note additionnelle
|
|
1255
|
+
* @type {string}
|
|
1256
|
+
* @memberof CheckedInPlayer
|
|
1693
1257
|
*/
|
|
1694
|
-
'
|
|
1258
|
+
'note'?: string;
|
|
1695
1259
|
}
|
|
1260
|
+
|
|
1261
|
+
|
|
1696
1262
|
/**
|
|
1697
1263
|
*
|
|
1698
1264
|
* @export
|
|
1699
|
-
* @interface
|
|
1265
|
+
* @interface ClubMemberResponse
|
|
1700
1266
|
*/
|
|
1701
|
-
export interface
|
|
1267
|
+
export interface ClubMemberResponse {
|
|
1702
1268
|
/**
|
|
1703
1269
|
*
|
|
1704
|
-
* @type {
|
|
1705
|
-
* @memberof
|
|
1270
|
+
* @type {ClubMemberResponseUser}
|
|
1271
|
+
* @memberof ClubMemberResponse
|
|
1706
1272
|
*/
|
|
1707
|
-
'
|
|
1273
|
+
'user': ClubMemberResponseUser;
|
|
1708
1274
|
/**
|
|
1709
|
-
*
|
|
1275
|
+
* Rôle du membre dans le club
|
|
1710
1276
|
* @type {string}
|
|
1711
|
-
* @memberof
|
|
1277
|
+
* @memberof ClubMemberResponse
|
|
1712
1278
|
*/
|
|
1713
|
-
'
|
|
1279
|
+
'role': string;
|
|
1714
1280
|
/**
|
|
1715
|
-
*
|
|
1281
|
+
* Droits du membre dans le club
|
|
1716
1282
|
* @type {Array<string>}
|
|
1717
|
-
* @memberof
|
|
1718
|
-
*/
|
|
1719
|
-
'days': Array<string>;
|
|
1720
|
-
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @type {string}
|
|
1723
|
-
* @memberof ClubPricingPeriodResponse
|
|
1724
|
-
*/
|
|
1725
|
-
'startTime': string;
|
|
1726
|
-
/**
|
|
1727
|
-
*
|
|
1728
|
-
* @type {string}
|
|
1729
|
-
* @memberof ClubPricingPeriodResponse
|
|
1730
|
-
*/
|
|
1731
|
-
'endTime': string;
|
|
1732
|
-
/**
|
|
1733
|
-
*
|
|
1734
|
-
* @type {number}
|
|
1735
|
-
* @memberof ClubPricingPeriodResponse
|
|
1283
|
+
* @memberof ClubMemberResponse
|
|
1736
1284
|
*/
|
|
1737
|
-
'
|
|
1285
|
+
'rights': Array<string>;
|
|
1738
1286
|
}
|
|
1739
1287
|
/**
|
|
1740
|
-
*
|
|
1288
|
+
* Utilisateur (membre)
|
|
1741
1289
|
* @export
|
|
1742
|
-
* @interface
|
|
1290
|
+
* @interface ClubMemberResponseUser
|
|
1743
1291
|
*/
|
|
1744
|
-
export interface
|
|
1292
|
+
export interface ClubMemberResponseUser {
|
|
1745
1293
|
/**
|
|
1746
1294
|
*
|
|
1747
|
-
* @type {
|
|
1748
|
-
* @memberof
|
|
1295
|
+
* @type {string}
|
|
1296
|
+
* @memberof ClubMemberResponseUser
|
|
1749
1297
|
*/
|
|
1750
|
-
'
|
|
1298
|
+
'email': string;
|
|
1751
1299
|
/**
|
|
1752
1300
|
*
|
|
1753
|
-
* @type {
|
|
1754
|
-
* @memberof
|
|
1301
|
+
* @type {string}
|
|
1302
|
+
* @memberof ClubMemberResponseUser
|
|
1755
1303
|
*/
|
|
1756
|
-
'
|
|
1304
|
+
'lastName': string;
|
|
1757
1305
|
/**
|
|
1758
1306
|
*
|
|
1759
|
-
* @type {
|
|
1760
|
-
* @memberof
|
|
1307
|
+
* @type {string}
|
|
1308
|
+
* @memberof ClubMemberResponseUser
|
|
1761
1309
|
*/
|
|
1762
|
-
'
|
|
1310
|
+
'firstName': string;
|
|
1763
1311
|
/**
|
|
1764
1312
|
*
|
|
1765
|
-
* @type {
|
|
1766
|
-
* @memberof
|
|
1313
|
+
* @type {string}
|
|
1314
|
+
* @memberof ClubMemberResponseUser
|
|
1767
1315
|
*/
|
|
1768
|
-
'
|
|
1316
|
+
'id': string;
|
|
1769
1317
|
}
|
|
1770
1318
|
/**
|
|
1771
1319
|
*
|
|
1772
1320
|
* @export
|
|
1773
|
-
* @interface
|
|
1321
|
+
* @interface ClubPlayerResponse
|
|
1774
1322
|
*/
|
|
1775
|
-
export interface
|
|
1323
|
+
export interface ClubPlayerResponse {
|
|
1776
1324
|
/**
|
|
1777
|
-
*
|
|
1778
|
-
* @type {
|
|
1779
|
-
* @memberof
|
|
1325
|
+
* ID de l\'utilisateur
|
|
1326
|
+
* @type {string}
|
|
1327
|
+
* @memberof ClubPlayerResponse
|
|
1780
1328
|
*/
|
|
1781
|
-
'
|
|
1329
|
+
'id': string;
|
|
1782
1330
|
/**
|
|
1783
|
-
*
|
|
1784
|
-
* @type {
|
|
1785
|
-
* @memberof
|
|
1331
|
+
* Prénom
|
|
1332
|
+
* @type {string}
|
|
1333
|
+
* @memberof ClubPlayerResponse
|
|
1786
1334
|
*/
|
|
1787
|
-
'
|
|
1335
|
+
'firstName': string;
|
|
1788
1336
|
/**
|
|
1789
|
-
*
|
|
1790
|
-
* @type {
|
|
1791
|
-
* @memberof
|
|
1337
|
+
* Nom
|
|
1338
|
+
* @type {string}
|
|
1339
|
+
* @memberof ClubPlayerResponse
|
|
1792
1340
|
*/
|
|
1793
|
-
'
|
|
1341
|
+
'lastName': string;
|
|
1794
1342
|
/**
|
|
1795
|
-
*
|
|
1796
|
-
* @type {
|
|
1797
|
-
* @memberof
|
|
1343
|
+
* Genre
|
|
1344
|
+
* @type {string}
|
|
1345
|
+
* @memberof ClubPlayerResponse
|
|
1798
1346
|
*/
|
|
1799
|
-
'
|
|
1347
|
+
'gender'?: string;
|
|
1800
1348
|
/**
|
|
1801
|
-
*
|
|
1802
|
-
* @type {
|
|
1803
|
-
* @memberof
|
|
1349
|
+
* Email
|
|
1350
|
+
* @type {string}
|
|
1351
|
+
* @memberof ClubPlayerResponse
|
|
1804
1352
|
*/
|
|
1805
|
-
'
|
|
1353
|
+
'email': string;
|
|
1806
1354
|
/**
|
|
1807
|
-
*
|
|
1808
|
-
* @type {
|
|
1809
|
-
* @memberof
|
|
1355
|
+
* Photo de profil
|
|
1356
|
+
* @type {string}
|
|
1357
|
+
* @memberof ClubPlayerResponse
|
|
1810
1358
|
*/
|
|
1811
|
-
'
|
|
1359
|
+
'profilePicture'?: string;
|
|
1812
1360
|
/**
|
|
1813
|
-
*
|
|
1814
|
-
* @type {
|
|
1815
|
-
* @memberof
|
|
1361
|
+
* Compte vérifié
|
|
1362
|
+
* @type {boolean}
|
|
1363
|
+
* @memberof ClubPlayerResponse
|
|
1816
1364
|
*/
|
|
1817
|
-
'
|
|
1365
|
+
'isAccountVerified': boolean;
|
|
1818
1366
|
/**
|
|
1819
|
-
*
|
|
1367
|
+
* Profil visible
|
|
1820
1368
|
* @type {boolean}
|
|
1821
|
-
* @memberof
|
|
1369
|
+
* @memberof ClubPlayerResponse
|
|
1822
1370
|
*/
|
|
1823
|
-
'
|
|
1371
|
+
'isProfileVisible': boolean;
|
|
1824
1372
|
/**
|
|
1825
|
-
*
|
|
1826
|
-
* @type {
|
|
1827
|
-
* @memberof
|
|
1373
|
+
* Abonné au club
|
|
1374
|
+
* @type {boolean}
|
|
1375
|
+
* @memberof ClubPlayerResponse
|
|
1828
1376
|
*/
|
|
1829
|
-
'
|
|
1377
|
+
'isSubscribedToClub': boolean;
|
|
1830
1378
|
}
|
|
1831
1379
|
/**
|
|
1832
1380
|
*
|
|
@@ -1918,6 +1466,30 @@ export interface ClubResponse {
|
|
|
1918
1466
|
* @memberof ClubResponse
|
|
1919
1467
|
*/
|
|
1920
1468
|
'sports'?: Array<string>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Autoriser plusieurs réservations en même temps
|
|
1471
|
+
* @type {boolean}
|
|
1472
|
+
* @memberof ClubResponse
|
|
1473
|
+
*/
|
|
1474
|
+
'allowMultipleBookingsAtTheSameTime'?: boolean | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* Limite de réservations simultanées (même créneau)
|
|
1477
|
+
* @type {number}
|
|
1478
|
+
* @memberof ClubResponse
|
|
1479
|
+
*/
|
|
1480
|
+
'sameTimeBookingsLimit'?: number | null;
|
|
1481
|
+
/**
|
|
1482
|
+
* Limite d\'annulation en heures
|
|
1483
|
+
* @type {number}
|
|
1484
|
+
* @memberof ClubResponse
|
|
1485
|
+
*/
|
|
1486
|
+
'cancellationLimitHours'?: number | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Nombre maximum de réservations par semaine
|
|
1489
|
+
* @type {number}
|
|
1490
|
+
* @memberof ClubResponse
|
|
1491
|
+
*/
|
|
1492
|
+
'maxWeeklyBookings'?: number | null;
|
|
1921
1493
|
/**
|
|
1922
1494
|
*
|
|
1923
1495
|
* @type {ClubResponseCreatedAt}
|
|
@@ -2082,19 +1654,13 @@ export interface ClubSettingsResponse {
|
|
|
2082
1654
|
* @type {number}
|
|
2083
1655
|
* @memberof ClubSettingsResponse
|
|
2084
1656
|
*/
|
|
2085
|
-
'maxWeeklyBookings': number
|
|
2086
|
-
/**
|
|
2087
|
-
* Autoriser plusieurs réservations en même temps
|
|
2088
|
-
* @type {boolean}
|
|
2089
|
-
* @memberof ClubSettingsResponse
|
|
2090
|
-
*/
|
|
2091
|
-
'allowMultipleBookingsAtTheSameTime': boolean;
|
|
1657
|
+
'maxWeeklyBookings': number;
|
|
2092
1658
|
/**
|
|
2093
1659
|
* Limite de réservations simultanées
|
|
2094
1660
|
* @type {number}
|
|
2095
1661
|
* @memberof ClubSettingsResponse
|
|
2096
1662
|
*/
|
|
2097
|
-
'sameTimeBookingsLimit'?: number
|
|
1663
|
+
'sameTimeBookingsLimit'?: number;
|
|
2098
1664
|
/**
|
|
2099
1665
|
* Limite d\'annulation en heures
|
|
2100
1666
|
* @type {number}
|
|
@@ -2213,87 +1779,6 @@ export interface ClubUserCountResponse {
|
|
|
2213
1779
|
*/
|
|
2214
1780
|
'count': number;
|
|
2215
1781
|
}
|
|
2216
|
-
/**
|
|
2217
|
-
*
|
|
2218
|
-
* @export
|
|
2219
|
-
* @interface ClubWeeklySchedule
|
|
2220
|
-
*/
|
|
2221
|
-
export interface ClubWeeklySchedule {
|
|
2222
|
-
/**
|
|
2223
|
-
*
|
|
2224
|
-
* @type {ClubDaySchedule}
|
|
2225
|
-
* @memberof ClubWeeklySchedule
|
|
2226
|
-
*/
|
|
2227
|
-
'dimanche': ClubDaySchedule | null;
|
|
2228
|
-
/**
|
|
2229
|
-
*
|
|
2230
|
-
* @type {ClubDaySchedule}
|
|
2231
|
-
* @memberof ClubWeeklySchedule
|
|
2232
|
-
*/
|
|
2233
|
-
'samedi': ClubDaySchedule | null;
|
|
2234
|
-
/**
|
|
2235
|
-
*
|
|
2236
|
-
* @type {ClubDaySchedule}
|
|
2237
|
-
* @memberof ClubWeeklySchedule
|
|
2238
|
-
*/
|
|
2239
|
-
'vendredi': ClubDaySchedule | null;
|
|
2240
|
-
/**
|
|
2241
|
-
*
|
|
2242
|
-
* @type {ClubDaySchedule}
|
|
2243
|
-
* @memberof ClubWeeklySchedule
|
|
2244
|
-
*/
|
|
2245
|
-
'jeudi': ClubDaySchedule | null;
|
|
2246
|
-
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @type {ClubDaySchedule}
|
|
2249
|
-
* @memberof ClubWeeklySchedule
|
|
2250
|
-
*/
|
|
2251
|
-
'mercredi': ClubDaySchedule | null;
|
|
2252
|
-
/**
|
|
2253
|
-
*
|
|
2254
|
-
* @type {ClubDaySchedule}
|
|
2255
|
-
* @memberof ClubWeeklySchedule
|
|
2256
|
-
*/
|
|
2257
|
-
'mardi': ClubDaySchedule | null;
|
|
2258
|
-
/**
|
|
2259
|
-
*
|
|
2260
|
-
* @type {ClubDaySchedule}
|
|
2261
|
-
* @memberof ClubWeeklySchedule
|
|
2262
|
-
*/
|
|
2263
|
-
'lundi': ClubDaySchedule | null;
|
|
2264
|
-
}
|
|
2265
|
-
/**
|
|
2266
|
-
*
|
|
2267
|
-
* @export
|
|
2268
|
-
* @interface ConfirmPaymentMethodRequestBody
|
|
2269
|
-
*/
|
|
2270
|
-
export interface ConfirmPaymentMethodRequestBody {
|
|
2271
|
-
/**
|
|
2272
|
-
*
|
|
2273
|
-
* @type {string}
|
|
2274
|
-
* @memberof ConfirmPaymentMethodRequestBody
|
|
2275
|
-
*/
|
|
2276
|
-
'setupIntentId': string;
|
|
2277
|
-
}
|
|
2278
|
-
/**
|
|
2279
|
-
*
|
|
2280
|
-
* @export
|
|
2281
|
-
* @interface ConfirmPaymentMethodResponse
|
|
2282
|
-
*/
|
|
2283
|
-
export interface ConfirmPaymentMethodResponse {
|
|
2284
|
-
/**
|
|
2285
|
-
*
|
|
2286
|
-
* @type {string}
|
|
2287
|
-
* @memberof ConfirmPaymentMethodResponse
|
|
2288
|
-
*/
|
|
2289
|
-
'message': string;
|
|
2290
|
-
/**
|
|
2291
|
-
*
|
|
2292
|
-
* @type {string}
|
|
2293
|
-
* @memberof ConfirmPaymentMethodResponse
|
|
2294
|
-
*/
|
|
2295
|
-
'paymentMethodId'?: string | null;
|
|
2296
|
-
}
|
|
2297
1782
|
/**
|
|
2298
1783
|
*
|
|
2299
1784
|
* @export
|
|
@@ -2456,10 +1941,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
|
|
|
2456
1941
|
export interface CreateBookingRequest {
|
|
2457
1942
|
/**
|
|
2458
1943
|
* ID du créneau à réserver
|
|
2459
|
-
* @type {string}
|
|
1944
|
+
* @type {Array<string>}
|
|
2460
1945
|
* @memberof CreateBookingRequest
|
|
2461
1946
|
*/
|
|
2462
|
-
'
|
|
1947
|
+
'slotIds': Array<string>;
|
|
2463
1948
|
/**
|
|
2464
1949
|
* Liste des joueurs avec leurs méthodes de paiement
|
|
2465
1950
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -2557,7 +2042,7 @@ export interface CreateClubSettingsRequest {
|
|
|
2557
2042
|
* @type {number}
|
|
2558
2043
|
* @memberof CreateClubSettingsRequest
|
|
2559
2044
|
*/
|
|
2560
|
-
'maxWeeklyBookings'?: number
|
|
2045
|
+
'maxWeeklyBookings'?: number;
|
|
2561
2046
|
/**
|
|
2562
2047
|
* Autoriser plusieurs réservations en même temps
|
|
2563
2048
|
* @type {boolean}
|
|
@@ -2569,7 +2054,7 @@ export interface CreateClubSettingsRequest {
|
|
|
2569
2054
|
* @type {number}
|
|
2570
2055
|
* @memberof CreateClubSettingsRequest
|
|
2571
2056
|
*/
|
|
2572
|
-
'sameTimeBookingsLimit'?: number
|
|
2057
|
+
'sameTimeBookingsLimit'?: number;
|
|
2573
2058
|
/**
|
|
2574
2059
|
* Limite d\'annulation en heures
|
|
2575
2060
|
* @type {number}
|
|
@@ -2707,10 +2192,10 @@ export interface CreateEventRequest {
|
|
|
2707
2192
|
'endDate': string;
|
|
2708
2193
|
/**
|
|
2709
2194
|
*
|
|
2710
|
-
* @type {Array<
|
|
2195
|
+
* @type {Array<EventResponseCourtsInner>}
|
|
2711
2196
|
* @memberof CreateEventRequest
|
|
2712
2197
|
*/
|
|
2713
|
-
'courts': Array<
|
|
2198
|
+
'courts': Array<EventResponseCourtsInner>;
|
|
2714
2199
|
/**
|
|
2715
2200
|
*
|
|
2716
2201
|
* @type {Array<string>}
|
|
@@ -2771,12 +2256,6 @@ export interface CreateEventRequest {
|
|
|
2771
2256
|
* @memberof CreateEventRequest
|
|
2772
2257
|
*/
|
|
2773
2258
|
'subscriberPrices'?: Array<SubscriberPrice>;
|
|
2774
|
-
/**
|
|
2775
|
-
*
|
|
2776
|
-
* @type {Array<number>}
|
|
2777
|
-
* @memberof CreateEventRequest
|
|
2778
|
-
*/
|
|
2779
|
-
'levels'?: Array<number>;
|
|
2780
2259
|
/**
|
|
2781
2260
|
*
|
|
2782
2261
|
* @type {string}
|
|
@@ -3215,10 +2694,10 @@ export interface EventResponse {
|
|
|
3215
2694
|
'endDate': string;
|
|
3216
2695
|
/**
|
|
3217
2696
|
*
|
|
3218
|
-
* @type {Array<
|
|
2697
|
+
* @type {Array<EventResponseCourtsInner>}
|
|
3219
2698
|
* @memberof EventResponse
|
|
3220
2699
|
*/
|
|
3221
|
-
'courts': Array<
|
|
2700
|
+
'courts': Array<EventResponseCourtsInner>;
|
|
3222
2701
|
/**
|
|
3223
2702
|
*
|
|
3224
2703
|
* @type {Array<SportWithLevels>}
|
|
@@ -3339,6 +2818,13 @@ export const EventResponseVisibilityTypeEnum = {
|
|
|
3339
2818
|
|
|
3340
2819
|
export type EventResponseVisibilityTypeEnum = typeof EventResponseVisibilityTypeEnum[keyof typeof EventResponseVisibilityTypeEnum];
|
|
3341
2820
|
|
|
2821
|
+
/**
|
|
2822
|
+
*
|
|
2823
|
+
* @export
|
|
2824
|
+
* @interface EventResponseCourtsInner
|
|
2825
|
+
*/
|
|
2826
|
+
export interface EventResponseCourtsInner {
|
|
2827
|
+
}
|
|
3342
2828
|
/**
|
|
3343
2829
|
*
|
|
3344
2830
|
* @export
|
|
@@ -3752,37 +3238,6 @@ export interface GoogleAuthResponseUser {
|
|
|
3752
3238
|
*/
|
|
3753
3239
|
'id': string;
|
|
3754
3240
|
}
|
|
3755
|
-
/**
|
|
3756
|
-
*
|
|
3757
|
-
* @export
|
|
3758
|
-
* @interface HotelAccessSettings
|
|
3759
|
-
*/
|
|
3760
|
-
export interface HotelAccessSettings {
|
|
3761
|
-
/**
|
|
3762
|
-
*
|
|
3763
|
-
* @type {boolean}
|
|
3764
|
-
* @memberof HotelAccessSettings
|
|
3765
|
-
*/
|
|
3766
|
-
'enabled': boolean;
|
|
3767
|
-
/**
|
|
3768
|
-
*
|
|
3769
|
-
* @type {string}
|
|
3770
|
-
* @memberof HotelAccessSettings
|
|
3771
|
-
*/
|
|
3772
|
-
'accessCode'?: string | null;
|
|
3773
|
-
/**
|
|
3774
|
-
*
|
|
3775
|
-
* @type {string}
|
|
3776
|
-
* @memberof HotelAccessSettings
|
|
3777
|
-
*/
|
|
3778
|
-
'validFrom'?: string | null;
|
|
3779
|
-
/**
|
|
3780
|
-
*
|
|
3781
|
-
* @type {string}
|
|
3782
|
-
* @memberof HotelAccessSettings
|
|
3783
|
-
*/
|
|
3784
|
-
'validUntil'?: string | null;
|
|
3785
|
-
}
|
|
3786
3241
|
/**
|
|
3787
3242
|
*
|
|
3788
3243
|
* @export
|
|
@@ -3943,24 +3398,12 @@ export interface IUserAttributes {
|
|
|
3943
3398
|
* @memberof IUserAttributes
|
|
3944
3399
|
*/
|
|
3945
3400
|
'isAccountVerified': boolean;
|
|
3946
|
-
/**
|
|
3947
|
-
*
|
|
3948
|
-
* @type {boolean}
|
|
3949
|
-
* @memberof IUserAttributes
|
|
3950
|
-
*/
|
|
3951
|
-
'isCreditCardRegistered'?: boolean;
|
|
3952
3401
|
/**
|
|
3953
3402
|
*
|
|
3954
3403
|
* @type {Array<ILevelBySports>}
|
|
3955
3404
|
* @memberof IUserAttributes
|
|
3956
3405
|
*/
|
|
3957
3406
|
'levelBySports'?: Array<ILevelBySports>;
|
|
3958
|
-
/**
|
|
3959
|
-
*
|
|
3960
|
-
* @type {string}
|
|
3961
|
-
* @memberof IUserAttributes
|
|
3962
|
-
*/
|
|
3963
|
-
'stripeCustomerId'?: string;
|
|
3964
3407
|
/**
|
|
3965
3408
|
*
|
|
3966
3409
|
* @type {string}
|
|
@@ -4032,31 +3475,7 @@ export interface IUserAttributes {
|
|
|
4032
3475
|
* @type {boolean}
|
|
4033
3476
|
* @memberof IUserAttributes
|
|
4034
3477
|
*/
|
|
4035
|
-
'isLevelCertified'?: boolean;
|
|
4036
|
-
/**
|
|
4037
|
-
*
|
|
4038
|
-
* @type {Array<string>}
|
|
4039
|
-
* @memberof IUserAttributes
|
|
4040
|
-
*/
|
|
4041
|
-
'paymentMethods'?: Array<string>;
|
|
4042
|
-
/**
|
|
4043
|
-
*
|
|
4044
|
-
* @type {string}
|
|
4045
|
-
* @memberof IUserAttributes
|
|
4046
|
-
*/
|
|
4047
|
-
'defaultPaymentMethodId'?: string;
|
|
4048
|
-
/**
|
|
4049
|
-
*
|
|
4050
|
-
* @type {boolean}
|
|
4051
|
-
* @memberof IUserAttributes
|
|
4052
|
-
*/
|
|
4053
|
-
'paymentMethodSetupCompleted': boolean;
|
|
4054
|
-
/**
|
|
4055
|
-
*
|
|
4056
|
-
* @type {string}
|
|
4057
|
-
* @memberof IUserAttributes
|
|
4058
|
-
*/
|
|
4059
|
-
'setupIntentId'?: string;
|
|
3478
|
+
'isLevelCertified'?: boolean;
|
|
4060
3479
|
/**
|
|
4061
3480
|
*
|
|
4062
3481
|
* @type {Array<string>}
|
|
@@ -4087,6 +3506,12 @@ export interface IUserAttributes {
|
|
|
4087
3506
|
* @memberof IUserAttributes
|
|
4088
3507
|
*/
|
|
4089
3508
|
'sports'?: { [key: string]: any; };
|
|
3509
|
+
/**
|
|
3510
|
+
*
|
|
3511
|
+
* @type {string}
|
|
3512
|
+
* @memberof IUserAttributes
|
|
3513
|
+
*/
|
|
3514
|
+
'stripeCustomerId'?: string;
|
|
4090
3515
|
}
|
|
4091
3516
|
|
|
4092
3517
|
|
|
@@ -4244,6 +3669,26 @@ export interface InvoiceInfo {
|
|
|
4244
3669
|
*/
|
|
4245
3670
|
'status': string;
|
|
4246
3671
|
}
|
|
3672
|
+
/**
|
|
3673
|
+
*
|
|
3674
|
+
* @export
|
|
3675
|
+
* @enum {string}
|
|
3676
|
+
*/
|
|
3677
|
+
|
|
3678
|
+
export const InvoiceStatus = {
|
|
3679
|
+
SetupPending: 'setup_pending',
|
|
3680
|
+
SetupSuccess: 'setup_success',
|
|
3681
|
+
Pending: 'pending',
|
|
3682
|
+
Paid: 'paid',
|
|
3683
|
+
Failed: 'failed',
|
|
3684
|
+
Authorized: 'authorized',
|
|
3685
|
+
Canceled: 'canceled',
|
|
3686
|
+
Expired: 'expired'
|
|
3687
|
+
} as const;
|
|
3688
|
+
|
|
3689
|
+
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
3690
|
+
|
|
3691
|
+
|
|
4247
3692
|
/**
|
|
4248
3693
|
*
|
|
4249
3694
|
* @export
|
|
@@ -4635,206 +4080,41 @@ export interface PartialClubResponse {
|
|
|
4635
4080
|
*/
|
|
4636
4081
|
'sports'?: Array<string>;
|
|
4637
4082
|
/**
|
|
4638
|
-
*
|
|
4639
|
-
* @type {
|
|
4083
|
+
* Autoriser plusieurs réservations en même temps
|
|
4084
|
+
* @type {boolean}
|
|
4640
4085
|
* @memberof PartialClubResponse
|
|
4641
4086
|
*/
|
|
4642
|
-
'
|
|
4087
|
+
'allowMultipleBookingsAtTheSameTime'?: boolean;
|
|
4643
4088
|
/**
|
|
4644
|
-
*
|
|
4645
|
-
* @type {
|
|
4089
|
+
* Limite de réservations simultanées (même créneau)
|
|
4090
|
+
* @type {number}
|
|
4646
4091
|
* @memberof PartialClubResponse
|
|
4647
4092
|
*/
|
|
4648
|
-
'
|
|
4649
|
-
}
|
|
4650
|
-
/**
|
|
4651
|
-
* Make all properties in T optional
|
|
4652
|
-
* @export
|
|
4653
|
-
* @interface PartialClubWeeklySchedule
|
|
4654
|
-
*/
|
|
4655
|
-
export interface PartialClubWeeklySchedule {
|
|
4656
|
-
/**
|
|
4657
|
-
*
|
|
4658
|
-
* @type {ClubDaySchedule}
|
|
4659
|
-
* @memberof PartialClubWeeklySchedule
|
|
4660
|
-
*/
|
|
4661
|
-
'lundi'?: ClubDaySchedule;
|
|
4662
|
-
/**
|
|
4663
|
-
*
|
|
4664
|
-
* @type {ClubDaySchedule}
|
|
4665
|
-
* @memberof PartialClubWeeklySchedule
|
|
4666
|
-
*/
|
|
4667
|
-
'mardi'?: ClubDaySchedule;
|
|
4668
|
-
/**
|
|
4669
|
-
*
|
|
4670
|
-
* @type {ClubDaySchedule}
|
|
4671
|
-
* @memberof PartialClubWeeklySchedule
|
|
4672
|
-
*/
|
|
4673
|
-
'mercredi'?: ClubDaySchedule;
|
|
4674
|
-
/**
|
|
4675
|
-
*
|
|
4676
|
-
* @type {ClubDaySchedule}
|
|
4677
|
-
* @memberof PartialClubWeeklySchedule
|
|
4678
|
-
*/
|
|
4679
|
-
'jeudi'?: ClubDaySchedule;
|
|
4680
|
-
/**
|
|
4681
|
-
*
|
|
4682
|
-
* @type {ClubDaySchedule}
|
|
4683
|
-
* @memberof PartialClubWeeklySchedule
|
|
4684
|
-
*/
|
|
4685
|
-
'vendredi'?: ClubDaySchedule;
|
|
4686
|
-
/**
|
|
4687
|
-
*
|
|
4688
|
-
* @type {ClubDaySchedule}
|
|
4689
|
-
* @memberof PartialClubWeeklySchedule
|
|
4690
|
-
*/
|
|
4691
|
-
'samedi'?: ClubDaySchedule;
|
|
4692
|
-
/**
|
|
4693
|
-
*
|
|
4694
|
-
* @type {ClubDaySchedule}
|
|
4695
|
-
* @memberof PartialClubWeeklySchedule
|
|
4696
|
-
*/
|
|
4697
|
-
'dimanche'?: ClubDaySchedule;
|
|
4698
|
-
}
|
|
4699
|
-
/**
|
|
4700
|
-
* Make all properties in T optional
|
|
4701
|
-
* @export
|
|
4702
|
-
* @interface PartialHotelAccessSettings
|
|
4703
|
-
*/
|
|
4704
|
-
export interface PartialHotelAccessSettings {
|
|
4705
|
-
/**
|
|
4706
|
-
*
|
|
4707
|
-
* @type {string}
|
|
4708
|
-
* @memberof PartialHotelAccessSettings
|
|
4709
|
-
*/
|
|
4710
|
-
'accessCode'?: string;
|
|
4711
|
-
/**
|
|
4712
|
-
*
|
|
4713
|
-
* @type {string}
|
|
4714
|
-
* @memberof PartialHotelAccessSettings
|
|
4715
|
-
*/
|
|
4716
|
-
'validFrom'?: string;
|
|
4717
|
-
/**
|
|
4718
|
-
*
|
|
4719
|
-
* @type {string}
|
|
4720
|
-
* @memberof PartialHotelAccessSettings
|
|
4721
|
-
*/
|
|
4722
|
-
'validUntil'?: string;
|
|
4723
|
-
/**
|
|
4724
|
-
*
|
|
4725
|
-
* @type {boolean}
|
|
4726
|
-
* @memberof PartialHotelAccessSettings
|
|
4727
|
-
*/
|
|
4728
|
-
'enabled'?: boolean;
|
|
4729
|
-
}
|
|
4730
|
-
/**
|
|
4731
|
-
* Make all properties in T optional
|
|
4732
|
-
* @export
|
|
4733
|
-
* @interface PartialPaymentRequirementsSettings
|
|
4734
|
-
*/
|
|
4735
|
-
export interface PartialPaymentRequirementsSettings {
|
|
4736
|
-
/**
|
|
4737
|
-
*
|
|
4738
|
-
* @type {boolean}
|
|
4739
|
-
* @memberof PartialPaymentRequirementsSettings
|
|
4740
|
-
*/
|
|
4741
|
-
'requireCardImprint'?: boolean;
|
|
4742
|
-
/**
|
|
4743
|
-
*
|
|
4744
|
-
* @type {boolean}
|
|
4745
|
-
* @memberof PartialPaymentRequirementsSettings
|
|
4746
|
-
*/
|
|
4747
|
-
'requireOnlinePayment'?: boolean;
|
|
4748
|
-
}
|
|
4749
|
-
/**
|
|
4750
|
-
* Make all properties in T optional
|
|
4751
|
-
* @export
|
|
4752
|
-
* @interface PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
|
|
4753
|
-
*/
|
|
4754
|
-
export interface PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings {
|
|
4755
|
-
/**
|
|
4756
|
-
*
|
|
4757
|
-
* @type {PartialPublicAccessSettings}
|
|
4758
|
-
* @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
|
|
4759
|
-
*/
|
|
4760
|
-
'publicAccess'?: PartialPublicAccessSettings;
|
|
4761
|
-
/**
|
|
4762
|
-
*
|
|
4763
|
-
* @type {PartialSchoolAccessSettings}
|
|
4764
|
-
* @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
|
|
4765
|
-
*/
|
|
4766
|
-
'schoolAccess'?: PartialSchoolAccessSettings;
|
|
4767
|
-
/**
|
|
4768
|
-
*
|
|
4769
|
-
* @type {PartialHotelAccessSettings}
|
|
4770
|
-
* @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
|
|
4771
|
-
*/
|
|
4772
|
-
'hotelAccess'?: PartialHotelAccessSettings;
|
|
4773
|
-
/**
|
|
4774
|
-
*
|
|
4775
|
-
* @type {PartialPaymentRequirementsSettings}
|
|
4776
|
-
* @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
|
|
4777
|
-
*/
|
|
4778
|
-
'paymentRequirements'?: PartialPaymentRequirementsSettings;
|
|
4779
|
-
}
|
|
4780
|
-
/**
|
|
4781
|
-
* Make all properties in T optional
|
|
4782
|
-
* @export
|
|
4783
|
-
* @interface PartialPublicAccessSettings
|
|
4784
|
-
*/
|
|
4785
|
-
export interface PartialPublicAccessSettings {
|
|
4786
|
-
/**
|
|
4787
|
-
*
|
|
4788
|
-
* @type {string}
|
|
4789
|
-
* @memberof PartialPublicAccessSettings
|
|
4790
|
-
*/
|
|
4791
|
-
'paymentMode'?: PartialPublicAccessSettingsPaymentModeEnum;
|
|
4093
|
+
'sameTimeBookingsLimit'?: number;
|
|
4792
4094
|
/**
|
|
4793
|
-
*
|
|
4095
|
+
* Limite d\'annulation en heures
|
|
4794
4096
|
* @type {number}
|
|
4795
|
-
* @memberof
|
|
4796
|
-
*/
|
|
4797
|
-
'pricePerAccess'?: number;
|
|
4798
|
-
/**
|
|
4799
|
-
*
|
|
4800
|
-
* @type {boolean}
|
|
4801
|
-
* @memberof PartialPublicAccessSettings
|
|
4097
|
+
* @memberof PartialClubResponse
|
|
4802
4098
|
*/
|
|
4803
|
-
'
|
|
4804
|
-
}
|
|
4805
|
-
|
|
4806
|
-
export const PartialPublicAccessSettingsPaymentModeEnum = {
|
|
4807
|
-
Free: 'free',
|
|
4808
|
-
AccessFee: 'access_fee',
|
|
4809
|
-
PerCourt: 'per_court'
|
|
4810
|
-
} as const;
|
|
4811
|
-
|
|
4812
|
-
export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
|
|
4813
|
-
|
|
4814
|
-
/**
|
|
4815
|
-
* Make all properties in T optional
|
|
4816
|
-
* @export
|
|
4817
|
-
* @interface PartialSchoolAccessSettings
|
|
4818
|
-
*/
|
|
4819
|
-
export interface PartialSchoolAccessSettings {
|
|
4099
|
+
'cancellationLimitHours'?: number;
|
|
4820
4100
|
/**
|
|
4821
|
-
*
|
|
4822
|
-
* @type {
|
|
4823
|
-
* @memberof
|
|
4101
|
+
* Nombre maximum de réservations par semaine
|
|
4102
|
+
* @type {number}
|
|
4103
|
+
* @memberof PartialClubResponse
|
|
4824
4104
|
*/
|
|
4825
|
-
'
|
|
4105
|
+
'maxWeeklyBookings'?: number;
|
|
4826
4106
|
/**
|
|
4827
4107
|
*
|
|
4828
|
-
* @type {
|
|
4829
|
-
* @memberof
|
|
4108
|
+
* @type {ClubResponseCreatedAt}
|
|
4109
|
+
* @memberof PartialClubResponse
|
|
4830
4110
|
*/
|
|
4831
|
-
'
|
|
4111
|
+
'createdAt'?: ClubResponseCreatedAt;
|
|
4832
4112
|
/**
|
|
4833
4113
|
*
|
|
4834
|
-
* @type {
|
|
4835
|
-
* @memberof
|
|
4114
|
+
* @type {ClubResponseUpdatedAt}
|
|
4115
|
+
* @memberof PartialClubResponse
|
|
4836
4116
|
*/
|
|
4837
|
-
'
|
|
4117
|
+
'updatedAt'?: ClubResponseUpdatedAt;
|
|
4838
4118
|
}
|
|
4839
4119
|
/**
|
|
4840
4120
|
*
|
|
@@ -4883,50 +4163,6 @@ export const PaymentMethod = {
|
|
|
4883
4163
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
4884
4164
|
|
|
4885
4165
|
|
|
4886
|
-
/**
|
|
4887
|
-
*
|
|
4888
|
-
* @export
|
|
4889
|
-
* @interface PaymentMethodSetupResponse
|
|
4890
|
-
*/
|
|
4891
|
-
export interface PaymentMethodSetupResponse {
|
|
4892
|
-
/**
|
|
4893
|
-
*
|
|
4894
|
-
* @type {string}
|
|
4895
|
-
* @memberof PaymentMethodSetupResponse
|
|
4896
|
-
*/
|
|
4897
|
-
'message': string;
|
|
4898
|
-
/**
|
|
4899
|
-
*
|
|
4900
|
-
* @type {Array<string>}
|
|
4901
|
-
* @memberof PaymentMethodSetupResponse
|
|
4902
|
-
*/
|
|
4903
|
-
'paymentMethods': Array<string>;
|
|
4904
|
-
/**
|
|
4905
|
-
*
|
|
4906
|
-
* @type {string}
|
|
4907
|
-
* @memberof PaymentMethodSetupResponse
|
|
4908
|
-
*/
|
|
4909
|
-
'defaultPaymentMethodId'?: string | null;
|
|
4910
|
-
}
|
|
4911
|
-
/**
|
|
4912
|
-
*
|
|
4913
|
-
* @export
|
|
4914
|
-
* @interface PaymentRequirementsSettings
|
|
4915
|
-
*/
|
|
4916
|
-
export interface PaymentRequirementsSettings {
|
|
4917
|
-
/**
|
|
4918
|
-
*
|
|
4919
|
-
* @type {boolean}
|
|
4920
|
-
* @memberof PaymentRequirementsSettings
|
|
4921
|
-
*/
|
|
4922
|
-
'requireCardImprint': boolean;
|
|
4923
|
-
/**
|
|
4924
|
-
*
|
|
4925
|
-
* @type {boolean}
|
|
4926
|
-
* @memberof PaymentRequirementsSettings
|
|
4927
|
-
*/
|
|
4928
|
-
'requireOnlinePayment': boolean;
|
|
4929
|
-
}
|
|
4930
4166
|
/**
|
|
4931
4167
|
* From T, pick a set of properties whose keys are in the union K
|
|
4932
4168
|
* @export
|
|
@@ -5179,6 +4415,49 @@ export interface PlayerPaymentInfo {
|
|
|
5179
4415
|
}
|
|
5180
4416
|
|
|
5181
4417
|
|
|
4418
|
+
/**
|
|
4419
|
+
*
|
|
4420
|
+
* @export
|
|
4421
|
+
* @interface PlayerPrice
|
|
4422
|
+
*/
|
|
4423
|
+
export interface PlayerPrice {
|
|
4424
|
+
/**
|
|
4425
|
+
*
|
|
4426
|
+
* @type {string}
|
|
4427
|
+
* @memberof PlayerPrice
|
|
4428
|
+
*/
|
|
4429
|
+
'playerId': string;
|
|
4430
|
+
/**
|
|
4431
|
+
*
|
|
4432
|
+
* @type {string}
|
|
4433
|
+
* @memberof PlayerPrice
|
|
4434
|
+
*/
|
|
4435
|
+
'firstName'?: string;
|
|
4436
|
+
/**
|
|
4437
|
+
*
|
|
4438
|
+
* @type {string}
|
|
4439
|
+
* @memberof PlayerPrice
|
|
4440
|
+
*/
|
|
4441
|
+
'lastName'?: string;
|
|
4442
|
+
/**
|
|
4443
|
+
*
|
|
4444
|
+
* @type {Array<SubscriptionInfo>}
|
|
4445
|
+
* @memberof PlayerPrice
|
|
4446
|
+
*/
|
|
4447
|
+
'subscriptions': Array<SubscriptionInfo>;
|
|
4448
|
+
/**
|
|
4449
|
+
*
|
|
4450
|
+
* @type {number}
|
|
4451
|
+
* @memberof PlayerPrice
|
|
4452
|
+
*/
|
|
4453
|
+
'creditAvailablesInCents'?: number;
|
|
4454
|
+
/**
|
|
4455
|
+
*
|
|
4456
|
+
* @type {number}
|
|
4457
|
+
* @memberof PlayerPrice
|
|
4458
|
+
*/
|
|
4459
|
+
'price': number;
|
|
4460
|
+
}
|
|
5182
4461
|
/**
|
|
5183
4462
|
*
|
|
5184
4463
|
* @export
|
|
@@ -5307,40 +4586,6 @@ export interface ProfilePictureUpdateRequestBody {
|
|
|
5307
4586
|
*/
|
|
5308
4587
|
'profilePicture': string;
|
|
5309
4588
|
}
|
|
5310
|
-
/**
|
|
5311
|
-
*
|
|
5312
|
-
* @export
|
|
5313
|
-
* @interface PublicAccessSettings
|
|
5314
|
-
*/
|
|
5315
|
-
export interface PublicAccessSettings {
|
|
5316
|
-
/**
|
|
5317
|
-
*
|
|
5318
|
-
* @type {boolean}
|
|
5319
|
-
* @memberof PublicAccessSettings
|
|
5320
|
-
*/
|
|
5321
|
-
'enabled': boolean;
|
|
5322
|
-
/**
|
|
5323
|
-
*
|
|
5324
|
-
* @type {string}
|
|
5325
|
-
* @memberof PublicAccessSettings
|
|
5326
|
-
*/
|
|
5327
|
-
'paymentMode': PublicAccessSettingsPaymentModeEnum;
|
|
5328
|
-
/**
|
|
5329
|
-
*
|
|
5330
|
-
* @type {number}
|
|
5331
|
-
* @memberof PublicAccessSettings
|
|
5332
|
-
*/
|
|
5333
|
-
'pricePerAccess': number | null;
|
|
5334
|
-
}
|
|
5335
|
-
|
|
5336
|
-
export const PublicAccessSettingsPaymentModeEnum = {
|
|
5337
|
-
Free: 'free',
|
|
5338
|
-
AccessFee: 'access_fee',
|
|
5339
|
-
PerCourt: 'per_court'
|
|
5340
|
-
} as const;
|
|
5341
|
-
|
|
5342
|
-
export type PublicAccessSettingsPaymentModeEnum = typeof PublicAccessSettingsPaymentModeEnum[keyof typeof PublicAccessSettingsPaymentModeEnum];
|
|
5343
|
-
|
|
5344
4589
|
/**
|
|
5345
4590
|
*
|
|
5346
4591
|
* @export
|
|
@@ -5484,6 +4729,25 @@ export interface PublishEventResponse {
|
|
|
5484
4729
|
*/
|
|
5485
4730
|
'event': EventResponse;
|
|
5486
4731
|
}
|
|
4732
|
+
/**
|
|
4733
|
+
*
|
|
4734
|
+
* @export
|
|
4735
|
+
* @interface QuickReservationClubSport
|
|
4736
|
+
*/
|
|
4737
|
+
export interface QuickReservationClubSport {
|
|
4738
|
+
/**
|
|
4739
|
+
* ID du sport
|
|
4740
|
+
* @type {string}
|
|
4741
|
+
* @memberof QuickReservationClubSport
|
|
4742
|
+
*/
|
|
4743
|
+
'id': string;
|
|
4744
|
+
/**
|
|
4745
|
+
* Clé du sport
|
|
4746
|
+
* @type {string}
|
|
4747
|
+
* @memberof QuickReservationClubSport
|
|
4748
|
+
*/
|
|
4749
|
+
'key'?: string;
|
|
4750
|
+
}
|
|
5487
4751
|
/**
|
|
5488
4752
|
*
|
|
5489
4753
|
* @export
|
|
@@ -5502,6 +4766,12 @@ export interface QuickReservationClubSummary {
|
|
|
5502
4766
|
* @memberof QuickReservationClubSummary
|
|
5503
4767
|
*/
|
|
5504
4768
|
'clubName': string;
|
|
4769
|
+
/**
|
|
4770
|
+
* Description du club
|
|
4771
|
+
* @type {string}
|
|
4772
|
+
* @memberof QuickReservationClubSummary
|
|
4773
|
+
*/
|
|
4774
|
+
'description'?: string;
|
|
5505
4775
|
/**
|
|
5506
4776
|
* Distance par rapport à la recherche, en mètres
|
|
5507
4777
|
* @type {number}
|
|
@@ -5519,7 +4789,13 @@ export interface QuickReservationClubSummary {
|
|
|
5519
4789
|
* @type {Array<QuickReservationSlotSummary>}
|
|
5520
4790
|
* @memberof QuickReservationClubSummary
|
|
5521
4791
|
*/
|
|
5522
|
-
'slots': Array<QuickReservationSlotSummary>;
|
|
4792
|
+
'slots': Array<QuickReservationSlotSummary>;
|
|
4793
|
+
/**
|
|
4794
|
+
* Sports disponibles dans le club
|
|
4795
|
+
* @type {Array<QuickReservationClubSport>}
|
|
4796
|
+
* @memberof QuickReservationClubSummary
|
|
4797
|
+
*/
|
|
4798
|
+
'sports'?: Array<QuickReservationClubSport>;
|
|
5523
4799
|
}
|
|
5524
4800
|
/**
|
|
5525
4801
|
* Localisation du club
|
|
@@ -5909,69 +5185,6 @@ export interface ResetPasswordRequest {
|
|
|
5909
5185
|
*/
|
|
5910
5186
|
'token'?: string;
|
|
5911
5187
|
}
|
|
5912
|
-
/**
|
|
5913
|
-
*
|
|
5914
|
-
* @export
|
|
5915
|
-
* @interface SchoolAccessSettings
|
|
5916
|
-
*/
|
|
5917
|
-
export interface SchoolAccessSettings {
|
|
5918
|
-
/**
|
|
5919
|
-
*
|
|
5920
|
-
* @type {boolean}
|
|
5921
|
-
* @memberof SchoolAccessSettings
|
|
5922
|
-
*/
|
|
5923
|
-
'enabled': boolean;
|
|
5924
|
-
/**
|
|
5925
|
-
*
|
|
5926
|
-
* @type {Array<string>}
|
|
5927
|
-
* @memberof SchoolAccessSettings
|
|
5928
|
-
*/
|
|
5929
|
-
'emailSuffixes': Array<string>;
|
|
5930
|
-
/**
|
|
5931
|
-
*
|
|
5932
|
-
* @type {boolean}
|
|
5933
|
-
* @memberof SchoolAccessSettings
|
|
5934
|
-
*/
|
|
5935
|
-
'requireCertification': boolean;
|
|
5936
|
-
}
|
|
5937
|
-
/**
|
|
5938
|
-
*
|
|
5939
|
-
* @export
|
|
5940
|
-
* @interface SetupPaymentMethodRequestBody
|
|
5941
|
-
*/
|
|
5942
|
-
export interface SetupPaymentMethodRequestBody {
|
|
5943
|
-
/**
|
|
5944
|
-
*
|
|
5945
|
-
* @type {string}
|
|
5946
|
-
* @memberof SetupPaymentMethodRequestBody
|
|
5947
|
-
*/
|
|
5948
|
-
'clubId': string;
|
|
5949
|
-
}
|
|
5950
|
-
/**
|
|
5951
|
-
*
|
|
5952
|
-
* @export
|
|
5953
|
-
* @interface SetupPaymentMethodResponse
|
|
5954
|
-
*/
|
|
5955
|
-
export interface SetupPaymentMethodResponse {
|
|
5956
|
-
/**
|
|
5957
|
-
*
|
|
5958
|
-
* @type {string}
|
|
5959
|
-
* @memberof SetupPaymentMethodResponse
|
|
5960
|
-
*/
|
|
5961
|
-
'setupIntentId': string;
|
|
5962
|
-
/**
|
|
5963
|
-
*
|
|
5964
|
-
* @type {string}
|
|
5965
|
-
* @memberof SetupPaymentMethodResponse
|
|
5966
|
-
*/
|
|
5967
|
-
'clientSecret': string;
|
|
5968
|
-
/**
|
|
5969
|
-
*
|
|
5970
|
-
* @type {string}
|
|
5971
|
-
* @memberof SetupPaymentMethodResponse
|
|
5972
|
-
*/
|
|
5973
|
-
'message': string;
|
|
5974
|
-
}
|
|
5975
5188
|
/**
|
|
5976
5189
|
*
|
|
5977
5190
|
* @export
|
|
@@ -6001,7 +5214,7 @@ export interface SlotInfo {
|
|
|
6001
5214
|
* @type {CourtInfo}
|
|
6002
5215
|
* @memberof SlotInfo
|
|
6003
5216
|
*/
|
|
6004
|
-
'
|
|
5217
|
+
'courtId': CourtInfo;
|
|
6005
5218
|
}
|
|
6006
5219
|
/**
|
|
6007
5220
|
*
|
|
@@ -6248,24 +5461,12 @@ export interface StaffUserProfileResponse {
|
|
|
6248
5461
|
* @memberof StaffUserProfileResponse
|
|
6249
5462
|
*/
|
|
6250
5463
|
'isAccountVerified': boolean;
|
|
6251
|
-
/**
|
|
6252
|
-
*
|
|
6253
|
-
* @type {boolean}
|
|
6254
|
-
* @memberof StaffUserProfileResponse
|
|
6255
|
-
*/
|
|
6256
|
-
'isCreditCardRegistered'?: boolean;
|
|
6257
5464
|
/**
|
|
6258
5465
|
*
|
|
6259
5466
|
* @type {Array<ILevelBySports>}
|
|
6260
5467
|
* @memberof StaffUserProfileResponse
|
|
6261
5468
|
*/
|
|
6262
5469
|
'levelBySports'?: Array<ILevelBySports>;
|
|
6263
|
-
/**
|
|
6264
|
-
*
|
|
6265
|
-
* @type {string}
|
|
6266
|
-
* @memberof StaffUserProfileResponse
|
|
6267
|
-
*/
|
|
6268
|
-
'stripeCustomerId'?: string;
|
|
6269
5470
|
/**
|
|
6270
5471
|
*
|
|
6271
5472
|
* @type {string}
|
|
@@ -6338,30 +5539,6 @@ export interface StaffUserProfileResponse {
|
|
|
6338
5539
|
* @memberof StaffUserProfileResponse
|
|
6339
5540
|
*/
|
|
6340
5541
|
'isLevelCertified'?: boolean;
|
|
6341
|
-
/**
|
|
6342
|
-
*
|
|
6343
|
-
* @type {Array<string>}
|
|
6344
|
-
* @memberof StaffUserProfileResponse
|
|
6345
|
-
*/
|
|
6346
|
-
'paymentMethods'?: Array<string>;
|
|
6347
|
-
/**
|
|
6348
|
-
*
|
|
6349
|
-
* @type {string}
|
|
6350
|
-
* @memberof StaffUserProfileResponse
|
|
6351
|
-
*/
|
|
6352
|
-
'defaultPaymentMethodId'?: string;
|
|
6353
|
-
/**
|
|
6354
|
-
*
|
|
6355
|
-
* @type {boolean}
|
|
6356
|
-
* @memberof StaffUserProfileResponse
|
|
6357
|
-
*/
|
|
6358
|
-
'paymentMethodSetupCompleted': boolean;
|
|
6359
|
-
/**
|
|
6360
|
-
*
|
|
6361
|
-
* @type {string}
|
|
6362
|
-
* @memberof StaffUserProfileResponse
|
|
6363
|
-
*/
|
|
6364
|
-
'setupIntentId'?: string;
|
|
6365
5542
|
/**
|
|
6366
5543
|
*
|
|
6367
5544
|
* @type {Array<string>}
|
|
@@ -6392,6 +5569,12 @@ export interface StaffUserProfileResponse {
|
|
|
6392
5569
|
* @memberof StaffUserProfileResponse
|
|
6393
5570
|
*/
|
|
6394
5571
|
'sports'?: { [key: string]: any; };
|
|
5572
|
+
/**
|
|
5573
|
+
*
|
|
5574
|
+
* @type {string}
|
|
5575
|
+
* @memberof StaffUserProfileResponse
|
|
5576
|
+
*/
|
|
5577
|
+
'stripeCustomerId'?: string;
|
|
6395
5578
|
/**
|
|
6396
5579
|
*
|
|
6397
5580
|
* @type {boolean}
|
|
@@ -7685,6 +6868,12 @@ export interface SubscribeRequestBody {
|
|
|
7685
6868
|
* @memberof SubscribeRequestBody
|
|
7686
6869
|
*/
|
|
7687
6870
|
'priceId': string;
|
|
6871
|
+
/**
|
|
6872
|
+
*
|
|
6873
|
+
* @type {boolean}
|
|
6874
|
+
* @memberof SubscribeRequestBody
|
|
6875
|
+
*/
|
|
6876
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
7688
6877
|
}
|
|
7689
6878
|
/**
|
|
7690
6879
|
*
|
|
@@ -7705,6 +6894,31 @@ export interface SubscriberPrice {
|
|
|
7705
6894
|
*/
|
|
7706
6895
|
'amount': number;
|
|
7707
6896
|
}
|
|
6897
|
+
/**
|
|
6898
|
+
*
|
|
6899
|
+
* @export
|
|
6900
|
+
* @interface SubscriptionInfo
|
|
6901
|
+
*/
|
|
6902
|
+
export interface SubscriptionInfo {
|
|
6903
|
+
/**
|
|
6904
|
+
*
|
|
6905
|
+
* @type {string}
|
|
6906
|
+
* @memberof SubscriptionInfo
|
|
6907
|
+
*/
|
|
6908
|
+
'subscriptionPlanName'?: string;
|
|
6909
|
+
/**
|
|
6910
|
+
*
|
|
6911
|
+
* @type {string}
|
|
6912
|
+
* @memberof SubscriptionInfo
|
|
6913
|
+
*/
|
|
6914
|
+
'subscriptionDescription'?: string;
|
|
6915
|
+
/**
|
|
6916
|
+
*
|
|
6917
|
+
* @type {number}
|
|
6918
|
+
* @memberof SubscriptionInfo
|
|
6919
|
+
*/
|
|
6920
|
+
'reducedAmountInCents'?: number;
|
|
6921
|
+
}
|
|
7708
6922
|
/**
|
|
7709
6923
|
*
|
|
7710
6924
|
* @export
|
|
@@ -7822,111 +7036,6 @@ export interface UpdateActuality200Response {
|
|
|
7822
7036
|
*/
|
|
7823
7037
|
'actuality': any;
|
|
7824
7038
|
}
|
|
7825
|
-
/**
|
|
7826
|
-
*
|
|
7827
|
-
* @export
|
|
7828
|
-
* @interface UpdateClubGeneralSettingsRequest
|
|
7829
|
-
*/
|
|
7830
|
-
export interface UpdateClubGeneralSettingsRequest {
|
|
7831
|
-
/**
|
|
7832
|
-
*
|
|
7833
|
-
* @type {string}
|
|
7834
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7835
|
-
*/
|
|
7836
|
-
'name'?: string;
|
|
7837
|
-
/**
|
|
7838
|
-
*
|
|
7839
|
-
* @type {string}
|
|
7840
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7841
|
-
*/
|
|
7842
|
-
'email'?: string;
|
|
7843
|
-
/**
|
|
7844
|
-
*
|
|
7845
|
-
* @type {string}
|
|
7846
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7847
|
-
*/
|
|
7848
|
-
'phone'?: string;
|
|
7849
|
-
/**
|
|
7850
|
-
*
|
|
7851
|
-
* @type {string}
|
|
7852
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7853
|
-
*/
|
|
7854
|
-
'websiteUrl'?: string;
|
|
7855
|
-
/**
|
|
7856
|
-
*
|
|
7857
|
-
* @type {string}
|
|
7858
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7859
|
-
*/
|
|
7860
|
-
'description'?: string;
|
|
7861
|
-
/**
|
|
7862
|
-
*
|
|
7863
|
-
* @type {string}
|
|
7864
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7865
|
-
*/
|
|
7866
|
-
'rib'?: string | null;
|
|
7867
|
-
/**
|
|
7868
|
-
*
|
|
7869
|
-
* @type {string}
|
|
7870
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7871
|
-
*/
|
|
7872
|
-
'logo'?: string | null;
|
|
7873
|
-
/**
|
|
7874
|
-
*
|
|
7875
|
-
* @type {ClubLocationSettings}
|
|
7876
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
7877
|
-
*/
|
|
7878
|
-
'location'?: ClubLocationSettings;
|
|
7879
|
-
}
|
|
7880
|
-
/**
|
|
7881
|
-
*
|
|
7882
|
-
* @export
|
|
7883
|
-
* @interface UpdateClubHoursSettingsRequest
|
|
7884
|
-
*/
|
|
7885
|
-
export interface UpdateClubHoursSettingsRequest {
|
|
7886
|
-
/**
|
|
7887
|
-
*
|
|
7888
|
-
* @type {PartialClubWeeklySchedule}
|
|
7889
|
-
* @memberof UpdateClubHoursSettingsRequest
|
|
7890
|
-
*/
|
|
7891
|
-
'schedule'?: PartialClubWeeklySchedule;
|
|
7892
|
-
/**
|
|
7893
|
-
*
|
|
7894
|
-
* @type {Array<ClubPricingPeriodResponse>}
|
|
7895
|
-
* @memberof UpdateClubHoursSettingsRequest
|
|
7896
|
-
*/
|
|
7897
|
-
'pricingPeriods'?: Array<ClubPricingPeriodResponse>;
|
|
7898
|
-
}
|
|
7899
|
-
/**
|
|
7900
|
-
*
|
|
7901
|
-
* @export
|
|
7902
|
-
* @interface UpdateClubPresentationSettingsRequest
|
|
7903
|
-
*/
|
|
7904
|
-
export interface UpdateClubPresentationSettingsRequest {
|
|
7905
|
-
/**
|
|
7906
|
-
*
|
|
7907
|
-
* @type {string}
|
|
7908
|
-
* @memberof UpdateClubPresentationSettingsRequest
|
|
7909
|
-
*/
|
|
7910
|
-
'description'?: string;
|
|
7911
|
-
/**
|
|
7912
|
-
*
|
|
7913
|
-
* @type {Array<string>}
|
|
7914
|
-
* @memberof UpdateClubPresentationSettingsRequest
|
|
7915
|
-
*/
|
|
7916
|
-
'tags'?: Array<string>;
|
|
7917
|
-
/**
|
|
7918
|
-
*
|
|
7919
|
-
* @type {Array<string | null>}
|
|
7920
|
-
* @memberof UpdateClubPresentationSettingsRequest
|
|
7921
|
-
*/
|
|
7922
|
-
'bannerImages'?: Array<string | null>;
|
|
7923
|
-
/**
|
|
7924
|
-
*
|
|
7925
|
-
* @type {Array<string | null>}
|
|
7926
|
-
* @memberof UpdateClubPresentationSettingsRequest
|
|
7927
|
-
*/
|
|
7928
|
-
'galleryImages'?: Array<string | null>;
|
|
7929
|
-
}
|
|
7930
7039
|
/**
|
|
7931
7040
|
*
|
|
7932
7041
|
* @export
|
|
@@ -8038,61 +7147,6 @@ export interface UpdateClubRequestLocationCoordinates {
|
|
|
8038
7147
|
*/
|
|
8039
7148
|
'lat'?: number;
|
|
8040
7149
|
}
|
|
8041
|
-
/**
|
|
8042
|
-
*
|
|
8043
|
-
* @export
|
|
8044
|
-
* @interface UpdateClubReservationSettingsRequest
|
|
8045
|
-
*/
|
|
8046
|
-
export interface UpdateClubReservationSettingsRequest {
|
|
8047
|
-
/**
|
|
8048
|
-
*
|
|
8049
|
-
* @type {number}
|
|
8050
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8051
|
-
*/
|
|
8052
|
-
'slotDuration'?: number;
|
|
8053
|
-
/**
|
|
8054
|
-
*
|
|
8055
|
-
* @type {number}
|
|
8056
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8057
|
-
*/
|
|
8058
|
-
'slotPrice'?: number;
|
|
8059
|
-
/**
|
|
8060
|
-
*
|
|
8061
|
-
* @type {number}
|
|
8062
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8063
|
-
*/
|
|
8064
|
-
'maxReservations'?: number | null;
|
|
8065
|
-
/**
|
|
8066
|
-
*
|
|
8067
|
-
* @type {boolean}
|
|
8068
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8069
|
-
*/
|
|
8070
|
-
'unlimitedReservations'?: boolean;
|
|
8071
|
-
/**
|
|
8072
|
-
*
|
|
8073
|
-
* @type {number}
|
|
8074
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8075
|
-
*/
|
|
8076
|
-
'cancellationDelay'?: number;
|
|
8077
|
-
/**
|
|
8078
|
-
*
|
|
8079
|
-
* @type {number}
|
|
8080
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8081
|
-
*/
|
|
8082
|
-
'bookingPeriod'?: number;
|
|
8083
|
-
/**
|
|
8084
|
-
*
|
|
8085
|
-
* @type {number}
|
|
8086
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8087
|
-
*/
|
|
8088
|
-
'limitMultipleReservations'?: number | null;
|
|
8089
|
-
/**
|
|
8090
|
-
*
|
|
8091
|
-
* @type {PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings}
|
|
8092
|
-
* @memberof UpdateClubReservationSettingsRequest
|
|
8093
|
-
*/
|
|
8094
|
-
'accessSettings'?: PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings;
|
|
8095
|
-
}
|
|
8096
7150
|
/**
|
|
8097
7151
|
*
|
|
8098
7152
|
* @export
|
|
@@ -8132,7 +7186,7 @@ export interface UpdateClubSettingsRequest {
|
|
|
8132
7186
|
* @type {number}
|
|
8133
7187
|
* @memberof UpdateClubSettingsRequest
|
|
8134
7188
|
*/
|
|
8135
|
-
'maxWeeklyBookings'?: number
|
|
7189
|
+
'maxWeeklyBookings'?: number;
|
|
8136
7190
|
/**
|
|
8137
7191
|
* Autoriser plusieurs réservations en même temps
|
|
8138
7192
|
* @type {boolean}
|
|
@@ -8144,7 +7198,7 @@ export interface UpdateClubSettingsRequest {
|
|
|
8144
7198
|
* @type {number}
|
|
8145
7199
|
* @memberof UpdateClubSettingsRequest
|
|
8146
7200
|
*/
|
|
8147
|
-
'sameTimeBookingsLimit'?: number
|
|
7201
|
+
'sameTimeBookingsLimit'?: number;
|
|
8148
7202
|
/**
|
|
8149
7203
|
* Limite d\'annulation en heures
|
|
8150
7204
|
* @type {number}
|
|
@@ -8246,10 +7300,10 @@ export interface UpdateEventRequest {
|
|
|
8246
7300
|
'endDate'?: string;
|
|
8247
7301
|
/**
|
|
8248
7302
|
*
|
|
8249
|
-
* @type {Array<
|
|
7303
|
+
* @type {Array<EventResponseCourtsInner>}
|
|
8250
7304
|
* @memberof UpdateEventRequest
|
|
8251
7305
|
*/
|
|
8252
|
-
'courts'?: Array<
|
|
7306
|
+
'courts'?: Array<EventResponseCourtsInner>;
|
|
8253
7307
|
/**
|
|
8254
7308
|
*
|
|
8255
7309
|
* @type {Array<string>}
|
|
@@ -8495,26 +7549,63 @@ export interface UpdateUserRequestBody {
|
|
|
8495
7549
|
* @type {RegisterRequestBodyLocation}
|
|
8496
7550
|
* @memberof UpdateUserRequestBody
|
|
8497
7551
|
*/
|
|
8498
|
-
'location'?: RegisterRequestBodyLocation;
|
|
8499
|
-
}
|
|
8500
|
-
/**
|
|
8501
|
-
*
|
|
8502
|
-
* @export
|
|
8503
|
-
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
8504
|
-
*/
|
|
8505
|
-
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
7552
|
+
'location'?: RegisterRequestBodyLocation;
|
|
7553
|
+
}
|
|
7554
|
+
/**
|
|
7555
|
+
*
|
|
7556
|
+
* @export
|
|
7557
|
+
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
7558
|
+
*/
|
|
7559
|
+
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
7560
|
+
/**
|
|
7561
|
+
*
|
|
7562
|
+
* @type {string}
|
|
7563
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
7564
|
+
*/
|
|
7565
|
+
'level': string;
|
|
7566
|
+
/**
|
|
7567
|
+
*
|
|
7568
|
+
* @type {string}
|
|
7569
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
7570
|
+
*/
|
|
7571
|
+
'sport': string;
|
|
7572
|
+
}
|
|
7573
|
+
/**
|
|
7574
|
+
*
|
|
7575
|
+
* @export
|
|
7576
|
+
* @interface UserBookingsResponse
|
|
7577
|
+
*/
|
|
7578
|
+
export interface UserBookingsResponse {
|
|
7579
|
+
/**
|
|
7580
|
+
*
|
|
7581
|
+
* @type {number}
|
|
7582
|
+
* @memberof UserBookingsResponse
|
|
7583
|
+
*/
|
|
7584
|
+
'total': number;
|
|
7585
|
+
/**
|
|
7586
|
+
*
|
|
7587
|
+
* @type {number}
|
|
7588
|
+
* @memberof UserBookingsResponse
|
|
7589
|
+
*/
|
|
7590
|
+
'limit': number;
|
|
7591
|
+
/**
|
|
7592
|
+
*
|
|
7593
|
+
* @type {number}
|
|
7594
|
+
* @memberof UserBookingsResponse
|
|
7595
|
+
*/
|
|
7596
|
+
'skip': number;
|
|
8506
7597
|
/**
|
|
8507
7598
|
*
|
|
8508
|
-
* @type {
|
|
8509
|
-
* @memberof
|
|
7599
|
+
* @type {boolean}
|
|
7600
|
+
* @memberof UserBookingsResponse
|
|
8510
7601
|
*/
|
|
8511
|
-
'
|
|
7602
|
+
'hasMore': boolean;
|
|
8512
7603
|
/**
|
|
8513
7604
|
*
|
|
8514
|
-
* @type {
|
|
8515
|
-
* @memberof
|
|
7605
|
+
* @type {Array<BookingSummary>}
|
|
7606
|
+
* @memberof UserBookingsResponse
|
|
8516
7607
|
*/
|
|
8517
|
-
'
|
|
7608
|
+
'bookings': Array<BookingSummary>;
|
|
8518
7609
|
}
|
|
8519
7610
|
/**
|
|
8520
7611
|
*
|
|
@@ -8780,24 +7871,12 @@ export interface UserProfileResponse {
|
|
|
8780
7871
|
* @memberof UserProfileResponse
|
|
8781
7872
|
*/
|
|
8782
7873
|
'isAccountVerified': boolean;
|
|
8783
|
-
/**
|
|
8784
|
-
*
|
|
8785
|
-
* @type {boolean}
|
|
8786
|
-
* @memberof UserProfileResponse
|
|
8787
|
-
*/
|
|
8788
|
-
'isCreditCardRegistered'?: boolean;
|
|
8789
7874
|
/**
|
|
8790
7875
|
*
|
|
8791
7876
|
* @type {Array<ILevelBySports>}
|
|
8792
7877
|
* @memberof UserProfileResponse
|
|
8793
7878
|
*/
|
|
8794
7879
|
'levelBySports'?: Array<ILevelBySports>;
|
|
8795
|
-
/**
|
|
8796
|
-
*
|
|
8797
|
-
* @type {string}
|
|
8798
|
-
* @memberof UserProfileResponse
|
|
8799
|
-
*/
|
|
8800
|
-
'stripeCustomerId'?: string;
|
|
8801
7880
|
/**
|
|
8802
7881
|
*
|
|
8803
7882
|
* @type {string}
|
|
@@ -8870,30 +7949,6 @@ export interface UserProfileResponse {
|
|
|
8870
7949
|
* @memberof UserProfileResponse
|
|
8871
7950
|
*/
|
|
8872
7951
|
'isLevelCertified'?: boolean;
|
|
8873
|
-
/**
|
|
8874
|
-
*
|
|
8875
|
-
* @type {Array<string>}
|
|
8876
|
-
* @memberof UserProfileResponse
|
|
8877
|
-
*/
|
|
8878
|
-
'paymentMethods'?: Array<string>;
|
|
8879
|
-
/**
|
|
8880
|
-
*
|
|
8881
|
-
* @type {string}
|
|
8882
|
-
* @memberof UserProfileResponse
|
|
8883
|
-
*/
|
|
8884
|
-
'defaultPaymentMethodId'?: string;
|
|
8885
|
-
/**
|
|
8886
|
-
*
|
|
8887
|
-
* @type {boolean}
|
|
8888
|
-
* @memberof UserProfileResponse
|
|
8889
|
-
*/
|
|
8890
|
-
'paymentMethodSetupCompleted': boolean;
|
|
8891
|
-
/**
|
|
8892
|
-
*
|
|
8893
|
-
* @type {string}
|
|
8894
|
-
* @memberof UserProfileResponse
|
|
8895
|
-
*/
|
|
8896
|
-
'setupIntentId'?: string;
|
|
8897
7952
|
/**
|
|
8898
7953
|
*
|
|
8899
7954
|
* @type {Array<string>}
|
|
@@ -8924,6 +7979,12 @@ export interface UserProfileResponse {
|
|
|
8924
7979
|
* @memberof UserProfileResponse
|
|
8925
7980
|
*/
|
|
8926
7981
|
'sports'?: { [key: string]: any; };
|
|
7982
|
+
/**
|
|
7983
|
+
*
|
|
7984
|
+
* @type {string}
|
|
7985
|
+
* @memberof UserProfileResponse
|
|
7986
|
+
*/
|
|
7987
|
+
'stripeCustomerId'?: string;
|
|
8927
7988
|
/**
|
|
8928
7989
|
*
|
|
8929
7990
|
* @type {number}
|
|
@@ -8960,6 +8021,12 @@ export interface UserProfileResponse {
|
|
|
8960
8021
|
* @memberof UserProfileResponse
|
|
8961
8022
|
*/
|
|
8962
8023
|
'stripeLinks'?: { [key: string]: any; };
|
|
8024
|
+
/**
|
|
8025
|
+
*
|
|
8026
|
+
* @type {Array<SportResponse>}
|
|
8027
|
+
* @memberof UserProfileResponse
|
|
8028
|
+
*/
|
|
8029
|
+
'verifiedSports'?: Array<SportResponse>;
|
|
8963
8030
|
}
|
|
8964
8031
|
|
|
8965
8032
|
|
|
@@ -9077,6 +8144,45 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9077
8144
|
options: localVarRequestOptions,
|
|
9078
8145
|
};
|
|
9079
8146
|
},
|
|
8147
|
+
/**
|
|
8148
|
+
*
|
|
8149
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
8150
|
+
* @param {*} [options] Override http request option.
|
|
8151
|
+
* @throws {RequiredError}
|
|
8152
|
+
*/
|
|
8153
|
+
getBookingPrice: async (bookingPriceBody: BookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8154
|
+
// verify required parameter 'bookingPriceBody' is not null or undefined
|
|
8155
|
+
assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody)
|
|
8156
|
+
const localVarPath = `/api/bookings/booking-price`;
|
|
8157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8159
|
+
let baseOptions;
|
|
8160
|
+
if (configuration) {
|
|
8161
|
+
baseOptions = configuration.baseOptions;
|
|
8162
|
+
}
|
|
8163
|
+
|
|
8164
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8165
|
+
const localVarHeaderParameter = {} as any;
|
|
8166
|
+
const localVarQueryParameter = {} as any;
|
|
8167
|
+
|
|
8168
|
+
// authentication bearerAuth required
|
|
8169
|
+
// http bearer authentication required
|
|
8170
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8171
|
+
|
|
8172
|
+
|
|
8173
|
+
|
|
8174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8175
|
+
|
|
8176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8179
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration)
|
|
8180
|
+
|
|
8181
|
+
return {
|
|
8182
|
+
url: toPathString(localVarUrlObj),
|
|
8183
|
+
options: localVarRequestOptions,
|
|
8184
|
+
};
|
|
8185
|
+
},
|
|
9080
8186
|
/**
|
|
9081
8187
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
9082
8188
|
* @param {number} [latitude]
|
|
@@ -9087,12 +8193,13 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9087
8193
|
* @param {string} [startTime]
|
|
9088
8194
|
* @param {number} [priceMax]
|
|
9089
8195
|
* @param {string} [courtTypes]
|
|
8196
|
+
* @param {string} [surfaceTypes]
|
|
9090
8197
|
* @param {number} [limitPerClub]
|
|
9091
8198
|
* @param {number} [maxClubs]
|
|
9092
8199
|
* @param {*} [options] Override http request option.
|
|
9093
8200
|
* @throws {RequiredError}
|
|
9094
8201
|
*/
|
|
9095
|
-
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> => {
|
|
8202
|
+
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> => {
|
|
9096
8203
|
const localVarPath = `/api/bookings/quick-reservations`;
|
|
9097
8204
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9098
8205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9137,8 +8244,12 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9137
8244
|
localVarQueryParameter['courtTypes'] = courtTypes;
|
|
9138
8245
|
}
|
|
9139
8246
|
|
|
8247
|
+
if (surfaceTypes !== undefined) {
|
|
8248
|
+
localVarQueryParameter['surfaceTypes'] = surfaceTypes;
|
|
8249
|
+
}
|
|
8250
|
+
|
|
9140
8251
|
if (limitPerClub !== undefined) {
|
|
9141
|
-
localVarQueryParameter['
|
|
8252
|
+
localVarQueryParameter['_limitPerClub'] = limitPerClub;
|
|
9142
8253
|
}
|
|
9143
8254
|
|
|
9144
8255
|
if (maxClubs !== undefined) {
|
|
@@ -9178,6 +8289,18 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
9178
8289
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingHistory']?.[localVarOperationServerIndex]?.url;
|
|
9179
8290
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9180
8291
|
},
|
|
8292
|
+
/**
|
|
8293
|
+
*
|
|
8294
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
8295
|
+
* @param {*} [options] Override http request option.
|
|
8296
|
+
* @throws {RequiredError}
|
|
8297
|
+
*/
|
|
8298
|
+
async getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>> {
|
|
8299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
|
|
8300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8301
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
|
|
8302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8303
|
+
},
|
|
9181
8304
|
/**
|
|
9182
8305
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
9183
8306
|
* @param {number} [latitude]
|
|
@@ -9188,13 +8311,14 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
9188
8311
|
* @param {string} [startTime]
|
|
9189
8312
|
* @param {number} [priceMax]
|
|
9190
8313
|
* @param {string} [courtTypes]
|
|
8314
|
+
* @param {string} [surfaceTypes]
|
|
9191
8315
|
* @param {number} [limitPerClub]
|
|
9192
8316
|
* @param {number} [maxClubs]
|
|
9193
8317
|
* @param {*} [options] Override http request option.
|
|
9194
8318
|
* @throws {RequiredError}
|
|
9195
8319
|
*/
|
|
9196
|
-
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>> {
|
|
9197
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
|
|
8320
|
+
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>> {
|
|
8321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options);
|
|
9198
8322
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9199
8323
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getQuickReservationSlots']?.[localVarOperationServerIndex]?.url;
|
|
9200
8324
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9218,6 +8342,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9218
8342
|
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated> {
|
|
9219
8343
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
9220
8344
|
},
|
|
8345
|
+
/**
|
|
8346
|
+
*
|
|
8347
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8348
|
+
* @param {*} [options] Override http request option.
|
|
8349
|
+
* @throws {RequiredError}
|
|
8350
|
+
*/
|
|
8351
|
+
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>> {
|
|
8352
|
+
return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
|
|
8353
|
+
},
|
|
9221
8354
|
/**
|
|
9222
8355
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
9223
8356
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -9225,7 +8358,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9225
8358
|
* @throws {RequiredError}
|
|
9226
8359
|
*/
|
|
9227
8360
|
getQuickReservationSlots(requestParameters: BookingsApiGetQuickReservationSlotsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<QuickReservationResponse> {
|
|
9228
|
-
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));
|
|
8361
|
+
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));
|
|
9229
8362
|
},
|
|
9230
8363
|
};
|
|
9231
8364
|
};
|
|
@@ -9244,6 +8377,20 @@ export interface BookingsApiGetBookingHistoryRequest {
|
|
|
9244
8377
|
readonly bookingId: string
|
|
9245
8378
|
}
|
|
9246
8379
|
|
|
8380
|
+
/**
|
|
8381
|
+
* Request parameters for getBookingPrice operation in BookingsApi.
|
|
8382
|
+
* @export
|
|
8383
|
+
* @interface BookingsApiGetBookingPriceRequest
|
|
8384
|
+
*/
|
|
8385
|
+
export interface BookingsApiGetBookingPriceRequest {
|
|
8386
|
+
/**
|
|
8387
|
+
*
|
|
8388
|
+
* @type {BookingPriceBody}
|
|
8389
|
+
* @memberof BookingsApiGetBookingPrice
|
|
8390
|
+
*/
|
|
8391
|
+
readonly bookingPriceBody: BookingPriceBody
|
|
8392
|
+
}
|
|
8393
|
+
|
|
9247
8394
|
/**
|
|
9248
8395
|
* Request parameters for getQuickReservationSlots operation in BookingsApi.
|
|
9249
8396
|
* @export
|
|
@@ -9306,6 +8453,13 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
|
|
|
9306
8453
|
*/
|
|
9307
8454
|
readonly courtTypes?: string
|
|
9308
8455
|
|
|
8456
|
+
/**
|
|
8457
|
+
*
|
|
8458
|
+
* @type {string}
|
|
8459
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
8460
|
+
*/
|
|
8461
|
+
readonly surfaceTypes?: string
|
|
8462
|
+
|
|
9309
8463
|
/**
|
|
9310
8464
|
*
|
|
9311
8465
|
* @type {number}
|
|
@@ -9339,6 +8493,17 @@ export class BookingsApi extends BaseAPI {
|
|
|
9339
8493
|
return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
9340
8494
|
}
|
|
9341
8495
|
|
|
8496
|
+
/**
|
|
8497
|
+
*
|
|
8498
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8499
|
+
* @param {*} [options] Override http request option.
|
|
8500
|
+
* @throws {RequiredError}
|
|
8501
|
+
* @memberof BookingsApi
|
|
8502
|
+
*/
|
|
8503
|
+
public getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig) {
|
|
8504
|
+
return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
8505
|
+
}
|
|
8506
|
+
|
|
9342
8507
|
/**
|
|
9343
8508
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
9344
8509
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -9347,7 +8512,7 @@ export class BookingsApi extends BaseAPI {
|
|
|
9347
8512
|
* @memberof BookingsApi
|
|
9348
8513
|
*/
|
|
9349
8514
|
public getQuickReservationSlots(requestParameters: BookingsApiGetQuickReservationSlotsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
9350
|
-
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));
|
|
8515
|
+
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));
|
|
9351
8516
|
}
|
|
9352
8517
|
}
|
|
9353
8518
|
|
|
@@ -10442,195 +9607,74 @@ export const ClubAnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
10442
9607
|
* @export
|
|
10443
9608
|
*/
|
|
10444
9609
|
export const ClubAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
10445
|
-
const localVarFp = ClubAnalyticsApiFp(configuration)
|
|
10446
|
-
return {
|
|
10447
|
-
/**
|
|
10448
|
-
* Récupère les clubs les plus aimés
|
|
10449
|
-
* @param {*} [options] Override http request option.
|
|
10450
|
-
* @throws {RequiredError}
|
|
10451
|
-
*/
|
|
10452
|
-
getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
10453
|
-
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
10454
|
-
},
|
|
10455
|
-
/**
|
|
10456
|
-
* Récupère les clubs populaires
|
|
10457
|
-
* @param {*} [options] Override http request option.
|
|
10458
|
-
* @throws {RequiredError}
|
|
10459
|
-
*/
|
|
10460
|
-
getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
10461
|
-
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
10462
|
-
},
|
|
10463
|
-
};
|
|
10464
|
-
};
|
|
10465
|
-
|
|
10466
|
-
/**
|
|
10467
|
-
* ClubAnalyticsApi - object-oriented interface
|
|
10468
|
-
* @export
|
|
10469
|
-
* @class ClubAnalyticsApi
|
|
10470
|
-
* @extends {BaseAPI}
|
|
10471
|
-
*/
|
|
10472
|
-
export class ClubAnalyticsApi extends BaseAPI {
|
|
10473
|
-
/**
|
|
10474
|
-
* Récupère les clubs les plus aimés
|
|
10475
|
-
* @param {*} [options] Override http request option.
|
|
10476
|
-
* @throws {RequiredError}
|
|
10477
|
-
* @memberof ClubAnalyticsApi
|
|
10478
|
-
*/
|
|
10479
|
-
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
10480
|
-
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
10481
|
-
}
|
|
10482
|
-
|
|
10483
|
-
/**
|
|
10484
|
-
* Récupère les clubs populaires
|
|
10485
|
-
* @param {*} [options] Override http request option.
|
|
10486
|
-
* @throws {RequiredError}
|
|
10487
|
-
* @memberof ClubAnalyticsApi
|
|
10488
|
-
*/
|
|
10489
|
-
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
10490
|
-
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
10491
|
-
}
|
|
10492
|
-
}
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
/**
|
|
10497
|
-
* ClubAnalyticsStaffApi - axios parameter creator
|
|
10498
|
-
* @export
|
|
10499
|
-
*/
|
|
10500
|
-
export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
10501
|
-
return {
|
|
10502
|
-
/**
|
|
10503
|
-
* Récupère les analytics par sport
|
|
10504
|
-
* @param {string} sportId
|
|
10505
|
-
* @param {*} [options] Override http request option.
|
|
10506
|
-
* @throws {RequiredError}
|
|
10507
|
-
*/
|
|
10508
|
-
getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10509
|
-
// verify required parameter 'sportId' is not null or undefined
|
|
10510
|
-
assertParamExists('getAnalyticsBySport', 'sportId', sportId)
|
|
10511
|
-
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
10512
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
10513
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10514
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10515
|
-
let baseOptions;
|
|
10516
|
-
if (configuration) {
|
|
10517
|
-
baseOptions = configuration.baseOptions;
|
|
10518
|
-
}
|
|
10519
|
-
|
|
10520
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10521
|
-
const localVarHeaderParameter = {} as any;
|
|
10522
|
-
const localVarQueryParameter = {} as any;
|
|
10523
|
-
|
|
10524
|
-
// authentication bearerAuth required
|
|
10525
|
-
// http bearer authentication required
|
|
10526
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10527
|
-
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10531
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10532
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10533
|
-
|
|
10534
|
-
return {
|
|
10535
|
-
url: toPathString(localVarUrlObj),
|
|
10536
|
-
options: localVarRequestOptions,
|
|
10537
|
-
};
|
|
10538
|
-
},
|
|
10539
|
-
/**
|
|
10540
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
10541
|
-
* @param {string} playerId
|
|
10542
|
-
* @param {number} [page]
|
|
10543
|
-
* @param {number} [pageSize]
|
|
10544
|
-
* @param {*} [options] Override http request option.
|
|
10545
|
-
* @throws {RequiredError}
|
|
10546
|
-
*/
|
|
10547
|
-
getClubPlayerBookingsById: async (playerId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10548
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
10549
|
-
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
|
|
10550
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
10551
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
10552
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10553
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10554
|
-
let baseOptions;
|
|
10555
|
-
if (configuration) {
|
|
10556
|
-
baseOptions = configuration.baseOptions;
|
|
10557
|
-
}
|
|
10558
|
-
|
|
10559
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10560
|
-
const localVarHeaderParameter = {} as any;
|
|
10561
|
-
const localVarQueryParameter = {} as any;
|
|
10562
|
-
|
|
10563
|
-
// authentication bearerAuth required
|
|
10564
|
-
// http bearer authentication required
|
|
10565
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10566
|
-
|
|
10567
|
-
if (page !== undefined) {
|
|
10568
|
-
localVarQueryParameter['page'] = page;
|
|
10569
|
-
}
|
|
10570
|
-
|
|
10571
|
-
if (pageSize !== undefined) {
|
|
10572
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
10573
|
-
}
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10578
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10579
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10580
|
-
|
|
10581
|
-
return {
|
|
10582
|
-
url: toPathString(localVarUrlObj),
|
|
10583
|
-
options: localVarRequestOptions,
|
|
10584
|
-
};
|
|
9610
|
+
const localVarFp = ClubAnalyticsApiFp(configuration)
|
|
9611
|
+
return {
|
|
9612
|
+
/**
|
|
9613
|
+
* Récupère les clubs les plus aimés
|
|
9614
|
+
* @param {*} [options] Override http request option.
|
|
9615
|
+
* @throws {RequiredError}
|
|
9616
|
+
*/
|
|
9617
|
+
getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
9618
|
+
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
10585
9619
|
},
|
|
10586
9620
|
/**
|
|
10587
|
-
* Récupère les
|
|
10588
|
-
* @param {string} playerId
|
|
9621
|
+
* Récupère les clubs populaires
|
|
10589
9622
|
* @param {*} [options] Override http request option.
|
|
10590
9623
|
* @throws {RequiredError}
|
|
10591
9624
|
*/
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10598
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10599
|
-
let baseOptions;
|
|
10600
|
-
if (configuration) {
|
|
10601
|
-
baseOptions = configuration.baseOptions;
|
|
10602
|
-
}
|
|
9625
|
+
getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
9626
|
+
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
9627
|
+
},
|
|
9628
|
+
};
|
|
9629
|
+
};
|
|
10603
9630
|
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
9631
|
+
/**
|
|
9632
|
+
* ClubAnalyticsApi - object-oriented interface
|
|
9633
|
+
* @export
|
|
9634
|
+
* @class ClubAnalyticsApi
|
|
9635
|
+
* @extends {BaseAPI}
|
|
9636
|
+
*/
|
|
9637
|
+
export class ClubAnalyticsApi extends BaseAPI {
|
|
9638
|
+
/**
|
|
9639
|
+
* Récupère les clubs les plus aimés
|
|
9640
|
+
* @param {*} [options] Override http request option.
|
|
9641
|
+
* @throws {RequiredError}
|
|
9642
|
+
* @memberof ClubAnalyticsApi
|
|
9643
|
+
*/
|
|
9644
|
+
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
9645
|
+
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
9646
|
+
}
|
|
10607
9647
|
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
9648
|
+
/**
|
|
9649
|
+
* Récupère les clubs populaires
|
|
9650
|
+
* @param {*} [options] Override http request option.
|
|
9651
|
+
* @throws {RequiredError}
|
|
9652
|
+
* @memberof ClubAnalyticsApi
|
|
9653
|
+
*/
|
|
9654
|
+
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
9655
|
+
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
9656
|
+
}
|
|
9657
|
+
}
|
|
10611
9658
|
|
|
10612
9659
|
|
|
10613
|
-
|
|
10614
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10615
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10616
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10617
9660
|
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
9661
|
+
/**
|
|
9662
|
+
* ClubAnalyticsStaffApi - axios parameter creator
|
|
9663
|
+
* @export
|
|
9664
|
+
*/
|
|
9665
|
+
export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9666
|
+
return {
|
|
10623
9667
|
/**
|
|
10624
|
-
* Récupère les
|
|
10625
|
-
* @param {string}
|
|
9668
|
+
* Récupère les analytics par sport
|
|
9669
|
+
* @param {string} sportId
|
|
10626
9670
|
* @param {*} [options] Override http request option.
|
|
10627
9671
|
* @throws {RequiredError}
|
|
10628
9672
|
*/
|
|
10629
|
-
|
|
10630
|
-
// verify required parameter '
|
|
10631
|
-
assertParamExists('
|
|
10632
|
-
const localVarPath = `/api/club-analytics/
|
|
10633
|
-
.replace(`{${"
|
|
9673
|
+
getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9674
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
9675
|
+
assertParamExists('getAnalyticsBySport', 'sportId', sportId)
|
|
9676
|
+
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
9677
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
10634
9678
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10635
9679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10636
9680
|
let baseOptions;
|
|
@@ -11014,44 +10058,6 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
11014
10058
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
|
|
11015
10059
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11016
10060
|
},
|
|
11017
|
-
/**
|
|
11018
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
11019
|
-
* @param {string} playerId
|
|
11020
|
-
* @param {number} [page]
|
|
11021
|
-
* @param {number} [pageSize]
|
|
11022
|
-
* @param {*} [options] Override http request option.
|
|
11023
|
-
* @throws {RequiredError}
|
|
11024
|
-
*/
|
|
11025
|
-
async getClubPlayerBookingsById(playerId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>> {
|
|
11026
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
|
|
11027
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11028
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']?.[localVarOperationServerIndex]?.url;
|
|
11029
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11030
|
-
},
|
|
11031
|
-
/**
|
|
11032
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
11033
|
-
* @param {string} playerId
|
|
11034
|
-
* @param {*} [options] Override http request option.
|
|
11035
|
-
* @throws {RequiredError}
|
|
11036
|
-
*/
|
|
11037
|
-
async getClubPlayerById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerDetailResponse>> {
|
|
11038
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerById(playerId, options);
|
|
11039
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11040
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']?.[localVarOperationServerIndex]?.url;
|
|
11041
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11042
|
-
},
|
|
11043
|
-
/**
|
|
11044
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
11045
|
-
* @param {string} playerId
|
|
11046
|
-
* @param {*} [options] Override http request option.
|
|
11047
|
-
* @throws {RequiredError}
|
|
11048
|
-
*/
|
|
11049
|
-
async getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>> {
|
|
11050
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
|
|
11051
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11052
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']?.[localVarOperationServerIndex]?.url;
|
|
11053
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11054
|
-
},
|
|
11055
10061
|
/**
|
|
11056
10062
|
* Récupère la liste des joueurs du club
|
|
11057
10063
|
* @param {*} [options] Override http request option.
|
|
@@ -11176,33 +10182,6 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
11176
10182
|
getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
|
|
11177
10183
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
11178
10184
|
},
|
|
11179
|
-
/**
|
|
11180
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
11181
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
11182
|
-
* @param {*} [options] Override http request option.
|
|
11183
|
-
* @throws {RequiredError}
|
|
11184
|
-
*/
|
|
11185
|
-
getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse> {
|
|
11186
|
-
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
11187
|
-
},
|
|
11188
|
-
/**
|
|
11189
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
11190
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
11191
|
-
* @param {*} [options] Override http request option.
|
|
11192
|
-
* @throws {RequiredError}
|
|
11193
|
-
*/
|
|
11194
|
-
getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerDetailResponse> {
|
|
11195
|
-
return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
11196
|
-
},
|
|
11197
|
-
/**
|
|
11198
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
11199
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
11200
|
-
* @param {*} [options] Override http request option.
|
|
11201
|
-
* @throws {RequiredError}
|
|
11202
|
-
*/
|
|
11203
|
-
getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse> {
|
|
11204
|
-
return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
11205
|
-
},
|
|
11206
10185
|
/**
|
|
11207
10186
|
* Récupère la liste des joueurs du club
|
|
11208
10187
|
* @param {*} [options] Override http request option.
|
|
@@ -11296,62 +10275,6 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
|
|
|
11296
10275
|
readonly sportId: string
|
|
11297
10276
|
}
|
|
11298
10277
|
|
|
11299
|
-
/**
|
|
11300
|
-
* Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
|
|
11301
|
-
* @export
|
|
11302
|
-
* @interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest
|
|
11303
|
-
*/
|
|
11304
|
-
export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
|
|
11305
|
-
/**
|
|
11306
|
-
*
|
|
11307
|
-
* @type {string}
|
|
11308
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
|
|
11309
|
-
*/
|
|
11310
|
-
readonly playerId: string
|
|
11311
|
-
|
|
11312
|
-
/**
|
|
11313
|
-
*
|
|
11314
|
-
* @type {number}
|
|
11315
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
|
|
11316
|
-
*/
|
|
11317
|
-
readonly page?: number
|
|
11318
|
-
|
|
11319
|
-
/**
|
|
11320
|
-
*
|
|
11321
|
-
* @type {number}
|
|
11322
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
|
|
11323
|
-
*/
|
|
11324
|
-
readonly pageSize?: number
|
|
11325
|
-
}
|
|
11326
|
-
|
|
11327
|
-
/**
|
|
11328
|
-
* Request parameters for getClubPlayerById operation in ClubAnalyticsStaffApi.
|
|
11329
|
-
* @export
|
|
11330
|
-
* @interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest
|
|
11331
|
-
*/
|
|
11332
|
-
export interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest {
|
|
11333
|
-
/**
|
|
11334
|
-
*
|
|
11335
|
-
* @type {string}
|
|
11336
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerById
|
|
11337
|
-
*/
|
|
11338
|
-
readonly playerId: string
|
|
11339
|
-
}
|
|
11340
|
-
|
|
11341
|
-
/**
|
|
11342
|
-
* Request parameters for getClubPlayerStatisticsById operation in ClubAnalyticsStaffApi.
|
|
11343
|
-
* @export
|
|
11344
|
-
* @interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest
|
|
11345
|
-
*/
|
|
11346
|
-
export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
|
|
11347
|
-
/**
|
|
11348
|
-
*
|
|
11349
|
-
* @type {string}
|
|
11350
|
-
* @memberof ClubAnalyticsStaffApiGetClubPlayerStatisticsById
|
|
11351
|
-
*/
|
|
11352
|
-
readonly playerId: string
|
|
11353
|
-
}
|
|
11354
|
-
|
|
11355
10278
|
/**
|
|
11356
10279
|
* Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
|
|
11357
10280
|
* @export
|
|
@@ -11440,39 +10363,6 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
11440
10363
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
11441
10364
|
}
|
|
11442
10365
|
|
|
11443
|
-
/**
|
|
11444
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
11445
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
11446
|
-
* @param {*} [options] Override http request option.
|
|
11447
|
-
* @throws {RequiredError}
|
|
11448
|
-
* @memberof ClubAnalyticsStaffApi
|
|
11449
|
-
*/
|
|
11450
|
-
public getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig) {
|
|
11451
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
11452
|
-
}
|
|
11453
|
-
|
|
11454
|
-
/**
|
|
11455
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
11456
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
11457
|
-
* @param {*} [options] Override http request option.
|
|
11458
|
-
* @throws {RequiredError}
|
|
11459
|
-
* @memberof ClubAnalyticsStaffApi
|
|
11460
|
-
*/
|
|
11461
|
-
public getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig) {
|
|
11462
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
11463
|
-
}
|
|
11464
|
-
|
|
11465
|
-
/**
|
|
11466
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
11467
|
-
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
11468
|
-
* @param {*} [options] Override http request option.
|
|
11469
|
-
* @throws {RequiredError}
|
|
11470
|
-
* @memberof ClubAnalyticsStaffApi
|
|
11471
|
-
*/
|
|
11472
|
-
public getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig) {
|
|
11473
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
11474
|
-
}
|
|
11475
|
-
|
|
11476
10366
|
/**
|
|
11477
10367
|
* Récupère la liste des joueurs du club
|
|
11478
10368
|
* @param {*} [options] Override http request option.
|
|
@@ -12269,84 +11159,6 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
12269
11159
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12270
11160
|
localVarRequestOptions.data = serializeDataIfNeeded(updateClubSettingsRequest, localVarRequestOptions, configuration)
|
|
12271
11161
|
|
|
12272
|
-
return {
|
|
12273
|
-
url: toPathString(localVarUrlObj),
|
|
12274
|
-
options: localVarRequestOptions,
|
|
12275
|
-
};
|
|
12276
|
-
},
|
|
12277
|
-
/**
|
|
12278
|
-
*
|
|
12279
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
12280
|
-
* @param {*} [options] Override http request option.
|
|
12281
|
-
* @throws {RequiredError}
|
|
12282
|
-
*/
|
|
12283
|
-
updateHoursSettings: async (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12284
|
-
// verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
|
|
12285
|
-
assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest)
|
|
12286
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
12287
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12288
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12289
|
-
let baseOptions;
|
|
12290
|
-
if (configuration) {
|
|
12291
|
-
baseOptions = configuration.baseOptions;
|
|
12292
|
-
}
|
|
12293
|
-
|
|
12294
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12295
|
-
const localVarHeaderParameter = {} as any;
|
|
12296
|
-
const localVarQueryParameter = {} as any;
|
|
12297
|
-
|
|
12298
|
-
// authentication bearerAuth required
|
|
12299
|
-
// http bearer authentication required
|
|
12300
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12305
|
-
|
|
12306
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12307
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12308
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12309
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration)
|
|
12310
|
-
|
|
12311
|
-
return {
|
|
12312
|
-
url: toPathString(localVarUrlObj),
|
|
12313
|
-
options: localVarRequestOptions,
|
|
12314
|
-
};
|
|
12315
|
-
},
|
|
12316
|
-
/**
|
|
12317
|
-
*
|
|
12318
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
12319
|
-
* @param {*} [options] Override http request option.
|
|
12320
|
-
* @throws {RequiredError}
|
|
12321
|
-
*/
|
|
12322
|
-
updateReservationSettings: async (updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12323
|
-
// verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
|
|
12324
|
-
assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest)
|
|
12325
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
12326
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12327
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12328
|
-
let baseOptions;
|
|
12329
|
-
if (configuration) {
|
|
12330
|
-
baseOptions = configuration.baseOptions;
|
|
12331
|
-
}
|
|
12332
|
-
|
|
12333
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12334
|
-
const localVarHeaderParameter = {} as any;
|
|
12335
|
-
const localVarQueryParameter = {} as any;
|
|
12336
|
-
|
|
12337
|
-
// authentication bearerAuth required
|
|
12338
|
-
// http bearer authentication required
|
|
12339
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12344
|
-
|
|
12345
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12346
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12347
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12348
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration)
|
|
12349
|
-
|
|
12350
11162
|
return {
|
|
12351
11163
|
url: toPathString(localVarUrlObj),
|
|
12352
11164
|
options: localVarRequestOptions,
|
|
@@ -12398,39 +11210,15 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
|
|
|
12398
11210
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12399
11211
|
},
|
|
12400
11212
|
/**
|
|
12401
|
-
* Met à jour les paramètres d\'un club
|
|
12402
|
-
* @param {UpdateClubSettingsRequest} updateClubSettingsRequest
|
|
12403
|
-
* @param {*} [options] Override http request option.
|
|
12404
|
-
* @throws {RequiredError}
|
|
12405
|
-
*/
|
|
12406
|
-
async updateClubSettings(updateClubSettingsRequest: UpdateClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettingsResponse>> {
|
|
12407
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubSettings(updateClubSettingsRequest, options);
|
|
12408
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12409
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubSettings']?.[localVarOperationServerIndex]?.url;
|
|
12410
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12411
|
-
},
|
|
12412
|
-
/**
|
|
12413
|
-
*
|
|
12414
|
-
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
12415
|
-
* @param {*} [options] Override http request option.
|
|
12416
|
-
* @throws {RequiredError}
|
|
12417
|
-
*/
|
|
12418
|
-
async updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
|
|
12419
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
|
|
12420
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12421
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']?.[localVarOperationServerIndex]?.url;
|
|
12422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12423
|
-
},
|
|
12424
|
-
/**
|
|
12425
|
-
*
|
|
12426
|
-
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
11213
|
+
* Met à jour les paramètres d\'un club
|
|
11214
|
+
* @param {UpdateClubSettingsRequest} updateClubSettingsRequest
|
|
12427
11215
|
* @param {*} [options] Override http request option.
|
|
12428
11216
|
* @throws {RequiredError}
|
|
12429
11217
|
*/
|
|
12430
|
-
async
|
|
12431
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11218
|
+
async updateClubSettings(updateClubSettingsRequest: UpdateClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettingsResponse>> {
|
|
11219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubSettings(updateClubSettingsRequest, options);
|
|
12432
11220
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12433
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.
|
|
11221
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubSettings']?.[localVarOperationServerIndex]?.url;
|
|
12434
11222
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12435
11223
|
},
|
|
12436
11224
|
}
|
|
@@ -12477,24 +11265,6 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
|
|
|
12477
11265
|
updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubSettingsResponse> {
|
|
12478
11266
|
return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
|
|
12479
11267
|
},
|
|
12480
|
-
/**
|
|
12481
|
-
*
|
|
12482
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
12483
|
-
* @param {*} [options] Override http request option.
|
|
12484
|
-
* @throws {RequiredError}
|
|
12485
|
-
*/
|
|
12486
|
-
updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
|
|
12487
|
-
return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
|
|
12488
|
-
},
|
|
12489
|
-
/**
|
|
12490
|
-
*
|
|
12491
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
12492
|
-
* @param {*} [options] Override http request option.
|
|
12493
|
-
* @throws {RequiredError}
|
|
12494
|
-
*/
|
|
12495
|
-
updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
|
|
12496
|
-
return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
12497
|
-
},
|
|
12498
11268
|
};
|
|
12499
11269
|
};
|
|
12500
11270
|
|
|
@@ -12533,34 +11303,6 @@ export interface ClubSettingsManagerApiUpdateClubSettingsRequest {
|
|
|
12533
11303
|
readonly updateClubSettingsRequest: UpdateClubSettingsRequest
|
|
12534
11304
|
}
|
|
12535
11305
|
|
|
12536
|
-
/**
|
|
12537
|
-
* Request parameters for updateHoursSettings operation in ClubSettingsManagerApi.
|
|
12538
|
-
* @export
|
|
12539
|
-
* @interface ClubSettingsManagerApiUpdateHoursSettingsRequest
|
|
12540
|
-
*/
|
|
12541
|
-
export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
|
|
12542
|
-
/**
|
|
12543
|
-
*
|
|
12544
|
-
* @type {UpdateClubHoursSettingsRequest}
|
|
12545
|
-
* @memberof ClubSettingsManagerApiUpdateHoursSettings
|
|
12546
|
-
*/
|
|
12547
|
-
readonly updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest
|
|
12548
|
-
}
|
|
12549
|
-
|
|
12550
|
-
/**
|
|
12551
|
-
* Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
|
|
12552
|
-
* @export
|
|
12553
|
-
* @interface ClubSettingsManagerApiUpdateReservationSettingsRequest
|
|
12554
|
-
*/
|
|
12555
|
-
export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
|
|
12556
|
-
/**
|
|
12557
|
-
*
|
|
12558
|
-
* @type {UpdateClubReservationSettingsRequest}
|
|
12559
|
-
* @memberof ClubSettingsManagerApiUpdateReservationSettings
|
|
12560
|
-
*/
|
|
12561
|
-
readonly updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest
|
|
12562
|
-
}
|
|
12563
|
-
|
|
12564
11306
|
/**
|
|
12565
11307
|
* ClubSettingsManagerApi - object-oriented interface
|
|
12566
11308
|
* @export
|
|
@@ -12609,191 +11351,6 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
12609
11351
|
public updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
12610
11352
|
return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12611
11353
|
}
|
|
12612
|
-
|
|
12613
|
-
/**
|
|
12614
|
-
*
|
|
12615
|
-
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
12616
|
-
* @param {*} [options] Override http request option.
|
|
12617
|
-
* @throws {RequiredError}
|
|
12618
|
-
* @memberof ClubSettingsManagerApi
|
|
12619
|
-
*/
|
|
12620
|
-
public updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
12621
|
-
return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12622
|
-
}
|
|
12623
|
-
|
|
12624
|
-
/**
|
|
12625
|
-
*
|
|
12626
|
-
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
12627
|
-
* @param {*} [options] Override http request option.
|
|
12628
|
-
* @throws {RequiredError}
|
|
12629
|
-
* @memberof ClubSettingsManagerApi
|
|
12630
|
-
*/
|
|
12631
|
-
public updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
12632
|
-
return ClubSettingsManagerApiFp(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12633
|
-
}
|
|
12634
|
-
}
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
/**
|
|
12639
|
-
* ClubSettingsStaffApi - axios parameter creator
|
|
12640
|
-
* @export
|
|
12641
|
-
*/
|
|
12642
|
-
export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12643
|
-
return {
|
|
12644
|
-
/**
|
|
12645
|
-
*
|
|
12646
|
-
* @param {*} [options] Override http request option.
|
|
12647
|
-
* @throws {RequiredError}
|
|
12648
|
-
*/
|
|
12649
|
-
getHoursSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12650
|
-
const localVarPath = `/api/club-settings/hours`;
|
|
12651
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12652
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12653
|
-
let baseOptions;
|
|
12654
|
-
if (configuration) {
|
|
12655
|
-
baseOptions = configuration.baseOptions;
|
|
12656
|
-
}
|
|
12657
|
-
|
|
12658
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12659
|
-
const localVarHeaderParameter = {} as any;
|
|
12660
|
-
const localVarQueryParameter = {} as any;
|
|
12661
|
-
|
|
12662
|
-
// authentication bearerAuth required
|
|
12663
|
-
// http bearer authentication required
|
|
12664
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12669
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12670
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12671
|
-
|
|
12672
|
-
return {
|
|
12673
|
-
url: toPathString(localVarUrlObj),
|
|
12674
|
-
options: localVarRequestOptions,
|
|
12675
|
-
};
|
|
12676
|
-
},
|
|
12677
|
-
/**
|
|
12678
|
-
*
|
|
12679
|
-
* @param {*} [options] Override http request option.
|
|
12680
|
-
* @throws {RequiredError}
|
|
12681
|
-
*/
|
|
12682
|
-
getReservationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12683
|
-
const localVarPath = `/api/club-settings/reservation`;
|
|
12684
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12685
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12686
|
-
let baseOptions;
|
|
12687
|
-
if (configuration) {
|
|
12688
|
-
baseOptions = configuration.baseOptions;
|
|
12689
|
-
}
|
|
12690
|
-
|
|
12691
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12692
|
-
const localVarHeaderParameter = {} as any;
|
|
12693
|
-
const localVarQueryParameter = {} as any;
|
|
12694
|
-
|
|
12695
|
-
// authentication bearerAuth required
|
|
12696
|
-
// http bearer authentication required
|
|
12697
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12702
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12703
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12704
|
-
|
|
12705
|
-
return {
|
|
12706
|
-
url: toPathString(localVarUrlObj),
|
|
12707
|
-
options: localVarRequestOptions,
|
|
12708
|
-
};
|
|
12709
|
-
},
|
|
12710
|
-
}
|
|
12711
|
-
};
|
|
12712
|
-
|
|
12713
|
-
/**
|
|
12714
|
-
* ClubSettingsStaffApi - functional programming interface
|
|
12715
|
-
* @export
|
|
12716
|
-
*/
|
|
12717
|
-
export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
|
|
12718
|
-
const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration)
|
|
12719
|
-
return {
|
|
12720
|
-
/**
|
|
12721
|
-
*
|
|
12722
|
-
* @param {*} [options] Override http request option.
|
|
12723
|
-
* @throws {RequiredError}
|
|
12724
|
-
*/
|
|
12725
|
-
async getHoursSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
|
|
12726
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getHoursSettings(options);
|
|
12727
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12728
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getHoursSettings']?.[localVarOperationServerIndex]?.url;
|
|
12729
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12730
|
-
},
|
|
12731
|
-
/**
|
|
12732
|
-
*
|
|
12733
|
-
* @param {*} [options] Override http request option.
|
|
12734
|
-
* @throws {RequiredError}
|
|
12735
|
-
*/
|
|
12736
|
-
async getReservationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubReservationSettingsResponse>> {
|
|
12737
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getReservationSettings(options);
|
|
12738
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12739
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getReservationSettings']?.[localVarOperationServerIndex]?.url;
|
|
12740
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12741
|
-
},
|
|
12742
|
-
}
|
|
12743
|
-
};
|
|
12744
|
-
|
|
12745
|
-
/**
|
|
12746
|
-
* ClubSettingsStaffApi - factory interface
|
|
12747
|
-
* @export
|
|
12748
|
-
*/
|
|
12749
|
-
export const ClubSettingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12750
|
-
const localVarFp = ClubSettingsStaffApiFp(configuration)
|
|
12751
|
-
return {
|
|
12752
|
-
/**
|
|
12753
|
-
*
|
|
12754
|
-
* @param {*} [options] Override http request option.
|
|
12755
|
-
* @throws {RequiredError}
|
|
12756
|
-
*/
|
|
12757
|
-
getHoursSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
|
|
12758
|
-
return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
|
|
12759
|
-
},
|
|
12760
|
-
/**
|
|
12761
|
-
*
|
|
12762
|
-
* @param {*} [options] Override http request option.
|
|
12763
|
-
* @throws {RequiredError}
|
|
12764
|
-
*/
|
|
12765
|
-
getReservationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
|
|
12766
|
-
return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
|
|
12767
|
-
},
|
|
12768
|
-
};
|
|
12769
|
-
};
|
|
12770
|
-
|
|
12771
|
-
/**
|
|
12772
|
-
* ClubSettingsStaffApi - object-oriented interface
|
|
12773
|
-
* @export
|
|
12774
|
-
* @class ClubSettingsStaffApi
|
|
12775
|
-
* @extends {BaseAPI}
|
|
12776
|
-
*/
|
|
12777
|
-
export class ClubSettingsStaffApi extends BaseAPI {
|
|
12778
|
-
/**
|
|
12779
|
-
*
|
|
12780
|
-
* @param {*} [options] Override http request option.
|
|
12781
|
-
* @throws {RequiredError}
|
|
12782
|
-
* @memberof ClubSettingsStaffApi
|
|
12783
|
-
*/
|
|
12784
|
-
public getHoursSettings(options?: RawAxiosRequestConfig) {
|
|
12785
|
-
return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
|
|
12786
|
-
}
|
|
12787
|
-
|
|
12788
|
-
/**
|
|
12789
|
-
*
|
|
12790
|
-
* @param {*} [options] Override http request option.
|
|
12791
|
-
* @throws {RequiredError}
|
|
12792
|
-
* @memberof ClubSettingsStaffApi
|
|
12793
|
-
*/
|
|
12794
|
-
public getReservationSettings(options?: RawAxiosRequestConfig) {
|
|
12795
|
-
return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
12796
|
-
}
|
|
12797
11354
|
}
|
|
12798
11355
|
|
|
12799
11356
|
|
|
@@ -14332,45 +12889,6 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
|
|
|
14332
12889
|
options: localVarRequestOptions,
|
|
14333
12890
|
};
|
|
14334
12891
|
},
|
|
14335
|
-
/**
|
|
14336
|
-
*
|
|
14337
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
14338
|
-
* @param {*} [options] Override http request option.
|
|
14339
|
-
* @throws {RequiredError}
|
|
14340
|
-
*/
|
|
14341
|
-
updateClubGeneralSettings: async (updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14342
|
-
// verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
|
|
14343
|
-
assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest)
|
|
14344
|
-
const localVarPath = `/api/clubs/settings/general`;
|
|
14345
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14346
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14347
|
-
let baseOptions;
|
|
14348
|
-
if (configuration) {
|
|
14349
|
-
baseOptions = configuration.baseOptions;
|
|
14350
|
-
}
|
|
14351
|
-
|
|
14352
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14353
|
-
const localVarHeaderParameter = {} as any;
|
|
14354
|
-
const localVarQueryParameter = {} as any;
|
|
14355
|
-
|
|
14356
|
-
// authentication bearerAuth required
|
|
14357
|
-
// http bearer authentication required
|
|
14358
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14363
|
-
|
|
14364
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14365
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14366
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14367
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration)
|
|
14368
|
-
|
|
14369
|
-
return {
|
|
14370
|
-
url: toPathString(localVarUrlObj),
|
|
14371
|
-
options: localVarRequestOptions,
|
|
14372
|
-
};
|
|
14373
|
-
},
|
|
14374
12892
|
/**
|
|
14375
12893
|
*
|
|
14376
12894
|
* @param {any} body
|
|
@@ -14410,45 +12928,6 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
|
|
|
14410
12928
|
options: localVarRequestOptions,
|
|
14411
12929
|
};
|
|
14412
12930
|
},
|
|
14413
|
-
/**
|
|
14414
|
-
*
|
|
14415
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
14416
|
-
* @param {*} [options] Override http request option.
|
|
14417
|
-
* @throws {RequiredError}
|
|
14418
|
-
*/
|
|
14419
|
-
updateClubPresentationSettings: async (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14420
|
-
// verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
|
|
14421
|
-
assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest)
|
|
14422
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
14423
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14424
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14425
|
-
let baseOptions;
|
|
14426
|
-
if (configuration) {
|
|
14427
|
-
baseOptions = configuration.baseOptions;
|
|
14428
|
-
}
|
|
14429
|
-
|
|
14430
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14431
|
-
const localVarHeaderParameter = {} as any;
|
|
14432
|
-
const localVarQueryParameter = {} as any;
|
|
14433
|
-
|
|
14434
|
-
// authentication bearerAuth required
|
|
14435
|
-
// http bearer authentication required
|
|
14436
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14441
|
-
|
|
14442
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14443
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14444
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14445
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration)
|
|
14446
|
-
|
|
14447
|
-
return {
|
|
14448
|
-
url: toPathString(localVarUrlObj),
|
|
14449
|
-
options: localVarRequestOptions,
|
|
14450
|
-
};
|
|
14451
|
-
},
|
|
14452
12931
|
/**
|
|
14453
12932
|
*
|
|
14454
12933
|
* @param {string} courtId
|
|
@@ -14723,19 +13202,7 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
|
|
|
14723
13202
|
async updateClub(updateClubRequest: UpdateClubRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>> {
|
|
14724
13203
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClub(updateClubRequest, options);
|
|
14725
13204
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14726
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClub']?.[localVarOperationServerIndex]?.url;
|
|
14727
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14728
|
-
},
|
|
14729
|
-
/**
|
|
14730
|
-
*
|
|
14731
|
-
* @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
|
|
14732
|
-
* @param {*} [options] Override http request option.
|
|
14733
|
-
* @throws {RequiredError}
|
|
14734
|
-
*/
|
|
14735
|
-
async updateClubGeneralSettings(updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>> {
|
|
14736
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
|
|
14737
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14738
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
|
|
13205
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClub']?.[localVarOperationServerIndex]?.url;
|
|
14739
13206
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14740
13207
|
},
|
|
14741
13208
|
/**
|
|
@@ -14750,18 +13217,6 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
|
|
|
14750
13217
|
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubInfos']?.[localVarOperationServerIndex]?.url;
|
|
14751
13218
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14752
13219
|
},
|
|
14753
|
-
/**
|
|
14754
|
-
*
|
|
14755
|
-
* @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
|
|
14756
|
-
* @param {*} [options] Override http request option.
|
|
14757
|
-
* @throws {RequiredError}
|
|
14758
|
-
*/
|
|
14759
|
-
async updateClubPresentationSettings(updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
|
|
14760
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
|
|
14761
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14762
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']?.[localVarOperationServerIndex]?.url;
|
|
14763
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14764
|
-
},
|
|
14765
13220
|
/**
|
|
14766
13221
|
*
|
|
14767
13222
|
* @param {string} courtId
|
|
@@ -14932,15 +13387,6 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
|
|
|
14932
13387
|
updateClub(requestParameters: ClubsManagerApiUpdateClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse> {
|
|
14933
13388
|
return localVarFp.updateClub(requestParameters.updateClubRequest, options).then((request) => request(axios, basePath));
|
|
14934
13389
|
},
|
|
14935
|
-
/**
|
|
14936
|
-
*
|
|
14937
|
-
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
14938
|
-
* @param {*} [options] Override http request option.
|
|
14939
|
-
* @throws {RequiredError}
|
|
14940
|
-
*/
|
|
14941
|
-
updateClubGeneralSettings(requestParameters: ClubsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
|
|
14942
|
-
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
14943
|
-
},
|
|
14944
13390
|
/**
|
|
14945
13391
|
*
|
|
14946
13392
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -14950,15 +13396,6 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
|
|
|
14950
13396
|
updateClubInfos(requestParameters: ClubsManagerApiUpdateClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
14951
13397
|
return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
14952
13398
|
},
|
|
14953
|
-
/**
|
|
14954
|
-
*
|
|
14955
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
14956
|
-
* @param {*} [options] Override http request option.
|
|
14957
|
-
* @throws {RequiredError}
|
|
14958
|
-
*/
|
|
14959
|
-
updateClubPresentationSettings(requestParameters: ClubsManagerApiUpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
|
|
14960
|
-
return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
|
|
14961
|
-
},
|
|
14962
13399
|
/**
|
|
14963
13400
|
*
|
|
14964
13401
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -15190,20 +13627,6 @@ export interface ClubsManagerApiUpdateClubRequest {
|
|
|
15190
13627
|
readonly updateClubRequest: UpdateClubRequest
|
|
15191
13628
|
}
|
|
15192
13629
|
|
|
15193
|
-
/**
|
|
15194
|
-
* Request parameters for updateClubGeneralSettings operation in ClubsManagerApi.
|
|
15195
|
-
* @export
|
|
15196
|
-
* @interface ClubsManagerApiUpdateClubGeneralSettingsRequest
|
|
15197
|
-
*/
|
|
15198
|
-
export interface ClubsManagerApiUpdateClubGeneralSettingsRequest {
|
|
15199
|
-
/**
|
|
15200
|
-
*
|
|
15201
|
-
* @type {UpdateClubGeneralSettingsRequest}
|
|
15202
|
-
* @memberof ClubsManagerApiUpdateClubGeneralSettings
|
|
15203
|
-
*/
|
|
15204
|
-
readonly updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest
|
|
15205
|
-
}
|
|
15206
|
-
|
|
15207
13630
|
/**
|
|
15208
13631
|
* Request parameters for updateClubInfos operation in ClubsManagerApi.
|
|
15209
13632
|
* @export
|
|
@@ -15218,20 +13641,6 @@ export interface ClubsManagerApiUpdateClubInfosRequest {
|
|
|
15218
13641
|
readonly body: any
|
|
15219
13642
|
}
|
|
15220
13643
|
|
|
15221
|
-
/**
|
|
15222
|
-
* Request parameters for updateClubPresentationSettings operation in ClubsManagerApi.
|
|
15223
|
-
* @export
|
|
15224
|
-
* @interface ClubsManagerApiUpdateClubPresentationSettingsRequest
|
|
15225
|
-
*/
|
|
15226
|
-
export interface ClubsManagerApiUpdateClubPresentationSettingsRequest {
|
|
15227
|
-
/**
|
|
15228
|
-
*
|
|
15229
|
-
* @type {UpdateClubPresentationSettingsRequest}
|
|
15230
|
-
* @memberof ClubsManagerApiUpdateClubPresentationSettings
|
|
15231
|
-
*/
|
|
15232
|
-
readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest
|
|
15233
|
-
}
|
|
15234
|
-
|
|
15235
13644
|
/**
|
|
15236
13645
|
* Request parameters for updateCourt operation in ClubsManagerApi.
|
|
15237
13646
|
* @export
|
|
@@ -15445,17 +13854,6 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
15445
13854
|
return ClubsManagerApiFp(this.configuration).updateClub(requestParameters.updateClubRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15446
13855
|
}
|
|
15447
13856
|
|
|
15448
|
-
/**
|
|
15449
|
-
*
|
|
15450
|
-
* @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
|
|
15451
|
-
* @param {*} [options] Override http request option.
|
|
15452
|
-
* @throws {RequiredError}
|
|
15453
|
-
* @memberof ClubsManagerApi
|
|
15454
|
-
*/
|
|
15455
|
-
public updateClubGeneralSettings(requestParameters: ClubsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
15456
|
-
return ClubsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15457
|
-
}
|
|
15458
|
-
|
|
15459
13857
|
/**
|
|
15460
13858
|
*
|
|
15461
13859
|
* @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
|
|
@@ -15467,17 +13865,6 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
15467
13865
|
return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
15468
13866
|
}
|
|
15469
13867
|
|
|
15470
|
-
/**
|
|
15471
|
-
*
|
|
15472
|
-
* @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
|
|
15473
|
-
* @param {*} [options] Override http request option.
|
|
15474
|
-
* @throws {RequiredError}
|
|
15475
|
-
* @memberof ClubsManagerApi
|
|
15476
|
-
*/
|
|
15477
|
-
public updateClubPresentationSettings(requestParameters: ClubsManagerApiUpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
15478
|
-
return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15479
|
-
}
|
|
15480
|
-
|
|
15481
13868
|
/**
|
|
15482
13869
|
*
|
|
15483
13870
|
* @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
|
|
@@ -15533,39 +13920,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
15533
13920
|
|
|
15534
13921
|
|
|
15535
13922
|
|
|
15536
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15537
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15538
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15539
|
-
|
|
15540
|
-
return {
|
|
15541
|
-
url: toPathString(localVarUrlObj),
|
|
15542
|
-
options: localVarRequestOptions,
|
|
15543
|
-
};
|
|
15544
|
-
},
|
|
15545
|
-
/**
|
|
15546
|
-
*
|
|
15547
|
-
* @param {*} [options] Override http request option.
|
|
15548
|
-
* @throws {RequiredError}
|
|
15549
|
-
*/
|
|
15550
|
-
getClubGeneralSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15551
|
-
const localVarPath = `/api/clubs/settings/general`;
|
|
15552
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15553
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15554
|
-
let baseOptions;
|
|
15555
|
-
if (configuration) {
|
|
15556
|
-
baseOptions = configuration.baseOptions;
|
|
15557
|
-
}
|
|
15558
|
-
|
|
15559
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15560
|
-
const localVarHeaderParameter = {} as any;
|
|
15561
|
-
const localVarQueryParameter = {} as any;
|
|
15562
|
-
|
|
15563
|
-
// authentication bearerAuth required
|
|
15564
|
-
// http bearer authentication required
|
|
15565
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
|
|
15569
13923
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15570
13924
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15571
13925
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15632,39 +13986,6 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
15632
13986
|
|
|
15633
13987
|
|
|
15634
13988
|
|
|
15635
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15636
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15637
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15638
|
-
|
|
15639
|
-
return {
|
|
15640
|
-
url: toPathString(localVarUrlObj),
|
|
15641
|
-
options: localVarRequestOptions,
|
|
15642
|
-
};
|
|
15643
|
-
},
|
|
15644
|
-
/**
|
|
15645
|
-
*
|
|
15646
|
-
* @param {*} [options] Override http request option.
|
|
15647
|
-
* @throws {RequiredError}
|
|
15648
|
-
*/
|
|
15649
|
-
getClubPresentationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15650
|
-
const localVarPath = `/api/clubs/settings/presentation`;
|
|
15651
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15652
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15653
|
-
let baseOptions;
|
|
15654
|
-
if (configuration) {
|
|
15655
|
-
baseOptions = configuration.baseOptions;
|
|
15656
|
-
}
|
|
15657
|
-
|
|
15658
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15659
|
-
const localVarHeaderParameter = {} as any;
|
|
15660
|
-
const localVarQueryParameter = {} as any;
|
|
15661
|
-
|
|
15662
|
-
// authentication bearerAuth required
|
|
15663
|
-
// http bearer authentication required
|
|
15664
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
13989
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15669
13990
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15670
13991
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15831,17 +14152,6 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
15831
14152
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getActualities']?.[localVarOperationServerIndex]?.url;
|
|
15832
14153
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15833
14154
|
},
|
|
15834
|
-
/**
|
|
15835
|
-
*
|
|
15836
|
-
* @param {*} [options] Override http request option.
|
|
15837
|
-
* @throws {RequiredError}
|
|
15838
|
-
*/
|
|
15839
|
-
async getClubGeneralSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>> {
|
|
15840
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubGeneralSettings(options);
|
|
15841
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15842
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
|
|
15843
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15844
|
-
},
|
|
15845
14155
|
/**
|
|
15846
14156
|
*
|
|
15847
14157
|
* @param {*} [options] Override http request option.
|
|
@@ -15864,17 +14174,6 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
15864
14174
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubMembers']?.[localVarOperationServerIndex]?.url;
|
|
15865
14175
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15866
14176
|
},
|
|
15867
|
-
/**
|
|
15868
|
-
*
|
|
15869
|
-
* @param {*} [options] Override http request option.
|
|
15870
|
-
* @throws {RequiredError}
|
|
15871
|
-
*/
|
|
15872
|
-
async getClubPresentationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
|
|
15873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPresentationSettings(options);
|
|
15874
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15875
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubPresentationSettings']?.[localVarOperationServerIndex]?.url;
|
|
15876
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15877
|
-
},
|
|
15878
14177
|
/**
|
|
15879
14178
|
* Récupère les rôles d\'un club
|
|
15880
14179
|
* @param {*} [options] Override http request option.
|
|
@@ -15938,14 +14237,6 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
15938
14237
|
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<GetActualities200Response> {
|
|
15939
14238
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
15940
14239
|
},
|
|
15941
|
-
/**
|
|
15942
|
-
*
|
|
15943
|
-
* @param {*} [options] Override http request option.
|
|
15944
|
-
* @throws {RequiredError}
|
|
15945
|
-
*/
|
|
15946
|
-
getClubGeneralSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
|
|
15947
|
-
return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
|
|
15948
|
-
},
|
|
15949
14240
|
/**
|
|
15950
14241
|
*
|
|
15951
14242
|
* @param {*} [options] Override http request option.
|
|
@@ -15962,14 +14253,6 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
15962
14253
|
getClubMembers(options?: RawAxiosRequestConfig): AxiosPromise<GetClubMembers200Response> {
|
|
15963
14254
|
return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
|
|
15964
14255
|
},
|
|
15965
|
-
/**
|
|
15966
|
-
*
|
|
15967
|
-
* @param {*} [options] Override http request option.
|
|
15968
|
-
* @throws {RequiredError}
|
|
15969
|
-
*/
|
|
15970
|
-
getClubPresentationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
|
|
15971
|
-
return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
|
|
15972
|
-
},
|
|
15973
14256
|
/**
|
|
15974
14257
|
* Récupère les rôles d\'un club
|
|
15975
14258
|
* @param {*} [options] Override http request option.
|
|
@@ -16037,16 +14320,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
16037
14320
|
return ClubsStaffApiFp(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
16038
14321
|
}
|
|
16039
14322
|
|
|
16040
|
-
/**
|
|
16041
|
-
*
|
|
16042
|
-
* @param {*} [options] Override http request option.
|
|
16043
|
-
* @throws {RequiredError}
|
|
16044
|
-
* @memberof ClubsStaffApi
|
|
16045
|
-
*/
|
|
16046
|
-
public getClubGeneralSettings(options?: RawAxiosRequestConfig) {
|
|
16047
|
-
return ClubsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
|
|
16048
|
-
}
|
|
16049
|
-
|
|
16050
14323
|
/**
|
|
16051
14324
|
*
|
|
16052
14325
|
* @param {*} [options] Override http request option.
|
|
@@ -16067,16 +14340,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
16067
14340
|
return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
|
|
16068
14341
|
}
|
|
16069
14342
|
|
|
16070
|
-
/**
|
|
16071
|
-
*
|
|
16072
|
-
* @param {*} [options] Override http request option.
|
|
16073
|
-
* @throws {RequiredError}
|
|
16074
|
-
* @memberof ClubsStaffApi
|
|
16075
|
-
*/
|
|
16076
|
-
public getClubPresentationSettings(options?: RawAxiosRequestConfig) {
|
|
16077
|
-
return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
16078
|
-
}
|
|
16079
|
-
|
|
16080
14343
|
/**
|
|
16081
14344
|
* Récupère les rôles d\'un club
|
|
16082
14345
|
* @param {*} [options] Override http request option.
|
|
@@ -17487,64 +15750,161 @@ export interface SportsManagerApiDeleteSportRequest {
|
|
|
17487
15750
|
}
|
|
17488
15751
|
|
|
17489
15752
|
/**
|
|
17490
|
-
* Request parameters for updateSport operation in SportsManagerApi.
|
|
15753
|
+
* Request parameters for updateSport operation in SportsManagerApi.
|
|
15754
|
+
* @export
|
|
15755
|
+
* @interface SportsManagerApiUpdateSportRequest
|
|
15756
|
+
*/
|
|
15757
|
+
export interface SportsManagerApiUpdateSportRequest {
|
|
15758
|
+
/**
|
|
15759
|
+
*
|
|
15760
|
+
* @type {string}
|
|
15761
|
+
* @memberof SportsManagerApiUpdateSport
|
|
15762
|
+
*/
|
|
15763
|
+
readonly id: string
|
|
15764
|
+
|
|
15765
|
+
/**
|
|
15766
|
+
*
|
|
15767
|
+
* @type {UpdateSportRequest}
|
|
15768
|
+
* @memberof SportsManagerApiUpdateSport
|
|
15769
|
+
*/
|
|
15770
|
+
readonly updateSportRequest: UpdateSportRequest
|
|
15771
|
+
}
|
|
15772
|
+
|
|
15773
|
+
/**
|
|
15774
|
+
* SportsManagerApi - object-oriented interface
|
|
15775
|
+
* @export
|
|
15776
|
+
* @class SportsManagerApi
|
|
15777
|
+
* @extends {BaseAPI}
|
|
15778
|
+
*/
|
|
15779
|
+
export class SportsManagerApi extends BaseAPI {
|
|
15780
|
+
/**
|
|
15781
|
+
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
15782
|
+
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
15783
|
+
* @param {*} [options] Override http request option.
|
|
15784
|
+
* @throws {RequiredError}
|
|
15785
|
+
* @memberof SportsManagerApi
|
|
15786
|
+
*/
|
|
15787
|
+
public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
|
|
15788
|
+
return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15789
|
+
}
|
|
15790
|
+
|
|
15791
|
+
/**
|
|
15792
|
+
* Supprime un sport (interdit si vérifié)
|
|
15793
|
+
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
15794
|
+
* @param {*} [options] Override http request option.
|
|
15795
|
+
* @throws {RequiredError}
|
|
15796
|
+
* @memberof SportsManagerApi
|
|
15797
|
+
*/
|
|
15798
|
+
public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
|
|
15799
|
+
return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
15800
|
+
}
|
|
15801
|
+
|
|
15802
|
+
/**
|
|
15803
|
+
* Met à jour un sport (interdit si vérifié)
|
|
15804
|
+
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
15805
|
+
* @param {*} [options] Override http request option.
|
|
15806
|
+
* @throws {RequiredError}
|
|
15807
|
+
* @memberof SportsManagerApi
|
|
15808
|
+
*/
|
|
15809
|
+
public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
|
|
15810
|
+
return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15811
|
+
}
|
|
15812
|
+
}
|
|
15813
|
+
|
|
15814
|
+
|
|
15815
|
+
|
|
15816
|
+
/**
|
|
15817
|
+
* SportsPublicApi - axios parameter creator
|
|
15818
|
+
* @export
|
|
15819
|
+
*/
|
|
15820
|
+
export const SportsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15821
|
+
return {
|
|
15822
|
+
/**
|
|
15823
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15824
|
+
* @param {*} [options] Override http request option.
|
|
15825
|
+
* @throws {RequiredError}
|
|
15826
|
+
*/
|
|
15827
|
+
getVerifiedSports: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15828
|
+
const localVarPath = `/api/sports/verified`;
|
|
15829
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15831
|
+
let baseOptions;
|
|
15832
|
+
if (configuration) {
|
|
15833
|
+
baseOptions = configuration.baseOptions;
|
|
15834
|
+
}
|
|
15835
|
+
|
|
15836
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15837
|
+
const localVarHeaderParameter = {} as any;
|
|
15838
|
+
const localVarQueryParameter = {} as any;
|
|
15839
|
+
|
|
15840
|
+
|
|
15841
|
+
|
|
15842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15844
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15845
|
+
|
|
15846
|
+
return {
|
|
15847
|
+
url: toPathString(localVarUrlObj),
|
|
15848
|
+
options: localVarRequestOptions,
|
|
15849
|
+
};
|
|
15850
|
+
},
|
|
15851
|
+
}
|
|
15852
|
+
};
|
|
15853
|
+
|
|
15854
|
+
/**
|
|
15855
|
+
* SportsPublicApi - functional programming interface
|
|
17491
15856
|
* @export
|
|
17492
|
-
* @interface SportsManagerApiUpdateSportRequest
|
|
17493
15857
|
*/
|
|
17494
|
-
export
|
|
17495
|
-
|
|
17496
|
-
|
|
17497
|
-
|
|
17498
|
-
|
|
17499
|
-
|
|
17500
|
-
|
|
15858
|
+
export const SportsPublicApiFp = function(configuration?: Configuration) {
|
|
15859
|
+
const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration)
|
|
15860
|
+
return {
|
|
15861
|
+
/**
|
|
15862
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15863
|
+
* @param {*} [options] Override http request option.
|
|
15864
|
+
* @throws {RequiredError}
|
|
15865
|
+
*/
|
|
15866
|
+
async getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>> {
|
|
15867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVerifiedSports(options);
|
|
15868
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15869
|
+
const localVarOperationServerBasePath = operationServerMap['SportsPublicApi.getVerifiedSports']?.[localVarOperationServerIndex]?.url;
|
|
15870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15871
|
+
},
|
|
15872
|
+
}
|
|
15873
|
+
};
|
|
17501
15874
|
|
|
17502
|
-
|
|
17503
|
-
|
|
17504
|
-
|
|
17505
|
-
|
|
17506
|
-
|
|
17507
|
-
|
|
17508
|
-
|
|
15875
|
+
/**
|
|
15876
|
+
* SportsPublicApi - factory interface
|
|
15877
|
+
* @export
|
|
15878
|
+
*/
|
|
15879
|
+
export const SportsPublicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15880
|
+
const localVarFp = SportsPublicApiFp(configuration)
|
|
15881
|
+
return {
|
|
15882
|
+
/**
|
|
15883
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15884
|
+
* @param {*} [options] Override http request option.
|
|
15885
|
+
* @throws {RequiredError}
|
|
15886
|
+
*/
|
|
15887
|
+
getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
|
|
15888
|
+
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
15889
|
+
},
|
|
15890
|
+
};
|
|
15891
|
+
};
|
|
17509
15892
|
|
|
17510
15893
|
/**
|
|
17511
|
-
*
|
|
15894
|
+
* SportsPublicApi - object-oriented interface
|
|
17512
15895
|
* @export
|
|
17513
|
-
* @class
|
|
15896
|
+
* @class SportsPublicApi
|
|
17514
15897
|
* @extends {BaseAPI}
|
|
17515
15898
|
*/
|
|
17516
|
-
export class
|
|
17517
|
-
/**
|
|
17518
|
-
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
17519
|
-
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
17520
|
-
* @param {*} [options] Override http request option.
|
|
17521
|
-
* @throws {RequiredError}
|
|
17522
|
-
* @memberof SportsManagerApi
|
|
17523
|
-
*/
|
|
17524
|
-
public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
|
|
17525
|
-
return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17526
|
-
}
|
|
17527
|
-
|
|
17528
|
-
/**
|
|
17529
|
-
* Supprime un sport (interdit si vérifié)
|
|
17530
|
-
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
17531
|
-
* @param {*} [options] Override http request option.
|
|
17532
|
-
* @throws {RequiredError}
|
|
17533
|
-
* @memberof SportsManagerApi
|
|
17534
|
-
*/
|
|
17535
|
-
public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
|
|
17536
|
-
return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
17537
|
-
}
|
|
17538
|
-
|
|
15899
|
+
export class SportsPublicApi extends BaseAPI {
|
|
17539
15900
|
/**
|
|
17540
|
-
*
|
|
17541
|
-
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
15901
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
17542
15902
|
* @param {*} [options] Override http request option.
|
|
17543
15903
|
* @throws {RequiredError}
|
|
17544
|
-
* @memberof
|
|
15904
|
+
* @memberof SportsPublicApi
|
|
17545
15905
|
*/
|
|
17546
|
-
public
|
|
17547
|
-
return
|
|
15906
|
+
public getVerifiedSports(options?: RawAxiosRequestConfig) {
|
|
15907
|
+
return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
|
|
17548
15908
|
}
|
|
17549
15909
|
}
|
|
17550
15910
|
|
|
@@ -18661,45 +17021,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18661
17021
|
options: localVarRequestOptions,
|
|
18662
17022
|
};
|
|
18663
17023
|
},
|
|
18664
|
-
/**
|
|
18665
|
-
*
|
|
18666
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
18667
|
-
* @param {*} [options] Override http request option.
|
|
18668
|
-
* @throws {RequiredError}
|
|
18669
|
-
*/
|
|
18670
|
-
addPaymentMethodSetup: async (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18671
|
-
// verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
|
|
18672
|
-
assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody)
|
|
18673
|
-
const localVarPath = `/api/users/addPaymentMethodSetup`;
|
|
18674
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18675
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18676
|
-
let baseOptions;
|
|
18677
|
-
if (configuration) {
|
|
18678
|
-
baseOptions = configuration.baseOptions;
|
|
18679
|
-
}
|
|
18680
|
-
|
|
18681
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18682
|
-
const localVarHeaderParameter = {} as any;
|
|
18683
|
-
const localVarQueryParameter = {} as any;
|
|
18684
|
-
|
|
18685
|
-
// authentication bearerAuth required
|
|
18686
|
-
// http bearer authentication required
|
|
18687
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18692
|
-
|
|
18693
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18694
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18695
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18696
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration)
|
|
18697
|
-
|
|
18698
|
-
return {
|
|
18699
|
-
url: toPathString(localVarUrlObj),
|
|
18700
|
-
options: localVarRequestOptions,
|
|
18701
|
-
};
|
|
18702
|
-
},
|
|
18703
17024
|
/**
|
|
18704
17025
|
*
|
|
18705
17026
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -18739,45 +17060,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18739
17060
|
options: localVarRequestOptions,
|
|
18740
17061
|
};
|
|
18741
17062
|
},
|
|
18742
|
-
/**
|
|
18743
|
-
*
|
|
18744
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
18745
|
-
* @param {*} [options] Override http request option.
|
|
18746
|
-
* @throws {RequiredError}
|
|
18747
|
-
*/
|
|
18748
|
-
confirmPaymentMethodSetup: async (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18749
|
-
// verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
|
|
18750
|
-
assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody)
|
|
18751
|
-
const localVarPath = `/api/users/confirmPaymentMethodSetup`;
|
|
18752
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18753
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18754
|
-
let baseOptions;
|
|
18755
|
-
if (configuration) {
|
|
18756
|
-
baseOptions = configuration.baseOptions;
|
|
18757
|
-
}
|
|
18758
|
-
|
|
18759
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18760
|
-
const localVarHeaderParameter = {} as any;
|
|
18761
|
-
const localVarQueryParameter = {} as any;
|
|
18762
|
-
|
|
18763
|
-
// authentication bearerAuth required
|
|
18764
|
-
// http bearer authentication required
|
|
18765
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18766
|
-
|
|
18767
|
-
|
|
18768
|
-
|
|
18769
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18770
|
-
|
|
18771
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18772
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18773
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18774
|
-
localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration)
|
|
18775
|
-
|
|
18776
|
-
return {
|
|
18777
|
-
url: toPathString(localVarUrlObj),
|
|
18778
|
-
options: localVarRequestOptions,
|
|
18779
|
-
};
|
|
18780
|
-
},
|
|
18781
17063
|
/**
|
|
18782
17064
|
*
|
|
18783
17065
|
* @param {*} [options] Override http request option.
|
|
@@ -19714,45 +17996,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19714
17996
|
options: localVarRequestOptions,
|
|
19715
17997
|
};
|
|
19716
17998
|
},
|
|
19717
|
-
/**
|
|
19718
|
-
*
|
|
19719
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
19720
|
-
* @param {*} [options] Override http request option.
|
|
19721
|
-
* @throws {RequiredError}
|
|
19722
|
-
*/
|
|
19723
|
-
setupOffSessionPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19724
|
-
// verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
|
|
19725
|
-
assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
|
|
19726
|
-
const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
|
|
19727
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19728
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19729
|
-
let baseOptions;
|
|
19730
|
-
if (configuration) {
|
|
19731
|
-
baseOptions = configuration.baseOptions;
|
|
19732
|
-
}
|
|
19733
|
-
|
|
19734
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19735
|
-
const localVarHeaderParameter = {} as any;
|
|
19736
|
-
const localVarQueryParameter = {} as any;
|
|
19737
|
-
|
|
19738
|
-
// authentication bearerAuth required
|
|
19739
|
-
// http bearer authentication required
|
|
19740
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19741
|
-
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19745
|
-
|
|
19746
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19747
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19748
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19749
|
-
localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration)
|
|
19750
|
-
|
|
19751
|
-
return {
|
|
19752
|
-
url: toPathString(localVarUrlObj),
|
|
19753
|
-
options: localVarRequestOptions,
|
|
19754
|
-
};
|
|
19755
|
-
},
|
|
19756
17999
|
/**
|
|
19757
18000
|
*
|
|
19758
18001
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -20060,18 +18303,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
20060
18303
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
|
|
20061
18304
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20062
18305
|
},
|
|
20063
|
-
/**
|
|
20064
|
-
*
|
|
20065
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
20066
|
-
* @param {*} [options] Override http request option.
|
|
20067
|
-
* @throws {RequiredError}
|
|
20068
|
-
*/
|
|
20069
|
-
async addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>> {
|
|
20070
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
|
|
20071
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20072
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.addPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
|
|
20073
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20074
|
-
},
|
|
20075
18306
|
/**
|
|
20076
18307
|
*
|
|
20077
18308
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -20084,18 +18315,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
20084
18315
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
|
|
20085
18316
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20086
18317
|
},
|
|
20087
|
-
/**
|
|
20088
|
-
*
|
|
20089
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
20090
|
-
* @param {*} [options] Override http request option.
|
|
20091
|
-
* @throws {RequiredError}
|
|
20092
|
-
*/
|
|
20093
|
-
async confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>> {
|
|
20094
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
|
|
20095
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20096
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.confirmPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
|
|
20097
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20098
|
-
},
|
|
20099
18318
|
/**
|
|
20100
18319
|
*
|
|
20101
18320
|
* @param {*} [options] Override http request option.
|
|
@@ -20113,7 +18332,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
20113
18332
|
* @param {*} [options] Override http request option.
|
|
20114
18333
|
* @throws {RequiredError}
|
|
20115
18334
|
*/
|
|
20116
|
-
async getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18335
|
+
async getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>> {
|
|
20117
18336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingDetail(bookingId, options);
|
|
20118
18337
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20119
18338
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getBookingDetail']?.[localVarOperationServerIndex]?.url;
|
|
@@ -20248,7 +18467,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
20248
18467
|
* @param {*} [options] Override http request option.
|
|
20249
18468
|
* @throws {RequiredError}
|
|
20250
18469
|
*/
|
|
20251
|
-
async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18470
|
+
async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>> {
|
|
20252
18471
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBookings(limit, skip, options);
|
|
20253
18472
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20254
18473
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
|
|
@@ -20394,18 +18613,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
20394
18613
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
|
|
20395
18614
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20396
18615
|
},
|
|
20397
|
-
/**
|
|
20398
|
-
*
|
|
20399
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
20400
|
-
* @param {*} [options] Override http request option.
|
|
20401
|
-
* @throws {RequiredError}
|
|
20402
|
-
*/
|
|
20403
|
-
async setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
|
|
20404
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
|
|
20405
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20406
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.setupOffSessionPaymentMethod']?.[localVarOperationServerIndex]?.url;
|
|
20407
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20408
|
-
},
|
|
20409
18616
|
/**
|
|
20410
18617
|
*
|
|
20411
18618
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -20527,15 +18734,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20527
18734
|
addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
20528
18735
|
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
20529
18736
|
},
|
|
20530
|
-
/**
|
|
20531
|
-
*
|
|
20532
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
20533
|
-
* @param {*} [options] Override http request option.
|
|
20534
|
-
* @throws {RequiredError}
|
|
20535
|
-
*/
|
|
20536
|
-
addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse> {
|
|
20537
|
-
return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
20538
|
-
},
|
|
20539
18737
|
/**
|
|
20540
18738
|
*
|
|
20541
18739
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -20545,15 +18743,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20545
18743
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
|
|
20546
18744
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
20547
18745
|
},
|
|
20548
|
-
/**
|
|
20549
|
-
*
|
|
20550
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
20551
|
-
* @param {*} [options] Override http request option.
|
|
20552
|
-
* @throws {RequiredError}
|
|
20553
|
-
*/
|
|
20554
|
-
confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse> {
|
|
20555
|
-
return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
20556
|
-
},
|
|
20557
18746
|
/**
|
|
20558
18747
|
*
|
|
20559
18748
|
* @param {*} [options] Override http request option.
|
|
@@ -20568,7 +18757,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20568
18757
|
* @param {*} [options] Override http request option.
|
|
20569
18758
|
* @throws {RequiredError}
|
|
20570
18759
|
*/
|
|
20571
|
-
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
18760
|
+
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary> {
|
|
20572
18761
|
return localVarFp.getBookingDetail(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
20573
18762
|
},
|
|
20574
18763
|
/**
|
|
@@ -20661,7 +18850,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20661
18850
|
* @param {*} [options] Override http request option.
|
|
20662
18851
|
* @throws {RequiredError}
|
|
20663
18852
|
*/
|
|
20664
|
-
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
18853
|
+
getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
|
|
20665
18854
|
return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
20666
18855
|
},
|
|
20667
18856
|
/**
|
|
@@ -20762,15 +18951,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
20762
18951
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
20763
18952
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
20764
18953
|
},
|
|
20765
|
-
/**
|
|
20766
|
-
*
|
|
20767
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
20768
|
-
* @param {*} [options] Override http request option.
|
|
20769
|
-
* @throws {RequiredError}
|
|
20770
|
-
*/
|
|
20771
|
-
setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
|
|
20772
|
-
return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
20773
|
-
},
|
|
20774
18954
|
/**
|
|
20775
18955
|
*
|
|
20776
18956
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -20879,20 +19059,6 @@ export interface UsersApiAddOrganizationRequest {
|
|
|
20879
19059
|
readonly addOrganizationRequest: AddOrganizationRequest
|
|
20880
19060
|
}
|
|
20881
19061
|
|
|
20882
|
-
/**
|
|
20883
|
-
* Request parameters for addPaymentMethodSetup operation in UsersApi.
|
|
20884
|
-
* @export
|
|
20885
|
-
* @interface UsersApiAddPaymentMethodSetupRequest
|
|
20886
|
-
*/
|
|
20887
|
-
export interface UsersApiAddPaymentMethodSetupRequest {
|
|
20888
|
-
/**
|
|
20889
|
-
*
|
|
20890
|
-
* @type {AddPaymentMethodRequestBody}
|
|
20891
|
-
* @memberof UsersApiAddPaymentMethodSetup
|
|
20892
|
-
*/
|
|
20893
|
-
readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody
|
|
20894
|
-
}
|
|
20895
|
-
|
|
20896
19062
|
/**
|
|
20897
19063
|
* Request parameters for changePassword operation in UsersApi.
|
|
20898
19064
|
* @export
|
|
@@ -20907,20 +19073,6 @@ export interface UsersApiChangePasswordRequest {
|
|
|
20907
19073
|
readonly changePasswordRequestBody: ChangePasswordRequestBody
|
|
20908
19074
|
}
|
|
20909
19075
|
|
|
20910
|
-
/**
|
|
20911
|
-
* Request parameters for confirmPaymentMethodSetup operation in UsersApi.
|
|
20912
|
-
* @export
|
|
20913
|
-
* @interface UsersApiConfirmPaymentMethodSetupRequest
|
|
20914
|
-
*/
|
|
20915
|
-
export interface UsersApiConfirmPaymentMethodSetupRequest {
|
|
20916
|
-
/**
|
|
20917
|
-
*
|
|
20918
|
-
* @type {ConfirmPaymentMethodRequestBody}
|
|
20919
|
-
* @memberof UsersApiConfirmPaymentMethodSetup
|
|
20920
|
-
*/
|
|
20921
|
-
readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody
|
|
20922
|
-
}
|
|
20923
|
-
|
|
20924
19076
|
/**
|
|
20925
19077
|
* Request parameters for getBookingDetail operation in UsersApi.
|
|
20926
19078
|
* @export
|
|
@@ -21271,20 +19423,6 @@ export interface UsersApiResetPasswordRequest {
|
|
|
21271
19423
|
readonly resetPasswordRequest: ResetPasswordRequest
|
|
21272
19424
|
}
|
|
21273
19425
|
|
|
21274
|
-
/**
|
|
21275
|
-
* Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
|
|
21276
|
-
* @export
|
|
21277
|
-
* @interface UsersApiSetupOffSessionPaymentMethodRequest
|
|
21278
|
-
*/
|
|
21279
|
-
export interface UsersApiSetupOffSessionPaymentMethodRequest {
|
|
21280
|
-
/**
|
|
21281
|
-
*
|
|
21282
|
-
* @type {SetupPaymentMethodRequestBody}
|
|
21283
|
-
* @memberof UsersApiSetupOffSessionPaymentMethod
|
|
21284
|
-
*/
|
|
21285
|
-
readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody
|
|
21286
|
-
}
|
|
21287
|
-
|
|
21288
19426
|
/**
|
|
21289
19427
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
21290
19428
|
* @export
|
|
@@ -21423,17 +19561,6 @@ export class UsersApi extends BaseAPI {
|
|
|
21423
19561
|
return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21424
19562
|
}
|
|
21425
19563
|
|
|
21426
|
-
/**
|
|
21427
|
-
*
|
|
21428
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
21429
|
-
* @param {*} [options] Override http request option.
|
|
21430
|
-
* @throws {RequiredError}
|
|
21431
|
-
* @memberof UsersApi
|
|
21432
|
-
*/
|
|
21433
|
-
public addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
|
|
21434
|
-
return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21435
|
-
}
|
|
21436
|
-
|
|
21437
19564
|
/**
|
|
21438
19565
|
*
|
|
21439
19566
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -21445,17 +19572,6 @@ export class UsersApi extends BaseAPI {
|
|
|
21445
19572
|
return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21446
19573
|
}
|
|
21447
19574
|
|
|
21448
|
-
/**
|
|
21449
|
-
*
|
|
21450
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
21451
|
-
* @param {*} [options] Override http request option.
|
|
21452
|
-
* @throws {RequiredError}
|
|
21453
|
-
* @memberof UsersApi
|
|
21454
|
-
*/
|
|
21455
|
-
public confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
|
|
21456
|
-
return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21457
|
-
}
|
|
21458
|
-
|
|
21459
19575
|
/**
|
|
21460
19576
|
*
|
|
21461
19577
|
* @param {*} [options] Override http request option.
|
|
@@ -21712,17 +19828,6 @@ export class UsersApi extends BaseAPI {
|
|
|
21712
19828
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21713
19829
|
}
|
|
21714
19830
|
|
|
21715
|
-
/**
|
|
21716
|
-
*
|
|
21717
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
21718
|
-
* @param {*} [options] Override http request option.
|
|
21719
|
-
* @throws {RequiredError}
|
|
21720
|
-
* @memberof UsersApi
|
|
21721
|
-
*/
|
|
21722
|
-
public setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig) {
|
|
21723
|
-
return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21724
|
-
}
|
|
21725
|
-
|
|
21726
19831
|
/**
|
|
21727
19832
|
*
|
|
21728
19833
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|