@tennac-booking/sdk 1.0.77 → 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 (64) hide show
  1. package/.openapi-generator/FILES +5 -16
  2. package/README.md +8 -24
  3. package/api.ts +505 -1247
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +320 -899
  8. package/dist/api.js +162 -396
  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 +320 -899
  16. package/dist/esm/api.js +157 -395
  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/BookingInfo.md +2 -2
  28. package/docs/BookingPopulated.md +2 -0
  29. package/docs/{AddPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  30. package/docs/BookingResponse.md +2 -0
  31. package/docs/BookingsApi.md +52 -0
  32. package/docs/ClubAnalyticsStaffApi.md +0 -167
  33. package/docs/ClubResponse.md +8 -0
  34. package/docs/ClubSettingsResponse.md +0 -2
  35. package/docs/CreateBookingRequest.md +2 -2
  36. package/docs/CreateEventRequest.md +0 -2
  37. package/docs/IUserAttributes.md +2 -12
  38. package/docs/PartialClubResponse.md +8 -0
  39. package/docs/PlayerPrice.md +30 -0
  40. package/docs/{SetupPaymentMethodRequestBody.md → QuickReservationClubSport.md} +7 -5
  41. package/docs/QuickReservationClubSummary.md +4 -0
  42. package/docs/SlotInfo.md +2 -2
  43. package/docs/SportsPublicApi.md +53 -0
  44. package/docs/StaffUserProfileResponse.md +2 -12
  45. package/docs/SubscribeRequestBody.md +2 -0
  46. package/docs/SubscriptionInfo.md +24 -0
  47. package/docs/UserProfileResponse.md +4 -12
  48. package/docs/UsersApi.md +0 -156
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/ClubPlayerBookingItem.md +0 -36
  52. package/docs/ClubPlayerBookingsResponse.md +0 -22
  53. package/docs/ClubPlayerDetailResponse.md +0 -46
  54. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  55. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  56. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  57. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  58. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  59. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  60. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  61. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  62. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  63. package/docs/PaymentMethodSetupResponse.md +0 -24
  64. package/docs/SetupPaymentMethodResponse.md +0 -24
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.77
7
+ * The version of the OpenAPI document: 1.0.75
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,19 +92,6 @@ export interface AddOrganizationRequest {
92
92
  */
93
93
  'organizationId'?: string;
94
94
  }
95
- /**
96
- *
97
- * @export
98
- * @interface AddPaymentMethodRequestBody
99
- */
100
- export interface AddPaymentMethodRequestBody {
101
- /**
102
- *
103
- * @type {string}
104
- * @memberof AddPaymentMethodRequestBody
105
- */
106
- 'paymentMethodId': string;
107
- }
108
95
  /**
109
96
  *
110
97
  * @export
@@ -359,10 +346,10 @@ export interface BookingInfo {
359
346
  'totalPrice': number;
360
347
  /**
361
348
  * ID du créneau
362
- * @type {string}
349
+ * @type {Array<string>}
363
350
  * @memberof BookingInfo
364
351
  */
365
- 'slotId': string;
352
+ 'slotIds': Array<string>;
366
353
  /**
367
354
  * Indique si le créateur paie pour tous
368
355
  * @type {boolean}
@@ -575,6 +562,12 @@ export interface BookingPopulated {
575
562
  * @memberof BookingPopulated
576
563
  */
577
564
  'isCreatorPayingAll': boolean;
565
+ /**
566
+ *
567
+ * @type {Array<string>}
568
+ * @memberof BookingPopulated
569
+ */
570
+ 'playersIds': Array<string>;
578
571
  /**
579
572
  *
580
573
  * @type {Array<BookingHistoryPopulated>}
@@ -608,6 +601,25 @@ export interface BookingPopulated {
608
601
  }
609
602
 
610
603
 
604
+ /**
605
+ *
606
+ * @export
607
+ * @interface BookingPriceBody
608
+ */
609
+ export interface BookingPriceBody {
610
+ /**
611
+ *
612
+ * @type {Array<string>}
613
+ * @memberof BookingPriceBody
614
+ */
615
+ 'slotIds': Array<string>;
616
+ /**
617
+ *
618
+ * @type {Array<string>}
619
+ * @memberof BookingPriceBody
620
+ */
621
+ 'players': Array<string>;
622
+ }
611
623
  /**
612
624
  *
613
625
  * @export
@@ -638,6 +650,12 @@ export interface BookingResponse {
638
650
  * @memberof BookingResponse
639
651
  */
640
652
  'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
653
+ /**
654
+ *
655
+ * @type {string}
656
+ * @memberof BookingResponse
657
+ */
658
+ 'setupNoShowPaymentUrl'?: string;
641
659
  /**
642
660
  * Message de confirmation
643
661
  * @type {string}
@@ -1028,196 +1046,6 @@ export interface ClubMemberResponseUser {
1028
1046
  */
1029
1047
  'id': string;
1030
1048
  }
1031
- /**
1032
- *
1033
- * @export
1034
- * @interface ClubPlayerBookingItem
1035
- */
1036
- export interface ClubPlayerBookingItem {
1037
- /**
1038
- * ID de la réservation
1039
- * @type {string}
1040
- * @memberof ClubPlayerBookingItem
1041
- */
1042
- 'id': string;
1043
- /**
1044
- * Date de début de la réservation
1045
- * @type {string}
1046
- * @memberof ClubPlayerBookingItem
1047
- */
1048
- 'startDate': string | null;
1049
- /**
1050
- * Date de fin de la réservation
1051
- * @type {string}
1052
- * @memberof ClubPlayerBookingItem
1053
- */
1054
- 'endDate': string | null;
1055
- /**
1056
- * Nom du terrain ou emplacement
1057
- * @type {string}
1058
- * @memberof ClubPlayerBookingItem
1059
- */
1060
- 'location': string | null;
1061
- /**
1062
- * Nom du sport associé
1063
- * @type {string}
1064
- * @memberof ClubPlayerBookingItem
1065
- */
1066
- 'sport': string | null;
1067
- /**
1068
- * Statut de la réservation
1069
- * @type {string}
1070
- * @memberof ClubPlayerBookingItem
1071
- */
1072
- 'status': string;
1073
- /**
1074
- * Prix total de la réservation en centimes
1075
- * @type {number}
1076
- * @memberof ClubPlayerBookingItem
1077
- */
1078
- 'totalPrice': number;
1079
- /**
1080
- * Indique si le joueur est le créateur de la réservation
1081
- * @type {boolean}
1082
- * @memberof ClubPlayerBookingItem
1083
- */
1084
- 'isCreator': boolean;
1085
- /**
1086
- * Nombre total de participants
1087
- * @type {number}
1088
- * @memberof ClubPlayerBookingItem
1089
- */
1090
- 'participantsCount': number;
1091
- }
1092
- /**
1093
- *
1094
- * @export
1095
- * @interface ClubPlayerBookingsResponse
1096
- */
1097
- export interface ClubPlayerBookingsResponse {
1098
- /**
1099
- * Réservations à venir
1100
- * @type {Array<ClubPlayerBookingItem>}
1101
- * @memberof ClubPlayerBookingsResponse
1102
- */
1103
- 'upcomingBookings': Array<ClubPlayerBookingItem>;
1104
- /**
1105
- * Réservations passées
1106
- * @type {Array<ClubPlayerBookingItem>}
1107
- * @memberof ClubPlayerBookingsResponse
1108
- */
1109
- 'pastBookings': Array<ClubPlayerBookingItem>;
1110
- }
1111
- /**
1112
- *
1113
- * @export
1114
- * @interface ClubPlayerDetailResponse
1115
- */
1116
- export interface ClubPlayerDetailResponse {
1117
- /**
1118
- * ID du joueur
1119
- * @type {string}
1120
- * @memberof ClubPlayerDetailResponse
1121
- */
1122
- 'id': string;
1123
- /**
1124
- * Nom complet
1125
- * @type {string}
1126
- * @memberof ClubPlayerDetailResponse
1127
- */
1128
- 'name': string;
1129
- /**
1130
- * Prénom
1131
- * @type {string}
1132
- * @memberof ClubPlayerDetailResponse
1133
- */
1134
- 'firstName': string;
1135
- /**
1136
- * Nom
1137
- * @type {string}
1138
- * @memberof ClubPlayerDetailResponse
1139
- */
1140
- 'lastName': string;
1141
- /**
1142
- * Email
1143
- * @type {string}
1144
- * @memberof ClubPlayerDetailResponse
1145
- */
1146
- 'email': string;
1147
- /**
1148
- * Numéro de téléphone
1149
- * @type {string}
1150
- * @memberof ClubPlayerDetailResponse
1151
- */
1152
- 'phoneNumber': string | null;
1153
- /**
1154
- * URL de la photo de profil
1155
- * @type {string}
1156
- * @memberof ClubPlayerDetailResponse
1157
- */
1158
- 'profilePictureUrl': string | null;
1159
- /**
1160
- * Compte vérifié
1161
- * @type {boolean}
1162
- * @memberof ClubPlayerDetailResponse
1163
- */
1164
- 'isAccountVerified': boolean;
1165
- /**
1166
- * Abonnements au club courant
1167
- * @type {Array<ClubPlayerSubscriptionSummary>}
1168
- * @memberof ClubPlayerDetailResponse
1169
- */
1170
- 'subscriptionsToMyClub': Array<ClubPlayerSubscriptionSummary>;
1171
- /**
1172
- * Description du profil
1173
- * @type {string}
1174
- * @memberof ClubPlayerDetailResponse
1175
- */
1176
- 'profileDescription': string | null;
1177
- /**
1178
- * Genre
1179
- * @type {string}
1180
- * @memberof ClubPlayerDetailResponse
1181
- */
1182
- 'gender': string | null;
1183
- /**
1184
- * Ville
1185
- * @type {string}
1186
- * @memberof ClubPlayerDetailResponse
1187
- */
1188
- 'city': string | null;
1189
- /**
1190
- * Niveaux par sport
1191
- * @type {Array<ClubPlayerDetailResponseSportsLevelsInner>}
1192
- * @memberof ClubPlayerDetailResponse
1193
- */
1194
- 'sportsLevels': Array<ClubPlayerDetailResponseSportsLevelsInner>;
1195
- /**
1196
- * Date de naissance
1197
- * @type {string}
1198
- * @memberof ClubPlayerDetailResponse
1199
- */
1200
- 'birthDate': string | null;
1201
- }
1202
- /**
1203
- *
1204
- * @export
1205
- * @interface ClubPlayerDetailResponseSportsLevelsInner
1206
- */
1207
- export interface ClubPlayerDetailResponseSportsLevelsInner {
1208
- /**
1209
- *
1210
- * @type {string}
1211
- * @memberof ClubPlayerDetailResponseSportsLevelsInner
1212
- */
1213
- 'level': string | null;
1214
- /**
1215
- *
1216
- * @type {string}
1217
- * @memberof ClubPlayerDetailResponseSportsLevelsInner
1218
- */
1219
- 'sport': string | null;
1220
- }
1221
1049
  /**
1222
1050
  *
1223
1051
  * @export
@@ -1267,227 +1095,17 @@ export interface ClubPlayerResponse {
1267
1095
  */
1268
1096
  'isAccountVerified': boolean;
1269
1097
  /**
1270
- * Profil visible
1271
- * @type {boolean}
1272
- * @memberof ClubPlayerResponse
1273
- */
1274
- 'isProfileVisible': boolean;
1275
- /**
1276
- * Abonné au club
1277
- * @type {boolean}
1278
- * @memberof ClubPlayerResponse
1279
- */
1280
- 'isSubscribedToClub': boolean;
1281
- }
1282
- /**
1283
- *
1284
- * @export
1285
- * @interface ClubPlayerStatisticsResponse
1286
- */
1287
- export interface ClubPlayerStatisticsResponse {
1288
- /**
1289
- * Nombre total de réservations (tous clubs confondus)
1290
- * @type {number}
1291
- * @memberof ClubPlayerStatisticsResponse
1292
- */
1293
- 'totalBookings': number;
1294
- /**
1295
- * Nombre total de réservations dans le club courant
1296
- * @type {number}
1297
- * @memberof ClubPlayerStatisticsResponse
1298
- */
1299
- 'totalBookingsInMyClub': number;
1300
- /**
1301
- * Somme totale dépensée dans le club courant (centimes)
1302
- * @type {number}
1303
- * @memberof ClubPlayerStatisticsResponse
1304
- */
1305
- 'totalSpentAmount': number;
1306
- /**
1307
- * Sport le plus pratiqué dans le club courant
1308
- * @type {string}
1309
- * @memberof ClubPlayerStatisticsResponse
1310
- */
1311
- 'favoriteSport': string | null;
1312
- /**
1313
- * Temps moyen entre la réservation et le début du créneau (heures)
1314
- * @type {number}
1315
- * @memberof ClubPlayerStatisticsResponse
1316
- */
1317
- 'averageBookingLeadTimeHours': number | null;
1318
- /**
1319
- * Taux d\'annulation dans le club courant (0-1)
1320
- * @type {number}
1321
- * @memberof ClubPlayerStatisticsResponse
1322
- */
1323
- 'bookingCancellationRate': number;
1324
- /**
1325
- * Nombre d\'abonnements actifs au club courant
1326
- * @type {number}
1327
- * @memberof ClubPlayerStatisticsResponse
1328
- */
1329
- 'activeSubscriptionsToMyClub': number;
1330
- /**
1331
- * Heure de créneau favorite dans le club courant (format HH:00)
1332
- * @type {string}
1333
- * @memberof ClubPlayerStatisticsResponse
1334
- */
1335
- 'favoriteTimeSlot': string | null;
1336
- /**
1337
- *
1338
- * @type {ClubPlayerStatisticsResponseFavoriteClub}
1339
- * @memberof ClubPlayerStatisticsResponse
1340
- */
1341
- 'favoriteClub': ClubPlayerStatisticsResponseFavoriteClub | null;
1342
- /**
1343
- *
1344
- * @type {ClubPlayerStatisticsResponseMostPlayedClub}
1345
- * @memberof ClubPlayerStatisticsResponse
1346
- */
1347
- 'mostPlayedClub': ClubPlayerStatisticsResponseMostPlayedClub | null;
1348
- /**
1349
- * Évolution quotidienne des montants dépensés ce mois-ci
1350
- * @type {Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>}
1351
- * @memberof ClubPlayerStatisticsResponse
1352
- */
1353
- 'bookingAmountEvolutionThisMonth': Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>;
1354
- /**
1355
- * Joueurs les plus joués dans le club courant
1356
- * @type {Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>}
1357
- * @memberof ClubPlayerStatisticsResponse
1358
- */
1359
- 'mostPlayedPartners': Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>;
1360
- }
1361
- /**
1362
- *
1363
- * @export
1364
- * @interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1365
- */
1366
- export interface ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner {
1367
- /**
1368
- *
1369
- * @type {number}
1370
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1371
- */
1372
- 'amount': number;
1373
- /**
1374
- *
1375
- * @type {number}
1376
- * @memberof ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
1377
- */
1378
- 'day': number;
1379
- }
1380
- /**
1381
- * Club favori selon le profil utilisateur
1382
- * @export
1383
- * @interface ClubPlayerStatisticsResponseFavoriteClub
1384
- */
1385
- export interface ClubPlayerStatisticsResponseFavoriteClub {
1386
- /**
1387
- *
1388
- * @type {string}
1389
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1390
- */
1391
- 'name': string | null;
1392
- /**
1393
- *
1394
- * @type {string}
1395
- * @memberof ClubPlayerStatisticsResponseFavoriteClub
1396
- */
1397
- 'clubId': string;
1398
- }
1399
- /**
1400
- * Club où le joueur a le plus joué
1401
- * @export
1402
- * @interface ClubPlayerStatisticsResponseMostPlayedClub
1403
- */
1404
- export interface ClubPlayerStatisticsResponseMostPlayedClub {
1405
- /**
1406
- *
1407
- * @type {number}
1408
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1409
- */
1410
- 'bookingsCount': number;
1411
- /**
1412
- *
1413
- * @type {string}
1414
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1415
- */
1416
- 'name': string | null;
1417
- /**
1418
- *
1419
- * @type {string}
1420
- * @memberof ClubPlayerStatisticsResponseMostPlayedClub
1421
- */
1422
- 'clubId': string;
1423
- }
1424
- /**
1425
- *
1426
- * @export
1427
- * @interface ClubPlayerStatisticsResponseMostPlayedPartnersInner
1428
- */
1429
- export interface ClubPlayerStatisticsResponseMostPlayedPartnersInner {
1430
- /**
1431
- *
1432
- * @type {number}
1433
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1434
- */
1435
- 'bookingsTogether': number;
1436
- /**
1437
- *
1438
- * @type {string}
1439
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1440
- */
1441
- 'lastName': string | null;
1442
- /**
1443
- *
1444
- * @type {string}
1445
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1446
- */
1447
- 'firstName': string | null;
1448
- /**
1449
- *
1450
- * @type {string}
1451
- * @memberof ClubPlayerStatisticsResponseMostPlayedPartnersInner
1452
- */
1453
- 'userId': string;
1454
- }
1455
- /**
1456
- *
1457
- * @export
1458
- * @interface ClubPlayerSubscriptionSummary
1459
- */
1460
- export interface ClubPlayerSubscriptionSummary {
1461
- /**
1462
- * ID du plan d\'abonnement
1463
- * @type {string}
1464
- * @memberof ClubPlayerSubscriptionSummary
1465
- */
1466
- 'id': string;
1467
- /**
1468
- * Nom du plan
1469
- * @type {string}
1470
- * @memberof ClubPlayerSubscriptionSummary
1471
- */
1472
- 'name': string | null;
1473
- /**
1474
- * Montant en centimes
1475
- * @type {number}
1476
- * @memberof ClubPlayerSubscriptionSummary
1477
- */
1478
- 'amountInCents': number | null;
1479
- /**
1480
- * Devise
1481
- * @type {string}
1482
- * @memberof ClubPlayerSubscriptionSummary
1098
+ * Profil visible
1099
+ * @type {boolean}
1100
+ * @memberof ClubPlayerResponse
1483
1101
  */
1484
- 'currency': string | null;
1102
+ 'isProfileVisible': boolean;
1485
1103
  /**
1486
- * Intervalle de facturation
1487
- * @type {string}
1488
- * @memberof ClubPlayerSubscriptionSummary
1104
+ * Abonné au club
1105
+ * @type {boolean}
1106
+ * @memberof ClubPlayerResponse
1489
1107
  */
1490
- 'interval': string | null;
1108
+ 'isSubscribedToClub': boolean;
1491
1109
  }
1492
1110
  /**
1493
1111
  *
@@ -1579,6 +1197,30 @@ export interface ClubResponse {
1579
1197
  * @memberof ClubResponse
1580
1198
  */
1581
1199
  'sports'?: Array<string>;
1200
+ /**
1201
+ * Autoriser plusieurs réservations en même temps
1202
+ * @type {boolean}
1203
+ * @memberof ClubResponse
1204
+ */
1205
+ 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1206
+ /**
1207
+ * Limite de réservations simultanées (même créneau)
1208
+ * @type {number}
1209
+ * @memberof ClubResponse
1210
+ */
1211
+ 'sameTimeBookingsLimit'?: number | null;
1212
+ /**
1213
+ * Limite d\'annulation en heures
1214
+ * @type {number}
1215
+ * @memberof ClubResponse
1216
+ */
1217
+ 'cancellationLimitHours'?: number | null;
1218
+ /**
1219
+ * Nombre maximum de réservations par semaine
1220
+ * @type {number}
1221
+ * @memberof ClubResponse
1222
+ */
1223
+ 'maxWeeklyBookings'?: number | null;
1582
1224
  /**
1583
1225
  *
1584
1226
  * @type {ClubResponseCreatedAt}
@@ -1744,12 +1386,6 @@ export interface ClubSettingsResponse {
1744
1386
  * @memberof ClubSettingsResponse
1745
1387
  */
1746
1388
  'maxWeeklyBookings': number;
1747
- /**
1748
- * Autoriser plusieurs réservations en même temps
1749
- * @type {boolean}
1750
- * @memberof ClubSettingsResponse
1751
- */
1752
- 'allowMultipleBookingsAtTheSameTime': boolean;
1753
1389
  /**
1754
1390
  * Limite de réservations simultanées
1755
1391
  * @type {number}
@@ -1874,38 +1510,6 @@ export interface ClubUserCountResponse {
1874
1510
  */
1875
1511
  'count': number;
1876
1512
  }
1877
- /**
1878
- *
1879
- * @export
1880
- * @interface ConfirmPaymentMethodRequestBody
1881
- */
1882
- export interface ConfirmPaymentMethodRequestBody {
1883
- /**
1884
- *
1885
- * @type {string}
1886
- * @memberof ConfirmPaymentMethodRequestBody
1887
- */
1888
- 'setupIntentId': string;
1889
- }
1890
- /**
1891
- *
1892
- * @export
1893
- * @interface ConfirmPaymentMethodResponse
1894
- */
1895
- export interface ConfirmPaymentMethodResponse {
1896
- /**
1897
- *
1898
- * @type {string}
1899
- * @memberof ConfirmPaymentMethodResponse
1900
- */
1901
- 'message': string;
1902
- /**
1903
- *
1904
- * @type {string}
1905
- * @memberof ConfirmPaymentMethodResponse
1906
- */
1907
- 'paymentMethodId'?: string | null;
1908
- }
1909
1513
  /**
1910
1514
  *
1911
1515
  * @export
@@ -2068,10 +1672,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
2068
1672
  export interface CreateBookingRequest {
2069
1673
  /**
2070
1674
  * ID du créneau à réserver
2071
- * @type {string}
1675
+ * @type {Array<string>}
2072
1676
  * @memberof CreateBookingRequest
2073
1677
  */
2074
- 'slotId': string;
1678
+ 'slotIds': Array<string>;
2075
1679
  /**
2076
1680
  * Liste des joueurs avec leurs méthodes de paiement
2077
1681
  * @type {Array<PlayerWithPaymentMethod>}
@@ -2383,12 +1987,6 @@ export interface CreateEventRequest {
2383
1987
  * @memberof CreateEventRequest
2384
1988
  */
2385
1989
  'subscriberPrices'?: Array<SubscriberPrice>;
2386
- /**
2387
- *
2388
- * @type {Array<number>}
2389
- * @memberof CreateEventRequest
2390
- */
2391
- 'levels'?: Array<number>;
2392
1990
  /**
2393
1991
  *
2394
1992
  * @type {string}
@@ -3531,24 +3129,12 @@ export interface IUserAttributes {
3531
3129
  * @memberof IUserAttributes
3532
3130
  */
3533
3131
  'isAccountVerified': boolean;
3534
- /**
3535
- *
3536
- * @type {boolean}
3537
- * @memberof IUserAttributes
3538
- */
3539
- 'isCreditCardRegistered'?: boolean;
3540
3132
  /**
3541
3133
  *
3542
3134
  * @type {Array<ILevelBySports>}
3543
3135
  * @memberof IUserAttributes
3544
3136
  */
3545
3137
  'levelBySports'?: Array<ILevelBySports>;
3546
- /**
3547
- *
3548
- * @type {string}
3549
- * @memberof IUserAttributes
3550
- */
3551
- 'stripeCustomerId'?: string;
3552
3138
  /**
3553
3139
  *
3554
3140
  * @type {string}
@@ -3621,30 +3207,6 @@ export interface IUserAttributes {
3621
3207
  * @memberof IUserAttributes
3622
3208
  */
3623
3209
  'isLevelCertified'?: boolean;
3624
- /**
3625
- *
3626
- * @type {Array<string>}
3627
- * @memberof IUserAttributes
3628
- */
3629
- 'paymentMethods'?: Array<string>;
3630
- /**
3631
- *
3632
- * @type {string}
3633
- * @memberof IUserAttributes
3634
- */
3635
- 'defaultPaymentMethodId'?: string;
3636
- /**
3637
- *
3638
- * @type {boolean}
3639
- * @memberof IUserAttributes
3640
- */
3641
- 'paymentMethodSetupCompleted': boolean;
3642
- /**
3643
- *
3644
- * @type {string}
3645
- * @memberof IUserAttributes
3646
- */
3647
- 'setupIntentId'?: string;
3648
3210
  /**
3649
3211
  *
3650
3212
  * @type {Array<string>}
@@ -3675,6 +3237,12 @@ export interface IUserAttributes {
3675
3237
  * @memberof IUserAttributes
3676
3238
  */
3677
3239
  'sports'?: { [key: string]: any; };
3240
+ /**
3241
+ *
3242
+ * @type {string}
3243
+ * @memberof IUserAttributes
3244
+ */
3245
+ 'stripeCustomerId'?: string;
3678
3246
  }
3679
3247
 
3680
3248
 
@@ -4222,6 +3790,30 @@ export interface PartialClubResponse {
4222
3790
  * @memberof PartialClubResponse
4223
3791
  */
4224
3792
  'sports'?: Array<string>;
3793
+ /**
3794
+ * Autoriser plusieurs réservations en même temps
3795
+ * @type {boolean}
3796
+ * @memberof PartialClubResponse
3797
+ */
3798
+ 'allowMultipleBookingsAtTheSameTime'?: boolean;
3799
+ /**
3800
+ * Limite de réservations simultanées (même créneau)
3801
+ * @type {number}
3802
+ * @memberof PartialClubResponse
3803
+ */
3804
+ 'sameTimeBookingsLimit'?: number;
3805
+ /**
3806
+ * Limite d\'annulation en heures
3807
+ * @type {number}
3808
+ * @memberof PartialClubResponse
3809
+ */
3810
+ 'cancellationLimitHours'?: number;
3811
+ /**
3812
+ * Nombre maximum de réservations par semaine
3813
+ * @type {number}
3814
+ * @memberof PartialClubResponse
3815
+ */
3816
+ 'maxWeeklyBookings'?: number;
4225
3817
  /**
4226
3818
  *
4227
3819
  * @type {ClubResponseCreatedAt}
@@ -4282,31 +3874,6 @@ export const PaymentMethod = {
4282
3874
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
4283
3875
 
4284
3876
 
4285
- /**
4286
- *
4287
- * @export
4288
- * @interface PaymentMethodSetupResponse
4289
- */
4290
- export interface PaymentMethodSetupResponse {
4291
- /**
4292
- *
4293
- * @type {string}
4294
- * @memberof PaymentMethodSetupResponse
4295
- */
4296
- 'message': string;
4297
- /**
4298
- *
4299
- * @type {Array<string>}
4300
- * @memberof PaymentMethodSetupResponse
4301
- */
4302
- 'paymentMethods': Array<string>;
4303
- /**
4304
- *
4305
- * @type {string}
4306
- * @memberof PaymentMethodSetupResponse
4307
- */
4308
- 'defaultPaymentMethodId'?: string | null;
4309
- }
4310
3877
  /**
4311
3878
  * From T, pick a set of properties whose keys are in the union K
4312
3879
  * @export
@@ -4559,6 +4126,49 @@ export interface PlayerPaymentInfo {
4559
4126
  }
4560
4127
 
4561
4128
 
4129
+ /**
4130
+ *
4131
+ * @export
4132
+ * @interface PlayerPrice
4133
+ */
4134
+ export interface PlayerPrice {
4135
+ /**
4136
+ *
4137
+ * @type {string}
4138
+ * @memberof PlayerPrice
4139
+ */
4140
+ 'playerId': string;
4141
+ /**
4142
+ *
4143
+ * @type {string}
4144
+ * @memberof PlayerPrice
4145
+ */
4146
+ 'firstName'?: string;
4147
+ /**
4148
+ *
4149
+ * @type {string}
4150
+ * @memberof PlayerPrice
4151
+ */
4152
+ 'lastName'?: string;
4153
+ /**
4154
+ *
4155
+ * @type {Array<SubscriptionInfo>}
4156
+ * @memberof PlayerPrice
4157
+ */
4158
+ 'subscriptions': Array<SubscriptionInfo>;
4159
+ /**
4160
+ *
4161
+ * @type {number}
4162
+ * @memberof PlayerPrice
4163
+ */
4164
+ 'creditAvailablesInCents'?: number;
4165
+ /**
4166
+ *
4167
+ * @type {number}
4168
+ * @memberof PlayerPrice
4169
+ */
4170
+ 'price': number;
4171
+ }
4562
4172
  /**
4563
4173
  *
4564
4174
  * @export
@@ -4830,6 +4440,25 @@ export interface PublishEventResponse {
4830
4440
  */
4831
4441
  'event': EventResponse;
4832
4442
  }
4443
+ /**
4444
+ *
4445
+ * @export
4446
+ * @interface QuickReservationClubSport
4447
+ */
4448
+ export interface QuickReservationClubSport {
4449
+ /**
4450
+ * ID du sport
4451
+ * @type {string}
4452
+ * @memberof QuickReservationClubSport
4453
+ */
4454
+ 'id': string;
4455
+ /**
4456
+ * Clé du sport
4457
+ * @type {string}
4458
+ * @memberof QuickReservationClubSport
4459
+ */
4460
+ 'key'?: string;
4461
+ }
4833
4462
  /**
4834
4463
  *
4835
4464
  * @export
@@ -4848,6 +4477,12 @@ export interface QuickReservationClubSummary {
4848
4477
  * @memberof QuickReservationClubSummary
4849
4478
  */
4850
4479
  'clubName': string;
4480
+ /**
4481
+ * Description du club
4482
+ * @type {string}
4483
+ * @memberof QuickReservationClubSummary
4484
+ */
4485
+ 'description'?: string;
4851
4486
  /**
4852
4487
  * Distance par rapport à la recherche, en mètres
4853
4488
  * @type {number}
@@ -4866,6 +4501,12 @@ export interface QuickReservationClubSummary {
4866
4501
  * @memberof QuickReservationClubSummary
4867
4502
  */
4868
4503
  'slots': Array<QuickReservationSlotSummary>;
4504
+ /**
4505
+ * Sports disponibles dans le club
4506
+ * @type {Array<QuickReservationClubSport>}
4507
+ * @memberof QuickReservationClubSummary
4508
+ */
4509
+ 'sports'?: Array<QuickReservationClubSport>;
4869
4510
  }
4870
4511
  /**
4871
4512
  * Localisation du club
@@ -5255,44 +4896,6 @@ export interface ResetPasswordRequest {
5255
4896
  */
5256
4897
  'token'?: string;
5257
4898
  }
5258
- /**
5259
- *
5260
- * @export
5261
- * @interface SetupPaymentMethodRequestBody
5262
- */
5263
- export interface SetupPaymentMethodRequestBody {
5264
- /**
5265
- *
5266
- * @type {string}
5267
- * @memberof SetupPaymentMethodRequestBody
5268
- */
5269
- 'clubId': string;
5270
- }
5271
- /**
5272
- *
5273
- * @export
5274
- * @interface SetupPaymentMethodResponse
5275
- */
5276
- export interface SetupPaymentMethodResponse {
5277
- /**
5278
- *
5279
- * @type {string}
5280
- * @memberof SetupPaymentMethodResponse
5281
- */
5282
- 'setupIntentId': string;
5283
- /**
5284
- *
5285
- * @type {string}
5286
- * @memberof SetupPaymentMethodResponse
5287
- */
5288
- 'clientSecret': string;
5289
- /**
5290
- *
5291
- * @type {string}
5292
- * @memberof SetupPaymentMethodResponse
5293
- */
5294
- 'message': string;
5295
- }
5296
4899
  /**
5297
4900
  *
5298
4901
  * @export
@@ -5322,7 +4925,7 @@ export interface SlotInfo {
5322
4925
  * @type {CourtInfo}
5323
4926
  * @memberof SlotInfo
5324
4927
  */
5325
- 'court': CourtInfo;
4928
+ 'courtId': CourtInfo;
5326
4929
  }
5327
4930
  /**
5328
4931
  *
@@ -5569,24 +5172,12 @@ export interface StaffUserProfileResponse {
5569
5172
  * @memberof StaffUserProfileResponse
5570
5173
  */
5571
5174
  'isAccountVerified': boolean;
5572
- /**
5573
- *
5574
- * @type {boolean}
5575
- * @memberof StaffUserProfileResponse
5576
- */
5577
- 'isCreditCardRegistered'?: boolean;
5578
5175
  /**
5579
5176
  *
5580
5177
  * @type {Array<ILevelBySports>}
5581
5178
  * @memberof StaffUserProfileResponse
5582
5179
  */
5583
5180
  'levelBySports'?: Array<ILevelBySports>;
5584
- /**
5585
- *
5586
- * @type {string}
5587
- * @memberof StaffUserProfileResponse
5588
- */
5589
- 'stripeCustomerId'?: string;
5590
5181
  /**
5591
5182
  *
5592
5183
  * @type {string}
@@ -5659,30 +5250,6 @@ export interface StaffUserProfileResponse {
5659
5250
  * @memberof StaffUserProfileResponse
5660
5251
  */
5661
5252
  'isLevelCertified'?: boolean;
5662
- /**
5663
- *
5664
- * @type {Array<string>}
5665
- * @memberof StaffUserProfileResponse
5666
- */
5667
- 'paymentMethods'?: Array<string>;
5668
- /**
5669
- *
5670
- * @type {string}
5671
- * @memberof StaffUserProfileResponse
5672
- */
5673
- 'defaultPaymentMethodId'?: string;
5674
- /**
5675
- *
5676
- * @type {boolean}
5677
- * @memberof StaffUserProfileResponse
5678
- */
5679
- 'paymentMethodSetupCompleted': boolean;
5680
- /**
5681
- *
5682
- * @type {string}
5683
- * @memberof StaffUserProfileResponse
5684
- */
5685
- 'setupIntentId'?: string;
5686
5253
  /**
5687
5254
  *
5688
5255
  * @type {Array<string>}
@@ -5713,6 +5280,12 @@ export interface StaffUserProfileResponse {
5713
5280
  * @memberof StaffUserProfileResponse
5714
5281
  */
5715
5282
  'sports'?: { [key: string]: any; };
5283
+ /**
5284
+ *
5285
+ * @type {string}
5286
+ * @memberof StaffUserProfileResponse
5287
+ */
5288
+ 'stripeCustomerId'?: string;
5716
5289
  /**
5717
5290
  *
5718
5291
  * @type {boolean}
@@ -7006,6 +6579,12 @@ export interface SubscribeRequestBody {
7006
6579
  * @memberof SubscribeRequestBody
7007
6580
  */
7008
6581
  'priceId': string;
6582
+ /**
6583
+ *
6584
+ * @type {boolean}
6585
+ * @memberof SubscribeRequestBody
6586
+ */
6587
+ 'useDefaultPaymentMethod'?: boolean;
7009
6588
  }
7010
6589
  /**
7011
6590
  *
@@ -7026,6 +6605,31 @@ export interface SubscriberPrice {
7026
6605
  */
7027
6606
  'amount': number;
7028
6607
  }
6608
+ /**
6609
+ *
6610
+ * @export
6611
+ * @interface SubscriptionInfo
6612
+ */
6613
+ export interface SubscriptionInfo {
6614
+ /**
6615
+ *
6616
+ * @type {string}
6617
+ * @memberof SubscriptionInfo
6618
+ */
6619
+ 'subscriptionPlanName'?: string;
6620
+ /**
6621
+ *
6622
+ * @type {string}
6623
+ * @memberof SubscriptionInfo
6624
+ */
6625
+ 'subscriptionDescription'?: string;
6626
+ /**
6627
+ *
6628
+ * @type {number}
6629
+ * @memberof SubscriptionInfo
6630
+ */
6631
+ 'reducedAmountInCents'?: number;
6632
+ }
7029
6633
  /**
7030
6634
  *
7031
6635
  * @export
@@ -7941,24 +7545,12 @@ export interface UserProfileResponse {
7941
7545
  * @memberof UserProfileResponse
7942
7546
  */
7943
7547
  'isAccountVerified': boolean;
7944
- /**
7945
- *
7946
- * @type {boolean}
7947
- * @memberof UserProfileResponse
7948
- */
7949
- 'isCreditCardRegistered'?: boolean;
7950
7548
  /**
7951
7549
  *
7952
7550
  * @type {Array<ILevelBySports>}
7953
7551
  * @memberof UserProfileResponse
7954
7552
  */
7955
7553
  'levelBySports'?: Array<ILevelBySports>;
7956
- /**
7957
- *
7958
- * @type {string}
7959
- * @memberof UserProfileResponse
7960
- */
7961
- 'stripeCustomerId'?: string;
7962
7554
  /**
7963
7555
  *
7964
7556
  * @type {string}
@@ -8031,30 +7623,6 @@ export interface UserProfileResponse {
8031
7623
  * @memberof UserProfileResponse
8032
7624
  */
8033
7625
  'isLevelCertified'?: boolean;
8034
- /**
8035
- *
8036
- * @type {Array<string>}
8037
- * @memberof UserProfileResponse
8038
- */
8039
- 'paymentMethods'?: Array<string>;
8040
- /**
8041
- *
8042
- * @type {string}
8043
- * @memberof UserProfileResponse
8044
- */
8045
- 'defaultPaymentMethodId'?: string;
8046
- /**
8047
- *
8048
- * @type {boolean}
8049
- * @memberof UserProfileResponse
8050
- */
8051
- 'paymentMethodSetupCompleted': boolean;
8052
- /**
8053
- *
8054
- * @type {string}
8055
- * @memberof UserProfileResponse
8056
- */
8057
- 'setupIntentId'?: string;
8058
7626
  /**
8059
7627
  *
8060
7628
  * @type {Array<string>}
@@ -8085,6 +7653,12 @@ export interface UserProfileResponse {
8085
7653
  * @memberof UserProfileResponse
8086
7654
  */
8087
7655
  'sports'?: { [key: string]: any; };
7656
+ /**
7657
+ *
7658
+ * @type {string}
7659
+ * @memberof UserProfileResponse
7660
+ */
7661
+ 'stripeCustomerId'?: string;
8088
7662
  /**
8089
7663
  *
8090
7664
  * @type {number}
@@ -8121,6 +7695,12 @@ export interface UserProfileResponse {
8121
7695
  * @memberof UserProfileResponse
8122
7696
  */
8123
7697
  'stripeLinks'?: { [key: string]: any; };
7698
+ /**
7699
+ *
7700
+ * @type {Array<SportResponse>}
7701
+ * @memberof UserProfileResponse
7702
+ */
7703
+ 'verifiedSports'?: Array<SportResponse>;
8124
7704
  }
8125
7705
 
8126
7706
 
@@ -8238,6 +7818,45 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
8238
7818
  options: localVarRequestOptions,
8239
7819
  };
8240
7820
  },
7821
+ /**
7822
+ *
7823
+ * @param {BookingPriceBody} bookingPriceBody
7824
+ * @param {*} [options] Override http request option.
7825
+ * @throws {RequiredError}
7826
+ */
7827
+ getBookingPrice: async (bookingPriceBody: BookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7828
+ // verify required parameter 'bookingPriceBody' is not null or undefined
7829
+ assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody)
7830
+ const localVarPath = `/api/bookings/booking-price`;
7831
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7832
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7833
+ let baseOptions;
7834
+ if (configuration) {
7835
+ baseOptions = configuration.baseOptions;
7836
+ }
7837
+
7838
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7839
+ const localVarHeaderParameter = {} as any;
7840
+ const localVarQueryParameter = {} as any;
7841
+
7842
+ // authentication bearerAuth required
7843
+ // http bearer authentication required
7844
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7845
+
7846
+
7847
+
7848
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7849
+
7850
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7851
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7852
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7853
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration)
7854
+
7855
+ return {
7856
+ url: toPathString(localVarUrlObj),
7857
+ options: localVarRequestOptions,
7858
+ };
7859
+ },
8241
7860
  /**
8242
7861
  * Recherche des créneaux disponibles pour une réservation rapide
8243
7862
  * @param {number} [latitude]
@@ -8299,7 +7918,7 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
8299
7918
  }
8300
7919
 
8301
7920
  if (limitPerClub !== undefined) {
8302
- localVarQueryParameter['limitPerClub'] = limitPerClub;
7921
+ localVarQueryParameter['_limitPerClub'] = limitPerClub;
8303
7922
  }
8304
7923
 
8305
7924
  if (maxClubs !== undefined) {
@@ -8339,6 +7958,18 @@ export const BookingsApiFp = function(configuration?: Configuration) {
8339
7958
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingHistory']?.[localVarOperationServerIndex]?.url;
8340
7959
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8341
7960
  },
7961
+ /**
7962
+ *
7963
+ * @param {BookingPriceBody} bookingPriceBody
7964
+ * @param {*} [options] Override http request option.
7965
+ * @throws {RequiredError}
7966
+ */
7967
+ async getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>> {
7968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
7969
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7970
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
7971
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7972
+ },
8342
7973
  /**
8343
7974
  * Recherche des créneaux disponibles pour une réservation rapide
8344
7975
  * @param {number} [latitude]
@@ -8379,6 +8010,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
8379
8010
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated> {
8380
8011
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
8381
8012
  },
8013
+ /**
8014
+ *
8015
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8016
+ * @param {*} [options] Override http request option.
8017
+ * @throws {RequiredError}
8018
+ */
8019
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>> {
8020
+ return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
8021
+ },
8382
8022
  /**
8383
8023
  * Recherche des créneaux disponibles pour une réservation rapide
8384
8024
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8405,6 +8045,20 @@ export interface BookingsApiGetBookingHistoryRequest {
8405
8045
  readonly bookingId: string
8406
8046
  }
8407
8047
 
8048
+ /**
8049
+ * Request parameters for getBookingPrice operation in BookingsApi.
8050
+ * @export
8051
+ * @interface BookingsApiGetBookingPriceRequest
8052
+ */
8053
+ export interface BookingsApiGetBookingPriceRequest {
8054
+ /**
8055
+ *
8056
+ * @type {BookingPriceBody}
8057
+ * @memberof BookingsApiGetBookingPrice
8058
+ */
8059
+ readonly bookingPriceBody: BookingPriceBody
8060
+ }
8061
+
8408
8062
  /**
8409
8063
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
8410
8064
  * @export
@@ -8500,6 +8154,17 @@ export class BookingsApi extends BaseAPI {
8500
8154
  return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
8501
8155
  }
8502
8156
 
8157
+ /**
8158
+ *
8159
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8160
+ * @param {*} [options] Override http request option.
8161
+ * @throws {RequiredError}
8162
+ * @memberof BookingsApi
8163
+ */
8164
+ public getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig) {
8165
+ return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
8166
+ }
8167
+
8503
8168
  /**
8504
8169
  * Recherche des créneaux disponibles pour une réservation rapide
8505
8170
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -9603,185 +9268,74 @@ export const ClubAnalyticsApiFp = function(configuration?: Configuration) {
9603
9268
  * @export
9604
9269
  */
9605
9270
  export const ClubAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
9606
- const localVarFp = ClubAnalyticsApiFp(configuration)
9607
- return {
9608
- /**
9609
- * Récupère les clubs les plus aimés
9610
- * @param {*} [options] Override http request option.
9611
- * @throws {RequiredError}
9612
- */
9613
- getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
9614
- return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
9615
- },
9616
- /**
9617
- * Récupère les clubs populaires
9618
- * @param {*} [options] Override http request option.
9619
- * @throws {RequiredError}
9620
- */
9621
- getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
9622
- return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
9623
- },
9624
- };
9625
- };
9626
-
9627
- /**
9628
- * ClubAnalyticsApi - object-oriented interface
9629
- * @export
9630
- * @class ClubAnalyticsApi
9631
- * @extends {BaseAPI}
9632
- */
9633
- export class ClubAnalyticsApi extends BaseAPI {
9634
- /**
9635
- * Récupère les clubs les plus aimés
9636
- * @param {*} [options] Override http request option.
9637
- * @throws {RequiredError}
9638
- * @memberof ClubAnalyticsApi
9639
- */
9640
- public getMostLikedClub(options?: RawAxiosRequestConfig) {
9641
- return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
9642
- }
9643
-
9644
- /**
9645
- * Récupère les clubs populaires
9646
- * @param {*} [options] Override http request option.
9647
- * @throws {RequiredError}
9648
- * @memberof ClubAnalyticsApi
9649
- */
9650
- public getPopularClubs(options?: RawAxiosRequestConfig) {
9651
- return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
9652
- }
9653
- }
9654
-
9655
-
9656
-
9657
- /**
9658
- * ClubAnalyticsStaffApi - axios parameter creator
9659
- * @export
9660
- */
9661
- export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
9662
- return {
9663
- /**
9664
- * Récupère les analytics par sport
9665
- * @param {string} sportId
9666
- * @param {*} [options] Override http request option.
9667
- * @throws {RequiredError}
9668
- */
9669
- getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9670
- // verify required parameter 'sportId' is not null or undefined
9671
- assertParamExists('getAnalyticsBySport', 'sportId', sportId)
9672
- const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
9673
- .replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
9674
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9675
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9676
- let baseOptions;
9677
- if (configuration) {
9678
- baseOptions = configuration.baseOptions;
9679
- }
9680
-
9681
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9682
- const localVarHeaderParameter = {} as any;
9683
- const localVarQueryParameter = {} as any;
9684
-
9685
- // authentication bearerAuth required
9686
- // http bearer authentication required
9687
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
9688
-
9689
-
9690
-
9691
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9692
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9693
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9694
-
9695
- return {
9696
- url: toPathString(localVarUrlObj),
9697
- options: localVarRequestOptions,
9698
- };
9699
- },
9700
- /**
9701
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
9702
- * @param {string} playerId
9703
- * @param {*} [options] Override http request option.
9704
- * @throws {RequiredError}
9705
- */
9706
- getClubPlayerBookingsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9707
- // verify required parameter 'playerId' is not null or undefined
9708
- assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
9709
- const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
9710
- .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
9711
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9712
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9713
- let baseOptions;
9714
- if (configuration) {
9715
- baseOptions = configuration.baseOptions;
9716
- }
9717
-
9718
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9719
- const localVarHeaderParameter = {} as any;
9720
- const localVarQueryParameter = {} as any;
9721
-
9722
- // authentication bearerAuth required
9723
- // http bearer authentication required
9724
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
9725
-
9726
-
9727
-
9728
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9729
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9730
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9731
-
9732
- return {
9733
- url: toPathString(localVarUrlObj),
9734
- options: localVarRequestOptions,
9735
- };
9271
+ const localVarFp = ClubAnalyticsApiFp(configuration)
9272
+ return {
9273
+ /**
9274
+ * Récupère les clubs les plus aimés
9275
+ * @param {*} [options] Override http request option.
9276
+ * @throws {RequiredError}
9277
+ */
9278
+ getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
9279
+ return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
9736
9280
  },
9737
9281
  /**
9738
- * Récupère les informations détaillées d\'un joueur par son ID
9739
- * @param {string} playerId
9282
+ * Récupère les clubs populaires
9740
9283
  * @param {*} [options] Override http request option.
9741
9284
  * @throws {RequiredError}
9742
9285
  */
9743
- getClubPlayerById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9744
- // verify required parameter 'playerId' is not null or undefined
9745
- assertParamExists('getClubPlayerById', 'playerId', playerId)
9746
- const localVarPath = `/api/club-analytics/players/{playerId}`
9747
- .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
9748
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9749
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9750
- let baseOptions;
9751
- if (configuration) {
9752
- baseOptions = configuration.baseOptions;
9753
- }
9286
+ getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
9287
+ return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
9288
+ },
9289
+ };
9290
+ };
9754
9291
 
9755
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9756
- const localVarHeaderParameter = {} as any;
9757
- const localVarQueryParameter = {} as any;
9292
+ /**
9293
+ * ClubAnalyticsApi - object-oriented interface
9294
+ * @export
9295
+ * @class ClubAnalyticsApi
9296
+ * @extends {BaseAPI}
9297
+ */
9298
+ export class ClubAnalyticsApi extends BaseAPI {
9299
+ /**
9300
+ * Récupère les clubs les plus aimés
9301
+ * @param {*} [options] Override http request option.
9302
+ * @throws {RequiredError}
9303
+ * @memberof ClubAnalyticsApi
9304
+ */
9305
+ public getMostLikedClub(options?: RawAxiosRequestConfig) {
9306
+ return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
9307
+ }
9758
9308
 
9759
- // authentication bearerAuth required
9760
- // http bearer authentication required
9761
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
9309
+ /**
9310
+ * Récupère les clubs populaires
9311
+ * @param {*} [options] Override http request option.
9312
+ * @throws {RequiredError}
9313
+ * @memberof ClubAnalyticsApi
9314
+ */
9315
+ public getPopularClubs(options?: RawAxiosRequestConfig) {
9316
+ return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
9317
+ }
9318
+ }
9762
9319
 
9763
9320
 
9764
-
9765
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9766
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9767
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9768
9321
 
9769
- return {
9770
- url: toPathString(localVarUrlObj),
9771
- options: localVarRequestOptions,
9772
- };
9773
- },
9322
+ /**
9323
+ * ClubAnalyticsStaffApi - axios parameter creator
9324
+ * @export
9325
+ */
9326
+ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
9327
+ return {
9774
9328
  /**
9775
- * Récupère les statistiques d\'un joueur pour le staff
9776
- * @param {string} playerId
9329
+ * Récupère les analytics par sport
9330
+ * @param {string} sportId
9777
9331
  * @param {*} [options] Override http request option.
9778
9332
  * @throws {RequiredError}
9779
9333
  */
9780
- getClubPlayerStatisticsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9781
- // verify required parameter 'playerId' is not null or undefined
9782
- assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId)
9783
- const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
9784
- .replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
9334
+ getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9335
+ // verify required parameter 'sportId' is not null or undefined
9336
+ assertParamExists('getAnalyticsBySport', 'sportId', sportId)
9337
+ const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
9338
+ .replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
9785
9339
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9786
9340
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9787
9341
  let baseOptions;
@@ -10165,42 +9719,6 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
10165
9719
  const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
10166
9720
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10167
9721
  },
10168
- /**
10169
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10170
- * @param {string} playerId
10171
- * @param {*} [options] Override http request option.
10172
- * @throws {RequiredError}
10173
- */
10174
- async getClubPlayerBookingsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>> {
10175
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
10176
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10177
- const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']?.[localVarOperationServerIndex]?.url;
10178
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10179
- },
10180
- /**
10181
- * Récupère les informations détaillées d\'un joueur par son ID
10182
- * @param {string} playerId
10183
- * @param {*} [options] Override http request option.
10184
- * @throws {RequiredError}
10185
- */
10186
- async getClubPlayerById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerDetailResponse>> {
10187
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerById(playerId, options);
10188
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10189
- const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']?.[localVarOperationServerIndex]?.url;
10190
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10191
- },
10192
- /**
10193
- * Récupère les statistiques d\'un joueur pour le staff
10194
- * @param {string} playerId
10195
- * @param {*} [options] Override http request option.
10196
- * @throws {RequiredError}
10197
- */
10198
- async getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>> {
10199
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
10200
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10201
- const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']?.[localVarOperationServerIndex]?.url;
10202
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10203
- },
10204
9722
  /**
10205
9723
  * Récupère la liste des joueurs du club
10206
9724
  * @param {*} [options] Override http request option.
@@ -10325,33 +9843,6 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
10325
9843
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
10326
9844
  return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
10327
9845
  },
10328
- /**
10329
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10330
- * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
10331
- * @param {*} [options] Override http request option.
10332
- * @throws {RequiredError}
10333
- */
10334
- getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse> {
10335
- return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
10336
- },
10337
- /**
10338
- * Récupère les informations détaillées d\'un joueur par son ID
10339
- * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
10340
- * @param {*} [options] Override http request option.
10341
- * @throws {RequiredError}
10342
- */
10343
- getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerDetailResponse> {
10344
- return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
10345
- },
10346
- /**
10347
- * Récupère les statistiques d\'un joueur pour le staff
10348
- * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
10349
- * @param {*} [options] Override http request option.
10350
- * @throws {RequiredError}
10351
- */
10352
- getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse> {
10353
- return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
10354
- },
10355
9846
  /**
10356
9847
  * Récupère la liste des joueurs du club
10357
9848
  * @param {*} [options] Override http request option.
@@ -10445,48 +9936,6 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
10445
9936
  readonly sportId: string
10446
9937
  }
10447
9938
 
10448
- /**
10449
- * Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
10450
- * @export
10451
- * @interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest
10452
- */
10453
- export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
10454
- /**
10455
- *
10456
- * @type {string}
10457
- * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
10458
- */
10459
- readonly playerId: string
10460
- }
10461
-
10462
- /**
10463
- * Request parameters for getClubPlayerById operation in ClubAnalyticsStaffApi.
10464
- * @export
10465
- * @interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest
10466
- */
10467
- export interface ClubAnalyticsStaffApiGetClubPlayerByIdRequest {
10468
- /**
10469
- *
10470
- * @type {string}
10471
- * @memberof ClubAnalyticsStaffApiGetClubPlayerById
10472
- */
10473
- readonly playerId: string
10474
- }
10475
-
10476
- /**
10477
- * Request parameters for getClubPlayerStatisticsById operation in ClubAnalyticsStaffApi.
10478
- * @export
10479
- * @interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest
10480
- */
10481
- export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
10482
- /**
10483
- *
10484
- * @type {string}
10485
- * @memberof ClubAnalyticsStaffApiGetClubPlayerStatisticsById
10486
- */
10487
- readonly playerId: string
10488
- }
10489
-
10490
9939
  /**
10491
9940
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
10492
9941
  * @export
@@ -10575,39 +10024,6 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
10575
10024
  return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
10576
10025
  }
10577
10026
 
10578
- /**
10579
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10580
- * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
10581
- * @param {*} [options] Override http request option.
10582
- * @throws {RequiredError}
10583
- * @memberof ClubAnalyticsStaffApi
10584
- */
10585
- public getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig) {
10586
- return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
10587
- }
10588
-
10589
- /**
10590
- * Récupère les informations détaillées d\'un joueur par son ID
10591
- * @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
10592
- * @param {*} [options] Override http request option.
10593
- * @throws {RequiredError}
10594
- * @memberof ClubAnalyticsStaffApi
10595
- */
10596
- public getClubPlayerById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerByIdRequest, options?: RawAxiosRequestConfig) {
10597
- return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
10598
- }
10599
-
10600
- /**
10601
- * Récupère les statistiques d\'un joueur pour le staff
10602
- * @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
10603
- * @param {*} [options] Override http request option.
10604
- * @throws {RequiredError}
10605
- * @memberof ClubAnalyticsStaffApi
10606
- */
10607
- public getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig) {
10608
- return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
10609
- }
10610
-
10611
10027
  /**
10612
10028
  * Récupère la liste des joueurs du club
10613
10029
  * @param {*} [options] Override http request option.
@@ -15995,64 +15411,161 @@ export interface SportsManagerApiDeleteSportRequest {
15995
15411
  }
15996
15412
 
15997
15413
  /**
15998
- * Request parameters for updateSport operation in SportsManagerApi.
15414
+ * Request parameters for updateSport operation in SportsManagerApi.
15415
+ * @export
15416
+ * @interface SportsManagerApiUpdateSportRequest
15417
+ */
15418
+ export interface SportsManagerApiUpdateSportRequest {
15419
+ /**
15420
+ *
15421
+ * @type {string}
15422
+ * @memberof SportsManagerApiUpdateSport
15423
+ */
15424
+ readonly id: string
15425
+
15426
+ /**
15427
+ *
15428
+ * @type {UpdateSportRequest}
15429
+ * @memberof SportsManagerApiUpdateSport
15430
+ */
15431
+ readonly updateSportRequest: UpdateSportRequest
15432
+ }
15433
+
15434
+ /**
15435
+ * SportsManagerApi - object-oriented interface
15436
+ * @export
15437
+ * @class SportsManagerApi
15438
+ * @extends {BaseAPI}
15439
+ */
15440
+ export class SportsManagerApi extends BaseAPI {
15441
+ /**
15442
+ * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
15443
+ * @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
15444
+ * @param {*} [options] Override http request option.
15445
+ * @throws {RequiredError}
15446
+ * @memberof SportsManagerApi
15447
+ */
15448
+ public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
15449
+ return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
15450
+ }
15451
+
15452
+ /**
15453
+ * Supprime un sport (interdit si vérifié)
15454
+ * @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
15455
+ * @param {*} [options] Override http request option.
15456
+ * @throws {RequiredError}
15457
+ * @memberof SportsManagerApi
15458
+ */
15459
+ public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
15460
+ return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
15461
+ }
15462
+
15463
+ /**
15464
+ * Met à jour un sport (interdit si vérifié)
15465
+ * @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
15466
+ * @param {*} [options] Override http request option.
15467
+ * @throws {RequiredError}
15468
+ * @memberof SportsManagerApi
15469
+ */
15470
+ public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
15471
+ return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
15472
+ }
15473
+ }
15474
+
15475
+
15476
+
15477
+ /**
15478
+ * SportsPublicApi - axios parameter creator
15479
+ * @export
15480
+ */
15481
+ export const SportsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
15482
+ return {
15483
+ /**
15484
+ * Récupère tous les sports vérifiés, accessibles publiquement
15485
+ * @param {*} [options] Override http request option.
15486
+ * @throws {RequiredError}
15487
+ */
15488
+ getVerifiedSports: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15489
+ const localVarPath = `/api/sports/verified`;
15490
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15491
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15492
+ let baseOptions;
15493
+ if (configuration) {
15494
+ baseOptions = configuration.baseOptions;
15495
+ }
15496
+
15497
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15498
+ const localVarHeaderParameter = {} as any;
15499
+ const localVarQueryParameter = {} as any;
15500
+
15501
+
15502
+
15503
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15505
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15506
+
15507
+ return {
15508
+ url: toPathString(localVarUrlObj),
15509
+ options: localVarRequestOptions,
15510
+ };
15511
+ },
15512
+ }
15513
+ };
15514
+
15515
+ /**
15516
+ * SportsPublicApi - functional programming interface
15999
15517
  * @export
16000
- * @interface SportsManagerApiUpdateSportRequest
16001
15518
  */
16002
- export interface SportsManagerApiUpdateSportRequest {
16003
- /**
16004
- *
16005
- * @type {string}
16006
- * @memberof SportsManagerApiUpdateSport
16007
- */
16008
- readonly id: string
15519
+ export const SportsPublicApiFp = function(configuration?: Configuration) {
15520
+ const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration)
15521
+ return {
15522
+ /**
15523
+ * Récupère tous les sports vérifiés, accessibles publiquement
15524
+ * @param {*} [options] Override http request option.
15525
+ * @throws {RequiredError}
15526
+ */
15527
+ async getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>> {
15528
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVerifiedSports(options);
15529
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15530
+ const localVarOperationServerBasePath = operationServerMap['SportsPublicApi.getVerifiedSports']?.[localVarOperationServerIndex]?.url;
15531
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15532
+ },
15533
+ }
15534
+ };
16009
15535
 
16010
- /**
16011
- *
16012
- * @type {UpdateSportRequest}
16013
- * @memberof SportsManagerApiUpdateSport
16014
- */
16015
- readonly updateSportRequest: UpdateSportRequest
16016
- }
15536
+ /**
15537
+ * SportsPublicApi - factory interface
15538
+ * @export
15539
+ */
15540
+ export const SportsPublicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15541
+ const localVarFp = SportsPublicApiFp(configuration)
15542
+ return {
15543
+ /**
15544
+ * Récupère tous les sports vérifiés, accessibles publiquement
15545
+ * @param {*} [options] Override http request option.
15546
+ * @throws {RequiredError}
15547
+ */
15548
+ getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
15549
+ return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
15550
+ },
15551
+ };
15552
+ };
16017
15553
 
16018
15554
  /**
16019
- * SportsManagerApi - object-oriented interface
15555
+ * SportsPublicApi - object-oriented interface
16020
15556
  * @export
16021
- * @class SportsManagerApi
15557
+ * @class SportsPublicApi
16022
15558
  * @extends {BaseAPI}
16023
15559
  */
16024
- export class SportsManagerApi extends BaseAPI {
16025
- /**
16026
- * Crée un sport (global) avec createdBy = clubId de l\'utilisateur
16027
- * @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
16028
- * @param {*} [options] Override http request option.
16029
- * @throws {RequiredError}
16030
- * @memberof SportsManagerApi
16031
- */
16032
- public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
16033
- return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
16034
- }
16035
-
16036
- /**
16037
- * Supprime un sport (interdit si vérifié)
16038
- * @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
16039
- * @param {*} [options] Override http request option.
16040
- * @throws {RequiredError}
16041
- * @memberof SportsManagerApi
16042
- */
16043
- public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
16044
- return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
16045
- }
16046
-
15560
+ export class SportsPublicApi extends BaseAPI {
16047
15561
  /**
16048
- * Met à jour un sport (interdit si vérifié)
16049
- * @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
15562
+ * Récupère tous les sports vérifiés, accessibles publiquement
16050
15563
  * @param {*} [options] Override http request option.
16051
15564
  * @throws {RequiredError}
16052
- * @memberof SportsManagerApi
15565
+ * @memberof SportsPublicApi
16053
15566
  */
16054
- public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
16055
- return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
15567
+ public getVerifiedSports(options?: RawAxiosRequestConfig) {
15568
+ return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
16056
15569
  }
16057
15570
  }
16058
15571
 
@@ -17169,45 +16682,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17169
16682
  options: localVarRequestOptions,
17170
16683
  };
17171
16684
  },
17172
- /**
17173
- *
17174
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
17175
- * @param {*} [options] Override http request option.
17176
- * @throws {RequiredError}
17177
- */
17178
- addPaymentMethodSetup: async (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17179
- // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
17180
- assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody)
17181
- const localVarPath = `/api/users/addPaymentMethodSetup`;
17182
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17183
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17184
- let baseOptions;
17185
- if (configuration) {
17186
- baseOptions = configuration.baseOptions;
17187
- }
17188
-
17189
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17190
- const localVarHeaderParameter = {} as any;
17191
- const localVarQueryParameter = {} as any;
17192
-
17193
- // authentication bearerAuth required
17194
- // http bearer authentication required
17195
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
17196
-
17197
-
17198
-
17199
- localVarHeaderParameter['Content-Type'] = 'application/json';
17200
-
17201
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17202
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17203
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17204
- localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration)
17205
-
17206
- return {
17207
- url: toPathString(localVarUrlObj),
17208
- options: localVarRequestOptions,
17209
- };
17210
- },
17211
16685
  /**
17212
16686
  *
17213
16687
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -17247,45 +16721,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
17247
16721
  options: localVarRequestOptions,
17248
16722
  };
17249
16723
  },
17250
- /**
17251
- *
17252
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
17253
- * @param {*} [options] Override http request option.
17254
- * @throws {RequiredError}
17255
- */
17256
- confirmPaymentMethodSetup: async (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17257
- // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
17258
- assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody)
17259
- const localVarPath = `/api/users/confirmPaymentMethodSetup`;
17260
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17261
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17262
- let baseOptions;
17263
- if (configuration) {
17264
- baseOptions = configuration.baseOptions;
17265
- }
17266
-
17267
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17268
- const localVarHeaderParameter = {} as any;
17269
- const localVarQueryParameter = {} as any;
17270
-
17271
- // authentication bearerAuth required
17272
- // http bearer authentication required
17273
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
17274
-
17275
-
17276
-
17277
- localVarHeaderParameter['Content-Type'] = 'application/json';
17278
-
17279
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17280
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17281
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17282
- localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration)
17283
-
17284
- return {
17285
- url: toPathString(localVarUrlObj),
17286
- options: localVarRequestOptions,
17287
- };
17288
- },
17289
16724
  /**
17290
16725
  *
17291
16726
  * @param {*} [options] Override http request option.
@@ -18222,45 +17657,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
18222
17657
  options: localVarRequestOptions,
18223
17658
  };
18224
17659
  },
18225
- /**
18226
- *
18227
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
18228
- * @param {*} [options] Override http request option.
18229
- * @throws {RequiredError}
18230
- */
18231
- setupOffSessionPaymentMethod: async (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18232
- // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
18233
- assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody)
18234
- const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
18235
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
18236
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18237
- let baseOptions;
18238
- if (configuration) {
18239
- baseOptions = configuration.baseOptions;
18240
- }
18241
-
18242
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18243
- const localVarHeaderParameter = {} as any;
18244
- const localVarQueryParameter = {} as any;
18245
-
18246
- // authentication bearerAuth required
18247
- // http bearer authentication required
18248
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
18249
-
18250
-
18251
-
18252
- localVarHeaderParameter['Content-Type'] = 'application/json';
18253
-
18254
- setSearchParams(localVarUrlObj, localVarQueryParameter);
18255
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18256
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18257
- localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration)
18258
-
18259
- return {
18260
- url: toPathString(localVarUrlObj),
18261
- options: localVarRequestOptions,
18262
- };
18263
- },
18264
17660
  /**
18265
17661
  *
18266
17662
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -18568,18 +17964,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18568
17964
  const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
18569
17965
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18570
17966
  },
18571
- /**
18572
- *
18573
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
18574
- * @param {*} [options] Override http request option.
18575
- * @throws {RequiredError}
18576
- */
18577
- async addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>> {
18578
- const localVarAxiosArgs = await localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
18579
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18580
- const localVarOperationServerBasePath = operationServerMap['UsersApi.addPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
18581
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18582
- },
18583
17967
  /**
18584
17968
  *
18585
17969
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -18592,18 +17976,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18592
17976
  const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
18593
17977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18594
17978
  },
18595
- /**
18596
- *
18597
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
18598
- * @param {*} [options] Override http request option.
18599
- * @throws {RequiredError}
18600
- */
18601
- async confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>> {
18602
- const localVarAxiosArgs = await localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
18603
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18604
- const localVarOperationServerBasePath = operationServerMap['UsersApi.confirmPaymentMethodSetup']?.[localVarOperationServerIndex]?.url;
18605
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18606
- },
18607
17979
  /**
18608
17980
  *
18609
17981
  * @param {*} [options] Override http request option.
@@ -18902,18 +18274,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
18902
18274
  const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
18903
18275
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18904
18276
  },
18905
- /**
18906
- *
18907
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
18908
- * @param {*} [options] Override http request option.
18909
- * @throws {RequiredError}
18910
- */
18911
- async setupOffSessionPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>> {
18912
- const localVarAxiosArgs = await localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
18913
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18914
- const localVarOperationServerBasePath = operationServerMap['UsersApi.setupOffSessionPaymentMethod']?.[localVarOperationServerIndex]?.url;
18915
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18916
- },
18917
18277
  /**
18918
18278
  *
18919
18279
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -19035,15 +18395,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
19035
18395
  addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
19036
18396
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
19037
18397
  },
19038
- /**
19039
- *
19040
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
19041
- * @param {*} [options] Override http request option.
19042
- * @throws {RequiredError}
19043
- */
19044
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse> {
19045
- return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
19046
- },
19047
18398
  /**
19048
18399
  *
19049
18400
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -19053,15 +18404,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
19053
18404
  changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
19054
18405
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
19055
18406
  },
19056
- /**
19057
- *
19058
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
19059
- * @param {*} [options] Override http request option.
19060
- * @throws {RequiredError}
19061
- */
19062
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse> {
19063
- return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
19064
- },
19065
18407
  /**
19066
18408
  *
19067
18409
  * @param {*} [options] Override http request option.
@@ -19270,15 +18612,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
19270
18612
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
19271
18613
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
19272
18614
  },
19273
- /**
19274
- *
19275
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
19276
- * @param {*} [options] Override http request option.
19277
- * @throws {RequiredError}
19278
- */
19279
- setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse> {
19280
- return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
19281
- },
19282
18615
  /**
19283
18616
  *
19284
18617
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -19387,20 +18720,6 @@ export interface UsersApiAddOrganizationRequest {
19387
18720
  readonly addOrganizationRequest: AddOrganizationRequest
19388
18721
  }
19389
18722
 
19390
- /**
19391
- * Request parameters for addPaymentMethodSetup operation in UsersApi.
19392
- * @export
19393
- * @interface UsersApiAddPaymentMethodSetupRequest
19394
- */
19395
- export interface UsersApiAddPaymentMethodSetupRequest {
19396
- /**
19397
- *
19398
- * @type {AddPaymentMethodRequestBody}
19399
- * @memberof UsersApiAddPaymentMethodSetup
19400
- */
19401
- readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody
19402
- }
19403
-
19404
18723
  /**
19405
18724
  * Request parameters for changePassword operation in UsersApi.
19406
18725
  * @export
@@ -19415,20 +18734,6 @@ export interface UsersApiChangePasswordRequest {
19415
18734
  readonly changePasswordRequestBody: ChangePasswordRequestBody
19416
18735
  }
19417
18736
 
19418
- /**
19419
- * Request parameters for confirmPaymentMethodSetup operation in UsersApi.
19420
- * @export
19421
- * @interface UsersApiConfirmPaymentMethodSetupRequest
19422
- */
19423
- export interface UsersApiConfirmPaymentMethodSetupRequest {
19424
- /**
19425
- *
19426
- * @type {ConfirmPaymentMethodRequestBody}
19427
- * @memberof UsersApiConfirmPaymentMethodSetup
19428
- */
19429
- readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody
19430
- }
19431
-
19432
18737
  /**
19433
18738
  * Request parameters for getBookingDetail operation in UsersApi.
19434
18739
  * @export
@@ -19779,20 +19084,6 @@ export interface UsersApiResetPasswordRequest {
19779
19084
  readonly resetPasswordRequest: ResetPasswordRequest
19780
19085
  }
19781
19086
 
19782
- /**
19783
- * Request parameters for setupOffSessionPaymentMethod operation in UsersApi.
19784
- * @export
19785
- * @interface UsersApiSetupOffSessionPaymentMethodRequest
19786
- */
19787
- export interface UsersApiSetupOffSessionPaymentMethodRequest {
19788
- /**
19789
- *
19790
- * @type {SetupPaymentMethodRequestBody}
19791
- * @memberof UsersApiSetupOffSessionPaymentMethod
19792
- */
19793
- readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody
19794
- }
19795
-
19796
19087
  /**
19797
19088
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
19798
19089
  * @export
@@ -19931,17 +19222,6 @@ export class UsersApi extends BaseAPI {
19931
19222
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
19932
19223
  }
19933
19224
 
19934
- /**
19935
- *
19936
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
19937
- * @param {*} [options] Override http request option.
19938
- * @throws {RequiredError}
19939
- * @memberof UsersApi
19940
- */
19941
- public addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
19942
- return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
19943
- }
19944
-
19945
19225
  /**
19946
19226
  *
19947
19227
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -19953,17 +19233,6 @@ export class UsersApi extends BaseAPI {
19953
19233
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
19954
19234
  }
19955
19235
 
19956
- /**
19957
- *
19958
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
19959
- * @param {*} [options] Override http request option.
19960
- * @throws {RequiredError}
19961
- * @memberof UsersApi
19962
- */
19963
- public confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig) {
19964
- return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
19965
- }
19966
-
19967
19236
  /**
19968
19237
  *
19969
19238
  * @param {*} [options] Override http request option.
@@ -20220,17 +19489,6 @@ export class UsersApi extends BaseAPI {
20220
19489
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
20221
19490
  }
20222
19491
 
20223
- /**
20224
- *
20225
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
20226
- * @param {*} [options] Override http request option.
20227
- * @throws {RequiredError}
20228
- * @memberof UsersApi
20229
- */
20230
- public setupOffSessionPaymentMethod(requestParameters: UsersApiSetupOffSessionPaymentMethodRequest, options?: RawAxiosRequestConfig) {
20231
- return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
20232
- }
20233
-
20234
19492
  /**
20235
19493
  *
20236
19494
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.