@tennac-booking/sdk 1.0.75 → 1.0.76
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.
- package/.openapi-generator/FILES +245 -234
- package/README.md +22 -5
- package/api.ts +1239 -466
- package/dist/api.d.ts +1015 -405
- package/dist/api.js +394 -160
- package/dist/esm/api.d.ts +1015 -405
- package/dist/esm/api.js +393 -155
- package/docs/{BookingPriceBody.md → AddPaymentMethodRequestBody.md} +5 -7
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +0 -2
- package/docs/BookingResponse.md +0 -2
- package/docs/BookingsApi.md +0 -52
- package/docs/ClubAnalyticsStaffApi.md +167 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsResponse.md +22 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubResponse.md +0 -8
- package/docs/ClubSettingsResponse.md +2 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +2 -0
- package/docs/IUserAttributes.md +12 -2
- package/docs/PartialClubResponse.md +0 -8
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +20 -0
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/StaffUserProfileResponse.md +12 -2
- package/docs/SubscribeRequestBody.md +0 -2
- package/docs/UserProfileResponse.md +12 -4
- package/docs/UsersApi.md +156 -0
- package/package.json +1 -1
- package/docs/PlayerPrice.md +0 -30
- package/docs/SportsPublicApi.md +0 -53
- package/docs/SubscriptionInfo.md +0 -24
package/api.ts
CHANGED
|
@@ -92,6 +92,19 @@ export interface AddOrganizationRequest {
|
|
|
92
92
|
*/
|
|
93
93
|
'organizationId'?: string;
|
|
94
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @export
|
|
98
|
+
* @interface AddPaymentMethodRequestBody
|
|
99
|
+
*/
|
|
100
|
+
export interface AddPaymentMethodRequestBody {
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof AddPaymentMethodRequestBody
|
|
105
|
+
*/
|
|
106
|
+
'paymentMethodId': string;
|
|
107
|
+
}
|
|
95
108
|
/**
|
|
96
109
|
*
|
|
97
110
|
* @export
|
|
@@ -346,10 +359,10 @@ export interface BookingInfo {
|
|
|
346
359
|
'totalPrice': number;
|
|
347
360
|
/**
|
|
348
361
|
* ID du créneau
|
|
349
|
-
* @type {
|
|
362
|
+
* @type {string}
|
|
350
363
|
* @memberof BookingInfo
|
|
351
364
|
*/
|
|
352
|
-
'
|
|
365
|
+
'slotId': string;
|
|
353
366
|
/**
|
|
354
367
|
* Indique si le créateur paie pour tous
|
|
355
368
|
* @type {boolean}
|
|
@@ -562,12 +575,6 @@ export interface BookingPopulated {
|
|
|
562
575
|
* @memberof BookingPopulated
|
|
563
576
|
*/
|
|
564
577
|
'isCreatorPayingAll': boolean;
|
|
565
|
-
/**
|
|
566
|
-
*
|
|
567
|
-
* @type {Array<string>}
|
|
568
|
-
* @memberof BookingPopulated
|
|
569
|
-
*/
|
|
570
|
-
'playersIds': Array<string>;
|
|
571
578
|
/**
|
|
572
579
|
*
|
|
573
580
|
* @type {Array<BookingHistoryPopulated>}
|
|
@@ -601,25 +608,6 @@ export interface BookingPopulated {
|
|
|
601
608
|
}
|
|
602
609
|
|
|
603
610
|
|
|
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
|
-
}
|
|
623
611
|
/**
|
|
624
612
|
*
|
|
625
613
|
* @export
|
|
@@ -650,12 +638,6 @@ export interface BookingResponse {
|
|
|
650
638
|
* @memberof BookingResponse
|
|
651
639
|
*/
|
|
652
640
|
'onsitePayments'?: Array<BookingResponseOnsitePaymentsInner>;
|
|
653
|
-
/**
|
|
654
|
-
*
|
|
655
|
-
* @type {string}
|
|
656
|
-
* @memberof BookingResponse
|
|
657
|
-
*/
|
|
658
|
-
'setupNoShowPaymentUrl'?: string;
|
|
659
641
|
/**
|
|
660
642
|
* Message de confirmation
|
|
661
643
|
* @type {string}
|
|
@@ -1046,6 +1028,196 @@ export interface ClubMemberResponseUser {
|
|
|
1046
1028
|
*/
|
|
1047
1029
|
'id': string;
|
|
1048
1030
|
}
|
|
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
|
+
}
|
|
1049
1221
|
/**
|
|
1050
1222
|
*
|
|
1051
1223
|
* @export
|
|
@@ -1107,6 +1279,216 @@ export interface ClubPlayerResponse {
|
|
|
1107
1279
|
*/
|
|
1108
1280
|
'isSubscribedToClub': boolean;
|
|
1109
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
|
|
1483
|
+
*/
|
|
1484
|
+
'currency': string | null;
|
|
1485
|
+
/**
|
|
1486
|
+
* Intervalle de facturation
|
|
1487
|
+
* @type {string}
|
|
1488
|
+
* @memberof ClubPlayerSubscriptionSummary
|
|
1489
|
+
*/
|
|
1490
|
+
'interval': string | null;
|
|
1491
|
+
}
|
|
1110
1492
|
/**
|
|
1111
1493
|
*
|
|
1112
1494
|
* @export
|
|
@@ -1197,30 +1579,6 @@ export interface ClubResponse {
|
|
|
1197
1579
|
* @memberof ClubResponse
|
|
1198
1580
|
*/
|
|
1199
1581
|
'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;
|
|
1224
1582
|
/**
|
|
1225
1583
|
*
|
|
1226
1584
|
* @type {ClubResponseCreatedAt}
|
|
@@ -1386,6 +1744,12 @@ export interface ClubSettingsResponse {
|
|
|
1386
1744
|
* @memberof ClubSettingsResponse
|
|
1387
1745
|
*/
|
|
1388
1746
|
'maxWeeklyBookings': number;
|
|
1747
|
+
/**
|
|
1748
|
+
* Autoriser plusieurs réservations en même temps
|
|
1749
|
+
* @type {boolean}
|
|
1750
|
+
* @memberof ClubSettingsResponse
|
|
1751
|
+
*/
|
|
1752
|
+
'allowMultipleBookingsAtTheSameTime': boolean;
|
|
1389
1753
|
/**
|
|
1390
1754
|
* Limite de réservations simultanées
|
|
1391
1755
|
* @type {number}
|
|
@@ -1510,6 +1874,38 @@ export interface ClubUserCountResponse {
|
|
|
1510
1874
|
*/
|
|
1511
1875
|
'count': number;
|
|
1512
1876
|
}
|
|
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
|
+
}
|
|
1513
1909
|
/**
|
|
1514
1910
|
*
|
|
1515
1911
|
* @export
|
|
@@ -1672,10 +2068,10 @@ export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
|
|
|
1672
2068
|
export interface CreateBookingRequest {
|
|
1673
2069
|
/**
|
|
1674
2070
|
* ID du créneau à réserver
|
|
1675
|
-
* @type {
|
|
2071
|
+
* @type {string}
|
|
1676
2072
|
* @memberof CreateBookingRequest
|
|
1677
2073
|
*/
|
|
1678
|
-
'
|
|
2074
|
+
'slotId': string;
|
|
1679
2075
|
/**
|
|
1680
2076
|
* Liste des joueurs avec leurs méthodes de paiement
|
|
1681
2077
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -1987,6 +2383,12 @@ export interface CreateEventRequest {
|
|
|
1987
2383
|
* @memberof CreateEventRequest
|
|
1988
2384
|
*/
|
|
1989
2385
|
'subscriberPrices'?: Array<SubscriberPrice>;
|
|
2386
|
+
/**
|
|
2387
|
+
*
|
|
2388
|
+
* @type {Array<number>}
|
|
2389
|
+
* @memberof CreateEventRequest
|
|
2390
|
+
*/
|
|
2391
|
+
'levels'?: Array<number>;
|
|
1990
2392
|
/**
|
|
1991
2393
|
*
|
|
1992
2394
|
* @type {string}
|
|
@@ -3129,12 +3531,24 @@ export interface IUserAttributes {
|
|
|
3129
3531
|
* @memberof IUserAttributes
|
|
3130
3532
|
*/
|
|
3131
3533
|
'isAccountVerified': boolean;
|
|
3534
|
+
/**
|
|
3535
|
+
*
|
|
3536
|
+
* @type {boolean}
|
|
3537
|
+
* @memberof IUserAttributes
|
|
3538
|
+
*/
|
|
3539
|
+
'isCreditCardRegistered'?: boolean;
|
|
3132
3540
|
/**
|
|
3133
3541
|
*
|
|
3134
3542
|
* @type {Array<ILevelBySports>}
|
|
3135
3543
|
* @memberof IUserAttributes
|
|
3136
3544
|
*/
|
|
3137
3545
|
'levelBySports'?: Array<ILevelBySports>;
|
|
3546
|
+
/**
|
|
3547
|
+
*
|
|
3548
|
+
* @type {string}
|
|
3549
|
+
* @memberof IUserAttributes
|
|
3550
|
+
*/
|
|
3551
|
+
'stripeCustomerId'?: string;
|
|
3138
3552
|
/**
|
|
3139
3553
|
*
|
|
3140
3554
|
* @type {string}
|
|
@@ -3207,6 +3621,30 @@ export interface IUserAttributes {
|
|
|
3207
3621
|
* @memberof IUserAttributes
|
|
3208
3622
|
*/
|
|
3209
3623
|
'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;
|
|
3210
3648
|
/**
|
|
3211
3649
|
*
|
|
3212
3650
|
* @type {Array<string>}
|
|
@@ -3237,12 +3675,6 @@ export interface IUserAttributes {
|
|
|
3237
3675
|
* @memberof IUserAttributes
|
|
3238
3676
|
*/
|
|
3239
3677
|
'sports'?: { [key: string]: any; };
|
|
3240
|
-
/**
|
|
3241
|
-
*
|
|
3242
|
-
* @type {string}
|
|
3243
|
-
* @memberof IUserAttributes
|
|
3244
|
-
*/
|
|
3245
|
-
'stripeCustomerId'?: string;
|
|
3246
3678
|
}
|
|
3247
3679
|
|
|
3248
3680
|
|
|
@@ -3790,30 +4222,6 @@ export interface PartialClubResponse {
|
|
|
3790
4222
|
* @memberof PartialClubResponse
|
|
3791
4223
|
*/
|
|
3792
4224
|
'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;
|
|
3817
4225
|
/**
|
|
3818
4226
|
*
|
|
3819
4227
|
* @type {ClubResponseCreatedAt}
|
|
@@ -3874,6 +4282,31 @@ export const PaymentMethod = {
|
|
|
3874
4282
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
3875
4283
|
|
|
3876
4284
|
|
|
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
|
+
}
|
|
3877
4310
|
/**
|
|
3878
4311
|
* From T, pick a set of properties whose keys are in the union K
|
|
3879
4312
|
* @export
|
|
@@ -4126,49 +4559,6 @@ export interface PlayerPaymentInfo {
|
|
|
4126
4559
|
}
|
|
4127
4560
|
|
|
4128
4561
|
|
|
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
|
-
}
|
|
4172
4562
|
/**
|
|
4173
4563
|
*
|
|
4174
4564
|
* @export
|
|
@@ -4865,6 +5255,44 @@ export interface ResetPasswordRequest {
|
|
|
4865
5255
|
*/
|
|
4866
5256
|
'token'?: string;
|
|
4867
5257
|
}
|
|
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
|
+
}
|
|
4868
5296
|
/**
|
|
4869
5297
|
*
|
|
4870
5298
|
* @export
|
|
@@ -4894,7 +5322,7 @@ export interface SlotInfo {
|
|
|
4894
5322
|
* @type {CourtInfo}
|
|
4895
5323
|
* @memberof SlotInfo
|
|
4896
5324
|
*/
|
|
4897
|
-
'
|
|
5325
|
+
'court': CourtInfo;
|
|
4898
5326
|
}
|
|
4899
5327
|
/**
|
|
4900
5328
|
*
|
|
@@ -5141,12 +5569,24 @@ export interface StaffUserProfileResponse {
|
|
|
5141
5569
|
* @memberof StaffUserProfileResponse
|
|
5142
5570
|
*/
|
|
5143
5571
|
'isAccountVerified': boolean;
|
|
5572
|
+
/**
|
|
5573
|
+
*
|
|
5574
|
+
* @type {boolean}
|
|
5575
|
+
* @memberof StaffUserProfileResponse
|
|
5576
|
+
*/
|
|
5577
|
+
'isCreditCardRegistered'?: boolean;
|
|
5144
5578
|
/**
|
|
5145
5579
|
*
|
|
5146
5580
|
* @type {Array<ILevelBySports>}
|
|
5147
5581
|
* @memberof StaffUserProfileResponse
|
|
5148
5582
|
*/
|
|
5149
5583
|
'levelBySports'?: Array<ILevelBySports>;
|
|
5584
|
+
/**
|
|
5585
|
+
*
|
|
5586
|
+
* @type {string}
|
|
5587
|
+
* @memberof StaffUserProfileResponse
|
|
5588
|
+
*/
|
|
5589
|
+
'stripeCustomerId'?: string;
|
|
5150
5590
|
/**
|
|
5151
5591
|
*
|
|
5152
5592
|
* @type {string}
|
|
@@ -5182,43 +5622,67 @@ export interface StaffUserProfileResponse {
|
|
|
5182
5622
|
* @type {string}
|
|
5183
5623
|
* @memberof StaffUserProfileResponse
|
|
5184
5624
|
*/
|
|
5185
|
-
'emailVerificationToken'?: string;
|
|
5625
|
+
'emailVerificationToken'?: string;
|
|
5626
|
+
/**
|
|
5627
|
+
*
|
|
5628
|
+
* @type {string}
|
|
5629
|
+
* @memberof StaffUserProfileResponse
|
|
5630
|
+
*/
|
|
5631
|
+
'emailVerificationExpires'?: string;
|
|
5632
|
+
/**
|
|
5633
|
+
*
|
|
5634
|
+
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
5635
|
+
* @memberof StaffUserProfileResponse
|
|
5636
|
+
*/
|
|
5637
|
+
'organizations'?: Array<IUserAttributesOrganizationsInner>;
|
|
5638
|
+
/**
|
|
5639
|
+
*
|
|
5640
|
+
* @type {boolean}
|
|
5641
|
+
* @memberof StaffUserProfileResponse
|
|
5642
|
+
*/
|
|
5643
|
+
'isAdmin': boolean;
|
|
5644
|
+
/**
|
|
5645
|
+
*
|
|
5646
|
+
* @type {string}
|
|
5647
|
+
* @memberof StaffUserProfileResponse
|
|
5648
|
+
*/
|
|
5649
|
+
'createdAt': string;
|
|
5186
5650
|
/**
|
|
5187
5651
|
*
|
|
5188
5652
|
* @type {string}
|
|
5189
5653
|
* @memberof StaffUserProfileResponse
|
|
5190
5654
|
*/
|
|
5191
|
-
'
|
|
5655
|
+
'updatedAt': string;
|
|
5192
5656
|
/**
|
|
5193
5657
|
*
|
|
5194
|
-
* @type {
|
|
5658
|
+
* @type {boolean}
|
|
5195
5659
|
* @memberof StaffUserProfileResponse
|
|
5196
5660
|
*/
|
|
5197
|
-
'
|
|
5661
|
+
'isLevelCertified'?: boolean;
|
|
5198
5662
|
/**
|
|
5199
5663
|
*
|
|
5200
|
-
* @type {
|
|
5664
|
+
* @type {Array<string>}
|
|
5201
5665
|
* @memberof StaffUserProfileResponse
|
|
5202
5666
|
*/
|
|
5203
|
-
'
|
|
5667
|
+
'paymentMethods'?: Array<string>;
|
|
5204
5668
|
/**
|
|
5205
5669
|
*
|
|
5206
5670
|
* @type {string}
|
|
5207
5671
|
* @memberof StaffUserProfileResponse
|
|
5208
5672
|
*/
|
|
5209
|
-
'
|
|
5673
|
+
'defaultPaymentMethodId'?: string;
|
|
5210
5674
|
/**
|
|
5211
5675
|
*
|
|
5212
|
-
* @type {
|
|
5676
|
+
* @type {boolean}
|
|
5213
5677
|
* @memberof StaffUserProfileResponse
|
|
5214
5678
|
*/
|
|
5215
|
-
'
|
|
5679
|
+
'paymentMethodSetupCompleted': boolean;
|
|
5216
5680
|
/**
|
|
5217
5681
|
*
|
|
5218
|
-
* @type {
|
|
5682
|
+
* @type {string}
|
|
5219
5683
|
* @memberof StaffUserProfileResponse
|
|
5220
5684
|
*/
|
|
5221
|
-
'
|
|
5685
|
+
'setupIntentId'?: string;
|
|
5222
5686
|
/**
|
|
5223
5687
|
*
|
|
5224
5688
|
* @type {Array<string>}
|
|
@@ -5249,12 +5713,6 @@ export interface StaffUserProfileResponse {
|
|
|
5249
5713
|
* @memberof StaffUserProfileResponse
|
|
5250
5714
|
*/
|
|
5251
5715
|
'sports'?: { [key: string]: any; };
|
|
5252
|
-
/**
|
|
5253
|
-
*
|
|
5254
|
-
* @type {string}
|
|
5255
|
-
* @memberof StaffUserProfileResponse
|
|
5256
|
-
*/
|
|
5257
|
-
'stripeCustomerId'?: string;
|
|
5258
5716
|
/**
|
|
5259
5717
|
*
|
|
5260
5718
|
* @type {boolean}
|
|
@@ -6548,12 +7006,6 @@ export interface SubscribeRequestBody {
|
|
|
6548
7006
|
* @memberof SubscribeRequestBody
|
|
6549
7007
|
*/
|
|
6550
7008
|
'priceId': string;
|
|
6551
|
-
/**
|
|
6552
|
-
*
|
|
6553
|
-
* @type {boolean}
|
|
6554
|
-
* @memberof SubscribeRequestBody
|
|
6555
|
-
*/
|
|
6556
|
-
'useDefaultPaymentMethod'?: boolean;
|
|
6557
7009
|
}
|
|
6558
7010
|
/**
|
|
6559
7011
|
*
|
|
@@ -6574,31 +7026,6 @@ export interface SubscriberPrice {
|
|
|
6574
7026
|
*/
|
|
6575
7027
|
'amount': number;
|
|
6576
7028
|
}
|
|
6577
|
-
/**
|
|
6578
|
-
*
|
|
6579
|
-
* @export
|
|
6580
|
-
* @interface SubscriptionInfo
|
|
6581
|
-
*/
|
|
6582
|
-
export interface SubscriptionInfo {
|
|
6583
|
-
/**
|
|
6584
|
-
*
|
|
6585
|
-
* @type {string}
|
|
6586
|
-
* @memberof SubscriptionInfo
|
|
6587
|
-
*/
|
|
6588
|
-
'subscriptionPlanName'?: string;
|
|
6589
|
-
/**
|
|
6590
|
-
*
|
|
6591
|
-
* @type {string}
|
|
6592
|
-
* @memberof SubscriptionInfo
|
|
6593
|
-
*/
|
|
6594
|
-
'subscriptionDescription'?: string;
|
|
6595
|
-
/**
|
|
6596
|
-
*
|
|
6597
|
-
* @type {number}
|
|
6598
|
-
* @memberof SubscriptionInfo
|
|
6599
|
-
*/
|
|
6600
|
-
'reducedAmountInCents'?: number;
|
|
6601
|
-
}
|
|
6602
7029
|
/**
|
|
6603
7030
|
*
|
|
6604
7031
|
* @export
|
|
@@ -7514,12 +7941,24 @@ export interface UserProfileResponse {
|
|
|
7514
7941
|
* @memberof UserProfileResponse
|
|
7515
7942
|
*/
|
|
7516
7943
|
'isAccountVerified': boolean;
|
|
7944
|
+
/**
|
|
7945
|
+
*
|
|
7946
|
+
* @type {boolean}
|
|
7947
|
+
* @memberof UserProfileResponse
|
|
7948
|
+
*/
|
|
7949
|
+
'isCreditCardRegistered'?: boolean;
|
|
7517
7950
|
/**
|
|
7518
7951
|
*
|
|
7519
7952
|
* @type {Array<ILevelBySports>}
|
|
7520
7953
|
* @memberof UserProfileResponse
|
|
7521
7954
|
*/
|
|
7522
7955
|
'levelBySports'?: Array<ILevelBySports>;
|
|
7956
|
+
/**
|
|
7957
|
+
*
|
|
7958
|
+
* @type {string}
|
|
7959
|
+
* @memberof UserProfileResponse
|
|
7960
|
+
*/
|
|
7961
|
+
'stripeCustomerId'?: string;
|
|
7523
7962
|
/**
|
|
7524
7963
|
*
|
|
7525
7964
|
* @type {string}
|
|
@@ -7592,6 +8031,30 @@ export interface UserProfileResponse {
|
|
|
7592
8031
|
* @memberof UserProfileResponse
|
|
7593
8032
|
*/
|
|
7594
8033
|
'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;
|
|
7595
8058
|
/**
|
|
7596
8059
|
*
|
|
7597
8060
|
* @type {Array<string>}
|
|
@@ -7622,12 +8085,6 @@ export interface UserProfileResponse {
|
|
|
7622
8085
|
* @memberof UserProfileResponse
|
|
7623
8086
|
*/
|
|
7624
8087
|
'sports'?: { [key: string]: any; };
|
|
7625
|
-
/**
|
|
7626
|
-
*
|
|
7627
|
-
* @type {string}
|
|
7628
|
-
* @memberof UserProfileResponse
|
|
7629
|
-
*/
|
|
7630
|
-
'stripeCustomerId'?: string;
|
|
7631
8088
|
/**
|
|
7632
8089
|
*
|
|
7633
8090
|
* @type {number}
|
|
@@ -7664,12 +8121,6 @@ export interface UserProfileResponse {
|
|
|
7664
8121
|
* @memberof UserProfileResponse
|
|
7665
8122
|
*/
|
|
7666
8123
|
'stripeLinks'?: { [key: string]: any; };
|
|
7667
|
-
/**
|
|
7668
|
-
*
|
|
7669
|
-
* @type {Array<SportResponse>}
|
|
7670
|
-
* @memberof UserProfileResponse
|
|
7671
|
-
*/
|
|
7672
|
-
'verifiedSports'?: Array<SportResponse>;
|
|
7673
8124
|
}
|
|
7674
8125
|
|
|
7675
8126
|
|
|
@@ -7787,45 +8238,6 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7787
8238
|
options: localVarRequestOptions,
|
|
7788
8239
|
};
|
|
7789
8240
|
},
|
|
7790
|
-
/**
|
|
7791
|
-
*
|
|
7792
|
-
* @param {BookingPriceBody} bookingPriceBody
|
|
7793
|
-
* @param {*} [options] Override http request option.
|
|
7794
|
-
* @throws {RequiredError}
|
|
7795
|
-
*/
|
|
7796
|
-
getBookingPrice: async (bookingPriceBody: BookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7797
|
-
// verify required parameter 'bookingPriceBody' is not null or undefined
|
|
7798
|
-
assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody)
|
|
7799
|
-
const localVarPath = `/api/bookings/booking-price`;
|
|
7800
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7801
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7802
|
-
let baseOptions;
|
|
7803
|
-
if (configuration) {
|
|
7804
|
-
baseOptions = configuration.baseOptions;
|
|
7805
|
-
}
|
|
7806
|
-
|
|
7807
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7808
|
-
const localVarHeaderParameter = {} as any;
|
|
7809
|
-
const localVarQueryParameter = {} as any;
|
|
7810
|
-
|
|
7811
|
-
// authentication bearerAuth required
|
|
7812
|
-
// http bearer authentication required
|
|
7813
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7818
|
-
|
|
7819
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7820
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7821
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7822
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration)
|
|
7823
|
-
|
|
7824
|
-
return {
|
|
7825
|
-
url: toPathString(localVarUrlObj),
|
|
7826
|
-
options: localVarRequestOptions,
|
|
7827
|
-
};
|
|
7828
|
-
},
|
|
7829
8241
|
/**
|
|
7830
8242
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7831
8243
|
* @param {number} [latitude]
|
|
@@ -7927,18 +8339,6 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
7927
8339
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingHistory']?.[localVarOperationServerIndex]?.url;
|
|
7928
8340
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7929
8341
|
},
|
|
7930
|
-
/**
|
|
7931
|
-
*
|
|
7932
|
-
* @param {BookingPriceBody} bookingPriceBody
|
|
7933
|
-
* @param {*} [options] Override http request option.
|
|
7934
|
-
* @throws {RequiredError}
|
|
7935
|
-
*/
|
|
7936
|
-
async getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>> {
|
|
7937
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
|
|
7938
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7939
|
-
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
|
|
7940
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7941
|
-
},
|
|
7942
8342
|
/**
|
|
7943
8343
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7944
8344
|
* @param {number} [latitude]
|
|
@@ -7979,15 +8379,6 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
7979
8379
|
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated> {
|
|
7980
8380
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
7981
8381
|
},
|
|
7982
|
-
/**
|
|
7983
|
-
*
|
|
7984
|
-
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
7985
|
-
* @param {*} [options] Override http request option.
|
|
7986
|
-
* @throws {RequiredError}
|
|
7987
|
-
*/
|
|
7988
|
-
getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>> {
|
|
7989
|
-
return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
|
|
7990
|
-
},
|
|
7991
8382
|
/**
|
|
7992
8383
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7993
8384
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -8014,20 +8405,6 @@ export interface BookingsApiGetBookingHistoryRequest {
|
|
|
8014
8405
|
readonly bookingId: string
|
|
8015
8406
|
}
|
|
8016
8407
|
|
|
8017
|
-
/**
|
|
8018
|
-
* Request parameters for getBookingPrice operation in BookingsApi.
|
|
8019
|
-
* @export
|
|
8020
|
-
* @interface BookingsApiGetBookingPriceRequest
|
|
8021
|
-
*/
|
|
8022
|
-
export interface BookingsApiGetBookingPriceRequest {
|
|
8023
|
-
/**
|
|
8024
|
-
*
|
|
8025
|
-
* @type {BookingPriceBody}
|
|
8026
|
-
* @memberof BookingsApiGetBookingPrice
|
|
8027
|
-
*/
|
|
8028
|
-
readonly bookingPriceBody: BookingPriceBody
|
|
8029
|
-
}
|
|
8030
|
-
|
|
8031
8408
|
/**
|
|
8032
8409
|
* Request parameters for getQuickReservationSlots operation in BookingsApi.
|
|
8033
8410
|
* @export
|
|
@@ -8123,17 +8500,6 @@ export class BookingsApi extends BaseAPI {
|
|
|
8123
8500
|
return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
8124
8501
|
}
|
|
8125
8502
|
|
|
8126
|
-
/**
|
|
8127
|
-
*
|
|
8128
|
-
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
8129
|
-
* @param {*} [options] Override http request option.
|
|
8130
|
-
* @throws {RequiredError}
|
|
8131
|
-
* @memberof BookingsApi
|
|
8132
|
-
*/
|
|
8133
|
-
public getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig) {
|
|
8134
|
-
return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
8135
|
-
}
|
|
8136
|
-
|
|
8137
8503
|
/**
|
|
8138
8504
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
8139
8505
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -9248,63 +9614,174 @@ export const ClubAnalyticsApiFactory = function (configuration?: Configuration,
|
|
|
9248
9614
|
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
9249
9615
|
},
|
|
9250
9616
|
/**
|
|
9251
|
-
* Récupère les clubs populaires
|
|
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
|
+
};
|
|
9736
|
+
},
|
|
9737
|
+
/**
|
|
9738
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
9739
|
+
* @param {string} playerId
|
|
9252
9740
|
* @param {*} [options] Override http request option.
|
|
9253
9741
|
* @throws {RequiredError}
|
|
9254
9742
|
*/
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
};
|
|
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
|
+
}
|
|
9260
9754
|
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
* @class ClubAnalyticsApi
|
|
9265
|
-
* @extends {BaseAPI}
|
|
9266
|
-
*/
|
|
9267
|
-
export class ClubAnalyticsApi extends BaseAPI {
|
|
9268
|
-
/**
|
|
9269
|
-
* Récupère les clubs les plus aimés
|
|
9270
|
-
* @param {*} [options] Override http request option.
|
|
9271
|
-
* @throws {RequiredError}
|
|
9272
|
-
* @memberof ClubAnalyticsApi
|
|
9273
|
-
*/
|
|
9274
|
-
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
9275
|
-
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
9276
|
-
}
|
|
9755
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9756
|
+
const localVarHeaderParameter = {} as any;
|
|
9757
|
+
const localVarQueryParameter = {} as any;
|
|
9277
9758
|
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
* @throws {RequiredError}
|
|
9282
|
-
* @memberof ClubAnalyticsApi
|
|
9283
|
-
*/
|
|
9284
|
-
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
9285
|
-
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
9286
|
-
}
|
|
9287
|
-
}
|
|
9759
|
+
// authentication bearerAuth required
|
|
9760
|
+
// http bearer authentication required
|
|
9761
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9288
9762
|
|
|
9289
9763
|
|
|
9764
|
+
|
|
9765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9767
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9290
9768
|
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
return {
|
|
9769
|
+
return {
|
|
9770
|
+
url: toPathString(localVarUrlObj),
|
|
9771
|
+
options: localVarRequestOptions,
|
|
9772
|
+
};
|
|
9773
|
+
},
|
|
9297
9774
|
/**
|
|
9298
|
-
* Récupère les
|
|
9299
|
-
* @param {string}
|
|
9775
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
9776
|
+
* @param {string} playerId
|
|
9300
9777
|
* @param {*} [options] Override http request option.
|
|
9301
9778
|
* @throws {RequiredError}
|
|
9302
9779
|
*/
|
|
9303
|
-
|
|
9304
|
-
// verify required parameter '
|
|
9305
|
-
assertParamExists('
|
|
9306
|
-
const localVarPath = `/api/club-analytics/
|
|
9307
|
-
.replace(`{${"
|
|
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)));
|
|
9308
9785
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9309
9786
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9310
9787
|
let baseOptions;
|
|
@@ -9688,6 +10165,42 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
9688
10165
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
|
|
9689
10166
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9690
10167
|
},
|
|
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
|
+
},
|
|
9691
10204
|
/**
|
|
9692
10205
|
* Récupère la liste des joueurs du club
|
|
9693
10206
|
* @param {*} [options] Override http request option.
|
|
@@ -9812,6 +10325,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
9812
10325
|
getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
|
|
9813
10326
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
9814
10327
|
},
|
|
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
|
+
},
|
|
9815
10355
|
/**
|
|
9816
10356
|
* Récupère la liste des joueurs du club
|
|
9817
10357
|
* @param {*} [options] Override http request option.
|
|
@@ -9905,6 +10445,48 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
|
|
|
9905
10445
|
readonly sportId: string
|
|
9906
10446
|
}
|
|
9907
10447
|
|
|
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
|
+
|
|
9908
10490
|
/**
|
|
9909
10491
|
* Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
|
|
9910
10492
|
* @export
|
|
@@ -9993,6 +10575,39 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
9993
10575
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
9994
10576
|
}
|
|
9995
10577
|
|
|
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
|
+
|
|
9996
10611
|
/**
|
|
9997
10612
|
* Récupère la liste des joueurs du club
|
|
9998
10613
|
* @param {*} [options] Override http request option.
|
|
@@ -15380,161 +15995,64 @@ export interface SportsManagerApiDeleteSportRequest {
|
|
|
15380
15995
|
}
|
|
15381
15996
|
|
|
15382
15997
|
/**
|
|
15383
|
-
* Request parameters for updateSport operation in SportsManagerApi.
|
|
15384
|
-
* @export
|
|
15385
|
-
* @interface SportsManagerApiUpdateSportRequest
|
|
15386
|
-
*/
|
|
15387
|
-
export interface SportsManagerApiUpdateSportRequest {
|
|
15388
|
-
/**
|
|
15389
|
-
*
|
|
15390
|
-
* @type {string}
|
|
15391
|
-
* @memberof SportsManagerApiUpdateSport
|
|
15392
|
-
*/
|
|
15393
|
-
readonly id: string
|
|
15394
|
-
|
|
15395
|
-
/**
|
|
15396
|
-
*
|
|
15397
|
-
* @type {UpdateSportRequest}
|
|
15398
|
-
* @memberof SportsManagerApiUpdateSport
|
|
15399
|
-
*/
|
|
15400
|
-
readonly updateSportRequest: UpdateSportRequest
|
|
15401
|
-
}
|
|
15402
|
-
|
|
15403
|
-
/**
|
|
15404
|
-
* SportsManagerApi - object-oriented interface
|
|
15405
|
-
* @export
|
|
15406
|
-
* @class SportsManagerApi
|
|
15407
|
-
* @extends {BaseAPI}
|
|
15408
|
-
*/
|
|
15409
|
-
export class SportsManagerApi extends BaseAPI {
|
|
15410
|
-
/**
|
|
15411
|
-
* Crée un sport (global) avec createdBy = clubId de l\'utilisateur
|
|
15412
|
-
* @param {SportsManagerApiCreateSportRequest} requestParameters Request parameters.
|
|
15413
|
-
* @param {*} [options] Override http request option.
|
|
15414
|
-
* @throws {RequiredError}
|
|
15415
|
-
* @memberof SportsManagerApi
|
|
15416
|
-
*/
|
|
15417
|
-
public createSport(requestParameters: SportsManagerApiCreateSportRequest, options?: RawAxiosRequestConfig) {
|
|
15418
|
-
return SportsManagerApiFp(this.configuration).createSport(requestParameters.createSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15419
|
-
}
|
|
15420
|
-
|
|
15421
|
-
/**
|
|
15422
|
-
* Supprime un sport (interdit si vérifié)
|
|
15423
|
-
* @param {SportsManagerApiDeleteSportRequest} requestParameters Request parameters.
|
|
15424
|
-
* @param {*} [options] Override http request option.
|
|
15425
|
-
* @throws {RequiredError}
|
|
15426
|
-
* @memberof SportsManagerApi
|
|
15427
|
-
*/
|
|
15428
|
-
public deleteSport(requestParameters: SportsManagerApiDeleteSportRequest, options?: RawAxiosRequestConfig) {
|
|
15429
|
-
return SportsManagerApiFp(this.configuration).deleteSport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
15430
|
-
}
|
|
15431
|
-
|
|
15432
|
-
/**
|
|
15433
|
-
* Met à jour un sport (interdit si vérifié)
|
|
15434
|
-
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
15435
|
-
* @param {*} [options] Override http request option.
|
|
15436
|
-
* @throws {RequiredError}
|
|
15437
|
-
* @memberof SportsManagerApi
|
|
15438
|
-
*/
|
|
15439
|
-
public updateSport(requestParameters: SportsManagerApiUpdateSportRequest, options?: RawAxiosRequestConfig) {
|
|
15440
|
-
return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15441
|
-
}
|
|
15442
|
-
}
|
|
15443
|
-
|
|
15444
|
-
|
|
15445
|
-
|
|
15446
|
-
/**
|
|
15447
|
-
* SportsPublicApi - axios parameter creator
|
|
15448
|
-
* @export
|
|
15449
|
-
*/
|
|
15450
|
-
export const SportsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15451
|
-
return {
|
|
15452
|
-
/**
|
|
15453
|
-
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15454
|
-
* @param {*} [options] Override http request option.
|
|
15455
|
-
* @throws {RequiredError}
|
|
15456
|
-
*/
|
|
15457
|
-
getVerifiedSports: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15458
|
-
const localVarPath = `/api/sports/verified`;
|
|
15459
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15460
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15461
|
-
let baseOptions;
|
|
15462
|
-
if (configuration) {
|
|
15463
|
-
baseOptions = configuration.baseOptions;
|
|
15464
|
-
}
|
|
15465
|
-
|
|
15466
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15467
|
-
const localVarHeaderParameter = {} as any;
|
|
15468
|
-
const localVarQueryParameter = {} as any;
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15473
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15474
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15475
|
-
|
|
15476
|
-
return {
|
|
15477
|
-
url: toPathString(localVarUrlObj),
|
|
15478
|
-
options: localVarRequestOptions,
|
|
15479
|
-
};
|
|
15480
|
-
},
|
|
15481
|
-
}
|
|
15482
|
-
};
|
|
15483
|
-
|
|
15484
|
-
/**
|
|
15485
|
-
* SportsPublicApi - functional programming interface
|
|
15998
|
+
* Request parameters for updateSport operation in SportsManagerApi.
|
|
15486
15999
|
* @export
|
|
16000
|
+
* @interface SportsManagerApiUpdateSportRequest
|
|
15487
16001
|
*/
|
|
15488
|
-
export
|
|
15489
|
-
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
*/
|
|
15496
|
-
async getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>> {
|
|
15497
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getVerifiedSports(options);
|
|
15498
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15499
|
-
const localVarOperationServerBasePath = operationServerMap['SportsPublicApi.getVerifiedSports']?.[localVarOperationServerIndex]?.url;
|
|
15500
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15501
|
-
},
|
|
15502
|
-
}
|
|
15503
|
-
};
|
|
16002
|
+
export interface SportsManagerApiUpdateSportRequest {
|
|
16003
|
+
/**
|
|
16004
|
+
*
|
|
16005
|
+
* @type {string}
|
|
16006
|
+
* @memberof SportsManagerApiUpdateSport
|
|
16007
|
+
*/
|
|
16008
|
+
readonly id: string
|
|
15504
16009
|
|
|
15505
|
-
/**
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
/**
|
|
15513
|
-
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15514
|
-
* @param {*} [options] Override http request option.
|
|
15515
|
-
* @throws {RequiredError}
|
|
15516
|
-
*/
|
|
15517
|
-
getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
|
|
15518
|
-
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
15519
|
-
},
|
|
15520
|
-
};
|
|
15521
|
-
};
|
|
16010
|
+
/**
|
|
16011
|
+
*
|
|
16012
|
+
* @type {UpdateSportRequest}
|
|
16013
|
+
* @memberof SportsManagerApiUpdateSport
|
|
16014
|
+
*/
|
|
16015
|
+
readonly updateSportRequest: UpdateSportRequest
|
|
16016
|
+
}
|
|
15522
16017
|
|
|
15523
16018
|
/**
|
|
15524
|
-
*
|
|
16019
|
+
* SportsManagerApi - object-oriented interface
|
|
15525
16020
|
* @export
|
|
15526
|
-
* @class
|
|
16021
|
+
* @class SportsManagerApi
|
|
15527
16022
|
* @extends {BaseAPI}
|
|
15528
16023
|
*/
|
|
15529
|
-
export class
|
|
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
|
+
|
|
15530
16047
|
/**
|
|
15531
|
-
*
|
|
16048
|
+
* Met à jour un sport (interdit si vérifié)
|
|
16049
|
+
* @param {SportsManagerApiUpdateSportRequest} requestParameters Request parameters.
|
|
15532
16050
|
* @param {*} [options] Override http request option.
|
|
15533
16051
|
* @throws {RequiredError}
|
|
15534
|
-
* @memberof
|
|
16052
|
+
* @memberof SportsManagerApi
|
|
15535
16053
|
*/
|
|
15536
|
-
public
|
|
15537
|
-
return
|
|
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));
|
|
15538
16056
|
}
|
|
15539
16057
|
}
|
|
15540
16058
|
|
|
@@ -16651,6 +17169,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16651
17169
|
options: localVarRequestOptions,
|
|
16652
17170
|
};
|
|
16653
17171
|
},
|
|
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
|
+
},
|
|
16654
17211
|
/**
|
|
16655
17212
|
*
|
|
16656
17213
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -16690,6 +17247,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16690
17247
|
options: localVarRequestOptions,
|
|
16691
17248
|
};
|
|
16692
17249
|
},
|
|
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
|
+
},
|
|
16693
17289
|
/**
|
|
16694
17290
|
*
|
|
16695
17291
|
* @param {*} [options] Override http request option.
|
|
@@ -17626,6 +18222,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17626
18222
|
options: localVarRequestOptions,
|
|
17627
18223
|
};
|
|
17628
18224
|
},
|
|
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
|
+
},
|
|
17629
18264
|
/**
|
|
17630
18265
|
*
|
|
17631
18266
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -17933,6 +18568,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
17933
18568
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.addOrganization']?.[localVarOperationServerIndex]?.url;
|
|
17934
18569
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17935
18570
|
},
|
|
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
|
+
},
|
|
17936
18583
|
/**
|
|
17937
18584
|
*
|
|
17938
18585
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -17945,6 +18592,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
17945
18592
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.changePassword']?.[localVarOperationServerIndex]?.url;
|
|
17946
18593
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17947
18594
|
},
|
|
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
|
+
},
|
|
17948
18607
|
/**
|
|
17949
18608
|
*
|
|
17950
18609
|
* @param {*} [options] Override http request option.
|
|
@@ -18243,6 +18902,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
18243
18902
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
|
|
18244
18903
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18245
18904
|
},
|
|
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
|
+
},
|
|
18246
18917
|
/**
|
|
18247
18918
|
*
|
|
18248
18919
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -18364,6 +19035,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
18364
19035
|
addOrganization(requestParameters: UsersApiAddOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
18365
19036
|
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
18366
19037
|
},
|
|
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
|
+
},
|
|
18367
19047
|
/**
|
|
18368
19048
|
*
|
|
18369
19049
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -18373,6 +19053,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
18373
19053
|
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse> {
|
|
18374
19054
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
18375
19055
|
},
|
|
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
|
+
},
|
|
18376
19065
|
/**
|
|
18377
19066
|
*
|
|
18378
19067
|
* @param {*} [options] Override http request option.
|
|
@@ -18581,6 +19270,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
18581
19270
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
18582
19271
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
18583
19272
|
},
|
|
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
|
+
},
|
|
18584
19282
|
/**
|
|
18585
19283
|
*
|
|
18586
19284
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -18689,6 +19387,20 @@ export interface UsersApiAddOrganizationRequest {
|
|
|
18689
19387
|
readonly addOrganizationRequest: AddOrganizationRequest
|
|
18690
19388
|
}
|
|
18691
19389
|
|
|
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
|
+
|
|
18692
19404
|
/**
|
|
18693
19405
|
* Request parameters for changePassword operation in UsersApi.
|
|
18694
19406
|
* @export
|
|
@@ -18703,6 +19415,20 @@ export interface UsersApiChangePasswordRequest {
|
|
|
18703
19415
|
readonly changePasswordRequestBody: ChangePasswordRequestBody
|
|
18704
19416
|
}
|
|
18705
19417
|
|
|
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
|
+
|
|
18706
19432
|
/**
|
|
18707
19433
|
* Request parameters for getBookingDetail operation in UsersApi.
|
|
18708
19434
|
* @export
|
|
@@ -19053,6 +19779,20 @@ export interface UsersApiResetPasswordRequest {
|
|
|
19053
19779
|
readonly resetPasswordRequest: ResetPasswordRequest
|
|
19054
19780
|
}
|
|
19055
19781
|
|
|
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
|
+
|
|
19056
19796
|
/**
|
|
19057
19797
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
19058
19798
|
* @export
|
|
@@ -19191,6 +19931,17 @@ export class UsersApi extends BaseAPI {
|
|
|
19191
19931
|
return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19192
19932
|
}
|
|
19193
19933
|
|
|
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
|
+
|
|
19194
19945
|
/**
|
|
19195
19946
|
*
|
|
19196
19947
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -19202,6 +19953,17 @@ export class UsersApi extends BaseAPI {
|
|
|
19202
19953
|
return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
19203
19954
|
}
|
|
19204
19955
|
|
|
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
|
+
|
|
19205
19967
|
/**
|
|
19206
19968
|
*
|
|
19207
19969
|
* @param {*} [options] Override http request option.
|
|
@@ -19458,6 +20220,17 @@ export class UsersApi extends BaseAPI {
|
|
|
19458
20220
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19459
20221
|
}
|
|
19460
20222
|
|
|
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
|
+
|
|
19461
20234
|
/**
|
|
19462
20235
|
*
|
|
19463
20236
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|