@tennac-booking/sdk 1.0.76 → 1.0.79

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 (44) hide show
  1. package/.openapi-generator/FILES +6 -16
  2. package/README.md +6 -22
  3. package/api.ts +504 -1246
  4. package/dist/api.d.ts +319 -898
  5. package/dist/api.js +161 -395
  6. package/dist/esm/api.d.ts +319 -898
  7. package/dist/esm/api.js +156 -394
  8. package/docs/BookingInfo.md +2 -2
  9. package/docs/BookingPopulated.md +2 -0
  10. package/docs/{AddPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  11. package/docs/BookingResponse.md +2 -0
  12. package/docs/BookingsApi.md +52 -0
  13. package/docs/ClubAnalyticsStaffApi.md +0 -167
  14. package/docs/ClubResponse.md +8 -0
  15. package/docs/ClubSettingsResponse.md +0 -2
  16. package/docs/CreateBookingRequest.md +2 -2
  17. package/docs/CreateEventRequest.md +0 -2
  18. package/docs/IUserAttributes.md +2 -12
  19. package/docs/PartialClubResponse.md +8 -0
  20. package/docs/PlayerPrice.md +30 -0
  21. package/docs/{SetupPaymentMethodRequestBody.md → QuickReservationClubSport.md} +7 -5
  22. package/docs/QuickReservationClubSummary.md +4 -0
  23. package/docs/SlotInfo.md +2 -2
  24. package/docs/SportsPublicApi.md +53 -0
  25. package/docs/StaffUserProfileResponse.md +2 -12
  26. package/docs/SubscribeRequestBody.md +2 -0
  27. package/docs/SubscriptionInfo.md +24 -0
  28. package/docs/UserProfileResponse.md +4 -12
  29. package/docs/UsersApi.md +0 -156
  30. package/package.json +1 -1
  31. package/docs/ClubPlayerBookingItem.md +0 -36
  32. package/docs/ClubPlayerBookingsResponse.md +0 -22
  33. package/docs/ClubPlayerDetailResponse.md +0 -46
  34. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  35. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  36. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  37. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  38. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  39. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  40. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  41. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  42. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  43. package/docs/PaymentMethodSetupResponse.md +0 -24
  44. package/docs/SetupPaymentMethodResponse.md +0 -24
package/dist/api.d.ts CHANGED
@@ -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
@@ -348,10 +335,10 @@ export interface BookingInfo {
348
335
  'totalPrice': number;
349
336
  /**
350
337
  * ID du créneau
351
- * @type {string}
338
+ * @type {Array<string>}
352
339
  * @memberof BookingInfo
353
340
  */
354
- 'slotId': string;
341
+ 'slotIds': Array<string>;
355
342
  /**
356
343
  * Indique si le créateur paie pour tous
357
344
  * @type {boolean}
@@ -560,6 +547,12 @@ export interface BookingPopulated {
560
547
  * @memberof BookingPopulated
561
548
  */
562
549
  'isCreatorPayingAll': boolean;
550
+ /**
551
+ *
552
+ * @type {Array<string>}
553
+ * @memberof BookingPopulated
554
+ */
555
+ 'playersIds': Array<string>;
563
556
  /**
564
557
  *
565
558
  * @type {Array<BookingHistoryPopulated>}
@@ -591,6 +584,25 @@ export interface BookingPopulated {
591
584
  */
592
585
  'cancellationReason'?: string;
593
586
  }
587
+ /**
588
+ *
589
+ * @export
590
+ * @interface BookingPriceBody
591
+ */
592
+ export interface BookingPriceBody {
593
+ /**
594
+ *
595
+ * @type {Array<string>}
596
+ * @memberof BookingPriceBody
597
+ */
598
+ 'slotIds': Array<string>;
599
+ /**
600
+ *
601
+ * @type {Array<string>}
602
+ * @memberof BookingPriceBody
603
+ */
604
+ 'players': Array<string>;
605
+ }
594
606
  /**
595
607
  *
596
608
  * @export
@@ -623,6 +635,12 @@ export interface BookingResponse {
623
635
  * @memberof BookingResponse
624
636
  */
625
637
  'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
638
+ /**
639
+ *
640
+ * @type {string}
641
+ * @memberof BookingResponse
642
+ */
643
+ 'setupNoShowPaymentUrl'?: string;
626
644
  /**
627
645
  * Message de confirmation
628
646
  * @type {string}
@@ -1003,196 +1021,6 @@ export interface ClubMemberResponseUser {
1003
1021
  */
1004
1022
  'id': string;
1005
1023
  }
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
1024
  /**
1197
1025
  *
1198
1026
  * @export
@@ -1254,216 +1082,6 @@ export interface ClubPlayerResponse {
1254
1082
  */
1255
1083
  'isSubscribedToClub': boolean;
1256
1084
  }
1257
- /**
1258
- *
1259
- * @export
1260
- * @interface ClubPlayerStatisticsResponse
1261
- */
1262
- export interface ClubPlayerStatisticsResponse {
1263
- /**
1264
- * Nombre total de réservations (tous clubs confondus)
1265
- * @type {number}
1266
- * @memberof ClubPlayerStatisticsResponse
1267
- */
1268
- 'totalBookings': number;
1269
- /**
1270
- * Nombre total de réservations dans le club courant
1271
- * @type {number}
1272
- * @memberof ClubPlayerStatisticsResponse
1273
- */
1274
- 'totalBookingsInMyClub': number;
1275
- /**
1276
- * Somme totale dépensée dans le club courant (centimes)
1277
- * @type {number}
1278
- * @memberof ClubPlayerStatisticsResponse
1279
- */
1280
- 'totalSpentAmount': number;
1281
- /**
1282
- * Sport le plus pratiqué dans le club courant
1283
- * @type {string}
1284
- * @memberof ClubPlayerStatisticsResponse
1285
- */
1286
- 'favoriteSport': string | null;
1287
- /**
1288
- * Temps moyen entre la réservation et le début du créneau (heures)
1289
- * @type {number}
1290
- * @memberof ClubPlayerStatisticsResponse
1291
- */
1292
- 'averageBookingLeadTimeHours': number | null;
1293
- /**
1294
- * Taux d\'annulation dans le club courant (0-1)
1295
- * @type {number}
1296
- * @memberof ClubPlayerStatisticsResponse
1297
- */
1298
- 'bookingCancellationRate': number;
1299
- /**
1300
- * Nombre d\'abonnements actifs au club courant
1301
- * @type {number}
1302
- * @memberof ClubPlayerStatisticsResponse
1303
- */
1304
- 'activeSubscriptionsToMyClub': number;
1305
- /**
1306
- * Heure de créneau favorite dans le club courant (format HH:00)
1307
- * @type {string}
1308
- * @memberof ClubPlayerStatisticsResponse
1309
- */
1310
- 'favoriteTimeSlot': string | null;
1311
- /**
1312
- *
1313
- * @type {ClubPlayerStatisticsResponseFavoriteClub}
1314
- * @memberof ClubPlayerStatisticsResponse
1315
- */
1316
- 'favoriteClub': ClubPlayerStatisticsResponseFavoriteClub | null;
1317
- /**
1318
- *
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
1327
- */
1328
- 'bookingAmountEvolutionThisMonth': Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>;
1329
- /**
1330
- * Joueurs les plus joués dans le club courant
1331
- * @type {Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>}
1332
- * @memberof ClubPlayerStatisticsResponse
1333
- */
1334
- 'mostPlayedPartners': Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>;
1335
- }
1336
- /**
1337
- *
1338
- * @export
1339
- * @interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1340
- */
1341
- export interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner {
1342
- /**
1343
- *
1344
- * @type {number}
1345
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1346
- */
1347
- 'amount': number;
1348
- /**
1349
- *
1350
- * @type {number}
1351
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1352
- */
1353
- 'day': number;
1354
- }
1355
- /**
1356
- * Club favori selon le profil utilisateur
1357
- * @export
1358
- * @interface ClubPlayerStatisticsResponseFavoriteClub
1359
- */
1360
- export interface ClubPlayerStatisticsResponseFavoriteClub {
1361
- /**
1362
- *
1363
- * @type {string}
1364
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1365
- */
1366
- 'name': string | null;
1367
- /**
1368
- *
1369
- * @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
1384
- */
1385
- 'bookingsCount': number;
1386
- /**
1387
- *
1388
- * @type {string}
1389
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1390
- */
1391
- 'name': string | null;
1392
- /**
1393
- *
1394
- * @type {string}
1395
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1396
- */
1397
- 'clubId': string;
1398
- }
1399
- /**
1400
- *
1401
- * @export
1402
- * @interface ClubPlayerStatisticsResponseMostPlayedPartnersInner
1403
- */
1404
- export interface ClubPlayerStatisticsResponseMostPlayedPartnersInner {
1405
- /**
1406
- *
1407
- * @type {number}
1408
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1409
- */
1410
- 'bookingsTogether': number;
1411
- /**
1412
- *
1413
- * @type {string}
1414
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1415
- */
1416
- 'lastName': string | null;
1417
- /**
1418
- *
1419
- * @type {string}
1420
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1421
- */
1422
- 'firstName': string | null;
1423
- /**
1424
- *
1425
- * @type {string}
1426
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1427
- */
1428
- 'userId': string;
1429
- }
1430
- /**
1431
- *
1432
- * @export
1433
- * @interface ClubPlayerSubscriptionSummary
1434
- */
1435
- export interface ClubPlayerSubscriptionSummary {
1436
- /**
1437
- * ID du plan d\'abonnement
1438
- * @type {string}
1439
- * @memberof ClubPlayerSubscriptionSummary
1440
- */
1441
- 'id': string;
1442
- /**
1443
- * Nom du plan
1444
- * @type {string}
1445
- * @memberof ClubPlayerSubscriptionSummary
1446
- */
1447
- 'name': string | null;
1448
- /**
1449
- * Montant en centimes
1450
- * @type {number}
1451
- * @memberof ClubPlayerSubscriptionSummary
1452
- */
1453
- 'amountInCents': number | null;
1454
- /**
1455
- * Devise
1456
- * @type {string}
1457
- * @memberof ClubPlayerSubscriptionSummary
1458
- */
1459
- 'currency': string | null;
1460
- /**
1461
- * Intervalle de facturation
1462
- * @type {string}
1463
- * @memberof ClubPlayerSubscriptionSummary
1464
- */
1465
- 'interval': string | null;
1466
- }
1467
1085
  /**
1468
1086
  *
1469
1087
  * @export
@@ -1554,6 +1172,30 @@ export interface ClubResponse {
1554
1172
  * @memberof ClubResponse
1555
1173
  */
1556
1174
  'sports'?: Array<string>;
1175
+ /**
1176
+ * Autoriser plusieurs réservations en même temps
1177
+ * @type {boolean}
1178
+ * @memberof ClubResponse
1179
+ */
1180
+ 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1181
+ /**
1182
+ * Limite de réservations simultanées (même créneau)
1183
+ * @type {number}
1184
+ * @memberof ClubResponse
1185
+ */
1186
+ 'sameTimeBookingsLimit'?: number | null;
1187
+ /**
1188
+ * Limite d\'annulation en heures
1189
+ * @type {number}
1190
+ * @memberof ClubResponse
1191
+ */
1192
+ 'cancellationLimitHours'?: number | null;
1193
+ /**
1194
+ * Nombre maximum de réservations par semaine
1195
+ * @type {number}
1196
+ * @memberof ClubResponse
1197
+ */
1198
+ 'maxWeeklyBookings'?: number | null;
1557
1199
  /**
1558
1200
  *
1559
1201
  * @type {ClubResponseCreatedAt}
@@ -1716,12 +1358,6 @@ export interface ClubSettingsResponse {
1716
1358
  * @memberof ClubSettingsResponse
1717
1359
  */
1718
1360
  'maxWeeklyBookings': number;
1719
- /**
1720
- * Autoriser plusieurs réservations en même temps
1721
- * @type {boolean}
1722
- * @memberof ClubSettingsResponse
1723
- */
1724
- 'allowMultipleBookingsAtTheSameTime': boolean;
1725
1361
  /**
1726
1362
  * Limite de réservations simultanées
1727
1363
  * @type {number}
@@ -1825,58 +1461,26 @@ export interface ClubSummary {
1825
1461
  * @type {UserLocationSummary}
1826
1462
  * @memberof ClubSummary
1827
1463
  */
1828
- 'location': UserLocationSummary | null;
1829
- /**
1830
- *
1831
- * @type {number}
1832
- * @memberof ClubSummary
1833
- */
1834
- 'visitCount'?: number;
1835
- }
1836
- /**
1837
- *
1838
- * @export
1839
- * @interface ClubUserCountResponse
1840
- */
1841
- export interface ClubUserCountResponse {
1842
- /**
1843
- * Nombre d\'utilisateurs du club
1844
- * @type {number}
1845
- * @memberof ClubUserCountResponse
1846
- */
1847
- 'count': number;
1848
- }
1849
- /**
1850
- *
1851
- * @export
1852
- * @interface ConfirmPaymentMethodRequestBody
1853
- */
1854
- export interface ConfirmPaymentMethodRequestBody {
1464
+ 'location': UserLocationSummary | null;
1855
1465
  /**
1856
1466
  *
1857
- * @type {string}
1858
- * @memberof ConfirmPaymentMethodRequestBody
1467
+ * @type {number}
1468
+ * @memberof ClubSummary
1859
1469
  */
1860
- 'setupIntentId': string;
1470
+ 'visitCount'?: number;
1861
1471
  }
1862
1472
  /**
1863
1473
  *
1864
1474
  * @export
1865
- * @interface ConfirmPaymentMethodResponse
1475
+ * @interface ClubUserCountResponse
1866
1476
  */
1867
- export interface ConfirmPaymentMethodResponse {
1868
- /**
1869
- *
1870
- * @type {string}
1871
- * @memberof ConfirmPaymentMethodResponse
1872
- */
1873
- 'message': string;
1477
+ export interface ClubUserCountResponse {
1874
1478
  /**
1875
- *
1876
- * @type {string}
1877
- * @memberof ConfirmPaymentMethodResponse
1479
+ * Nombre d\'utilisateurs du club
1480
+ * @type {number}
1481
+ * @memberof ClubUserCountResponse
1878
1482
  */
1879
- 'paymentMethodId'?: string | null;
1483
+ 'count': number;
1880
1484
  }
1881
1485
  /**
1882
1486
  *
@@ -2036,10 +1640,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
2036
1640
  export interface CreateBookingRequest {
2037
1641
  /**
2038
1642
  * ID du créneau à réserver
2039
- * @type {string}
1643
+ * @type {Array<string>}
2040
1644
  * @memberof CreateBookingRequest
2041
1645
  */
2042
- 'slotId': string;
1646
+ 'slotIds': Array<string>;
2043
1647
  /**
2044
1648
  * Liste des joueurs avec leurs méthodes de paiement
2045
1649
  * @type {Array<PlayerWithPaymentMethod>}
@@ -2346,12 +1950,6 @@ export interface CreateEventRequest {
2346
1950
  * @memberof CreateEventRequest
2347
1951
  */
2348
1952
  'subscriberPrices'?: Array<SubscriberPrice>;
2349
- /**
2350
- *
2351
- * @type {Array<number>}
2352
- * @memberof CreateEventRequest
2353
- */
2354
- 'levels'?: Array<number>;
2355
1953
  /**
2356
1954
  *
2357
1955
  * @type {string}
@@ -3468,24 +3066,12 @@ export interface IUserAttributes {
3468
3066
  * @memberof IUserAttributes
3469
3067
  */
3470
3068
  'isAccountVerified': boolean;
3471
- /**
3472
- *
3473
- * @type {boolean}
3474
- * @memberof IUserAttributes
3475
- */
3476
- 'isCreditCardRegistered'?: boolean;
3477
3069
  /**
3478
3070
  *
3479
3071
  * @type {Array<ILevelBySports>}
3480
3072
  * @memberof IUserAttributes
3481
3073
  */
3482
3074
  'levelBySports'?: Array<ILevelBySports>;
3483
- /**
3484
- *
3485
- * @type {string}
3486
- * @memberof IUserAttributes
3487
- */
3488
- 'stripeCustomerId'?: string;
3489
3075
  /**
3490
3076
  *
3491
3077
  * @type {string}
@@ -3558,30 +3144,6 @@ export interface IUserAttributes {
3558
3144
  * @memberof IUserAttributes
3559
3145
  */
3560
3146
  'isLevelCertified'?: boolean;
3561
- /**
3562
- *
3563
- * @type {Array<string>}
3564
- * @memberof IUserAttributes
3565
- */
3566
- 'paymentMethods'?: Array<string>;
3567
- /**
3568
- *
3569
- * @type {string}
3570
- * @memberof IUserAttributes
3571
- */
3572
- 'defaultPaymentMethodId'?: string;
3573
- /**
3574
- *
3575
- * @type {boolean}
3576
- * @memberof IUserAttributes
3577
- */
3578
- 'paymentMethodSetupCompleted': boolean;
3579
- /**
3580
- *
3581
- * @type {string}
3582
- * @memberof IUserAttributes
3583
- */
3584
- 'setupIntentId'?: string;
3585
3147
  /**
3586
3148
  *
3587
3149
  * @type {Array<string>}
@@ -3614,6 +3176,12 @@ export interface IUserAttributes {
3614
3176
  'sports'?: {
3615
3177
  [key: string]: any;
3616
3178
  };
3179
+ /**
3180
+ *
3181
+ * @type {string}
3182
+ * @memberof IUserAttributes
3183
+ */
3184
+ 'stripeCustomerId'?: string;
3617
3185
  }
3618
3186
  /**
3619
3187
  *
@@ -4160,6 +3728,30 @@ export interface PartialClubResponse {
4160
3728
  * @memberof PartialClubResponse
4161
3729
  */
4162
3730
  'sports'?: Array<string>;
3731
+ /**
3732
+ * Autoriser plusieurs réservations en même temps
3733
+ * @type {boolean}
3734
+ * @memberof PartialClubResponse
3735
+ */
3736
+ 'allowMultipleBookingsAtTheSameTime'?: boolean;
3737
+ /**
3738
+ * Limite de réservations simultanées (même créneau)
3739
+ * @type {number}
3740
+ * @memberof PartialClubResponse
3741
+ */
3742
+ 'sameTimeBookingsLimit'?: number;
3743
+ /**
3744
+ * Limite d\'annulation en heures
3745
+ * @type {number}
3746
+ * @memberof PartialClubResponse
3747
+ */
3748
+ 'cancellationLimitHours'?: number;
3749
+ /**
3750
+ * Nombre maximum de réservations par semaine
3751
+ * @type {number}
3752
+ * @memberof PartialClubResponse
3753
+ */
3754
+ 'maxWeeklyBookings'?: number;
4163
3755
  /**
4164
3756
  *
4165
3757
  * @type {ClubResponseCreatedAt}
@@ -4216,31 +3808,6 @@ export declare const PaymentMethod: {
4216
3808
  readonly Free: "free";
4217
3809
  };
4218
3810
  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
3811
  /**
4245
3812
  * From T, pick a set of properties whose keys are in the union K
4246
3813
  * @export
@@ -4485,6 +4052,49 @@ export interface PlayerPaymentInfo {
4485
4052
  */
4486
4053
  'needsCheckIn': boolean;
4487
4054
  }
4055
+ /**
4056
+ *
4057
+ * @export
4058
+ * @interface PlayerPrice
4059
+ */
4060
+ export interface PlayerPrice {
4061
+ /**
4062
+ *
4063
+ * @type {string}
4064
+ * @memberof PlayerPrice
4065
+ */
4066
+ 'playerId': string;
4067
+ /**
4068
+ *
4069
+ * @type {string}
4070
+ * @memberof PlayerPrice
4071
+ */
4072
+ 'firstName'?: string;
4073
+ /**
4074
+ *
4075
+ * @type {string}
4076
+ * @memberof PlayerPrice
4077
+ */
4078
+ 'lastName'?: string;
4079
+ /**
4080
+ *
4081
+ * @type {Array<SubscriptionInfo>}
4082
+ * @memberof PlayerPrice
4083
+ */
4084
+ 'subscriptions': Array<SubscriptionInfo>;
4085
+ /**
4086
+ *
4087
+ * @type {number}
4088
+ * @memberof PlayerPrice
4089
+ */
4090
+ 'creditAvailablesInCents'?: number;
4091
+ /**
4092
+ *
4093
+ * @type {number}
4094
+ * @memberof PlayerPrice
4095
+ */
4096
+ 'price': number;
4097
+ }
4488
4098
  /**
4489
4099
  *
4490
4100
  * @export
@@ -4750,6 +4360,25 @@ export interface PublishEventResponse {
4750
4360
  */
4751
4361
  'event': EventResponse;
4752
4362
  }
4363
+ /**
4364
+ *
4365
+ * @export
4366
+ * @interface QuickReservationClubSport
4367
+ */
4368
+ export interface QuickReservationClubSport {
4369
+ /**
4370
+ * ID du sport
4371
+ * @type {string}
4372
+ * @memberof QuickReservationClubSport
4373
+ */
4374
+ 'id': string;
4375
+ /**
4376
+ * Clé du sport
4377
+ * @type {string}
4378
+ * @memberof QuickReservationClubSport
4379
+ */
4380
+ 'key'?: string;
4381
+ }
4753
4382
  /**
4754
4383
  *
4755
4384
  * @export
@@ -4768,6 +4397,12 @@ export interface QuickReservationClubSummary {
4768
4397
  * @memberof QuickReservationClubSummary
4769
4398
  */
4770
4399
  'clubName': string;
4400
+ /**
4401
+ * Description du club
4402
+ * @type {string}
4403
+ * @memberof QuickReservationClubSummary
4404
+ */
4405
+ 'description'?: string;
4771
4406
  /**
4772
4407
  * Distance par rapport à la recherche, en mètres
4773
4408
  * @type {number}
@@ -4786,6 +4421,12 @@ export interface QuickReservationClubSummary {
4786
4421
  * @memberof QuickReservationClubSummary
4787
4422
  */
4788
4423
  'slots': Array<QuickReservationSlotSummary>;
4424
+ /**
4425
+ * Sports disponibles dans le club
4426
+ * @type {Array<QuickReservationClubSport>}
4427
+ * @memberof QuickReservationClubSummary
4428
+ */
4429
+ 'sports'?: Array<QuickReservationClubSport>;
4789
4430
  }
4790
4431
  /**
4791
4432
  * Localisation du club
@@ -5176,44 +4817,6 @@ export interface ResetPasswordRequest {
5176
4817
  */
5177
4818
  'token'?: string;
5178
4819
  }
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
4820
  /**
5218
4821
  *
5219
4822
  * @export
@@ -5243,7 +4846,7 @@ export interface SlotInfo {
5243
4846
  * @type {CourtInfo}
5244
4847
  * @memberof SlotInfo
5245
4848
  */
5246
- 'court': CourtInfo;
4849
+ 'courtId': CourtInfo;
5247
4850
  }
5248
4851
  /**
5249
4852
  *
@@ -5484,24 +5087,12 @@ export interface StaffUserProfileResponse {
5484
5087
  * @memberof StaffUserProfileResponse
5485
5088
  */
5486
5089
  'isAccountVerified': boolean;
5487
- /**
5488
- *
5489
- * @type {boolean}
5490
- * @memberof StaffUserProfileResponse
5491
- */
5492
- 'isCreditCardRegistered'?: boolean;
5493
5090
  /**
5494
5091
  *
5495
5092
  * @type {Array<ILevelBySports>}
5496
5093
  * @memberof StaffUserProfileResponse
5497
5094
  */
5498
5095
  'levelBySports'?: Array<ILevelBySports>;
5499
- /**
5500
- *
5501
- * @type {string}
5502
- * @memberof StaffUserProfileResponse
5503
- */
5504
- 'stripeCustomerId'?: string;
5505
5096
  /**
5506
5097
  *
5507
5098
  * @type {string}
@@ -5574,30 +5165,6 @@ export interface StaffUserProfileResponse {
5574
5165
  * @memberof StaffUserProfileResponse
5575
5166
  */
5576
5167
  '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
5168
  /**
5602
5169
  *
5603
5170
  * @type {Array<string>}
@@ -5630,6 +5197,12 @@ export interface StaffUserProfileResponse {
5630
5197
  'sports'?: {
5631
5198
  [key: string]: any;
5632
5199
  };
5200
+ /**
5201
+ *
5202
+ * @type {string}
5203
+ * @memberof StaffUserProfileResponse
5204
+ */
5205
+ 'stripeCustomerId'?: string;
5633
5206
  /**
5634
5207
  *
5635
5208
  * @type {boolean}
@@ -6873,6 +6446,12 @@ export interface SubscribeRequestBody {
6873
6446
  * @memberof SubscribeRequestBody
6874
6447
  */
6875
6448
  'priceId': string;
6449
+ /**
6450
+ *
6451
+ * @type {boolean}
6452
+ * @memberof SubscribeRequestBody
6453
+ */
6454
+ 'useDefaultPaymentMethod'?: boolean;
6876
6455
  }
6877
6456
  /**
6878
6457
  *
@@ -6893,6 +6472,31 @@ export interface SubscriberPrice {
6893
6472
  */
6894
6473
  'amount': number;
6895
6474
  }
6475
+ /**
6476
+ *
6477
+ * @export
6478
+ * @interface SubscriptionInfo
6479
+ */
6480
+ export interface SubscriptionInfo {
6481
+ /**
6482
+ *
6483
+ * @type {string}
6484
+ * @memberof SubscriptionInfo
6485
+ */
6486
+ 'subscriptionPlanName'?: string;
6487
+ /**
6488
+ *
6489
+ * @type {string}
6490
+ * @memberof SubscriptionInfo
6491
+ */
6492
+ 'subscriptionDescription'?: string;
6493
+ /**
6494
+ *
6495
+ * @type {number}
6496
+ * @memberof SubscriptionInfo
6497
+ */
6498
+ 'reducedAmountInCents'?: number;
6499
+ }
6896
6500
  /**
6897
6501
  *
6898
6502
  * @export
@@ -7793,25 +7397,13 @@ export interface UserProfileResponse {
7793
7397
  * @type {boolean}
7794
7398
  * @memberof UserProfileResponse
7795
7399
  */
7796
- 'isAccountVerified': boolean;
7797
- /**
7798
- *
7799
- * @type {boolean}
7800
- * @memberof UserProfileResponse
7801
- */
7802
- 'isCreditCardRegistered'?: boolean;
7803
- /**
7804
- *
7805
- * @type {Array<ILevelBySports>}
7806
- * @memberof UserProfileResponse
7807
- */
7808
- 'levelBySports'?: Array<ILevelBySports>;
7400
+ 'isAccountVerified': boolean;
7809
7401
  /**
7810
7402
  *
7811
- * @type {string}
7403
+ * @type {Array<ILevelBySports>}
7812
7404
  * @memberof UserProfileResponse
7813
7405
  */
7814
- 'stripeCustomerId'?: string;
7406
+ 'levelBySports'?: Array<ILevelBySports>;
7815
7407
  /**
7816
7408
  *
7817
7409
  * @type {string}
@@ -7884,30 +7476,6 @@ export interface UserProfileResponse {
7884
7476
  * @memberof UserProfileResponse
7885
7477
  */
7886
7478
  '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
7479
  /**
7912
7480
  *
7913
7481
  * @type {Array<string>}
@@ -7940,6 +7508,12 @@ export interface UserProfileResponse {
7940
7508
  'sports'?: {
7941
7509
  [key: string]: any;
7942
7510
  };
7511
+ /**
7512
+ *
7513
+ * @type {string}
7514
+ * @memberof UserProfileResponse
7515
+ */
7516
+ 'stripeCustomerId'?: string;
7943
7517
  /**
7944
7518
  *
7945
7519
  * @type {number}
@@ -7978,6 +7552,12 @@ export interface UserProfileResponse {
7978
7552
  'stripeLinks'?: {
7979
7553
  [key: string]: any;
7980
7554
  };
7555
+ /**
7556
+ *
7557
+ * @type {Array<SportResponse>}
7558
+ * @memberof UserProfileResponse
7559
+ */
7560
+ 'verifiedSports'?: Array<SportResponse>;
7981
7561
  }
7982
7562
  /**
7983
7563
  *
@@ -8063,6 +7643,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
8063
7643
  * @throws {RequiredError}
8064
7644
  */
8065
7645
  getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7646
+ /**
7647
+ *
7648
+ * @param {BookingPriceBody} bookingPriceBody
7649
+ * @param {*} [options] Override http request option.
7650
+ * @throws {RequiredError}
7651
+ */
7652
+ getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8066
7653
  /**
8067
7654
  * Recherche des créneaux disponibles pour une réservation rapide
8068
7655
  * @param {number} [latitude]
@@ -8092,6 +7679,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
8092
7679
  * @throws {RequiredError}
8093
7680
  */
8094
7681
  getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
7682
+ /**
7683
+ *
7684
+ * @param {BookingPriceBody} bookingPriceBody
7685
+ * @param {*} [options] Override http request option.
7686
+ * @throws {RequiredError}
7687
+ */
7688
+ getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>>;
8095
7689
  /**
8096
7690
  * Recherche des créneaux disponibles pour une réservation rapide
8097
7691
  * @param {number} [latitude]
@@ -8121,6 +7715,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
8121
7715
  * @throws {RequiredError}
8122
7716
  */
8123
7717
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
7718
+ /**
7719
+ *
7720
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
7721
+ * @param {*} [options] Override http request option.
7722
+ * @throws {RequiredError}
7723
+ */
7724
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>>;
8124
7725
  /**
8125
7726
  * Recherche des créneaux disponibles pour une réservation rapide
8126
7727
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8142,6 +7743,19 @@ export interface BookingsApiGetBookingHistoryRequest {
8142
7743
  */
8143
7744
  readonly bookingId: string;
8144
7745
  }
7746
+ /**
7747
+ * Request parameters for getBookingPrice operation in BookingsApi.
7748
+ * @export
7749
+ * @interface BookingsApiGetBookingPriceRequest
7750
+ */
7751
+ export interface BookingsApiGetBookingPriceRequest {
7752
+ /**
7753
+ *
7754
+ * @type {BookingPriceBody}
7755
+ * @memberof BookingsApiGetBookingPrice
7756
+ */
7757
+ readonly bookingPriceBody: BookingPriceBody;
7758
+ }
8145
7759
  /**
8146
7760
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
8147
7761
  * @export
@@ -8224,6 +7838,14 @@ export declare class BookingsApi extends BaseAPI {
8224
7838
  * @memberof BookingsApi
8225
7839
  */
8226
7840
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
7841
+ /**
7842
+ *
7843
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
7844
+ * @param {*} [options] Override http request option.
7845
+ * @throws {RequiredError}
7846
+ * @memberof BookingsApi
7847
+ */
7848
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerPrice[], any, {}>>;
8227
7849
  /**
8228
7850
  * Recherche des créneaux disponibles pour une réservation rapide
8229
7851
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8835,27 +8457,6 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
8835
8457
  * @throws {RequiredError}
8836
8458
  */
8837
8459
  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
8460
  /**
8860
8461
  * Récupère la liste des joueurs du club
8861
8462
  * @param {*} [options] Override http request option.
@@ -8929,27 +8530,6 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
8929
8530
  * @throws {RequiredError}
8930
8531
  */
8931
8532
  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
8533
  /**
8954
8534
  * Récupère la liste des joueurs du club
8955
8535
  * @param {*} [options] Override http request option.
@@ -9023,27 +8603,6 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
9023
8603
  * @throws {RequiredError}
9024
8604
  */
9025
8605
  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
8606
  /**
9048
8607
  * Récupère la liste des joueurs du club
9049
8608
  * @param {*} [options] Override http request option.
@@ -9116,45 +8675,6 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
9116
8675
  */
9117
8676
  readonly sportId: string;
9118
8677
  }
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
8678
  /**
9159
8679
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
9160
8680
  * @export
@@ -9234,30 +8754,6 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
9234
8754
  * @memberof ClubAnalyticsStaffApi
9235
8755
  */
9236
8756
  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
8757
  /**
9262
8758
  * Récupère la liste des joueurs du club
9263
8759
  * @param {*} [options] Override http request option.
@@ -12047,6 +11543,57 @@ export declare class SportsManagerApi extends BaseAPI {
12047
11543
  */
12048
11544
  updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse, any, {}>>;
12049
11545
  }
11546
+ /**
11547
+ * SportsPublicApi - axios parameter creator
11548
+ * @export
11549
+ */
11550
+ export declare const SportsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
11551
+ /**
11552
+ * Récupère tous les sports vérifiés, accessibles publiquement
11553
+ * @param {*} [options] Override http request option.
11554
+ * @throws {RequiredError}
11555
+ */
11556
+ getVerifiedSports: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11557
+ };
11558
+ /**
11559
+ * SportsPublicApi - functional programming interface
11560
+ * @export
11561
+ */
11562
+ export declare const SportsPublicApiFp: (configuration?: Configuration) => {
11563
+ /**
11564
+ * Récupère tous les sports vérifiés, accessibles publiquement
11565
+ * @param {*} [options] Override http request option.
11566
+ * @throws {RequiredError}
11567
+ */
11568
+ getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>>;
11569
+ };
11570
+ /**
11571
+ * SportsPublicApi - factory interface
11572
+ * @export
11573
+ */
11574
+ export declare const SportsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11575
+ /**
11576
+ * Récupère tous les sports vérifiés, accessibles publiquement
11577
+ * @param {*} [options] Override http request option.
11578
+ * @throws {RequiredError}
11579
+ */
11580
+ getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>>;
11581
+ };
11582
+ /**
11583
+ * SportsPublicApi - object-oriented interface
11584
+ * @export
11585
+ * @class SportsPublicApi
11586
+ * @extends {BaseAPI}
11587
+ */
11588
+ export declare class SportsPublicApi extends BaseAPI {
11589
+ /**
11590
+ * Récupère tous les sports vérifiés, accessibles publiquement
11591
+ * @param {*} [options] Override http request option.
11592
+ * @throws {RequiredError}
11593
+ * @memberof SportsPublicApi
11594
+ */
11595
+ getVerifiedSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse[], any, {}>>;
11596
+ }
12050
11597
  /**
12051
11598
  * SportsStaffApi - axios parameter creator
12052
11599
  * @export
@@ -12588,13 +12135,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12588
12135
  * @throws {RequiredError}
12589
12136
  */
12590
12137
  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
12138
  /**
12599
12139
  *
12600
12140
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -12602,13 +12142,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12602
12142
  * @throws {RequiredError}
12603
12143
  */
12604
12144
  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
12145
  /**
12613
12146
  *
12614
12147
  * @param {*} [options] Override http request option.
@@ -12787,13 +12320,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
12787
12320
  * @throws {RequiredError}
12788
12321
  */
12789
12322
  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
12323
  /**
12798
12324
  *
12799
12325
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -12870,13 +12396,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12870
12396
  * @throws {RequiredError}
12871
12397
  */
12872
12398
  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
12399
  /**
12881
12400
  *
12882
12401
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -12884,13 +12403,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
12884
12403
  * @throws {RequiredError}
12885
12404
  */
12886
12405
  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
12406
  /**
12895
12407
  *
12896
12408
  * @param {*} [options] Override http request option.
@@ -13077,13 +12589,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
13077
12589
  * @throws {RequiredError}
13078
12590
  */
13079
12591
  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
12592
  /**
13088
12593
  *
13089
12594
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -13160,13 +12665,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13160
12665
  * @throws {RequiredError}
13161
12666
  */
13162
12667
  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
12668
  /**
13171
12669
  *
13172
12670
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -13174,13 +12672,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13174
12672
  * @throws {RequiredError}
13175
12673
  */
13176
12674
  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
12675
  /**
13185
12676
  *
13186
12677
  * @param {*} [options] Override http request option.
@@ -13349,13 +12840,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
13349
12840
  * @throws {RequiredError}
13350
12841
  */
13351
12842
  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
12843
  /**
13360
12844
  *
13361
12845
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -13445,19 +12929,6 @@ export interface UsersApiAddOrganizationRequest {
13445
12929
  */
13446
12930
  readonly addOrganizationRequest: AddOrganizationRequest;
13447
12931
  }
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
12932
  /**
13462
12933
  * Request parameters for changePassword operation in UsersApi.
13463
12934
  * @export
@@ -13471,19 +12942,6 @@ export interface UsersApiChangePasswordRequest {
13471
12942
  */
13472
12943
  readonly changePasswordRequestBody: ChangePasswordRequestBody;
13473
12944
  }
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
12945
  /**
13488
12946
  * Request parameters for getBookingDetail operation in UsersApi.
13489
12947
  * @export
@@ -13800,19 +13258,6 @@ export interface UsersApiResetPasswordRequest {
13800
13258
  */
13801
13259
  readonly resetPasswordRequest: ResetPasswordRequest;
13802
13260
  }
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
13261
  /**
13817
13262
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
13818
13263
  * @export
@@ -13935,14 +13380,6 @@ export declare class UsersApi extends BaseAPI {
13935
13380
  * @memberof UsersApi
13936
13381
  */
13937
13382
  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
13383
  /**
13947
13384
  *
13948
13385
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -13951,14 +13388,6 @@ export declare class UsersApi extends BaseAPI {
13951
13388
  * @memberof UsersApi
13952
13389
  */
13953
13390
  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
13391
  /**
13963
13392
  *
13964
13393
  * @param {*} [options] Override http request option.
@@ -14151,14 +13580,6 @@ export declare class UsersApi extends BaseAPI {
14151
13580
  * @memberof UsersApi
14152
13581
  */
14153
13582
  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
13583
  /**
14163
13584
  *
14164
13585
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.