@tennac-booking/sdk 1.0.88 → 1.0.90
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 +16 -7
- package/README.md +19 -12
- package/api.ts +1053 -620
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +844 -443
- package/dist/api.js +296 -209
- 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 +844 -443
- package/dist/esm/api.js +284 -206
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingClubInfo.md +28 -0
- package/docs/{SetupPaymentMethodRequestBody.md → BookingCourtInfo.md} +7 -5
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPaymentStatus.md +24 -0
- package/docs/BookingPlayerPaymentSummary.md +34 -0
- package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
- package/docs/BookingPriceResponse.md +22 -0
- 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/ClubResponse.md +8 -0
- package/docs/ClubsApi.md +1 -1
- package/docs/CreateBookingRequest.md +4 -2
- package/docs/IUserAttributes.md +2 -12
- package/docs/InvoiceStatus.md +22 -0
- package/docs/MyClubInfosResponse.md +26 -0
- package/docs/PartialClubResponse.md +8 -0
- package/docs/PlayerPrice.md +30 -0
- package/docs/{ConfirmPaymentMethodResponse.md → QuickReservationClubSport.md} +7 -7
- package/docs/QuickReservationClubSummary.md +4 -0
- package/docs/SportsPublicApi.md +53 -0
- package/docs/StaffUserProfileResponse.md +2 -12
- package/docs/SubscribeRequestBody.md +2 -0
- package/docs/SubscriptionInfo.md +24 -0
- package/docs/UserApi.md +60 -0
- 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/BookingDetailResponse.md +0 -46
- package/docs/PaymentMethodSetupResponse.md +0 -24
- package/docs/SetupPaymentMethodResponse.md +0 -24
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.89
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -82,19 +82,6 @@ export interface AddOrganizationRequest {
|
|
|
82
82
|
*/
|
|
83
83
|
'organizationId'?: string;
|
|
84
84
|
}
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @export
|
|
88
|
-
* @interface AddPaymentMethodRequestBody
|
|
89
|
-
*/
|
|
90
|
-
export interface AddPaymentMethodRequestBody {
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof AddPaymentMethodRequestBody
|
|
95
|
-
*/
|
|
96
|
-
'paymentMethodId': string;
|
|
97
|
-
}
|
|
98
85
|
/**
|
|
99
86
|
*
|
|
100
87
|
* @export
|
|
@@ -153,95 +140,60 @@ export interface BookingAnalyticsResponse {
|
|
|
153
140
|
/**
|
|
154
141
|
*
|
|
155
142
|
* @export
|
|
156
|
-
* @interface
|
|
143
|
+
* @interface BookingClubInfo
|
|
157
144
|
*/
|
|
158
|
-
export interface
|
|
145
|
+
export interface BookingClubInfo {
|
|
159
146
|
/**
|
|
160
147
|
*
|
|
161
148
|
* @type {string}
|
|
162
|
-
* @memberof
|
|
149
|
+
* @memberof BookingClubInfo
|
|
163
150
|
*/
|
|
164
151
|
'id': string;
|
|
165
152
|
/**
|
|
166
153
|
*
|
|
167
154
|
* @type {string}
|
|
168
|
-
* @memberof
|
|
169
|
-
*/
|
|
170
|
-
'clubPicture'?: string;
|
|
171
|
-
/**
|
|
172
|
-
*
|
|
173
|
-
* @type {string}
|
|
174
|
-
* @memberof BookingDetailResponse
|
|
155
|
+
* @memberof BookingClubInfo
|
|
175
156
|
*/
|
|
176
|
-
'
|
|
157
|
+
'name'?: string | null;
|
|
177
158
|
/**
|
|
178
159
|
*
|
|
179
160
|
* @type {string}
|
|
180
|
-
* @memberof
|
|
161
|
+
* @memberof BookingClubInfo
|
|
181
162
|
*/
|
|
182
|
-
'
|
|
163
|
+
'picture'?: string | null;
|
|
183
164
|
/**
|
|
184
165
|
*
|
|
185
166
|
* @type {string}
|
|
186
|
-
* @memberof
|
|
167
|
+
* @memberof BookingClubInfo
|
|
187
168
|
*/
|
|
188
|
-
'
|
|
169
|
+
'address'?: string | null;
|
|
189
170
|
/**
|
|
190
|
-
*
|
|
191
|
-
* @type {string}
|
|
192
|
-
* @memberof
|
|
171
|
+
* Construct a type with a set of properties K of type T
|
|
172
|
+
* @type {{ [key: string]: any; }}
|
|
173
|
+
* @memberof BookingClubInfo
|
|
193
174
|
*/
|
|
194
|
-
'
|
|
175
|
+
'location'?: {
|
|
176
|
+
[key: string]: any;
|
|
177
|
+
} | null;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @export
|
|
182
|
+
* @interface BookingCourtInfo
|
|
183
|
+
*/
|
|
184
|
+
export interface BookingCourtInfo {
|
|
195
185
|
/**
|
|
196
186
|
*
|
|
197
187
|
* @type {string}
|
|
198
|
-
* @memberof
|
|
199
|
-
*/
|
|
200
|
-
'bookingStatus'?: string;
|
|
201
|
-
/**
|
|
202
|
-
*
|
|
203
|
-
* @type {Array<string>}
|
|
204
|
-
* @memberof BookingDetailResponse
|
|
188
|
+
* @memberof BookingCourtInfo
|
|
205
189
|
*/
|
|
206
|
-
'
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* @type {number}
|
|
210
|
-
* @memberof BookingDetailResponse
|
|
211
|
-
*/
|
|
212
|
-
'myAmountToPay': number;
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
* @type {number}
|
|
216
|
-
* @memberof BookingDetailResponse
|
|
217
|
-
*/
|
|
218
|
-
'totalAmount': number;
|
|
190
|
+
'id'?: string | null;
|
|
219
191
|
/**
|
|
220
192
|
*
|
|
221
193
|
* @type {string}
|
|
222
|
-
* @memberof
|
|
223
|
-
*/
|
|
224
|
-
'timeBeforeCancel'?: string | null;
|
|
225
|
-
/**
|
|
226
|
-
*
|
|
227
|
-
* @type {BookingSummaryClubAddress}
|
|
228
|
-
* @memberof BookingDetailResponse
|
|
194
|
+
* @memberof BookingCourtInfo
|
|
229
195
|
*/
|
|
230
|
-
'
|
|
231
|
-
/**
|
|
232
|
-
*
|
|
233
|
-
* @type {BookingHistoryPopulated}
|
|
234
|
-
* @memberof BookingDetailResponse
|
|
235
|
-
*/
|
|
236
|
-
'bookingHistory'?: BookingHistoryPopulated;
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* @type {Array<{ [key: string]: any; }>}
|
|
240
|
-
* @memberof BookingDetailResponse
|
|
241
|
-
*/
|
|
242
|
-
'paymentStatus': Array<{
|
|
243
|
-
[key: string]: any;
|
|
244
|
-
}>;
|
|
196
|
+
'name'?: string | null;
|
|
245
197
|
}
|
|
246
198
|
/**
|
|
247
199
|
*
|
|
@@ -348,10 +300,10 @@ export interface BookingInfo {
|
|
|
348
300
|
'totalPrice': number;
|
|
349
301
|
/**
|
|
350
302
|
* ID du créneau
|
|
351
|
-
* @type {string}
|
|
303
|
+
* @type {Array<string>}
|
|
352
304
|
* @memberof BookingInfo
|
|
353
305
|
*/
|
|
354
|
-
'
|
|
306
|
+
'slotIds': Array<string>;
|
|
355
307
|
/**
|
|
356
308
|
* Indique si le créateur paie pour tous
|
|
357
309
|
* @type {boolean}
|
|
@@ -407,6 +359,31 @@ export interface BookingInfo {
|
|
|
407
359
|
*/
|
|
408
360
|
'noShowChargeAmount'?: number;
|
|
409
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @export
|
|
365
|
+
* @interface BookingPaymentStatus
|
|
366
|
+
*/
|
|
367
|
+
export interface BookingPaymentStatus {
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {string}
|
|
371
|
+
* @memberof BookingPaymentStatus
|
|
372
|
+
*/
|
|
373
|
+
'playerId': string;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof BookingPaymentStatus
|
|
378
|
+
*/
|
|
379
|
+
'invoiceId'?: string | null;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @type {InvoiceStatus}
|
|
383
|
+
* @memberof BookingPaymentStatus
|
|
384
|
+
*/
|
|
385
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
386
|
+
}
|
|
410
387
|
/**
|
|
411
388
|
*
|
|
412
389
|
* @export
|
|
@@ -500,6 +477,61 @@ export interface BookingPaymentStatusResponseSummary {
|
|
|
500
477
|
*/
|
|
501
478
|
'totalPlayers': number;
|
|
502
479
|
}
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @export
|
|
483
|
+
* @interface BookingPlayerPaymentSummary
|
|
484
|
+
*/
|
|
485
|
+
export interface BookingPlayerPaymentSummary {
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {string}
|
|
489
|
+
* @memberof BookingPlayerPaymentSummary
|
|
490
|
+
*/
|
|
491
|
+
'id': string;
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @type {string}
|
|
495
|
+
* @memberof BookingPlayerPaymentSummary
|
|
496
|
+
*/
|
|
497
|
+
'firstName'?: string | null;
|
|
498
|
+
/**
|
|
499
|
+
*
|
|
500
|
+
* @type {string}
|
|
501
|
+
* @memberof BookingPlayerPaymentSummary
|
|
502
|
+
*/
|
|
503
|
+
'lastName'?: string | null;
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @type {string}
|
|
507
|
+
* @memberof BookingPlayerPaymentSummary
|
|
508
|
+
*/
|
|
509
|
+
'profilePicture'?: string | null;
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @type {number}
|
|
513
|
+
* @memberof BookingPlayerPaymentSummary
|
|
514
|
+
*/
|
|
515
|
+
'amountToPay': number;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {string}
|
|
519
|
+
* @memberof BookingPlayerPaymentSummary
|
|
520
|
+
*/
|
|
521
|
+
'invoiceId'?: string | null;
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {InvoiceStatus}
|
|
525
|
+
* @memberof BookingPlayerPaymentSummary
|
|
526
|
+
*/
|
|
527
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {boolean}
|
|
531
|
+
* @memberof BookingPlayerPaymentSummary
|
|
532
|
+
*/
|
|
533
|
+
'isCreator': boolean;
|
|
534
|
+
}
|
|
503
535
|
/**
|
|
504
536
|
*
|
|
505
537
|
* @export
|
|
@@ -597,6 +629,44 @@ export interface BookingPopulated {
|
|
|
597
629
|
*/
|
|
598
630
|
'cancellationReason'?: string;
|
|
599
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @export
|
|
635
|
+
* @interface BookingPriceBody
|
|
636
|
+
*/
|
|
637
|
+
export interface BookingPriceBody {
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {Array<string>}
|
|
641
|
+
* @memberof BookingPriceBody
|
|
642
|
+
*/
|
|
643
|
+
'slotIds': Array<string>;
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @type {Array<string>}
|
|
647
|
+
* @memberof BookingPriceBody
|
|
648
|
+
*/
|
|
649
|
+
'players': Array<string>;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @export
|
|
654
|
+
* @interface BookingPriceResponse
|
|
655
|
+
*/
|
|
656
|
+
export interface BookingPriceResponse {
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {boolean}
|
|
660
|
+
* @memberof BookingPriceResponse
|
|
661
|
+
*/
|
|
662
|
+
'creatorNeedsToRegisterPaymentMethod': boolean;
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {Array<PlayerPrice>}
|
|
666
|
+
* @memberof BookingPriceResponse
|
|
667
|
+
*/
|
|
668
|
+
'playerPrices': Array<PlayerPrice>;
|
|
669
|
+
}
|
|
600
670
|
/**
|
|
601
671
|
*
|
|
602
672
|
* @export
|
|
@@ -629,6 +699,12 @@ export interface BookingResponse {
|
|
|
629
699
|
* @memberof BookingResponse
|
|
630
700
|
*/
|
|
631
701
|
'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof BookingResponse
|
|
706
|
+
*/
|
|
707
|
+
'setupNoShowPaymentUrl'?: string;
|
|
632
708
|
/**
|
|
633
709
|
* Message de confirmation
|
|
634
710
|
* @type {string}
|
|
@@ -655,6 +731,68 @@ export interface BookingResponseOnsitePaymentsInner {
|
|
|
655
731
|
*/
|
|
656
732
|
'playerId': string;
|
|
657
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
|
+
}
|
|
658
796
|
/**
|
|
659
797
|
*
|
|
660
798
|
* @export
|
|
@@ -682,6 +820,132 @@ export interface BookingSummary {
|
|
|
682
820
|
* @memberof BookingSummary
|
|
683
821
|
*/
|
|
684
822
|
'id': string;
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @type {string}
|
|
826
|
+
* @memberof BookingSummary
|
|
827
|
+
*/
|
|
828
|
+
'clubId': string;
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
* @type {string}
|
|
832
|
+
* @memberof BookingSummary
|
|
833
|
+
*/
|
|
834
|
+
'userId': string;
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @type {Array<string>}
|
|
838
|
+
* @memberof BookingSummary
|
|
839
|
+
*/
|
|
840
|
+
'playersIds': Array<string>;
|
|
841
|
+
/**
|
|
842
|
+
*
|
|
843
|
+
* @type {BookingStatus}
|
|
844
|
+
* @memberof BookingSummary
|
|
845
|
+
*/
|
|
846
|
+
'status': BookingStatus;
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @type {Array<BookingPaymentStatus>}
|
|
850
|
+
* @memberof BookingSummary
|
|
851
|
+
*/
|
|
852
|
+
'paymentByPlayersStatus': Array<BookingPaymentStatus>;
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @type {boolean}
|
|
856
|
+
* @memberof BookingSummary
|
|
857
|
+
*/
|
|
858
|
+
'isCreatorPayingAll': boolean;
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
* @type {number}
|
|
862
|
+
* @memberof BookingSummary
|
|
863
|
+
*/
|
|
864
|
+
'totalPrice': number;
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @type {Array<string>}
|
|
868
|
+
* @memberof BookingSummary
|
|
869
|
+
*/
|
|
870
|
+
'slotIds': Array<string>;
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @type {boolean}
|
|
874
|
+
* @memberof BookingSummary
|
|
875
|
+
*/
|
|
876
|
+
'isPublic': boolean;
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @type {string}
|
|
880
|
+
* @memberof BookingSummary
|
|
881
|
+
*/
|
|
882
|
+
'creatorPaymentMethodId'?: string | null;
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @type {boolean}
|
|
886
|
+
* @memberof BookingSummary
|
|
887
|
+
*/
|
|
888
|
+
'paymentMethodSetupCompleted': boolean;
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {number}
|
|
892
|
+
* @memberof BookingSummary
|
|
893
|
+
*/
|
|
894
|
+
'noShowChargeAmount'?: number | null;
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @type {boolean}
|
|
898
|
+
* @memberof BookingSummary
|
|
899
|
+
*/
|
|
900
|
+
'noShowChargeApplied'?: boolean;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof BookingSummary
|
|
905
|
+
*/
|
|
906
|
+
'noShowChargeIntentId'?: string | null;
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @type {string}
|
|
910
|
+
* @memberof BookingSummary
|
|
911
|
+
*/
|
|
912
|
+
'cancellationReason'?: string | null;
|
|
913
|
+
/**
|
|
914
|
+
*
|
|
915
|
+
* @type {string}
|
|
916
|
+
* @memberof BookingSummary
|
|
917
|
+
*/
|
|
918
|
+
'cancelledBy'?: string | null;
|
|
919
|
+
/**
|
|
920
|
+
*
|
|
921
|
+
* @type {string}
|
|
922
|
+
* @memberof BookingSummary
|
|
923
|
+
*/
|
|
924
|
+
'cancelledAt'?: string | null;
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @type {boolean}
|
|
928
|
+
* @memberof BookingSummary
|
|
929
|
+
*/
|
|
930
|
+
'cancelledByManager'?: boolean;
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof BookingSummary
|
|
935
|
+
*/
|
|
936
|
+
'createdAt': string | null;
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @type {string}
|
|
940
|
+
* @memberof BookingSummary
|
|
941
|
+
*/
|
|
942
|
+
'updatedAt': string | null;
|
|
943
|
+
/**
|
|
944
|
+
*
|
|
945
|
+
* @type {number}
|
|
946
|
+
* @memberof BookingSummary
|
|
947
|
+
*/
|
|
948
|
+
'playersCount'?: number | null;
|
|
685
949
|
/**
|
|
686
950
|
*
|
|
687
951
|
* @type {string}
|
|
@@ -708,10 +972,10 @@ export interface BookingSummary {
|
|
|
708
972
|
'startDate'?: string;
|
|
709
973
|
/**
|
|
710
974
|
*
|
|
711
|
-
* @type {
|
|
975
|
+
* @type {InvoiceStatus}
|
|
712
976
|
* @memberof BookingSummary
|
|
713
977
|
*/
|
|
714
|
-
'myPaymentStatus'?:
|
|
978
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
715
979
|
/**
|
|
716
980
|
*
|
|
717
981
|
* @type {string}
|
|
@@ -750,10 +1014,40 @@ export interface BookingSummary {
|
|
|
750
1014
|
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
751
1015
|
/**
|
|
752
1016
|
*
|
|
753
|
-
* @type {BookingHistoryPopulated}
|
|
1017
|
+
* @type {Array<BookingHistoryPopulated>}
|
|
1018
|
+
* @memberof BookingSummary
|
|
1019
|
+
*/
|
|
1020
|
+
'bookingHistory'?: Array<BookingHistoryPopulated>;
|
|
1021
|
+
/**
|
|
1022
|
+
*
|
|
1023
|
+
* @type {BookingClubInfo}
|
|
1024
|
+
* @memberof BookingSummary
|
|
1025
|
+
*/
|
|
1026
|
+
'club'?: BookingClubInfo | null;
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @type {Array<BookingSlotInfo>}
|
|
1030
|
+
* @memberof BookingSummary
|
|
1031
|
+
*/
|
|
1032
|
+
'slots': Array<BookingSlotInfo>;
|
|
1033
|
+
/**
|
|
1034
|
+
*
|
|
1035
|
+
* @type {BookingCourtInfo}
|
|
754
1036
|
* @memberof BookingSummary
|
|
755
1037
|
*/
|
|
756
|
-
'
|
|
1038
|
+
'court'?: BookingCourtInfo | null;
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @type {BookingSportInfo}
|
|
1042
|
+
* @memberof BookingSummary
|
|
1043
|
+
*/
|
|
1044
|
+
'sport'?: BookingSportInfo | null;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {Array<BookingPlayerPaymentSummary>}
|
|
1048
|
+
* @memberof BookingSummary
|
|
1049
|
+
*/
|
|
1050
|
+
'players': Array<BookingPlayerPaymentSummary>;
|
|
757
1051
|
}
|
|
758
1052
|
/**
|
|
759
1053
|
*
|
|
@@ -1832,6 +2126,30 @@ export interface ClubResponse {
|
|
|
1832
2126
|
* @memberof ClubResponse
|
|
1833
2127
|
*/
|
|
1834
2128
|
'sports'?: Array<string>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Autoriser plusieurs réservations en même temps
|
|
2131
|
+
* @type {boolean}
|
|
2132
|
+
* @memberof ClubResponse
|
|
2133
|
+
*/
|
|
2134
|
+
'allowMultipleBookingsAtTheSameTime'?: boolean | null;
|
|
2135
|
+
/**
|
|
2136
|
+
* Limite de réservations simultanées (même créneau)
|
|
2137
|
+
* @type {number}
|
|
2138
|
+
* @memberof ClubResponse
|
|
2139
|
+
*/
|
|
2140
|
+
'sameTimeBookingsLimit'?: number | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Limite d\'annulation en heures
|
|
2143
|
+
* @type {number}
|
|
2144
|
+
* @memberof ClubResponse
|
|
2145
|
+
*/
|
|
2146
|
+
'cancellationLimitHours'?: number | null;
|
|
2147
|
+
/**
|
|
2148
|
+
* Nombre maximum de réservations par semaine
|
|
2149
|
+
* @type {number}
|
|
2150
|
+
* @memberof ClubResponse
|
|
2151
|
+
*/
|
|
2152
|
+
'maxWeeklyBookings'?: number | null;
|
|
1835
2153
|
/**
|
|
1836
2154
|
*
|
|
1837
2155
|
* @type {ClubResponseCreatedAt}
|
|
@@ -2100,38 +2418,6 @@ export interface ClubWeeklySchedule {
|
|
|
2100
2418
|
*/
|
|
2101
2419
|
'monday': ClubDaySchedule | null;
|
|
2102
2420
|
}
|
|
2103
|
-
/**
|
|
2104
|
-
*
|
|
2105
|
-
* @export
|
|
2106
|
-
* @interface ConfirmPaymentMethodRequestBody
|
|
2107
|
-
*/
|
|
2108
|
-
export interface ConfirmPaymentMethodRequestBody {
|
|
2109
|
-
/**
|
|
2110
|
-
*
|
|
2111
|
-
* @type {string}
|
|
2112
|
-
* @memberof ConfirmPaymentMethodRequestBody
|
|
2113
|
-
*/
|
|
2114
|
-
'setupIntentId': string;
|
|
2115
|
-
}
|
|
2116
|
-
/**
|
|
2117
|
-
*
|
|
2118
|
-
* @export
|
|
2119
|
-
* @interface ConfirmPaymentMethodResponse
|
|
2120
|
-
*/
|
|
2121
|
-
export interface ConfirmPaymentMethodResponse {
|
|
2122
|
-
/**
|
|
2123
|
-
*
|
|
2124
|
-
* @type {string}
|
|
2125
|
-
* @memberof ConfirmPaymentMethodResponse
|
|
2126
|
-
*/
|
|
2127
|
-
'message': string;
|
|
2128
|
-
/**
|
|
2129
|
-
*
|
|
2130
|
-
* @type {string}
|
|
2131
|
-
* @memberof ConfirmPaymentMethodResponse
|
|
2132
|
-
*/
|
|
2133
|
-
'paymentMethodId'?: string | null;
|
|
2134
|
-
}
|
|
2135
2421
|
/**
|
|
2136
2422
|
*
|
|
2137
2423
|
* @export
|
|
@@ -2290,10 +2576,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
|
|
|
2290
2576
|
export interface CreateBookingRequest {
|
|
2291
2577
|
/**
|
|
2292
2578
|
* ID du créneau à réserver
|
|
2293
|
-
* @type {string}
|
|
2579
|
+
* @type {Array<string>}
|
|
2294
2580
|
* @memberof CreateBookingRequest
|
|
2295
2581
|
*/
|
|
2296
|
-
'
|
|
2582
|
+
'slotIds': Array<string>;
|
|
2297
2583
|
/**
|
|
2298
2584
|
* Liste des joueurs avec leurs méthodes de paiement
|
|
2299
2585
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -2318,6 +2604,12 @@ export interface CreateBookingRequest {
|
|
|
2318
2604
|
* @memberof CreateBookingRequest
|
|
2319
2605
|
*/
|
|
2320
2606
|
'useDefaultPaymentMethod'?: boolean;
|
|
2607
|
+
/**
|
|
2608
|
+
*
|
|
2609
|
+
* @type {number}
|
|
2610
|
+
* @memberof CreateBookingRequest
|
|
2611
|
+
*/
|
|
2612
|
+
'creditToUseInCents'?: number;
|
|
2321
2613
|
}
|
|
2322
2614
|
/**
|
|
2323
2615
|
*
|
|
@@ -3647,24 +3939,12 @@ export interface IUserAttributes {
|
|
|
3647
3939
|
* @memberof IUserAttributes
|
|
3648
3940
|
*/
|
|
3649
3941
|
'isAccountVerified': boolean;
|
|
3650
|
-
/**
|
|
3651
|
-
*
|
|
3652
|
-
* @type {boolean}
|
|
3653
|
-
* @memberof IUserAttributes
|
|
3654
|
-
*/
|
|
3655
|
-
'isCreditCardRegistered'?: boolean;
|
|
3656
3942
|
/**
|
|
3657
3943
|
*
|
|
3658
3944
|
* @type {Array<ILevelBySports>}
|
|
3659
3945
|
* @memberof IUserAttributes
|
|
3660
3946
|
*/
|
|
3661
3947
|
'levelBySports'?: Array<ILevelBySports>;
|
|
3662
|
-
/**
|
|
3663
|
-
*
|
|
3664
|
-
* @type {string}
|
|
3665
|
-
* @memberof IUserAttributes
|
|
3666
|
-
*/
|
|
3667
|
-
'stripeCustomerId'?: string;
|
|
3668
3948
|
/**
|
|
3669
3949
|
*
|
|
3670
3950
|
* @type {string}
|
|
@@ -3733,34 +4013,10 @@ export interface IUserAttributes {
|
|
|
3733
4013
|
'updatedAt': string;
|
|
3734
4014
|
/**
|
|
3735
4015
|
*
|
|
3736
|
-
* @type {boolean}
|
|
3737
|
-
* @memberof IUserAttributes
|
|
3738
|
-
*/
|
|
3739
|
-
'isLevelCertified'?: boolean;
|
|
3740
|
-
/**
|
|
3741
|
-
*
|
|
3742
|
-
* @type {Array<string>}
|
|
3743
|
-
* @memberof IUserAttributes
|
|
3744
|
-
*/
|
|
3745
|
-
'paymentMethods'?: Array<string>;
|
|
3746
|
-
/**
|
|
3747
|
-
*
|
|
3748
|
-
* @type {string}
|
|
3749
|
-
* @memberof IUserAttributes
|
|
3750
|
-
*/
|
|
3751
|
-
'defaultPaymentMethodId'?: string;
|
|
3752
|
-
/**
|
|
3753
|
-
*
|
|
3754
|
-
* @type {boolean}
|
|
3755
|
-
* @memberof IUserAttributes
|
|
3756
|
-
*/
|
|
3757
|
-
'paymentMethodSetupCompleted': boolean;
|
|
3758
|
-
/**
|
|
3759
|
-
*
|
|
3760
|
-
* @type {string}
|
|
4016
|
+
* @type {boolean}
|
|
3761
4017
|
* @memberof IUserAttributes
|
|
3762
4018
|
*/
|
|
3763
|
-
'
|
|
4019
|
+
'isLevelCertified'?: boolean;
|
|
3764
4020
|
/**
|
|
3765
4021
|
*
|
|
3766
4022
|
* @type {Array<string>}
|
|
@@ -3793,6 +4049,12 @@ export interface IUserAttributes {
|
|
|
3793
4049
|
'sports'?: {
|
|
3794
4050
|
[key: string]: any;
|
|
3795
4051
|
};
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {string}
|
|
4055
|
+
* @memberof IUserAttributes
|
|
4056
|
+
*/
|
|
4057
|
+
'stripeCustomerId'?: string;
|
|
3796
4058
|
}
|
|
3797
4059
|
/**
|
|
3798
4060
|
*
|
|
@@ -3949,6 +4211,22 @@ export interface InvoiceInfo {
|
|
|
3949
4211
|
*/
|
|
3950
4212
|
'status': string;
|
|
3951
4213
|
}
|
|
4214
|
+
/**
|
|
4215
|
+
*
|
|
4216
|
+
* @export
|
|
4217
|
+
* @enum {string}
|
|
4218
|
+
*/
|
|
4219
|
+
export declare const InvoiceStatus: {
|
|
4220
|
+
readonly SetupPending: "setup_pending";
|
|
4221
|
+
readonly SetupSuccess: "setup_success";
|
|
4222
|
+
readonly Pending: "pending";
|
|
4223
|
+
readonly Paid: "paid";
|
|
4224
|
+
readonly Failed: "failed";
|
|
4225
|
+
readonly Authorized: "authorized";
|
|
4226
|
+
readonly Canceled: "canceled";
|
|
4227
|
+
readonly Expired: "expired";
|
|
4228
|
+
};
|
|
4229
|
+
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
3952
4230
|
/**
|
|
3953
4231
|
*
|
|
3954
4232
|
* @export
|
|
@@ -4175,6 +4453,37 @@ export interface MonthlyTurnoverResponse {
|
|
|
4175
4453
|
*/
|
|
4176
4454
|
'period': string;
|
|
4177
4455
|
}
|
|
4456
|
+
/**
|
|
4457
|
+
*
|
|
4458
|
+
* @export
|
|
4459
|
+
* @interface MyClubInfosResponse
|
|
4460
|
+
*/
|
|
4461
|
+
export interface MyClubInfosResponse {
|
|
4462
|
+
/**
|
|
4463
|
+
*
|
|
4464
|
+
* @type {number}
|
|
4465
|
+
* @memberof MyClubInfosResponse
|
|
4466
|
+
*/
|
|
4467
|
+
'remainingBookings': number;
|
|
4468
|
+
/**
|
|
4469
|
+
*
|
|
4470
|
+
* @type {number}
|
|
4471
|
+
* @memberof MyClubInfosResponse
|
|
4472
|
+
*/
|
|
4473
|
+
'sameTimeBookingsLimit'?: number;
|
|
4474
|
+
/**
|
|
4475
|
+
*
|
|
4476
|
+
* @type {number}
|
|
4477
|
+
* @memberof MyClubInfosResponse
|
|
4478
|
+
*/
|
|
4479
|
+
'availableCredit': number;
|
|
4480
|
+
/**
|
|
4481
|
+
*
|
|
4482
|
+
* @type {Array<any>}
|
|
4483
|
+
* @memberof MyClubInfosResponse
|
|
4484
|
+
*/
|
|
4485
|
+
'subscriptionPlans'?: Array<any>;
|
|
4486
|
+
}
|
|
4178
4487
|
/**
|
|
4179
4488
|
*
|
|
4180
4489
|
* @export
|
|
@@ -4339,6 +4648,30 @@ export interface PartialClubResponse {
|
|
|
4339
4648
|
* @memberof PartialClubResponse
|
|
4340
4649
|
*/
|
|
4341
4650
|
'sports'?: Array<string>;
|
|
4651
|
+
/**
|
|
4652
|
+
* Autoriser plusieurs réservations en même temps
|
|
4653
|
+
* @type {boolean}
|
|
4654
|
+
* @memberof PartialClubResponse
|
|
4655
|
+
*/
|
|
4656
|
+
'allowMultipleBookingsAtTheSameTime'?: boolean;
|
|
4657
|
+
/**
|
|
4658
|
+
* Limite de réservations simultanées (même créneau)
|
|
4659
|
+
* @type {number}
|
|
4660
|
+
* @memberof PartialClubResponse
|
|
4661
|
+
*/
|
|
4662
|
+
'sameTimeBookingsLimit'?: number;
|
|
4663
|
+
/**
|
|
4664
|
+
* Limite d\'annulation en heures
|
|
4665
|
+
* @type {number}
|
|
4666
|
+
* @memberof PartialClubResponse
|
|
4667
|
+
*/
|
|
4668
|
+
'cancellationLimitHours'?: number;
|
|
4669
|
+
/**
|
|
4670
|
+
* Nombre maximum de réservations par semaine
|
|
4671
|
+
* @type {number}
|
|
4672
|
+
* @memberof PartialClubResponse
|
|
4673
|
+
*/
|
|
4674
|
+
'maxWeeklyBookings'?: number;
|
|
4342
4675
|
/**
|
|
4343
4676
|
*
|
|
4344
4677
|
* @type {ClubResponseCreatedAt}
|
|
@@ -4444,31 +4777,6 @@ export declare const PaymentMethod: {
|
|
|
4444
4777
|
readonly Free: "free";
|
|
4445
4778
|
};
|
|
4446
4779
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
4447
|
-
/**
|
|
4448
|
-
*
|
|
4449
|
-
* @export
|
|
4450
|
-
* @interface PaymentMethodSetupResponse
|
|
4451
|
-
*/
|
|
4452
|
-
export interface PaymentMethodSetupResponse {
|
|
4453
|
-
/**
|
|
4454
|
-
*
|
|
4455
|
-
* @type {string}
|
|
4456
|
-
* @memberof PaymentMethodSetupResponse
|
|
4457
|
-
*/
|
|
4458
|
-
'message': string;
|
|
4459
|
-
/**
|
|
4460
|
-
*
|
|
4461
|
-
* @type {Array<string>}
|
|
4462
|
-
* @memberof PaymentMethodSetupResponse
|
|
4463
|
-
*/
|
|
4464
|
-
'paymentMethods': Array<string>;
|
|
4465
|
-
/**
|
|
4466
|
-
*
|
|
4467
|
-
* @type {string}
|
|
4468
|
-
* @memberof PaymentMethodSetupResponse
|
|
4469
|
-
*/
|
|
4470
|
-
'defaultPaymentMethodId'?: string | null;
|
|
4471
|
-
}
|
|
4472
4780
|
/**
|
|
4473
4781
|
* From T, pick a set of properties whose keys are in the union K
|
|
4474
4782
|
* @export
|
|
@@ -4713,6 +5021,49 @@ export interface PlayerPaymentInfo {
|
|
|
4713
5021
|
*/
|
|
4714
5022
|
'needsCheckIn': boolean;
|
|
4715
5023
|
}
|
|
5024
|
+
/**
|
|
5025
|
+
*
|
|
5026
|
+
* @export
|
|
5027
|
+
* @interface PlayerPrice
|
|
5028
|
+
*/
|
|
5029
|
+
export interface PlayerPrice {
|
|
5030
|
+
/**
|
|
5031
|
+
*
|
|
5032
|
+
* @type {string}
|
|
5033
|
+
* @memberof PlayerPrice
|
|
5034
|
+
*/
|
|
5035
|
+
'playerId': string;
|
|
5036
|
+
/**
|
|
5037
|
+
*
|
|
5038
|
+
* @type {string}
|
|
5039
|
+
* @memberof PlayerPrice
|
|
5040
|
+
*/
|
|
5041
|
+
'firstName'?: string;
|
|
5042
|
+
/**
|
|
5043
|
+
*
|
|
5044
|
+
* @type {string}
|
|
5045
|
+
* @memberof PlayerPrice
|
|
5046
|
+
*/
|
|
5047
|
+
'lastName'?: string;
|
|
5048
|
+
/**
|
|
5049
|
+
*
|
|
5050
|
+
* @type {Array<SubscriptionInfo>}
|
|
5051
|
+
* @memberof PlayerPrice
|
|
5052
|
+
*/
|
|
5053
|
+
'subscriptions': Array<SubscriptionInfo>;
|
|
5054
|
+
/**
|
|
5055
|
+
*
|
|
5056
|
+
* @type {number}
|
|
5057
|
+
* @memberof PlayerPrice
|
|
5058
|
+
*/
|
|
5059
|
+
'creditAvailablesInCents'?: number;
|
|
5060
|
+
/**
|
|
5061
|
+
*
|
|
5062
|
+
* @type {number}
|
|
5063
|
+
* @memberof PlayerPrice
|
|
5064
|
+
*/
|
|
5065
|
+
'price': number;
|
|
5066
|
+
}
|
|
4716
5067
|
/**
|
|
4717
5068
|
*
|
|
4718
5069
|
* @export
|
|
@@ -4978,6 +5329,25 @@ export interface PublishEventResponse {
|
|
|
4978
5329
|
*/
|
|
4979
5330
|
'event': EventResponse;
|
|
4980
5331
|
}
|
|
5332
|
+
/**
|
|
5333
|
+
*
|
|
5334
|
+
* @export
|
|
5335
|
+
* @interface QuickReservationClubSport
|
|
5336
|
+
*/
|
|
5337
|
+
export interface QuickReservationClubSport {
|
|
5338
|
+
/**
|
|
5339
|
+
* ID du sport
|
|
5340
|
+
* @type {string}
|
|
5341
|
+
* @memberof QuickReservationClubSport
|
|
5342
|
+
*/
|
|
5343
|
+
'id': string;
|
|
5344
|
+
/**
|
|
5345
|
+
* Clé du sport
|
|
5346
|
+
* @type {string}
|
|
5347
|
+
* @memberof QuickReservationClubSport
|
|
5348
|
+
*/
|
|
5349
|
+
'key'?: string;
|
|
5350
|
+
}
|
|
4981
5351
|
/**
|
|
4982
5352
|
*
|
|
4983
5353
|
* @export
|
|
@@ -4996,6 +5366,12 @@ export interface QuickReservationClubSummary {
|
|
|
4996
5366
|
* @memberof QuickReservationClubSummary
|
|
4997
5367
|
*/
|
|
4998
5368
|
'clubName': string;
|
|
5369
|
+
/**
|
|
5370
|
+
* Description du club
|
|
5371
|
+
* @type {string}
|
|
5372
|
+
* @memberof QuickReservationClubSummary
|
|
5373
|
+
*/
|
|
5374
|
+
'description'?: string;
|
|
4999
5375
|
/**
|
|
5000
5376
|
* Distance par rapport à la recherche, en mètres
|
|
5001
5377
|
* @type {number}
|
|
@@ -5014,6 +5390,12 @@ export interface QuickReservationClubSummary {
|
|
|
5014
5390
|
* @memberof QuickReservationClubSummary
|
|
5015
5391
|
*/
|
|
5016
5392
|
'slots': Array<QuickReservationSlotSummary>;
|
|
5393
|
+
/**
|
|
5394
|
+
* Sports disponibles dans le club
|
|
5395
|
+
* @type {Array<QuickReservationClubSport>}
|
|
5396
|
+
* @memberof QuickReservationClubSummary
|
|
5397
|
+
*/
|
|
5398
|
+
'sports'?: Array<QuickReservationClubSport>;
|
|
5017
5399
|
}
|
|
5018
5400
|
/**
|
|
5019
5401
|
* Localisation du club
|
|
@@ -5404,44 +5786,6 @@ export interface ResetPasswordRequest {
|
|
|
5404
5786
|
*/
|
|
5405
5787
|
'token'?: string;
|
|
5406
5788
|
}
|
|
5407
|
-
/**
|
|
5408
|
-
*
|
|
5409
|
-
* @export
|
|
5410
|
-
* @interface SetupPaymentMethodRequestBody
|
|
5411
|
-
*/
|
|
5412
|
-
export interface SetupPaymentMethodRequestBody {
|
|
5413
|
-
/**
|
|
5414
|
-
*
|
|
5415
|
-
* @type {string}
|
|
5416
|
-
* @memberof SetupPaymentMethodRequestBody
|
|
5417
|
-
*/
|
|
5418
|
-
'clubId': string;
|
|
5419
|
-
}
|
|
5420
|
-
/**
|
|
5421
|
-
*
|
|
5422
|
-
* @export
|
|
5423
|
-
* @interface SetupPaymentMethodResponse
|
|
5424
|
-
*/
|
|
5425
|
-
export interface SetupPaymentMethodResponse {
|
|
5426
|
-
/**
|
|
5427
|
-
*
|
|
5428
|
-
* @type {string}
|
|
5429
|
-
* @memberof SetupPaymentMethodResponse
|
|
5430
|
-
*/
|
|
5431
|
-
'setupIntentId': string;
|
|
5432
|
-
/**
|
|
5433
|
-
*
|
|
5434
|
-
* @type {string}
|
|
5435
|
-
* @memberof SetupPaymentMethodResponse
|
|
5436
|
-
*/
|
|
5437
|
-
'clientSecret': string;
|
|
5438
|
-
/**
|
|
5439
|
-
*
|
|
5440
|
-
* @type {string}
|
|
5441
|
-
* @memberof SetupPaymentMethodResponse
|
|
5442
|
-
*/
|
|
5443
|
-
'message': string;
|
|
5444
|
-
}
|
|
5445
5789
|
/**
|
|
5446
5790
|
*
|
|
5447
5791
|
* @export
|
|
@@ -5712,24 +6056,12 @@ export interface StaffUserProfileResponse {
|
|
|
5712
6056
|
* @memberof StaffUserProfileResponse
|
|
5713
6057
|
*/
|
|
5714
6058
|
'isAccountVerified': boolean;
|
|
5715
|
-
/**
|
|
5716
|
-
*
|
|
5717
|
-
* @type {boolean}
|
|
5718
|
-
* @memberof StaffUserProfileResponse
|
|
5719
|
-
*/
|
|
5720
|
-
'isCreditCardRegistered'?: boolean;
|
|
5721
6059
|
/**
|
|
5722
6060
|
*
|
|
5723
6061
|
* @type {Array<ILevelBySports>}
|
|
5724
6062
|
* @memberof StaffUserProfileResponse
|
|
5725
6063
|
*/
|
|
5726
6064
|
'levelBySports'?: Array<ILevelBySports>;
|
|
5727
|
-
/**
|
|
5728
|
-
*
|
|
5729
|
-
* @type {string}
|
|
5730
|
-
* @memberof StaffUserProfileResponse
|
|
5731
|
-
*/
|
|
5732
|
-
'stripeCustomerId'?: string;
|
|
5733
6065
|
/**
|
|
5734
6066
|
*
|
|
5735
6067
|
* @type {string}
|
|
@@ -5802,30 +6134,6 @@ export interface StaffUserProfileResponse {
|
|
|
5802
6134
|
* @memberof StaffUserProfileResponse
|
|
5803
6135
|
*/
|
|
5804
6136
|
'isLevelCertified'?: boolean;
|
|
5805
|
-
/**
|
|
5806
|
-
*
|
|
5807
|
-
* @type {Array<string>}
|
|
5808
|
-
* @memberof StaffUserProfileResponse
|
|
5809
|
-
*/
|
|
5810
|
-
'paymentMethods'?: Array<string>;
|
|
5811
|
-
/**
|
|
5812
|
-
*
|
|
5813
|
-
* @type {string}
|
|
5814
|
-
* @memberof StaffUserProfileResponse
|
|
5815
|
-
*/
|
|
5816
|
-
'defaultPaymentMethodId'?: string;
|
|
5817
|
-
/**
|
|
5818
|
-
*
|
|
5819
|
-
* @type {boolean}
|
|
5820
|
-
* @memberof StaffUserProfileResponse
|
|
5821
|
-
*/
|
|
5822
|
-
'paymentMethodSetupCompleted': boolean;
|
|
5823
|
-
/**
|
|
5824
|
-
*
|
|
5825
|
-
* @type {string}
|
|
5826
|
-
* @memberof StaffUserProfileResponse
|
|
5827
|
-
*/
|
|
5828
|
-
'setupIntentId'?: string;
|
|
5829
6137
|
/**
|
|
5830
6138
|
*
|
|
5831
6139
|
* @type {Array<string>}
|
|
@@ -5858,6 +6166,12 @@ export interface StaffUserProfileResponse {
|
|
|
5858
6166
|
'sports'?: {
|
|
5859
6167
|
[key: string]: any;
|
|
5860
6168
|
};
|
|
6169
|
+
/**
|
|
6170
|
+
*
|
|
6171
|
+
* @type {string}
|
|
6172
|
+
* @memberof StaffUserProfileResponse
|
|
6173
|
+
*/
|
|
6174
|
+
'stripeCustomerId'?: string;
|
|
5861
6175
|
/**
|
|
5862
6176
|
*
|
|
5863
6177
|
* @type {boolean}
|
|
@@ -7101,6 +7415,12 @@ export interface SubscribeRequestBody {
|
|
|
7101
7415
|
* @memberof SubscribeRequestBody
|
|
7102
7416
|
*/
|
|
7103
7417
|
'priceId': string;
|
|
7418
|
+
/**
|
|
7419
|
+
*
|
|
7420
|
+
* @type {boolean}
|
|
7421
|
+
* @memberof SubscribeRequestBody
|
|
7422
|
+
*/
|
|
7423
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
7104
7424
|
}
|
|
7105
7425
|
/**
|
|
7106
7426
|
*
|
|
@@ -7121,6 +7441,31 @@ export interface SubscriberPrice {
|
|
|
7121
7441
|
*/
|
|
7122
7442
|
'amount': number;
|
|
7123
7443
|
}
|
|
7444
|
+
/**
|
|
7445
|
+
*
|
|
7446
|
+
* @export
|
|
7447
|
+
* @interface SubscriptionInfo
|
|
7448
|
+
*/
|
|
7449
|
+
export interface SubscriptionInfo {
|
|
7450
|
+
/**
|
|
7451
|
+
*
|
|
7452
|
+
* @type {string}
|
|
7453
|
+
* @memberof SubscriptionInfo
|
|
7454
|
+
*/
|
|
7455
|
+
'subscriptionPlanName'?: string;
|
|
7456
|
+
/**
|
|
7457
|
+
*
|
|
7458
|
+
* @type {string}
|
|
7459
|
+
* @memberof SubscriptionInfo
|
|
7460
|
+
*/
|
|
7461
|
+
'subscriptionDescription'?: string;
|
|
7462
|
+
/**
|
|
7463
|
+
*
|
|
7464
|
+
* @type {number}
|
|
7465
|
+
* @memberof SubscriptionInfo
|
|
7466
|
+
*/
|
|
7467
|
+
'reducedAmountInCents'?: number;
|
|
7468
|
+
}
|
|
7124
7469
|
/**
|
|
7125
7470
|
*
|
|
7126
7471
|
* @export
|
|
@@ -7825,32 +8170,69 @@ export interface UpdateUserRequestBody {
|
|
|
7825
8170
|
* @type {string}
|
|
7826
8171
|
* @memberof UpdateUserRequestBody
|
|
7827
8172
|
*/
|
|
7828
|
-
'description'?: string;
|
|
8173
|
+
'description'?: string;
|
|
8174
|
+
/**
|
|
8175
|
+
*
|
|
8176
|
+
* @type {RegisterRequestBodyLocation}
|
|
8177
|
+
* @memberof UpdateUserRequestBody
|
|
8178
|
+
*/
|
|
8179
|
+
'location'?: RegisterRequestBodyLocation;
|
|
8180
|
+
}
|
|
8181
|
+
/**
|
|
8182
|
+
*
|
|
8183
|
+
* @export
|
|
8184
|
+
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
8185
|
+
*/
|
|
8186
|
+
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
8187
|
+
/**
|
|
8188
|
+
*
|
|
8189
|
+
* @type {string}
|
|
8190
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
8191
|
+
*/
|
|
8192
|
+
'level': string;
|
|
8193
|
+
/**
|
|
8194
|
+
*
|
|
8195
|
+
* @type {string}
|
|
8196
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
8197
|
+
*/
|
|
8198
|
+
'sport': string;
|
|
8199
|
+
}
|
|
8200
|
+
/**
|
|
8201
|
+
*
|
|
8202
|
+
* @export
|
|
8203
|
+
* @interface UserBookingsResponse
|
|
8204
|
+
*/
|
|
8205
|
+
export interface UserBookingsResponse {
|
|
8206
|
+
/**
|
|
8207
|
+
*
|
|
8208
|
+
* @type {number}
|
|
8209
|
+
* @memberof UserBookingsResponse
|
|
8210
|
+
*/
|
|
8211
|
+
'total': number;
|
|
8212
|
+
/**
|
|
8213
|
+
*
|
|
8214
|
+
* @type {number}
|
|
8215
|
+
* @memberof UserBookingsResponse
|
|
8216
|
+
*/
|
|
8217
|
+
'limit': number;
|
|
7829
8218
|
/**
|
|
7830
8219
|
*
|
|
7831
|
-
* @type {
|
|
7832
|
-
* @memberof
|
|
8220
|
+
* @type {number}
|
|
8221
|
+
* @memberof UserBookingsResponse
|
|
7833
8222
|
*/
|
|
7834
|
-
'
|
|
7835
|
-
}
|
|
7836
|
-
/**
|
|
7837
|
-
*
|
|
7838
|
-
* @export
|
|
7839
|
-
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
7840
|
-
*/
|
|
7841
|
-
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
8223
|
+
'skip': number;
|
|
7842
8224
|
/**
|
|
7843
8225
|
*
|
|
7844
|
-
* @type {
|
|
7845
|
-
* @memberof
|
|
8226
|
+
* @type {boolean}
|
|
8227
|
+
* @memberof UserBookingsResponse
|
|
7846
8228
|
*/
|
|
7847
|
-
'
|
|
8229
|
+
'hasMore': boolean;
|
|
7848
8230
|
/**
|
|
7849
8231
|
*
|
|
7850
|
-
* @type {
|
|
7851
|
-
* @memberof
|
|
8232
|
+
* @type {Array<BookingSummary>}
|
|
8233
|
+
* @memberof UserBookingsResponse
|
|
7852
8234
|
*/
|
|
7853
|
-
'
|
|
8235
|
+
'bookings': Array<BookingSummary>;
|
|
7854
8236
|
}
|
|
7855
8237
|
/**
|
|
7856
8238
|
*
|
|
@@ -8115,24 +8497,12 @@ export interface UserProfileResponse {
|
|
|
8115
8497
|
* @memberof UserProfileResponse
|
|
8116
8498
|
*/
|
|
8117
8499
|
'isAccountVerified': boolean;
|
|
8118
|
-
/**
|
|
8119
|
-
*
|
|
8120
|
-
* @type {boolean}
|
|
8121
|
-
* @memberof UserProfileResponse
|
|
8122
|
-
*/
|
|
8123
|
-
'isCreditCardRegistered'?: boolean;
|
|
8124
8500
|
/**
|
|
8125
8501
|
*
|
|
8126
8502
|
* @type {Array<ILevelBySports>}
|
|
8127
8503
|
* @memberof UserProfileResponse
|
|
8128
8504
|
*/
|
|
8129
8505
|
'levelBySports'?: Array<ILevelBySports>;
|
|
8130
|
-
/**
|
|
8131
|
-
*
|
|
8132
|
-
* @type {string}
|
|
8133
|
-
* @memberof UserProfileResponse
|
|
8134
|
-
*/
|
|
8135
|
-
'stripeCustomerId'?: string;
|
|
8136
8506
|
/**
|
|
8137
8507
|
*
|
|
8138
8508
|
* @type {string}
|
|
@@ -8205,30 +8575,6 @@ export interface UserProfileResponse {
|
|
|
8205
8575
|
* @memberof UserProfileResponse
|
|
8206
8576
|
*/
|
|
8207
8577
|
'isLevelCertified'?: boolean;
|
|
8208
|
-
/**
|
|
8209
|
-
*
|
|
8210
|
-
* @type {Array<string>}
|
|
8211
|
-
* @memberof UserProfileResponse
|
|
8212
|
-
*/
|
|
8213
|
-
'paymentMethods'?: Array<string>;
|
|
8214
|
-
/**
|
|
8215
|
-
*
|
|
8216
|
-
* @type {string}
|
|
8217
|
-
* @memberof UserProfileResponse
|
|
8218
|
-
*/
|
|
8219
|
-
'defaultPaymentMethodId'?: string;
|
|
8220
|
-
/**
|
|
8221
|
-
*
|
|
8222
|
-
* @type {boolean}
|
|
8223
|
-
* @memberof UserProfileResponse
|
|
8224
|
-
*/
|
|
8225
|
-
'paymentMethodSetupCompleted': boolean;
|
|
8226
|
-
/**
|
|
8227
|
-
*
|
|
8228
|
-
* @type {string}
|
|
8229
|
-
* @memberof UserProfileResponse
|
|
8230
|
-
*/
|
|
8231
|
-
'setupIntentId'?: string;
|
|
8232
8578
|
/**
|
|
8233
8579
|
*
|
|
8234
8580
|
* @type {Array<string>}
|
|
@@ -8261,6 +8607,12 @@ export interface UserProfileResponse {
|
|
|
8261
8607
|
'sports'?: {
|
|
8262
8608
|
[key: string]: any;
|
|
8263
8609
|
};
|
|
8610
|
+
/**
|
|
8611
|
+
*
|
|
8612
|
+
* @type {string}
|
|
8613
|
+
* @memberof UserProfileResponse
|
|
8614
|
+
*/
|
|
8615
|
+
'stripeCustomerId'?: string;
|
|
8264
8616
|
/**
|
|
8265
8617
|
*
|
|
8266
8618
|
* @type {number}
|
|
@@ -8299,6 +8651,12 @@ export interface UserProfileResponse {
|
|
|
8299
8651
|
'stripeLinks'?: {
|
|
8300
8652
|
[key: string]: any;
|
|
8301
8653
|
};
|
|
8654
|
+
/**
|
|
8655
|
+
*
|
|
8656
|
+
* @type {Array<SportResponse>}
|
|
8657
|
+
* @memberof UserProfileResponse
|
|
8658
|
+
*/
|
|
8659
|
+
'verifiedSports'?: Array<SportResponse>;
|
|
8302
8660
|
}
|
|
8303
8661
|
/**
|
|
8304
8662
|
*
|
|
@@ -8384,6 +8742,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8384
8742
|
* @throws {RequiredError}
|
|
8385
8743
|
*/
|
|
8386
8744
|
getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8745
|
+
/**
|
|
8746
|
+
*
|
|
8747
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
8748
|
+
* @param {*} [options] Override http request option.
|
|
8749
|
+
* @throws {RequiredError}
|
|
8750
|
+
*/
|
|
8751
|
+
getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8387
8752
|
/**
|
|
8388
8753
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8389
8754
|
* @param {number} [latitude]
|
|
@@ -8394,12 +8759,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8394
8759
|
* @param {string} [startTime]
|
|
8395
8760
|
* @param {number} [priceMax]
|
|
8396
8761
|
* @param {string} [courtTypes]
|
|
8762
|
+
* @param {string} [surfaceTypes]
|
|
8397
8763
|
* @param {number} [limitPerClub]
|
|
8398
8764
|
* @param {number} [maxClubs]
|
|
8399
8765
|
* @param {*} [options] Override http request option.
|
|
8400
8766
|
* @throws {RequiredError}
|
|
8401
8767
|
*/
|
|
8402
|
-
getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8768
|
+
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<RequestArgs>;
|
|
8403
8769
|
};
|
|
8404
8770
|
/**
|
|
8405
8771
|
* BookingsApi - functional programming interface
|
|
@@ -8413,6 +8779,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
8413
8779
|
* @throws {RequiredError}
|
|
8414
8780
|
*/
|
|
8415
8781
|
getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
|
|
8782
|
+
/**
|
|
8783
|
+
*
|
|
8784
|
+
* @param {BookingPriceBody} bookingPriceBody
|
|
8785
|
+
* @param {*} [options] Override http request option.
|
|
8786
|
+
* @throws {RequiredError}
|
|
8787
|
+
*/
|
|
8788
|
+
getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
|
|
8416
8789
|
/**
|
|
8417
8790
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8418
8791
|
* @param {number} [latitude]
|
|
@@ -8423,12 +8796,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
8423
8796
|
* @param {string} [startTime]
|
|
8424
8797
|
* @param {number} [priceMax]
|
|
8425
8798
|
* @param {string} [courtTypes]
|
|
8799
|
+
* @param {string} [surfaceTypes]
|
|
8426
8800
|
* @param {number} [limitPerClub]
|
|
8427
8801
|
* @param {number} [maxClubs]
|
|
8428
8802
|
* @param {*} [options] Override http request option.
|
|
8429
8803
|
* @throws {RequiredError}
|
|
8430
8804
|
*/
|
|
8431
|
-
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>>;
|
|
8805
|
+
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>>;
|
|
8432
8806
|
};
|
|
8433
8807
|
/**
|
|
8434
8808
|
* BookingsApi - factory interface
|
|
@@ -8442,6 +8816,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
8442
8816
|
* @throws {RequiredError}
|
|
8443
8817
|
*/
|
|
8444
8818
|
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
|
|
8819
|
+
/**
|
|
8820
|
+
*
|
|
8821
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8822
|
+
* @param {*} [options] Override http request option.
|
|
8823
|
+
* @throws {RequiredError}
|
|
8824
|
+
*/
|
|
8825
|
+
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
|
|
8445
8826
|
/**
|
|
8446
8827
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8447
8828
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -8463,6 +8844,19 @@ export interface BookingsApiGetBookingHistoryRequest {
|
|
|
8463
8844
|
*/
|
|
8464
8845
|
readonly bookingId: string;
|
|
8465
8846
|
}
|
|
8847
|
+
/**
|
|
8848
|
+
* Request parameters for getBookingPrice operation in BookingsApi.
|
|
8849
|
+
* @export
|
|
8850
|
+
* @interface BookingsApiGetBookingPriceRequest
|
|
8851
|
+
*/
|
|
8852
|
+
export interface BookingsApiGetBookingPriceRequest {
|
|
8853
|
+
/**
|
|
8854
|
+
*
|
|
8855
|
+
* @type {BookingPriceBody}
|
|
8856
|
+
* @memberof BookingsApiGetBookingPrice
|
|
8857
|
+
*/
|
|
8858
|
+
readonly bookingPriceBody: BookingPriceBody;
|
|
8859
|
+
}
|
|
8466
8860
|
/**
|
|
8467
8861
|
* Request parameters for getQuickReservationSlots operation in BookingsApi.
|
|
8468
8862
|
* @export
|
|
@@ -8517,6 +8911,12 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
|
|
|
8517
8911
|
* @memberof BookingsApiGetQuickReservationSlots
|
|
8518
8912
|
*/
|
|
8519
8913
|
readonly courtTypes?: string;
|
|
8914
|
+
/**
|
|
8915
|
+
*
|
|
8916
|
+
* @type {string}
|
|
8917
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
8918
|
+
*/
|
|
8919
|
+
readonly surfaceTypes?: string;
|
|
8520
8920
|
/**
|
|
8521
8921
|
*
|
|
8522
8922
|
* @type {number}
|
|
@@ -8545,6 +8945,14 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
8545
8945
|
* @memberof BookingsApi
|
|
8546
8946
|
*/
|
|
8547
8947
|
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
|
|
8948
|
+
/**
|
|
8949
|
+
*
|
|
8950
|
+
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8951
|
+
* @param {*} [options] Override http request option.
|
|
8952
|
+
* @throws {RequiredError}
|
|
8953
|
+
* @memberof BookingsApi
|
|
8954
|
+
*/
|
|
8955
|
+
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
|
|
8548
8956
|
/**
|
|
8549
8957
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8550
8958
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -10267,7 +10675,7 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
|
|
|
10267
10675
|
*/
|
|
10268
10676
|
export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10269
10677
|
/**
|
|
10270
|
-
* Récupère la liste des clubs actifs
|
|
10678
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
10271
10679
|
* @param {*} [options] Override http request option.
|
|
10272
10680
|
* @throws {RequiredError}
|
|
10273
10681
|
*/
|
|
@@ -10357,7 +10765,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10357
10765
|
*/
|
|
10358
10766
|
export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
10359
10767
|
/**
|
|
10360
|
-
* Récupère la liste des clubs actifs
|
|
10768
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
10361
10769
|
* @param {*} [options] Override http request option.
|
|
10362
10770
|
* @throws {RequiredError}
|
|
10363
10771
|
*/
|
|
@@ -10447,7 +10855,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
10447
10855
|
*/
|
|
10448
10856
|
export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10449
10857
|
/**
|
|
10450
|
-
* Récupère la liste des clubs actifs
|
|
10858
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
10451
10859
|
* @param {*} [options] Override http request option.
|
|
10452
10860
|
* @throws {RequiredError}
|
|
10453
10861
|
*/
|
|
@@ -10663,7 +11071,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
|
|
|
10663
11071
|
*/
|
|
10664
11072
|
export declare class ClubsApi extends BaseAPI {
|
|
10665
11073
|
/**
|
|
10666
|
-
* Récupère la liste des clubs actifs
|
|
11074
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
10667
11075
|
* @param {*} [options] Override http request option.
|
|
10668
11076
|
* @throws {RequiredError}
|
|
10669
11077
|
* @memberof ClubsApi
|
|
@@ -12603,6 +13011,57 @@ export declare class SportsManagerApi extends BaseAPI {
|
|
|
12603
13011
|
*/
|
|
12604
13012
|
updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse, any, {}>>;
|
|
12605
13013
|
}
|
|
13014
|
+
/**
|
|
13015
|
+
* SportsPublicApi - axios parameter creator
|
|
13016
|
+
* @export
|
|
13017
|
+
*/
|
|
13018
|
+
export declare const SportsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13019
|
+
/**
|
|
13020
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
13021
|
+
* @param {*} [options] Override http request option.
|
|
13022
|
+
* @throws {RequiredError}
|
|
13023
|
+
*/
|
|
13024
|
+
getVerifiedSports: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13025
|
+
};
|
|
13026
|
+
/**
|
|
13027
|
+
* SportsPublicApi - functional programming interface
|
|
13028
|
+
* @export
|
|
13029
|
+
*/
|
|
13030
|
+
export declare const SportsPublicApiFp: (configuration?: Configuration) => {
|
|
13031
|
+
/**
|
|
13032
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
13033
|
+
* @param {*} [options] Override http request option.
|
|
13034
|
+
* @throws {RequiredError}
|
|
13035
|
+
*/
|
|
13036
|
+
getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>>;
|
|
13037
|
+
};
|
|
13038
|
+
/**
|
|
13039
|
+
* SportsPublicApi - factory interface
|
|
13040
|
+
* @export
|
|
13041
|
+
*/
|
|
13042
|
+
export declare const SportsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13043
|
+
/**
|
|
13044
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
13045
|
+
* @param {*} [options] Override http request option.
|
|
13046
|
+
* @throws {RequiredError}
|
|
13047
|
+
*/
|
|
13048
|
+
getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>>;
|
|
13049
|
+
};
|
|
13050
|
+
/**
|
|
13051
|
+
* SportsPublicApi - object-oriented interface
|
|
13052
|
+
* @export
|
|
13053
|
+
* @class SportsPublicApi
|
|
13054
|
+
* @extends {BaseAPI}
|
|
13055
|
+
*/
|
|
13056
|
+
export declare class SportsPublicApi extends BaseAPI {
|
|
13057
|
+
/**
|
|
13058
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
13059
|
+
* @param {*} [options] Override http request option.
|
|
13060
|
+
* @throws {RequiredError}
|
|
13061
|
+
* @memberof SportsPublicApi
|
|
13062
|
+
*/
|
|
13063
|
+
getVerifiedSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse[], any, {}>>;
|
|
13064
|
+
}
|
|
12606
13065
|
/**
|
|
12607
13066
|
* SportsStaffApi - axios parameter creator
|
|
12608
13067
|
* @export
|
|
@@ -13118,6 +13577,74 @@ export declare class SubscriptionsUserApi extends BaseAPI {
|
|
|
13118
13577
|
*/
|
|
13119
13578
|
subscribe(requestParameters: SubscriptionsUserApiSubscribeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any, {}>>;
|
|
13120
13579
|
}
|
|
13580
|
+
/**
|
|
13581
|
+
* UserApi - axios parameter creator
|
|
13582
|
+
* @export
|
|
13583
|
+
*/
|
|
13584
|
+
export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13585
|
+
/**
|
|
13586
|
+
* Récupère les informations du club de l\'utilisateur
|
|
13587
|
+
* @param {string} clubId
|
|
13588
|
+
* @param {*} [options] Override http request option.
|
|
13589
|
+
* @throws {RequiredError}
|
|
13590
|
+
*/
|
|
13591
|
+
getMyClubInfos: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13592
|
+
};
|
|
13593
|
+
/**
|
|
13594
|
+
* UserApi - functional programming interface
|
|
13595
|
+
* @export
|
|
13596
|
+
*/
|
|
13597
|
+
export declare const UserApiFp: (configuration?: Configuration) => {
|
|
13598
|
+
/**
|
|
13599
|
+
* Récupère les informations du club de l\'utilisateur
|
|
13600
|
+
* @param {string} clubId
|
|
13601
|
+
* @param {*} [options] Override http request option.
|
|
13602
|
+
* @throws {RequiredError}
|
|
13603
|
+
*/
|
|
13604
|
+
getMyClubInfos(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyClubInfosResponse>>;
|
|
13605
|
+
};
|
|
13606
|
+
/**
|
|
13607
|
+
* UserApi - factory interface
|
|
13608
|
+
* @export
|
|
13609
|
+
*/
|
|
13610
|
+
export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13611
|
+
/**
|
|
13612
|
+
* Récupère les informations du club de l\'utilisateur
|
|
13613
|
+
* @param {UserApiGetMyClubInfosRequest} requestParameters Request parameters.
|
|
13614
|
+
* @param {*} [options] Override http request option.
|
|
13615
|
+
* @throws {RequiredError}
|
|
13616
|
+
*/
|
|
13617
|
+
getMyClubInfos(requestParameters: UserApiGetMyClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<MyClubInfosResponse>;
|
|
13618
|
+
};
|
|
13619
|
+
/**
|
|
13620
|
+
* Request parameters for getMyClubInfos operation in UserApi.
|
|
13621
|
+
* @export
|
|
13622
|
+
* @interface UserApiGetMyClubInfosRequest
|
|
13623
|
+
*/
|
|
13624
|
+
export interface UserApiGetMyClubInfosRequest {
|
|
13625
|
+
/**
|
|
13626
|
+
*
|
|
13627
|
+
* @type {string}
|
|
13628
|
+
* @memberof UserApiGetMyClubInfos
|
|
13629
|
+
*/
|
|
13630
|
+
readonly clubId: string;
|
|
13631
|
+
}
|
|
13632
|
+
/**
|
|
13633
|
+
* UserApi - object-oriented interface
|
|
13634
|
+
* @export
|
|
13635
|
+
* @class UserApi
|
|
13636
|
+
* @extends {BaseAPI}
|
|
13637
|
+
*/
|
|
13638
|
+
export declare class UserApi extends BaseAPI {
|
|
13639
|
+
/**
|
|
13640
|
+
* Récupère les informations du club de l\'utilisateur
|
|
13641
|
+
* @param {UserApiGetMyClubInfosRequest} requestParameters Request parameters.
|
|
13642
|
+
* @param {*} [options] Override http request option.
|
|
13643
|
+
* @throws {RequiredError}
|
|
13644
|
+
* @memberof UserApi
|
|
13645
|
+
*/
|
|
13646
|
+
getMyClubInfos(requestParameters: UserApiGetMyClubInfosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MyClubInfosResponse, any, {}>>;
|
|
13647
|
+
}
|
|
13121
13648
|
/**
|
|
13122
13649
|
* UsersApi - axios parameter creator
|
|
13123
13650
|
* @export
|
|
@@ -13144,13 +13671,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
13144
13671
|
* @throws {RequiredError}
|
|
13145
13672
|
*/
|
|
13146
13673
|
addOrganization: (addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13147
|
-
/**
|
|
13148
|
-
*
|
|
13149
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
13150
|
-
* @param {*} [options] Override http request option.
|
|
13151
|
-
* @throws {RequiredError}
|
|
13152
|
-
*/
|
|
13153
|
-
addPaymentMethodSetup: (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13154
13674
|
/**
|
|
13155
13675
|
*
|
|
13156
13676
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -13158,13 +13678,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
13158
13678
|
* @throws {RequiredError}
|
|
13159
13679
|
*/
|
|
13160
13680
|
changePassword: (changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13161
|
-
/**
|
|
13162
|
-
*
|
|
13163
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
13164
|
-
* @param {*} [options] Override http request option.
|
|
13165
|
-
* @throws {RequiredError}
|
|
13166
|
-
*/
|
|
13167
|
-
confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13168
13681
|
/**
|
|
13169
13682
|
*
|
|
13170
13683
|
* @param {*} [options] Override http request option.
|
|
@@ -13343,13 +13856,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
13343
13856
|
* @throws {RequiredError}
|
|
13344
13857
|
*/
|
|
13345
13858
|
resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13346
|
-
/**
|
|
13347
|
-
*
|
|
13348
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
13349
|
-
* @param {*} [options] Override http request option.
|
|
13350
|
-
* @throws {RequiredError}
|
|
13351
|
-
*/
|
|
13352
|
-
setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13353
13859
|
/**
|
|
13354
13860
|
*
|
|
13355
13861
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -13426,13 +13932,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
13426
13932
|
* @throws {RequiredError}
|
|
13427
13933
|
*/
|
|
13428
13934
|
addOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
|
|
13429
|
-
/**
|
|
13430
|
-
*
|
|
13431
|
-
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
13432
|
-
* @param {*} [options] Override http request option.
|
|
13433
|
-
* @throws {RequiredError}
|
|
13434
|
-
*/
|
|
13435
|
-
addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>>;
|
|
13436
13935
|
/**
|
|
13437
13936
|
*
|
|
13438
13937
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -13440,13 +13939,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
13440
13939
|
* @throws {RequiredError}
|
|
13441
13940
|
*/
|
|
13442
13941
|
changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>>;
|
|
13443
|
-
/**
|
|
13444
|
-
*
|
|
13445
|
-
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
13446
|
-
* @param {*} [options] Override http request option.
|
|
13447
|
-
* @throws {RequiredError}
|
|
13448
|
-
*/
|
|
13449
|
-
confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>>;
|
|
13450
13942
|
/**
|
|
13451
13943
|
*
|
|
13452
13944
|
* @param {*} [options] Override http request option.
|
|
@@ -13459,7 +13951,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
13459
13951
|
* @param {*} [options] Override http request option.
|
|
13460
13952
|
* @throws {RequiredError}
|
|
13461
13953
|
*/
|
|
13462
|
-
getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13954
|
+
getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>>;
|
|
13463
13955
|
/**
|
|
13464
13956
|
*
|
|
13465
13957
|
* @param {*} [options] Override http request option.
|
|
@@ -13547,7 +14039,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
13547
14039
|
* @param {*} [options] Override http request option.
|
|
13548
14040
|
* @throws {RequiredError}
|
|
13549
14041
|
*/
|
|
13550
|
-
getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
14042
|
+
getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
|
|
13551
14043
|
/**
|
|
13552
14044
|
*
|
|
13553
14045
|
* @param {string} id
|
|
@@ -13633,13 +14125,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
13633
14125
|
* @throws {RequiredError}
|
|
13634
14126
|
*/
|
|
13635
14127
|
resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
|
|
13636
|
-
/**
|
|
13637
|
-
*
|
|
13638
|
-
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
13639
|
-
* @param {*} [options] Override http request option.
|
|
13640
|
-
* @throws {RequiredError}
|
|
13641
|
-
*/
|
|
13642
|
-
setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>>;
|
|
13643
14128
|
/**
|
|
13644
14129
|
*
|
|
13645
14130
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -13716,13 +14201,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13716
14201
|
* @throws {RequiredError}
|
|
13717
14202
|
*/
|
|
13718
14203
|
addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
13719
|
-
/**
|
|
13720
|
-
*
|
|
13721
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
13722
|
-
* @param {*} [options] Override http request option.
|
|
13723
|
-
* @throws {RequiredError}
|
|
13724
|
-
*/
|
|
13725
|
-
addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse>;
|
|
13726
14204
|
/**
|
|
13727
14205
|
*
|
|
13728
14206
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -13730,13 +14208,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13730
14208
|
* @throws {RequiredError}
|
|
13731
14209
|
*/
|
|
13732
14210
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse>;
|
|
13733
|
-
/**
|
|
13734
|
-
*
|
|
13735
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
13736
|
-
* @param {*} [options] Override http request option.
|
|
13737
|
-
* @throws {RequiredError}
|
|
13738
|
-
*/
|
|
13739
|
-
confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse>;
|
|
13740
14211
|
/**
|
|
13741
14212
|
*
|
|
13742
14213
|
* @param {*} [options] Override http request option.
|
|
@@ -13749,7 +14220,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13749
14220
|
* @param {*} [options] Override http request option.
|
|
13750
14221
|
* @throws {RequiredError}
|
|
13751
14222
|
*/
|
|
13752
|
-
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
14223
|
+
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary>;
|
|
13753
14224
|
/**
|
|
13754
14225
|
*
|
|
13755
14226
|
* @param {*} [options] Override http request option.
|
|
@@ -13828,7 +14299,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13828
14299
|
* @param {*} [options] Override http request option.
|
|
13829
14300
|
* @throws {RequiredError}
|
|
13830
14301
|
*/
|
|
13831
|
-
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
14302
|
+
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
|
|
13832
14303
|
/**
|
|
13833
14304
|
*
|
|
13834
14305
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -13905,13 +14376,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13905
14376
|
* @throws {RequiredError}
|
|
13906
14377
|
*/
|
|
13907
14378
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
13908
|
-
/**
|
|
13909
|
-
*
|
|
13910
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
13911
|
-
* @param {*} [options] Override http request option.
|
|
13912
|
-
* @throws {RequiredError}
|
|
13913
|
-
*/
|
|
13914
|
-
setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse>;
|
|
13915
14379
|
/**
|
|
13916
14380
|
*
|
|
13917
14381
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -14001,19 +14465,6 @@ export interface UsersApiAddOrganizationRequest {
|
|
|
14001
14465
|
*/
|
|
14002
14466
|
readonly addOrganizationRequest: AddOrganizationRequest;
|
|
14003
14467
|
}
|
|
14004
|
-
/**
|
|
14005
|
-
* Request parameters for addPaymentMethodSetup operation in UsersApi.
|
|
14006
|
-
* @export
|
|
14007
|
-
* @interface UsersApiAddPaymentMethodSetupRequest
|
|
14008
|
-
*/
|
|
14009
|
-
export interface UsersApiAddPaymentMethodSetupRequest {
|
|
14010
|
-
/**
|
|
14011
|
-
*
|
|
14012
|
-
* @type {AddPaymentMethodRequestBody}
|
|
14013
|
-
* @memberof UsersApiAddPaymentMethodSetup
|
|
14014
|
-
*/
|
|
14015
|
-
readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody;
|
|
14016
|
-
}
|
|
14017
14468
|
/**
|
|
14018
14469
|
* Request parameters for changePassword operation in UsersApi.
|
|
14019
14470
|
* @export
|
|
@@ -14027,19 +14478,6 @@ export interface UsersApiChangePasswordRequest {
|
|
|
14027
14478
|
*/
|
|
14028
14479
|
readonly changePasswordRequestBody: ChangePasswordRequestBody;
|
|
14029
14480
|
}
|
|
14030
|
-
/**
|
|
14031
|
-
* Request parameters for confirmPaymentMethodSetup operation in UsersApi.
|
|
14032
|
-
* @export
|
|
14033
|
-
* @interface UsersApiConfirmPaymentMethodSetupRequest
|
|
14034
|
-
*/
|
|
14035
|
-
export interface UsersApiConfirmPaymentMethodSetupRequest {
|
|
14036
|
-
/**
|
|
14037
|
-
*
|
|
14038
|
-
* @type {ConfirmPaymentMethodRequestBody}
|
|
14039
|
-
* @memberof UsersApiConfirmPaymentMethodSetup
|
|
14040
|
-
*/
|
|
14041
|
-
readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody;
|
|
14042
|
-
}
|
|
14043
14481
|
/**
|
|
14044
14482
|
* Request parameters for getBookingDetail operation in UsersApi.
|
|
14045
14483
|
* @export
|
|
@@ -14356,19 +14794,6 @@ export interface UsersApiResetPasswordRequest {
|
|
|
14356
14794
|
*/
|
|
14357
14795
|
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
14358
14796
|
}
|
|
14359
|
-
/**
|
|
14360
|
-
* Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
|
|
14361
|
-
* @export
|
|
14362
|
-
* @interface UsersApiSetupOffSessionPaymentMethodRequest
|
|
14363
|
-
*/
|
|
14364
|
-
export interface UsersApiSetupOffSessionPaymentMethodRequest {
|
|
14365
|
-
/**
|
|
14366
|
-
*
|
|
14367
|
-
* @type {SetupPaymentMethodRequestBody}
|
|
14368
|
-
* @memberof UsersApiSetupOffSessionPaymentMethod
|
|
14369
|
-
*/
|
|
14370
|
-
readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody;
|
|
14371
|
-
}
|
|
14372
14797
|
/**
|
|
14373
14798
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
14374
14799
|
* @export
|
|
@@ -14491,14 +14916,6 @@ export declare class UsersApi extends BaseAPI {
|
|
|
14491
14916
|
* @memberof UsersApi
|
|
14492
14917
|
*/
|
|
14493
14918
|
addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
|
|
14494
|
-
/**
|
|
14495
|
-
*
|
|
14496
|
-
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
14497
|
-
* @param {*} [options] Override http request option.
|
|
14498
|
-
* @throws {RequiredError}
|
|
14499
|
-
* @memberof UsersApi
|
|
14500
|
-
*/
|
|
14501
|
-
addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodSetupResponse, any, {}>>;
|
|
14502
14919
|
/**
|
|
14503
14920
|
*
|
|
14504
14921
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -14507,14 +14924,6 @@ export declare class UsersApi extends BaseAPI {
|
|
|
14507
14924
|
* @memberof UsersApi
|
|
14508
14925
|
*/
|
|
14509
14926
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any, {}>>;
|
|
14510
|
-
/**
|
|
14511
|
-
*
|
|
14512
|
-
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
14513
|
-
* @param {*} [options] Override http request option.
|
|
14514
|
-
* @throws {RequiredError}
|
|
14515
|
-
* @memberof UsersApi
|
|
14516
|
-
*/
|
|
14517
|
-
confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentMethodResponse, any, {}>>;
|
|
14518
14927
|
/**
|
|
14519
14928
|
*
|
|
14520
14929
|
* @param {*} [options] Override http request option.
|
|
@@ -14529,7 +14938,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
14529
14938
|
* @throws {RequiredError}
|
|
14530
14939
|
* @memberof UsersApi
|
|
14531
14940
|
*/
|
|
14532
|
-
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
14941
|
+
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary, any, {}>>;
|
|
14533
14942
|
/**
|
|
14534
14943
|
*
|
|
14535
14944
|
* @param {*} [options] Override http request option.
|
|
@@ -14619,7 +15028,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
14619
15028
|
* @throws {RequiredError}
|
|
14620
15029
|
* @memberof UsersApi
|
|
14621
15030
|
*/
|
|
14622
|
-
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
15031
|
+
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
|
|
14623
15032
|
/**
|
|
14624
15033
|
*
|
|
14625
15034
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -14707,14 +15116,6 @@ export declare class UsersApi extends BaseAPI {
|
|
|
14707
15116
|
* @memberof UsersApi
|
|
14708
15117
|
*/
|
|
14709
15118
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
|
|
14710
|
-
/**
|
|
14711
|
-
*
|
|
14712
|
-
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
14713
|
-
* @param {*} [options] Override http request option.
|
|
14714
|
-
* @throws {RequiredError}
|
|
14715
|
-
* @memberof UsersApi
|
|
14716
|
-
*/
|
|
14717
|
-
setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupPaymentMethodResponse, any, {}>>;
|
|
14718
15119
|
/**
|
|
14719
15120
|
*
|
|
14720
15121
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|