@tennac-booking/sdk 1.0.82 → 1.0.84

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.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +13 -17
  2. package/README.md +16 -25
  3. package/api.ts +1054 -1457
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +831 -1086
  8. package/dist/api.js +189 -403
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +831 -1086
  16. package/dist/esm/api.js +182 -400
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingClubInfo.md +28 -0
  28. package/docs/{SetupPaymentMethodRequestBody.md → BookingCourtInfo.md} +7 -5
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPaymentStatus.md +24 -0
  31. package/docs/BookingPlayerPaymentSummary.md +34 -0
  32. package/docs/BookingPopulated.md +2 -0
  33. package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  34. package/docs/BookingResponse.md +2 -0
  35. package/docs/BookingSlotInfo.md +30 -0
  36. package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
  37. package/docs/BookingSummary.md +54 -2
  38. package/docs/BookingsApi.md +55 -0
  39. package/docs/ClubAnalyticsStaffApi.md +0 -167
  40. package/docs/ClubResponse.md +8 -0
  41. package/docs/ClubSettingsResponse.md +0 -2
  42. package/docs/CreateBookingRequest.md +2 -2
  43. package/docs/CreateEventRequest.md +0 -2
  44. package/docs/IUserAttributes.md +2 -12
  45. package/docs/InvoiceStatus.md +22 -0
  46. package/docs/PartialClubResponse.md +8 -0
  47. package/docs/PlayerPrice.md +30 -0
  48. package/docs/{ConfirmPaymentMethodResponse.md → QuickReservationClubSport.md} +7 -7
  49. package/docs/QuickReservationClubSummary.md +4 -0
  50. package/docs/SlotInfo.md +2 -2
  51. package/docs/SportsPublicApi.md +53 -0
  52. package/docs/StaffUserProfileResponse.md +2 -12
  53. package/docs/SubscribeRequestBody.md +2 -0
  54. package/docs/SubscriptionInfo.md +24 -0
  55. package/docs/UserBookingsResponse.md +28 -0
  56. package/docs/UserProfileResponse.md +4 -12
  57. package/docs/UsersApi.md +4 -160
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
  60. package/docs/BookingDetailResponse.md +0 -46
  61. package/docs/ClubPlayerBookingItem.md +0 -36
  62. package/docs/ClubPlayerBookingsResponse.md +0 -22
  63. package/docs/ClubPlayerDetailResponse.md +0 -46
  64. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  65. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  66. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  67. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  68. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  69. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  70. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  71. package/docs/PaymentMethodSetupResponse.md +0 -24
  72. package/docs/SetupPaymentMethodResponse.md +0 -24
package/dist/esm/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.77
5
+ * The version of the OpenAPI document: 1.0.75
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 BookingDetailResponse
143
+ * @interface BookingClubInfo
157
144
  */
158
- export interface BookingDetailResponse {
145
+ export interface BookingClubInfo {
159
146
  /**
160
147
  *
161
148
  * @type {string}
162
- * @memberof BookingDetailResponse
149
+ * @memberof BookingClubInfo
163
150
  */
164
151
  'id': string;
165
152
  /**
166
153
  *
167
154
  * @type {string}
168
- * @memberof BookingDetailResponse
169
- */
170
- 'clubPicture'?: string;
171
- /**
172
- *
173
- * @type {string}
174
- * @memberof BookingDetailResponse
155
+ * @memberof BookingClubInfo
175
156
  */
176
- 'courtName'?: string;
157
+ 'name'?: string | null;
177
158
  /**
178
159
  *
179
160
  * @type {string}
180
- * @memberof BookingDetailResponse
161
+ * @memberof BookingClubInfo
181
162
  */
182
- 'sportName'?: string;
163
+ 'picture'?: string | null;
183
164
  /**
184
165
  *
185
166
  * @type {string}
186
- * @memberof BookingDetailResponse
167
+ * @memberof BookingClubInfo
187
168
  */
188
- 'startDate'?: string;
169
+ 'address'?: string | null;
189
170
  /**
190
- *
191
- * @type {string}
192
- * @memberof BookingDetailResponse
171
+ * Construct a type with a set of properties K of type T
172
+ * @type {{ [key: string]: any; }}
173
+ * @memberof BookingClubInfo
193
174
  */
194
- 'myPaymentStatus'?: string;
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 BookingDetailResponse
199
- */
200
- 'bookingStatus'?: string;
201
- /**
202
- *
203
- * @type {Array<string>}
204
- * @memberof BookingDetailResponse
205
- */
206
- 'playersName': Array<string>;
207
- /**
208
- *
209
- * @type {number}
210
- * @memberof BookingDetailResponse
211
- */
212
- 'myAmountToPay': number;
213
- /**
214
- *
215
- * @type {number}
216
- * @memberof BookingDetailResponse
188
+ * @memberof BookingCourtInfo
217
189
  */
218
- 'totalAmount': number;
190
+ 'id'?: string | null;
219
191
  /**
220
192
  *
221
193
  * @type {string}
222
- * @memberof BookingDetailResponse
223
- */
224
- 'timeBeforeCancel'?: string | null;
225
- /**
226
- *
227
- * @type {BookingSummaryClubAddress}
228
- * @memberof BookingDetailResponse
229
- */
230
- 'clubAddress'?: BookingSummaryClubAddress | null;
231
- /**
232
- *
233
- * @type {BookingHistoryPopulated}
234
- * @memberof BookingDetailResponse
235
- */
236
- 'bookingHistory'?: BookingHistoryPopulated;
237
- /**
238
- *
239
- * @type {Array<{ [key: string]: any; }>}
240
- * @memberof BookingDetailResponse
194
+ * @memberof BookingCourtInfo
241
195
  */
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
- 'slotId': string;
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
@@ -560,6 +592,12 @@ export interface BookingPopulated {
560
592
  * @memberof BookingPopulated
561
593
  */
562
594
  'isCreatorPayingAll': boolean;
595
+ /**
596
+ *
597
+ * @type {Array<string>}
598
+ * @memberof BookingPopulated
599
+ */
600
+ 'playersIds': Array<string>;
563
601
  /**
564
602
  *
565
603
  * @type {Array<BookingHistoryPopulated>}
@@ -591,6 +629,25 @@ export interface BookingPopulated {
591
629
  */
592
630
  'cancellationReason'?: string;
593
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
+ }
594
651
  /**
595
652
  *
596
653
  * @export
@@ -623,6 +680,12 @@ export interface BookingResponse {
623
680
  * @memberof BookingResponse
624
681
  */
625
682
  'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
683
+ /**
684
+ *
685
+ * @type {string}
686
+ * @memberof BookingResponse
687
+ */
688
+ 'setupNoShowPaymentUrl'?: string;
626
689
  /**
627
690
  * Message de confirmation
628
691
  * @type {string}
@@ -649,6 +712,68 @@ export interface BookingResponseOnsitePaymentsInner {
649
712
  */
650
713
  'playerId': string;
651
714
  }
715
+ /**
716
+ *
717
+ * @export
718
+ * @interface BookingSlotInfo
719
+ */
720
+ export interface BookingSlotInfo {
721
+ /**
722
+ *
723
+ * @type {string}
724
+ * @memberof BookingSlotInfo
725
+ */
726
+ 'id': string;
727
+ /**
728
+ *
729
+ * @type {string}
730
+ * @memberof BookingSlotInfo
731
+ */
732
+ 'startDate'?: string | null;
733
+ /**
734
+ *
735
+ * @type {string}
736
+ * @memberof BookingSlotInfo
737
+ */
738
+ 'endDate'?: string | null;
739
+ /**
740
+ *
741
+ * @type {number}
742
+ * @memberof BookingSlotInfo
743
+ */
744
+ 'durationMinutes'?: number | null;
745
+ /**
746
+ *
747
+ * @type {BookingCourtInfo}
748
+ * @memberof BookingSlotInfo
749
+ */
750
+ 'court'?: BookingCourtInfo | null;
751
+ /**
752
+ *
753
+ * @type {BookingSportInfo}
754
+ * @memberof BookingSlotInfo
755
+ */
756
+ 'sport'?: BookingSportInfo | null;
757
+ }
758
+ /**
759
+ *
760
+ * @export
761
+ * @interface BookingSportInfo
762
+ */
763
+ export interface BookingSportInfo {
764
+ /**
765
+ *
766
+ * @type {string}
767
+ * @memberof BookingSportInfo
768
+ */
769
+ 'id'?: string | null;
770
+ /**
771
+ *
772
+ * @type {string}
773
+ * @memberof BookingSportInfo
774
+ */
775
+ 'key'?: string | null;
776
+ }
652
777
  /**
653
778
  *
654
779
  * @export
@@ -681,788 +806,544 @@ export interface BookingSummary {
681
806
  * @type {string}
682
807
  * @memberof BookingSummary
683
808
  */
684
- 'clubPicture'?: string;
809
+ 'clubId': string;
685
810
  /**
686
811
  *
687
812
  * @type {string}
688
813
  * @memberof BookingSummary
689
814
  */
690
- 'courtName'?: string;
815
+ 'userId': string;
691
816
  /**
692
817
  *
693
- * @type {string}
818
+ * @type {Array<string>}
694
819
  * @memberof BookingSummary
695
820
  */
696
- 'sportName'?: string;
821
+ 'playersIds': Array<string>;
697
822
  /**
698
823
  *
699
- * @type {string}
824
+ * @type {BookingStatus}
700
825
  * @memberof BookingSummary
701
826
  */
702
- 'startDate'?: string;
827
+ 'status': BookingStatus;
703
828
  /**
704
829
  *
705
- * @type {string}
830
+ * @type {Array<BookingPaymentStatus>}
706
831
  * @memberof BookingSummary
707
832
  */
708
- 'myPaymentStatus'?: string;
833
+ 'paymentByPlayersStatus': Array<BookingPaymentStatus>;
709
834
  /**
710
835
  *
711
- * @type {string}
836
+ * @type {boolean}
712
837
  * @memberof BookingSummary
713
838
  */
714
- 'bookingStatus'?: string;
839
+ 'isCreatorPayingAll': boolean;
715
840
  /**
716
841
  *
717
- * @type {Array<string>}
842
+ * @type {number}
718
843
  * @memberof BookingSummary
719
844
  */
720
- 'playersName': Array<string>;
845
+ 'totalPrice': number;
721
846
  /**
722
847
  *
723
- * @type {number}
848
+ * @type {Array<string>}
724
849
  * @memberof BookingSummary
725
850
  */
726
- 'myAmountToPay': number;
851
+ 'slotIds': Array<string>;
727
852
  /**
728
853
  *
729
- * @type {number}
854
+ * @type {boolean}
730
855
  * @memberof BookingSummary
731
856
  */
732
- 'totalAmount': number;
857
+ 'isPublic': boolean;
733
858
  /**
734
859
  *
735
860
  * @type {string}
736
861
  * @memberof BookingSummary
737
862
  */
738
- 'timeBeforeCancel'?: string | null;
863
+ 'creatorPaymentMethodId'?: string | null;
739
864
  /**
740
865
  *
741
- * @type {BookingSummaryClubAddress}
866
+ * @type {boolean}
742
867
  * @memberof BookingSummary
743
868
  */
744
- 'clubAddress'?: BookingSummaryClubAddress | null;
869
+ 'paymentMethodSetupCompleted': boolean;
745
870
  /**
746
871
  *
747
- * @type {BookingHistoryPopulated}
872
+ * @type {number}
748
873
  * @memberof BookingSummary
749
874
  */
750
- 'bookingHistory'?: BookingHistoryPopulated;
751
- }
752
- /**
753
- *
754
- * @export
755
- * @interface BookingSummaryClubAddress
756
- */
757
- export interface BookingSummaryClubAddress {
758
- }
759
- /**
760
- *
761
- * @export
762
- * @interface CancelBookingResponse
763
- */
764
- export interface CancelBookingResponse {
875
+ 'noShowChargeAmount'?: number | null;
765
876
  /**
766
- * Message de confirmation
767
- * @type {string}
768
- * @memberof CancelBookingResponse
877
+ *
878
+ * @type {boolean}
879
+ * @memberof BookingSummary
769
880
  */
770
- 'message': string;
881
+ 'noShowChargeApplied'?: boolean;
771
882
  /**
772
883
  *
773
- * @type {BookingInfo}
774
- * @memberof CancelBookingResponse
884
+ * @type {string}
885
+ * @memberof BookingSummary
775
886
  */
776
- 'booking': BookingInfo;
777
- }
778
- /**
779
- *
780
- * @export
781
- * @interface CaptureResult
782
- */
783
- export interface CaptureResult {
887
+ 'noShowChargeIntentId'?: string | null;
784
888
  /**
785
- * Type de paiement
889
+ *
786
890
  * @type {string}
787
- * @memberof CaptureResult
891
+ * @memberof BookingSummary
788
892
  */
789
- 'type': CaptureResultTypeEnum;
893
+ 'cancellationReason'?: string | null;
790
894
  /**
791
- * ID du joueur (optionnel)
895
+ *
792
896
  * @type {string}
793
- * @memberof CaptureResult
897
+ * @memberof BookingSummary
794
898
  */
795
- 'playerId'?: string;
899
+ 'cancelledBy'?: string | null;
796
900
  /**
797
- * ID du PaymentIntent Stripe
901
+ *
798
902
  * @type {string}
799
- * @memberof CaptureResult
800
- */
801
- 'paymentIntentId': string;
802
- /**
803
- * Montant capturé
804
- * @type {number}
805
- * @memberof CaptureResult
903
+ * @memberof BookingSummary
806
904
  */
807
- 'amount'?: number;
905
+ 'cancelledAt'?: string | null;
808
906
  /**
809
- * Statut de la capture
810
- * @type {string}
811
- * @memberof CaptureResult
907
+ *
908
+ * @type {boolean}
909
+ * @memberof BookingSummary
812
910
  */
813
- 'status': CaptureResultStatusEnum;
911
+ 'cancelledByManager'?: boolean;
814
912
  /**
815
- * Erreur (si échoué)
913
+ *
816
914
  * @type {string}
817
- * @memberof CaptureResult
915
+ * @memberof BookingSummary
818
916
  */
819
- 'error'?: string;
820
- }
821
- export declare const CaptureResultTypeEnum: {
822
- readonly CreatorPayment: "creator_payment";
823
- readonly PlayerPayment: "player_payment";
824
- };
825
- export type CaptureResultTypeEnum = typeof CaptureResultTypeEnum[keyof typeof CaptureResultTypeEnum];
826
- export declare const CaptureResultStatusEnum: {
827
- readonly Captured: "captured";
828
- readonly Failed: "failed";
829
- };
830
- export type CaptureResultStatusEnum = typeof CaptureResultStatusEnum[keyof typeof CaptureResultStatusEnum];
831
- /**
832
- *
833
- * @export
834
- * @interface ChangePasswordRequestBody
835
- */
836
- export interface ChangePasswordRequestBody {
917
+ 'createdAt': string | null;
837
918
  /**
838
919
  *
839
920
  * @type {string}
840
- * @memberof ChangePasswordRequestBody
921
+ * @memberof BookingSummary
841
922
  */
842
- 'currentPassword': string;
923
+ 'updatedAt': string | null;
843
924
  /**
844
925
  *
845
- * @type {string}
846
- * @memberof ChangePasswordRequestBody
926
+ * @type {number}
927
+ * @memberof BookingSummary
847
928
  */
848
- 'newPassword': string;
849
- }
850
- /**
851
- *
852
- * @export
853
- * @interface ChangePasswordResponse
854
- */
855
- export interface ChangePasswordResponse {
929
+ 'playersCount'?: number | null;
856
930
  /**
857
931
  *
858
932
  * @type {string}
859
- * @memberof ChangePasswordResponse
860
- */
861
- 'message': string;
862
- }
863
- /**
864
- *
865
- * @export
866
- * @interface CheckInPlayersRequest
867
- */
868
- export interface CheckInPlayersRequest {
869
- /**
870
- * Liste des IDs des joueurs qui ont payé/sont arrivés
871
- * @type {Array<string>}
872
- * @memberof CheckInPlayersRequest
933
+ * @memberof BookingSummary
873
934
  */
874
- 'playerIds': Array<string>;
875
- }
876
- /**
877
- *
878
- * @export
879
- * @interface CheckInPlayersResponse
880
- */
881
- export interface CheckInPlayersResponse {
935
+ 'clubPicture'?: string;
882
936
  /**
883
- * Message de confirmation
937
+ *
884
938
  * @type {string}
885
- * @memberof CheckInPlayersResponse
886
- */
887
- 'message': string;
888
- /**
889
- * Joueurs ayant effectué le check-in
890
- * @type {Array<CheckedInPlayer>}
891
- * @memberof CheckInPlayersResponse
939
+ * @memberof BookingSummary
892
940
  */
893
- 'invoices': Array<CheckedInPlayer>;
894
- }
895
- /**
896
- *
897
- * @export
898
- * @interface CheckedInPlayer
899
- */
900
- export interface CheckedInPlayer {
941
+ 'courtName'?: string;
901
942
  /**
902
- * ID du joueur
943
+ *
903
944
  * @type {string}
904
- * @memberof CheckedInPlayer
945
+ * @memberof BookingSummary
905
946
  */
906
- 'playerId': string;
947
+ 'sportName'?: string;
907
948
  /**
908
- * ID de la facture
949
+ *
909
950
  * @type {string}
910
- * @memberof CheckedInPlayer
951
+ * @memberof BookingSummary
911
952
  */
912
- 'invoiceId': string;
953
+ 'startDate'?: string;
913
954
  /**
914
- * Montant payé
915
- * @type {number}
916
- * @memberof CheckedInPlayer
955
+ *
956
+ * @type {InvoiceStatus}
957
+ * @memberof BookingSummary
917
958
  */
918
- 'amount': number;
959
+ 'myPaymentStatus'?: InvoiceStatus | null;
919
960
  /**
920
- * Statut précédent (optionnel)
961
+ *
921
962
  * @type {string}
922
- * @memberof CheckedInPlayer
963
+ * @memberof BookingSummary
923
964
  */
924
- 'previousStatus'?: string;
965
+ 'bookingStatus'?: string;
925
966
  /**
926
- * Nouveau statut (optionnel)
927
- * @type {string}
928
- * @memberof CheckedInPlayer
967
+ *
968
+ * @type {Array<string>}
969
+ * @memberof BookingSummary
929
970
  */
930
- 'newStatus'?: string;
971
+ 'playersName': Array<string>;
931
972
  /**
932
- * Statut actuel
933
- * @type {string}
934
- * @memberof CheckedInPlayer
973
+ *
974
+ * @type {number}
975
+ * @memberof BookingSummary
935
976
  */
936
- 'status'?: string;
977
+ 'myAmountToPay': number;
937
978
  /**
938
979
  *
939
- * @type {PaymentMethod}
940
- * @memberof CheckedInPlayer
980
+ * @type {number}
981
+ * @memberof BookingSummary
941
982
  */
942
- 'paymentMethod'?: PaymentMethod;
983
+ 'totalAmount': number;
943
984
  /**
944
- * Note additionnelle
985
+ *
945
986
  * @type {string}
946
- * @memberof CheckedInPlayer
987
+ * @memberof BookingSummary
947
988
  */
948
- 'note'?: string;
949
- }
950
- /**
951
- *
952
- * @export
953
- * @interface ClubMemberResponse
954
- */
955
- export interface ClubMemberResponse {
989
+ 'timeBeforeCancel'?: string | null;
956
990
  /**
957
991
  *
958
- * @type {ClubMemberResponseUser}
959
- * @memberof ClubMemberResponse
992
+ * @type {BookingSummaryClubAddress}
993
+ * @memberof BookingSummary
960
994
  */
961
- 'user': ClubMemberResponseUser;
995
+ 'clubAddress'?: BookingSummaryClubAddress | null;
962
996
  /**
963
- * Rôle du membre dans le club
964
- * @type {string}
965
- * @memberof ClubMemberResponse
997
+ *
998
+ * @type {Array<BookingHistoryPopulated>}
999
+ * @memberof BookingSummary
966
1000
  */
967
- 'role': string;
1001
+ 'bookingHistory'?: Array<BookingHistoryPopulated>;
968
1002
  /**
969
- * Droits du membre dans le club
970
- * @type {Array<string>}
971
- * @memberof ClubMemberResponse
1003
+ *
1004
+ * @type {BookingClubInfo}
1005
+ * @memberof BookingSummary
972
1006
  */
973
- 'rights': Array<string>;
974
- }
975
- /**
976
- * Utilisateur (membre)
977
- * @export
978
- * @interface ClubMemberResponseUser
979
- */
980
- export interface ClubMemberResponseUser {
1007
+ 'club'?: BookingClubInfo | null;
981
1008
  /**
982
1009
  *
983
- * @type {string}
984
- * @memberof ClubMemberResponseUser
1010
+ * @type {Array<BookingSlotInfo>}
1011
+ * @memberof BookingSummary
985
1012
  */
986
- 'email': string;
1013
+ 'slots': Array<BookingSlotInfo>;
987
1014
  /**
988
1015
  *
989
- * @type {string}
990
- * @memberof ClubMemberResponseUser
1016
+ * @type {BookingCourtInfo}
1017
+ * @memberof BookingSummary
991
1018
  */
992
- 'lastName': string;
1019
+ 'court'?: BookingCourtInfo | null;
993
1020
  /**
994
1021
  *
995
- * @type {string}
996
- * @memberof ClubMemberResponseUser
1022
+ * @type {BookingSportInfo}
1023
+ * @memberof BookingSummary
997
1024
  */
998
- 'firstName': string;
1025
+ 'sport'?: BookingSportInfo | null;
999
1026
  /**
1000
1027
  *
1001
- * @type {string}
1002
- * @memberof ClubMemberResponseUser
1028
+ * @type {Array<BookingPlayerPaymentSummary>}
1029
+ * @memberof BookingSummary
1003
1030
  */
1004
- 'id': string;
1031
+ 'players': Array<BookingPlayerPaymentSummary>;
1005
1032
  }
1006
1033
  /**
1007
1034
  *
1008
1035
  * @export
1009
- * @interface ClubPlayerBookingItem
1036
+ * @interface BookingSummaryClubAddress
1010
1037
  */
1011
- export interface ClubPlayerBookingItem {
1012
- /**
1013
- * ID de la réservation
1014
- * @type {string}
1015
- * @memberof ClubPlayerBookingItem
1016
- */
1017
- 'id': string;
1018
- /**
1019
- * Date de début de la réservation
1020
- * @type {string}
1021
- * @memberof ClubPlayerBookingItem
1022
- */
1023
- 'startDate': string | null;
1024
- /**
1025
- * Date de fin de la réservation
1026
- * @type {string}
1027
- * @memberof ClubPlayerBookingItem
1028
- */
1029
- 'endDate': string | null;
1030
- /**
1031
- * Nom du terrain ou emplacement
1032
- * @type {string}
1033
- * @memberof ClubPlayerBookingItem
1034
- */
1035
- 'location': string | null;
1036
- /**
1037
- * Nom du sport associé
1038
- * @type {string}
1039
- * @memberof ClubPlayerBookingItem
1040
- */
1041
- 'sport': string | null;
1042
- /**
1043
- * Statut de la réservation
1044
- * @type {string}
1045
- * @memberof ClubPlayerBookingItem
1046
- */
1047
- 'status': string;
1048
- /**
1049
- * Prix total de la réservation en centimes
1050
- * @type {number}
1051
- * @memberof ClubPlayerBookingItem
1052
- */
1053
- 'totalPrice': number;
1054
- /**
1055
- * Indique si le joueur est le créateur de la réservation
1056
- * @type {boolean}
1057
- * @memberof ClubPlayerBookingItem
1058
- */
1059
- 'isCreator': boolean;
1060
- /**
1061
- * Nombre total de participants
1062
- * @type {number}
1063
- * @memberof ClubPlayerBookingItem
1064
- */
1065
- 'participantsCount': number;
1038
+ export interface BookingSummaryClubAddress {
1066
1039
  }
1067
1040
  /**
1068
1041
  *
1069
1042
  * @export
1070
- * @interface ClubPlayerBookingsResponse
1043
+ * @interface CancelBookingResponse
1071
1044
  */
1072
- export interface ClubPlayerBookingsResponse {
1045
+ export interface CancelBookingResponse {
1073
1046
  /**
1074
- * Réservations à venir
1075
- * @type {Array<ClubPlayerBookingItem>}
1076
- * @memberof ClubPlayerBookingsResponse
1047
+ * Message de confirmation
1048
+ * @type {string}
1049
+ * @memberof CancelBookingResponse
1077
1050
  */
1078
- 'upcomingBookings': Array<ClubPlayerBookingItem>;
1051
+ 'message': string;
1079
1052
  /**
1080
- * Réservations passées
1081
- * @type {Array<ClubPlayerBookingItem>}
1082
- * @memberof ClubPlayerBookingsResponse
1053
+ *
1054
+ * @type {BookingInfo}
1055
+ * @memberof CancelBookingResponse
1083
1056
  */
1084
- 'pastBookings': Array<ClubPlayerBookingItem>;
1057
+ 'booking': BookingInfo;
1085
1058
  }
1086
1059
  /**
1087
1060
  *
1088
1061
  * @export
1089
- * @interface ClubPlayerDetailResponse
1062
+ * @interface CaptureResult
1090
1063
  */
1091
- export interface ClubPlayerDetailResponse {
1092
- /**
1093
- * ID du joueur
1094
- * @type {string}
1095
- * @memberof ClubPlayerDetailResponse
1096
- */
1097
- 'id': string;
1098
- /**
1099
- * Nom complet
1100
- * @type {string}
1101
- * @memberof ClubPlayerDetailResponse
1102
- */
1103
- 'name': string;
1104
- /**
1105
- * Prénom
1106
- * @type {string}
1107
- * @memberof ClubPlayerDetailResponse
1108
- */
1109
- 'firstName': string;
1110
- /**
1111
- * Nom
1112
- * @type {string}
1113
- * @memberof ClubPlayerDetailResponse
1114
- */
1115
- 'lastName': string;
1116
- /**
1117
- * Email
1118
- * @type {string}
1119
- * @memberof ClubPlayerDetailResponse
1120
- */
1121
- 'email': string;
1064
+ export interface CaptureResult {
1122
1065
  /**
1123
- * Numéro de téléphone
1066
+ * Type de paiement
1124
1067
  * @type {string}
1125
- * @memberof ClubPlayerDetailResponse
1068
+ * @memberof CaptureResult
1126
1069
  */
1127
- 'phoneNumber': string | null;
1070
+ 'type': CaptureResultTypeEnum;
1128
1071
  /**
1129
- * URL de la photo de profil
1072
+ * ID du joueur (optionnel)
1130
1073
  * @type {string}
1131
- * @memberof ClubPlayerDetailResponse
1132
- */
1133
- 'profilePictureUrl': string | null;
1134
- /**
1135
- * Compte vérifié
1136
- * @type {boolean}
1137
- * @memberof ClubPlayerDetailResponse
1138
- */
1139
- 'isAccountVerified': boolean;
1140
- /**
1141
- * Abonnements au club courant
1142
- * @type {Array<ClubPlayerSubscriptionSummary>}
1143
- * @memberof ClubPlayerDetailResponse
1074
+ * @memberof CaptureResult
1144
1075
  */
1145
- 'subscriptionsToMyClub': Array<ClubPlayerSubscriptionSummary>;
1076
+ 'playerId'?: string;
1146
1077
  /**
1147
- * Description du profil
1078
+ * ID du PaymentIntent Stripe
1148
1079
  * @type {string}
1149
- * @memberof ClubPlayerDetailResponse
1080
+ * @memberof CaptureResult
1150
1081
  */
1151
- 'profileDescription': string | null;
1082
+ 'paymentIntentId': string;
1152
1083
  /**
1153
- * Genre
1154
- * @type {string}
1155
- * @memberof ClubPlayerDetailResponse
1084
+ * Montant capturé
1085
+ * @type {number}
1086
+ * @memberof CaptureResult
1156
1087
  */
1157
- 'gender': string | null;
1088
+ 'amount'?: number;
1158
1089
  /**
1159
- * Ville
1090
+ * Statut de la capture
1160
1091
  * @type {string}
1161
- * @memberof ClubPlayerDetailResponse
1162
- */
1163
- 'city': string | null;
1164
- /**
1165
- * Niveaux par sport
1166
- * @type {Array<ClubPlayerDetailResponseSportsLevelsInner>}
1167
- * @memberof ClubPlayerDetailResponse
1092
+ * @memberof CaptureResult
1168
1093
  */
1169
- 'sportsLevels': Array<ClubPlayerDetailResponseSportsLevelsInner>;
1094
+ 'status': CaptureResultStatusEnum;
1170
1095
  /**
1171
- * Date de naissance
1096
+ * Erreur (si échoué)
1172
1097
  * @type {string}
1173
- * @memberof ClubPlayerDetailResponse
1098
+ * @memberof CaptureResult
1174
1099
  */
1175
- 'birthDate': string | null;
1100
+ 'error'?: string;
1176
1101
  }
1102
+ export declare const CaptureResultTypeEnum: {
1103
+ readonly CreatorPayment: "creator_payment";
1104
+ readonly PlayerPayment: "player_payment";
1105
+ };
1106
+ export type CaptureResultTypeEnum = typeof CaptureResultTypeEnum[keyof typeof CaptureResultTypeEnum];
1107
+ export declare const CaptureResultStatusEnum: {
1108
+ readonly Captured: "captured";
1109
+ readonly Failed: "failed";
1110
+ };
1111
+ export type CaptureResultStatusEnum = typeof CaptureResultStatusEnum[keyof typeof CaptureResultStatusEnum];
1177
1112
  /**
1178
1113
  *
1179
1114
  * @export
1180
- * @interface ClubPlayerDetailResponseSportsLevelsInner
1115
+ * @interface ChangePasswordRequestBody
1181
1116
  */
1182
- export interface ClubPlayerDetailResponseSportsLevelsInner {
1117
+ export interface ChangePasswordRequestBody {
1183
1118
  /**
1184
1119
  *
1185
1120
  * @type {string}
1186
- * @memberof ClubPlayerDetailResponseSportsLevelsInner
1121
+ * @memberof ChangePasswordRequestBody
1187
1122
  */
1188
- 'level': string | null;
1123
+ 'currentPassword': string;
1189
1124
  /**
1190
1125
  *
1191
1126
  * @type {string}
1192
- * @memberof ClubPlayerDetailResponseSportsLevelsInner
1127
+ * @memberof ChangePasswordRequestBody
1193
1128
  */
1194
- 'sport': string | null;
1129
+ 'newPassword': string;
1195
1130
  }
1196
1131
  /**
1197
1132
  *
1198
1133
  * @export
1199
- * @interface ClubPlayerResponse
1200
- */
1201
- export interface ClubPlayerResponse {
1202
- /**
1203
- * ID de l\'utilisateur
1204
- * @type {string}
1205
- * @memberof ClubPlayerResponse
1206
- */
1207
- 'id': string;
1208
- /**
1209
- * Prénom
1210
- * @type {string}
1211
- * @memberof ClubPlayerResponse
1212
- */
1213
- 'firstName': string;
1214
- /**
1215
- * Nom
1216
- * @type {string}
1217
- * @memberof ClubPlayerResponse
1218
- */
1219
- 'lastName': string;
1220
- /**
1221
- * Genre
1222
- * @type {string}
1223
- * @memberof ClubPlayerResponse
1224
- */
1225
- 'gender'?: string;
1226
- /**
1227
- * Email
1228
- * @type {string}
1229
- * @memberof ClubPlayerResponse
1230
- */
1231
- 'email': string;
1232
- /**
1233
- * Photo de profil
1234
- * @type {string}
1235
- * @memberof ClubPlayerResponse
1236
- */
1237
- 'profilePicture'?: string;
1238
- /**
1239
- * Compte vérifié
1240
- * @type {boolean}
1241
- * @memberof ClubPlayerResponse
1242
- */
1243
- 'isAccountVerified': boolean;
1244
- /**
1245
- * Profil visible
1246
- * @type {boolean}
1247
- * @memberof ClubPlayerResponse
1248
- */
1249
- 'isProfileVisible': boolean;
1134
+ * @interface ChangePasswordResponse
1135
+ */
1136
+ export interface ChangePasswordResponse {
1250
1137
  /**
1251
- * Abonné au club
1252
- * @type {boolean}
1253
- * @memberof ClubPlayerResponse
1138
+ *
1139
+ * @type {string}
1140
+ * @memberof ChangePasswordResponse
1254
1141
  */
1255
- 'isSubscribedToClub': boolean;
1142
+ 'message': string;
1256
1143
  }
1257
1144
  /**
1258
1145
  *
1259
1146
  * @export
1260
- * @interface ClubPlayerStatisticsResponse
1147
+ * @interface CheckInPlayersRequest
1261
1148
  */
1262
- export interface ClubPlayerStatisticsResponse {
1149
+ export interface CheckInPlayersRequest {
1263
1150
  /**
1264
- * Nombre total de réservations (tous clubs confondus)
1265
- * @type {number}
1266
- * @memberof ClubPlayerStatisticsResponse
1151
+ * Liste des IDs des joueurs qui ont payé/sont arrivés
1152
+ * @type {Array<string>}
1153
+ * @memberof CheckInPlayersRequest
1267
1154
  */
1268
- 'totalBookings': number;
1155
+ 'playerIds': Array<string>;
1156
+ }
1157
+ /**
1158
+ *
1159
+ * @export
1160
+ * @interface CheckInPlayersResponse
1161
+ */
1162
+ export interface CheckInPlayersResponse {
1269
1163
  /**
1270
- * Nombre total de réservations dans le club courant
1271
- * @type {number}
1272
- * @memberof ClubPlayerStatisticsResponse
1164
+ * Message de confirmation
1165
+ * @type {string}
1166
+ * @memberof CheckInPlayersResponse
1273
1167
  */
1274
- 'totalBookingsInMyClub': number;
1168
+ 'message': string;
1275
1169
  /**
1276
- * Somme totale dépensée dans le club courant (centimes)
1277
- * @type {number}
1278
- * @memberof ClubPlayerStatisticsResponse
1170
+ * Joueurs ayant effectué le check-in
1171
+ * @type {Array<CheckedInPlayer>}
1172
+ * @memberof CheckInPlayersResponse
1279
1173
  */
1280
- 'totalSpentAmount': number;
1174
+ 'invoices': Array<CheckedInPlayer>;
1175
+ }
1176
+ /**
1177
+ *
1178
+ * @export
1179
+ * @interface CheckedInPlayer
1180
+ */
1181
+ export interface CheckedInPlayer {
1281
1182
  /**
1282
- * Sport le plus pratiqué dans le club courant
1183
+ * ID du joueur
1283
1184
  * @type {string}
1284
- * @memberof ClubPlayerStatisticsResponse
1185
+ * @memberof CheckedInPlayer
1285
1186
  */
1286
- 'favoriteSport': string | null;
1187
+ 'playerId': string;
1287
1188
  /**
1288
- * Temps moyen entre la réservation et le début du créneau (heures)
1289
- * @type {number}
1290
- * @memberof ClubPlayerStatisticsResponse
1189
+ * ID de la facture
1190
+ * @type {string}
1191
+ * @memberof CheckedInPlayer
1291
1192
  */
1292
- 'averageBookingLeadTimeHours': number | null;
1193
+ 'invoiceId': string;
1293
1194
  /**
1294
- * Taux d\'annulation dans le club courant (0-1)
1195
+ * Montant payé
1295
1196
  * @type {number}
1296
- * @memberof ClubPlayerStatisticsResponse
1197
+ * @memberof CheckedInPlayer
1297
1198
  */
1298
- 'bookingCancellationRate': number;
1199
+ 'amount': number;
1299
1200
  /**
1300
- * Nombre d\'abonnements actifs au club courant
1301
- * @type {number}
1302
- * @memberof ClubPlayerStatisticsResponse
1201
+ * Statut précédent (optionnel)
1202
+ * @type {string}
1203
+ * @memberof CheckedInPlayer
1303
1204
  */
1304
- 'activeSubscriptionsToMyClub': number;
1205
+ 'previousStatus'?: string;
1305
1206
  /**
1306
- * Heure de créneau favorite dans le club courant (format HH:00)
1207
+ * Nouveau statut (optionnel)
1307
1208
  * @type {string}
1308
- * @memberof ClubPlayerStatisticsResponse
1209
+ * @memberof CheckedInPlayer
1309
1210
  */
1310
- 'favoriteTimeSlot': string | null;
1211
+ 'newStatus'?: string;
1311
1212
  /**
1312
- *
1313
- * @type {ClubPlayerStatisticsResponseFavoriteClub}
1314
- * @memberof ClubPlayerStatisticsResponse
1213
+ * Statut actuel
1214
+ * @type {string}
1215
+ * @memberof CheckedInPlayer
1315
1216
  */
1316
- 'favoriteClub': ClubPlayerStatisticsResponseFavoriteClub | null;
1217
+ 'status'?: string;
1317
1218
  /**
1318
1219
  *
1319
- * @type {ClubPlayerStatisticsResponseMostPlayedClub}
1320
- * @memberof ClubPlayerStatisticsResponse
1321
- */
1322
- 'mostPlayedClub': ClubPlayerStatisticsResponseMostPlayedClub | null;
1323
- /**
1324
- * Évolution quotidienne des montants dépensés ce mois-ci
1325
- * @type {Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>}
1326
- * @memberof ClubPlayerStatisticsResponse
1220
+ * @type {PaymentMethod}
1221
+ * @memberof CheckedInPlayer
1327
1222
  */
1328
- 'bookingAmountEvolutionThisMonth': Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>;
1223
+ 'paymentMethod'?: PaymentMethod;
1329
1224
  /**
1330
- * Joueurs les plus joués dans le club courant
1331
- * @type {Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>}
1332
- * @memberof ClubPlayerStatisticsResponse
1225
+ * Note additionnelle
1226
+ * @type {string}
1227
+ * @memberof CheckedInPlayer
1333
1228
  */
1334
- 'mostPlayedPartners': Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>;
1229
+ 'note'?: string;
1335
1230
  }
1336
1231
  /**
1337
1232
  *
1338
1233
  * @export
1339
- * @interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1234
+ * @interface ClubMemberResponse
1340
1235
  */
1341
- export interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner {
1236
+ export interface ClubMemberResponse {
1342
1237
  /**
1343
1238
  *
1344
- * @type {number}
1345
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1239
+ * @type {ClubMemberResponseUser}
1240
+ * @memberof ClubMemberResponse
1346
1241
  */
1347
- 'amount': number;
1242
+ 'user': ClubMemberResponseUser;
1348
1243
  /**
1349
- *
1350
- * @type {number}
1351
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1244
+ * Rôle du membre dans le club
1245
+ * @type {string}
1246
+ * @memberof ClubMemberResponse
1247
+ */
1248
+ 'role': string;
1249
+ /**
1250
+ * Droits du membre dans le club
1251
+ * @type {Array<string>}
1252
+ * @memberof ClubMemberResponse
1352
1253
  */
1353
- 'day': number;
1254
+ 'rights': Array<string>;
1354
1255
  }
1355
1256
  /**
1356
- * Club favori selon le profil utilisateur
1257
+ * Utilisateur (membre)
1357
1258
  * @export
1358
- * @interface ClubPlayerStatisticsResponseFavoriteClub
1259
+ * @interface ClubMemberResponseUser
1359
1260
  */
1360
- export interface ClubPlayerStatisticsResponseFavoriteClub {
1261
+ export interface ClubMemberResponseUser {
1361
1262
  /**
1362
1263
  *
1363
1264
  * @type {string}
1364
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1265
+ * @memberof ClubMemberResponseUser
1365
1266
  */
1366
- 'name': string | null;
1267
+ 'email': string;
1367
1268
  /**
1368
1269
  *
1369
1270
  * @type {string}
1370
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1371
- */
1372
- 'clubId': string;
1373
- }
1374
- /**
1375
- * Club où le joueur a le plus joué
1376
- * @export
1377
- * @interface ClubPlayerStatisticsResponseMostPlayedClub
1378
- */
1379
- export interface ClubPlayerStatisticsResponseMostPlayedClub {
1380
- /**
1381
- *
1382
- * @type {number}
1383
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1271
+ * @memberof ClubMemberResponseUser
1384
1272
  */
1385
- 'bookingsCount': number;
1273
+ 'lastName': string;
1386
1274
  /**
1387
1275
  *
1388
1276
  * @type {string}
1389
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1277
+ * @memberof ClubMemberResponseUser
1390
1278
  */
1391
- 'name': string | null;
1279
+ 'firstName': string;
1392
1280
  /**
1393
1281
  *
1394
1282
  * @type {string}
1395
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1283
+ * @memberof ClubMemberResponseUser
1396
1284
  */
1397
- 'clubId': string;
1285
+ 'id': string;
1398
1286
  }
1399
1287
  /**
1400
1288
  *
1401
1289
  * @export
1402
- * @interface ClubPlayerStatisticsResponseMostPlayedPartnersInner
1290
+ * @interface ClubPlayerResponse
1403
1291
  */
1404
- export interface ClubPlayerStatisticsResponseMostPlayedPartnersInner {
1292
+ export interface ClubPlayerResponse {
1405
1293
  /**
1406
- *
1407
- * @type {number}
1408
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1294
+ * ID de l\'utilisateur
1295
+ * @type {string}
1296
+ * @memberof ClubPlayerResponse
1409
1297
  */
1410
- 'bookingsTogether': number;
1298
+ 'id': string;
1411
1299
  /**
1412
- *
1300
+ * Prénom
1413
1301
  * @type {string}
1414
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1302
+ * @memberof ClubPlayerResponse
1415
1303
  */
1416
- 'lastName': string | null;
1304
+ 'firstName': string;
1417
1305
  /**
1418
- *
1306
+ * Nom
1419
1307
  * @type {string}
1420
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1308
+ * @memberof ClubPlayerResponse
1421
1309
  */
1422
- 'firstName': string | null;
1310
+ 'lastName': string;
1423
1311
  /**
1424
- *
1312
+ * Genre
1425
1313
  * @type {string}
1426
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1314
+ * @memberof ClubPlayerResponse
1427
1315
  */
1428
- 'userId': string;
1429
- }
1430
- /**
1431
- *
1432
- * @export
1433
- * @interface ClubPlayerSubscriptionSummary
1434
- */
1435
- export interface ClubPlayerSubscriptionSummary {
1316
+ 'gender'?: string;
1436
1317
  /**
1437
- * ID du plan d\'abonnement
1318
+ * Email
1438
1319
  * @type {string}
1439
- * @memberof ClubPlayerSubscriptionSummary
1320
+ * @memberof ClubPlayerResponse
1440
1321
  */
1441
- 'id': string;
1322
+ 'email': string;
1442
1323
  /**
1443
- * Nom du plan
1324
+ * Photo de profil
1444
1325
  * @type {string}
1445
- * @memberof ClubPlayerSubscriptionSummary
1326
+ * @memberof ClubPlayerResponse
1446
1327
  */
1447
- 'name': string | null;
1328
+ 'profilePicture'?: string;
1448
1329
  /**
1449
- * Montant en centimes
1450
- * @type {number}
1451
- * @memberof ClubPlayerSubscriptionSummary
1330
+ * Compte vérifié
1331
+ * @type {boolean}
1332
+ * @memberof ClubPlayerResponse
1452
1333
  */
1453
- 'amountInCents': number | null;
1334
+ 'isAccountVerified': boolean;
1454
1335
  /**
1455
- * Devise
1456
- * @type {string}
1457
- * @memberof ClubPlayerSubscriptionSummary
1336
+ * Profil visible
1337
+ * @type {boolean}
1338
+ * @memberof ClubPlayerResponse
1458
1339
  */
1459
- 'currency': string | null;
1340
+ 'isProfileVisible': boolean;
1460
1341
  /**
1461
- * Intervalle de facturation
1462
- * @type {string}
1463
- * @memberof ClubPlayerSubscriptionSummary
1342
+ * Abonné au club
1343
+ * @type {boolean}
1344
+ * @memberof ClubPlayerResponse
1464
1345
  */
1465
- 'interval': string | null;
1346
+ 'isSubscribedToClub': boolean;
1466
1347
  }
1467
1348
  /**
1468
1349
  *
@@ -1554,6 +1435,30 @@ export interface ClubResponse {
1554
1435
  * @memberof ClubResponse
1555
1436
  */
1556
1437
  'sports'?: Array<string>;
1438
+ /**
1439
+ * Autoriser plusieurs réservations en même temps
1440
+ * @type {boolean}
1441
+ * @memberof ClubResponse
1442
+ */
1443
+ 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1444
+ /**
1445
+ * Limite de réservations simultanées (même créneau)
1446
+ * @type {number}
1447
+ * @memberof ClubResponse
1448
+ */
1449
+ 'sameTimeBookingsLimit'?: number | null;
1450
+ /**
1451
+ * Limite d\'annulation en heures
1452
+ * @type {number}
1453
+ * @memberof ClubResponse
1454
+ */
1455
+ 'cancellationLimitHours'?: number | null;
1456
+ /**
1457
+ * Nombre maximum de réservations par semaine
1458
+ * @type {number}
1459
+ * @memberof ClubResponse
1460
+ */
1461
+ 'maxWeeklyBookings'?: number | null;
1557
1462
  /**
1558
1463
  *
1559
1464
  * @type {ClubResponseCreatedAt}
@@ -1716,12 +1621,6 @@ export interface ClubSettingsResponse {
1716
1621
  * @memberof ClubSettingsResponse
1717
1622
  */
1718
1623
  'maxWeeklyBookings': number;
1719
- /**
1720
- * Autoriser plusieurs réservations en même temps
1721
- * @type {boolean}
1722
- * @memberof ClubSettingsResponse
1723
- */
1724
- 'allowMultipleBookingsAtTheSameTime': boolean;
1725
1624
  /**
1726
1625
  * Limite de réservations simultanées
1727
1626
  * @type {number}
@@ -1846,38 +1745,6 @@ export interface ClubUserCountResponse {
1846
1745
  */
1847
1746
  'count': number;
1848
1747
  }
1849
- /**
1850
- *
1851
- * @export
1852
- * @interface ConfirmPaymentMethodRequestBody
1853
- */
1854
- export interface ConfirmPaymentMethodRequestBody {
1855
- /**
1856
- *
1857
- * @type {string}
1858
- * @memberof ConfirmPaymentMethodRequestBody
1859
- */
1860
- 'setupIntentId': string;
1861
- }
1862
- /**
1863
- *
1864
- * @export
1865
- * @interface ConfirmPaymentMethodResponse
1866
- */
1867
- export interface ConfirmPaymentMethodResponse {
1868
- /**
1869
- *
1870
- * @type {string}
1871
- * @memberof ConfirmPaymentMethodResponse
1872
- */
1873
- 'message': string;
1874
- /**
1875
- *
1876
- * @type {string}
1877
- * @memberof ConfirmPaymentMethodResponse
1878
- */
1879
- 'paymentMethodId'?: string | null;
1880
- }
1881
1748
  /**
1882
1749
  *
1883
1750
  * @export
@@ -2036,10 +1903,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
2036
1903
  export interface CreateBookingRequest {
2037
1904
  /**
2038
1905
  * ID du créneau à réserver
2039
- * @type {string}
1906
+ * @type {Array<string>}
2040
1907
  * @memberof CreateBookingRequest
2041
1908
  */
2042
- 'slotId': string;
1909
+ 'slotIds': Array<string>;
2043
1910
  /**
2044
1911
  * Liste des joueurs avec leurs méthodes de paiement
2045
1912
  * @type {Array<PlayerWithPaymentMethod>}
@@ -2346,12 +2213,6 @@ export interface CreateEventRequest {
2346
2213
  * @memberof CreateEventRequest
2347
2214
  */
2348
2215
  'subscriberPrices'?: Array<SubscriberPrice>;
2349
- /**
2350
- *
2351
- * @type {Array<number>}
2352
- * @memberof CreateEventRequest
2353
- */
2354
- 'levels'?: Array<number>;
2355
2216
  /**
2356
2217
  *
2357
2218
  * @type {string}
@@ -3468,24 +3329,12 @@ export interface IUserAttributes {
3468
3329
  * @memberof IUserAttributes
3469
3330
  */
3470
3331
  'isAccountVerified': boolean;
3471
- /**
3472
- *
3473
- * @type {boolean}
3474
- * @memberof IUserAttributes
3475
- */
3476
- 'isCreditCardRegistered'?: boolean;
3477
3332
  /**
3478
3333
  *
3479
3334
  * @type {Array<ILevelBySports>}
3480
3335
  * @memberof IUserAttributes
3481
3336
  */
3482
3337
  'levelBySports'?: Array<ILevelBySports>;
3483
- /**
3484
- *
3485
- * @type {string}
3486
- * @memberof IUserAttributes
3487
- */
3488
- 'stripeCustomerId'?: string;
3489
3338
  /**
3490
3339
  *
3491
3340
  * @type {string}
@@ -3515,73 +3364,49 @@ export interface IUserAttributes {
3515
3364
  * @type {string}
3516
3365
  * @memberof IUserAttributes
3517
3366
  */
3518
- 'resetPasswordExpires'?: string;
3519
- /**
3520
- *
3521
- * @type {string}
3522
- * @memberof IUserAttributes
3523
- */
3524
- 'emailVerificationToken'?: string;
3525
- /**
3526
- *
3527
- * @type {string}
3528
- * @memberof IUserAttributes
3529
- */
3530
- 'emailVerificationExpires'?: string;
3531
- /**
3532
- *
3533
- * @type {Array<IUserAttributesOrganizationsInner>}
3534
- * @memberof IUserAttributes
3535
- */
3536
- 'organizations'?: Array<IUserAttributesOrganizationsInner>;
3537
- /**
3538
- *
3539
- * @type {boolean}
3540
- * @memberof IUserAttributes
3541
- */
3542
- 'isAdmin': boolean;
3367
+ 'resetPasswordExpires'?: string;
3543
3368
  /**
3544
3369
  *
3545
3370
  * @type {string}
3546
3371
  * @memberof IUserAttributes
3547
3372
  */
3548
- 'createdAt': string;
3373
+ 'emailVerificationToken'?: string;
3549
3374
  /**
3550
3375
  *
3551
3376
  * @type {string}
3552
3377
  * @memberof IUserAttributes
3553
3378
  */
3554
- 'updatedAt': string;
3379
+ 'emailVerificationExpires'?: string;
3555
3380
  /**
3556
3381
  *
3557
- * @type {boolean}
3382
+ * @type {Array<IUserAttributesOrganizationsInner>}
3558
3383
  * @memberof IUserAttributes
3559
3384
  */
3560
- 'isLevelCertified'?: boolean;
3385
+ 'organizations'?: Array<IUserAttributesOrganizationsInner>;
3561
3386
  /**
3562
3387
  *
3563
- * @type {Array<string>}
3388
+ * @type {boolean}
3564
3389
  * @memberof IUserAttributes
3565
3390
  */
3566
- 'paymentMethods'?: Array<string>;
3391
+ 'isAdmin': boolean;
3567
3392
  /**
3568
3393
  *
3569
3394
  * @type {string}
3570
3395
  * @memberof IUserAttributes
3571
3396
  */
3572
- 'defaultPaymentMethodId'?: string;
3397
+ 'createdAt': string;
3573
3398
  /**
3574
3399
  *
3575
- * @type {boolean}
3400
+ * @type {string}
3576
3401
  * @memberof IUserAttributes
3577
3402
  */
3578
- 'paymentMethodSetupCompleted': boolean;
3403
+ 'updatedAt': string;
3579
3404
  /**
3580
3405
  *
3581
- * @type {string}
3406
+ * @type {boolean}
3582
3407
  * @memberof IUserAttributes
3583
3408
  */
3584
- 'setupIntentId'?: string;
3409
+ 'isLevelCertified'?: boolean;
3585
3410
  /**
3586
3411
  *
3587
3412
  * @type {Array<string>}
@@ -3614,6 +3439,12 @@ export interface IUserAttributes {
3614
3439
  'sports'?: {
3615
3440
  [key: string]: any;
3616
3441
  };
3442
+ /**
3443
+ *
3444
+ * @type {string}
3445
+ * @memberof IUserAttributes
3446
+ */
3447
+ 'stripeCustomerId'?: string;
3617
3448
  }
3618
3449
  /**
3619
3450
  *
@@ -3770,6 +3601,22 @@ export interface InvoiceInfo {
3770
3601
  */
3771
3602
  'status': string;
3772
3603
  }
3604
+ /**
3605
+ *
3606
+ * @export
3607
+ * @enum {string}
3608
+ */
3609
+ export declare const InvoiceStatus: {
3610
+ readonly SetupPending: "setup_pending";
3611
+ readonly SetupSuccess: "setup_success";
3612
+ readonly Pending: "pending";
3613
+ readonly Paid: "paid";
3614
+ readonly Failed: "failed";
3615
+ readonly Authorized: "authorized";
3616
+ readonly Canceled: "canceled";
3617
+ readonly Expired: "expired";
3618
+ };
3619
+ export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
3773
3620
  /**
3774
3621
  *
3775
3622
  * @export
@@ -4160,6 +4007,30 @@ export interface PartialClubResponse {
4160
4007
  * @memberof PartialClubResponse
4161
4008
  */
4162
4009
  'sports'?: Array<string>;
4010
+ /**
4011
+ * Autoriser plusieurs réservations en même temps
4012
+ * @type {boolean}
4013
+ * @memberof PartialClubResponse
4014
+ */
4015
+ 'allowMultipleBookingsAtTheSameTime'?: boolean;
4016
+ /**
4017
+ * Limite de réservations simultanées (même créneau)
4018
+ * @type {number}
4019
+ * @memberof PartialClubResponse
4020
+ */
4021
+ 'sameTimeBookingsLimit'?: number;
4022
+ /**
4023
+ * Limite d\'annulation en heures
4024
+ * @type {number}
4025
+ * @memberof PartialClubResponse
4026
+ */
4027
+ 'cancellationLimitHours'?: number;
4028
+ /**
4029
+ * Nombre maximum de réservations par semaine
4030
+ * @type {number}
4031
+ * @memberof PartialClubResponse
4032
+ */
4033
+ 'maxWeeklyBookings'?: number;
4163
4034
  /**
4164
4035
  *
4165
4036
  * @type {ClubResponseCreatedAt}
@@ -4216,31 +4087,6 @@ export declare const PaymentMethod: {
4216
4087
  readonly Free: "free";
4217
4088
  };
4218
4089
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
4219
- /**
4220
- *
4221
- * @export
4222
- * @interface PaymentMethodSetupResponse
4223
- */
4224
- export interface PaymentMethodSetupResponse {
4225
- /**
4226
- *
4227
- * @type {string}
4228
- * @memberof PaymentMethodSetupResponse
4229
- */
4230
- 'message': string;
4231
- /**
4232
- *
4233
- * @type {Array<string>}
4234
- * @memberof PaymentMethodSetupResponse
4235
- */
4236
- 'paymentMethods': Array<string>;
4237
- /**
4238
- *
4239
- * @type {string}
4240
- * @memberof PaymentMethodSetupResponse
4241
- */
4242
- 'defaultPaymentMethodId'?: string | null;
4243
- }
4244
4090
  /**
4245
4091
  * From T, pick a set of properties whose keys are in the union K
4246
4092
  * @export
@@ -4485,6 +4331,49 @@ export interface PlayerPaymentInfo {
4485
4331
  */
4486
4332
  'needsCheckIn': boolean;
4487
4333
  }
4334
+ /**
4335
+ *
4336
+ * @export
4337
+ * @interface PlayerPrice
4338
+ */
4339
+ export interface PlayerPrice {
4340
+ /**
4341
+ *
4342
+ * @type {string}
4343
+ * @memberof PlayerPrice
4344
+ */
4345
+ 'playerId': string;
4346
+ /**
4347
+ *
4348
+ * @type {string}
4349
+ * @memberof PlayerPrice
4350
+ */
4351
+ 'firstName'?: string;
4352
+ /**
4353
+ *
4354
+ * @type {string}
4355
+ * @memberof PlayerPrice
4356
+ */
4357
+ 'lastName'?: string;
4358
+ /**
4359
+ *
4360
+ * @type {Array<SubscriptionInfo>}
4361
+ * @memberof PlayerPrice
4362
+ */
4363
+ 'subscriptions': Array<SubscriptionInfo>;
4364
+ /**
4365
+ *
4366
+ * @type {number}
4367
+ * @memberof PlayerPrice
4368
+ */
4369
+ 'creditAvailablesInCents'?: number;
4370
+ /**
4371
+ *
4372
+ * @type {number}
4373
+ * @memberof PlayerPrice
4374
+ */
4375
+ 'price': number;
4376
+ }
4488
4377
  /**
4489
4378
  *
4490
4379
  * @export
@@ -4750,6 +4639,25 @@ export interface PublishEventResponse {
4750
4639
  */
4751
4640
  'event': EventResponse;
4752
4641
  }
4642
+ /**
4643
+ *
4644
+ * @export
4645
+ * @interface QuickReservationClubSport
4646
+ */
4647
+ export interface QuickReservationClubSport {
4648
+ /**
4649
+ * ID du sport
4650
+ * @type {string}
4651
+ * @memberof QuickReservationClubSport
4652
+ */
4653
+ 'id': string;
4654
+ /**
4655
+ * Clé du sport
4656
+ * @type {string}
4657
+ * @memberof QuickReservationClubSport
4658
+ */
4659
+ 'key'?: string;
4660
+ }
4753
4661
  /**
4754
4662
  *
4755
4663
  * @export
@@ -4768,6 +4676,12 @@ export interface QuickReservationClubSummary {
4768
4676
  * @memberof QuickReservationClubSummary
4769
4677
  */
4770
4678
  'clubName': string;
4679
+ /**
4680
+ * Description du club
4681
+ * @type {string}
4682
+ * @memberof QuickReservationClubSummary
4683
+ */
4684
+ 'description'?: string;
4771
4685
  /**
4772
4686
  * Distance par rapport à la recherche, en mètres
4773
4687
  * @type {number}
@@ -4786,6 +4700,12 @@ export interface QuickReservationClubSummary {
4786
4700
  * @memberof QuickReservationClubSummary
4787
4701
  */
4788
4702
  'slots': Array<QuickReservationSlotSummary>;
4703
+ /**
4704
+ * Sports disponibles dans le club
4705
+ * @type {Array<QuickReservationClubSport>}
4706
+ * @memberof QuickReservationClubSummary
4707
+ */
4708
+ 'sports'?: Array<QuickReservationClubSport>;
4789
4709
  }
4790
4710
  /**
4791
4711
  * Localisation du club
@@ -5176,44 +5096,6 @@ export interface ResetPasswordRequest {
5176
5096
  */
5177
5097
  'token'?: string;
5178
5098
  }
5179
- /**
5180
- *
5181
- * @export
5182
- * @interface SetupPaymentMethodRequestBody
5183
- */
5184
- export interface SetupPaymentMethodRequestBody {
5185
- /**
5186
- *
5187
- * @type {string}
5188
- * @memberof SetupPaymentMethodRequestBody
5189
- */
5190
- 'clubId': string;
5191
- }
5192
- /**
5193
- *
5194
- * @export
5195
- * @interface SetupPaymentMethodResponse
5196
- */
5197
- export interface SetupPaymentMethodResponse {
5198
- /**
5199
- *
5200
- * @type {string}
5201
- * @memberof SetupPaymentMethodResponse
5202
- */
5203
- 'setupIntentId': string;
5204
- /**
5205
- *
5206
- * @type {string}
5207
- * @memberof SetupPaymentMethodResponse
5208
- */
5209
- 'clientSecret': string;
5210
- /**
5211
- *
5212
- * @type {string}
5213
- * @memberof SetupPaymentMethodResponse
5214
- */
5215
- 'message': string;
5216
- }
5217
5099
  /**
5218
5100
  *
5219
5101
  * @export
@@ -5243,7 +5125,7 @@ export interface SlotInfo {
5243
5125
  * @type {CourtInfo}
5244
5126
  * @memberof SlotInfo
5245
5127
  */
5246
- 'court': CourtInfo;
5128
+ 'courtId': CourtInfo;
5247
5129
  }
5248
5130
  /**
5249
5131
  *
@@ -5484,24 +5366,12 @@ export interface StaffUserProfileResponse {
5484
5366
  * @memberof StaffUserProfileResponse
5485
5367
  */
5486
5368
  'isAccountVerified': boolean;
5487
- /**
5488
- *
5489
- * @type {boolean}
5490
- * @memberof StaffUserProfileResponse
5491
- */
5492
- 'isCreditCardRegistered'?: boolean;
5493
5369
  /**
5494
5370
  *
5495
5371
  * @type {Array<ILevelBySports>}
5496
5372
  * @memberof StaffUserProfileResponse
5497
5373
  */
5498
5374
  'levelBySports'?: Array<ILevelBySports>;
5499
- /**
5500
- *
5501
- * @type {string}
5502
- * @memberof StaffUserProfileResponse
5503
- */
5504
- 'stripeCustomerId'?: string;
5505
5375
  /**
5506
5376
  *
5507
5377
  * @type {string}
@@ -5574,30 +5444,6 @@ export interface StaffUserProfileResponse {
5574
5444
  * @memberof StaffUserProfileResponse
5575
5445
  */
5576
5446
  'isLevelCertified'?: boolean;
5577
- /**
5578
- *
5579
- * @type {Array<string>}
5580
- * @memberof StaffUserProfileResponse
5581
- */
5582
- 'paymentMethods'?: Array<string>;
5583
- /**
5584
- *
5585
- * @type {string}
5586
- * @memberof StaffUserProfileResponse
5587
- */
5588
- 'defaultPaymentMethodId'?: string;
5589
- /**
5590
- *
5591
- * @type {boolean}
5592
- * @memberof StaffUserProfileResponse
5593
- */
5594
- 'paymentMethodSetupCompleted': boolean;
5595
- /**
5596
- *
5597
- * @type {string}
5598
- * @memberof StaffUserProfileResponse
5599
- */
5600
- 'setupIntentId'?: string;
5601
5447
  /**
5602
5448
  *
5603
5449
  * @type {Array<string>}
@@ -5630,6 +5476,12 @@ export interface StaffUserProfileResponse {
5630
5476
  'sports'?: {
5631
5477
  [key: string]: any;
5632
5478
  };
5479
+ /**
5480
+ *
5481
+ * @type {string}
5482
+ * @memberof StaffUserProfileResponse
5483
+ */
5484
+ 'stripeCustomerId'?: string;
5633
5485
  /**
5634
5486
  *
5635
5487
  * @type {boolean}
@@ -6873,6 +6725,12 @@ export interface SubscribeRequestBody {
6873
6725
  * @memberof SubscribeRequestBody
6874
6726
  */
6875
6727
  'priceId': string;
6728
+ /**
6729
+ *
6730
+ * @type {boolean}
6731
+ * @memberof SubscribeRequestBody
6732
+ */
6733
+ 'useDefaultPaymentMethod'?: boolean;
6876
6734
  }
6877
6735
  /**
6878
6736
  *
@@ -6893,6 +6751,31 @@ export interface SubscriberPrice {
6893
6751
  */
6894
6752
  'amount': number;
6895
6753
  }
6754
+ /**
6755
+ *
6756
+ * @export
6757
+ * @interface SubscriptionInfo
6758
+ */
6759
+ export interface SubscriptionInfo {
6760
+ /**
6761
+ *
6762
+ * @type {string}
6763
+ * @memberof SubscriptionInfo
6764
+ */
6765
+ 'subscriptionPlanName'?: string;
6766
+ /**
6767
+ *
6768
+ * @type {string}
6769
+ * @memberof SubscriptionInfo
6770
+ */
6771
+ 'subscriptionDescription'?: string;
6772
+ /**
6773
+ *
6774
+ * @type {number}
6775
+ * @memberof SubscriptionInfo
6776
+ */
6777
+ 'reducedAmountInCents'?: number;
6778
+ }
6896
6779
  /**
6897
6780
  *
6898
6781
  * @export
@@ -7531,6 +7414,43 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
7531
7414
  */
7532
7415
  'sport': string;
7533
7416
  }
7417
+ /**
7418
+ *
7419
+ * @export
7420
+ * @interface UserBookingsResponse
7421
+ */
7422
+ export interface UserBookingsResponse {
7423
+ /**
7424
+ *
7425
+ * @type {number}
7426
+ * @memberof UserBookingsResponse
7427
+ */
7428
+ 'total': number;
7429
+ /**
7430
+ *
7431
+ * @type {number}
7432
+ * @memberof UserBookingsResponse
7433
+ */
7434
+ 'limit': number;
7435
+ /**
7436
+ *
7437
+ * @type {number}
7438
+ * @memberof UserBookingsResponse
7439
+ */
7440
+ 'skip': number;
7441
+ /**
7442
+ *
7443
+ * @type {boolean}
7444
+ * @memberof UserBookingsResponse
7445
+ */
7446
+ 'hasMore': boolean;
7447
+ /**
7448
+ *
7449
+ * @type {Array<BookingSummary>}
7450
+ * @memberof UserBookingsResponse
7451
+ */
7452
+ 'bookings': Array<BookingSummary>;
7453
+ }
7534
7454
  /**
7535
7455
  *
7536
7456
  * @export
@@ -7794,24 +7714,12 @@ export interface UserProfileResponse {
7794
7714
  * @memberof UserProfileResponse
7795
7715
  */
7796
7716
  'isAccountVerified': boolean;
7797
- /**
7798
- *
7799
- * @type {boolean}
7800
- * @memberof UserProfileResponse
7801
- */
7802
- 'isCreditCardRegistered'?: boolean;
7803
7717
  /**
7804
7718
  *
7805
7719
  * @type {Array<ILevelBySports>}
7806
7720
  * @memberof UserProfileResponse
7807
7721
  */
7808
7722
  'levelBySports'?: Array<ILevelBySports>;
7809
- /**
7810
- *
7811
- * @type {string}
7812
- * @memberof UserProfileResponse
7813
- */
7814
- 'stripeCustomerId'?: string;
7815
7723
  /**
7816
7724
  *
7817
7725
  * @type {string}
@@ -7884,30 +7792,6 @@ export interface UserProfileResponse {
7884
7792
  * @memberof UserProfileResponse
7885
7793
  */
7886
7794
  'isLevelCertified'?: boolean;
7887
- /**
7888
- *
7889
- * @type {Array<string>}
7890
- * @memberof UserProfileResponse
7891
- */
7892
- 'paymentMethods'?: Array<string>;
7893
- /**
7894
- *
7895
- * @type {string}
7896
- * @memberof UserProfileResponse
7897
- */
7898
- 'defaultPaymentMethodId'?: string;
7899
- /**
7900
- *
7901
- * @type {boolean}
7902
- * @memberof UserProfileResponse
7903
- */
7904
- 'paymentMethodSetupCompleted': boolean;
7905
- /**
7906
- *
7907
- * @type {string}
7908
- * @memberof UserProfileResponse
7909
- */
7910
- 'setupIntentId'?: string;
7911
7795
  /**
7912
7796
  *
7913
7797
  * @type {Array<string>}
@@ -7940,6 +7824,12 @@ export interface UserProfileResponse {
7940
7824
  'sports'?: {
7941
7825
  [key: string]: any;
7942
7826
  };
7827
+ /**
7828
+ *
7829
+ * @type {string}
7830
+ * @memberof UserProfileResponse
7831
+ */
7832
+ 'stripeCustomerId'?: string;
7943
7833
  /**
7944
7834
  *
7945
7835
  * @type {number}
@@ -7978,6 +7868,12 @@ export interface UserProfileResponse {
7978
7868
  'stripeLinks'?: {
7979
7869
  [key: string]: any;
7980
7870
  };
7871
+ /**
7872
+ *
7873
+ * @type {Array<SportResponse>}
7874
+ * @memberof UserProfileResponse
7875
+ */
7876
+ 'verifiedSports'?: Array<SportResponse>;
7981
7877
  }
7982
7878
  /**
7983
7879
  *
@@ -8063,6 +7959,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
8063
7959
  * @throws {RequiredError}
8064
7960
  */
8065
7961
  getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7962
+ /**
7963
+ *
7964
+ * @param {BookingPriceBody} bookingPriceBody
7965
+ * @param {*} [options] Override http request option.
7966
+ * @throws {RequiredError}
7967
+ */
7968
+ getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8066
7969
  /**
8067
7970
  * Recherche des créneaux disponibles pour une réservation rapide
8068
7971
  * @param {number} [latitude]
@@ -8073,12 +7976,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
8073
7976
  * @param {string} [startTime]
8074
7977
  * @param {number} [priceMax]
8075
7978
  * @param {string} [courtTypes]
7979
+ * @param {string} [surfaceTypes]
8076
7980
  * @param {number} [limitPerClub]
8077
7981
  * @param {number} [maxClubs]
8078
7982
  * @param {*} [options] Override http request option.
8079
7983
  * @throws {RequiredError}
8080
7984
  */
8081
- 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>;
7985
+ 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>;
8082
7986
  };
8083
7987
  /**
8084
7988
  * BookingsApi - functional programming interface
@@ -8092,6 +7996,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
8092
7996
  * @throws {RequiredError}
8093
7997
  */
8094
7998
  getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
7999
+ /**
8000
+ *
8001
+ * @param {BookingPriceBody} bookingPriceBody
8002
+ * @param {*} [options] Override http request option.
8003
+ * @throws {RequiredError}
8004
+ */
8005
+ getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>>;
8095
8006
  /**
8096
8007
  * Recherche des créneaux disponibles pour une réservation rapide
8097
8008
  * @param {number} [latitude]
@@ -8102,12 +8013,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
8102
8013
  * @param {string} [startTime]
8103
8014
  * @param {number} [priceMax]
8104
8015
  * @param {string} [courtTypes]
8016
+ * @param {string} [surfaceTypes]
8105
8017
  * @param {number} [limitPerClub]
8106
8018
  * @param {number} [maxClubs]
8107
8019
  * @param {*} [options] Override http request option.
8108
8020
  * @throws {RequiredError}
8109
8021
  */
8110
- 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>>;
8022
+ 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>>;
8111
8023
  };
8112
8024
  /**
8113
8025
  * BookingsApi - factory interface
@@ -8121,6 +8033,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
8121
8033
  * @throws {RequiredError}
8122
8034
  */
8123
8035
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
8036
+ /**
8037
+ *
8038
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8039
+ * @param {*} [options] Override http request option.
8040
+ * @throws {RequiredError}
8041
+ */
8042
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>>;
8124
8043
  /**
8125
8044
  * Recherche des créneaux disponibles pour une réservation rapide
8126
8045
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8142,6 +8061,19 @@ export interface BookingsApiGetBookingHistoryRequest {
8142
8061
  */
8143
8062
  readonly bookingId: string;
8144
8063
  }
8064
+ /**
8065
+ * Request parameters for getBookingPrice operation in BookingsApi.
8066
+ * @export
8067
+ * @interface BookingsApiGetBookingPriceRequest
8068
+ */
8069
+ export interface BookingsApiGetBookingPriceRequest {
8070
+ /**
8071
+ *
8072
+ * @type {BookingPriceBody}
8073
+ * @memberof BookingsApiGetBookingPrice
8074
+ */
8075
+ readonly bookingPriceBody: BookingPriceBody;
8076
+ }
8145
8077
  /**
8146
8078
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
8147
8079
  * @export
@@ -8196,6 +8128,12 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
8196
8128
  * @memberof BookingsApiGetQuickReservationSlots
8197
8129
  */
8198
8130
  readonly courtTypes?: string;
8131
+ /**
8132
+ *
8133
+ * @type {string}
8134
+ * @memberof BookingsApiGetQuickReservationSlots
8135
+ */
8136
+ readonly surfaceTypes?: string;
8199
8137
  /**
8200
8138
  *
8201
8139
  * @type {number}
@@ -8224,6 +8162,14 @@ export declare class BookingsApi extends BaseAPI {
8224
8162
  * @memberof BookingsApi
8225
8163
  */
8226
8164
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
8165
+ /**
8166
+ *
8167
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8168
+ * @param {*} [options] Override http request option.
8169
+ * @throws {RequiredError}
8170
+ * @memberof BookingsApi
8171
+ */
8172
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerPrice[], any, {}>>;
8227
8173
  /**
8228
8174
  * Recherche des créneaux disponibles pour une réservation rapide
8229
8175
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8835,27 +8781,6 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
8835
8781
  * @throws {RequiredError}
8836
8782
  */
8837
8783
  getAnalyticsBySport: (sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8838
- /**
8839
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
8840
- * @param {string} playerId
8841
- * @param {*} [options] Override http request option.
8842
- * @throws {RequiredError}
8843
- */
8844
- getClubPlayerBookingsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8845
- /**
8846
- * Récupère les informations détaillées d\'un joueur par son ID
8847
- * @param {string} playerId
8848
- * @param {*} [options] Override http request option.
8849
- * @throws {RequiredError}
8850
- */
8851
- getClubPlayerById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8852
- /**
8853
- * Récupère les statistiques d\'un joueur pour le staff
8854
- * @param {string} playerId
8855
- * @param {*} [options] Override http request option.
8856
- * @throws {RequiredError}
8857
- */
8858
- getClubPlayerStatisticsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8859
8784
  /**
8860
8785
  * Récupère la liste des joueurs du club
8861
8786
  * @param {*} [options] Override http request option.
@@ -8929,27 +8854,6 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
8929
8854
  * @throws {RequiredError}
8930
8855
  */
8931
8856
  getAnalyticsBySport(sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportAnalyticsResponse>>;
8932
- /**
8933
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
8934
- * @param {string} playerId
8935
- * @param {*} [options] Override http request option.
8936
- * @throws {RequiredError}
8937
- */
8938
- getClubPlayerBookingsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>>;
8939
- /**
8940
- * Récupère les informations détaillées d\'un joueur par son ID
8941
- * @param {string} playerId
8942
- * @param {*} [options] Override http request option.
8943
- * @throws {RequiredError}
8944
- */
8945
- getClubPlayerById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerDetailResponse>>;
8946
- /**
8947
- * Récupère les statistiques d\'un joueur pour le staff
8948
- * @param {string} playerId
8949
- * @param {*} [options] Override http request option.
8950
- * @throws {RequiredError}
8951
- */
8952
- getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>>;
8953
8857
  /**
8954
8858
  * Récupère la liste des joueurs du club
8955
8859
  * @param {*} [options] Override http request option.
@@ -9023,27 +8927,6 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
9023
8927
  * @throws {RequiredError}
9024
8928
  */
9025
8929
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse>;
9026
- /**
9027
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
9028
- * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
9029
- * @param {*} [options] Override http request option.
9030
- * @throws {RequiredError}
9031
- */
9032
- getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse>;
9033
- /**
9034
- * Récupère les informations détaillées d\'un joueur par son ID
9035
- * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
9036
- * @param {*} [options] Override http request option.
9037
- * @throws {RequiredError}
9038
- */
9039
- getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerDetailResponse>;
9040
- /**
9041
- * Récupère les statistiques d\'un joueur pour le staff
9042
- * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
9043
- * @param {*} [options] Override http request option.
9044
- * @throws {RequiredError}
9045
- */
9046
- getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse>;
9047
8930
  /**
9048
8931
  * Récupère la liste des joueurs du club
9049
8932
  * @param {*} [options] Override http request option.
@@ -9116,45 +8999,6 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
9116
8999
  */
9117
9000
  readonly sportId: string;
9118
9001
  }
9119
- /**
9120
- * Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
9121
- * @export
9122
- * @interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest
9123
- */
9124
- export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
9125
- /**
9126
- *
9127
- * @type {string}
9128
- * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
9129
- */
9130
- readonly playerId: string;
9131
- }
9132
- /**
9133
- * Request parameters for getClubPlayerById operation in ClubAnalyticsStaffApi.
9134
- * @export
9135
- * @interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest
9136
- */
9137
- export interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest {
9138
- /**
9139
- *
9140
- * @type {string}
9141
- * @memberof ClubAnalyticsStaffApiGetClubPlayerById
9142
- */
9143
- readonly playerId: string;
9144
- }
9145
- /**
9146
- * Request parameters for getClubPlayerStatisticsById operation in ClubAnalyticsStaffApi.
9147
- * @export
9148
- * @interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest
9149
- */
9150
- export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
9151
- /**
9152
- *
9153
- * @type {string}
9154
- * @memberof ClubAnalyticsStaffApiGetClubPlayerStatisticsById
9155
- */
9156
- readonly playerId: string;
9157
- }
9158
9002
  /**
9159
9003
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
9160
9004
  * @export
@@ -9234,30 +9078,6 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
9234
9078
  * @memberof ClubAnalyticsStaffApi
9235
9079
  */
9236
9080
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportAnalyticsResponse, any, {}>>;
9237
- /**
9238
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
9239
- * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
9240
- * @param {*} [options] Override http request option.
9241
- * @throws {RequiredError}
9242
- * @memberof ClubAnalyticsStaffApi
9243
- */
9244
- getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerBookingsResponse, any, {}>>;
9245
- /**
9246
- * Récupère les informations détaillées d\'un joueur par son ID
9247
- * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
9248
- * @param {*} [options] Override http request option.
9249
- * @throws {RequiredError}
9250
- * @memberof ClubAnalyticsStaffApi
9251
- */
9252
- getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerDetailResponse, any, {}>>;
9253
- /**
9254
- * Récupère les statistiques d\'un joueur pour le staff
9255
- * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
9256
- * @param {*} [options] Override http request option.
9257
- * @throws {RequiredError}
9258
- * @memberof ClubAnalyticsStaffApi
9259
- */
9260
- getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerStatisticsResponse, any, {}>>;
9261
9081
  /**
9262
9082
  * Récupère la liste des joueurs du club
9263
9083
  * @param {*} [options] Override http request option.
@@ -12047,6 +11867,57 @@ export declare class SportsManagerApi extends BaseAPI {
12047
11867
  */
12048
11868
  updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse, any, {}>>;
12049
11869
  }
11870
+ /**
11871
+ * SportsPublicApi - axios parameter creator
11872
+ * @export
11873
+ */
11874
+ export declare const SportsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
11875
+ /**
11876
+ * Récupère tous les sports vérifiés, accessibles publiquement
11877
+ * @param {*} [options] Override http request option.
11878
+ * @throws {RequiredError}
11879
+ */
11880
+ getVerifiedSports: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11881
+ };
11882
+ /**
11883
+ * SportsPublicApi - functional programming interface
11884
+ * @export
11885
+ */
11886
+ export declare const SportsPublicApiFp: (configuration?: Configuration) => {
11887
+ /**
11888
+ * Récupère tous les sports vérifiés, accessibles publiquement
11889
+ * @param {*} [options] Override http request option.
11890
+ * @throws {RequiredError}
11891
+ */
11892
+ getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>>;
11893
+ };
11894
+ /**
11895
+ * SportsPublicApi - factory interface
11896
+ * @export
11897
+ */
11898
+ export declare const SportsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11899
+ /**
11900
+ * Récupère tous les sports vérifiés, accessibles publiquement
11901
+ * @param {*} [options] Override http request option.
11902
+ * @throws {RequiredError}
11903
+ */
11904
+ getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>>;
11905
+ };
11906
+ /**
11907
+ * SportsPublicApi - object-oriented interface
11908
+ * @export
11909
+ * @class SportsPublicApi
11910
+ * @extends {BaseAPI}
11911
+ */
11912
+ export declare class SportsPublicApi extends BaseAPI {
11913
+ /**
11914
+ * Récupère tous les sports vérifiés, accessibles publiquement
11915
+ * @param {*} [options] Override http request option.
11916
+ * @throws {RequiredError}
11917
+ * @memberof SportsPublicApi
11918
+ */
11919
+ getVerifiedSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse[], any, {}>>;
11920
+ }
12050
11921
  /**
12051
11922
  * SportsStaffApi - axios parameter creator
12052
11923
  * @export
@@ -12588,13 +12459,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12588
12459
  * @throws {RequiredError}
12589
12460
  */
12590
12461
  addOrganization: (addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12591
- /**
12592
- *
12593
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
12594
- * @param {*} [options] Override http request option.
12595
- * @throws {RequiredError}
12596
- */
12597
- addPaymentMethodSetup: (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12598
12462
  /**
12599
12463
  *
12600
12464
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -12602,13 +12466,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12602
12466
  * @throws {RequiredError}
12603
12467
  */
12604
12468
  changePassword: (changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12605
- /**
12606
- *
12607
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
12608
- * @param {*} [options] Override http request option.
12609
- * @throws {RequiredError}
12610
- */
12611
- confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12612
12469
  /**
12613
12470
  *
12614
12471
  * @param {*} [options] Override http request option.
@@ -12787,13 +12644,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12787
12644
  * @throws {RequiredError}
12788
12645
  */
12789
12646
  resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12790
- /**
12791
- *
12792
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
12793
- * @param {*} [options] Override http request option.
12794
- * @throws {RequiredError}
12795
- */
12796
- setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12797
12647
  /**
12798
12648
  *
12799
12649
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -12870,13 +12720,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12870
12720
  * @throws {RequiredError}
12871
12721
  */
12872
12722
  addOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
12873
- /**
12874
- *
12875
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
12876
- * @param {*} [options] Override http request option.
12877
- * @throws {RequiredError}
12878
- */
12879
- addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>>;
12880
12723
  /**
12881
12724
  *
12882
12725
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -12884,13 +12727,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12884
12727
  * @throws {RequiredError}
12885
12728
  */
12886
12729
  changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>>;
12887
- /**
12888
- *
12889
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
12890
- * @param {*} [options] Override http request option.
12891
- * @throws {RequiredError}
12892
- */
12893
- confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>>;
12894
12730
  /**
12895
12731
  *
12896
12732
  * @param {*} [options] Override http request option.
@@ -12903,7 +12739,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12903
12739
  * @param {*} [options] Override http request option.
12904
12740
  * @throws {RequiredError}
12905
12741
  */
12906
- getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingDetailResponse>>;
12742
+ getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>>;
12907
12743
  /**
12908
12744
  *
12909
12745
  * @param {*} [options] Override http request option.
@@ -12991,7 +12827,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12991
12827
  * @param {*} [options] Override http request option.
12992
12828
  * @throws {RequiredError}
12993
12829
  */
12994
- getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingSummary>>>;
12830
+ getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
12995
12831
  /**
12996
12832
  *
12997
12833
  * @param {string} id
@@ -13077,13 +12913,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
13077
12913
  * @throws {RequiredError}
13078
12914
  */
13079
12915
  resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
13080
- /**
13081
- *
13082
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
13083
- * @param {*} [options] Override http request option.
13084
- * @throws {RequiredError}
13085
- */
13086
- setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>>;
13087
12916
  /**
13088
12917
  *
13089
12918
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -13160,13 +12989,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13160
12989
  * @throws {RequiredError}
13161
12990
  */
13162
12991
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
13163
- /**
13164
- *
13165
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
13166
- * @param {*} [options] Override http request option.
13167
- * @throws {RequiredError}
13168
- */
13169
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse>;
13170
12992
  /**
13171
12993
  *
13172
12994
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -13174,13 +12996,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13174
12996
  * @throws {RequiredError}
13175
12997
  */
13176
12998
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse>;
13177
- /**
13178
- *
13179
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
13180
- * @param {*} [options] Override http request option.
13181
- * @throws {RequiredError}
13182
- */
13183
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse>;
13184
12999
  /**
13185
13000
  *
13186
13001
  * @param {*} [options] Override http request option.
@@ -13193,7 +13008,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13193
13008
  * @param {*} [options] Override http request option.
13194
13009
  * @throws {RequiredError}
13195
13010
  */
13196
- getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingDetailResponse>;
13011
+ getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary>;
13197
13012
  /**
13198
13013
  *
13199
13014
  * @param {*} [options] Override http request option.
@@ -13272,7 +13087,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13272
13087
  * @param {*} [options] Override http request option.
13273
13088
  * @throws {RequiredError}
13274
13089
  */
13275
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingSummary>>;
13090
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
13276
13091
  /**
13277
13092
  *
13278
13093
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -13349,13 +13164,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13349
13164
  * @throws {RequiredError}
13350
13165
  */
13351
13166
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
13352
- /**
13353
- *
13354
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
13355
- * @param {*} [options] Override http request option.
13356
- * @throws {RequiredError}
13357
- */
13358
- setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse>;
13359
13167
  /**
13360
13168
  *
13361
13169
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -13445,19 +13253,6 @@ export interface UsersApiAddOrganizationRequest {
13445
13253
  */
13446
13254
  readonly addOrganizationRequest: AddOrganizationRequest;
13447
13255
  }
13448
- /**
13449
- * Request parameters for addPaymentMethodSetup operation in UsersApi.
13450
- * @export
13451
- * @interface UsersApiAddPaymentMethodSetupRequest
13452
- */
13453
- export interface UsersApiAddPaymentMethodSetupRequest {
13454
- /**
13455
- *
13456
- * @type {AddPaymentMethodRequestBody}
13457
- * @memberof UsersApiAddPaymentMethodSetup
13458
- */
13459
- readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody;
13460
- }
13461
13256
  /**
13462
13257
  * Request parameters for changePassword operation in UsersApi.
13463
13258
  * @export
@@ -13471,19 +13266,6 @@ export interface UsersApiChangePasswordRequest {
13471
13266
  */
13472
13267
  readonly changePasswordRequestBody: ChangePasswordRequestBody;
13473
13268
  }
13474
- /**
13475
- * Request parameters for confirmPaymentMethodSetup operation in UsersApi.
13476
- * @export
13477
- * @interface UsersApiConfirmPaymentMethodSetupRequest
13478
- */
13479
- export interface UsersApiConfirmPaymentMethodSetupRequest {
13480
- /**
13481
- *
13482
- * @type {ConfirmPaymentMethodRequestBody}
13483
- * @memberof UsersApiConfirmPaymentMethodSetup
13484
- */
13485
- readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody;
13486
- }
13487
13269
  /**
13488
13270
  * Request parameters for getBookingDetail operation in UsersApi.
13489
13271
  * @export
@@ -13800,19 +13582,6 @@ export interface UsersApiResetPasswordRequest {
13800
13582
  */
13801
13583
  readonly resetPasswordRequest: ResetPasswordRequest;
13802
13584
  }
13803
- /**
13804
- * Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
13805
- * @export
13806
- * @interface UsersApiSetupOffSessionPaymentMethodRequest
13807
- */
13808
- export interface UsersApiSetupOffSessionPaymentMethodRequest {
13809
- /**
13810
- *
13811
- * @type {SetupPaymentMethodRequestBody}
13812
- * @memberof UsersApiSetupOffSessionPaymentMethod
13813
- */
13814
- readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody;
13815
- }
13816
13585
  /**
13817
13586
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
13818
13587
  * @export
@@ -13935,14 +13704,6 @@ export declare class UsersApi extends BaseAPI {
13935
13704
  * @memberof UsersApi
13936
13705
  */
13937
13706
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
13938
- /**
13939
- *
13940
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
13941
- * @param {*} [options] Override http request option.
13942
- * @throws {RequiredError}
13943
- * @memberof UsersApi
13944
- */
13945
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodSetupResponse, any, {}>>;
13946
13707
  /**
13947
13708
  *
13948
13709
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -13951,14 +13712,6 @@ export declare class UsersApi extends BaseAPI {
13951
13712
  * @memberof UsersApi
13952
13713
  */
13953
13714
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any, {}>>;
13954
- /**
13955
- *
13956
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
13957
- * @param {*} [options] Override http request option.
13958
- * @throws {RequiredError}
13959
- * @memberof UsersApi
13960
- */
13961
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentMethodResponse, any, {}>>;
13962
13715
  /**
13963
13716
  *
13964
13717
  * @param {*} [options] Override http request option.
@@ -13973,7 +13726,7 @@ export declare class UsersApi extends BaseAPI {
13973
13726
  * @throws {RequiredError}
13974
13727
  * @memberof UsersApi
13975
13728
  */
13976
- getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingDetailResponse, any, {}>>;
13729
+ getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary, any, {}>>;
13977
13730
  /**
13978
13731
  *
13979
13732
  * @param {*} [options] Override http request option.
@@ -14063,7 +13816,7 @@ export declare class UsersApi extends BaseAPI {
14063
13816
  * @throws {RequiredError}
14064
13817
  * @memberof UsersApi
14065
13818
  */
14066
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary[], any, {}>>;
13819
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
14067
13820
  /**
14068
13821
  *
14069
13822
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -14151,14 +13904,6 @@ export declare class UsersApi extends BaseAPI {
14151
13904
  * @memberof UsersApi
14152
13905
  */
14153
13906
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
14154
- /**
14155
- *
14156
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
14157
- * @param {*} [options] Override http request option.
14158
- * @throws {RequiredError}
14159
- * @memberof UsersApi
14160
- */
14161
- setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupPaymentMethodResponse, any, {}>>;
14162
13907
  /**
14163
13908
  *
14164
13909
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.