@tennac-booking/sdk 1.0.85 → 1.0.87

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 (94) hide show
  1. package/.openapi-generator/FILES +256 -241
  2. package/README.md +47 -24
  3. package/api.ts +2443 -1287
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2046 -1260
  8. package/dist/api.js +841 -270
  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 +2046 -1260
  16. package/dist/esm/api.js +834 -263
  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/{DeleteClubSettingsResponse.md → AddPaymentMethodRequestBody.md} +5 -5
  28. package/docs/BookingInfo.md +2 -2
  29. package/docs/BookingPopulated.md +3 -3
  30. package/docs/BookingResponse.md +0 -2
  31. package/docs/BookingSummary.md +2 -54
  32. package/docs/BookingsApi.md +0 -55
  33. package/docs/ClubAnalyticsStaffApi.md +173 -0
  34. package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
  35. package/docs/ClubGeneralSettingsResponse.md +32 -0
  36. package/docs/ClubHoursSettingsResponse.md +22 -0
  37. package/docs/ClubLocationSettings.md +26 -0
  38. package/docs/ClubPlayerBookingItem.md +36 -0
  39. package/docs/ClubPlayerBookingsPagination.md +28 -0
  40. package/docs/ClubPlayerBookingsResponse.md +24 -0
  41. package/docs/ClubPlayerDetailResponse.md +46 -0
  42. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  43. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  44. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  45. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  46. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  47. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  48. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  49. package/docs/ClubPresentationSettingsResponse.md +26 -0
  50. package/docs/ClubPricingPeriodResponse.md +30 -0
  51. package/docs/ClubReservationSettingsResponse.md +28 -0
  52. package/docs/ClubResponse.md +0 -8
  53. package/docs/ClubSettingsManagerApi.md +54 -55
  54. package/docs/ClubSettingsStaffApi.md +139 -0
  55. package/docs/ClubWeeklySchedule.md +32 -0
  56. package/docs/ClubsManagerApi.md +52 -0
  57. package/docs/ClubsStaffApi.md +44 -0
  58. package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
  59. package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
  60. package/docs/CreateBookingRequest.md +2 -2
  61. package/docs/CreateEventRequest.md +3 -1
  62. package/docs/EventResponse.md +1 -1
  63. package/docs/IUserAttributes.md +12 -2
  64. package/docs/PartialClubResponse.md +0 -8
  65. package/docs/PartialClubWeeklySchedule.md +33 -0
  66. package/docs/PaymentMethodSetupResponse.md +24 -0
  67. package/docs/QuickReservationClubSummary.md +0 -4
  68. package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
  69. package/docs/SetupPaymentMethodResponse.md +24 -0
  70. package/docs/SlotInfo.md +2 -2
  71. package/docs/StaffUserProfileResponse.md +12 -2
  72. package/docs/SubscribeRequestBody.md +0 -2
  73. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  74. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  75. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  76. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  77. package/docs/UpdateEventRequest.md +1 -1
  78. package/docs/UserProfileResponse.md +12 -4
  79. package/docs/UsersApi.md +160 -4
  80. package/index.ts +1 -1
  81. package/package.json +1 -1
  82. package/docs/BookingClubInfo.md +0 -28
  83. package/docs/BookingPaymentStatus.md +0 -24
  84. package/docs/BookingPlayerPaymentSummary.md +0 -34
  85. package/docs/BookingSlotInfo.md +0 -30
  86. package/docs/ClubSettingsResponse.md +0 -39
  87. package/docs/CreateClubSettingsRequest.md +0 -34
  88. package/docs/InvoiceStatus.md +0 -22
  89. package/docs/PlayerPrice.md +0 -30
  90. package/docs/QuickReservationClubSport.md +0 -22
  91. package/docs/SportsPublicApi.md +0 -53
  92. package/docs/SubscriptionInfo.md +0 -24
  93. package/docs/UpdateClubSettingsRequest.md +0 -32
  94. package/docs/UserBookingsResponse.md +0 -28
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.85
7
+ * The version of the OpenAPI document: 1.0.77
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,6 +92,19 @@ export interface AddOrganizationRequest {
92
92
  */
93
93
  'organizationId'?: string;
94
94
  }
95
+ /**
96
+ *
97
+ * @export
98
+ * @interface AddPaymentMethodRequestBody
99
+ */
100
+ export interface AddPaymentMethodRequestBody {
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof AddPaymentMethodRequestBody
105
+ */
106
+ 'paymentMethodId': string;
107
+ }
95
108
  /**
96
109
  *
97
110
  * @export
@@ -150,58 +163,93 @@ export interface BookingAnalyticsResponse {
150
163
  /**
151
164
  *
152
165
  * @export
153
- * @interface BookingClubInfo
166
+ * @interface BookingDetailResponse
154
167
  */
155
- export interface BookingClubInfo {
168
+ export interface BookingDetailResponse {
156
169
  /**
157
170
  *
158
171
  * @type {string}
159
- * @memberof BookingClubInfo
172
+ * @memberof BookingDetailResponse
160
173
  */
161
174
  'id': string;
162
175
  /**
163
176
  *
164
177
  * @type {string}
165
- * @memberof BookingClubInfo
178
+ * @memberof BookingDetailResponse
166
179
  */
167
- 'name'?: string | null;
180
+ 'clubPicture'?: string;
168
181
  /**
169
182
  *
170
183
  * @type {string}
171
- * @memberof BookingClubInfo
184
+ * @memberof BookingDetailResponse
172
185
  */
173
- 'picture'?: string | null;
186
+ 'courtName'?: string;
174
187
  /**
175
188
  *
176
189
  * @type {string}
177
- * @memberof BookingClubInfo
190
+ * @memberof BookingDetailResponse
178
191
  */
179
- 'address'?: string | null;
192
+ 'sportName'?: string;
180
193
  /**
181
- * Construct a type with a set of properties K of type T
182
- * @type {{ [key: string]: any; }}
183
- * @memberof BookingClubInfo
194
+ *
195
+ * @type {string}
196
+ * @memberof BookingDetailResponse
184
197
  */
185
- 'location'?: { [key: string]: any; } | null;
186
- }
187
- /**
188
- *
189
- * @export
190
- * @interface BookingCourtInfo
191
- */
192
- export interface BookingCourtInfo {
198
+ 'startDate'?: string;
199
+ /**
200
+ *
201
+ * @type {string}
202
+ * @memberof BookingDetailResponse
203
+ */
204
+ 'myPaymentStatus'?: string;
193
205
  /**
194
206
  *
195
207
  * @type {string}
196
- * @memberof BookingCourtInfo
208
+ * @memberof BookingDetailResponse
209
+ */
210
+ 'bookingStatus'?: string;
211
+ /**
212
+ *
213
+ * @type {Array<string>}
214
+ * @memberof BookingDetailResponse
197
215
  */
198
- 'id'?: string | null;
216
+ 'playersName': Array<string>;
217
+ /**
218
+ *
219
+ * @type {number}
220
+ * @memberof BookingDetailResponse
221
+ */
222
+ 'myAmountToPay': number;
223
+ /**
224
+ *
225
+ * @type {number}
226
+ * @memberof BookingDetailResponse
227
+ */
228
+ 'totalAmount': number;
199
229
  /**
200
230
  *
201
231
  * @type {string}
202
- * @memberof BookingCourtInfo
232
+ * @memberof BookingDetailResponse
233
+ */
234
+ 'timeBeforeCancel'?: string | null;
235
+ /**
236
+ *
237
+ * @type {BookingSummaryClubAddress}
238
+ * @memberof BookingDetailResponse
203
239
  */
204
- 'name'?: string | null;
240
+ 'clubAddress'?: BookingSummaryClubAddress | null;
241
+ /**
242
+ *
243
+ * @type {BookingHistoryPopulated}
244
+ * @memberof BookingDetailResponse
245
+ */
246
+ 'bookingHistory'?: BookingHistoryPopulated;
247
+ /**
248
+ *
249
+ * @type {Array<{ [key: string]: any; }>}
250
+ * @memberof BookingDetailResponse
251
+ */
252
+ 'paymentStatus': Array<{ [key: string]: any; }>;
205
253
  }
206
254
  /**
207
255
  *
@@ -311,10 +359,10 @@ export interface BookingInfo {
311
359
  'totalPrice': number;
312
360
  /**
313
361
  * ID du créneau
314
- * @type {Array<string>}
362
+ * @type {string}
315
363
  * @memberof BookingInfo
316
364
  */
317
- 'slotIds': Array<string>;
365
+ 'slotId': string;
318
366
  /**
319
367
  * Indique si le créateur paie pour tous
320
368
  * @type {boolean}
@@ -372,33 +420,6 @@ export interface BookingInfo {
372
420
  }
373
421
 
374
422
 
375
- /**
376
- *
377
- * @export
378
- * @interface BookingPaymentStatus
379
- */
380
- export interface BookingPaymentStatus {
381
- /**
382
- *
383
- * @type {string}
384
- * @memberof BookingPaymentStatus
385
- */
386
- 'playerId': string;
387
- /**
388
- *
389
- * @type {string}
390
- * @memberof BookingPaymentStatus
391
- */
392
- 'invoiceId'?: string | null;
393
- /**
394
- *
395
- * @type {InvoiceStatus}
396
- * @memberof BookingPaymentStatus
397
- */
398
- 'invoiceStatus'?: InvoiceStatus | null;
399
- }
400
-
401
-
402
423
  /**
403
424
  *
404
425
  * @export
@@ -494,63 +515,6 @@ export interface BookingPaymentStatusResponseSummary {
494
515
  */
495
516
  'totalPlayers': number;
496
517
  }
497
- /**
498
- *
499
- * @export
500
- * @interface BookingPlayerPaymentSummary
501
- */
502
- export interface BookingPlayerPaymentSummary {
503
- /**
504
- *
505
- * @type {string}
506
- * @memberof BookingPlayerPaymentSummary
507
- */
508
- 'id': string;
509
- /**
510
- *
511
- * @type {string}
512
- * @memberof BookingPlayerPaymentSummary
513
- */
514
- 'firstName'?: string | null;
515
- /**
516
- *
517
- * @type {string}
518
- * @memberof BookingPlayerPaymentSummary
519
- */
520
- 'lastName'?: string | null;
521
- /**
522
- *
523
- * @type {string}
524
- * @memberof BookingPlayerPaymentSummary
525
- */
526
- 'profilePicture'?: string | null;
527
- /**
528
- *
529
- * @type {number}
530
- * @memberof BookingPlayerPaymentSummary
531
- */
532
- 'amountToPay': number;
533
- /**
534
- *
535
- * @type {string}
536
- * @memberof BookingPlayerPaymentSummary
537
- */
538
- 'invoiceId'?: string | null;
539
- /**
540
- *
541
- * @type {InvoiceStatus}
542
- * @memberof BookingPlayerPaymentSummary
543
- */
544
- 'invoiceStatus'?: InvoiceStatus | null;
545
- /**
546
- *
547
- * @type {boolean}
548
- * @memberof BookingPlayerPaymentSummary
549
- */
550
- 'isCreator': boolean;
551
- }
552
-
553
-
554
518
  /**
555
519
  *
556
520
  * @export
@@ -576,11 +540,17 @@ export interface BookingPopulated {
576
540
  */
577
541
  'creator': UserInfo;
578
542
  /**
579
- * Information(s) des créneaux
580
- * @type {Array<SlotInfo>}
543
+ *
544
+ * @type {SlotInfo}
545
+ * @memberof BookingPopulated
546
+ */
547
+ 'slotInfos': SlotInfo;
548
+ /**
549
+ *
550
+ * @type {Array<UserInfo>}
581
551
  * @memberof BookingPopulated
582
552
  */
583
- 'slotInfos': Array<SlotInfo>;
553
+ 'players': Array<UserInfo>;
584
554
  /**
585
555
  * Statut des paiements par joueur
586
556
  * @type {Array<PaymentByPlayerInfo>}
@@ -611,12 +581,6 @@ export interface BookingPopulated {
611
581
  * @memberof BookingPopulated
612
582
  */
613
583
  'isCreatorPayingAll': boolean;
614
- /**
615
- *
616
- * @type {Array<string>}
617
- * @memberof BookingPopulated
618
- */
619
- 'playersIds': Array<string>;
620
584
  /**
621
585
  *
622
586
  * @type {Array<BookingHistoryPopulated>}
@@ -650,25 +614,6 @@ export interface BookingPopulated {
650
614
  }
651
615
 
652
616
 
653
- /**
654
- *
655
- * @export
656
- * @interface BookingPriceBody
657
- */
658
- export interface BookingPriceBody {
659
- /**
660
- *
661
- * @type {Array<string>}
662
- * @memberof BookingPriceBody
663
- */
664
- 'slotIds': Array<string>;
665
- /**
666
- *
667
- * @type {Array<string>}
668
- * @memberof BookingPriceBody
669
- */
670
- 'players': Array<string>;
671
- }
672
617
  /**
673
618
  *
674
619
  * @export
@@ -699,12 +644,6 @@ export interface BookingResponse {
699
644
  * @memberof BookingResponse
700
645
  */
701
646
  'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
702
- /**
703
- *
704
- * @type {string}
705
- * @memberof BookingResponse
706
- */
707
- 'setupNoShowPaymentUrl'?: string;
708
647
  /**
709
648
  * Message de confirmation
710
649
  * @type {string}
@@ -731,68 +670,6 @@ export interface BookingResponseOnsitePaymentsInner {
731
670
  */
732
671
  'playerId': string;
733
672
  }
734
- /**
735
- *
736
- * @export
737
- * @interface BookingSlotInfo
738
- */
739
- export interface BookingSlotInfo {
740
- /**
741
- *
742
- * @type {string}
743
- * @memberof BookingSlotInfo
744
- */
745
- 'id': string;
746
- /**
747
- *
748
- * @type {string}
749
- * @memberof BookingSlotInfo
750
- */
751
- 'startDate'?: string | null;
752
- /**
753
- *
754
- * @type {string}
755
- * @memberof BookingSlotInfo
756
- */
757
- 'endDate'?: string | null;
758
- /**
759
- *
760
- * @type {number}
761
- * @memberof BookingSlotInfo
762
- */
763
- 'durationMinutes'?: number | null;
764
- /**
765
- *
766
- * @type {BookingCourtInfo}
767
- * @memberof BookingSlotInfo
768
- */
769
- 'court'?: BookingCourtInfo | null;
770
- /**
771
- *
772
- * @type {BookingSportInfo}
773
- * @memberof BookingSlotInfo
774
- */
775
- 'sport'?: BookingSportInfo | null;
776
- }
777
- /**
778
- *
779
- * @export
780
- * @interface BookingSportInfo
781
- */
782
- export interface BookingSportInfo {
783
- /**
784
- *
785
- * @type {string}
786
- * @memberof BookingSportInfo
787
- */
788
- 'id'?: string | null;
789
- /**
790
- *
791
- * @type {string}
792
- * @memberof BookingSportInfo
793
- */
794
- 'key'?: string | null;
795
- }
796
673
  /**
797
674
  *
798
675
  * @export
@@ -829,251 +706,93 @@ export interface BookingSummary {
829
706
  * @type {string}
830
707
  * @memberof BookingSummary
831
708
  */
832
- 'clubId': string;
709
+ 'clubPicture'?: string;
833
710
  /**
834
711
  *
835
712
  * @type {string}
836
713
  * @memberof BookingSummary
837
714
  */
838
- 'userId': string;
839
- /**
840
- *
841
- * @type {Array<string>}
842
- * @memberof BookingSummary
843
- */
844
- 'playersIds': Array<string>;
715
+ 'courtName'?: string;
845
716
  /**
846
717
  *
847
- * @type {BookingStatus}
718
+ * @type {string}
848
719
  * @memberof BookingSummary
849
720
  */
850
- 'status': BookingStatus;
721
+ 'sportName'?: string;
851
722
  /**
852
723
  *
853
- * @type {Array<BookingPaymentStatus>}
724
+ * @type {string}
854
725
  * @memberof BookingSummary
855
726
  */
856
- 'paymentByPlayersStatus': Array<BookingPaymentStatus>;
727
+ 'startDate'?: string;
857
728
  /**
858
729
  *
859
- * @type {boolean}
730
+ * @type {string}
860
731
  * @memberof BookingSummary
861
732
  */
862
- 'isCreatorPayingAll': boolean;
733
+ 'myPaymentStatus'?: string;
863
734
  /**
864
735
  *
865
- * @type {number}
736
+ * @type {string}
866
737
  * @memberof BookingSummary
867
738
  */
868
- 'totalPrice': number;
739
+ 'bookingStatus'?: string;
869
740
  /**
870
741
  *
871
742
  * @type {Array<string>}
872
743
  * @memberof BookingSummary
873
744
  */
874
- 'slotIds': Array<string>;
875
- /**
876
- *
877
- * @type {boolean}
878
- * @memberof BookingSummary
879
- */
880
- 'isPublic': boolean;
881
- /**
882
- *
883
- * @type {string}
884
- * @memberof BookingSummary
885
- */
886
- 'creatorPaymentMethodId'?: string | null;
745
+ 'playersName': Array<string>;
887
746
  /**
888
747
  *
889
- * @type {boolean}
748
+ * @type {number}
890
749
  * @memberof BookingSummary
891
750
  */
892
- 'paymentMethodSetupCompleted': boolean;
751
+ 'myAmountToPay': number;
893
752
  /**
894
753
  *
895
754
  * @type {number}
896
755
  * @memberof BookingSummary
897
756
  */
898
- 'noShowChargeAmount'?: number | null;
757
+ 'totalAmount': number;
899
758
  /**
900
759
  *
901
- * @type {boolean}
760
+ * @type {string}
902
761
  * @memberof BookingSummary
903
762
  */
904
- 'noShowChargeApplied'?: boolean;
763
+ 'timeBeforeCancel'?: string | null;
905
764
  /**
906
765
  *
907
- * @type {string}
766
+ * @type {BookingSummaryClubAddress}
908
767
  * @memberof BookingSummary
909
768
  */
910
- 'noShowChargeIntentId'?: string | null;
769
+ 'clubAddress'?: BookingSummaryClubAddress | null;
911
770
  /**
912
771
  *
913
- * @type {string}
772
+ * @type {BookingHistoryPopulated}
914
773
  * @memberof BookingSummary
915
774
  */
916
- 'cancellationReason'?: string | null;
775
+ 'bookingHistory'?: BookingHistoryPopulated;
776
+ }
777
+ /**
778
+ *
779
+ * @export
780
+ * @interface BookingSummaryClubAddress
781
+ */
782
+ export interface BookingSummaryClubAddress {
783
+ }
784
+ /**
785
+ *
786
+ * @export
787
+ * @interface CancelBookingResponse
788
+ */
789
+ export interface CancelBookingResponse {
917
790
  /**
918
- *
791
+ * Message de confirmation
919
792
  * @type {string}
920
- * @memberof BookingSummary
793
+ * @memberof CancelBookingResponse
921
794
  */
922
- 'cancelledBy'?: string | null;
923
- /**
924
- *
925
- * @type {string}
926
- * @memberof BookingSummary
927
- */
928
- 'cancelledAt'?: string | null;
929
- /**
930
- *
931
- * @type {boolean}
932
- * @memberof BookingSummary
933
- */
934
- 'cancelledByManager'?: boolean;
935
- /**
936
- *
937
- * @type {string}
938
- * @memberof BookingSummary
939
- */
940
- 'createdAt': string | null;
941
- /**
942
- *
943
- * @type {string}
944
- * @memberof BookingSummary
945
- */
946
- 'updatedAt': string | null;
947
- /**
948
- *
949
- * @type {number}
950
- * @memberof BookingSummary
951
- */
952
- 'playersCount'?: number | null;
953
- /**
954
- *
955
- * @type {string}
956
- * @memberof BookingSummary
957
- */
958
- 'clubPicture'?: string;
959
- /**
960
- *
961
- * @type {string}
962
- * @memberof BookingSummary
963
- */
964
- 'courtName'?: string;
965
- /**
966
- *
967
- * @type {string}
968
- * @memberof BookingSummary
969
- */
970
- 'sportName'?: string;
971
- /**
972
- *
973
- * @type {string}
974
- * @memberof BookingSummary
975
- */
976
- 'startDate'?: string;
977
- /**
978
- *
979
- * @type {InvoiceStatus}
980
- * @memberof BookingSummary
981
- */
982
- 'myPaymentStatus'?: InvoiceStatus | null;
983
- /**
984
- *
985
- * @type {string}
986
- * @memberof BookingSummary
987
- */
988
- 'bookingStatus'?: string;
989
- /**
990
- *
991
- * @type {Array<string>}
992
- * @memberof BookingSummary
993
- */
994
- 'playersName': Array<string>;
995
- /**
996
- *
997
- * @type {number}
998
- * @memberof BookingSummary
999
- */
1000
- 'myAmountToPay': number;
1001
- /**
1002
- *
1003
- * @type {number}
1004
- * @memberof BookingSummary
1005
- */
1006
- 'totalAmount': number;
1007
- /**
1008
- *
1009
- * @type {string}
1010
- * @memberof BookingSummary
1011
- */
1012
- 'timeBeforeCancel'?: string | null;
1013
- /**
1014
- *
1015
- * @type {BookingSummaryClubAddress}
1016
- * @memberof BookingSummary
1017
- */
1018
- 'clubAddress'?: BookingSummaryClubAddress | null;
1019
- /**
1020
- *
1021
- * @type {Array<BookingHistoryPopulated>}
1022
- * @memberof BookingSummary
1023
- */
1024
- 'bookingHistory'?: Array<BookingHistoryPopulated>;
1025
- /**
1026
- *
1027
- * @type {BookingClubInfo}
1028
- * @memberof BookingSummary
1029
- */
1030
- 'club'?: BookingClubInfo | null;
1031
- /**
1032
- *
1033
- * @type {Array<BookingSlotInfo>}
1034
- * @memberof BookingSummary
1035
- */
1036
- 'slots': Array<BookingSlotInfo>;
1037
- /**
1038
- *
1039
- * @type {BookingCourtInfo}
1040
- * @memberof BookingSummary
1041
- */
1042
- 'court'?: BookingCourtInfo | null;
1043
- /**
1044
- *
1045
- * @type {BookingSportInfo}
1046
- * @memberof BookingSummary
1047
- */
1048
- 'sport'?: BookingSportInfo | null;
1049
- /**
1050
- *
1051
- * @type {Array<BookingPlayerPaymentSummary>}
1052
- * @memberof BookingSummary
1053
- */
1054
- 'players': Array<BookingPlayerPaymentSummary>;
1055
- }
1056
-
1057
-
1058
- /**
1059
- *
1060
- * @export
1061
- * @interface BookingSummaryClubAddress
1062
- */
1063
- export interface BookingSummaryClubAddress {
1064
- }
1065
- /**
1066
- *
1067
- * @export
1068
- * @interface CancelBookingResponse
1069
- */
1070
- export interface CancelBookingResponse {
1071
- /**
1072
- * Message de confirmation
1073
- * @type {string}
1074
- * @memberof CancelBookingResponse
1075
- */
1076
- 'message': string;
795
+ 'message': string;
1077
796
  /**
1078
797
  *
1079
798
  * @type {BookingInfo}
@@ -1211,170 +930,842 @@ export interface CheckedInPlayer {
1211
930
  /**
1212
931
  * ID du joueur
1213
932
  * @type {string}
1214
- * @memberof CheckedInPlayer
933
+ * @memberof CheckedInPlayer
934
+ */
935
+ 'playerId': string;
936
+ /**
937
+ * ID de la facture
938
+ * @type {string}
939
+ * @memberof CheckedInPlayer
940
+ */
941
+ 'invoiceId': string;
942
+ /**
943
+ * Montant payé
944
+ * @type {number}
945
+ * @memberof CheckedInPlayer
946
+ */
947
+ 'amount': number;
948
+ /**
949
+ * Statut précédent (optionnel)
950
+ * @type {string}
951
+ * @memberof CheckedInPlayer
952
+ */
953
+ 'previousStatus'?: string;
954
+ /**
955
+ * Nouveau statut (optionnel)
956
+ * @type {string}
957
+ * @memberof CheckedInPlayer
958
+ */
959
+ 'newStatus'?: string;
960
+ /**
961
+ * Statut actuel
962
+ * @type {string}
963
+ * @memberof CheckedInPlayer
964
+ */
965
+ 'status'?: string;
966
+ /**
967
+ *
968
+ * @type {PaymentMethod}
969
+ * @memberof CheckedInPlayer
970
+ */
971
+ 'paymentMethod'?: PaymentMethod;
972
+ /**
973
+ * Note additionnelle
974
+ * @type {string}
975
+ * @memberof CheckedInPlayer
976
+ */
977
+ 'note'?: string;
978
+ }
979
+
980
+
981
+ /**
982
+ *
983
+ * @export
984
+ * @interface ClubDaySchedule
985
+ */
986
+ export interface ClubDaySchedule {
987
+ /**
988
+ *
989
+ * @type {string}
990
+ * @memberof ClubDaySchedule
991
+ */
992
+ 'open': string;
993
+ /**
994
+ *
995
+ * @type {string}
996
+ * @memberof ClubDaySchedule
997
+ */
998
+ 'close': string;
999
+ }
1000
+ /**
1001
+ *
1002
+ * @export
1003
+ * @interface ClubGeneralSettingsResponse
1004
+ */
1005
+ export interface ClubGeneralSettingsResponse {
1006
+ /**
1007
+ *
1008
+ * @type {string}
1009
+ * @memberof ClubGeneralSettingsResponse
1010
+ */
1011
+ 'name': string;
1012
+ /**
1013
+ *
1014
+ * @type {string}
1015
+ * @memberof ClubGeneralSettingsResponse
1016
+ */
1017
+ 'email'?: string;
1018
+ /**
1019
+ *
1020
+ * @type {string}
1021
+ * @memberof ClubGeneralSettingsResponse
1022
+ */
1023
+ 'phone'?: string;
1024
+ /**
1025
+ *
1026
+ * @type {string}
1027
+ * @memberof ClubGeneralSettingsResponse
1028
+ */
1029
+ 'websiteUrl'?: string;
1030
+ /**
1031
+ *
1032
+ * @type {string}
1033
+ * @memberof ClubGeneralSettingsResponse
1034
+ */
1035
+ 'logo'?: string | null;
1036
+ /**
1037
+ *
1038
+ * @type {ClubLocationSettings}
1039
+ * @memberof ClubGeneralSettingsResponse
1040
+ */
1041
+ 'location': ClubLocationSettings;
1042
+ /**
1043
+ *
1044
+ * @type {string}
1045
+ * @memberof ClubGeneralSettingsResponse
1046
+ */
1047
+ 'stripeUrl'?: string | null;
1048
+ }
1049
+ /**
1050
+ *
1051
+ * @export
1052
+ * @interface ClubHoursSettingsResponse
1053
+ */
1054
+ export interface ClubHoursSettingsResponse {
1055
+ /**
1056
+ *
1057
+ * @type {ClubWeeklySchedule}
1058
+ * @memberof ClubHoursSettingsResponse
1059
+ */
1060
+ 'schedule': ClubWeeklySchedule;
1061
+ /**
1062
+ *
1063
+ * @type {Array<ClubPricingPeriodResponse>}
1064
+ * @memberof ClubHoursSettingsResponse
1065
+ */
1066
+ 'pricingPeriods': Array<ClubPricingPeriodResponse>;
1067
+ }
1068
+ /**
1069
+ *
1070
+ * @export
1071
+ * @interface ClubLocationSettings
1072
+ */
1073
+ export interface ClubLocationSettings {
1074
+ /**
1075
+ *
1076
+ * @type {string}
1077
+ * @memberof ClubLocationSettings
1078
+ */
1079
+ 'address'?: string;
1080
+ /**
1081
+ *
1082
+ * @type {string}
1083
+ * @memberof ClubLocationSettings
1084
+ */
1085
+ 'zipCode'?: string;
1086
+ /**
1087
+ *
1088
+ * @type {string}
1089
+ * @memberof ClubLocationSettings
1090
+ */
1091
+ 'city'?: string;
1092
+ /**
1093
+ *
1094
+ * @type {string}
1095
+ * @memberof ClubLocationSettings
1096
+ */
1097
+ 'country'?: string;
1098
+ }
1099
+ /**
1100
+ *
1101
+ * @export
1102
+ * @interface ClubMemberResponse
1103
+ */
1104
+ export interface ClubMemberResponse {
1105
+ /**
1106
+ *
1107
+ * @type {ClubMemberResponseUser}
1108
+ * @memberof ClubMemberResponse
1109
+ */
1110
+ 'user': ClubMemberResponseUser;
1111
+ /**
1112
+ * Rôle du membre dans le club
1113
+ * @type {string}
1114
+ * @memberof ClubMemberResponse
1115
+ */
1116
+ 'role': string;
1117
+ /**
1118
+ * Droits du membre dans le club
1119
+ * @type {Array<string>}
1120
+ * @memberof ClubMemberResponse
1121
+ */
1122
+ 'rights': Array<string>;
1123
+ }
1124
+ /**
1125
+ * Utilisateur (membre)
1126
+ * @export
1127
+ * @interface ClubMemberResponseUser
1128
+ */
1129
+ export interface ClubMemberResponseUser {
1130
+ /**
1131
+ *
1132
+ * @type {string}
1133
+ * @memberof ClubMemberResponseUser
1134
+ */
1135
+ 'email': string;
1136
+ /**
1137
+ *
1138
+ * @type {string}
1139
+ * @memberof ClubMemberResponseUser
1140
+ */
1141
+ 'lastName': string;
1142
+ /**
1143
+ *
1144
+ * @type {string}
1145
+ * @memberof ClubMemberResponseUser
1146
+ */
1147
+ 'firstName': string;
1148
+ /**
1149
+ *
1150
+ * @type {string}
1151
+ * @memberof ClubMemberResponseUser
1152
+ */
1153
+ 'id': string;
1154
+ }
1155
+ /**
1156
+ *
1157
+ * @export
1158
+ * @interface ClubPlayerBookingItem
1159
+ */
1160
+ export interface ClubPlayerBookingItem {
1161
+ /**
1162
+ * ID de la réservation
1163
+ * @type {string}
1164
+ * @memberof ClubPlayerBookingItem
1165
+ */
1166
+ 'id': string;
1167
+ /**
1168
+ * Date de début de la réservation
1169
+ * @type {string}
1170
+ * @memberof ClubPlayerBookingItem
1171
+ */
1172
+ 'startDate': string | null;
1173
+ /**
1174
+ * Date de fin de la réservation
1175
+ * @type {string}
1176
+ * @memberof ClubPlayerBookingItem
1177
+ */
1178
+ 'endDate': string | null;
1179
+ /**
1180
+ * Nom du terrain ou emplacement
1181
+ * @type {string}
1182
+ * @memberof ClubPlayerBookingItem
1183
+ */
1184
+ 'location': string | null;
1185
+ /**
1186
+ * Nom du sport associé
1187
+ * @type {string}
1188
+ * @memberof ClubPlayerBookingItem
1189
+ */
1190
+ 'sport': string | null;
1191
+ /**
1192
+ * Statut de la réservation
1193
+ * @type {string}
1194
+ * @memberof ClubPlayerBookingItem
1195
+ */
1196
+ 'status': string;
1197
+ /**
1198
+ * Prix total de la réservation en centimes
1199
+ * @type {number}
1200
+ * @memberof ClubPlayerBookingItem
1201
+ */
1202
+ 'totalPrice': number;
1203
+ /**
1204
+ * Indique si le joueur est le créateur de la réservation
1205
+ * @type {boolean}
1206
+ * @memberof ClubPlayerBookingItem
1207
+ */
1208
+ 'isCreator': boolean;
1209
+ /**
1210
+ * Nombre total de participants
1211
+ * @type {number}
1212
+ * @memberof ClubPlayerBookingItem
1213
+ */
1214
+ 'participantsCount': number;
1215
+ }
1216
+ /**
1217
+ *
1218
+ * @export
1219
+ * @interface ClubPlayerBookingsPagination
1220
+ */
1221
+ export interface ClubPlayerBookingsPagination {
1222
+ /**
1223
+ * Page courante (1-based)
1224
+ * @type {number}
1225
+ * @memberof ClubPlayerBookingsPagination
1226
+ */
1227
+ 'page': number;
1228
+ /**
1229
+ * Nombre d\'éléments par page
1230
+ * @type {number}
1231
+ * @memberof ClubPlayerBookingsPagination
1232
+ */
1233
+ 'pageSize': number;
1234
+ /**
1235
+ * Nombre total d\'éléments disponibles
1236
+ * @type {number}
1237
+ * @memberof ClubPlayerBookingsPagination
1238
+ */
1239
+ 'totalItems': number;
1240
+ /**
1241
+ * Nombre total de pages disponibles
1242
+ * @type {number}
1243
+ * @memberof ClubPlayerBookingsPagination
1244
+ */
1245
+ 'totalPages': number;
1246
+ /**
1247
+ * Existence d\'une page suivante
1248
+ * @type {boolean}
1249
+ * @memberof ClubPlayerBookingsPagination
1250
+ */
1251
+ 'hasMore': boolean;
1252
+ }
1253
+ /**
1254
+ *
1255
+ * @export
1256
+ * @interface ClubPlayerBookingsResponse
1257
+ */
1258
+ export interface ClubPlayerBookingsResponse {
1259
+ /**
1260
+ * Réservations à venir
1261
+ * @type {Array<ClubPlayerBookingItem>}
1262
+ * @memberof ClubPlayerBookingsResponse
1263
+ */
1264
+ 'upcomingBookings': Array<ClubPlayerBookingItem>;
1265
+ /**
1266
+ * Réservations passées
1267
+ * @type {Array<ClubPlayerBookingItem>}
1268
+ * @memberof ClubPlayerBookingsResponse
1269
+ */
1270
+ 'pastBookings': Array<ClubPlayerBookingItem>;
1271
+ /**
1272
+ *
1273
+ * @type {ClubPlayerBookingsPagination}
1274
+ * @memberof ClubPlayerBookingsResponse
1275
+ */
1276
+ 'pastPagination'?: ClubPlayerBookingsPagination;
1277
+ }
1278
+ /**
1279
+ *
1280
+ * @export
1281
+ * @interface ClubPlayerDetailResponse
1282
+ */
1283
+ export interface ClubPlayerDetailResponse {
1284
+ /**
1285
+ * ID du joueur
1286
+ * @type {string}
1287
+ * @memberof ClubPlayerDetailResponse
1288
+ */
1289
+ 'id': string;
1290
+ /**
1291
+ * Nom complet
1292
+ * @type {string}
1293
+ * @memberof ClubPlayerDetailResponse
1294
+ */
1295
+ 'name': string;
1296
+ /**
1297
+ * Prénom
1298
+ * @type {string}
1299
+ * @memberof ClubPlayerDetailResponse
1300
+ */
1301
+ 'firstName': string;
1302
+ /**
1303
+ * Nom
1304
+ * @type {string}
1305
+ * @memberof ClubPlayerDetailResponse
1306
+ */
1307
+ 'lastName': string;
1308
+ /**
1309
+ * Email
1310
+ * @type {string}
1311
+ * @memberof ClubPlayerDetailResponse
1312
+ */
1313
+ 'email': string;
1314
+ /**
1315
+ * Numéro de téléphone
1316
+ * @type {string}
1317
+ * @memberof ClubPlayerDetailResponse
1318
+ */
1319
+ 'phoneNumber': string | null;
1320
+ /**
1321
+ * URL de la photo de profil
1322
+ * @type {string}
1323
+ * @memberof ClubPlayerDetailResponse
1324
+ */
1325
+ 'profilePictureUrl': string | null;
1326
+ /**
1327
+ * Compte vérifié
1328
+ * @type {boolean}
1329
+ * @memberof ClubPlayerDetailResponse
1330
+ */
1331
+ 'isAccountVerified': boolean;
1332
+ /**
1333
+ * Abonnements au club courant
1334
+ * @type {Array<ClubPlayerSubscriptionSummary>}
1335
+ * @memberof ClubPlayerDetailResponse
1336
+ */
1337
+ 'subscriptionsToMyClub': Array<ClubPlayerSubscriptionSummary>;
1338
+ /**
1339
+ * Description du profil
1340
+ * @type {string}
1341
+ * @memberof ClubPlayerDetailResponse
1342
+ */
1343
+ 'profileDescription': string | null;
1344
+ /**
1345
+ * Genre
1346
+ * @type {string}
1347
+ * @memberof ClubPlayerDetailResponse
1348
+ */
1349
+ 'gender': string | null;
1350
+ /**
1351
+ * Ville
1352
+ * @type {string}
1353
+ * @memberof ClubPlayerDetailResponse
1354
+ */
1355
+ 'city': string | null;
1356
+ /**
1357
+ * Niveaux par sport
1358
+ * @type {Array<ClubPlayerDetailResponseSportsLevelsInner>}
1359
+ * @memberof ClubPlayerDetailResponse
1360
+ */
1361
+ 'sportsLevels': Array<ClubPlayerDetailResponseSportsLevelsInner>;
1362
+ /**
1363
+ * Date de naissance
1364
+ * @type {string}
1365
+ * @memberof ClubPlayerDetailResponse
1366
+ */
1367
+ 'birthDate': string | null;
1368
+ }
1369
+ /**
1370
+ *
1371
+ * @export
1372
+ * @interface ClubPlayerDetailResponseSportsLevelsInner
1373
+ */
1374
+ export interface ClubPlayerDetailResponseSportsLevelsInner {
1375
+ /**
1376
+ *
1377
+ * @type {string}
1378
+ * @memberof ClubPlayerDetailResponseSportsLevelsInner
1379
+ */
1380
+ 'level': string | null;
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof ClubPlayerDetailResponseSportsLevelsInner
1385
+ */
1386
+ 'sport': string | null;
1387
+ }
1388
+ /**
1389
+ *
1390
+ * @export
1391
+ * @interface ClubPlayerResponse
1392
+ */
1393
+ export interface ClubPlayerResponse {
1394
+ /**
1395
+ * ID de l\'utilisateur
1396
+ * @type {string}
1397
+ * @memberof ClubPlayerResponse
1398
+ */
1399
+ 'id': string;
1400
+ /**
1401
+ * Prénom
1402
+ * @type {string}
1403
+ * @memberof ClubPlayerResponse
1404
+ */
1405
+ 'firstName': string;
1406
+ /**
1407
+ * Nom
1408
+ * @type {string}
1409
+ * @memberof ClubPlayerResponse
1410
+ */
1411
+ 'lastName': string;
1412
+ /**
1413
+ * Genre
1414
+ * @type {string}
1415
+ * @memberof ClubPlayerResponse
1416
+ */
1417
+ 'gender'?: string;
1418
+ /**
1419
+ * Email
1420
+ * @type {string}
1421
+ * @memberof ClubPlayerResponse
1422
+ */
1423
+ 'email': string;
1424
+ /**
1425
+ * Photo de profil
1426
+ * @type {string}
1427
+ * @memberof ClubPlayerResponse
1428
+ */
1429
+ 'profilePicture'?: string;
1430
+ /**
1431
+ * Compte vérifié
1432
+ * @type {boolean}
1433
+ * @memberof ClubPlayerResponse
1434
+ */
1435
+ 'isAccountVerified': boolean;
1436
+ /**
1437
+ * Profil visible
1438
+ * @type {boolean}
1439
+ * @memberof ClubPlayerResponse
1440
+ */
1441
+ 'isProfileVisible': boolean;
1442
+ /**
1443
+ * Abonné au club
1444
+ * @type {boolean}
1445
+ * @memberof ClubPlayerResponse
1446
+ */
1447
+ 'isSubscribedToClub': boolean;
1448
+ }
1449
+ /**
1450
+ *
1451
+ * @export
1452
+ * @interface ClubPlayerStatisticsResponse
1453
+ */
1454
+ export interface ClubPlayerStatisticsResponse {
1455
+ /**
1456
+ * Nombre total de réservations (tous clubs confondus)
1457
+ * @type {number}
1458
+ * @memberof ClubPlayerStatisticsResponse
1459
+ */
1460
+ 'totalBookings': number;
1461
+ /**
1462
+ * Nombre total de réservations dans le club courant
1463
+ * @type {number}
1464
+ * @memberof ClubPlayerStatisticsResponse
1465
+ */
1466
+ 'totalBookingsInMyClub': number;
1467
+ /**
1468
+ * Somme totale dépensée dans le club courant (centimes)
1469
+ * @type {number}
1470
+ * @memberof ClubPlayerStatisticsResponse
1471
+ */
1472
+ 'totalSpentAmount': number;
1473
+ /**
1474
+ * Sport le plus pratiqué dans le club courant
1475
+ * @type {string}
1476
+ * @memberof ClubPlayerStatisticsResponse
1477
+ */
1478
+ 'favoriteSport': string | null;
1479
+ /**
1480
+ * Temps moyen entre la réservation et le début du créneau (heures)
1481
+ * @type {number}
1482
+ * @memberof ClubPlayerStatisticsResponse
1483
+ */
1484
+ 'averageBookingLeadTimeHours': number | null;
1485
+ /**
1486
+ * Taux d\'annulation dans le club courant (0-1)
1487
+ * @type {number}
1488
+ * @memberof ClubPlayerStatisticsResponse
1489
+ */
1490
+ 'bookingCancellationRate': number;
1491
+ /**
1492
+ * Nombre d\'abonnements actifs au club courant
1493
+ * @type {number}
1494
+ * @memberof ClubPlayerStatisticsResponse
1495
+ */
1496
+ 'activeSubscriptionsToMyClub': number;
1497
+ /**
1498
+ * Heure de créneau favorite dans le club courant (format HH:00)
1499
+ * @type {string}
1500
+ * @memberof ClubPlayerStatisticsResponse
1501
+ */
1502
+ 'favoriteTimeSlot': string | null;
1503
+ /**
1504
+ *
1505
+ * @type {ClubPlayerStatisticsResponseFavoriteClub}
1506
+ * @memberof ClubPlayerStatisticsResponse
1507
+ */
1508
+ 'favoriteClub': ClubPlayerStatisticsResponseFavoriteClub | null;
1509
+ /**
1510
+ *
1511
+ * @type {ClubPlayerStatisticsResponseMostPlayedClub}
1512
+ * @memberof ClubPlayerStatisticsResponse
1513
+ */
1514
+ 'mostPlayedClub': ClubPlayerStatisticsResponseMostPlayedClub | null;
1515
+ /**
1516
+ * Évolution quotidienne des montants dépensés ce mois-ci
1517
+ * @type {Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>}
1518
+ * @memberof ClubPlayerStatisticsResponse
1519
+ */
1520
+ 'bookingAmountEvolutionThisMonth': Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>;
1521
+ /**
1522
+ * Joueurs les plus joués dans le club courant
1523
+ * @type {Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>}
1524
+ * @memberof ClubPlayerStatisticsResponse
1525
+ */
1526
+ 'mostPlayedPartners': Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>;
1527
+ }
1528
+ /**
1529
+ *
1530
+ * @export
1531
+ * @interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1532
+ */
1533
+ export interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner {
1534
+ /**
1535
+ *
1536
+ * @type {number}
1537
+ * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1538
+ */
1539
+ 'amount': number;
1540
+ /**
1541
+ *
1542
+ * @type {number}
1543
+ * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1544
+ */
1545
+ 'day': number;
1546
+ }
1547
+ /**
1548
+ * Club favori selon le profil utilisateur
1549
+ * @export
1550
+ * @interface ClubPlayerStatisticsResponseFavoriteClub
1551
+ */
1552
+ export interface ClubPlayerStatisticsResponseFavoriteClub {
1553
+ /**
1554
+ *
1555
+ * @type {string}
1556
+ * @memberof ClubPlayerStatisticsResponseFavoriteClub
1215
1557
  */
1216
- 'playerId': string;
1558
+ 'name': string | null;
1217
1559
  /**
1218
- * ID de la facture
1560
+ *
1219
1561
  * @type {string}
1220
- * @memberof CheckedInPlayer
1562
+ * @memberof ClubPlayerStatisticsResponseFavoriteClub
1221
1563
  */
1222
- 'invoiceId': string;
1564
+ 'clubId': string;
1565
+ }
1566
+ /**
1567
+ * Club où le joueur a le plus joué
1568
+ * @export
1569
+ * @interface ClubPlayerStatisticsResponseMostPlayedClub
1570
+ */
1571
+ export interface ClubPlayerStatisticsResponseMostPlayedClub {
1223
1572
  /**
1224
- * Montant payé
1573
+ *
1225
1574
  * @type {number}
1226
- * @memberof CheckedInPlayer
1575
+ * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1227
1576
  */
1228
- 'amount': number;
1577
+ 'bookingsCount': number;
1229
1578
  /**
1230
- * Statut précédent (optionnel)
1579
+ *
1231
1580
  * @type {string}
1232
- * @memberof CheckedInPlayer
1581
+ * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1233
1582
  */
1234
- 'previousStatus'?: string;
1583
+ 'name': string | null;
1235
1584
  /**
1236
- * Nouveau statut (optionnel)
1585
+ *
1237
1586
  * @type {string}
1238
- * @memberof CheckedInPlayer
1587
+ * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1239
1588
  */
1240
- 'newStatus'?: string;
1589
+ 'clubId': string;
1590
+ }
1591
+ /**
1592
+ *
1593
+ * @export
1594
+ * @interface ClubPlayerStatisticsResponseMostPlayedPartnersInner
1595
+ */
1596
+ export interface ClubPlayerStatisticsResponseMostPlayedPartnersInner {
1241
1597
  /**
1242
- * Statut actuel
1598
+ *
1599
+ * @type {number}
1600
+ * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1601
+ */
1602
+ 'bookingsTogether': number;
1603
+ /**
1604
+ *
1243
1605
  * @type {string}
1244
- * @memberof CheckedInPlayer
1606
+ * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1245
1607
  */
1246
- 'status'?: string;
1608
+ 'lastName': string | null;
1247
1609
  /**
1248
1610
  *
1249
- * @type {PaymentMethod}
1250
- * @memberof CheckedInPlayer
1611
+ * @type {string}
1612
+ * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1251
1613
  */
1252
- 'paymentMethod'?: PaymentMethod;
1614
+ 'firstName': string | null;
1253
1615
  /**
1254
- * Note additionnelle
1616
+ *
1255
1617
  * @type {string}
1256
- * @memberof CheckedInPlayer
1618
+ * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1257
1619
  */
1258
- 'note'?: string;
1620
+ 'userId': string;
1259
1621
  }
1260
-
1261
-
1262
1622
  /**
1263
1623
  *
1264
1624
  * @export
1265
- * @interface ClubMemberResponse
1625
+ * @interface ClubPlayerSubscriptionSummary
1266
1626
  */
1267
- export interface ClubMemberResponse {
1627
+ export interface ClubPlayerSubscriptionSummary {
1268
1628
  /**
1269
- *
1270
- * @type {ClubMemberResponseUser}
1271
- * @memberof ClubMemberResponse
1629
+ * ID du plan d\'abonnement
1630
+ * @type {string}
1631
+ * @memberof ClubPlayerSubscriptionSummary
1272
1632
  */
1273
- 'user': ClubMemberResponseUser;
1633
+ 'id': string;
1274
1634
  /**
1275
- * Rôle du membre dans le club
1635
+ * Nom du plan
1276
1636
  * @type {string}
1277
- * @memberof ClubMemberResponse
1637
+ * @memberof ClubPlayerSubscriptionSummary
1278
1638
  */
1279
- 'role': string;
1639
+ 'name': string | null;
1280
1640
  /**
1281
- * Droits du membre dans le club
1282
- * @type {Array<string>}
1283
- * @memberof ClubMemberResponse
1641
+ * Montant en centimes
1642
+ * @type {number}
1643
+ * @memberof ClubPlayerSubscriptionSummary
1284
1644
  */
1285
- 'rights': Array<string>;
1645
+ 'amountInCents': number | null;
1646
+ /**
1647
+ * Devise
1648
+ * @type {string}
1649
+ * @memberof ClubPlayerSubscriptionSummary
1650
+ */
1651
+ 'currency': string | null;
1652
+ /**
1653
+ * Intervalle de facturation
1654
+ * @type {string}
1655
+ * @memberof ClubPlayerSubscriptionSummary
1656
+ */
1657
+ 'interval': string | null;
1286
1658
  }
1287
1659
  /**
1288
- * Utilisateur (membre)
1660
+ *
1289
1661
  * @export
1290
- * @interface ClubMemberResponseUser
1662
+ * @interface ClubPresentationSettingsResponse
1291
1663
  */
1292
- export interface ClubMemberResponseUser {
1664
+ export interface ClubPresentationSettingsResponse {
1293
1665
  /**
1294
1666
  *
1295
1667
  * @type {string}
1296
- * @memberof ClubMemberResponseUser
1668
+ * @memberof ClubPresentationSettingsResponse
1297
1669
  */
1298
- 'email': string;
1670
+ 'description'?: string;
1299
1671
  /**
1300
1672
  *
1301
- * @type {string}
1302
- * @memberof ClubMemberResponseUser
1673
+ * @type {Array<string>}
1674
+ * @memberof ClubPresentationSettingsResponse
1303
1675
  */
1304
- 'lastName': string;
1676
+ 'tags': Array<string>;
1305
1677
  /**
1306
1678
  *
1307
- * @type {string}
1308
- * @memberof ClubMemberResponseUser
1679
+ * @type {Array<string>}
1680
+ * @memberof ClubPresentationSettingsResponse
1309
1681
  */
1310
- 'firstName': string;
1682
+ 'bannerImages': Array<string>;
1311
1683
  /**
1312
1684
  *
1313
- * @type {string}
1314
- * @memberof ClubMemberResponseUser
1685
+ * @type {Array<string>}
1686
+ * @memberof ClubPresentationSettingsResponse
1315
1687
  */
1316
- 'id': string;
1688
+ 'galleryImages': Array<string>;
1317
1689
  }
1318
1690
  /**
1319
1691
  *
1320
1692
  * @export
1321
- * @interface ClubPlayerResponse
1693
+ * @interface ClubPricingPeriodResponse
1322
1694
  */
1323
- export interface ClubPlayerResponse {
1695
+ export interface ClubPricingPeriodResponse {
1324
1696
  /**
1325
- * ID de l\'utilisateur
1697
+ *
1326
1698
  * @type {string}
1327
- * @memberof ClubPlayerResponse
1699
+ * @memberof ClubPricingPeriodResponse
1328
1700
  */
1329
1701
  'id': string;
1330
1702
  /**
1331
- * Prénom
1703
+ *
1332
1704
  * @type {string}
1333
- * @memberof ClubPlayerResponse
1705
+ * @memberof ClubPricingPeriodResponse
1334
1706
  */
1335
- 'firstName': string;
1707
+ 'name': string;
1336
1708
  /**
1337
- * Nom
1338
- * @type {string}
1339
- * @memberof ClubPlayerResponse
1709
+ *
1710
+ * @type {Array<string>}
1711
+ * @memberof ClubPricingPeriodResponse
1340
1712
  */
1341
- 'lastName': string;
1713
+ 'days': Array<string>;
1342
1714
  /**
1343
- * Genre
1715
+ *
1344
1716
  * @type {string}
1345
- * @memberof ClubPlayerResponse
1717
+ * @memberof ClubPricingPeriodResponse
1346
1718
  */
1347
- 'gender'?: string;
1719
+ 'startTime': string;
1348
1720
  /**
1349
- * Email
1721
+ *
1350
1722
  * @type {string}
1351
- * @memberof ClubPlayerResponse
1723
+ * @memberof ClubPricingPeriodResponse
1352
1724
  */
1353
- 'email': string;
1725
+ 'endTime': string;
1354
1726
  /**
1355
- * Photo de profil
1356
- * @type {string}
1357
- * @memberof ClubPlayerResponse
1727
+ *
1728
+ * @type {number}
1729
+ * @memberof ClubPricingPeriodResponse
1358
1730
  */
1359
- 'profilePicture'?: string;
1731
+ 'variation': number;
1732
+ }
1733
+ /**
1734
+ *
1735
+ * @export
1736
+ * @interface ClubReservationSettingsResponse
1737
+ */
1738
+ export interface ClubReservationSettingsResponse {
1360
1739
  /**
1361
- * Compte vérifié
1362
- * @type {boolean}
1363
- * @memberof ClubPlayerResponse
1740
+ *
1741
+ * @type {number}
1742
+ * @memberof ClubReservationSettingsResponse
1364
1743
  */
1365
- 'isAccountVerified': boolean;
1744
+ 'maxWeeklyBookings': number | null;
1366
1745
  /**
1367
- * Profil visible
1746
+ *
1368
1747
  * @type {boolean}
1369
- * @memberof ClubPlayerResponse
1748
+ * @memberof ClubReservationSettingsResponse
1370
1749
  */
1371
- 'isProfileVisible': boolean;
1750
+ 'unlimitedWeeklyBookings': boolean;
1372
1751
  /**
1373
- * Abonné au club
1374
- * @type {boolean}
1375
- * @memberof ClubPlayerResponse
1752
+ *
1753
+ * @type {number}
1754
+ * @memberof ClubReservationSettingsResponse
1376
1755
  */
1377
- 'isSubscribedToClub': boolean;
1756
+ 'sameTimeBookingsLimit': number;
1757
+ /**
1758
+ *
1759
+ * @type {number}
1760
+ * @memberof ClubReservationSettingsResponse
1761
+ */
1762
+ 'cancellationDelayInHours': number;
1763
+ /**
1764
+ *
1765
+ * @type {number}
1766
+ * @memberof ClubReservationSettingsResponse
1767
+ */
1768
+ 'bookingPeriodInDays': number;
1378
1769
  }
1379
1770
  /**
1380
1771
  *
@@ -1466,30 +1857,6 @@ export interface ClubResponse {
1466
1857
  * @memberof ClubResponse
1467
1858
  */
1468
1859
  'sports'?: Array<string>;
1469
- /**
1470
- * Autoriser plusieurs réservations en même temps
1471
- * @type {boolean}
1472
- * @memberof ClubResponse
1473
- */
1474
- 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1475
- /**
1476
- * Limite de réservations simultanées (même créneau)
1477
- * @type {number}
1478
- * @memberof ClubResponse
1479
- */
1480
- 'sameTimeBookingsLimit'?: number | null;
1481
- /**
1482
- * Limite d\'annulation en heures
1483
- * @type {number}
1484
- * @memberof ClubResponse
1485
- */
1486
- 'cancellationLimitHours'?: number | null;
1487
- /**
1488
- * Nombre maximum de réservations par semaine
1489
- * @type {number}
1490
- * @memberof ClubResponse
1491
- */
1492
- 'maxWeeklyBookings'?: number | null;
1493
1860
  /**
1494
1861
  *
1495
1862
  * @type {ClubResponseCreatedAt}
@@ -1631,73 +1998,6 @@ export const ClubRoleResponseRoleEnum = {
1631
1998
 
1632
1999
  export type ClubRoleResponseRoleEnum = typeof ClubRoleResponseRoleEnum[keyof typeof ClubRoleResponseRoleEnum];
1633
2000
 
1634
- /**
1635
- * Types TSOA pour les paramètres du club
1636
- * @export
1637
- * @interface ClubSettingsResponse
1638
- */
1639
- export interface ClubSettingsResponse {
1640
- /**
1641
- * ID unique des paramètres
1642
- * @type {string}
1643
- * @memberof ClubSettingsResponse
1644
- */
1645
- '_id': string;
1646
- /**
1647
- * ID du club
1648
- * @type {string}
1649
- * @memberof ClubSettingsResponse
1650
- */
1651
- 'clubId': string;
1652
- /**
1653
- * Nombre maximum de réservations par semaine
1654
- * @type {number}
1655
- * @memberof ClubSettingsResponse
1656
- */
1657
- 'maxWeeklyBookings': number;
1658
- /**
1659
- * Limite de réservations simultanées
1660
- * @type {number}
1661
- * @memberof ClubSettingsResponse
1662
- */
1663
- 'sameTimeBookingsLimit'?: number;
1664
- /**
1665
- * Limite d\'annulation en heures
1666
- * @type {number}
1667
- * @memberof ClubSettingsResponse
1668
- */
1669
- 'cancellationLimitHours': number;
1670
- /**
1671
- * Période de disponibilité en jours
1672
- * @type {number}
1673
- * @memberof ClubSettingsResponse
1674
- */
1675
- 'availabilityPeriodInDays': number;
1676
- /**
1677
- * Liste des sponsors
1678
- * @type {Array<string>}
1679
- * @memberof ClubSettingsResponse
1680
- */
1681
- 'sponsors': Array<string>;
1682
- /**
1683
- * Temps avant paiement en minutes
1684
- * @type {number}
1685
- * @memberof ClubSettingsResponse
1686
- */
1687
- 'timeBeforePayment': number;
1688
- /**
1689
- * Date de création
1690
- * @type {string}
1691
- * @memberof ClubSettingsResponse
1692
- */
1693
- 'createdAt': string;
1694
- /**
1695
- * Date de mise à jour
1696
- * @type {string}
1697
- * @memberof ClubSettingsResponse
1698
- */
1699
- 'updatedAt': string;
1700
- }
1701
2001
  /**
1702
2002
  *
1703
2003
  * @export
@@ -1764,20 +2064,101 @@ export interface ClubSummary {
1764
2064
  * @type {number}
1765
2065
  * @memberof ClubSummary
1766
2066
  */
1767
- 'visitCount'?: number;
2067
+ 'visitCount'?: number;
2068
+ }
2069
+ /**
2070
+ *
2071
+ * @export
2072
+ * @interface ClubUserCountResponse
2073
+ */
2074
+ export interface ClubUserCountResponse {
2075
+ /**
2076
+ * Nombre d\'utilisateurs du club
2077
+ * @type {number}
2078
+ * @memberof ClubUserCountResponse
2079
+ */
2080
+ 'count': number;
2081
+ }
2082
+ /**
2083
+ *
2084
+ * @export
2085
+ * @interface ClubWeeklySchedule
2086
+ */
2087
+ export interface ClubWeeklySchedule {
2088
+ /**
2089
+ *
2090
+ * @type {ClubDaySchedule}
2091
+ * @memberof ClubWeeklySchedule
2092
+ */
2093
+ 'sunday': ClubDaySchedule | null;
2094
+ /**
2095
+ *
2096
+ * @type {ClubDaySchedule}
2097
+ * @memberof ClubWeeklySchedule
2098
+ */
2099
+ 'saturday': ClubDaySchedule | null;
2100
+ /**
2101
+ *
2102
+ * @type {ClubDaySchedule}
2103
+ * @memberof ClubWeeklySchedule
2104
+ */
2105
+ 'friday': ClubDaySchedule | null;
2106
+ /**
2107
+ *
2108
+ * @type {ClubDaySchedule}
2109
+ * @memberof ClubWeeklySchedule
2110
+ */
2111
+ 'thursday': ClubDaySchedule | null;
2112
+ /**
2113
+ *
2114
+ * @type {ClubDaySchedule}
2115
+ * @memberof ClubWeeklySchedule
2116
+ */
2117
+ 'wednesday': ClubDaySchedule | null;
2118
+ /**
2119
+ *
2120
+ * @type {ClubDaySchedule}
2121
+ * @memberof ClubWeeklySchedule
2122
+ */
2123
+ 'tuesday': ClubDaySchedule | null;
2124
+ /**
2125
+ *
2126
+ * @type {ClubDaySchedule}
2127
+ * @memberof ClubWeeklySchedule
2128
+ */
2129
+ 'monday': ClubDaySchedule | null;
2130
+ }
2131
+ /**
2132
+ *
2133
+ * @export
2134
+ * @interface ConfirmPaymentMethodRequestBody
2135
+ */
2136
+ export interface ConfirmPaymentMethodRequestBody {
2137
+ /**
2138
+ *
2139
+ * @type {string}
2140
+ * @memberof ConfirmPaymentMethodRequestBody
2141
+ */
2142
+ 'setupIntentId': string;
1768
2143
  }
1769
2144
  /**
1770
2145
  *
1771
2146
  * @export
1772
- * @interface ClubUserCountResponse
2147
+ * @interface ConfirmPaymentMethodResponse
1773
2148
  */
1774
- export interface ClubUserCountResponse {
2149
+ export interface ConfirmPaymentMethodResponse {
1775
2150
  /**
1776
- * Nombre d\'utilisateurs du club
1777
- * @type {number}
1778
- * @memberof ClubUserCountResponse
2151
+ *
2152
+ * @type {string}
2153
+ * @memberof ConfirmPaymentMethodResponse
1779
2154
  */
1780
- 'count': number;
2155
+ 'message': string;
2156
+ /**
2157
+ *
2158
+ * @type {string}
2159
+ * @memberof ConfirmPaymentMethodResponse
2160
+ */
2161
+ 'paymentMethodId'?: string | null;
1781
2162
  }
1782
2163
  /**
1783
2164
  *
@@ -1941,10 +2322,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
1941
2322
  export interface CreateBookingRequest {
1942
2323
  /**
1943
2324
  * ID du créneau à réserver
1944
- * @type {Array<string>}
2325
+ * @type {string}
1945
2326
  * @memberof CreateBookingRequest
1946
2327
  */
1947
- 'slotIds': Array<string>;
2328
+ 'slotId': string;
1948
2329
  /**
1949
2330
  * Liste des joueurs avec leurs méthodes de paiement
1950
2331
  * @type {Array<PlayerWithPaymentMethod>}
@@ -2025,61 +2406,6 @@ export const CreateClubRoleRequestRoleEnum = {
2025
2406
 
2026
2407
  export type CreateClubRoleRequestRoleEnum = typeof CreateClubRoleRequestRoleEnum[keyof typeof CreateClubRoleRequestRoleEnum];
2027
2408
 
2028
- /**
2029
- *
2030
- * @export
2031
- * @interface CreateClubSettingsRequest
2032
- */
2033
- export interface CreateClubSettingsRequest {
2034
- /**
2035
- * ID du club
2036
- * @type {string}
2037
- * @memberof CreateClubSettingsRequest
2038
- */
2039
- 'clubId': string;
2040
- /**
2041
- * Nombre maximum de réservations par semaine
2042
- * @type {number}
2043
- * @memberof CreateClubSettingsRequest
2044
- */
2045
- 'maxWeeklyBookings'?: number;
2046
- /**
2047
- * Autoriser plusieurs réservations en même temps
2048
- * @type {boolean}
2049
- * @memberof CreateClubSettingsRequest
2050
- */
2051
- 'allowMultipleBookingsAtTheSameTime'?: boolean;
2052
- /**
2053
- * Limite de réservations simultanées
2054
- * @type {number}
2055
- * @memberof CreateClubSettingsRequest
2056
- */
2057
- 'sameTimeBookingsLimit'?: number;
2058
- /**
2059
- * Limite d\'annulation en heures
2060
- * @type {number}
2061
- * @memberof CreateClubSettingsRequest
2062
- */
2063
- 'cancellationLimitHours'?: number;
2064
- /**
2065
- * Période de disponibilité en jours
2066
- * @type {number}
2067
- * @memberof CreateClubSettingsRequest
2068
- */
2069
- 'availabilityPeriodInDays'?: number;
2070
- /**
2071
- * Liste des sponsors
2072
- * @type {Array<string>}
2073
- * @memberof CreateClubSettingsRequest
2074
- */
2075
- 'sponsors'?: Array<string>;
2076
- /**
2077
- * Temps avant paiement en minutes
2078
- * @type {number}
2079
- * @memberof CreateClubSettingsRequest
2080
- */
2081
- 'timeBeforePayment'?: number;
2082
- }
2083
2409
  /**
2084
2410
  *
2085
2411
  * @export
@@ -2192,10 +2518,10 @@ export interface CreateEventRequest {
2192
2518
  'endDate': string;
2193
2519
  /**
2194
2520
  *
2195
- * @type {Array<EventResponseCourtsInner>}
2521
+ * @type {Array<string>}
2196
2522
  * @memberof CreateEventRequest
2197
2523
  */
2198
- 'courts': Array<EventResponseCourtsInner>;
2524
+ 'courts': Array<string>;
2199
2525
  /**
2200
2526
  *
2201
2527
  * @type {Array<string>}
@@ -2256,6 +2582,12 @@ export interface CreateEventRequest {
2256
2582
  * @memberof CreateEventRequest
2257
2583
  */
2258
2584
  'subscriberPrices'?: Array<SubscriberPrice>;
2585
+ /**
2586
+ *
2587
+ * @type {Array<number>}
2588
+ * @memberof CreateEventRequest
2589
+ */
2590
+ 'levels'?: Array<number>;
2259
2591
  /**
2260
2592
  *
2261
2593
  * @type {string}
@@ -2557,19 +2889,6 @@ export interface DeleteClubRoleResponse {
2557
2889
  */
2558
2890
  'message': string;
2559
2891
  }
2560
- /**
2561
- *
2562
- * @export
2563
- * @interface DeleteClubSettingsResponse
2564
- */
2565
- export interface DeleteClubSettingsResponse {
2566
- /**
2567
- * Message de confirmation
2568
- * @type {string}
2569
- * @memberof DeleteClubSettingsResponse
2570
- */
2571
- 'message': string;
2572
- }
2573
2892
  /**
2574
2893
  *
2575
2894
  * @export
@@ -2694,10 +3013,10 @@ export interface EventResponse {
2694
3013
  'endDate': string;
2695
3014
  /**
2696
3015
  *
2697
- * @type {Array<EventResponseCourtsInner>}
3016
+ * @type {Array<string>}
2698
3017
  * @memberof EventResponse
2699
3018
  */
2700
- 'courts': Array<EventResponseCourtsInner>;
3019
+ 'courts': Array<string>;
2701
3020
  /**
2702
3021
  *
2703
3022
  * @type {Array<SportWithLevels>}
@@ -2818,13 +3137,6 @@ export const EventResponseVisibilityTypeEnum = {
2818
3137
 
2819
3138
  export type EventResponseVisibilityTypeEnum = typeof EventResponseVisibilityTypeEnum[keyof typeof EventResponseVisibilityTypeEnum];
2820
3139
 
2821
- /**
2822
- *
2823
- * @export
2824
- * @interface EventResponseCourtsInner
2825
- */
2826
- export interface EventResponseCourtsInner {
2827
- }
2828
3140
  /**
2829
3141
  *
2830
3142
  * @export
@@ -3398,12 +3710,24 @@ export interface IUserAttributes {
3398
3710
  * @memberof IUserAttributes
3399
3711
  */
3400
3712
  'isAccountVerified': boolean;
3713
+ /**
3714
+ *
3715
+ * @type {boolean}
3716
+ * @memberof IUserAttributes
3717
+ */
3718
+ 'isCreditCardRegistered'?: boolean;
3401
3719
  /**
3402
3720
  *
3403
3721
  * @type {Array<ILevelBySports>}
3404
3722
  * @memberof IUserAttributes
3405
3723
  */
3406
3724
  'levelBySports'?: Array<ILevelBySports>;
3725
+ /**
3726
+ *
3727
+ * @type {string}
3728
+ * @memberof IUserAttributes
3729
+ */
3730
+ 'stripeCustomerId'?: string;
3407
3731
  /**
3408
3732
  *
3409
3733
  * @type {string}
@@ -3476,6 +3800,30 @@ export interface IUserAttributes {
3476
3800
  * @memberof IUserAttributes
3477
3801
  */
3478
3802
  'isLevelCertified'?: boolean;
3803
+ /**
3804
+ *
3805
+ * @type {Array<string>}
3806
+ * @memberof IUserAttributes
3807
+ */
3808
+ 'paymentMethods'?: Array<string>;
3809
+ /**
3810
+ *
3811
+ * @type {string}
3812
+ * @memberof IUserAttributes
3813
+ */
3814
+ 'defaultPaymentMethodId'?: string;
3815
+ /**
3816
+ *
3817
+ * @type {boolean}
3818
+ * @memberof IUserAttributes
3819
+ */
3820
+ 'paymentMethodSetupCompleted': boolean;
3821
+ /**
3822
+ *
3823
+ * @type {string}
3824
+ * @memberof IUserAttributes
3825
+ */
3826
+ 'setupIntentId'?: string;
3479
3827
  /**
3480
3828
  *
3481
3829
  * @type {Array<string>}
@@ -3506,12 +3854,6 @@ export interface IUserAttributes {
3506
3854
  * @memberof IUserAttributes
3507
3855
  */
3508
3856
  'sports'?: { [key: string]: any; };
3509
- /**
3510
- *
3511
- * @type {string}
3512
- * @memberof IUserAttributes
3513
- */
3514
- 'stripeCustomerId'?: string;
3515
3857
  }
3516
3858
 
3517
3859
 
@@ -3669,26 +4011,6 @@ export interface InvoiceInfo {
3669
4011
  */
3670
4012
  'status': string;
3671
4013
  }
3672
- /**
3673
- *
3674
- * @export
3675
- * @enum {string}
3676
- */
3677
-
3678
- export const InvoiceStatus = {
3679
- SetupPending: 'setup_pending',
3680
- SetupSuccess: 'setup_success',
3681
- Pending: 'pending',
3682
- Paid: 'paid',
3683
- Failed: 'failed',
3684
- Authorized: 'authorized',
3685
- Canceled: 'canceled',
3686
- Expired: 'expired'
3687
- } as const;
3688
-
3689
- export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
3690
-
3691
-
3692
4014
  /**
3693
4015
  *
3694
4016
  * @export
@@ -4080,41 +4402,66 @@ export interface PartialClubResponse {
4080
4402
  */
4081
4403
  'sports'?: Array<string>;
4082
4404
  /**
4083
- * Autoriser plusieurs réservations en même temps
4084
- * @type {boolean}
4405
+ *
4406
+ * @type {ClubResponseCreatedAt}
4085
4407
  * @memberof PartialClubResponse
4086
4408
  */
4087
- 'allowMultipleBookingsAtTheSameTime'?: boolean;
4409
+ 'createdAt'?: ClubResponseCreatedAt;
4088
4410
  /**
4089
- * Limite de réservations simultanées (même créneau)
4090
- * @type {number}
4411
+ *
4412
+ * @type {ClubResponseUpdatedAt}
4091
4413
  * @memberof PartialClubResponse
4092
4414
  */
4093
- 'sameTimeBookingsLimit'?: number;
4415
+ 'updatedAt'?: ClubResponseUpdatedAt;
4416
+ }
4417
+ /**
4418
+ * Make all properties in T optional
4419
+ * @export
4420
+ * @interface PartialClubWeeklySchedule
4421
+ */
4422
+ export interface PartialClubWeeklySchedule {
4094
4423
  /**
4095
- * Limite d\'annulation en heures
4096
- * @type {number}
4097
- * @memberof PartialClubResponse
4424
+ *
4425
+ * @type {ClubDaySchedule}
4426
+ * @memberof PartialClubWeeklySchedule
4098
4427
  */
4099
- 'cancellationLimitHours'?: number;
4428
+ 'monday'?: ClubDaySchedule;
4100
4429
  /**
4101
- * Nombre maximum de réservations par semaine
4102
- * @type {number}
4103
- * @memberof PartialClubResponse
4430
+ *
4431
+ * @type {ClubDaySchedule}
4432
+ * @memberof PartialClubWeeklySchedule
4104
4433
  */
4105
- 'maxWeeklyBookings'?: number;
4434
+ 'tuesday'?: ClubDaySchedule;
4106
4435
  /**
4107
4436
  *
4108
- * @type {ClubResponseCreatedAt}
4109
- * @memberof PartialClubResponse
4437
+ * @type {ClubDaySchedule}
4438
+ * @memberof PartialClubWeeklySchedule
4110
4439
  */
4111
- 'createdAt'?: ClubResponseCreatedAt;
4440
+ 'wednesday'?: ClubDaySchedule;
4112
4441
  /**
4113
4442
  *
4114
- * @type {ClubResponseUpdatedAt}
4115
- * @memberof PartialClubResponse
4443
+ * @type {ClubDaySchedule}
4444
+ * @memberof PartialClubWeeklySchedule
4116
4445
  */
4117
- 'updatedAt'?: ClubResponseUpdatedAt;
4446
+ 'thursday'?: ClubDaySchedule;
4447
+ /**
4448
+ *
4449
+ * @type {ClubDaySchedule}
4450
+ * @memberof PartialClubWeeklySchedule
4451
+ */
4452
+ 'friday'?: ClubDaySchedule;
4453
+ /**
4454
+ *
4455
+ * @type {ClubDaySchedule}
4456
+ * @memberof PartialClubWeeklySchedule
4457
+ */
4458
+ 'saturday'?: ClubDaySchedule;
4459
+ /**
4460
+ *
4461
+ * @type {ClubDaySchedule}
4462
+ * @memberof PartialClubWeeklySchedule
4463
+ */
4464
+ 'sunday'?: ClubDaySchedule;
4118
4465
  }
4119
4466
  /**
4120
4467
  *
@@ -4163,6 +4510,31 @@ export const PaymentMethod = {
4163
4510
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
4164
4511
 
4165
4512
 
4513
+ /**
4514
+ *
4515
+ * @export
4516
+ * @interface PaymentMethodSetupResponse
4517
+ */
4518
+ export interface PaymentMethodSetupResponse {
4519
+ /**
4520
+ *
4521
+ * @type {string}
4522
+ * @memberof PaymentMethodSetupResponse
4523
+ */
4524
+ 'message': string;
4525
+ /**
4526
+ *
4527
+ * @type {Array<string>}
4528
+ * @memberof PaymentMethodSetupResponse
4529
+ */
4530
+ 'paymentMethods': Array<string>;
4531
+ /**
4532
+ *
4533
+ * @type {string}
4534
+ * @memberof PaymentMethodSetupResponse
4535
+ */
4536
+ 'defaultPaymentMethodId'?: string | null;
4537
+ }
4166
4538
  /**
4167
4539
  * From T, pick a set of properties whose keys are in the union K
4168
4540
  * @export
@@ -4415,49 +4787,6 @@ export interface PlayerPaymentInfo {
4415
4787
  }
4416
4788
 
4417
4789
 
4418
- /**
4419
- *
4420
- * @export
4421
- * @interface PlayerPrice
4422
- */
4423
- export interface PlayerPrice {
4424
- /**
4425
- *
4426
- * @type {string}
4427
- * @memberof PlayerPrice
4428
- */
4429
- 'playerId': string;
4430
- /**
4431
- *
4432
- * @type {string}
4433
- * @memberof PlayerPrice
4434
- */
4435
- 'firstName'?: string;
4436
- /**
4437
- *
4438
- * @type {string}
4439
- * @memberof PlayerPrice
4440
- */
4441
- 'lastName'?: string;
4442
- /**
4443
- *
4444
- * @type {Array<SubscriptionInfo>}
4445
- * @memberof PlayerPrice
4446
- */
4447
- 'subscriptions': Array<SubscriptionInfo>;
4448
- /**
4449
- *
4450
- * @type {number}
4451
- * @memberof PlayerPrice
4452
- */
4453
- 'creditAvailablesInCents'?: number;
4454
- /**
4455
- *
4456
- * @type {number}
4457
- * @memberof PlayerPrice
4458
- */
4459
- 'price': number;
4460
- }
4461
4790
  /**
4462
4791
  *
4463
4792
  * @export
@@ -4729,25 +5058,6 @@ export interface PublishEventResponse {
4729
5058
  */
4730
5059
  'event': EventResponse;
4731
5060
  }
4732
- /**
4733
- *
4734
- * @export
4735
- * @interface QuickReservationClubSport
4736
- */
4737
- export interface QuickReservationClubSport {
4738
- /**
4739
- * ID du sport
4740
- * @type {string}
4741
- * @memberof QuickReservationClubSport
4742
- */
4743
- 'id': string;
4744
- /**
4745
- * Clé du sport
4746
- * @type {string}
4747
- * @memberof QuickReservationClubSport
4748
- */
4749
- 'key'?: string;
4750
- }
4751
5061
  /**
4752
5062
  *
4753
5063
  * @export
@@ -4766,12 +5076,6 @@ export interface QuickReservationClubSummary {
4766
5076
  * @memberof QuickReservationClubSummary
4767
5077
  */
4768
5078
  'clubName': string;
4769
- /**
4770
- * Description du club
4771
- * @type {string}
4772
- * @memberof QuickReservationClubSummary
4773
- */
4774
- 'description'?: string;
4775
5079
  /**
4776
5080
  * Distance par rapport à la recherche, en mètres
4777
5081
  * @type {number}
@@ -4790,12 +5094,6 @@ export interface QuickReservationClubSummary {
4790
5094
  * @memberof QuickReservationClubSummary
4791
5095
  */
4792
5096
  'slots': Array<QuickReservationSlotSummary>;
4793
- /**
4794
- * Sports disponibles dans le club
4795
- * @type {Array<QuickReservationClubSport>}
4796
- * @memberof QuickReservationClubSummary
4797
- */
4798
- 'sports'?: Array<QuickReservationClubSport>;
4799
5097
  }
4800
5098
  /**
4801
5099
  * Localisation du club
@@ -5164,26 +5462,64 @@ export interface RequestPasswordReset200Response {
5164
5462
  * @type {string}
5165
5463
  * @memberof RequestPasswordReset200Response
5166
5464
  */
5167
- 'message': string;
5465
+ 'message': string;
5466
+ }
5467
+ /**
5468
+ *
5469
+ * @export
5470
+ * @interface ResetPasswordRequest
5471
+ */
5472
+ export interface ResetPasswordRequest {
5473
+ /**
5474
+ *
5475
+ * @type {string}
5476
+ * @memberof ResetPasswordRequest
5477
+ */
5478
+ 'newPassword'?: string;
5479
+ /**
5480
+ *
5481
+ * @type {string}
5482
+ * @memberof ResetPasswordRequest
5483
+ */
5484
+ 'token'?: string;
5485
+ }
5486
+ /**
5487
+ *
5488
+ * @export
5489
+ * @interface SetupPaymentMethodRequestBody
5490
+ */
5491
+ export interface SetupPaymentMethodRequestBody {
5492
+ /**
5493
+ *
5494
+ * @type {string}
5495
+ * @memberof SetupPaymentMethodRequestBody
5496
+ */
5497
+ 'clubId': string;
5168
5498
  }
5169
5499
  /**
5170
5500
  *
5171
5501
  * @export
5172
- * @interface ResetPasswordRequest
5502
+ * @interface SetupPaymentMethodResponse
5173
5503
  */
5174
- export interface ResetPasswordRequest {
5504
+ export interface SetupPaymentMethodResponse {
5175
5505
  /**
5176
5506
  *
5177
5507
  * @type {string}
5178
- * @memberof ResetPasswordRequest
5508
+ * @memberof SetupPaymentMethodResponse
5179
5509
  */
5180
- 'newPassword'?: string;
5510
+ 'setupIntentId': string;
5181
5511
  /**
5182
5512
  *
5183
5513
  * @type {string}
5184
- * @memberof ResetPasswordRequest
5514
+ * @memberof SetupPaymentMethodResponse
5185
5515
  */
5186
- 'token'?: string;
5516
+ 'clientSecret': string;
5517
+ /**
5518
+ *
5519
+ * @type {string}
5520
+ * @memberof SetupPaymentMethodResponse
5521
+ */
5522
+ 'message': string;
5187
5523
  }
5188
5524
  /**
5189
5525
  *
@@ -5214,7 +5550,7 @@ export interface SlotInfo {
5214
5550
  * @type {CourtInfo}
5215
5551
  * @memberof SlotInfo
5216
5552
  */
5217
- 'courtId': CourtInfo;
5553
+ 'court': CourtInfo;
5218
5554
  }
5219
5555
  /**
5220
5556
  *
@@ -5461,12 +5797,24 @@ export interface StaffUserProfileResponse {
5461
5797
  * @memberof StaffUserProfileResponse
5462
5798
  */
5463
5799
  'isAccountVerified': boolean;
5800
+ /**
5801
+ *
5802
+ * @type {boolean}
5803
+ * @memberof StaffUserProfileResponse
5804
+ */
5805
+ 'isCreditCardRegistered'?: boolean;
5464
5806
  /**
5465
5807
  *
5466
5808
  * @type {Array<ILevelBySports>}
5467
5809
  * @memberof StaffUserProfileResponse
5468
5810
  */
5469
5811
  'levelBySports'?: Array<ILevelBySports>;
5812
+ /**
5813
+ *
5814
+ * @type {string}
5815
+ * @memberof StaffUserProfileResponse
5816
+ */
5817
+ 'stripeCustomerId'?: string;
5470
5818
  /**
5471
5819
  *
5472
5820
  * @type {string}
@@ -5539,6 +5887,30 @@ export interface StaffUserProfileResponse {
5539
5887
  * @memberof StaffUserProfileResponse
5540
5888
  */
5541
5889
  'isLevelCertified'?: boolean;
5890
+ /**
5891
+ *
5892
+ * @type {Array<string>}
5893
+ * @memberof StaffUserProfileResponse
5894
+ */
5895
+ 'paymentMethods'?: Array<string>;
5896
+ /**
5897
+ *
5898
+ * @type {string}
5899
+ * @memberof StaffUserProfileResponse
5900
+ */
5901
+ 'defaultPaymentMethodId'?: string;
5902
+ /**
5903
+ *
5904
+ * @type {boolean}
5905
+ * @memberof StaffUserProfileResponse
5906
+ */
5907
+ 'paymentMethodSetupCompleted': boolean;
5908
+ /**
5909
+ *
5910
+ * @type {string}
5911
+ * @memberof StaffUserProfileResponse
5912
+ */
5913
+ 'setupIntentId'?: string;
5542
5914
  /**
5543
5915
  *
5544
5916
  * @type {Array<string>}
@@ -5569,12 +5941,6 @@ export interface StaffUserProfileResponse {
5569
5941
  * @memberof StaffUserProfileResponse
5570
5942
  */
5571
5943
  'sports'?: { [key: string]: any; };
5572
- /**
5573
- *
5574
- * @type {string}
5575
- * @memberof StaffUserProfileResponse
5576
- */
5577
- 'stripeCustomerId'?: string;
5578
5944
  /**
5579
5945
  *
5580
5946
  * @type {boolean}
@@ -6868,12 +7234,6 @@ export interface SubscribeRequestBody {
6868
7234
  * @memberof SubscribeRequestBody
6869
7235
  */
6870
7236
  'priceId': string;
6871
- /**
6872
- *
6873
- * @type {boolean}
6874
- * @memberof SubscribeRequestBody
6875
- */
6876
- 'useDefaultPaymentMethod'?: boolean;
6877
7237
  }
6878
7238
  /**
6879
7239
  *
@@ -6894,31 +7254,6 @@ export interface SubscriberPrice {
6894
7254
  */
6895
7255
  'amount': number;
6896
7256
  }
6897
- /**
6898
- *
6899
- * @export
6900
- * @interface SubscriptionInfo
6901
- */
6902
- export interface SubscriptionInfo {
6903
- /**
6904
- *
6905
- * @type {string}
6906
- * @memberof SubscriptionInfo
6907
- */
6908
- 'subscriptionPlanName'?: string;
6909
- /**
6910
- *
6911
- * @type {string}
6912
- * @memberof SubscriptionInfo
6913
- */
6914
- 'subscriptionDescription'?: string;
6915
- /**
6916
- *
6917
- * @type {number}
6918
- * @memberof SubscriptionInfo
6919
- */
6920
- 'reducedAmountInCents'?: number;
6921
- }
6922
7257
  /**
6923
7258
  *
6924
7259
  * @export
@@ -7036,6 +7371,111 @@ export interface UpdateActuality200Response {
7036
7371
  */
7037
7372
  'actuality': any;
7038
7373
  }
7374
+ /**
7375
+ *
7376
+ * @export
7377
+ * @interface UpdateClubGeneralSettingsRequest
7378
+ */
7379
+ export interface UpdateClubGeneralSettingsRequest {
7380
+ /**
7381
+ *
7382
+ * @type {string}
7383
+ * @memberof UpdateClubGeneralSettingsRequest
7384
+ */
7385
+ 'name'?: string;
7386
+ /**
7387
+ *
7388
+ * @type {string}
7389
+ * @memberof UpdateClubGeneralSettingsRequest
7390
+ */
7391
+ 'email'?: string;
7392
+ /**
7393
+ *
7394
+ * @type {string}
7395
+ * @memberof UpdateClubGeneralSettingsRequest
7396
+ */
7397
+ 'phone'?: string;
7398
+ /**
7399
+ *
7400
+ * @type {string}
7401
+ * @memberof UpdateClubGeneralSettingsRequest
7402
+ */
7403
+ 'websiteUrl'?: string;
7404
+ /**
7405
+ *
7406
+ * @type {string}
7407
+ * @memberof UpdateClubGeneralSettingsRequest
7408
+ */
7409
+ 'description'?: string;
7410
+ /**
7411
+ *
7412
+ * @type {string}
7413
+ * @memberof UpdateClubGeneralSettingsRequest
7414
+ */
7415
+ 'rib'?: string | null;
7416
+ /**
7417
+ *
7418
+ * @type {string}
7419
+ * @memberof UpdateClubGeneralSettingsRequest
7420
+ */
7421
+ 'logo'?: string | null;
7422
+ /**
7423
+ *
7424
+ * @type {ClubLocationSettings}
7425
+ * @memberof UpdateClubGeneralSettingsRequest
7426
+ */
7427
+ 'location'?: ClubLocationSettings;
7428
+ }
7429
+ /**
7430
+ *
7431
+ * @export
7432
+ * @interface UpdateClubHoursSettingsRequest
7433
+ */
7434
+ export interface UpdateClubHoursSettingsRequest {
7435
+ /**
7436
+ *
7437
+ * @type {PartialClubWeeklySchedule}
7438
+ * @memberof UpdateClubHoursSettingsRequest
7439
+ */
7440
+ 'schedule'?: PartialClubWeeklySchedule;
7441
+ /**
7442
+ *
7443
+ * @type {Array<ClubPricingPeriodResponse>}
7444
+ * @memberof UpdateClubHoursSettingsRequest
7445
+ */
7446
+ 'pricingPeriods'?: Array<ClubPricingPeriodResponse>;
7447
+ }
7448
+ /**
7449
+ *
7450
+ * @export
7451
+ * @interface UpdateClubPresentationSettingsRequest
7452
+ */
7453
+ export interface UpdateClubPresentationSettingsRequest {
7454
+ /**
7455
+ *
7456
+ * @type {string}
7457
+ * @memberof UpdateClubPresentationSettingsRequest
7458
+ */
7459
+ 'description'?: string;
7460
+ /**
7461
+ *
7462
+ * @type {Array<string>}
7463
+ * @memberof UpdateClubPresentationSettingsRequest
7464
+ */
7465
+ 'tags'?: Array<string>;
7466
+ /**
7467
+ *
7468
+ * @type {Array<string | null>}
7469
+ * @memberof UpdateClubPresentationSettingsRequest
7470
+ */
7471
+ 'bannerImages'?: Array<string | null>;
7472
+ /**
7473
+ *
7474
+ * @type {Array<string | null>}
7475
+ * @memberof UpdateClubPresentationSettingsRequest
7476
+ */
7477
+ 'galleryImages'?: Array<string | null>;
7478
+ }
7039
7479
  /**
7040
7480
  *
7041
7481
  * @export
@@ -7147,6 +7587,43 @@ export interface UpdateClubRequestLocationCoordinates {
7147
7587
  */
7148
7588
  'lat'?: number;
7149
7589
  }
7590
+ /**
7591
+ *
7592
+ * @export
7593
+ * @interface UpdateClubReservationSettingsRequest
7594
+ */
7595
+ export interface UpdateClubReservationSettingsRequest {
7596
+ /**
7597
+ *
7598
+ * @type {number}
7599
+ * @memberof UpdateClubReservationSettingsRequest
7600
+ */
7601
+ 'maxWeeklyBookings': number | null;
7602
+ /**
7603
+ *
7604
+ * @type {boolean}
7605
+ * @memberof UpdateClubReservationSettingsRequest
7606
+ */
7607
+ 'unlimitedWeeklyBookings': boolean;
7608
+ /**
7609
+ *
7610
+ * @type {number}
7611
+ * @memberof UpdateClubReservationSettingsRequest
7612
+ */
7613
+ 'sameTimeBookingsLimit': number;
7614
+ /**
7615
+ *
7616
+ * @type {number}
7617
+ * @memberof UpdateClubReservationSettingsRequest
7618
+ */
7619
+ 'cancellationDelayInHours': number;
7620
+ /**
7621
+ *
7622
+ * @type {number}
7623
+ * @memberof UpdateClubReservationSettingsRequest
7624
+ */
7625
+ 'bookingPeriodInDays': number;
7626
+ }
7150
7627
  /**
7151
7628
  *
7152
7629
  * @export
@@ -7175,55 +7652,6 @@ export const UpdateClubRoleRequestRoleEnum = {
7175
7652
 
7176
7653
  export type UpdateClubRoleRequestRoleEnum = typeof UpdateClubRoleRequestRoleEnum[keyof typeof UpdateClubRoleRequestRoleEnum];
7177
7654
 
7178
- /**
7179
- *
7180
- * @export
7181
- * @interface UpdateClubSettingsRequest
7182
- */
7183
- export interface UpdateClubSettingsRequest {
7184
- /**
7185
- * Nombre maximum de réservations par semaine
7186
- * @type {number}
7187
- * @memberof UpdateClubSettingsRequest
7188
- */
7189
- 'maxWeeklyBookings'?: number;
7190
- /**
7191
- * Autoriser plusieurs réservations en même temps
7192
- * @type {boolean}
7193
- * @memberof UpdateClubSettingsRequest
7194
- */
7195
- 'allowMultipleBookingsAtTheSameTime'?: boolean;
7196
- /**
7197
- * Limite de réservations simultanées
7198
- * @type {number}
7199
- * @memberof UpdateClubSettingsRequest
7200
- */
7201
- 'sameTimeBookingsLimit'?: number;
7202
- /**
7203
- * Limite d\'annulation en heures
7204
- * @type {number}
7205
- * @memberof UpdateClubSettingsRequest
7206
- */
7207
- 'cancellationLimitHours'?: number;
7208
- /**
7209
- * Période de disponibilité en jours
7210
- * @type {number}
7211
- * @memberof UpdateClubSettingsRequest
7212
- */
7213
- 'availabilityPeriodInDays'?: number;
7214
- /**
7215
- * Liste des sponsors
7216
- * @type {Array<string>}
7217
- * @memberof UpdateClubSettingsRequest
7218
- */
7219
- 'sponsors'?: Array<string>;
7220
- /**
7221
- * Temps avant paiement en minutes
7222
- * @type {number}
7223
- * @memberof UpdateClubSettingsRequest
7224
- */
7225
- 'timeBeforePayment'?: number;
7226
- }
7227
7655
  /**
7228
7656
  *
7229
7657
  * @export
@@ -7300,10 +7728,10 @@ export interface UpdateEventRequest {
7300
7728
  'endDate'?: string;
7301
7729
  /**
7302
7730
  *
7303
- * @type {Array<EventResponseCourtsInner>}
7731
+ * @type {Array<string>}
7304
7732
  * @memberof UpdateEventRequest
7305
7733
  */
7306
- 'courts'?: Array<EventResponseCourtsInner>;
7734
+ 'courts'?: Array<string>;
7307
7735
  /**
7308
7736
  *
7309
7737
  * @type {Array<string>}
@@ -7570,43 +7998,6 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
7570
7998
  */
7571
7999
  'sport': string;
7572
8000
  }
7573
- /**
7574
- *
7575
- * @export
7576
- * @interface UserBookingsResponse
7577
- */
7578
- export interface UserBookingsResponse {
7579
- /**
7580
- *
7581
- * @type {number}
7582
- * @memberof UserBookingsResponse
7583
- */
7584
- 'total': number;
7585
- /**
7586
- *
7587
- * @type {number}
7588
- * @memberof UserBookingsResponse
7589
- */
7590
- 'limit': number;
7591
- /**
7592
- *
7593
- * @type {number}
7594
- * @memberof UserBookingsResponse
7595
- */
7596
- 'skip': number;
7597
- /**
7598
- *
7599
- * @type {boolean}
7600
- * @memberof UserBookingsResponse
7601
- */
7602
- 'hasMore': boolean;
7603
- /**
7604
- *
7605
- * @type {Array<BookingSummary>}
7606
- * @memberof UserBookingsResponse
7607
- */
7608
- 'bookings': Array<BookingSummary>;
7609
- }
7610
8001
  /**
7611
8002
  *
7612
8003
  * @export
@@ -7871,12 +8262,24 @@ export interface UserProfileResponse {
7871
8262
  * @memberof UserProfileResponse
7872
8263
  */
7873
8264
  'isAccountVerified': boolean;
8265
+ /**
8266
+ *
8267
+ * @type {boolean}
8268
+ * @memberof UserProfileResponse
8269
+ */
8270
+ 'isCreditCardRegistered'?: boolean;
7874
8271
  /**
7875
8272
  *
7876
8273
  * @type {Array<ILevelBySports>}
7877
8274
  * @memberof UserProfileResponse
7878
8275
  */
7879
8276
  'levelBySports'?: Array<ILevelBySports>;
8277
+ /**
8278
+ *
8279
+ * @type {string}
8280
+ * @memberof UserProfileResponse
8281
+ */
8282
+ 'stripeCustomerId'?: string;
7880
8283
  /**
7881
8284
  *
7882
8285
  * @type {string}
@@ -7942,13 +8345,37 @@ export interface UserProfileResponse {
7942
8345
  * @type {string}
7943
8346
  * @memberof UserProfileResponse
7944
8347
  */
7945
- 'updatedAt': string;
8348
+ 'updatedAt': string;
8349
+ /**
8350
+ *
8351
+ * @type {boolean}
8352
+ * @memberof UserProfileResponse
8353
+ */
8354
+ 'isLevelCertified'?: boolean;
8355
+ /**
8356
+ *
8357
+ * @type {Array<string>}
8358
+ * @memberof UserProfileResponse
8359
+ */
8360
+ 'paymentMethods'?: Array<string>;
8361
+ /**
8362
+ *
8363
+ * @type {string}
8364
+ * @memberof UserProfileResponse
8365
+ */
8366
+ 'defaultPaymentMethodId'?: string;
8367
+ /**
8368
+ *
8369
+ * @type {boolean}
8370
+ * @memberof UserProfileResponse
8371
+ */
8372
+ 'paymentMethodSetupCompleted': boolean;
7946
8373
  /**
7947
8374
  *
7948
- * @type {boolean}
8375
+ * @type {string}
7949
8376
  * @memberof UserProfileResponse
7950
8377
  */
7951
- 'isLevelCertified'?: boolean;
8378
+ 'setupIntentId'?: string;
7952
8379
  /**
7953
8380
  *
7954
8381
  * @type {Array<string>}
@@ -7979,12 +8406,6 @@ export interface UserProfileResponse {
7979
8406
  * @memberof UserProfileResponse
7980
8407
  */
7981
8408
  'sports'?: { [key: string]: any; };
7982
- /**
7983
- *
7984
- * @type {string}
7985
- * @memberof UserProfileResponse
7986
- */
7987
- 'stripeCustomerId'?: string;
7988
8409
  /**
7989
8410
  *
7990
8411
  * @type {number}
@@ -8021,12 +8442,6 @@ export interface UserProfileResponse {
8021
8442
  * @memberof UserProfileResponse
8022
8443
  */
8023
8444
  'stripeLinks'?: { [key: string]: any; };
8024
- /**
8025
- *
8026
- * @type {Array<SportResponse>}
8027
- * @memberof UserProfileResponse
8028
- */
8029
- 'verifiedSports'?: Array<SportResponse>;
8030
8445
  }
8031
8446
 
8032
8447
 
@@ -8144,45 +8559,6 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
8144
8559
  options: localVarRequestOptions,
8145
8560
  };
8146
8561
  },
8147
- /**
8148
- *
8149
- * @param {BookingPriceBody} bookingPriceBody
8150
- * @param {*} [options] Override http request option.
8151
- * @throws {RequiredError}
8152
- */
8153
- getBookingPrice: async (bookingPriceBody: BookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8154
- // verify required parameter 'bookingPriceBody' is not null or undefined
8155
- assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody)
8156
- const localVarPath = `/api/bookings/booking-price`;
8157
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8158
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8159
- let baseOptions;
8160
- if (configuration) {
8161
- baseOptions = configuration.baseOptions;
8162
- }
8163
-
8164
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8165
- const localVarHeaderParameter = {} as any;
8166
- const localVarQueryParameter = {} as any;
8167
-
8168
- // authentication bearerAuth required
8169
- // http bearer authentication required
8170
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
8171
-
8172
-
8173
-
8174
- localVarHeaderParameter['Content-Type'] = 'application/json';
8175
-
8176
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8177
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8178
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8179
- localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration)
8180
-
8181
- return {
8182
- url: toPathString(localVarUrlObj),
8183
- options: localVarRequestOptions,
8184
- };
8185
- },
8186
8562
  /**
8187
8563
  * Recherche des créneaux disponibles pour une réservation rapide
8188
8564
  * @param {number} [latitude]
@@ -8193,13 +8569,12 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
8193
8569
  * @param {string} [startTime]
8194
8570
  * @param {number} [priceMax]
8195
8571
  * @param {string} [courtTypes]
8196
- * @param {string} [surfaceTypes]
8197
8572
  * @param {number} [limitPerClub]
8198
8573
  * @param {number} [maxClubs]
8199
8574
  * @param {*} [options] Override http request option.
8200
8575
  * @throws {RequiredError}
8201
8576
  */
8202
- getQuickReservationSlots: async (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8577
+ getQuickReservationSlots: async (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8203
8578
  const localVarPath = `/api/bookings/quick-reservations`;
8204
8579
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8205
8580
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8244,12 +8619,8 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
8244
8619
  localVarQueryParameter['courtTypes'] = courtTypes;
8245
8620
  }
8246
8621
 
8247
- if (surfaceTypes !== undefined) {
8248
- localVarQueryParameter['surfaceTypes'] = surfaceTypes;
8249
- }
8250
-
8251
8622
  if (limitPerClub !== undefined) {
8252
- localVarQueryParameter['_limitPerClub'] = limitPerClub;
8623
+ localVarQueryParameter['limitPerClub'] = limitPerClub;
8253
8624
  }
8254
8625
 
8255
8626
  if (maxClubs !== undefined) {
@@ -8289,18 +8660,6 @@ export const BookingsApiFp = function(configuration?: Configuration) {
8289
8660
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingHistory']?.[localVarOperationServerIndex]?.url;
8290
8661
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8291
8662
  },
8292
- /**
8293
- *
8294
- * @param {BookingPriceBody} bookingPriceBody
8295
- * @param {*} [options] Override http request option.
8296
- * @throws {RequiredError}
8297
- */
8298
- async getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>> {
8299
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
8300
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8301
- const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
8302
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8303
- },
8304
8663
  /**
8305
8664
  * Recherche des créneaux disponibles pour une réservation rapide
8306
8665
  * @param {number} [latitude]
@@ -8311,14 +8670,13 @@ export const BookingsApiFp = function(configuration?: Configuration) {
8311
8670
  * @param {string} [startTime]
8312
8671
  * @param {number} [priceMax]
8313
8672
  * @param {string} [courtTypes]
8314
- * @param {string} [surfaceTypes]
8315
8673
  * @param {number} [limitPerClub]
8316
8674
  * @param {number} [maxClubs]
8317
8675
  * @param {*} [options] Override http request option.
8318
8676
  * @throws {RequiredError}
8319
8677
  */
8320
- async getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>> {
8321
- const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, surfaceTypes, limitPerClub, maxClubs, options);
8678
+ async getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>> {
8679
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
8322
8680
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8323
8681
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.getQuickReservationSlots']?.[localVarOperationServerIndex]?.url;
8324
8682
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8342,15 +8700,6 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
8342
8700
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated> {
8343
8701
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
8344
8702
  },
8345
- /**
8346
- *
8347
- * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8348
- * @param {*} [options] Override http request option.
8349
- * @throws {RequiredError}
8350
- */
8351
- getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>> {
8352
- return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
8353
- },
8354
8703
  /**
8355
8704
  * Recherche des créneaux disponibles pour une réservation rapide
8356
8705
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8358,7 +8707,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
8358
8707
  * @throws {RequiredError}
8359
8708
  */
8360
8709
  getQuickReservationSlots(requestParameters: BookingsApiGetQuickReservationSlotsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<QuickReservationResponse> {
8361
- return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
8710
+ return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
8362
8711
  },
8363
8712
  };
8364
8713
  };
@@ -8377,20 +8726,6 @@ export interface BookingsApiGetBookingHistoryRequest {
8377
8726
  readonly bookingId: string
8378
8727
  }
8379
8728
 
8380
- /**
8381
- * Request parameters for getBookingPrice operation in BookingsApi.
8382
- * @export
8383
- * @interface BookingsApiGetBookingPriceRequest
8384
- */
8385
- export interface BookingsApiGetBookingPriceRequest {
8386
- /**
8387
- *
8388
- * @type {BookingPriceBody}
8389
- * @memberof BookingsApiGetBookingPrice
8390
- */
8391
- readonly bookingPriceBody: BookingPriceBody
8392
- }
8393
-
8394
8729
  /**
8395
8730
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
8396
8731
  * @export
@@ -8453,13 +8788,6 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
8453
8788
  */
8454
8789
  readonly courtTypes?: string
8455
8790
 
8456
- /**
8457
- *
8458
- * @type {string}
8459
- * @memberof BookingsApiGetQuickReservationSlots
8460
- */
8461
- readonly surfaceTypes?: string
8462
-
8463
8791
  /**
8464
8792
  *
8465
8793
  * @type {number}
@@ -8493,17 +8821,6 @@ export class BookingsApi extends BaseAPI {
8493
8821
  return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
8494
8822
  }
8495
8823
 
8496
- /**
8497
- *
8498
- * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8499
- * @param {*} [options] Override http request option.
8500
- * @throws {RequiredError}
8501
- * @memberof BookingsApi
8502
- */
8503
- public getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig) {
8504
- return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
8505
- }
8506
-
8507
8824
  /**
8508
8825
  * Recherche des créneaux disponibles pour une réservation rapide
8509
8826
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8512,7 +8829,7 @@ export class BookingsApi extends BaseAPI {
8512
8829
  * @memberof BookingsApi
8513
8830
  */
8514
8831
  public getQuickReservationSlots(requestParameters: BookingsApiGetQuickReservationSlotsRequest = {}, options?: RawAxiosRequestConfig) {
8515
- return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.surfaceTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
8832
+ return BookingsApiFp(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
8516
8833
  }
8517
8834
  }
8518
8835
 
@@ -9692,6 +10009,127 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
9692
10009
 
9693
10010
 
9694
10011
 
10012
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10013
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10014
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10015
+
10016
+ return {
10017
+ url: toPathString(localVarUrlObj),
10018
+ options: localVarRequestOptions,
10019
+ };
10020
+ },
10021
+ /**
10022
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10023
+ * @param {string} playerId
10024
+ * @param {number} [page]
10025
+ * @param {number} [pageSize]
10026
+ * @param {*} [options] Override http request option.
10027
+ * @throws {RequiredError}
10028
+ */
10029
+ getClubPlayerBookingsById: async (playerId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10030
+ // verify required parameter 'playerId' is not null or undefined
10031
+ assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
10032
+ const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
10033
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
10034
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10035
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10036
+ let baseOptions;
10037
+ if (configuration) {
10038
+ baseOptions = configuration.baseOptions;
10039
+ }
10040
+
10041
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10042
+ const localVarHeaderParameter = {} as any;
10043
+ const localVarQueryParameter = {} as any;
10044
+
10045
+ // authentication bearerAuth required
10046
+ // http bearer authentication required
10047
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10048
+
10049
+ if (page !== undefined) {
10050
+ localVarQueryParameter['page'] = page;
10051
+ }
10052
+
10053
+ if (pageSize !== undefined) {
10054
+ localVarQueryParameter['pageSize'] = pageSize;
10055
+ }
10056
+
10057
+
10058
+
10059
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10061
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10062
+
10063
+ return {
10064
+ url: toPathString(localVarUrlObj),
10065
+ options: localVarRequestOptions,
10066
+ };
10067
+ },
10068
+ /**
10069
+ * Récupère les informations détaillées d\'un joueur par son ID
10070
+ * @param {string} playerId
10071
+ * @param {*} [options] Override http request option.
10072
+ * @throws {RequiredError}
10073
+ */
10074
+ getClubPlayerById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10075
+ // verify required parameter 'playerId' is not null or undefined
10076
+ assertParamExists('getClubPlayerById', 'playerId', playerId)
10077
+ const localVarPath = `/api/club-analytics/players/{playerId}`
10078
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
10079
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10080
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10081
+ let baseOptions;
10082
+ if (configuration) {
10083
+ baseOptions = configuration.baseOptions;
10084
+ }
10085
+
10086
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10087
+ const localVarHeaderParameter = {} as any;
10088
+ const localVarQueryParameter = {} as any;
10089
+
10090
+ // authentication bearerAuth required
10091
+ // http bearer authentication required
10092
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10093
+
10094
+
10095
+
10096
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10097
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10098
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10099
+
10100
+ return {
10101
+ url: toPathString(localVarUrlObj),
10102
+ options: localVarRequestOptions,
10103
+ };
10104
+ },
10105
+ /**
10106
+ * Récupère les statistiques d\'un joueur pour le staff
10107
+ * @param {string} playerId
10108
+ * @param {*} [options] Override http request option.
10109
+ * @throws {RequiredError}
10110
+ */
10111
+ getClubPlayerStatisticsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10112
+ // verify required parameter 'playerId' is not null or undefined
10113
+ assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId)
10114
+ const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
10115
+ .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
10116
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10117
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10118
+ let baseOptions;
10119
+ if (configuration) {
10120
+ baseOptions = configuration.baseOptions;
10121
+ }
10122
+
10123
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10124
+ const localVarHeaderParameter = {} as any;
10125
+ const localVarQueryParameter = {} as any;
10126
+
10127
+ // authentication bearerAuth required
10128
+ // http bearer authentication required
10129
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10130
+
10131
+
10132
+
9695
10133
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9696
10134
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9697
10135
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10058,6 +10496,44 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
10058
10496
  const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
10059
10497
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10060
10498
  },
10499
+ /**
10500
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10501
+ * @param {string} playerId
10502
+ * @param {number} [page]
10503
+ * @param {number} [pageSize]
10504
+ * @param {*} [options] Override http request option.
10505
+ * @throws {RequiredError}
10506
+ */
10507
+ async getClubPlayerBookingsById(playerId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>> {
10508
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
10509
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10510
+ const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']?.[localVarOperationServerIndex]?.url;
10511
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10512
+ },
10513
+ /**
10514
+ * Récupère les informations détaillées d\'un joueur par son ID
10515
+ * @param {string} playerId
10516
+ * @param {*} [options] Override http request option.
10517
+ * @throws {RequiredError}
10518
+ */
10519
+ async getClubPlayerById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerDetailResponse>> {
10520
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerById(playerId, options);
10521
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10522
+ const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']?.[localVarOperationServerIndex]?.url;
10523
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10524
+ },
10525
+ /**
10526
+ * Récupère les statistiques d\'un joueur pour le staff
10527
+ * @param {string} playerId
10528
+ * @param {*} [options] Override http request option.
10529
+ * @throws {RequiredError}
10530
+ */
10531
+ async getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>> {
10532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
10533
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10534
+ const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']?.[localVarOperationServerIndex]?.url;
10535
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10536
+ },
10061
10537
  /**
10062
10538
  * Récupère la liste des joueurs du club
10063
10539
  * @param {*} [options] Override http request option.
@@ -10182,6 +10658,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
10182
10658
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
10183
10659
  return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
10184
10660
  },
10661
+ /**
10662
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10663
+ * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
10664
+ * @param {*} [options] Override http request option.
10665
+ * @throws {RequiredError}
10666
+ */
10667
+ getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse> {
10668
+ return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
10669
+ },
10670
+ /**
10671
+ * Récupère les informations détaillées d\'un joueur par son ID
10672
+ * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
10673
+ * @param {*} [options] Override http request option.
10674
+ * @throws {RequiredError}
10675
+ */
10676
+ getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerDetailResponse> {
10677
+ return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
10678
+ },
10679
+ /**
10680
+ * Récupère les statistiques d\'un joueur pour le staff
10681
+ * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
10682
+ * @param {*} [options] Override http request option.
10683
+ * @throws {RequiredError}
10684
+ */
10685
+ getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse> {
10686
+ return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
10687
+ },
10185
10688
  /**
10186
10689
  * Récupère la liste des joueurs du club
10187
10690
  * @param {*} [options] Override http request option.
@@ -10270,9 +10773,65 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
10270
10773
  /**
10271
10774
  *
10272
10775
  * @type {string}
10273
- * @memberof ClubAnalyticsStaffApiGetAnalyticsBySport
10776
+ * @memberof ClubAnalyticsStaffApiGetAnalyticsBySport
10777
+ */
10778
+ readonly sportId: string
10779
+ }
10780
+
10781
+ /**
10782
+ * Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
10783
+ * @export
10784
+ * @interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest
10785
+ */
10786
+ export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
10787
+ /**
10788
+ *
10789
+ * @type {string}
10790
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
10791
+ */
10792
+ readonly playerId: string
10793
+
10794
+ /**
10795
+ *
10796
+ * @type {number}
10797
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
10798
+ */
10799
+ readonly page?: number
10800
+
10801
+ /**
10802
+ *
10803
+ * @type {number}
10804
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
10805
+ */
10806
+ readonly pageSize?: number
10807
+ }
10808
+
10809
+ /**
10810
+ * Request parameters for getClubPlayerById operation in ClubAnalyticsStaffApi.
10811
+ * @export
10812
+ * @interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest
10813
+ */
10814
+ export interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest {
10815
+ /**
10816
+ *
10817
+ * @type {string}
10818
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerById
10819
+ */
10820
+ readonly playerId: string
10821
+ }
10822
+
10823
+ /**
10824
+ * Request parameters for getClubPlayerStatisticsById operation in ClubAnalyticsStaffApi.
10825
+ * @export
10826
+ * @interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest
10827
+ */
10828
+ export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
10829
+ /**
10830
+ *
10831
+ * @type {string}
10832
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerStatisticsById
10274
10833
  */
10275
- readonly sportId: string
10834
+ readonly playerId: string
10276
10835
  }
10277
10836
 
10278
10837
  /**
@@ -10363,6 +10922,39 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
10363
10922
  return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
10364
10923
  }
10365
10924
 
10925
+ /**
10926
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10927
+ * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
10928
+ * @param {*} [options] Override http request option.
10929
+ * @throws {RequiredError}
10930
+ * @memberof ClubAnalyticsStaffApi
10931
+ */
10932
+ public getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig) {
10933
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
10934
+ }
10935
+
10936
+ /**
10937
+ * Récupère les informations détaillées d\'un joueur par son ID
10938
+ * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
10939
+ * @param {*} [options] Override http request option.
10940
+ * @throws {RequiredError}
10941
+ * @memberof ClubAnalyticsStaffApi
10942
+ */
10943
+ public getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig) {
10944
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
10945
+ }
10946
+
10947
+ /**
10948
+ * Récupère les statistiques d\'un joueur pour le staff
10949
+ * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
10950
+ * @param {*} [options] Override http request option.
10951
+ * @throws {RequiredError}
10952
+ * @memberof ClubAnalyticsStaffApi
10953
+ */
10954
+ public getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig) {
10955
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
10956
+ }
10957
+
10366
10958
  /**
10367
10959
  * Récupère la liste des joueurs du club
10368
10960
  * @param {*} [options] Override http request option.
@@ -11017,19 +11609,15 @@ export class ClubRolesStaffApi extends BaseAPI {
11017
11609
  export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
11018
11610
  return {
11019
11611
  /**
11020
- * Crée les paramètres d\'un club
11021
- * @param {string} clubId
11022
- * @param {CreateClubSettingsRequest} createClubSettingsRequest
11612
+ *
11613
+ * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
11023
11614
  * @param {*} [options] Override http request option.
11024
11615
  * @throws {RequiredError}
11025
11616
  */
11026
- createClubSettings: async (clubId: string, createClubSettingsRequest: CreateClubSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11027
- // verify required parameter 'clubId' is not null or undefined
11028
- assertParamExists('createClubSettings', 'clubId', clubId)
11029
- // verify required parameter 'createClubSettingsRequest' is not null or undefined
11030
- assertParamExists('createClubSettings', 'createClubSettingsRequest', createClubSettingsRequest)
11031
- const localVarPath = `/api/club-settings/{clubId}`
11032
- .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
11617
+ updateClubGeneralSettings: async (updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11618
+ // verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
11619
+ assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest)
11620
+ const localVarPath = `/api/club-settings/settings/general`;
11033
11621
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11034
11622
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11035
11623
  let baseOptions;
@@ -11037,7 +11625,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11037
11625
  baseOptions = configuration.baseOptions;
11038
11626
  }
11039
11627
 
11040
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
11628
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
11041
11629
  const localVarHeaderParameter = {} as any;
11042
11630
  const localVarQueryParameter = {} as any;
11043
11631
 
@@ -11052,7 +11640,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11052
11640
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11053
11641
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11054
11642
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11055
- localVarRequestOptions.data = serializeDataIfNeeded(createClubSettingsRequest, localVarRequestOptions, configuration)
11643
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration)
11056
11644
 
11057
11645
  return {
11058
11646
  url: toPathString(localVarUrlObj),
@@ -11060,11 +11648,14 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11060
11648
  };
11061
11649
  },
11062
11650
  /**
11063
- * Supprime les paramètres d\'un club
11651
+ * Met à jour les paramètres d\'un club
11652
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
11064
11653
  * @param {*} [options] Override http request option.
11065
11654
  * @throws {RequiredError}
11066
11655
  */
11067
- deleteClubSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11656
+ updateClubSettings: async (updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11657
+ // verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
11658
+ assertParamExists('updateClubSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest)
11068
11659
  const localVarPath = `/api/club-settings`;
11069
11660
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11070
11661
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11073,7 +11664,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11073
11664
  baseOptions = configuration.baseOptions;
11074
11665
  }
11075
11666
 
11076
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
11667
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
11077
11668
  const localVarHeaderParameter = {} as any;
11078
11669
  const localVarQueryParameter = {} as any;
11079
11670
 
@@ -11083,9 +11674,12 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11083
11674
 
11084
11675
 
11085
11676
 
11677
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11678
+
11086
11679
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11087
11680
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11088
11681
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11682
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration)
11089
11683
 
11090
11684
  return {
11091
11685
  url: toPathString(localVarUrlObj),
@@ -11093,12 +11687,15 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11093
11687
  };
11094
11688
  },
11095
11689
  /**
11096
- * Récupère les paramètres d\'un club
11690
+ *
11691
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
11097
11692
  * @param {*} [options] Override http request option.
11098
11693
  * @throws {RequiredError}
11099
11694
  */
11100
- getClubSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11101
- const localVarPath = `/api/club-settings`;
11695
+ updateHoursSettings: async (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11696
+ // verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
11697
+ assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest)
11698
+ const localVarPath = `/api/club-settings/hours`;
11102
11699
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11103
11700
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11104
11701
  let baseOptions;
@@ -11106,7 +11703,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11106
11703
  baseOptions = configuration.baseOptions;
11107
11704
  }
11108
11705
 
11109
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11706
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
11110
11707
  const localVarHeaderParameter = {} as any;
11111
11708
  const localVarQueryParameter = {} as any;
11112
11709
 
@@ -11116,9 +11713,12 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11116
11713
 
11117
11714
 
11118
11715
 
11716
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11717
+
11119
11718
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11120
11719
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11121
11720
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11721
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration)
11122
11722
 
11123
11723
  return {
11124
11724
  url: toPathString(localVarUrlObj),
@@ -11126,15 +11726,15 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11126
11726
  };
11127
11727
  },
11128
11728
  /**
11129
- * Met à jour les paramètres d\'un club
11130
- * @param {UpdateClubSettingsRequest} updateClubSettingsRequest
11729
+ *
11730
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
11131
11731
  * @param {*} [options] Override http request option.
11132
11732
  * @throws {RequiredError}
11133
11733
  */
11134
- updateClubSettings: async (updateClubSettingsRequest: UpdateClubSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11135
- // verify required parameter 'updateClubSettingsRequest' is not null or undefined
11136
- assertParamExists('updateClubSettings', 'updateClubSettingsRequest', updateClubSettingsRequest)
11137
- const localVarPath = `/api/club-settings`;
11734
+ updateReservationSettings: async (updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11735
+ // verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
11736
+ assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest)
11737
+ const localVarPath = `/api/club-settings/reservation`;
11138
11738
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11139
11739
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11140
11740
  let baseOptions;
@@ -11157,7 +11757,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11157
11757
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11158
11758
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11159
11759
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11160
- localVarRequestOptions.data = serializeDataIfNeeded(updateClubSettingsRequest, localVarRequestOptions, configuration)
11760
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration)
11161
11761
 
11162
11762
  return {
11163
11763
  url: toPathString(localVarUrlObj),
@@ -11175,50 +11775,51 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
11175
11775
  const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration)
11176
11776
  return {
11177
11777
  /**
11178
- * Crée les paramètres d\'un club
11179
- * @param {string} clubId
11180
- * @param {CreateClubSettingsRequest} createClubSettingsRequest
11778
+ *
11779
+ * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
11181
11780
  * @param {*} [options] Override http request option.
11182
11781
  * @throws {RequiredError}
11183
11782
  */
11184
- async createClubSettings(clubId: string, createClubSettingsRequest: CreateClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettingsResponse>> {
11185
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClubSettings(clubId, createClubSettingsRequest, options);
11783
+ async updateClubGeneralSettings(updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>> {
11784
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
11186
11785
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11187
- const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.createClubSettings']?.[localVarOperationServerIndex]?.url;
11786
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
11188
11787
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11189
11788
  },
11190
11789
  /**
11191
- * Supprime les paramètres d\'un club
11790
+ * Met à jour les paramètres d\'un club
11791
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
11192
11792
  * @param {*} [options] Override http request option.
11193
11793
  * @throws {RequiredError}
11194
11794
  */
11195
- async deleteClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteClubSettingsResponse>> {
11196
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClubSettings(options);
11795
+ async updateClubSettings(updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubReservationSettingsResponse>> {
11796
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubSettings(updateClubReservationSettingsRequest, options);
11197
11797
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11198
- const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.deleteClubSettings']?.[localVarOperationServerIndex]?.url;
11798
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubSettings']?.[localVarOperationServerIndex]?.url;
11199
11799
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11200
11800
  },
11201
11801
  /**
11202
- * Récupère les paramètres d\'un club
11802
+ *
11803
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
11203
11804
  * @param {*} [options] Override http request option.
11204
11805
  * @throws {RequiredError}
11205
11806
  */
11206
- async getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettingsResponse>> {
11207
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClubSettings(options);
11807
+ async updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
11808
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
11208
11809
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11209
- const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.getClubSettings']?.[localVarOperationServerIndex]?.url;
11810
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']?.[localVarOperationServerIndex]?.url;
11210
11811
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11211
11812
  },
11212
11813
  /**
11213
- * Met à jour les paramètres d\'un club
11214
- * @param {UpdateClubSettingsRequest} updateClubSettingsRequest
11814
+ *
11815
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
11215
11816
  * @param {*} [options] Override http request option.
11216
11817
  * @throws {RequiredError}
11217
11818
  */
11218
- async updateClubSettings(updateClubSettingsRequest: UpdateClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettingsResponse>> {
11219
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubSettings(updateClubSettingsRequest, options);
11819
+ async updateReservationSettings(updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubReservationSettingsResponse>> {
11820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
11220
11821
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11221
- const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubSettings']?.[localVarOperationServerIndex]?.url;
11822
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateReservationSettings']?.[localVarOperationServerIndex]?.url;
11222
11823
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11223
11824
  },
11224
11825
  }
@@ -11232,61 +11833,56 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
11232
11833
  const localVarFp = ClubSettingsManagerApiFp(configuration)
11233
11834
  return {
11234
11835
  /**
11235
- * Crée les paramètres d\'un club
11236
- * @param {ClubSettingsManagerApiCreateClubSettingsRequest} requestParameters Request parameters.
11836
+ *
11837
+ * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
11237
11838
  * @param {*} [options] Override http request option.
11238
11839
  * @throws {RequiredError}
11239
11840
  */
11240
- createClubSettings(requestParameters: ClubSettingsManagerApiCreateClubSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubSettingsResponse> {
11241
- return localVarFp.createClubSettings(requestParameters.clubId, requestParameters.createClubSettingsRequest, options).then((request) => request(axios, basePath));
11841
+ updateClubGeneralSettings(requestParameters: ClubSettingsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
11842
+ return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
11242
11843
  },
11243
11844
  /**
11244
- * Supprime les paramètres d\'un club
11845
+ * Met à jour les paramètres d\'un club
11846
+ * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
11245
11847
  * @param {*} [options] Override http request option.
11246
11848
  * @throws {RequiredError}
11247
11849
  */
11248
- deleteClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<DeleteClubSettingsResponse> {
11249
- return localVarFp.deleteClubSettings(options).then((request) => request(axios, basePath));
11850
+ updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
11851
+ return localVarFp.updateClubSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
11250
11852
  },
11251
11853
  /**
11252
- * Récupère les paramètres d\'un club
11854
+ *
11855
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
11253
11856
  * @param {*} [options] Override http request option.
11254
11857
  * @throws {RequiredError}
11255
11858
  */
11256
- getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettingsResponse> {
11257
- return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
11859
+ updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
11860
+ return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
11258
11861
  },
11259
11862
  /**
11260
- * Met à jour les paramètres d\'un club
11261
- * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
11863
+ *
11864
+ * @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
11262
11865
  * @param {*} [options] Override http request option.
11263
11866
  * @throws {RequiredError}
11264
11867
  */
11265
- updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubSettingsResponse> {
11266
- return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
11868
+ updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
11869
+ return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
11267
11870
  },
11268
11871
  };
11269
11872
  };
11270
11873
 
11271
11874
  /**
11272
- * Request parameters for createClubSettings operation in ClubSettingsManagerApi.
11875
+ * Request parameters for updateClubGeneralSettings operation in ClubSettingsManagerApi.
11273
11876
  * @export
11274
- * @interface ClubSettingsManagerApiCreateClubSettingsRequest
11877
+ * @interface ClubSettingsManagerApiUpdateClubGeneralSettingsRequest
11275
11878
  */
11276
- export interface ClubSettingsManagerApiCreateClubSettingsRequest {
11277
- /**
11278
- *
11279
- * @type {string}
11280
- * @memberof ClubSettingsManagerApiCreateClubSettings
11281
- */
11282
- readonly clubId: string
11283
-
11879
+ export interface ClubSettingsManagerApiUpdateClubGeneralSettingsRequest {
11284
11880
  /**
11285
11881
  *
11286
- * @type {CreateClubSettingsRequest}
11287
- * @memberof ClubSettingsManagerApiCreateClubSettings
11882
+ * @type {UpdateClubGeneralSettingsRequest}
11883
+ * @memberof ClubSettingsManagerApiUpdateClubGeneralSettings
11288
11884
  */
11289
- readonly createClubSettingsRequest: CreateClubSettingsRequest
11885
+ readonly updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest
11290
11886
  }
11291
11887
 
11292
11888
  /**
@@ -11297,59 +11893,314 @@ export interface ClubSettingsManagerApiCreateClubSettingsRequest {
11297
11893
  export interface ClubSettingsManagerApiUpdateClubSettingsRequest {
11298
11894
  /**
11299
11895
  *
11300
- * @type {UpdateClubSettingsRequest}
11896
+ * @type {UpdateClubReservationSettingsRequest}
11301
11897
  * @memberof ClubSettingsManagerApiUpdateClubSettings
11302
11898
  */
11303
- readonly updateClubSettingsRequest: UpdateClubSettingsRequest
11899
+ readonly updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest
11304
11900
  }
11305
11901
 
11306
11902
  /**
11307
- * ClubSettingsManagerApi - object-oriented interface
11903
+ * Request parameters for updateHoursSettings operation in ClubSettingsManagerApi.
11904
+ * @export
11905
+ * @interface ClubSettingsManagerApiUpdateHoursSettingsRequest
11906
+ */
11907
+ export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
11908
+ /**
11909
+ *
11910
+ * @type {UpdateClubHoursSettingsRequest}
11911
+ * @memberof ClubSettingsManagerApiUpdateHoursSettings
11912
+ */
11913
+ readonly updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest
11914
+ }
11915
+
11916
+ /**
11917
+ * Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
11918
+ * @export
11919
+ * @interface ClubSettingsManagerApiUpdateReservationSettingsRequest
11920
+ */
11921
+ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
11922
+ /**
11923
+ *
11924
+ * @type {UpdateClubReservationSettingsRequest}
11925
+ * @memberof ClubSettingsManagerApiUpdateReservationSettings
11926
+ */
11927
+ readonly updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest
11928
+ }
11929
+
11930
+ /**
11931
+ * ClubSettingsManagerApi - object-oriented interface
11932
+ * @export
11933
+ * @class ClubSettingsManagerApi
11934
+ * @extends {BaseAPI}
11935
+ */
11936
+ export class ClubSettingsManagerApi extends BaseAPI {
11937
+ /**
11938
+ *
11939
+ * @param {ClubSettingsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
11940
+ * @param {*} [options] Override http request option.
11941
+ * @throws {RequiredError}
11942
+ * @memberof ClubSettingsManagerApi
11943
+ */
11944
+ public updateClubGeneralSettings(requestParameters: ClubSettingsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig) {
11945
+ return ClubSettingsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
11946
+ }
11947
+
11948
+ /**
11949
+ * Met à jour les paramètres d\'un club
11950
+ * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
11951
+ * @param {*} [options] Override http request option.
11952
+ * @throws {RequiredError}
11953
+ * @memberof ClubSettingsManagerApi
11954
+ */
11955
+ public updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig) {
11956
+ return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
11957
+ }
11958
+
11959
+ /**
11960
+ *
11961
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
11962
+ * @param {*} [options] Override http request option.
11963
+ * @throws {RequiredError}
11964
+ * @memberof ClubSettingsManagerApi
11965
+ */
11966
+ public updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig) {
11967
+ return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
11968
+ }
11969
+
11970
+ /**
11971
+ *
11972
+ * @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
11973
+ * @param {*} [options] Override http request option.
11974
+ * @throws {RequiredError}
11975
+ * @memberof ClubSettingsManagerApi
11976
+ */
11977
+ public updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig) {
11978
+ return ClubSettingsManagerApiFp(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
11979
+ }
11980
+ }
11981
+
11982
+
11983
+
11984
+ /**
11985
+ * ClubSettingsStaffApi - axios parameter creator
11986
+ * @export
11987
+ */
11988
+ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
11989
+ return {
11990
+ /**
11991
+ *
11992
+ * @param {*} [options] Override http request option.
11993
+ * @throws {RequiredError}
11994
+ */
11995
+ getClubGeneralSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11996
+ const localVarPath = `/api/club-settings/settings/general`;
11997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11999
+ let baseOptions;
12000
+ if (configuration) {
12001
+ baseOptions = configuration.baseOptions;
12002
+ }
12003
+
12004
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12005
+ const localVarHeaderParameter = {} as any;
12006
+ const localVarQueryParameter = {} as any;
12007
+
12008
+ // authentication bearerAuth required
12009
+ // http bearer authentication required
12010
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12011
+
12012
+
12013
+
12014
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12015
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12016
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12017
+
12018
+ return {
12019
+ url: toPathString(localVarUrlObj),
12020
+ options: localVarRequestOptions,
12021
+ };
12022
+ },
12023
+ /**
12024
+ *
12025
+ * @param {*} [options] Override http request option.
12026
+ * @throws {RequiredError}
12027
+ */
12028
+ getHoursSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12029
+ const localVarPath = `/api/club-settings/hours`;
12030
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12031
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12032
+ let baseOptions;
12033
+ if (configuration) {
12034
+ baseOptions = configuration.baseOptions;
12035
+ }
12036
+
12037
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12038
+ const localVarHeaderParameter = {} as any;
12039
+ const localVarQueryParameter = {} as any;
12040
+
12041
+ // authentication bearerAuth required
12042
+ // http bearer authentication required
12043
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12044
+
12045
+
12046
+
12047
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12048
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12049
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12050
+
12051
+ return {
12052
+ url: toPathString(localVarUrlObj),
12053
+ options: localVarRequestOptions,
12054
+ };
12055
+ },
12056
+ /**
12057
+ *
12058
+ * @param {*} [options] Override http request option.
12059
+ * @throws {RequiredError}
12060
+ */
12061
+ getReservationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12062
+ const localVarPath = `/api/club-settings/reservation`;
12063
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12064
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12065
+ let baseOptions;
12066
+ if (configuration) {
12067
+ baseOptions = configuration.baseOptions;
12068
+ }
12069
+
12070
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12071
+ const localVarHeaderParameter = {} as any;
12072
+ const localVarQueryParameter = {} as any;
12073
+
12074
+ // authentication bearerAuth required
12075
+ // http bearer authentication required
12076
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12077
+
12078
+
12079
+
12080
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12081
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12082
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12083
+
12084
+ return {
12085
+ url: toPathString(localVarUrlObj),
12086
+ options: localVarRequestOptions,
12087
+ };
12088
+ },
12089
+ }
12090
+ };
12091
+
12092
+ /**
12093
+ * ClubSettingsStaffApi - functional programming interface
12094
+ * @export
12095
+ */
12096
+ export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
12097
+ const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration)
12098
+ return {
12099
+ /**
12100
+ *
12101
+ * @param {*} [options] Override http request option.
12102
+ * @throws {RequiredError}
12103
+ */
12104
+ async getClubGeneralSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>> {
12105
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubGeneralSettings(options);
12106
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12107
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
12108
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12109
+ },
12110
+ /**
12111
+ *
12112
+ * @param {*} [options] Override http request option.
12113
+ * @throws {RequiredError}
12114
+ */
12115
+ async getHoursSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
12116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHoursSettings(options);
12117
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12118
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getHoursSettings']?.[localVarOperationServerIndex]?.url;
12119
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12120
+ },
12121
+ /**
12122
+ *
12123
+ * @param {*} [options] Override http request option.
12124
+ * @throws {RequiredError}
12125
+ */
12126
+ async getReservationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubReservationSettingsResponse>> {
12127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReservationSettings(options);
12128
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12129
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getReservationSettings']?.[localVarOperationServerIndex]?.url;
12130
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12131
+ },
12132
+ }
12133
+ };
12134
+
12135
+ /**
12136
+ * ClubSettingsStaffApi - factory interface
12137
+ * @export
12138
+ */
12139
+ export const ClubSettingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
12140
+ const localVarFp = ClubSettingsStaffApiFp(configuration)
12141
+ return {
12142
+ /**
12143
+ *
12144
+ * @param {*} [options] Override http request option.
12145
+ * @throws {RequiredError}
12146
+ */
12147
+ getClubGeneralSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
12148
+ return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
12149
+ },
12150
+ /**
12151
+ *
12152
+ * @param {*} [options] Override http request option.
12153
+ * @throws {RequiredError}
12154
+ */
12155
+ getHoursSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
12156
+ return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
12157
+ },
12158
+ /**
12159
+ *
12160
+ * @param {*} [options] Override http request option.
12161
+ * @throws {RequiredError}
12162
+ */
12163
+ getReservationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
12164
+ return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
12165
+ },
12166
+ };
12167
+ };
12168
+
12169
+ /**
12170
+ * ClubSettingsStaffApi - object-oriented interface
11308
12171
  * @export
11309
- * @class ClubSettingsManagerApi
12172
+ * @class ClubSettingsStaffApi
11310
12173
  * @extends {BaseAPI}
11311
12174
  */
11312
- export class ClubSettingsManagerApi extends BaseAPI {
11313
- /**
11314
- * Crée les paramètres d\'un club
11315
- * @param {ClubSettingsManagerApiCreateClubSettingsRequest} requestParameters Request parameters.
11316
- * @param {*} [options] Override http request option.
11317
- * @throws {RequiredError}
11318
- * @memberof ClubSettingsManagerApi
11319
- */
11320
- public createClubSettings(requestParameters: ClubSettingsManagerApiCreateClubSettingsRequest, options?: RawAxiosRequestConfig) {
11321
- return ClubSettingsManagerApiFp(this.configuration).createClubSettings(requestParameters.clubId, requestParameters.createClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
11322
- }
11323
-
12175
+ export class ClubSettingsStaffApi extends BaseAPI {
11324
12176
  /**
11325
- * Supprime les paramètres d\'un club
12177
+ *
11326
12178
  * @param {*} [options] Override http request option.
11327
12179
  * @throws {RequiredError}
11328
- * @memberof ClubSettingsManagerApi
12180
+ * @memberof ClubSettingsStaffApi
11329
12181
  */
11330
- public deleteClubSettings(options?: RawAxiosRequestConfig) {
11331
- return ClubSettingsManagerApiFp(this.configuration).deleteClubSettings(options).then((request) => request(this.axios, this.basePath));
12182
+ public getClubGeneralSettings(options?: RawAxiosRequestConfig) {
12183
+ return ClubSettingsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
11332
12184
  }
11333
12185
 
11334
12186
  /**
11335
- * Récupère les paramètres d\'un club
12187
+ *
11336
12188
  * @param {*} [options] Override http request option.
11337
12189
  * @throws {RequiredError}
11338
- * @memberof ClubSettingsManagerApi
12190
+ * @memberof ClubSettingsStaffApi
11339
12191
  */
11340
- public getClubSettings(options?: RawAxiosRequestConfig) {
11341
- return ClubSettingsManagerApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
12192
+ public getHoursSettings(options?: RawAxiosRequestConfig) {
12193
+ return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
11342
12194
  }
11343
12195
 
11344
12196
  /**
11345
- * Met à jour les paramètres d\'un club
11346
- * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
12197
+ *
11347
12198
  * @param {*} [options] Override http request option.
11348
12199
  * @throws {RequiredError}
11349
- * @memberof ClubSettingsManagerApi
12200
+ * @memberof ClubSettingsStaffApi
11350
12201
  */
11351
- public updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig) {
11352
- return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
12202
+ public getReservationSettings(options?: RawAxiosRequestConfig) {
12203
+ return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
11353
12204
  }
11354
12205
  }
11355
12206
 
@@ -12928,6 +13779,45 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
12928
13779
  options: localVarRequestOptions,
12929
13780
  };
12930
13781
  },
13782
+ /**
13783
+ *
13784
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
13785
+ * @param {*} [options] Override http request option.
13786
+ * @throws {RequiredError}
13787
+ */
13788
+ updateClubPresentationSettings: async (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13789
+ // verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
13790
+ assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest)
13791
+ const localVarPath = `/api/clubs/settings/presentation`;
13792
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13793
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13794
+ let baseOptions;
13795
+ if (configuration) {
13796
+ baseOptions = configuration.baseOptions;
13797
+ }
13798
+
13799
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
13800
+ const localVarHeaderParameter = {} as any;
13801
+ const localVarQueryParameter = {} as any;
13802
+
13803
+ // authentication bearerAuth required
13804
+ // http bearer authentication required
13805
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13806
+
13807
+
13808
+
13809
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13810
+
13811
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13812
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13813
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13814
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration)
13815
+
13816
+ return {
13817
+ url: toPathString(localVarUrlObj),
13818
+ options: localVarRequestOptions,
13819
+ };
13820
+ },
12931
13821
  /**
12932
13822
  *
12933
13823
  * @param {string} courtId
@@ -13217,6 +14107,18 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
13217
14107
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubInfos']?.[localVarOperationServerIndex]?.url;
13218
14108
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13219
14109
  },
14110
+ /**
14111
+ *
14112
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
14113
+ * @param {*} [options] Override http request option.
14114
+ * @throws {RequiredError}
14115
+ */
14116
+ async updateClubPresentationSettings(updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
14117
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
14118
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14119
+ const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']?.[localVarOperationServerIndex]?.url;
14120
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14121
+ },
13220
14122
  /**
13221
14123
  *
13222
14124
  * @param {string} courtId
@@ -13396,6 +14298,15 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
13396
14298
  updateClubInfos(requestParameters: ClubsManagerApiUpdateClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<any> {
13397
14299
  return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
13398
14300
  },
14301
+ /**
14302
+ *
14303
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
14304
+ * @param {*} [options] Override http request option.
14305
+ * @throws {RequiredError}
14306
+ */
14307
+ updateClubPresentationSettings(requestParameters: ClubsManagerApiUpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
14308
+ return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
14309
+ },
13399
14310
  /**
13400
14311
  *
13401
14312
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -13641,6 +14552,20 @@ export interface ClubsManagerApiUpdateClubInfosRequest {
13641
14552
  readonly body: any
13642
14553
  }
13643
14554
 
14555
+ /**
14556
+ * Request parameters for updateClubPresentationSettings operation in ClubsManagerApi.
14557
+ * @export
14558
+ * @interface ClubsManagerApiUpdateClubPresentationSettingsRequest
14559
+ */
14560
+ export interface ClubsManagerApiUpdateClubPresentationSettingsRequest {
14561
+ /**
14562
+ *
14563
+ * @type {UpdateClubPresentationSettingsRequest}
14564
+ * @memberof ClubsManagerApiUpdateClubPresentationSettings
14565
+ */
14566
+ readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest
14567
+ }
14568
+
13644
14569
  /**
13645
14570
  * Request parameters for updateCourt operation in ClubsManagerApi.
13646
14571
  * @export
@@ -13865,6 +14790,17 @@ export class ClubsManagerApi extends BaseAPI {
13865
14790
  return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
13866
14791
  }
13867
14792
 
14793
+ /**
14794
+ *
14795
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
14796
+ * @param {*} [options] Override http request option.
14797
+ * @throws {RequiredError}
14798
+ * @memberof ClubsManagerApi
14799
+ */
14800
+ public updateClubPresentationSettings(requestParameters: ClubsManagerApiUpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig) {
14801
+ return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
14802
+ }
14803
+
13868
14804
  /**
13869
14805
  *
13870
14806
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -13986,6 +14922,39 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
13986
14922
 
13987
14923
 
13988
14924
 
14925
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14926
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14927
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14928
+
14929
+ return {
14930
+ url: toPathString(localVarUrlObj),
14931
+ options: localVarRequestOptions,
14932
+ };
14933
+ },
14934
+ /**
14935
+ *
14936
+ * @param {*} [options] Override http request option.
14937
+ * @throws {RequiredError}
14938
+ */
14939
+ getClubPresentationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14940
+ const localVarPath = `/api/clubs/settings/presentation`;
14941
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14942
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14943
+ let baseOptions;
14944
+ if (configuration) {
14945
+ baseOptions = configuration.baseOptions;
14946
+ }
14947
+
14948
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14949
+ const localVarHeaderParameter = {} as any;
14950
+ const localVarQueryParameter = {} as any;
14951
+
14952
+ // authentication bearerAuth required
14953
+ // http bearer authentication required
14954
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14955
+
14956
+
14957
+
13989
14958
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13990
14959
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13991
14960
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14174,6 +15143,17 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
14174
15143
  const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubMembers']?.[localVarOperationServerIndex]?.url;
14175
15144
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14176
15145
  },
15146
+ /**
15147
+ *
15148
+ * @param {*} [options] Override http request option.
15149
+ * @throws {RequiredError}
15150
+ */
15151
+ async getClubPresentationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
15152
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPresentationSettings(options);
15153
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15154
+ const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubPresentationSettings']?.[localVarOperationServerIndex]?.url;
15155
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15156
+ },
14177
15157
  /**
14178
15158
  * Récupère les rôles d\'un club
14179
15159
  * @param {*} [options] Override http request option.
@@ -14253,6 +15233,14 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
14253
15233
  getClubMembers(options?: RawAxiosRequestConfig): AxiosPromise<GetClubMembers200Response> {
14254
15234
  return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
14255
15235
  },
15236
+ /**
15237
+ *
15238
+ * @param {*} [options] Override http request option.
15239
+ * @throws {RequiredError}
15240
+ */
15241
+ getClubPresentationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
15242
+ return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
15243
+ },
14256
15244
  /**
14257
15245
  * Récupère les rôles d\'un club
14258
15246
  * @param {*} [options] Override http request option.
@@ -14340,6 +15328,16 @@ export class ClubsStaffApi extends BaseAPI {
14340
15328
  return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
14341
15329
  }
14342
15330
 
15331
+ /**
15332
+ *
15333
+ * @param {*} [options] Override http request option.
15334
+ * @throws {RequiredError}
15335
+ * @memberof ClubsStaffApi
15336
+ */
15337
+ public getClubPresentationSettings(options?: RawAxiosRequestConfig) {
15338
+ return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
15339
+ }
15340
+
14343
15341
  /**
14344
15342
  * Récupère les rôles d\'un club
14345
15343
  * @param {*} [options] Override http request option.
@@ -15750,161 +16748,64 @@ export interface SportsManagerApiDeleteSportRequest {
15750
16748
  }
15751
16749
 
15752
16750
  /**
15753
- * Request parameters for updateSport operation in SportsManagerApi.
15754
- * @export
15755
- * @interface SportsManagerApiUpdateSportRequest
15756
- */
15757
- export interface SportsManagerApiUpdateSportRequest {
15758
- /**
15759
- *
15760
- * @type {string}
15761
- * @memberof SportsManagerApiUpdateSport
15762
- */
15763
- readonly id: string
15764
-
15765
- /**
15766
- *
15767
- * @type {UpdateSportRequest}
15768
- * @memberof SportsManagerApiUpdateSport
15769
- */
15770
- readonly updateSportRequest: UpdateSportRequest
15771
- }
15772
-
15773
- /**
15774
- * SportsManagerApi - object-oriented interface
15775
- * @export
15776
- * @class SportsManagerApi
15777
- * @extends {BaseAPI}
15778
- */
15779
- export class SportsManagerApi extends BaseAPI {
15780
- /**
15781
- * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
15782
- * @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
15783
- * @param {*} [options] Override http request option.
15784
- * @throws {RequiredError}
15785
- * @memberof SportsManagerApi
15786
- */
15787
- public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
15788
- return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
15789
- }
15790
-
15791
- /**
15792
- * Supprime un sport (interdit si vérifié)
15793
- * @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
15794
- * @param {*} [options] Override http request option.
15795
- * @throws {RequiredError}
15796
- * @memberof SportsManagerApi
15797
- */
15798
- public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
15799
- return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
15800
- }
15801
-
15802
- /**
15803
- * Met à jour un sport (interdit si vérifié)
15804
- * @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
15805
- * @param {*} [options] Override http request option.
15806
- * @throws {RequiredError}
15807
- * @memberof SportsManagerApi
15808
- */
15809
- public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
15810
- return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
15811
- }
15812
- }
15813
-
15814
-
15815
-
15816
- /**
15817
- * SportsPublicApi - axios parameter creator
15818
- * @export
15819
- */
15820
- export const SportsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
15821
- return {
15822
- /**
15823
- * Récupère tous les sports vérifiés, accessibles publiquement
15824
- * @param {*} [options] Override http request option.
15825
- * @throws {RequiredError}
15826
- */
15827
- getVerifiedSports: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15828
- const localVarPath = `/api/sports/verified`;
15829
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15830
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15831
- let baseOptions;
15832
- if (configuration) {
15833
- baseOptions = configuration.baseOptions;
15834
- }
15835
-
15836
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15837
- const localVarHeaderParameter = {} as any;
15838
- const localVarQueryParameter = {} as any;
15839
-
15840
-
15841
-
15842
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15843
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15844
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15845
-
15846
- return {
15847
- url: toPathString(localVarUrlObj),
15848
- options: localVarRequestOptions,
15849
- };
15850
- },
15851
- }
15852
- };
15853
-
15854
- /**
15855
- * SportsPublicApi - functional programming interface
16751
+ * Request parameters for updateSport operation in SportsManagerApi.
15856
16752
  * @export
16753
+ * @interface SportsManagerApiUpdateSportRequest
15857
16754
  */
15858
- export const SportsPublicApiFp = function(configuration?: Configuration) {
15859
- const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration)
15860
- return {
15861
- /**
15862
- * Récupère tous les sports vérifiés, accessibles publiquement
15863
- * @param {*} [options] Override http request option.
15864
- * @throws {RequiredError}
15865
- */
15866
- async getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>> {
15867
- const localVarAxiosArgs = await localVarAxiosParamCreator.getVerifiedSports(options);
15868
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15869
- const localVarOperationServerBasePath = operationServerMap['SportsPublicApi.getVerifiedSports']?.[localVarOperationServerIndex]?.url;
15870
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15871
- },
15872
- }
15873
- };
16755
+ export interface SportsManagerApiUpdateSportRequest {
16756
+ /**
16757
+ *
16758
+ * @type {string}
16759
+ * @memberof SportsManagerApiUpdateSport
16760
+ */
16761
+ readonly id: string
15874
16762
 
15875
- /**
15876
- * SportsPublicApi - factory interface
15877
- * @export
15878
- */
15879
- export const SportsPublicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15880
- const localVarFp = SportsPublicApiFp(configuration)
15881
- return {
15882
- /**
15883
- * Récupère tous les sports vérifiés, accessibles publiquement
15884
- * @param {*} [options] Override http request option.
15885
- * @throws {RequiredError}
15886
- */
15887
- getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
15888
- return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
15889
- },
15890
- };
15891
- };
16763
+ /**
16764
+ *
16765
+ * @type {UpdateSportRequest}
16766
+ * @memberof SportsManagerApiUpdateSport
16767
+ */
16768
+ readonly updateSportRequest: UpdateSportRequest
16769
+ }
15892
16770
 
15893
16771
  /**
15894
- * SportsPublicApi - object-oriented interface
16772
+ * SportsManagerApi - object-oriented interface
15895
16773
  * @export
15896
- * @class SportsPublicApi
16774
+ * @class SportsManagerApi
15897
16775
  * @extends {BaseAPI}
15898
16776
  */
15899
- export class SportsPublicApi extends BaseAPI {
16777
+ export class SportsManagerApi extends BaseAPI {
16778
+ /**
16779
+ * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
16780
+ * @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
16781
+ * @param {*} [options] Override http request option.
16782
+ * @throws {RequiredError}
16783
+ * @memberof SportsManagerApi
16784
+ */
16785
+ public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
16786
+ return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
16787
+ }
16788
+
16789
+ /**
16790
+ * Supprime un sport (interdit si vérifié)
16791
+ * @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
16792
+ * @param {*} [options] Override http request option.
16793
+ * @throws {RequiredError}
16794
+ * @memberof SportsManagerApi
16795
+ */
16796
+ public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
16797
+ return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
16798
+ }
16799
+
15900
16800
  /**
15901
- * Récupère tous les sports vérifiés, accessibles publiquement
16801
+ * Met à jour un sport (interdit si vérifié)
16802
+ * @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
15902
16803
  * @param {*} [options] Override http request option.
15903
16804
  * @throws {RequiredError}
15904
- * @memberof SportsPublicApi
16805
+ * @memberof SportsManagerApi
15905
16806
  */
15906
- public getVerifiedSports(options?: RawAxiosRequestConfig) {
15907
- return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
16807
+ public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
16808
+ return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
15908
16809
  }
15909
16810
  }
15910
16811
 
@@ -17021,6 +17922,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17021
17922
  options: localVarRequestOptions,
17022
17923
  };
17023
17924
  },
17925
+ /**
17926
+ *
17927
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
17928
+ * @param {*} [options] Override http request option.
17929
+ * @throws {RequiredError}
17930
+ */
17931
+ addPaymentMethodSetup: async (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17932
+ // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
17933
+ assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody)
17934
+ const localVarPath = `/api/users/addPaymentMethodSetup`;
17935
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17936
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17937
+ let baseOptions;
17938
+ if (configuration) {
17939
+ baseOptions = configuration.baseOptions;
17940
+ }
17941
+
17942
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17943
+ const localVarHeaderParameter = {} as any;
17944
+ const localVarQueryParameter = {} as any;
17945
+
17946
+ // authentication bearerAuth required
17947
+ // http bearer authentication required
17948
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17949
+
17950
+
17951
+
17952
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17953
+
17954
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17955
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17956
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17957
+ localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration)
17958
+
17959
+ return {
17960
+ url: toPathString(localVarUrlObj),
17961
+ options: localVarRequestOptions,
17962
+ };
17963
+ },
17024
17964
  /**
17025
17965
  *
17026
17966
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -17060,6 +18000,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17060
18000
  options: localVarRequestOptions,
17061
18001
  };
17062
18002
  },
18003
+ /**
18004
+ *
18005
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
18006
+ * @param {*} [options] Override http request option.
18007
+ * @throws {RequiredError}
18008
+ */
18009
+ confirmPaymentMethodSetup: async (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18010
+ // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
18011
+ assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody)
18012
+ const localVarPath = `/api/users/confirmPaymentMethodSetup`;
18013
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18014
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18015
+ let baseOptions;
18016
+ if (configuration) {
18017
+ baseOptions = configuration.baseOptions;
18018
+ }
18019
+
18020
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18021
+ const localVarHeaderParameter = {} as any;
18022
+ const localVarQueryParameter = {} as any;
18023
+
18024
+ // authentication bearerAuth required
18025
+ // http bearer authentication required
18026
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18027
+
18028
+
18029
+
18030
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18031
+
18032
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18033
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18034
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18035
+ localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration)
18036
+
18037
+ return {
18038
+ url: toPathString(localVarUrlObj),
18039
+ options: localVarRequestOptions,
18040
+ };
18041
+ },
17063
18042
  /**
17064
18043
  *
17065
18044
  * @param {*} [options] Override http request option.
@@ -17996,6 +18975,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17996
18975
  options: localVarRequestOptions,
17997
18976
  };
17998
18977
  },
18978
+ /**
18979
+ *
18980
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
18981
+ * @param {*} [options] Override http request option.
18982
+ * @throws {RequiredError}
18983
+ */
18984
+ setupOffSessionPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18985
+ // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
18986
+ assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
18987
+ const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
18988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18989
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18990
+ let baseOptions;
18991
+ if (configuration) {
18992
+ baseOptions = configuration.baseOptions;
18993
+ }
18994
+
18995
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18996
+ const localVarHeaderParameter = {} as any;
18997
+ const localVarQueryParameter = {} as any;
18998
+
18999
+ // authentication bearerAuth required
19000
+ // http bearer authentication required
19001
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
19002
+
19003
+
19004
+
19005
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19006
+
19007
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19008
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19009
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19010
+ localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration)
19011
+
19012
+ return {
19013
+ url: toPathString(localVarUrlObj),
19014
+ options: localVarRequestOptions,
19015
+ };
19016
+ },
17999
19017
  /**
18000
19018
  *
18001
19019
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18303,6 +19321,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
18303
19321
  const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
18304
19322
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18305
19323
  },
19324
+ /**
19325
+ *
19326
+ * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
19327
+ * @param {*} [options] Override http request option.
19328
+ * @throws {RequiredError}
19329
+ */
19330
+ async addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>> {
19331
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
19332
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19333
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.addPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
19334
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19335
+ },
18306
19336
  /**
18307
19337
  *
18308
19338
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -18315,6 +19345,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
18315
19345
  const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
18316
19346
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18317
19347
  },
19348
+ /**
19349
+ *
19350
+ * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
19351
+ * @param {*} [options] Override http request option.
19352
+ * @throws {RequiredError}
19353
+ */
19354
+ async confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>> {
19355
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
19356
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19357
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.confirmPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
19358
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19359
+ },
18318
19360
  /**
18319
19361
  *
18320
19362
  * @param {*} [options] Override http request option.
@@ -18332,7 +19374,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
18332
19374
  * @param {*} [options] Override http request option.
18333
19375
  * @throws {RequiredError}
18334
19376
  */
18335
- async getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>> {
19377
+ async getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingDetailResponse>> {
18336
19378
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingDetail(bookingId, options);
18337
19379
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18338
19380
  const localVarOperationServerBasePath = operationServerMap['UsersApi.getBookingDetail']?.[localVarOperationServerIndex]?.url;
@@ -18467,7 +19509,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
18467
19509
  * @param {*} [options] Override http request option.
18468
19510
  * @throws {RequiredError}
18469
19511
  */
18470
- async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>> {
19512
+ async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingSummary>>> {
18471
19513
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBookings(limit, skip, options);
18472
19514
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18473
19515
  const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
@@ -18613,6 +19655,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
18613
19655
  const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
18614
19656
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18615
19657
  },
19658
+ /**
19659
+ *
19660
+ * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
19661
+ * @param {*} [options] Override http request option.
19662
+ * @throws {RequiredError}
19663
+ */
19664
+ async setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
19665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
19666
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19667
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.setupOffSessionPaymentMethod']?.[localVarOperationServerIndex]?.url;
19668
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19669
+ },
18616
19670
  /**
18617
19671
  *
18618
19672
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18734,6 +19788,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18734
19788
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
18735
19789
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
18736
19790
  },
19791
+ /**
19792
+ *
19793
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
19794
+ * @param {*} [options] Override http request option.
19795
+ * @throws {RequiredError}
19796
+ */
19797
+ addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse> {
19798
+ return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
19799
+ },
18737
19800
  /**
18738
19801
  *
18739
19802
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -18743,6 +19806,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18743
19806
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
18744
19807
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
18745
19808
  },
19809
+ /**
19810
+ *
19811
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
19812
+ * @param {*} [options] Override http request option.
19813
+ * @throws {RequiredError}
19814
+ */
19815
+ confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse> {
19816
+ return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
19817
+ },
18746
19818
  /**
18747
19819
  *
18748
19820
  * @param {*} [options] Override http request option.
@@ -18757,7 +19829,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18757
19829
  * @param {*} [options] Override http request option.
18758
19830
  * @throws {RequiredError}
18759
19831
  */
18760
- getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary> {
19832
+ getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingDetailResponse> {
18761
19833
  return localVarFp.getBookingDetail(requestParameters.bookingId, options).then((request) => request(axios, basePath));
18762
19834
  },
18763
19835
  /**
@@ -18850,7 +19922,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18850
19922
  * @param {*} [options] Override http request option.
18851
19923
  * @throws {RequiredError}
18852
19924
  */
18853
- getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
19925
+ getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingSummary>> {
18854
19926
  return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
18855
19927
  },
18856
19928
  /**
@@ -18951,6 +20023,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
18951
20023
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
18952
20024
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
18953
20025
  },
20026
+ /**
20027
+ *
20028
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
20029
+ * @param {*} [options] Override http request option.
20030
+ * @throws {RequiredError}
20031
+ */
20032
+ setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
20033
+ return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
20034
+ },
18954
20035
  /**
18955
20036
  *
18956
20037
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -19059,6 +20140,20 @@ export interface UsersApiAddOrganizationRequest {
19059
20140
  readonly addOrganizationRequest: AddOrganizationRequest
19060
20141
  }
19061
20142
 
20143
+ /**
20144
+ * Request parameters for addPaymentMethodSetup operation in UsersApi.
20145
+ * @export
20146
+ * @interface UsersApiAddPaymentMethodSetupRequest
20147
+ */
20148
+ export interface UsersApiAddPaymentMethodSetupRequest {
20149
+ /**
20150
+ *
20151
+ * @type {AddPaymentMethodRequestBody}
20152
+ * @memberof UsersApiAddPaymentMethodSetup
20153
+ */
20154
+ readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody
20155
+ }
20156
+
19062
20157
  /**
19063
20158
  * Request parameters for changePassword operation in UsersApi.
19064
20159
  * @export
@@ -19073,6 +20168,20 @@ export interface UsersApiChangePasswordRequest {
19073
20168
  readonly changePasswordRequestBody: ChangePasswordRequestBody
19074
20169
  }
19075
20170
 
20171
+ /**
20172
+ * Request parameters for confirmPaymentMethodSetup operation in UsersApi.
20173
+ * @export
20174
+ * @interface UsersApiConfirmPaymentMethodSetupRequest
20175
+ */
20176
+ export interface UsersApiConfirmPaymentMethodSetupRequest {
20177
+ /**
20178
+ *
20179
+ * @type {ConfirmPaymentMethodRequestBody}
20180
+ * @memberof UsersApiConfirmPaymentMethodSetup
20181
+ */
20182
+ readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody
20183
+ }
20184
+
19076
20185
  /**
19077
20186
  * Request parameters for getBookingDetail operation in UsersApi.
19078
20187
  * @export
@@ -19423,6 +20532,20 @@ export interface UsersApiResetPasswordRequest {
19423
20532
  readonly resetPasswordRequest: ResetPasswordRequest
19424
20533
  }
19425
20534
 
20535
+ /**
20536
+ * Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
20537
+ * @export
20538
+ * @interface UsersApiSetupOffSessionPaymentMethodRequest
20539
+ */
20540
+ export interface UsersApiSetupOffSessionPaymentMethodRequest {
20541
+ /**
20542
+ *
20543
+ * @type {SetupPaymentMethodRequestBody}
20544
+ * @memberof UsersApiSetupOffSessionPaymentMethod
20545
+ */
20546
+ readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody
20547
+ }
20548
+
19426
20549
  /**
19427
20550
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
19428
20551
  * @export
@@ -19561,6 +20684,17 @@ export class UsersApi extends BaseAPI {
19561
20684
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
19562
20685
  }
19563
20686
 
20687
+ /**
20688
+ *
20689
+ * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
20690
+ * @param {*} [options] Override http request option.
20691
+ * @throws {RequiredError}
20692
+ * @memberof UsersApi
20693
+ */
20694
+ public addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
20695
+ return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
20696
+ }
20697
+
19564
20698
  /**
19565
20699
  *
19566
20700
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -19572,6 +20706,17 @@ export class UsersApi extends BaseAPI {
19572
20706
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
19573
20707
  }
19574
20708
 
20709
+ /**
20710
+ *
20711
+ * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
20712
+ * @param {*} [options] Override http request option.
20713
+ * @throws {RequiredError}
20714
+ * @memberof UsersApi
20715
+ */
20716
+ public confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
20717
+ return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
20718
+ }
20719
+
19575
20720
  /**
19576
20721
  *
19577
20722
  * @param {*} [options] Override http request option.
@@ -19828,6 +20973,17 @@ export class UsersApi extends BaseAPI {
19828
20973
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
19829
20974
  }
19830
20975
 
20976
+ /**
20977
+ *
20978
+ * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
20979
+ * @param {*} [options] Override http request option.
20980
+ * @throws {RequiredError}
20981
+ * @memberof UsersApi
20982
+ */
20983
+ public setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig) {
20984
+ return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
20985
+ }
20986
+
19831
20987
  /**
19832
20988
  *
19833
20989
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.