@tennac-booking/sdk 1.0.77 → 1.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +13 -16
  2. package/README.md +16 -24
  3. package/api.ts +1247 -1401
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1030 -1036
  8. package/dist/api.js +189 -403
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +1030 -1036
  16. package/dist/esm/api.js +182 -400
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingClubInfo.md +28 -0
  28. package/docs/{SetupPaymentMethodRequestBody.md → BookingCourtInfo.md} +7 -5
  29. package/docs/BookingDetailResponse.md +53 -1
  30. package/docs/BookingInfo.md +2 -2
  31. package/docs/BookingPaymentStatus.md +24 -0
  32. package/docs/BookingPlayerPaymentSummary.md +34 -0
  33. package/docs/BookingPopulated.md +2 -0
  34. package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  35. package/docs/BookingResponse.md +2 -0
  36. package/docs/BookingSlotInfo.md +30 -0
  37. package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
  38. package/docs/BookingSummary.md +53 -1
  39. package/docs/BookingsApi.md +55 -0
  40. package/docs/ClubAnalyticsStaffApi.md +0 -167
  41. package/docs/ClubResponse.md +8 -0
  42. package/docs/ClubSettingsResponse.md +0 -2
  43. package/docs/CreateBookingRequest.md +2 -2
  44. package/docs/CreateEventRequest.md +0 -2
  45. package/docs/IUserAttributes.md +2 -12
  46. package/docs/InvoiceStatus.md +22 -0
  47. package/docs/PartialClubResponse.md +8 -0
  48. package/docs/PlayerPrice.md +30 -0
  49. package/docs/{ConfirmPaymentMethodResponse.md → QuickReservationClubSport.md} +7 -7
  50. package/docs/QuickReservationClubSummary.md +4 -0
  51. package/docs/SlotInfo.md +2 -2
  52. package/docs/SportsPublicApi.md +53 -0
  53. package/docs/StaffUserProfileResponse.md +2 -12
  54. package/docs/SubscribeRequestBody.md +2 -0
  55. package/docs/SubscriptionInfo.md +24 -0
  56. package/docs/UserBookingsResponse.md +28 -0
  57. package/docs/UserProfileResponse.md +4 -12
  58. package/docs/UsersApi.md +2 -158
  59. package/index.ts +1 -1
  60. package/package.json +1 -1
  61. package/docs/ClubPlayerBookingItem.md +0 -36
  62. package/docs/ClubPlayerBookingsResponse.md +0 -22
  63. package/docs/ClubPlayerDetailResponse.md +0 -46
  64. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  65. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  66. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  67. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  68. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  69. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  70. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  71. package/docs/PaymentMethodSetupResponse.md +0 -24
  72. package/docs/SetupPaymentMethodResponse.md +0 -24
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.77
5
+ * The version of the OpenAPI document: 1.0.75
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -82,19 +82,6 @@ export interface AddOrganizationRequest {
82
82
  */
83
83
  'organizationId'?: string;
84
84
  }
85
- /**
86
- *
87
- * @export
88
- * @interface AddPaymentMethodRequestBody
89
- */
90
- export interface AddPaymentMethodRequestBody {
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof AddPaymentMethodRequestBody
95
- */
96
- 'paymentMethodId': string;
97
- }
98
85
  /**
99
86
  *
100
87
  * @export
@@ -150,6 +137,64 @@ export interface BookingAnalyticsResponse {
150
137
  */
151
138
  'paymentByPlayersStatus': Array<any>;
152
139
  }
140
+ /**
141
+ *
142
+ * @export
143
+ * @interface BookingClubInfo
144
+ */
145
+ export interface BookingClubInfo {
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof BookingClubInfo
150
+ */
151
+ 'id': string;
152
+ /**
153
+ *
154
+ * @type {string}
155
+ * @memberof BookingClubInfo
156
+ */
157
+ 'name'?: string | null;
158
+ /**
159
+ *
160
+ * @type {string}
161
+ * @memberof BookingClubInfo
162
+ */
163
+ 'picture'?: string | null;
164
+ /**
165
+ *
166
+ * @type {string}
167
+ * @memberof BookingClubInfo
168
+ */
169
+ 'address'?: string | null;
170
+ /**
171
+ * Construct a type with a set of properties K of type T
172
+ * @type {{ [key: string]: any; }}
173
+ * @memberof BookingClubInfo
174
+ */
175
+ 'location'?: {
176
+ [key: string]: any;
177
+ } | null;
178
+ }
179
+ /**
180
+ *
181
+ * @export
182
+ * @interface BookingCourtInfo
183
+ */
184
+ export interface BookingCourtInfo {
185
+ /**
186
+ *
187
+ * @type {string}
188
+ * @memberof BookingCourtInfo
189
+ */
190
+ 'id'?: string | null;
191
+ /**
192
+ *
193
+ * @type {string}
194
+ * @memberof BookingCourtInfo
195
+ */
196
+ 'name'?: string | null;
197
+ }
153
198
  /**
154
199
  *
155
200
  * @export
@@ -162,6 +207,132 @@ export interface BookingDetailResponse {
162
207
  * @memberof BookingDetailResponse
163
208
  */
164
209
  'id': string;
210
+ /**
211
+ *
212
+ * @type {string}
213
+ * @memberof BookingDetailResponse
214
+ */
215
+ 'clubId': string;
216
+ /**
217
+ *
218
+ * @type {string}
219
+ * @memberof BookingDetailResponse
220
+ */
221
+ 'userId': string;
222
+ /**
223
+ *
224
+ * @type {Array<string>}
225
+ * @memberof BookingDetailResponse
226
+ */
227
+ 'playersIds': Array<string>;
228
+ /**
229
+ *
230
+ * @type {BookingStatus}
231
+ * @memberof BookingDetailResponse
232
+ */
233
+ 'status': BookingStatus;
234
+ /**
235
+ *
236
+ * @type {Array<BookingPaymentStatus>}
237
+ * @memberof BookingDetailResponse
238
+ */
239
+ 'paymentByPlayersStatus': Array<BookingPaymentStatus>;
240
+ /**
241
+ *
242
+ * @type {boolean}
243
+ * @memberof BookingDetailResponse
244
+ */
245
+ 'isCreatorPayingAll': boolean;
246
+ /**
247
+ *
248
+ * @type {number}
249
+ * @memberof BookingDetailResponse
250
+ */
251
+ 'totalPrice': number;
252
+ /**
253
+ *
254
+ * @type {Array<string>}
255
+ * @memberof BookingDetailResponse
256
+ */
257
+ 'slotIds': Array<string>;
258
+ /**
259
+ *
260
+ * @type {boolean}
261
+ * @memberof BookingDetailResponse
262
+ */
263
+ 'isPublic': boolean;
264
+ /**
265
+ *
266
+ * @type {string}
267
+ * @memberof BookingDetailResponse
268
+ */
269
+ 'creatorPaymentMethodId'?: string | null;
270
+ /**
271
+ *
272
+ * @type {boolean}
273
+ * @memberof BookingDetailResponse
274
+ */
275
+ 'paymentMethodSetupCompleted': boolean;
276
+ /**
277
+ *
278
+ * @type {number}
279
+ * @memberof BookingDetailResponse
280
+ */
281
+ 'noShowChargeAmount'?: number | null;
282
+ /**
283
+ *
284
+ * @type {boolean}
285
+ * @memberof BookingDetailResponse
286
+ */
287
+ 'noShowChargeApplied'?: boolean;
288
+ /**
289
+ *
290
+ * @type {string}
291
+ * @memberof BookingDetailResponse
292
+ */
293
+ 'noShowChargeIntentId'?: string | null;
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof BookingDetailResponse
298
+ */
299
+ 'cancellationReason'?: string | null;
300
+ /**
301
+ *
302
+ * @type {string}
303
+ * @memberof BookingDetailResponse
304
+ */
305
+ 'cancelledBy'?: string | null;
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof BookingDetailResponse
310
+ */
311
+ 'cancelledAt'?: string | null;
312
+ /**
313
+ *
314
+ * @type {boolean}
315
+ * @memberof BookingDetailResponse
316
+ */
317
+ 'cancelledByManager'?: boolean;
318
+ /**
319
+ *
320
+ * @type {string}
321
+ * @memberof BookingDetailResponse
322
+ */
323
+ 'createdAt': string | null;
324
+ /**
325
+ *
326
+ * @type {string}
327
+ * @memberof BookingDetailResponse
328
+ */
329
+ 'updatedAt': string | null;
330
+ /**
331
+ *
332
+ * @type {number}
333
+ * @memberof BookingDetailResponse
334
+ */
335
+ 'playersCount'?: number | null;
165
336
  /**
166
337
  *
167
338
  * @type {string}
@@ -188,10 +359,10 @@ export interface BookingDetailResponse {
188
359
  'startDate'?: string;
189
360
  /**
190
361
  *
191
- * @type {string}
362
+ * @type {InvoiceStatus}
192
363
  * @memberof BookingDetailResponse
193
364
  */
194
- 'myPaymentStatus'?: string;
365
+ 'myPaymentStatus'?: InvoiceStatus | null;
195
366
  /**
196
367
  *
197
368
  * @type {string}
@@ -234,6 +405,36 @@ export interface BookingDetailResponse {
234
405
  * @memberof BookingDetailResponse
235
406
  */
236
407
  'bookingHistory'?: BookingHistoryPopulated;
408
+ /**
409
+ *
410
+ * @type {BookingClubInfo}
411
+ * @memberof BookingDetailResponse
412
+ */
413
+ 'club'?: BookingClubInfo | null;
414
+ /**
415
+ *
416
+ * @type {Array<BookingSlotInfo>}
417
+ * @memberof BookingDetailResponse
418
+ */
419
+ 'slots': Array<BookingSlotInfo>;
420
+ /**
421
+ *
422
+ * @type {BookingCourtInfo}
423
+ * @memberof BookingDetailResponse
424
+ */
425
+ 'court'?: BookingCourtInfo | null;
426
+ /**
427
+ *
428
+ * @type {BookingSportInfo}
429
+ * @memberof BookingDetailResponse
430
+ */
431
+ 'sport'?: BookingSportInfo | null;
432
+ /**
433
+ *
434
+ * @type {Array<BookingPlayerPaymentSummary>}
435
+ * @memberof BookingDetailResponse
436
+ */
437
+ 'players': Array<BookingPlayerPaymentSummary>;
237
438
  /**
238
439
  *
239
440
  * @type {Array<{ [key: string]: any; }>}
@@ -348,10 +549,10 @@ export interface BookingInfo {
348
549
  'totalPrice': number;
349
550
  /**
350
551
  * ID du créneau
351
- * @type {string}
552
+ * @type {Array<string>}
352
553
  * @memberof BookingInfo
353
554
  */
354
- 'slotId': string;
555
+ 'slotIds': Array<string>;
355
556
  /**
356
557
  * Indique si le créateur paie pour tous
357
558
  * @type {boolean}
@@ -407,6 +608,31 @@ export interface BookingInfo {
407
608
  */
408
609
  'noShowChargeAmount'?: number;
409
610
  }
611
+ /**
612
+ *
613
+ * @export
614
+ * @interface BookingPaymentStatus
615
+ */
616
+ export interface BookingPaymentStatus {
617
+ /**
618
+ *
619
+ * @type {string}
620
+ * @memberof BookingPaymentStatus
621
+ */
622
+ 'playerId': string;
623
+ /**
624
+ *
625
+ * @type {string}
626
+ * @memberof BookingPaymentStatus
627
+ */
628
+ 'invoiceId'?: string | null;
629
+ /**
630
+ *
631
+ * @type {InvoiceStatus}
632
+ * @memberof BookingPaymentStatus
633
+ */
634
+ 'invoiceStatus'?: InvoiceStatus | null;
635
+ }
410
636
  /**
411
637
  *
412
638
  * @export
@@ -500,6 +726,61 @@ export interface BookingPaymentStatusResponseSummary {
500
726
  */
501
727
  'totalPlayers': number;
502
728
  }
729
+ /**
730
+ *
731
+ * @export
732
+ * @interface BookingPlayerPaymentSummary
733
+ */
734
+ export interface BookingPlayerPaymentSummary {
735
+ /**
736
+ *
737
+ * @type {string}
738
+ * @memberof BookingPlayerPaymentSummary
739
+ */
740
+ 'id': string;
741
+ /**
742
+ *
743
+ * @type {string}
744
+ * @memberof BookingPlayerPaymentSummary
745
+ */
746
+ 'firstName'?: string | null;
747
+ /**
748
+ *
749
+ * @type {string}
750
+ * @memberof BookingPlayerPaymentSummary
751
+ */
752
+ 'lastName'?: string | null;
753
+ /**
754
+ *
755
+ * @type {string}
756
+ * @memberof BookingPlayerPaymentSummary
757
+ */
758
+ 'profilePicture'?: string | null;
759
+ /**
760
+ *
761
+ * @type {number}
762
+ * @memberof BookingPlayerPaymentSummary
763
+ */
764
+ 'amountToPay': number;
765
+ /**
766
+ *
767
+ * @type {string}
768
+ * @memberof BookingPlayerPaymentSummary
769
+ */
770
+ 'invoiceId'?: string | null;
771
+ /**
772
+ *
773
+ * @type {InvoiceStatus}
774
+ * @memberof BookingPlayerPaymentSummary
775
+ */
776
+ 'invoiceStatus'?: InvoiceStatus | null;
777
+ /**
778
+ *
779
+ * @type {boolean}
780
+ * @memberof BookingPlayerPaymentSummary
781
+ */
782
+ 'isCreator': boolean;
783
+ }
503
784
  /**
504
785
  *
505
786
  * @export
@@ -560,6 +841,12 @@ export interface BookingPopulated {
560
841
  * @memberof BookingPopulated
561
842
  */
562
843
  'isCreatorPayingAll': boolean;
844
+ /**
845
+ *
846
+ * @type {Array<string>}
847
+ * @memberof BookingPopulated
848
+ */
849
+ 'playersIds': Array<string>;
563
850
  /**
564
851
  *
565
852
  * @type {Array<BookingHistoryPopulated>}
@@ -594,18 +881,37 @@ export interface BookingPopulated {
594
881
  /**
595
882
  *
596
883
  * @export
597
- * @interface BookingResponse
884
+ * @interface BookingPriceBody
598
885
  */
599
- export interface BookingResponse {
886
+ export interface BookingPriceBody {
600
887
  /**
601
888
  *
602
- * @type {BookingInfo}
603
- * @memberof BookingResponse
889
+ * @type {Array<string>}
890
+ * @memberof BookingPriceBody
604
891
  */
605
- 'booking'?: BookingInfo;
892
+ 'slotIds': Array<string>;
606
893
  /**
607
- * URL de la facture (pour paiement en ligne)
608
- * @type {string}
894
+ *
895
+ * @type {Array<string>}
896
+ * @memberof BookingPriceBody
897
+ */
898
+ 'players': Array<string>;
899
+ }
900
+ /**
901
+ *
902
+ * @export
903
+ * @interface BookingResponse
904
+ */
905
+ export interface BookingResponse {
906
+ /**
907
+ *
908
+ * @type {BookingInfo}
909
+ * @memberof BookingResponse
910
+ */
911
+ 'booking'?: BookingInfo;
912
+ /**
913
+ * URL de la facture (pour paiement en ligne)
914
+ * @type {string}
609
915
  * @memberof BookingResponse
610
916
  */
611
917
  'invoiceUrl'?: string;
@@ -623,6 +929,12 @@ export interface BookingResponse {
623
929
  * @memberof BookingResponse
624
930
  */
625
931
  'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
932
+ /**
933
+ *
934
+ * @type {string}
935
+ * @memberof BookingResponse
936
+ */
937
+ 'setupNoShowPaymentUrl'?: string;
626
938
  /**
627
939
  * Message de confirmation
628
940
  * @type {string}
@@ -649,6 +961,68 @@ export interface BookingResponseOnsitePaymentsInner {
649
961
  */
650
962
  'playerId': string;
651
963
  }
964
+ /**
965
+ *
966
+ * @export
967
+ * @interface BookingSlotInfo
968
+ */
969
+ export interface BookingSlotInfo {
970
+ /**
971
+ *
972
+ * @type {string}
973
+ * @memberof BookingSlotInfo
974
+ */
975
+ 'id': string;
976
+ /**
977
+ *
978
+ * @type {string}
979
+ * @memberof BookingSlotInfo
980
+ */
981
+ 'startDate'?: string | null;
982
+ /**
983
+ *
984
+ * @type {string}
985
+ * @memberof BookingSlotInfo
986
+ */
987
+ 'endDate'?: string | null;
988
+ /**
989
+ *
990
+ * @type {number}
991
+ * @memberof BookingSlotInfo
992
+ */
993
+ 'durationMinutes'?: number | null;
994
+ /**
995
+ *
996
+ * @type {BookingCourtInfo}
997
+ * @memberof BookingSlotInfo
998
+ */
999
+ 'court'?: BookingCourtInfo | null;
1000
+ /**
1001
+ *
1002
+ * @type {BookingSportInfo}
1003
+ * @memberof BookingSlotInfo
1004
+ */
1005
+ 'sport'?: BookingSportInfo | null;
1006
+ }
1007
+ /**
1008
+ *
1009
+ * @export
1010
+ * @interface BookingSportInfo
1011
+ */
1012
+ export interface BookingSportInfo {
1013
+ /**
1014
+ *
1015
+ * @type {string}
1016
+ * @memberof BookingSportInfo
1017
+ */
1018
+ 'id'?: string | null;
1019
+ /**
1020
+ *
1021
+ * @type {string}
1022
+ * @memberof BookingSportInfo
1023
+ */
1024
+ 'key'?: string | null;
1025
+ }
652
1026
  /**
653
1027
  *
654
1028
  * @export
@@ -676,6 +1050,132 @@ export interface BookingSummary {
676
1050
  * @memberof BookingSummary
677
1051
  */
678
1052
  'id': string;
1053
+ /**
1054
+ *
1055
+ * @type {string}
1056
+ * @memberof BookingSummary
1057
+ */
1058
+ 'clubId': string;
1059
+ /**
1060
+ *
1061
+ * @type {string}
1062
+ * @memberof BookingSummary
1063
+ */
1064
+ 'userId': string;
1065
+ /**
1066
+ *
1067
+ * @type {Array<string>}
1068
+ * @memberof BookingSummary
1069
+ */
1070
+ 'playersIds': Array<string>;
1071
+ /**
1072
+ *
1073
+ * @type {BookingStatus}
1074
+ * @memberof BookingSummary
1075
+ */
1076
+ 'status': BookingStatus;
1077
+ /**
1078
+ *
1079
+ * @type {Array<BookingPaymentStatus>}
1080
+ * @memberof BookingSummary
1081
+ */
1082
+ 'paymentByPlayersStatus': Array<BookingPaymentStatus>;
1083
+ /**
1084
+ *
1085
+ * @type {boolean}
1086
+ * @memberof BookingSummary
1087
+ */
1088
+ 'isCreatorPayingAll': boolean;
1089
+ /**
1090
+ *
1091
+ * @type {number}
1092
+ * @memberof BookingSummary
1093
+ */
1094
+ 'totalPrice': number;
1095
+ /**
1096
+ *
1097
+ * @type {Array<string>}
1098
+ * @memberof BookingSummary
1099
+ */
1100
+ 'slotIds': Array<string>;
1101
+ /**
1102
+ *
1103
+ * @type {boolean}
1104
+ * @memberof BookingSummary
1105
+ */
1106
+ 'isPublic': boolean;
1107
+ /**
1108
+ *
1109
+ * @type {string}
1110
+ * @memberof BookingSummary
1111
+ */
1112
+ 'creatorPaymentMethodId'?: string | null;
1113
+ /**
1114
+ *
1115
+ * @type {boolean}
1116
+ * @memberof BookingSummary
1117
+ */
1118
+ 'paymentMethodSetupCompleted': boolean;
1119
+ /**
1120
+ *
1121
+ * @type {number}
1122
+ * @memberof BookingSummary
1123
+ */
1124
+ 'noShowChargeAmount'?: number | null;
1125
+ /**
1126
+ *
1127
+ * @type {boolean}
1128
+ * @memberof BookingSummary
1129
+ */
1130
+ 'noShowChargeApplied'?: boolean;
1131
+ /**
1132
+ *
1133
+ * @type {string}
1134
+ * @memberof BookingSummary
1135
+ */
1136
+ 'noShowChargeIntentId'?: string | null;
1137
+ /**
1138
+ *
1139
+ * @type {string}
1140
+ * @memberof BookingSummary
1141
+ */
1142
+ 'cancellationReason'?: string | null;
1143
+ /**
1144
+ *
1145
+ * @type {string}
1146
+ * @memberof BookingSummary
1147
+ */
1148
+ 'cancelledBy'?: string | null;
1149
+ /**
1150
+ *
1151
+ * @type {string}
1152
+ * @memberof BookingSummary
1153
+ */
1154
+ 'cancelledAt'?: string | null;
1155
+ /**
1156
+ *
1157
+ * @type {boolean}
1158
+ * @memberof BookingSummary
1159
+ */
1160
+ 'cancelledByManager'?: boolean;
1161
+ /**
1162
+ *
1163
+ * @type {string}
1164
+ * @memberof BookingSummary
1165
+ */
1166
+ 'createdAt': string | null;
1167
+ /**
1168
+ *
1169
+ * @type {string}
1170
+ * @memberof BookingSummary
1171
+ */
1172
+ 'updatedAt': string | null;
1173
+ /**
1174
+ *
1175
+ * @type {number}
1176
+ * @memberof BookingSummary
1177
+ */
1178
+ 'playersCount'?: number | null;
679
1179
  /**
680
1180
  *
681
1181
  * @type {string}
@@ -702,10 +1202,10 @@ export interface BookingSummary {
702
1202
  'startDate'?: string;
703
1203
  /**
704
1204
  *
705
- * @type {string}
1205
+ * @type {InvoiceStatus}
706
1206
  * @memberof BookingSummary
707
1207
  */
708
- 'myPaymentStatus'?: string;
1208
+ 'myPaymentStatus'?: InvoiceStatus | null;
709
1209
  /**
710
1210
  *
711
1211
  * @type {string}
@@ -748,6 +1248,36 @@ export interface BookingSummary {
748
1248
  * @memberof BookingSummary
749
1249
  */
750
1250
  'bookingHistory'?: BookingHistoryPopulated;
1251
+ /**
1252
+ *
1253
+ * @type {BookingClubInfo}
1254
+ * @memberof BookingSummary
1255
+ */
1256
+ 'club'?: BookingClubInfo | null;
1257
+ /**
1258
+ *
1259
+ * @type {Array<BookingSlotInfo>}
1260
+ * @memberof BookingSummary
1261
+ */
1262
+ 'slots': Array<BookingSlotInfo>;
1263
+ /**
1264
+ *
1265
+ * @type {BookingCourtInfo}
1266
+ * @memberof BookingSummary
1267
+ */
1268
+ 'court'?: BookingCourtInfo | null;
1269
+ /**
1270
+ *
1271
+ * @type {BookingSportInfo}
1272
+ * @memberof BookingSummary
1273
+ */
1274
+ 'sport'?: BookingSportInfo | null;
1275
+ /**
1276
+ *
1277
+ * @type {Array<BookingPlayerPaymentSummary>}
1278
+ * @memberof BookingSummary
1279
+ */
1280
+ 'players': Array<BookingPlayerPaymentSummary>;
751
1281
  }
752
1282
  /**
753
1283
  *
@@ -850,619 +1380,219 @@ export interface ChangePasswordRequestBody {
850
1380
  /**
851
1381
  *
852
1382
  * @export
853
- * @interface ChangePasswordResponse
854
- */
855
- export interface ChangePasswordResponse {
856
- /**
857
- *
858
- * @type {string}
859
- * @memberof ChangePasswordResponse
860
- */
861
- 'message': string;
862
- }
863
- /**
864
- *
865
- * @export
866
- * @interface CheckInPlayersRequest
867
- */
868
- export interface CheckInPlayersRequest {
869
- /**
870
- * Liste des IDs des joueurs qui ont payé/sont arrivés
871
- * @type {Array<string>}
872
- * @memberof CheckInPlayersRequest
873
- */
874
- 'playerIds': Array<string>;
875
- }
876
- /**
877
- *
878
- * @export
879
- * @interface CheckInPlayersResponse
880
- */
881
- export interface CheckInPlayersResponse {
882
- /**
883
- * Message de confirmation
884
- * @type {string}
885
- * @memberof CheckInPlayersResponse
886
- */
887
- 'message': string;
888
- /**
889
- * Joueurs ayant effectué le check-in
890
- * @type {Array<CheckedInPlayer>}
891
- * @memberof CheckInPlayersResponse
892
- */
893
- 'invoices': Array<CheckedInPlayer>;
894
- }
895
- /**
896
- *
897
- * @export
898
- * @interface CheckedInPlayer
899
- */
900
- export interface CheckedInPlayer {
901
- /**
902
- * ID du joueur
903
- * @type {string}
904
- * @memberof CheckedInPlayer
905
- */
906
- 'playerId': string;
907
- /**
908
- * ID de la facture
909
- * @type {string}
910
- * @memberof CheckedInPlayer
911
- */
912
- 'invoiceId': string;
913
- /**
914
- * Montant payé
915
- * @type {number}
916
- * @memberof CheckedInPlayer
917
- */
918
- 'amount': number;
919
- /**
920
- * Statut précédent (optionnel)
921
- * @type {string}
922
- * @memberof CheckedInPlayer
923
- */
924
- 'previousStatus'?: string;
925
- /**
926
- * Nouveau statut (optionnel)
927
- * @type {string}
928
- * @memberof CheckedInPlayer
929
- */
930
- 'newStatus'?: string;
931
- /**
932
- * Statut actuel
933
- * @type {string}
934
- * @memberof CheckedInPlayer
935
- */
936
- 'status'?: string;
937
- /**
938
- *
939
- * @type {PaymentMethod}
940
- * @memberof CheckedInPlayer
941
- */
942
- 'paymentMethod'?: PaymentMethod;
943
- /**
944
- * Note additionnelle
945
- * @type {string}
946
- * @memberof CheckedInPlayer
947
- */
948
- 'note'?: string;
949
- }
950
- /**
951
- *
952
- * @export
953
- * @interface ClubMemberResponse
954
- */
955
- export interface ClubMemberResponse {
956
- /**
957
- *
958
- * @type {ClubMemberResponseUser}
959
- * @memberof ClubMemberResponse
960
- */
961
- 'user': ClubMemberResponseUser;
962
- /**
963
- * Rôle du membre dans le club
964
- * @type {string}
965
- * @memberof ClubMemberResponse
966
- */
967
- 'role': string;
968
- /**
969
- * Droits du membre dans le club
970
- * @type {Array<string>}
971
- * @memberof ClubMemberResponse
972
- */
973
- 'rights': Array<string>;
974
- }
975
- /**
976
- * Utilisateur (membre)
977
- * @export
978
- * @interface ClubMemberResponseUser
979
- */
980
- export interface ClubMemberResponseUser {
981
- /**
982
- *
983
- * @type {string}
984
- * @memberof ClubMemberResponseUser
985
- */
986
- 'email': string;
987
- /**
988
- *
989
- * @type {string}
990
- * @memberof ClubMemberResponseUser
991
- */
992
- 'lastName': string;
993
- /**
994
- *
995
- * @type {string}
996
- * @memberof ClubMemberResponseUser
997
- */
998
- 'firstName': string;
999
- /**
1000
- *
1001
- * @type {string}
1002
- * @memberof ClubMemberResponseUser
1003
- */
1004
- 'id': string;
1005
- }
1006
- /**
1007
- *
1008
- * @export
1009
- * @interface ClubPlayerBookingItem
1010
- */
1011
- export interface ClubPlayerBookingItem {
1012
- /**
1013
- * ID de la réservation
1014
- * @type {string}
1015
- * @memberof ClubPlayerBookingItem
1016
- */
1017
- 'id': string;
1018
- /**
1019
- * Date de début de la réservation
1020
- * @type {string}
1021
- * @memberof ClubPlayerBookingItem
1022
- */
1023
- 'startDate': string | null;
1024
- /**
1025
- * Date de fin de la réservation
1026
- * @type {string}
1027
- * @memberof ClubPlayerBookingItem
1028
- */
1029
- 'endDate': string | null;
1030
- /**
1031
- * Nom du terrain ou emplacement
1032
- * @type {string}
1033
- * @memberof ClubPlayerBookingItem
1034
- */
1035
- 'location': string | null;
1036
- /**
1037
- * Nom du sport associé
1038
- * @type {string}
1039
- * @memberof ClubPlayerBookingItem
1040
- */
1041
- 'sport': string | null;
1042
- /**
1043
- * Statut de la réservation
1044
- * @type {string}
1045
- * @memberof ClubPlayerBookingItem
1046
- */
1047
- 'status': string;
1048
- /**
1049
- * Prix total de la réservation en centimes
1050
- * @type {number}
1051
- * @memberof ClubPlayerBookingItem
1052
- */
1053
- 'totalPrice': number;
1054
- /**
1055
- * Indique si le joueur est le créateur de la réservation
1056
- * @type {boolean}
1057
- * @memberof ClubPlayerBookingItem
1058
- */
1059
- 'isCreator': boolean;
1060
- /**
1061
- * Nombre total de participants
1062
- * @type {number}
1063
- * @memberof ClubPlayerBookingItem
1064
- */
1065
- 'participantsCount': number;
1066
- }
1067
- /**
1068
- *
1069
- * @export
1070
- * @interface ClubPlayerBookingsResponse
1071
- */
1072
- export interface ClubPlayerBookingsResponse {
1073
- /**
1074
- * Réservations à venir
1075
- * @type {Array<ClubPlayerBookingItem>}
1076
- * @memberof ClubPlayerBookingsResponse
1077
- */
1078
- 'upcomingBookings': Array<ClubPlayerBookingItem>;
1079
- /**
1080
- * Réservations passées
1081
- * @type {Array<ClubPlayerBookingItem>}
1082
- * @memberof ClubPlayerBookingsResponse
1083
- */
1084
- 'pastBookings': Array<ClubPlayerBookingItem>;
1085
- }
1086
- /**
1087
- *
1088
- * @export
1089
- * @interface ClubPlayerDetailResponse
1090
- */
1091
- export interface ClubPlayerDetailResponse {
1092
- /**
1093
- * ID du joueur
1094
- * @type {string}
1095
- * @memberof ClubPlayerDetailResponse
1096
- */
1097
- 'id': string;
1098
- /**
1099
- * Nom complet
1100
- * @type {string}
1101
- * @memberof ClubPlayerDetailResponse
1102
- */
1103
- 'name': string;
1104
- /**
1105
- * Prénom
1106
- * @type {string}
1107
- * @memberof ClubPlayerDetailResponse
1108
- */
1109
- 'firstName': string;
1110
- /**
1111
- * Nom
1112
- * @type {string}
1113
- * @memberof ClubPlayerDetailResponse
1114
- */
1115
- 'lastName': string;
1116
- /**
1117
- * Email
1118
- * @type {string}
1119
- * @memberof ClubPlayerDetailResponse
1120
- */
1121
- 'email': string;
1122
- /**
1123
- * Numéro de téléphone
1124
- * @type {string}
1125
- * @memberof ClubPlayerDetailResponse
1126
- */
1127
- 'phoneNumber': string | null;
1128
- /**
1129
- * URL de la photo de profil
1130
- * @type {string}
1131
- * @memberof ClubPlayerDetailResponse
1132
- */
1133
- 'profilePictureUrl': string | null;
1134
- /**
1135
- * Compte vérifié
1136
- * @type {boolean}
1137
- * @memberof ClubPlayerDetailResponse
1138
- */
1139
- 'isAccountVerified': boolean;
1140
- /**
1141
- * Abonnements au club courant
1142
- * @type {Array<ClubPlayerSubscriptionSummary>}
1143
- * @memberof ClubPlayerDetailResponse
1144
- */
1145
- 'subscriptionsToMyClub': Array<ClubPlayerSubscriptionSummary>;
1146
- /**
1147
- * Description du profil
1148
- * @type {string}
1149
- * @memberof ClubPlayerDetailResponse
1150
- */
1151
- 'profileDescription': string | null;
1152
- /**
1153
- * Genre
1154
- * @type {string}
1155
- * @memberof ClubPlayerDetailResponse
1156
- */
1157
- 'gender': string | null;
1158
- /**
1159
- * Ville
1160
- * @type {string}
1161
- * @memberof ClubPlayerDetailResponse
1162
- */
1163
- 'city': string | null;
1164
- /**
1165
- * Niveaux par sport
1166
- * @type {Array<ClubPlayerDetailResponseSportsLevelsInner>}
1167
- * @memberof ClubPlayerDetailResponse
1168
- */
1169
- 'sportsLevels': Array<ClubPlayerDetailResponseSportsLevelsInner>;
1170
- /**
1171
- * Date de naissance
1172
- * @type {string}
1173
- * @memberof ClubPlayerDetailResponse
1174
- */
1175
- 'birthDate': string | null;
1176
- }
1177
- /**
1178
- *
1179
- * @export
1180
- * @interface ClubPlayerDetailResponseSportsLevelsInner
1181
- */
1182
- export interface ClubPlayerDetailResponseSportsLevelsInner {
1183
- /**
1184
- *
1185
- * @type {string}
1186
- * @memberof ClubPlayerDetailResponseSportsLevelsInner
1187
- */
1188
- 'level': string | null;
1189
- /**
1190
- *
1191
- * @type {string}
1192
- * @memberof ClubPlayerDetailResponseSportsLevelsInner
1193
- */
1194
- 'sport': string | null;
1195
- }
1196
- /**
1197
- *
1198
- * @export
1199
- * @interface ClubPlayerResponse
1200
- */
1201
- export interface ClubPlayerResponse {
1202
- /**
1203
- * ID de l\'utilisateur
1204
- * @type {string}
1205
- * @memberof ClubPlayerResponse
1206
- */
1207
- 'id': string;
1208
- /**
1209
- * Prénom
1210
- * @type {string}
1211
- * @memberof ClubPlayerResponse
1212
- */
1213
- 'firstName': string;
1214
- /**
1215
- * Nom
1216
- * @type {string}
1217
- * @memberof ClubPlayerResponse
1218
- */
1219
- 'lastName': string;
1220
- /**
1221
- * Genre
1222
- * @type {string}
1223
- * @memberof ClubPlayerResponse
1224
- */
1225
- 'gender'?: string;
1226
- /**
1227
- * Email
1228
- * @type {string}
1229
- * @memberof ClubPlayerResponse
1230
- */
1231
- 'email': string;
1232
- /**
1233
- * Photo de profil
1234
- * @type {string}
1235
- * @memberof ClubPlayerResponse
1236
- */
1237
- 'profilePicture'?: string;
1238
- /**
1239
- * Compte vérifié
1240
- * @type {boolean}
1241
- * @memberof ClubPlayerResponse
1242
- */
1243
- 'isAccountVerified': boolean;
1244
- /**
1245
- * Profil visible
1246
- * @type {boolean}
1247
- * @memberof ClubPlayerResponse
1248
- */
1249
- 'isProfileVisible': boolean;
1383
+ * @interface ChangePasswordResponse
1384
+ */
1385
+ export interface ChangePasswordResponse {
1250
1386
  /**
1251
- * Abonné au club
1252
- * @type {boolean}
1253
- * @memberof ClubPlayerResponse
1387
+ *
1388
+ * @type {string}
1389
+ * @memberof ChangePasswordResponse
1254
1390
  */
1255
- 'isSubscribedToClub': boolean;
1391
+ 'message': string;
1256
1392
  }
1257
1393
  /**
1258
1394
  *
1259
1395
  * @export
1260
- * @interface ClubPlayerStatisticsResponse
1396
+ * @interface CheckInPlayersRequest
1261
1397
  */
1262
- export interface ClubPlayerStatisticsResponse {
1398
+ export interface CheckInPlayersRequest {
1263
1399
  /**
1264
- * Nombre total de réservations (tous clubs confondus)
1265
- * @type {number}
1266
- * @memberof ClubPlayerStatisticsResponse
1400
+ * Liste des IDs des joueurs qui ont payé/sont arrivés
1401
+ * @type {Array<string>}
1402
+ * @memberof CheckInPlayersRequest
1267
1403
  */
1268
- 'totalBookings': number;
1404
+ 'playerIds': Array<string>;
1405
+ }
1406
+ /**
1407
+ *
1408
+ * @export
1409
+ * @interface CheckInPlayersResponse
1410
+ */
1411
+ export interface CheckInPlayersResponse {
1269
1412
  /**
1270
- * Nombre total de réservations dans le club courant
1271
- * @type {number}
1272
- * @memberof ClubPlayerStatisticsResponse
1413
+ * Message de confirmation
1414
+ * @type {string}
1415
+ * @memberof CheckInPlayersResponse
1273
1416
  */
1274
- 'totalBookingsInMyClub': number;
1417
+ 'message': string;
1275
1418
  /**
1276
- * Somme totale dépensée dans le club courant (centimes)
1277
- * @type {number}
1278
- * @memberof ClubPlayerStatisticsResponse
1419
+ * Joueurs ayant effectué le check-in
1420
+ * @type {Array<CheckedInPlayer>}
1421
+ * @memberof CheckInPlayersResponse
1279
1422
  */
1280
- 'totalSpentAmount': number;
1423
+ 'invoices': Array<CheckedInPlayer>;
1424
+ }
1425
+ /**
1426
+ *
1427
+ * @export
1428
+ * @interface CheckedInPlayer
1429
+ */
1430
+ export interface CheckedInPlayer {
1281
1431
  /**
1282
- * Sport le plus pratiqué dans le club courant
1432
+ * ID du joueur
1283
1433
  * @type {string}
1284
- * @memberof ClubPlayerStatisticsResponse
1434
+ * @memberof CheckedInPlayer
1285
1435
  */
1286
- 'favoriteSport': string | null;
1436
+ 'playerId': string;
1287
1437
  /**
1288
- * Temps moyen entre la réservation et le début du créneau (heures)
1289
- * @type {number}
1290
- * @memberof ClubPlayerStatisticsResponse
1438
+ * ID de la facture
1439
+ * @type {string}
1440
+ * @memberof CheckedInPlayer
1291
1441
  */
1292
- 'averageBookingLeadTimeHours': number | null;
1442
+ 'invoiceId': string;
1293
1443
  /**
1294
- * Taux d\'annulation dans le club courant (0-1)
1444
+ * Montant payé
1295
1445
  * @type {number}
1296
- * @memberof ClubPlayerStatisticsResponse
1446
+ * @memberof CheckedInPlayer
1297
1447
  */
1298
- 'bookingCancellationRate': number;
1448
+ 'amount': number;
1299
1449
  /**
1300
- * Nombre d\'abonnements actifs au club courant
1301
- * @type {number}
1302
- * @memberof ClubPlayerStatisticsResponse
1450
+ * Statut précédent (optionnel)
1451
+ * @type {string}
1452
+ * @memberof CheckedInPlayer
1303
1453
  */
1304
- 'activeSubscriptionsToMyClub': number;
1454
+ 'previousStatus'?: string;
1305
1455
  /**
1306
- * Heure de créneau favorite dans le club courant (format HH:00)
1456
+ * Nouveau statut (optionnel)
1307
1457
  * @type {string}
1308
- * @memberof ClubPlayerStatisticsResponse
1458
+ * @memberof CheckedInPlayer
1309
1459
  */
1310
- 'favoriteTimeSlot': string | null;
1460
+ 'newStatus'?: string;
1311
1461
  /**
1312
- *
1313
- * @type {ClubPlayerStatisticsResponseFavoriteClub}
1314
- * @memberof ClubPlayerStatisticsResponse
1462
+ * Statut actuel
1463
+ * @type {string}
1464
+ * @memberof CheckedInPlayer
1315
1465
  */
1316
- 'favoriteClub': ClubPlayerStatisticsResponseFavoriteClub | null;
1466
+ 'status'?: string;
1317
1467
  /**
1318
1468
  *
1319
- * @type {ClubPlayerStatisticsResponseMostPlayedClub}
1320
- * @memberof ClubPlayerStatisticsResponse
1321
- */
1322
- 'mostPlayedClub': ClubPlayerStatisticsResponseMostPlayedClub | null;
1323
- /**
1324
- * Évolution quotidienne des montants dépensés ce mois-ci
1325
- * @type {Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>}
1326
- * @memberof ClubPlayerStatisticsResponse
1469
+ * @type {PaymentMethod}
1470
+ * @memberof CheckedInPlayer
1327
1471
  */
1328
- 'bookingAmountEvolutionThisMonth': Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>;
1472
+ 'paymentMethod'?: PaymentMethod;
1329
1473
  /**
1330
- * Joueurs les plus joués dans le club courant
1331
- * @type {Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>}
1332
- * @memberof ClubPlayerStatisticsResponse
1474
+ * Note additionnelle
1475
+ * @type {string}
1476
+ * @memberof CheckedInPlayer
1333
1477
  */
1334
- 'mostPlayedPartners': Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>;
1478
+ 'note'?: string;
1335
1479
  }
1336
1480
  /**
1337
1481
  *
1338
1482
  * @export
1339
- * @interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1483
+ * @interface ClubMemberResponse
1340
1484
  */
1341
- export interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner {
1485
+ export interface ClubMemberResponse {
1342
1486
  /**
1343
1487
  *
1344
- * @type {number}
1345
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1488
+ * @type {ClubMemberResponseUser}
1489
+ * @memberof ClubMemberResponse
1346
1490
  */
1347
- 'amount': number;
1491
+ 'user': ClubMemberResponseUser;
1348
1492
  /**
1349
- *
1350
- * @type {number}
1351
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1493
+ * Rôle du membre dans le club
1494
+ * @type {string}
1495
+ * @memberof ClubMemberResponse
1496
+ */
1497
+ 'role': string;
1498
+ /**
1499
+ * Droits du membre dans le club
1500
+ * @type {Array<string>}
1501
+ * @memberof ClubMemberResponse
1352
1502
  */
1353
- 'day': number;
1503
+ 'rights': Array<string>;
1354
1504
  }
1355
1505
  /**
1356
- * Club favori selon le profil utilisateur
1506
+ * Utilisateur (membre)
1357
1507
  * @export
1358
- * @interface ClubPlayerStatisticsResponseFavoriteClub
1508
+ * @interface ClubMemberResponseUser
1359
1509
  */
1360
- export interface ClubPlayerStatisticsResponseFavoriteClub {
1510
+ export interface ClubMemberResponseUser {
1361
1511
  /**
1362
1512
  *
1363
1513
  * @type {string}
1364
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1514
+ * @memberof ClubMemberResponseUser
1365
1515
  */
1366
- 'name': string | null;
1516
+ 'email': string;
1367
1517
  /**
1368
1518
  *
1369
1519
  * @type {string}
1370
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1371
- */
1372
- 'clubId': string;
1373
- }
1374
- /**
1375
- * Club où le joueur a le plus joué
1376
- * @export
1377
- * @interface ClubPlayerStatisticsResponseMostPlayedClub
1378
- */
1379
- export interface ClubPlayerStatisticsResponseMostPlayedClub {
1380
- /**
1381
- *
1382
- * @type {number}
1383
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1520
+ * @memberof ClubMemberResponseUser
1384
1521
  */
1385
- 'bookingsCount': number;
1522
+ 'lastName': string;
1386
1523
  /**
1387
1524
  *
1388
1525
  * @type {string}
1389
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1526
+ * @memberof ClubMemberResponseUser
1390
1527
  */
1391
- 'name': string | null;
1528
+ 'firstName': string;
1392
1529
  /**
1393
1530
  *
1394
1531
  * @type {string}
1395
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1532
+ * @memberof ClubMemberResponseUser
1396
1533
  */
1397
- 'clubId': string;
1534
+ 'id': string;
1398
1535
  }
1399
1536
  /**
1400
1537
  *
1401
1538
  * @export
1402
- * @interface ClubPlayerStatisticsResponseMostPlayedPartnersInner
1539
+ * @interface ClubPlayerResponse
1403
1540
  */
1404
- export interface ClubPlayerStatisticsResponseMostPlayedPartnersInner {
1541
+ export interface ClubPlayerResponse {
1405
1542
  /**
1406
- *
1407
- * @type {number}
1408
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1543
+ * ID de l\'utilisateur
1544
+ * @type {string}
1545
+ * @memberof ClubPlayerResponse
1409
1546
  */
1410
- 'bookingsTogether': number;
1547
+ 'id': string;
1411
1548
  /**
1412
- *
1549
+ * Prénom
1413
1550
  * @type {string}
1414
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1551
+ * @memberof ClubPlayerResponse
1415
1552
  */
1416
- 'lastName': string | null;
1553
+ 'firstName': string;
1417
1554
  /**
1418
- *
1555
+ * Nom
1419
1556
  * @type {string}
1420
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1557
+ * @memberof ClubPlayerResponse
1421
1558
  */
1422
- 'firstName': string | null;
1559
+ 'lastName': string;
1423
1560
  /**
1424
- *
1561
+ * Genre
1425
1562
  * @type {string}
1426
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1563
+ * @memberof ClubPlayerResponse
1427
1564
  */
1428
- 'userId': string;
1429
- }
1430
- /**
1431
- *
1432
- * @export
1433
- * @interface ClubPlayerSubscriptionSummary
1434
- */
1435
- export interface ClubPlayerSubscriptionSummary {
1565
+ 'gender'?: string;
1436
1566
  /**
1437
- * ID du plan d\'abonnement
1567
+ * Email
1438
1568
  * @type {string}
1439
- * @memberof ClubPlayerSubscriptionSummary
1569
+ * @memberof ClubPlayerResponse
1440
1570
  */
1441
- 'id': string;
1571
+ 'email': string;
1442
1572
  /**
1443
- * Nom du plan
1573
+ * Photo de profil
1444
1574
  * @type {string}
1445
- * @memberof ClubPlayerSubscriptionSummary
1575
+ * @memberof ClubPlayerResponse
1446
1576
  */
1447
- 'name': string | null;
1577
+ 'profilePicture'?: string;
1448
1578
  /**
1449
- * Montant en centimes
1450
- * @type {number}
1451
- * @memberof ClubPlayerSubscriptionSummary
1579
+ * Compte vérifié
1580
+ * @type {boolean}
1581
+ * @memberof ClubPlayerResponse
1452
1582
  */
1453
- 'amountInCents': number | null;
1583
+ 'isAccountVerified': boolean;
1454
1584
  /**
1455
- * Devise
1456
- * @type {string}
1457
- * @memberof ClubPlayerSubscriptionSummary
1585
+ * Profil visible
1586
+ * @type {boolean}
1587
+ * @memberof ClubPlayerResponse
1458
1588
  */
1459
- 'currency': string | null;
1589
+ 'isProfileVisible': boolean;
1460
1590
  /**
1461
- * Intervalle de facturation
1462
- * @type {string}
1463
- * @memberof ClubPlayerSubscriptionSummary
1591
+ * Abonné au club
1592
+ * @type {boolean}
1593
+ * @memberof ClubPlayerResponse
1464
1594
  */
1465
- 'interval': string | null;
1595
+ 'isSubscribedToClub': boolean;
1466
1596
  }
1467
1597
  /**
1468
1598
  *
@@ -1554,6 +1684,30 @@ export interface ClubResponse {
1554
1684
  * @memberof ClubResponse
1555
1685
  */
1556
1686
  'sports'?: Array<string>;
1687
+ /**
1688
+ * Autoriser plusieurs réservations en même temps
1689
+ * @type {boolean}
1690
+ * @memberof ClubResponse
1691
+ */
1692
+ 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1693
+ /**
1694
+ * Limite de réservations simultanées (même créneau)
1695
+ * @type {number}
1696
+ * @memberof ClubResponse
1697
+ */
1698
+ 'sameTimeBookingsLimit'?: number | null;
1699
+ /**
1700
+ * Limite d\'annulation en heures
1701
+ * @type {number}
1702
+ * @memberof ClubResponse
1703
+ */
1704
+ 'cancellationLimitHours'?: number | null;
1705
+ /**
1706
+ * Nombre maximum de réservations par semaine
1707
+ * @type {number}
1708
+ * @memberof ClubResponse
1709
+ */
1710
+ 'maxWeeklyBookings'?: number | null;
1557
1711
  /**
1558
1712
  *
1559
1713
  * @type {ClubResponseCreatedAt}
@@ -1716,12 +1870,6 @@ export interface ClubSettingsResponse {
1716
1870
  * @memberof ClubSettingsResponse
1717
1871
  */
1718
1872
  'maxWeeklyBookings': number;
1719
- /**
1720
- * Autoriser plusieurs réservations en même temps
1721
- * @type {boolean}
1722
- * @memberof ClubSettingsResponse
1723
- */
1724
- 'allowMultipleBookingsAtTheSameTime': boolean;
1725
1873
  /**
1726
1874
  * Limite de réservations simultanées
1727
1875
  * @type {number}
@@ -1846,38 +1994,6 @@ export interface ClubUserCountResponse {
1846
1994
  */
1847
1995
  'count': number;
1848
1996
  }
1849
- /**
1850
- *
1851
- * @export
1852
- * @interface ConfirmPaymentMethodRequestBody
1853
- */
1854
- export interface ConfirmPaymentMethodRequestBody {
1855
- /**
1856
- *
1857
- * @type {string}
1858
- * @memberof ConfirmPaymentMethodRequestBody
1859
- */
1860
- 'setupIntentId': string;
1861
- }
1862
- /**
1863
- *
1864
- * @export
1865
- * @interface ConfirmPaymentMethodResponse
1866
- */
1867
- export interface ConfirmPaymentMethodResponse {
1868
- /**
1869
- *
1870
- * @type {string}
1871
- * @memberof ConfirmPaymentMethodResponse
1872
- */
1873
- 'message': string;
1874
- /**
1875
- *
1876
- * @type {string}
1877
- * @memberof ConfirmPaymentMethodResponse
1878
- */
1879
- 'paymentMethodId'?: string | null;
1880
- }
1881
1997
  /**
1882
1998
  *
1883
1999
  * @export
@@ -2036,10 +2152,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
2036
2152
  export interface CreateBookingRequest {
2037
2153
  /**
2038
2154
  * ID du créneau à réserver
2039
- * @type {string}
2155
+ * @type {Array<string>}
2040
2156
  * @memberof CreateBookingRequest
2041
2157
  */
2042
- 'slotId': string;
2158
+ 'slotIds': Array<string>;
2043
2159
  /**
2044
2160
  * Liste des joueurs avec leurs méthodes de paiement
2045
2161
  * @type {Array<PlayerWithPaymentMethod>}
@@ -2346,12 +2462,6 @@ export interface CreateEventRequest {
2346
2462
  * @memberof CreateEventRequest
2347
2463
  */
2348
2464
  'subscriberPrices'?: Array<SubscriberPrice>;
2349
- /**
2350
- *
2351
- * @type {Array<number>}
2352
- * @memberof CreateEventRequest
2353
- */
2354
- 'levels'?: Array<number>;
2355
2465
  /**
2356
2466
  *
2357
2467
  * @type {string}
@@ -3468,24 +3578,12 @@ export interface IUserAttributes {
3468
3578
  * @memberof IUserAttributes
3469
3579
  */
3470
3580
  'isAccountVerified': boolean;
3471
- /**
3472
- *
3473
- * @type {boolean}
3474
- * @memberof IUserAttributes
3475
- */
3476
- 'isCreditCardRegistered'?: boolean;
3477
3581
  /**
3478
3582
  *
3479
3583
  * @type {Array<ILevelBySports>}
3480
3584
  * @memberof IUserAttributes
3481
3585
  */
3482
3586
  'levelBySports'?: Array<ILevelBySports>;
3483
- /**
3484
- *
3485
- * @type {string}
3486
- * @memberof IUserAttributes
3487
- */
3488
- 'stripeCustomerId'?: string;
3489
3587
  /**
3490
3588
  *
3491
3589
  * @type {string}
@@ -3515,73 +3613,49 @@ export interface IUserAttributes {
3515
3613
  * @type {string}
3516
3614
  * @memberof IUserAttributes
3517
3615
  */
3518
- 'resetPasswordExpires'?: string;
3519
- /**
3520
- *
3521
- * @type {string}
3522
- * @memberof IUserAttributes
3523
- */
3524
- 'emailVerificationToken'?: string;
3525
- /**
3526
- *
3527
- * @type {string}
3528
- * @memberof IUserAttributes
3529
- */
3530
- 'emailVerificationExpires'?: string;
3531
- /**
3532
- *
3533
- * @type {Array<IUserAttributesOrganizationsInner>}
3534
- * @memberof IUserAttributes
3535
- */
3536
- 'organizations'?: Array<IUserAttributesOrganizationsInner>;
3537
- /**
3538
- *
3539
- * @type {boolean}
3540
- * @memberof IUserAttributes
3541
- */
3542
- 'isAdmin': boolean;
3616
+ 'resetPasswordExpires'?: string;
3543
3617
  /**
3544
3618
  *
3545
3619
  * @type {string}
3546
3620
  * @memberof IUserAttributes
3547
3621
  */
3548
- 'createdAt': string;
3622
+ 'emailVerificationToken'?: string;
3549
3623
  /**
3550
3624
  *
3551
3625
  * @type {string}
3552
3626
  * @memberof IUserAttributes
3553
3627
  */
3554
- 'updatedAt': string;
3628
+ 'emailVerificationExpires'?: string;
3555
3629
  /**
3556
3630
  *
3557
- * @type {boolean}
3631
+ * @type {Array<IUserAttributesOrganizationsInner>}
3558
3632
  * @memberof IUserAttributes
3559
3633
  */
3560
- 'isLevelCertified'?: boolean;
3634
+ 'organizations'?: Array<IUserAttributesOrganizationsInner>;
3561
3635
  /**
3562
3636
  *
3563
- * @type {Array<string>}
3637
+ * @type {boolean}
3564
3638
  * @memberof IUserAttributes
3565
3639
  */
3566
- 'paymentMethods'?: Array<string>;
3640
+ 'isAdmin': boolean;
3567
3641
  /**
3568
3642
  *
3569
3643
  * @type {string}
3570
3644
  * @memberof IUserAttributes
3571
3645
  */
3572
- 'defaultPaymentMethodId'?: string;
3646
+ 'createdAt': string;
3573
3647
  /**
3574
3648
  *
3575
- * @type {boolean}
3649
+ * @type {string}
3576
3650
  * @memberof IUserAttributes
3577
3651
  */
3578
- 'paymentMethodSetupCompleted': boolean;
3652
+ 'updatedAt': string;
3579
3653
  /**
3580
3654
  *
3581
- * @type {string}
3655
+ * @type {boolean}
3582
3656
  * @memberof IUserAttributes
3583
3657
  */
3584
- 'setupIntentId'?: string;
3658
+ 'isLevelCertified'?: boolean;
3585
3659
  /**
3586
3660
  *
3587
3661
  * @type {Array<string>}
@@ -3614,6 +3688,12 @@ export interface IUserAttributes {
3614
3688
  'sports'?: {
3615
3689
  [key: string]: any;
3616
3690
  };
3691
+ /**
3692
+ *
3693
+ * @type {string}
3694
+ * @memberof IUserAttributes
3695
+ */
3696
+ 'stripeCustomerId'?: string;
3617
3697
  }
3618
3698
  /**
3619
3699
  *
@@ -3770,6 +3850,22 @@ export interface InvoiceInfo {
3770
3850
  */
3771
3851
  'status': string;
3772
3852
  }
3853
+ /**
3854
+ *
3855
+ * @export
3856
+ * @enum {string}
3857
+ */
3858
+ export declare const InvoiceStatus: {
3859
+ readonly SetupPending: "setup_pending";
3860
+ readonly SetupSuccess: "setup_success";
3861
+ readonly Pending: "pending";
3862
+ readonly Paid: "paid";
3863
+ readonly Failed: "failed";
3864
+ readonly Authorized: "authorized";
3865
+ readonly Canceled: "canceled";
3866
+ readonly Expired: "expired";
3867
+ };
3868
+ export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
3773
3869
  /**
3774
3870
  *
3775
3871
  * @export
@@ -4160,6 +4256,30 @@ export interface PartialClubResponse {
4160
4256
  * @memberof PartialClubResponse
4161
4257
  */
4162
4258
  'sports'?: Array<string>;
4259
+ /**
4260
+ * Autoriser plusieurs réservations en même temps
4261
+ * @type {boolean}
4262
+ * @memberof PartialClubResponse
4263
+ */
4264
+ 'allowMultipleBookingsAtTheSameTime'?: boolean;
4265
+ /**
4266
+ * Limite de réservations simultanées (même créneau)
4267
+ * @type {number}
4268
+ * @memberof PartialClubResponse
4269
+ */
4270
+ 'sameTimeBookingsLimit'?: number;
4271
+ /**
4272
+ * Limite d\'annulation en heures
4273
+ * @type {number}
4274
+ * @memberof PartialClubResponse
4275
+ */
4276
+ 'cancellationLimitHours'?: number;
4277
+ /**
4278
+ * Nombre maximum de réservations par semaine
4279
+ * @type {number}
4280
+ * @memberof PartialClubResponse
4281
+ */
4282
+ 'maxWeeklyBookings'?: number;
4163
4283
  /**
4164
4284
  *
4165
4285
  * @type {ClubResponseCreatedAt}
@@ -4216,31 +4336,6 @@ export declare const PaymentMethod: {
4216
4336
  readonly Free: "free";
4217
4337
  };
4218
4338
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
4219
- /**
4220
- *
4221
- * @export
4222
- * @interface PaymentMethodSetupResponse
4223
- */
4224
- export interface PaymentMethodSetupResponse {
4225
- /**
4226
- *
4227
- * @type {string}
4228
- * @memberof PaymentMethodSetupResponse
4229
- */
4230
- 'message': string;
4231
- /**
4232
- *
4233
- * @type {Array<string>}
4234
- * @memberof PaymentMethodSetupResponse
4235
- */
4236
- 'paymentMethods': Array<string>;
4237
- /**
4238
- *
4239
- * @type {string}
4240
- * @memberof PaymentMethodSetupResponse
4241
- */
4242
- 'defaultPaymentMethodId'?: string | null;
4243
- }
4244
4339
  /**
4245
4340
  * From T, pick a set of properties whose keys are in the union K
4246
4341
  * @export
@@ -4485,6 +4580,49 @@ export interface PlayerPaymentInfo {
4485
4580
  */
4486
4581
  'needsCheckIn': boolean;
4487
4582
  }
4583
+ /**
4584
+ *
4585
+ * @export
4586
+ * @interface PlayerPrice
4587
+ */
4588
+ export interface PlayerPrice {
4589
+ /**
4590
+ *
4591
+ * @type {string}
4592
+ * @memberof PlayerPrice
4593
+ */
4594
+ 'playerId': string;
4595
+ /**
4596
+ *
4597
+ * @type {string}
4598
+ * @memberof PlayerPrice
4599
+ */
4600
+ 'firstName'?: string;
4601
+ /**
4602
+ *
4603
+ * @type {string}
4604
+ * @memberof PlayerPrice
4605
+ */
4606
+ 'lastName'?: string;
4607
+ /**
4608
+ *
4609
+ * @type {Array<SubscriptionInfo>}
4610
+ * @memberof PlayerPrice
4611
+ */
4612
+ 'subscriptions': Array<SubscriptionInfo>;
4613
+ /**
4614
+ *
4615
+ * @type {number}
4616
+ * @memberof PlayerPrice
4617
+ */
4618
+ 'creditAvailablesInCents'?: number;
4619
+ /**
4620
+ *
4621
+ * @type {number}
4622
+ * @memberof PlayerPrice
4623
+ */
4624
+ 'price': number;
4625
+ }
4488
4626
  /**
4489
4627
  *
4490
4628
  * @export
@@ -4750,6 +4888,25 @@ export interface PublishEventResponse {
4750
4888
  */
4751
4889
  'event': EventResponse;
4752
4890
  }
4891
+ /**
4892
+ *
4893
+ * @export
4894
+ * @interface QuickReservationClubSport
4895
+ */
4896
+ export interface QuickReservationClubSport {
4897
+ /**
4898
+ * ID du sport
4899
+ * @type {string}
4900
+ * @memberof QuickReservationClubSport
4901
+ */
4902
+ 'id': string;
4903
+ /**
4904
+ * Clé du sport
4905
+ * @type {string}
4906
+ * @memberof QuickReservationClubSport
4907
+ */
4908
+ 'key'?: string;
4909
+ }
4753
4910
  /**
4754
4911
  *
4755
4912
  * @export
@@ -4768,6 +4925,12 @@ export interface QuickReservationClubSummary {
4768
4925
  * @memberof QuickReservationClubSummary
4769
4926
  */
4770
4927
  'clubName': string;
4928
+ /**
4929
+ * Description du club
4930
+ * @type {string}
4931
+ * @memberof QuickReservationClubSummary
4932
+ */
4933
+ 'description'?: string;
4771
4934
  /**
4772
4935
  * Distance par rapport à la recherche, en mètres
4773
4936
  * @type {number}
@@ -4786,6 +4949,12 @@ export interface QuickReservationClubSummary {
4786
4949
  * @memberof QuickReservationClubSummary
4787
4950
  */
4788
4951
  'slots': Array<QuickReservationSlotSummary>;
4952
+ /**
4953
+ * Sports disponibles dans le club
4954
+ * @type {Array<QuickReservationClubSport>}
4955
+ * @memberof QuickReservationClubSummary
4956
+ */
4957
+ 'sports'?: Array<QuickReservationClubSport>;
4789
4958
  }
4790
4959
  /**
4791
4960
  * Localisation du club
@@ -5176,44 +5345,6 @@ export interface ResetPasswordRequest {
5176
5345
  */
5177
5346
  'token'?: string;
5178
5347
  }
5179
- /**
5180
- *
5181
- * @export
5182
- * @interface SetupPaymentMethodRequestBody
5183
- */
5184
- export interface SetupPaymentMethodRequestBody {
5185
- /**
5186
- *
5187
- * @type {string}
5188
- * @memberof SetupPaymentMethodRequestBody
5189
- */
5190
- 'clubId': string;
5191
- }
5192
- /**
5193
- *
5194
- * @export
5195
- * @interface SetupPaymentMethodResponse
5196
- */
5197
- export interface SetupPaymentMethodResponse {
5198
- /**
5199
- *
5200
- * @type {string}
5201
- * @memberof SetupPaymentMethodResponse
5202
- */
5203
- 'setupIntentId': string;
5204
- /**
5205
- *
5206
- * @type {string}
5207
- * @memberof SetupPaymentMethodResponse
5208
- */
5209
- 'clientSecret': string;
5210
- /**
5211
- *
5212
- * @type {string}
5213
- * @memberof SetupPaymentMethodResponse
5214
- */
5215
- 'message': string;
5216
- }
5217
5348
  /**
5218
5349
  *
5219
5350
  * @export
@@ -5243,7 +5374,7 @@ export interface SlotInfo {
5243
5374
  * @type {CourtInfo}
5244
5375
  * @memberof SlotInfo
5245
5376
  */
5246
- 'court': CourtInfo;
5377
+ 'courtId': CourtInfo;
5247
5378
  }
5248
5379
  /**
5249
5380
  *
@@ -5484,24 +5615,12 @@ export interface StaffUserProfileResponse {
5484
5615
  * @memberof StaffUserProfileResponse
5485
5616
  */
5486
5617
  'isAccountVerified': boolean;
5487
- /**
5488
- *
5489
- * @type {boolean}
5490
- * @memberof StaffUserProfileResponse
5491
- */
5492
- 'isCreditCardRegistered'?: boolean;
5493
5618
  /**
5494
5619
  *
5495
5620
  * @type {Array<ILevelBySports>}
5496
5621
  * @memberof StaffUserProfileResponse
5497
5622
  */
5498
5623
  'levelBySports'?: Array<ILevelBySports>;
5499
- /**
5500
- *
5501
- * @type {string}
5502
- * @memberof StaffUserProfileResponse
5503
- */
5504
- 'stripeCustomerId'?: string;
5505
5624
  /**
5506
5625
  *
5507
5626
  * @type {string}
@@ -5574,30 +5693,6 @@ export interface StaffUserProfileResponse {
5574
5693
  * @memberof StaffUserProfileResponse
5575
5694
  */
5576
5695
  'isLevelCertified'?: boolean;
5577
- /**
5578
- *
5579
- * @type {Array<string>}
5580
- * @memberof StaffUserProfileResponse
5581
- */
5582
- 'paymentMethods'?: Array<string>;
5583
- /**
5584
- *
5585
- * @type {string}
5586
- * @memberof StaffUserProfileResponse
5587
- */
5588
- 'defaultPaymentMethodId'?: string;
5589
- /**
5590
- *
5591
- * @type {boolean}
5592
- * @memberof StaffUserProfileResponse
5593
- */
5594
- 'paymentMethodSetupCompleted': boolean;
5595
- /**
5596
- *
5597
- * @type {string}
5598
- * @memberof StaffUserProfileResponse
5599
- */
5600
- 'setupIntentId'?: string;
5601
5696
  /**
5602
5697
  *
5603
5698
  * @type {Array<string>}
@@ -5630,6 +5725,12 @@ export interface StaffUserProfileResponse {
5630
5725
  'sports'?: {
5631
5726
  [key: string]: any;
5632
5727
  };
5728
+ /**
5729
+ *
5730
+ * @type {string}
5731
+ * @memberof StaffUserProfileResponse
5732
+ */
5733
+ 'stripeCustomerId'?: string;
5633
5734
  /**
5634
5735
  *
5635
5736
  * @type {boolean}
@@ -6873,6 +6974,12 @@ export interface SubscribeRequestBody {
6873
6974
  * @memberof SubscribeRequestBody
6874
6975
  */
6875
6976
  'priceId': string;
6977
+ /**
6978
+ *
6979
+ * @type {boolean}
6980
+ * @memberof SubscribeRequestBody
6981
+ */
6982
+ 'useDefaultPaymentMethod'?: boolean;
6876
6983
  }
6877
6984
  /**
6878
6985
  *
@@ -6893,6 +7000,31 @@ export interface SubscriberPrice {
6893
7000
  */
6894
7001
  'amount': number;
6895
7002
  }
7003
+ /**
7004
+ *
7005
+ * @export
7006
+ * @interface SubscriptionInfo
7007
+ */
7008
+ export interface SubscriptionInfo {
7009
+ /**
7010
+ *
7011
+ * @type {string}
7012
+ * @memberof SubscriptionInfo
7013
+ */
7014
+ 'subscriptionPlanName'?: string;
7015
+ /**
7016
+ *
7017
+ * @type {string}
7018
+ * @memberof SubscriptionInfo
7019
+ */
7020
+ 'subscriptionDescription'?: string;
7021
+ /**
7022
+ *
7023
+ * @type {number}
7024
+ * @memberof SubscriptionInfo
7025
+ */
7026
+ 'reducedAmountInCents'?: number;
7027
+ }
6896
7028
  /**
6897
7029
  *
6898
7030
  * @export
@@ -7531,6 +7663,43 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
7531
7663
  */
7532
7664
  'sport': string;
7533
7665
  }
7666
+ /**
7667
+ *
7668
+ * @export
7669
+ * @interface UserBookingsResponse
7670
+ */
7671
+ export interface UserBookingsResponse {
7672
+ /**
7673
+ *
7674
+ * @type {number}
7675
+ * @memberof UserBookingsResponse
7676
+ */
7677
+ 'total': number;
7678
+ /**
7679
+ *
7680
+ * @type {number}
7681
+ * @memberof UserBookingsResponse
7682
+ */
7683
+ 'limit': number;
7684
+ /**
7685
+ *
7686
+ * @type {number}
7687
+ * @memberof UserBookingsResponse
7688
+ */
7689
+ 'skip': number;
7690
+ /**
7691
+ *
7692
+ * @type {boolean}
7693
+ * @memberof UserBookingsResponse
7694
+ */
7695
+ 'hasMore': boolean;
7696
+ /**
7697
+ *
7698
+ * @type {Array<BookingSummary>}
7699
+ * @memberof UserBookingsResponse
7700
+ */
7701
+ 'bookings': Array<BookingSummary>;
7702
+ }
7534
7703
  /**
7535
7704
  *
7536
7705
  * @export
@@ -7794,24 +7963,12 @@ export interface UserProfileResponse {
7794
7963
  * @memberof UserProfileResponse
7795
7964
  */
7796
7965
  'isAccountVerified': boolean;
7797
- /**
7798
- *
7799
- * @type {boolean}
7800
- * @memberof UserProfileResponse
7801
- */
7802
- 'isCreditCardRegistered'?: boolean;
7803
7966
  /**
7804
7967
  *
7805
7968
  * @type {Array<ILevelBySports>}
7806
7969
  * @memberof UserProfileResponse
7807
7970
  */
7808
7971
  'levelBySports'?: Array<ILevelBySports>;
7809
- /**
7810
- *
7811
- * @type {string}
7812
- * @memberof UserProfileResponse
7813
- */
7814
- 'stripeCustomerId'?: string;
7815
7972
  /**
7816
7973
  *
7817
7974
  * @type {string}
@@ -7884,30 +8041,6 @@ export interface UserProfileResponse {
7884
8041
  * @memberof UserProfileResponse
7885
8042
  */
7886
8043
  'isLevelCertified'?: boolean;
7887
- /**
7888
- *
7889
- * @type {Array<string>}
7890
- * @memberof UserProfileResponse
7891
- */
7892
- 'paymentMethods'?: Array<string>;
7893
- /**
7894
- *
7895
- * @type {string}
7896
- * @memberof UserProfileResponse
7897
- */
7898
- 'defaultPaymentMethodId'?: string;
7899
- /**
7900
- *
7901
- * @type {boolean}
7902
- * @memberof UserProfileResponse
7903
- */
7904
- 'paymentMethodSetupCompleted': boolean;
7905
- /**
7906
- *
7907
- * @type {string}
7908
- * @memberof UserProfileResponse
7909
- */
7910
- 'setupIntentId'?: string;
7911
8044
  /**
7912
8045
  *
7913
8046
  * @type {Array<string>}
@@ -7940,6 +8073,12 @@ export interface UserProfileResponse {
7940
8073
  'sports'?: {
7941
8074
  [key: string]: any;
7942
8075
  };
8076
+ /**
8077
+ *
8078
+ * @type {string}
8079
+ * @memberof UserProfileResponse
8080
+ */
8081
+ 'stripeCustomerId'?: string;
7943
8082
  /**
7944
8083
  *
7945
8084
  * @type {number}
@@ -7978,6 +8117,12 @@ export interface UserProfileResponse {
7978
8117
  'stripeLinks'?: {
7979
8118
  [key: string]: any;
7980
8119
  };
8120
+ /**
8121
+ *
8122
+ * @type {Array<SportResponse>}
8123
+ * @memberof UserProfileResponse
8124
+ */
8125
+ 'verifiedSports'?: Array<SportResponse>;
7981
8126
  }
7982
8127
  /**
7983
8128
  *
@@ -8063,6 +8208,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
8063
8208
  * @throws {RequiredError}
8064
8209
  */
8065
8210
  getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8211
+ /**
8212
+ *
8213
+ * @param {BookingPriceBody} bookingPriceBody
8214
+ * @param {*} [options] Override http request option.
8215
+ * @throws {RequiredError}
8216
+ */
8217
+ getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8066
8218
  /**
8067
8219
  * Recherche des créneaux disponibles pour une réservation rapide
8068
8220
  * @param {number} [latitude]
@@ -8073,12 +8225,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
8073
8225
  * @param {string} [startTime]
8074
8226
  * @param {number} [priceMax]
8075
8227
  * @param {string} [courtTypes]
8228
+ * @param {string} [surfaceTypes]
8076
8229
  * @param {number} [limitPerClub]
8077
8230
  * @param {number} [maxClubs]
8078
8231
  * @param {*} [options] Override http request option.
8079
8232
  * @throws {RequiredError}
8080
8233
  */
8081
- getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8234
+ getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8082
8235
  };
8083
8236
  /**
8084
8237
  * BookingsApi - functional programming interface
@@ -8092,6 +8245,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
8092
8245
  * @throws {RequiredError}
8093
8246
  */
8094
8247
  getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
8248
+ /**
8249
+ *
8250
+ * @param {BookingPriceBody} bookingPriceBody
8251
+ * @param {*} [options] Override http request option.
8252
+ * @throws {RequiredError}
8253
+ */
8254
+ getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>>;
8095
8255
  /**
8096
8256
  * Recherche des créneaux disponibles pour une réservation rapide
8097
8257
  * @param {number} [latitude]
@@ -8102,12 +8262,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
8102
8262
  * @param {string} [startTime]
8103
8263
  * @param {number} [priceMax]
8104
8264
  * @param {string} [courtTypes]
8265
+ * @param {string} [surfaceTypes]
8105
8266
  * @param {number} [limitPerClub]
8106
8267
  * @param {number} [maxClubs]
8107
8268
  * @param {*} [options] Override http request option.
8108
8269
  * @throws {RequiredError}
8109
8270
  */
8110
- getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>>;
8271
+ getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, surfaceTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>>;
8111
8272
  };
8112
8273
  /**
8113
8274
  * BookingsApi - factory interface
@@ -8121,6 +8282,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
8121
8282
  * @throws {RequiredError}
8122
8283
  */
8123
8284
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
8285
+ /**
8286
+ *
8287
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8288
+ * @param {*} [options] Override http request option.
8289
+ * @throws {RequiredError}
8290
+ */
8291
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>>;
8124
8292
  /**
8125
8293
  * Recherche des créneaux disponibles pour une réservation rapide
8126
8294
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8142,6 +8310,19 @@ export interface BookingsApiGetBookingHistoryRequest {
8142
8310
  */
8143
8311
  readonly bookingId: string;
8144
8312
  }
8313
+ /**
8314
+ * Request parameters for getBookingPrice operation in BookingsApi.
8315
+ * @export
8316
+ * @interface BookingsApiGetBookingPriceRequest
8317
+ */
8318
+ export interface BookingsApiGetBookingPriceRequest {
8319
+ /**
8320
+ *
8321
+ * @type {BookingPriceBody}
8322
+ * @memberof BookingsApiGetBookingPrice
8323
+ */
8324
+ readonly bookingPriceBody: BookingPriceBody;
8325
+ }
8145
8326
  /**
8146
8327
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
8147
8328
  * @export
@@ -8196,6 +8377,12 @@ export interface BookingsApiGetQuickReservationSlotsRequest {
8196
8377
  * @memberof BookingsApiGetQuickReservationSlots
8197
8378
  */
8198
8379
  readonly courtTypes?: string;
8380
+ /**
8381
+ *
8382
+ * @type {string}
8383
+ * @memberof BookingsApiGetQuickReservationSlots
8384
+ */
8385
+ readonly surfaceTypes?: string;
8199
8386
  /**
8200
8387
  *
8201
8388
  * @type {number}
@@ -8224,6 +8411,14 @@ export declare class BookingsApi extends BaseAPI {
8224
8411
  * @memberof BookingsApi
8225
8412
  */
8226
8413
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
8414
+ /**
8415
+ *
8416
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8417
+ * @param {*} [options] Override http request option.
8418
+ * @throws {RequiredError}
8419
+ * @memberof BookingsApi
8420
+ */
8421
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerPrice[], any, {}>>;
8227
8422
  /**
8228
8423
  * Recherche des créneaux disponibles pour une réservation rapide
8229
8424
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8835,27 +9030,6 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
8835
9030
  * @throws {RequiredError}
8836
9031
  */
8837
9032
  getAnalyticsBySport: (sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8838
- /**
8839
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
8840
- * @param {string} playerId
8841
- * @param {*} [options] Override http request option.
8842
- * @throws {RequiredError}
8843
- */
8844
- getClubPlayerBookingsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8845
- /**
8846
- * Récupère les informations détaillées d\'un joueur par son ID
8847
- * @param {string} playerId
8848
- * @param {*} [options] Override http request option.
8849
- * @throws {RequiredError}
8850
- */
8851
- getClubPlayerById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8852
- /**
8853
- * Récupère les statistiques d\'un joueur pour le staff
8854
- * @param {string} playerId
8855
- * @param {*} [options] Override http request option.
8856
- * @throws {RequiredError}
8857
- */
8858
- getClubPlayerStatisticsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8859
9033
  /**
8860
9034
  * Récupère la liste des joueurs du club
8861
9035
  * @param {*} [options] Override http request option.
@@ -8929,27 +9103,6 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
8929
9103
  * @throws {RequiredError}
8930
9104
  */
8931
9105
  getAnalyticsBySport(sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportAnalyticsResponse>>;
8932
- /**
8933
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
8934
- * @param {string} playerId
8935
- * @param {*} [options] Override http request option.
8936
- * @throws {RequiredError}
8937
- */
8938
- getClubPlayerBookingsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>>;
8939
- /**
8940
- * Récupère les informations détaillées d\'un joueur par son ID
8941
- * @param {string} playerId
8942
- * @param {*} [options] Override http request option.
8943
- * @throws {RequiredError}
8944
- */
8945
- getClubPlayerById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerDetailResponse>>;
8946
- /**
8947
- * Récupère les statistiques d\'un joueur pour le staff
8948
- * @param {string} playerId
8949
- * @param {*} [options] Override http request option.
8950
- * @throws {RequiredError}
8951
- */
8952
- getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>>;
8953
9106
  /**
8954
9107
  * Récupère la liste des joueurs du club
8955
9108
  * @param {*} [options] Override http request option.
@@ -9023,27 +9176,6 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
9023
9176
  * @throws {RequiredError}
9024
9177
  */
9025
9178
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse>;
9026
- /**
9027
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
9028
- * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
9029
- * @param {*} [options] Override http request option.
9030
- * @throws {RequiredError}
9031
- */
9032
- getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse>;
9033
- /**
9034
- * Récupère les informations détaillées d\'un joueur par son ID
9035
- * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
9036
- * @param {*} [options] Override http request option.
9037
- * @throws {RequiredError}
9038
- */
9039
- getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerDetailResponse>;
9040
- /**
9041
- * Récupère les statistiques d\'un joueur pour le staff
9042
- * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
9043
- * @param {*} [options] Override http request option.
9044
- * @throws {RequiredError}
9045
- */
9046
- getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse>;
9047
9179
  /**
9048
9180
  * Récupère la liste des joueurs du club
9049
9181
  * @param {*} [options] Override http request option.
@@ -9116,45 +9248,6 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
9116
9248
  */
9117
9249
  readonly sportId: string;
9118
9250
  }
9119
- /**
9120
- * Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
9121
- * @export
9122
- * @interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest
9123
- */
9124
- export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
9125
- /**
9126
- *
9127
- * @type {string}
9128
- * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
9129
- */
9130
- readonly playerId: string;
9131
- }
9132
- /**
9133
- * Request parameters for getClubPlayerById operation in ClubAnalyticsStaffApi.
9134
- * @export
9135
- * @interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest
9136
- */
9137
- export interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest {
9138
- /**
9139
- *
9140
- * @type {string}
9141
- * @memberof ClubAnalyticsStaffApiGetClubPlayerById
9142
- */
9143
- readonly playerId: string;
9144
- }
9145
- /**
9146
- * Request parameters for getClubPlayerStatisticsById operation in ClubAnalyticsStaffApi.
9147
- * @export
9148
- * @interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest
9149
- */
9150
- export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
9151
- /**
9152
- *
9153
- * @type {string}
9154
- * @memberof ClubAnalyticsStaffApiGetClubPlayerStatisticsById
9155
- */
9156
- readonly playerId: string;
9157
- }
9158
9251
  /**
9159
9252
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
9160
9253
  * @export
@@ -9234,30 +9327,6 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
9234
9327
  * @memberof ClubAnalyticsStaffApi
9235
9328
  */
9236
9329
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportAnalyticsResponse, any, {}>>;
9237
- /**
9238
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
9239
- * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
9240
- * @param {*} [options] Override http request option.
9241
- * @throws {RequiredError}
9242
- * @memberof ClubAnalyticsStaffApi
9243
- */
9244
- getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerBookingsResponse, any, {}>>;
9245
- /**
9246
- * Récupère les informations détaillées d\'un joueur par son ID
9247
- * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
9248
- * @param {*} [options] Override http request option.
9249
- * @throws {RequiredError}
9250
- * @memberof ClubAnalyticsStaffApi
9251
- */
9252
- getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerDetailResponse, any, {}>>;
9253
- /**
9254
- * Récupère les statistiques d\'un joueur pour le staff
9255
- * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
9256
- * @param {*} [options] Override http request option.
9257
- * @throws {RequiredError}
9258
- * @memberof ClubAnalyticsStaffApi
9259
- */
9260
- getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerStatisticsResponse, any, {}>>;
9261
9330
  /**
9262
9331
  * Récupère la liste des joueurs du club
9263
9332
  * @param {*} [options] Override http request option.
@@ -12047,6 +12116,57 @@ export declare class SportsManagerApi extends BaseAPI {
12047
12116
  */
12048
12117
  updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse, any, {}>>;
12049
12118
  }
12119
+ /**
12120
+ * SportsPublicApi - axios parameter creator
12121
+ * @export
12122
+ */
12123
+ export declare const SportsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
12124
+ /**
12125
+ * Récupère tous les sports vérifiés, accessibles publiquement
12126
+ * @param {*} [options] Override http request option.
12127
+ * @throws {RequiredError}
12128
+ */
12129
+ getVerifiedSports: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12130
+ };
12131
+ /**
12132
+ * SportsPublicApi - functional programming interface
12133
+ * @export
12134
+ */
12135
+ export declare const SportsPublicApiFp: (configuration?: Configuration) => {
12136
+ /**
12137
+ * Récupère tous les sports vérifiés, accessibles publiquement
12138
+ * @param {*} [options] Override http request option.
12139
+ * @throws {RequiredError}
12140
+ */
12141
+ getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>>;
12142
+ };
12143
+ /**
12144
+ * SportsPublicApi - factory interface
12145
+ * @export
12146
+ */
12147
+ export declare const SportsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12148
+ /**
12149
+ * Récupère tous les sports vérifiés, accessibles publiquement
12150
+ * @param {*} [options] Override http request option.
12151
+ * @throws {RequiredError}
12152
+ */
12153
+ getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>>;
12154
+ };
12155
+ /**
12156
+ * SportsPublicApi - object-oriented interface
12157
+ * @export
12158
+ * @class SportsPublicApi
12159
+ * @extends {BaseAPI}
12160
+ */
12161
+ export declare class SportsPublicApi extends BaseAPI {
12162
+ /**
12163
+ * Récupère tous les sports vérifiés, accessibles publiquement
12164
+ * @param {*} [options] Override http request option.
12165
+ * @throws {RequiredError}
12166
+ * @memberof SportsPublicApi
12167
+ */
12168
+ getVerifiedSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse[], any, {}>>;
12169
+ }
12050
12170
  /**
12051
12171
  * SportsStaffApi - axios parameter creator
12052
12172
  * @export
@@ -12588,13 +12708,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12588
12708
  * @throws {RequiredError}
12589
12709
  */
12590
12710
  addOrganization: (addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12591
- /**
12592
- *
12593
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
12594
- * @param {*} [options] Override http request option.
12595
- * @throws {RequiredError}
12596
- */
12597
- addPaymentMethodSetup: (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12598
12711
  /**
12599
12712
  *
12600
12713
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -12602,13 +12715,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12602
12715
  * @throws {RequiredError}
12603
12716
  */
12604
12717
  changePassword: (changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12605
- /**
12606
- *
12607
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
12608
- * @param {*} [options] Override http request option.
12609
- * @throws {RequiredError}
12610
- */
12611
- confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12612
12718
  /**
12613
12719
  *
12614
12720
  * @param {*} [options] Override http request option.
@@ -12787,13 +12893,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12787
12893
  * @throws {RequiredError}
12788
12894
  */
12789
12895
  resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12790
- /**
12791
- *
12792
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
12793
- * @param {*} [options] Override http request option.
12794
- * @throws {RequiredError}
12795
- */
12796
- setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12797
12896
  /**
12798
12897
  *
12799
12898
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -12870,13 +12969,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12870
12969
  * @throws {RequiredError}
12871
12970
  */
12872
12971
  addOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
12873
- /**
12874
- *
12875
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
12876
- * @param {*} [options] Override http request option.
12877
- * @throws {RequiredError}
12878
- */
12879
- addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>>;
12880
12972
  /**
12881
12973
  *
12882
12974
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -12884,13 +12976,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12884
12976
  * @throws {RequiredError}
12885
12977
  */
12886
12978
  changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>>;
12887
- /**
12888
- *
12889
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
12890
- * @param {*} [options] Override http request option.
12891
- * @throws {RequiredError}
12892
- */
12893
- confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>>;
12894
12979
  /**
12895
12980
  *
12896
12981
  * @param {*} [options] Override http request option.
@@ -12991,7 +13076,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12991
13076
  * @param {*} [options] Override http request option.
12992
13077
  * @throws {RequiredError}
12993
13078
  */
12994
- getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingSummary>>>;
13079
+ getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
12995
13080
  /**
12996
13081
  *
12997
13082
  * @param {string} id
@@ -13077,13 +13162,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
13077
13162
  * @throws {RequiredError}
13078
13163
  */
13079
13164
  resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
13080
- /**
13081
- *
13082
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
13083
- * @param {*} [options] Override http request option.
13084
- * @throws {RequiredError}
13085
- */
13086
- setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>>;
13087
13165
  /**
13088
13166
  *
13089
13167
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -13160,13 +13238,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13160
13238
  * @throws {RequiredError}
13161
13239
  */
13162
13240
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
13163
- /**
13164
- *
13165
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
13166
- * @param {*} [options] Override http request option.
13167
- * @throws {RequiredError}
13168
- */
13169
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse>;
13170
13241
  /**
13171
13242
  *
13172
13243
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -13174,13 +13245,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13174
13245
  * @throws {RequiredError}
13175
13246
  */
13176
13247
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse>;
13177
- /**
13178
- *
13179
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
13180
- * @param {*} [options] Override http request option.
13181
- * @throws {RequiredError}
13182
- */
13183
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse>;
13184
13248
  /**
13185
13249
  *
13186
13250
  * @param {*} [options] Override http request option.
@@ -13272,7 +13336,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13272
13336
  * @param {*} [options] Override http request option.
13273
13337
  * @throws {RequiredError}
13274
13338
  */
13275
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingSummary>>;
13339
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse>;
13276
13340
  /**
13277
13341
  *
13278
13342
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -13349,13 +13413,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13349
13413
  * @throws {RequiredError}
13350
13414
  */
13351
13415
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
13352
- /**
13353
- *
13354
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
13355
- * @param {*} [options] Override http request option.
13356
- * @throws {RequiredError}
13357
- */
13358
- setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse>;
13359
13416
  /**
13360
13417
  *
13361
13418
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -13445,19 +13502,6 @@ export interface UsersApiAddOrganizationRequest {
13445
13502
  */
13446
13503
  readonly addOrganizationRequest: AddOrganizationRequest;
13447
13504
  }
13448
- /**
13449
- * Request parameters for addPaymentMethodSetup operation in UsersApi.
13450
- * @export
13451
- * @interface UsersApiAddPaymentMethodSetupRequest
13452
- */
13453
- export interface UsersApiAddPaymentMethodSetupRequest {
13454
- /**
13455
- *
13456
- * @type {AddPaymentMethodRequestBody}
13457
- * @memberof UsersApiAddPaymentMethodSetup
13458
- */
13459
- readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody;
13460
- }
13461
13505
  /**
13462
13506
  * Request parameters for changePassword operation in UsersApi.
13463
13507
  * @export
@@ -13471,19 +13515,6 @@ export interface UsersApiChangePasswordRequest {
13471
13515
  */
13472
13516
  readonly changePasswordRequestBody: ChangePasswordRequestBody;
13473
13517
  }
13474
- /**
13475
- * Request parameters for confirmPaymentMethodSetup operation in UsersApi.
13476
- * @export
13477
- * @interface UsersApiConfirmPaymentMethodSetupRequest
13478
- */
13479
- export interface UsersApiConfirmPaymentMethodSetupRequest {
13480
- /**
13481
- *
13482
- * @type {ConfirmPaymentMethodRequestBody}
13483
- * @memberof UsersApiConfirmPaymentMethodSetup
13484
- */
13485
- readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody;
13486
- }
13487
13518
  /**
13488
13519
  * Request parameters for getBookingDetail operation in UsersApi.
13489
13520
  * @export
@@ -13800,19 +13831,6 @@ export interface UsersApiResetPasswordRequest {
13800
13831
  */
13801
13832
  readonly resetPasswordRequest: ResetPasswordRequest;
13802
13833
  }
13803
- /**
13804
- * Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
13805
- * @export
13806
- * @interface UsersApiSetupOffSessionPaymentMethodRequest
13807
- */
13808
- export interface UsersApiSetupOffSessionPaymentMethodRequest {
13809
- /**
13810
- *
13811
- * @type {SetupPaymentMethodRequestBody}
13812
- * @memberof UsersApiSetupOffSessionPaymentMethod
13813
- */
13814
- readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody;
13815
- }
13816
13834
  /**
13817
13835
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
13818
13836
  * @export
@@ -13935,14 +13953,6 @@ export declare class UsersApi extends BaseAPI {
13935
13953
  * @memberof UsersApi
13936
13954
  */
13937
13955
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
13938
- /**
13939
- *
13940
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
13941
- * @param {*} [options] Override http request option.
13942
- * @throws {RequiredError}
13943
- * @memberof UsersApi
13944
- */
13945
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodSetupResponse, any, {}>>;
13946
13956
  /**
13947
13957
  *
13948
13958
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -13951,14 +13961,6 @@ export declare class UsersApi extends BaseAPI {
13951
13961
  * @memberof UsersApi
13952
13962
  */
13953
13963
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any, {}>>;
13954
- /**
13955
- *
13956
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
13957
- * @param {*} [options] Override http request option.
13958
- * @throws {RequiredError}
13959
- * @memberof UsersApi
13960
- */
13961
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentMethodResponse, any, {}>>;
13962
13964
  /**
13963
13965
  *
13964
13966
  * @param {*} [options] Override http request option.
@@ -14063,7 +14065,7 @@ export declare class UsersApi extends BaseAPI {
14063
14065
  * @throws {RequiredError}
14064
14066
  * @memberof UsersApi
14065
14067
  */
14066
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary[], any, {}>>;
14068
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingsResponse, any, {}>>;
14067
14069
  /**
14068
14070
  *
14069
14071
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -14151,14 +14153,6 @@ export declare class UsersApi extends BaseAPI {
14151
14153
  * @memberof UsersApi
14152
14154
  */
14153
14155
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
14154
- /**
14155
- *
14156
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
14157
- * @param {*} [options] Override http request option.
14158
- * @throws {RequiredError}
14159
- * @memberof UsersApi
14160
- */
14161
- setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupPaymentMethodResponse, any, {}>>;
14162
14156
  /**
14163
14157
  *
14164
14158
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.