@tennac-booking/sdk 1.0.111 → 1.0.113
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 +15 -16
- package/README.md +23 -30
- package/api.ts +1150 -1925
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +838 -1282
- package/dist/api.js +542 -1109
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +838 -1282
- package/dist/esm/api.js +556 -1119
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsWithTimeBoundsResponse.md +1 -1
- package/docs/CheckInEventParticipants200Response.md +22 -0
- package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
- package/docs/{ClientRegisterResponse.md → CheckInEventParticipantsRequest.md} +5 -7
- package/docs/ClientApi.md +58 -3
- package/docs/{ClientAccountOnboardingResponse.md → ClientFullOnboardingResponse.md} +7 -11
- package/docs/ClientFullOnboardingResponseClub.md +24 -0
- package/docs/ClientRegister201Response.md +26 -0
- package/docs/{ClientRegisterRequestBody.md → ClientRegisterRequest.md} +7 -7
- package/docs/ClubMetadataResponse.md +30 -0
- package/docs/ClubMetadataResponseLocation.md +27 -0
- package/docs/ClubPlayerDetailResponse.md +0 -2
- package/docs/ClubSummary.md +2 -8
- package/docs/ClubsApi.md +55 -0
- package/docs/ClubsManagerApi.md +0 -56
- package/docs/ClubsStaffApi.md +59 -55
- package/docs/CreateEventRequest.md +1 -3
- package/docs/CreateOnsiteInvoiceRequest.md +28 -0
- package/docs/CreateOnsiteInvoiceResponse.md +22 -0
- package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
- package/docs/EventConflictCheckRequest.md +28 -0
- package/docs/EventConflictCheckResponse.md +26 -0
- package/docs/EventsManagerApi.md +114 -0
- package/docs/EventsStaffApi.md +20 -159
- package/docs/JoinEventRequest.md +8 -0
- package/docs/{AgendaBookingPlayer.md → JoinEventRequestPlayersPaymentMethodsInner.md} +5 -9
- package/docs/PaymentMethod.md +4 -0
- package/docs/PublishEventResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ActiveSubscriptionResponse.md +0 -22
- package/docs/AgendaBooking.md +0 -30
- package/docs/AgendaBookingSlot.md +0 -30
- package/docs/AgendaPaymentStatus.md +0 -12
- package/docs/ClientAccountOnboardingRequest.md +0 -29
- package/docs/ClientAccountResponse.md +0 -44
- package/docs/ClientAccountsApi.md +0 -408
- package/docs/ClientMeResponse.md +0 -28
- package/docs/ClientOnboardingResponse.md +0 -27
- package/docs/ClientSubscriptionResponse.md +0 -34
- package/docs/GetSubscriptionsHistory200Response.md +0 -22
- package/docs/UpdateUserCreditsRequest.md +0 -20
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.110
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,25 +23,6 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface ActiveSubscriptionResponse
|
|
30
|
-
*/
|
|
31
|
-
export interface ActiveSubscriptionResponse {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ActiveSubscriptionResponse
|
|
36
|
-
*/
|
|
37
|
-
'clientAccountId': string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ClientSubscriptionResponse}
|
|
41
|
-
* @memberof ActiveSubscriptionResponse
|
|
42
|
-
*/
|
|
43
|
-
'subscription': ClientSubscriptionResponse | null;
|
|
44
|
-
}
|
|
45
26
|
/**
|
|
46
27
|
*
|
|
47
28
|
* @export
|
|
@@ -129,140 +110,6 @@ export interface AddOrganizationRequest {
|
|
|
129
110
|
*/
|
|
130
111
|
'organizationId'?: string;
|
|
131
112
|
}
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @export
|
|
135
|
-
* @interface AgendaBooking
|
|
136
|
-
*/
|
|
137
|
-
export interface AgendaBooking {
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof AgendaBooking
|
|
142
|
-
*/
|
|
143
|
-
'id': string;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {BookingStatus}
|
|
147
|
-
* @memberof AgendaBooking
|
|
148
|
-
*/
|
|
149
|
-
'status': BookingStatus;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof AgendaBooking
|
|
154
|
-
*/
|
|
155
|
-
'creatorName': string;
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
* @type {Array<AgendaBookingPlayer>}
|
|
159
|
-
* @memberof AgendaBooking
|
|
160
|
-
*/
|
|
161
|
-
'players': Array<AgendaBookingPlayer>;
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {AgendaPaymentStatus}
|
|
165
|
-
* @memberof AgendaBooking
|
|
166
|
-
*/
|
|
167
|
-
'paymentStatus': AgendaPaymentStatus;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {Array<AgendaBookingSlot>}
|
|
171
|
-
* @memberof AgendaBooking
|
|
172
|
-
*/
|
|
173
|
-
'slots': Array<AgendaBookingSlot>;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
*
|
|
179
|
-
* @export
|
|
180
|
-
* @interface AgendaBookingPlayer
|
|
181
|
-
*/
|
|
182
|
-
export interface AgendaBookingPlayer {
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* @type {string}
|
|
186
|
-
* @memberof AgendaBookingPlayer
|
|
187
|
-
*/
|
|
188
|
-
'id': string;
|
|
189
|
-
/**
|
|
190
|
-
*
|
|
191
|
-
* @type {string}
|
|
192
|
-
* @memberof AgendaBookingPlayer
|
|
193
|
-
*/
|
|
194
|
-
'firstName': string;
|
|
195
|
-
/**
|
|
196
|
-
*
|
|
197
|
-
* @type {string}
|
|
198
|
-
* @memberof AgendaBookingPlayer
|
|
199
|
-
*/
|
|
200
|
-
'lastName': string;
|
|
201
|
-
/**
|
|
202
|
-
*
|
|
203
|
-
* @type {string}
|
|
204
|
-
* @memberof AgendaBookingPlayer
|
|
205
|
-
*/
|
|
206
|
-
'profilePictureUrl'?: string;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* @export
|
|
211
|
-
* @interface AgendaBookingSlot
|
|
212
|
-
*/
|
|
213
|
-
export interface AgendaBookingSlot {
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
* @type {string}
|
|
217
|
-
* @memberof AgendaBookingSlot
|
|
218
|
-
*/
|
|
219
|
-
'start': string;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @type {string}
|
|
223
|
-
* @memberof AgendaBookingSlot
|
|
224
|
-
*/
|
|
225
|
-
'end': string;
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* @type {string}
|
|
229
|
-
* @memberof AgendaBookingSlot
|
|
230
|
-
*/
|
|
231
|
-
'courtName': string;
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @type {string}
|
|
235
|
-
* @memberof AgendaBookingSlot
|
|
236
|
-
*/
|
|
237
|
-
'sportKey': string;
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
* @type {string}
|
|
241
|
-
* @memberof AgendaBookingSlot
|
|
242
|
-
*/
|
|
243
|
-
'surface'?: string;
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @type {boolean}
|
|
247
|
-
* @memberof AgendaBookingSlot
|
|
248
|
-
*/
|
|
249
|
-
'isIndoor'?: boolean;
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
* @export
|
|
254
|
-
* @enum {string}
|
|
255
|
-
*/
|
|
256
|
-
|
|
257
|
-
export const AgendaPaymentStatus = {
|
|
258
|
-
Pay: 'payé',
|
|
259
|
-
NonPay: 'non payé',
|
|
260
|
-
EnAttente: 'en attente'
|
|
261
|
-
} as const;
|
|
262
|
-
|
|
263
|
-
export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
|
|
264
|
-
|
|
265
|
-
|
|
266
113
|
/**
|
|
267
114
|
*
|
|
268
115
|
* @export
|
|
@@ -1284,10 +1131,10 @@ export interface BookingSummaryClubAddress {
|
|
|
1284
1131
|
export interface BookingsWithTimeBoundsResponse {
|
|
1285
1132
|
/**
|
|
1286
1133
|
*
|
|
1287
|
-
* @type {Array<
|
|
1134
|
+
* @type {Array<BookingPopulated>}
|
|
1288
1135
|
* @memberof BookingsWithTimeBoundsResponse
|
|
1289
1136
|
*/
|
|
1290
|
-
'bookings': Array<
|
|
1137
|
+
'bookings': Array<BookingPopulated>;
|
|
1291
1138
|
/**
|
|
1292
1139
|
*
|
|
1293
1140
|
* @type {TimeBounds}
|
|
@@ -1403,6 +1250,77 @@ export interface ChangePasswordResponse {
|
|
|
1403
1250
|
*/
|
|
1404
1251
|
'message': string;
|
|
1405
1252
|
}
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @export
|
|
1256
|
+
* @interface CheckInEventParticipants200Response
|
|
1257
|
+
*/
|
|
1258
|
+
export interface CheckInEventParticipants200Response {
|
|
1259
|
+
/**
|
|
1260
|
+
*
|
|
1261
|
+
* @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
|
|
1262
|
+
* @memberof CheckInEventParticipants200Response
|
|
1263
|
+
*/
|
|
1264
|
+
'invoices': Array<CheckInEventParticipants200ResponseInvoicesInner>;
|
|
1265
|
+
/**
|
|
1266
|
+
*
|
|
1267
|
+
* @type {string}
|
|
1268
|
+
* @memberof CheckInEventParticipants200Response
|
|
1269
|
+
*/
|
|
1270
|
+
'message': string;
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
*
|
|
1274
|
+
* @export
|
|
1275
|
+
* @interface CheckInEventParticipants200ResponseInvoicesInner
|
|
1276
|
+
*/
|
|
1277
|
+
export interface CheckInEventParticipants200ResponseInvoicesInner {
|
|
1278
|
+
/**
|
|
1279
|
+
*
|
|
1280
|
+
* @type {PaymentMethod}
|
|
1281
|
+
* @memberof CheckInEventParticipants200ResponseInvoicesInner
|
|
1282
|
+
*/
|
|
1283
|
+
'paymentMethod': PaymentMethod;
|
|
1284
|
+
/**
|
|
1285
|
+
*
|
|
1286
|
+
* @type {string}
|
|
1287
|
+
* @memberof CheckInEventParticipants200ResponseInvoicesInner
|
|
1288
|
+
*/
|
|
1289
|
+
'status': string;
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @type {number}
|
|
1293
|
+
* @memberof CheckInEventParticipants200ResponseInvoicesInner
|
|
1294
|
+
*/
|
|
1295
|
+
'amount': number;
|
|
1296
|
+
/**
|
|
1297
|
+
*
|
|
1298
|
+
* @type {string}
|
|
1299
|
+
* @memberof CheckInEventParticipants200ResponseInvoicesInner
|
|
1300
|
+
*/
|
|
1301
|
+
'invoiceId': string;
|
|
1302
|
+
/**
|
|
1303
|
+
*
|
|
1304
|
+
* @type {string}
|
|
1305
|
+
* @memberof CheckInEventParticipants200ResponseInvoicesInner
|
|
1306
|
+
*/
|
|
1307
|
+
'playerId': string;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
*
|
|
1313
|
+
* @export
|
|
1314
|
+
* @interface CheckInEventParticipantsRequest
|
|
1315
|
+
*/
|
|
1316
|
+
export interface CheckInEventParticipantsRequest {
|
|
1317
|
+
/**
|
|
1318
|
+
*
|
|
1319
|
+
* @type {Array<string>}
|
|
1320
|
+
* @memberof CheckInEventParticipantsRequest
|
|
1321
|
+
*/
|
|
1322
|
+
'playerIds': Array<string>;
|
|
1323
|
+
}
|
|
1406
1324
|
/**
|
|
1407
1325
|
*
|
|
1408
1326
|
* @export
|
|
@@ -1493,417 +1411,183 @@ export interface CheckedInPlayer {
|
|
|
1493
1411
|
|
|
1494
1412
|
|
|
1495
1413
|
/**
|
|
1496
|
-
*
|
|
1414
|
+
*
|
|
1497
1415
|
* @export
|
|
1498
|
-
* @interface
|
|
1416
|
+
* @interface ClientFullOnboardingResponse
|
|
1499
1417
|
*/
|
|
1500
|
-
export interface
|
|
1418
|
+
export interface ClientFullOnboardingResponse {
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @type {string}
|
|
1422
|
+
* @memberof ClientFullOnboardingResponse
|
|
1423
|
+
*/
|
|
1424
|
+
'clientAccountId': string;
|
|
1501
1425
|
/**
|
|
1502
1426
|
*
|
|
1503
1427
|
* @type {string}
|
|
1504
|
-
* @memberof
|
|
1428
|
+
* @memberof ClientFullOnboardingResponse
|
|
1505
1429
|
*/
|
|
1506
|
-
'
|
|
1430
|
+
'stripeCustomerId': string;
|
|
1507
1431
|
/**
|
|
1508
1432
|
*
|
|
1509
1433
|
* @type {string}
|
|
1510
|
-
* @memberof
|
|
1434
|
+
* @memberof ClientFullOnboardingResponse
|
|
1511
1435
|
*/
|
|
1512
|
-
'
|
|
1436
|
+
'stripeConnectedAccountId'?: string;
|
|
1513
1437
|
/**
|
|
1514
1438
|
*
|
|
1515
1439
|
* @type {string}
|
|
1516
|
-
* @memberof
|
|
1440
|
+
* @memberof ClientFullOnboardingResponse
|
|
1517
1441
|
*/
|
|
1518
|
-
'
|
|
1442
|
+
'clientOnboardingLink'?: string;
|
|
1519
1443
|
/**
|
|
1520
1444
|
*
|
|
1521
|
-
* @type {
|
|
1522
|
-
* @memberof
|
|
1445
|
+
* @type {ClientFullOnboardingResponseClub}
|
|
1446
|
+
* @memberof ClientFullOnboardingResponse
|
|
1523
1447
|
*/
|
|
1524
|
-
'
|
|
1448
|
+
'club': ClientFullOnboardingResponseClub;
|
|
1525
1449
|
/**
|
|
1526
1450
|
*
|
|
1527
1451
|
* @type {string}
|
|
1528
|
-
* @memberof
|
|
1452
|
+
* @memberof ClientFullOnboardingResponse
|
|
1529
1453
|
*/
|
|
1530
|
-
'
|
|
1454
|
+
'message': string;
|
|
1531
1455
|
}
|
|
1532
|
-
|
|
1533
|
-
export const ClientAccountOnboardingRequestBusinessTypeEnum = {
|
|
1534
|
-
Individual: 'individual',
|
|
1535
|
-
Company: 'company'
|
|
1536
|
-
} as const;
|
|
1537
|
-
|
|
1538
|
-
export type ClientAccountOnboardingRequestBusinessTypeEnum = typeof ClientAccountOnboardingRequestBusinessTypeEnum[keyof typeof ClientAccountOnboardingRequestBusinessTypeEnum];
|
|
1539
|
-
export const ClientAccountOnboardingRequestSubscriptionTypeEnum = {
|
|
1540
|
-
Basic: 'basic',
|
|
1541
|
-
PlatformWithConnect: 'platform_with_connect'
|
|
1542
|
-
} as const;
|
|
1543
|
-
|
|
1544
|
-
export type ClientAccountOnboardingRequestSubscriptionTypeEnum = typeof ClientAccountOnboardingRequestSubscriptionTypeEnum[keyof typeof ClientAccountOnboardingRequestSubscriptionTypeEnum];
|
|
1545
|
-
|
|
1546
1456
|
/**
|
|
1547
1457
|
*
|
|
1548
1458
|
* @export
|
|
1549
|
-
* @interface
|
|
1459
|
+
* @interface ClientFullOnboardingResponseClub
|
|
1550
1460
|
*/
|
|
1551
|
-
export interface
|
|
1461
|
+
export interface ClientFullOnboardingResponseClub {
|
|
1552
1462
|
/**
|
|
1553
1463
|
*
|
|
1554
1464
|
* @type {string}
|
|
1555
|
-
* @memberof
|
|
1465
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1556
1466
|
*/
|
|
1557
|
-
'
|
|
1467
|
+
'clubOnboardingLink'?: string;
|
|
1558
1468
|
/**
|
|
1559
1469
|
*
|
|
1560
1470
|
* @type {string}
|
|
1561
|
-
* @memberof
|
|
1471
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1562
1472
|
*/
|
|
1563
|
-
'
|
|
1473
|
+
'stripeAccountId': string;
|
|
1564
1474
|
/**
|
|
1565
1475
|
*
|
|
1566
1476
|
* @type {string}
|
|
1567
|
-
* @memberof
|
|
1477
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1568
1478
|
*/
|
|
1569
|
-
'
|
|
1479
|
+
'clubId': string;
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* Requête pour l\'onboarding d\'un club
|
|
1483
|
+
* @export
|
|
1484
|
+
* @interface ClientOnboardingRequestBody
|
|
1485
|
+
*/
|
|
1486
|
+
export interface ClientOnboardingRequestBody {
|
|
1570
1487
|
/**
|
|
1571
|
-
*
|
|
1488
|
+
* Nom du club
|
|
1572
1489
|
* @type {string}
|
|
1573
|
-
* @memberof
|
|
1490
|
+
* @memberof ClientOnboardingRequestBody
|
|
1574
1491
|
*/
|
|
1575
|
-
'
|
|
1492
|
+
'clubName': string;
|
|
1576
1493
|
/**
|
|
1577
|
-
*
|
|
1494
|
+
* Email du club pour le compte Stripe
|
|
1578
1495
|
* @type {string}
|
|
1579
|
-
* @memberof
|
|
1496
|
+
* @memberof ClientOnboardingRequestBody
|
|
1580
1497
|
*/
|
|
1581
|
-
'
|
|
1498
|
+
'email': string;
|
|
1582
1499
|
/**
|
|
1583
|
-
*
|
|
1500
|
+
* Numéro de téléphone du club (optionnel)
|
|
1584
1501
|
* @type {string}
|
|
1585
|
-
* @memberof
|
|
1502
|
+
* @memberof ClientOnboardingRequestBody
|
|
1586
1503
|
*/
|
|
1587
|
-
'
|
|
1504
|
+
'phone'?: string;
|
|
1588
1505
|
/**
|
|
1589
|
-
*
|
|
1590
|
-
* @type {
|
|
1591
|
-
* @memberof
|
|
1506
|
+
* Adresse du club (optionnel)
|
|
1507
|
+
* @type {string}
|
|
1508
|
+
* @memberof ClientOnboardingRequestBody
|
|
1592
1509
|
*/
|
|
1593
|
-
'
|
|
1510
|
+
'address'?: string;
|
|
1594
1511
|
/**
|
|
1595
|
-
*
|
|
1596
|
-
* @type {
|
|
1597
|
-
* @memberof
|
|
1512
|
+
* Ville du club (optionnel)
|
|
1513
|
+
* @type {string}
|
|
1514
|
+
* @memberof ClientOnboardingRequestBody
|
|
1515
|
+
*/
|
|
1516
|
+
'city'?: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* Code postal du club (optionnel)
|
|
1519
|
+
* @type {string}
|
|
1520
|
+
* @memberof ClientOnboardingRequestBody
|
|
1521
|
+
*/
|
|
1522
|
+
'postalCode'?: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* Pays du club (optionnel)
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof ClientOnboardingRequestBody
|
|
1598
1527
|
*/
|
|
1599
|
-
'
|
|
1528
|
+
'country'?: string;
|
|
1600
1529
|
}
|
|
1601
1530
|
/**
|
|
1602
1531
|
*
|
|
1603
1532
|
* @export
|
|
1604
|
-
* @interface
|
|
1533
|
+
* @interface ClientRegister201Response
|
|
1605
1534
|
*/
|
|
1606
|
-
export interface
|
|
1535
|
+
export interface ClientRegister201Response {
|
|
1607
1536
|
/**
|
|
1608
1537
|
*
|
|
1609
1538
|
* @type {string}
|
|
1610
|
-
* @memberof
|
|
1539
|
+
* @memberof ClientRegister201Response
|
|
1611
1540
|
*/
|
|
1612
|
-
'
|
|
1541
|
+
'message': string;
|
|
1613
1542
|
/**
|
|
1614
1543
|
*
|
|
1615
1544
|
* @type {string}
|
|
1616
|
-
* @memberof
|
|
1545
|
+
* @memberof ClientRegister201Response
|
|
1617
1546
|
*/
|
|
1618
|
-
'
|
|
1547
|
+
'stripeCustomerId': string;
|
|
1619
1548
|
/**
|
|
1620
1549
|
*
|
|
1621
1550
|
* @type {string}
|
|
1622
|
-
* @memberof
|
|
1551
|
+
* @memberof ClientRegister201Response
|
|
1623
1552
|
*/
|
|
1624
|
-
'
|
|
1553
|
+
'email': string;
|
|
1625
1554
|
/**
|
|
1626
1555
|
*
|
|
1627
1556
|
* @type {string}
|
|
1628
|
-
* @memberof
|
|
1557
|
+
* @memberof ClientRegister201Response
|
|
1629
1558
|
*/
|
|
1630
|
-
'
|
|
1559
|
+
'userId': string;
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
*
|
|
1563
|
+
* @export
|
|
1564
|
+
* @interface ClientRegisterRequest
|
|
1565
|
+
*/
|
|
1566
|
+
export interface ClientRegisterRequest {
|
|
1631
1567
|
/**
|
|
1632
1568
|
*
|
|
1633
1569
|
* @type {string}
|
|
1634
|
-
* @memberof
|
|
1570
|
+
* @memberof ClientRegisterRequest
|
|
1635
1571
|
*/
|
|
1636
|
-
'
|
|
1572
|
+
'password': string;
|
|
1637
1573
|
/**
|
|
1638
1574
|
*
|
|
1639
1575
|
* @type {string}
|
|
1640
|
-
* @memberof
|
|
1641
|
-
*/
|
|
1642
|
-
'status': string;
|
|
1643
|
-
/**
|
|
1644
|
-
*
|
|
1645
|
-
* @type {boolean}
|
|
1646
|
-
* @memberof ClientAccountResponse
|
|
1576
|
+
* @memberof ClientRegisterRequest
|
|
1647
1577
|
*/
|
|
1648
|
-
'
|
|
1578
|
+
'email': string;
|
|
1649
1579
|
/**
|
|
1650
1580
|
*
|
|
1651
1581
|
* @type {string}
|
|
1652
|
-
* @memberof
|
|
1582
|
+
* @memberof ClientRegisterRequest
|
|
1653
1583
|
*/
|
|
1654
|
-
'
|
|
1584
|
+
'lastName': string;
|
|
1655
1585
|
/**
|
|
1656
1586
|
*
|
|
1657
|
-
* @type {
|
|
1658
|
-
* @memberof
|
|
1659
|
-
*/
|
|
1660
|
-
'connectedAccountOnboardingRequired'?: boolean;
|
|
1661
|
-
/**
|
|
1662
|
-
*
|
|
1663
|
-
* @type {boolean}
|
|
1664
|
-
* @memberof ClientAccountResponse
|
|
1665
|
-
*/
|
|
1666
|
-
'isPublicOrganization': boolean;
|
|
1667
|
-
/**
|
|
1668
|
-
*
|
|
1669
|
-
* @type {boolean}
|
|
1670
|
-
* @memberof ClientAccountResponse
|
|
1671
|
-
*/
|
|
1672
|
-
'manualInvoiceRequired'?: boolean;
|
|
1673
|
-
/**
|
|
1674
|
-
*
|
|
1675
|
-
* @type {string}
|
|
1676
|
-
* @memberof ClientAccountResponse
|
|
1677
|
-
*/
|
|
1678
|
-
'createdAt': string;
|
|
1679
|
-
/**
|
|
1680
|
-
*
|
|
1681
|
-
* @type {string}
|
|
1682
|
-
* @memberof ClientAccountResponse
|
|
1683
|
-
*/
|
|
1684
|
-
'updatedAt': string;
|
|
1685
|
-
}
|
|
1686
|
-
/**
|
|
1687
|
-
*
|
|
1688
|
-
* @export
|
|
1689
|
-
* @interface ClientMeResponse
|
|
1690
|
-
*/
|
|
1691
|
-
export interface ClientMeResponse {
|
|
1692
|
-
/**
|
|
1693
|
-
*
|
|
1694
|
-
* @type {string}
|
|
1695
|
-
* @memberof ClientMeResponse
|
|
1696
|
-
*/
|
|
1697
|
-
'id': string;
|
|
1698
|
-
/**
|
|
1699
|
-
*
|
|
1700
|
-
* @type {string}
|
|
1701
|
-
* @memberof ClientMeResponse
|
|
1702
|
-
*/
|
|
1703
|
-
'email': string;
|
|
1704
|
-
/**
|
|
1705
|
-
*
|
|
1706
|
-
* @type {string}
|
|
1707
|
-
* @memberof ClientMeResponse
|
|
1708
|
-
*/
|
|
1709
|
-
'firstName': string;
|
|
1710
|
-
/**
|
|
1711
|
-
*
|
|
1712
|
-
* @type {string}
|
|
1713
|
-
* @memberof ClientMeResponse
|
|
1714
|
-
*/
|
|
1715
|
-
'lastName': string;
|
|
1716
|
-
/**
|
|
1717
|
-
*
|
|
1718
|
-
* @type {boolean}
|
|
1719
|
-
* @memberof ClientMeResponse
|
|
1720
|
-
*/
|
|
1721
|
-
'isClient': boolean;
|
|
1722
|
-
}
|
|
1723
|
-
/**
|
|
1724
|
-
* Requête pour l\'onboarding d\'un club
|
|
1725
|
-
* @export
|
|
1726
|
-
* @interface ClientOnboardingRequestBody
|
|
1727
|
-
*/
|
|
1728
|
-
export interface ClientOnboardingRequestBody {
|
|
1729
|
-
/**
|
|
1730
|
-
* Nom du club
|
|
1731
|
-
* @type {string}
|
|
1732
|
-
* @memberof ClientOnboardingRequestBody
|
|
1733
|
-
*/
|
|
1734
|
-
'clubName': string;
|
|
1735
|
-
/**
|
|
1736
|
-
* Email du club pour le compte Stripe
|
|
1737
|
-
* @type {string}
|
|
1738
|
-
* @memberof ClientOnboardingRequestBody
|
|
1739
|
-
*/
|
|
1740
|
-
'email': string;
|
|
1741
|
-
/**
|
|
1742
|
-
* Numéro de téléphone du club (optionnel)
|
|
1743
|
-
* @type {string}
|
|
1744
|
-
* @memberof ClientOnboardingRequestBody
|
|
1745
|
-
*/
|
|
1746
|
-
'phone'?: string;
|
|
1747
|
-
/**
|
|
1748
|
-
* Adresse du club (optionnel)
|
|
1749
|
-
* @type {string}
|
|
1750
|
-
* @memberof ClientOnboardingRequestBody
|
|
1751
|
-
*/
|
|
1752
|
-
'address'?: string;
|
|
1753
|
-
/**
|
|
1754
|
-
* Ville du club (optionnel)
|
|
1755
|
-
* @type {string}
|
|
1756
|
-
* @memberof ClientOnboardingRequestBody
|
|
1757
|
-
*/
|
|
1758
|
-
'city'?: string;
|
|
1759
|
-
/**
|
|
1760
|
-
* Code postal du club (optionnel)
|
|
1761
|
-
* @type {string}
|
|
1762
|
-
* @memberof ClientOnboardingRequestBody
|
|
1763
|
-
*/
|
|
1764
|
-
'postalCode'?: string;
|
|
1765
|
-
/**
|
|
1766
|
-
* Pays du club (optionnel)
|
|
1767
|
-
* @type {string}
|
|
1768
|
-
* @memberof ClientOnboardingRequestBody
|
|
1769
|
-
*/
|
|
1770
|
-
'country'?: string;
|
|
1771
|
-
}
|
|
1772
|
-
/**
|
|
1773
|
-
* Réponse pour l\'onboarding d\'un club
|
|
1774
|
-
* @export
|
|
1775
|
-
* @interface ClientOnboardingResponse
|
|
1776
|
-
*/
|
|
1777
|
-
export interface ClientOnboardingResponse {
|
|
1778
|
-
/**
|
|
1779
|
-
* ID unique du club créé
|
|
1780
|
-
* @type {string}
|
|
1781
|
-
* @memberof ClientOnboardingResponse
|
|
1782
|
-
*/
|
|
1783
|
-
'clubId': string;
|
|
1784
|
-
/**
|
|
1785
|
-
* ID du compte Stripe Connect du club
|
|
1786
|
-
* @type {string}
|
|
1787
|
-
* @memberof ClientOnboardingResponse
|
|
1788
|
-
*/
|
|
1789
|
-
'stripeAccountId': string;
|
|
1790
|
-
/**
|
|
1791
|
-
* Lien d\'onboarding Stripe pour configurer le compte
|
|
1792
|
-
* @type {string}
|
|
1793
|
-
* @memberof ClientOnboardingResponse
|
|
1794
|
-
*/
|
|
1795
|
-
'onboardingLink': string;
|
|
1796
|
-
/**
|
|
1797
|
-
* Message de confirmation
|
|
1798
|
-
* @type {string}
|
|
1799
|
-
* @memberof ClientOnboardingResponse
|
|
1800
|
-
*/
|
|
1801
|
-
'message': string;
|
|
1802
|
-
}
|
|
1803
|
-
/**
|
|
1804
|
-
*
|
|
1805
|
-
* @export
|
|
1806
|
-
* @interface ClientRegisterRequestBody
|
|
1807
|
-
*/
|
|
1808
|
-
export interface ClientRegisterRequestBody {
|
|
1809
|
-
/**
|
|
1810
|
-
*
|
|
1811
|
-
* @type {string}
|
|
1812
|
-
* @memberof ClientRegisterRequestBody
|
|
1813
|
-
*/
|
|
1814
|
-
'email': string;
|
|
1815
|
-
/**
|
|
1816
|
-
*
|
|
1817
|
-
* @type {string}
|
|
1818
|
-
* @memberof ClientRegisterRequestBody
|
|
1819
|
-
*/
|
|
1820
|
-
'password': string;
|
|
1821
|
-
/**
|
|
1822
|
-
*
|
|
1823
|
-
* @type {string}
|
|
1824
|
-
* @memberof ClientRegisterRequestBody
|
|
1587
|
+
* @type {string}
|
|
1588
|
+
* @memberof ClientRegisterRequest
|
|
1825
1589
|
*/
|
|
1826
1590
|
'firstName': string;
|
|
1827
|
-
/**
|
|
1828
|
-
*
|
|
1829
|
-
* @type {string}
|
|
1830
|
-
* @memberof ClientRegisterRequestBody
|
|
1831
|
-
*/
|
|
1832
|
-
'lastName': string;
|
|
1833
|
-
}
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @export
|
|
1837
|
-
* @interface ClientRegisterResponse
|
|
1838
|
-
*/
|
|
1839
|
-
export interface ClientRegisterResponse {
|
|
1840
|
-
/**
|
|
1841
|
-
*
|
|
1842
|
-
* @type {string}
|
|
1843
|
-
* @memberof ClientRegisterResponse
|
|
1844
|
-
*/
|
|
1845
|
-
'id': string;
|
|
1846
|
-
/**
|
|
1847
|
-
*
|
|
1848
|
-
* @type {string}
|
|
1849
|
-
* @memberof ClientRegisterResponse
|
|
1850
|
-
*/
|
|
1851
|
-
'token': string;
|
|
1852
|
-
}
|
|
1853
|
-
/**
|
|
1854
|
-
*
|
|
1855
|
-
* @export
|
|
1856
|
-
* @interface ClientSubscriptionResponse
|
|
1857
|
-
*/
|
|
1858
|
-
export interface ClientSubscriptionResponse {
|
|
1859
|
-
/**
|
|
1860
|
-
*
|
|
1861
|
-
* @type {string}
|
|
1862
|
-
* @memberof ClientSubscriptionResponse
|
|
1863
|
-
*/
|
|
1864
|
-
'id': string;
|
|
1865
|
-
/**
|
|
1866
|
-
*
|
|
1867
|
-
* @type {string}
|
|
1868
|
-
* @memberof ClientSubscriptionResponse
|
|
1869
|
-
*/
|
|
1870
|
-
'subscriptionType': string;
|
|
1871
|
-
/**
|
|
1872
|
-
*
|
|
1873
|
-
* @type {string}
|
|
1874
|
-
* @memberof ClientSubscriptionResponse
|
|
1875
|
-
*/
|
|
1876
|
-
'status': string;
|
|
1877
|
-
/**
|
|
1878
|
-
*
|
|
1879
|
-
* @type {string}
|
|
1880
|
-
* @memberof ClientSubscriptionResponse
|
|
1881
|
-
*/
|
|
1882
|
-
'startDate': string;
|
|
1883
|
-
/**
|
|
1884
|
-
*
|
|
1885
|
-
* @type {string}
|
|
1886
|
-
* @memberof ClientSubscriptionResponse
|
|
1887
|
-
*/
|
|
1888
|
-
'endDate'?: string;
|
|
1889
|
-
/**
|
|
1890
|
-
*
|
|
1891
|
-
* @type {number}
|
|
1892
|
-
* @memberof ClientSubscriptionResponse
|
|
1893
|
-
*/
|
|
1894
|
-
'priceAmountInCents': number;
|
|
1895
|
-
/**
|
|
1896
|
-
*
|
|
1897
|
-
* @type {string}
|
|
1898
|
-
* @memberof ClientSubscriptionResponse
|
|
1899
|
-
*/
|
|
1900
|
-
'currency': string;
|
|
1901
|
-
/**
|
|
1902
|
-
*
|
|
1903
|
-
* @type {string}
|
|
1904
|
-
* @memberof ClientSubscriptionResponse
|
|
1905
|
-
*/
|
|
1906
|
-
'billingCycle': string;
|
|
1907
1591
|
}
|
|
1908
1592
|
/**
|
|
1909
1593
|
*
|
|
@@ -2128,6 +1812,80 @@ export interface ClubMemberResponseUser {
|
|
|
2128
1812
|
*/
|
|
2129
1813
|
'id': string;
|
|
2130
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
*
|
|
1817
|
+
* @export
|
|
1818
|
+
* @interface ClubMetadataResponse
|
|
1819
|
+
*/
|
|
1820
|
+
export interface ClubMetadataResponse {
|
|
1821
|
+
/**
|
|
1822
|
+
* ID unique du club
|
|
1823
|
+
* @type {string}
|
|
1824
|
+
* @memberof ClubMetadataResponse
|
|
1825
|
+
*/
|
|
1826
|
+
'id': string;
|
|
1827
|
+
/**
|
|
1828
|
+
* Nom du club
|
|
1829
|
+
* @type {string}
|
|
1830
|
+
* @memberof ClubMetadataResponse
|
|
1831
|
+
*/
|
|
1832
|
+
'name': string;
|
|
1833
|
+
/**
|
|
1834
|
+
* Description du club
|
|
1835
|
+
* @type {string}
|
|
1836
|
+
* @memberof ClubMetadataResponse
|
|
1837
|
+
*/
|
|
1838
|
+
'description'?: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* URL de la photo de profil (pdp)
|
|
1841
|
+
* @type {string}
|
|
1842
|
+
* @memberof ClubMetadataResponse
|
|
1843
|
+
*/
|
|
1844
|
+
'picture'?: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* URL de la bannière principale
|
|
1847
|
+
* @type {string}
|
|
1848
|
+
* @memberof ClubMetadataResponse
|
|
1849
|
+
*/
|
|
1850
|
+
'primaryBannerPicture'?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
*
|
|
1853
|
+
* @type {ClubMetadataResponseLocation}
|
|
1854
|
+
* @memberof ClubMetadataResponse
|
|
1855
|
+
*/
|
|
1856
|
+
'location'?: ClubMetadataResponseLocation;
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* Localisation du club
|
|
1860
|
+
* @export
|
|
1861
|
+
* @interface ClubMetadataResponseLocation
|
|
1862
|
+
*/
|
|
1863
|
+
export interface ClubMetadataResponseLocation {
|
|
1864
|
+
/**
|
|
1865
|
+
*
|
|
1866
|
+
* @type {string}
|
|
1867
|
+
* @memberof ClubMetadataResponseLocation
|
|
1868
|
+
*/
|
|
1869
|
+
'country'?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
*
|
|
1872
|
+
* @type {string}
|
|
1873
|
+
* @memberof ClubMetadataResponseLocation
|
|
1874
|
+
*/
|
|
1875
|
+
'zipCode'?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
*
|
|
1878
|
+
* @type {string}
|
|
1879
|
+
* @memberof ClubMetadataResponseLocation
|
|
1880
|
+
*/
|
|
1881
|
+
'city'?: string;
|
|
1882
|
+
/**
|
|
1883
|
+
*
|
|
1884
|
+
* @type {string}
|
|
1885
|
+
* @memberof ClubMetadataResponseLocation
|
|
1886
|
+
*/
|
|
1887
|
+
'address'?: string;
|
|
1888
|
+
}
|
|
2131
1889
|
/**
|
|
2132
1890
|
*
|
|
2133
1891
|
* @export
|
|
@@ -2462,12 +2220,6 @@ export interface ClubPlayerDetailResponse {
|
|
|
2462
2220
|
* @memberof ClubPlayerDetailResponse
|
|
2463
2221
|
*/
|
|
2464
2222
|
'birthDate': string | null;
|
|
2465
|
-
/**
|
|
2466
|
-
*
|
|
2467
|
-
* @type {number}
|
|
2468
|
-
* @memberof ClubPlayerDetailResponse
|
|
2469
|
-
*/
|
|
2470
|
-
'credits': number | null;
|
|
2471
2223
|
}
|
|
2472
2224
|
/**
|
|
2473
2225
|
*
|
|
@@ -3210,19 +2962,7 @@ export interface ClubSummary {
|
|
|
3210
2962
|
* @type {string}
|
|
3211
2963
|
* @memberof ClubSummary
|
|
3212
2964
|
*/
|
|
3213
|
-
'
|
|
3214
|
-
/**
|
|
3215
|
-
*
|
|
3216
|
-
* @type {Array<string>}
|
|
3217
|
-
* @memberof ClubSummary
|
|
3218
|
-
*/
|
|
3219
|
-
'bannerPictures'?: Array<string>;
|
|
3220
|
-
/**
|
|
3221
|
-
*
|
|
3222
|
-
* @type {Array<string>}
|
|
3223
|
-
* @memberof ClubSummary
|
|
3224
|
-
*/
|
|
3225
|
-
'galleryPictures'?: Array<string>;
|
|
2965
|
+
'address'?: string | null;
|
|
3226
2966
|
/**
|
|
3227
2967
|
*
|
|
3228
2968
|
* @type {UserLocationSummary}
|
|
@@ -3235,12 +2975,6 @@ export interface ClubSummary {
|
|
|
3235
2975
|
* @memberof ClubSummary
|
|
3236
2976
|
*/
|
|
3237
2977
|
'visitCount'?: number;
|
|
3238
|
-
/**
|
|
3239
|
-
*
|
|
3240
|
-
* @type {Array<string>}
|
|
3241
|
-
* @memberof ClubSummary
|
|
3242
|
-
*/
|
|
3243
|
-
'tags'?: Array<string>;
|
|
3244
2978
|
}
|
|
3245
2979
|
/**
|
|
3246
2980
|
*
|
|
@@ -3718,19 +3452,13 @@ export interface CreateEventRequest {
|
|
|
3718
3452
|
* @type {string}
|
|
3719
3453
|
* @memberof CreateEventRequest
|
|
3720
3454
|
*/
|
|
3721
|
-
'recurringType'
|
|
3455
|
+
'recurringType': CreateEventRequestRecurringTypeEnum;
|
|
3722
3456
|
/**
|
|
3723
3457
|
*
|
|
3724
3458
|
* @type {string}
|
|
3725
3459
|
* @memberof CreateEventRequest
|
|
3726
3460
|
*/
|
|
3727
3461
|
'recurrenceEndDate'?: string;
|
|
3728
|
-
/**
|
|
3729
|
-
*
|
|
3730
|
-
* @type {number}
|
|
3731
|
-
* @memberof CreateEventRequest
|
|
3732
|
-
*/
|
|
3733
|
-
'occurrences'?: number;
|
|
3734
3462
|
/**
|
|
3735
3463
|
*
|
|
3736
3464
|
* @type {string}
|
|
@@ -3815,6 +3543,109 @@ export const CreateEventRequestVisibilityTypeEnum = {
|
|
|
3815
3543
|
|
|
3816
3544
|
export type CreateEventRequestVisibilityTypeEnum = typeof CreateEventRequestVisibilityTypeEnum[keyof typeof CreateEventRequestVisibilityTypeEnum];
|
|
3817
3545
|
|
|
3546
|
+
/**
|
|
3547
|
+
*
|
|
3548
|
+
* @export
|
|
3549
|
+
* @interface CreateOnsiteInvoiceRequest
|
|
3550
|
+
*/
|
|
3551
|
+
export interface CreateOnsiteInvoiceRequest {
|
|
3552
|
+
/**
|
|
3553
|
+
* Payer user id (creator or player)
|
|
3554
|
+
* @type {string}
|
|
3555
|
+
* @memberof CreateOnsiteInvoiceRequest
|
|
3556
|
+
*/
|
|
3557
|
+
'userId': string;
|
|
3558
|
+
/**
|
|
3559
|
+
* Amount in cents
|
|
3560
|
+
* @type {number}
|
|
3561
|
+
* @memberof CreateOnsiteInvoiceRequest
|
|
3562
|
+
*/
|
|
3563
|
+
'amount': number;
|
|
3564
|
+
/**
|
|
3565
|
+
*
|
|
3566
|
+
* @type {PaymentMethod}
|
|
3567
|
+
* @memberof CreateOnsiteInvoiceRequest
|
|
3568
|
+
*/
|
|
3569
|
+
'paymentMethod': PaymentMethod;
|
|
3570
|
+
/**
|
|
3571
|
+
*
|
|
3572
|
+
* @type {InvoiceStatus}
|
|
3573
|
+
* @memberof CreateOnsiteInvoiceRequest
|
|
3574
|
+
*/
|
|
3575
|
+
'status': InvoiceStatus;
|
|
3576
|
+
/**
|
|
3577
|
+
* Optional note/reason about the invoice
|
|
3578
|
+
* @type {string}
|
|
3579
|
+
* @memberof CreateOnsiteInvoiceRequest
|
|
3580
|
+
*/
|
|
3581
|
+
'reason'?: string;
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
/**
|
|
3586
|
+
*
|
|
3587
|
+
* @export
|
|
3588
|
+
* @interface CreateOnsiteInvoiceResponse
|
|
3589
|
+
*/
|
|
3590
|
+
export interface CreateOnsiteInvoiceResponse {
|
|
3591
|
+
/**
|
|
3592
|
+
* Confirmation message
|
|
3593
|
+
* @type {string}
|
|
3594
|
+
* @memberof CreateOnsiteInvoiceResponse
|
|
3595
|
+
*/
|
|
3596
|
+
'message': string;
|
|
3597
|
+
/**
|
|
3598
|
+
*
|
|
3599
|
+
* @type {CreateOnsiteInvoiceResponseInvoice}
|
|
3600
|
+
* @memberof CreateOnsiteInvoiceResponse
|
|
3601
|
+
*/
|
|
3602
|
+
'invoice': CreateOnsiteInvoiceResponseInvoice;
|
|
3603
|
+
}
|
|
3604
|
+
/**
|
|
3605
|
+
* Created invoice summary
|
|
3606
|
+
* @export
|
|
3607
|
+
* @interface CreateOnsiteInvoiceResponseInvoice
|
|
3608
|
+
*/
|
|
3609
|
+
export interface CreateOnsiteInvoiceResponseInvoice {
|
|
3610
|
+
/**
|
|
3611
|
+
*
|
|
3612
|
+
* @type {string}
|
|
3613
|
+
* @memberof CreateOnsiteInvoiceResponseInvoice
|
|
3614
|
+
*/
|
|
3615
|
+
'reason'?: string;
|
|
3616
|
+
/**
|
|
3617
|
+
*
|
|
3618
|
+
* @type {PaymentMethod}
|
|
3619
|
+
* @memberof CreateOnsiteInvoiceResponseInvoice
|
|
3620
|
+
*/
|
|
3621
|
+
'paymentMethod': PaymentMethod;
|
|
3622
|
+
/**
|
|
3623
|
+
*
|
|
3624
|
+
* @type {InvoiceStatus}
|
|
3625
|
+
* @memberof CreateOnsiteInvoiceResponseInvoice
|
|
3626
|
+
*/
|
|
3627
|
+
'status': InvoiceStatus;
|
|
3628
|
+
/**
|
|
3629
|
+
*
|
|
3630
|
+
* @type {number}
|
|
3631
|
+
* @memberof CreateOnsiteInvoiceResponseInvoice
|
|
3632
|
+
*/
|
|
3633
|
+
'amount': number;
|
|
3634
|
+
/**
|
|
3635
|
+
*
|
|
3636
|
+
* @type {string}
|
|
3637
|
+
* @memberof CreateOnsiteInvoiceResponseInvoice
|
|
3638
|
+
*/
|
|
3639
|
+
'userId': string;
|
|
3640
|
+
/**
|
|
3641
|
+
*
|
|
3642
|
+
* @type {string}
|
|
3643
|
+
* @memberof CreateOnsiteInvoiceResponseInvoice
|
|
3644
|
+
*/
|
|
3645
|
+
'id': string;
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
|
|
3818
3649
|
/**
|
|
3819
3650
|
*
|
|
3820
3651
|
* @export
|
|
@@ -4148,6 +3979,74 @@ export const DiscountType = {
|
|
|
4148
3979
|
export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
|
|
4149
3980
|
|
|
4150
3981
|
|
|
3982
|
+
/**
|
|
3983
|
+
*
|
|
3984
|
+
* @export
|
|
3985
|
+
* @interface EventConflictCheckRequest
|
|
3986
|
+
*/
|
|
3987
|
+
export interface EventConflictCheckRequest {
|
|
3988
|
+
/**
|
|
3989
|
+
*
|
|
3990
|
+
* @type {string}
|
|
3991
|
+
* @memberof EventConflictCheckRequest
|
|
3992
|
+
*/
|
|
3993
|
+
'eventId'?: string;
|
|
3994
|
+
/**
|
|
3995
|
+
*
|
|
3996
|
+
* @type {string}
|
|
3997
|
+
* @memberof EventConflictCheckRequest
|
|
3998
|
+
*/
|
|
3999
|
+
'clubId'?: string;
|
|
4000
|
+
/**
|
|
4001
|
+
*
|
|
4002
|
+
* @type {string}
|
|
4003
|
+
* @memberof EventConflictCheckRequest
|
|
4004
|
+
*/
|
|
4005
|
+
'startDate'?: string;
|
|
4006
|
+
/**
|
|
4007
|
+
*
|
|
4008
|
+
* @type {string}
|
|
4009
|
+
* @memberof EventConflictCheckRequest
|
|
4010
|
+
*/
|
|
4011
|
+
'endDate'?: string;
|
|
4012
|
+
/**
|
|
4013
|
+
*
|
|
4014
|
+
* @type {Array<string>}
|
|
4015
|
+
* @memberof EventConflictCheckRequest
|
|
4016
|
+
*/
|
|
4017
|
+
'courts'?: Array<string>;
|
|
4018
|
+
}
|
|
4019
|
+
/**
|
|
4020
|
+
*
|
|
4021
|
+
* @export
|
|
4022
|
+
* @interface EventConflictCheckResponse
|
|
4023
|
+
*/
|
|
4024
|
+
export interface EventConflictCheckResponse {
|
|
4025
|
+
/**
|
|
4026
|
+
*
|
|
4027
|
+
* @type {boolean}
|
|
4028
|
+
* @memberof EventConflictCheckResponse
|
|
4029
|
+
*/
|
|
4030
|
+
'hasRegularBookings': boolean;
|
|
4031
|
+
/**
|
|
4032
|
+
*
|
|
4033
|
+
* @type {number}
|
|
4034
|
+
* @memberof EventConflictCheckResponse
|
|
4035
|
+
*/
|
|
4036
|
+
'regularBookingsCount': number;
|
|
4037
|
+
/**
|
|
4038
|
+
*
|
|
4039
|
+
* @type {boolean}
|
|
4040
|
+
* @memberof EventConflictCheckResponse
|
|
4041
|
+
*/
|
|
4042
|
+
'hasEventBookings': boolean;
|
|
4043
|
+
/**
|
|
4044
|
+
*
|
|
4045
|
+
* @type {number}
|
|
4046
|
+
* @memberof EventConflictCheckResponse
|
|
4047
|
+
*/
|
|
4048
|
+
'eventBookingsCount': number;
|
|
4049
|
+
}
|
|
4151
4050
|
/**
|
|
4152
4051
|
*
|
|
4153
4052
|
* @export
|
|
@@ -4654,25 +4553,6 @@ export interface GetSlotsByClubById200Response {
|
|
|
4654
4553
|
*/
|
|
4655
4554
|
'slots': Array<any>;
|
|
4656
4555
|
}
|
|
4657
|
-
/**
|
|
4658
|
-
*
|
|
4659
|
-
* @export
|
|
4660
|
-
* @interface GetSubscriptionsHistory200Response
|
|
4661
|
-
*/
|
|
4662
|
-
export interface GetSubscriptionsHistory200Response {
|
|
4663
|
-
/**
|
|
4664
|
-
*
|
|
4665
|
-
* @type {Array<ClientSubscriptionResponse>}
|
|
4666
|
-
* @memberof GetSubscriptionsHistory200Response
|
|
4667
|
-
*/
|
|
4668
|
-
'subscriptions': Array<ClientSubscriptionResponse>;
|
|
4669
|
-
/**
|
|
4670
|
-
*
|
|
4671
|
-
* @type {string}
|
|
4672
|
-
* @memberof GetSubscriptionsHistory200Response
|
|
4673
|
-
*/
|
|
4674
|
-
'clientAccountId': string;
|
|
4675
|
-
}
|
|
4676
4556
|
/**
|
|
4677
4557
|
*
|
|
4678
4558
|
* @export
|
|
@@ -5235,7 +5115,54 @@ export interface JoinEventRequest {
|
|
|
5235
5115
|
* @memberof JoinEventRequest
|
|
5236
5116
|
*/
|
|
5237
5117
|
'players'?: Array<string>;
|
|
5118
|
+
/**
|
|
5119
|
+
*
|
|
5120
|
+
* @type {boolean}
|
|
5121
|
+
* @memberof JoinEventRequest
|
|
5122
|
+
*/
|
|
5123
|
+
'isCreatorPayingAll'?: boolean;
|
|
5124
|
+
/**
|
|
5125
|
+
*
|
|
5126
|
+
* @type {PaymentMethod}
|
|
5127
|
+
* @memberof JoinEventRequest
|
|
5128
|
+
*/
|
|
5129
|
+
'paymentMethod'?: PaymentMethod;
|
|
5130
|
+
/**
|
|
5131
|
+
*
|
|
5132
|
+
* @type {Array<JoinEventRequestPlayersPaymentMethodsInner>}
|
|
5133
|
+
* @memberof JoinEventRequest
|
|
5134
|
+
*/
|
|
5135
|
+
'playersPaymentMethods'?: Array<JoinEventRequestPlayersPaymentMethodsInner>;
|
|
5136
|
+
/**
|
|
5137
|
+
*
|
|
5138
|
+
* @type {boolean}
|
|
5139
|
+
* @memberof JoinEventRequest
|
|
5140
|
+
*/
|
|
5141
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
5142
|
+
}
|
|
5143
|
+
|
|
5144
|
+
|
|
5145
|
+
/**
|
|
5146
|
+
*
|
|
5147
|
+
* @export
|
|
5148
|
+
* @interface JoinEventRequestPlayersPaymentMethodsInner
|
|
5149
|
+
*/
|
|
5150
|
+
export interface JoinEventRequestPlayersPaymentMethodsInner {
|
|
5151
|
+
/**
|
|
5152
|
+
*
|
|
5153
|
+
* @type {PaymentMethod}
|
|
5154
|
+
* @memberof JoinEventRequestPlayersPaymentMethodsInner
|
|
5155
|
+
*/
|
|
5156
|
+
'paymentMethod': PaymentMethod;
|
|
5157
|
+
/**
|
|
5158
|
+
*
|
|
5159
|
+
* @type {string}
|
|
5160
|
+
* @memberof JoinEventRequestPlayersPaymentMethodsInner
|
|
5161
|
+
*/
|
|
5162
|
+
'id': string;
|
|
5238
5163
|
}
|
|
5164
|
+
|
|
5165
|
+
|
|
5239
5166
|
/**
|
|
5240
5167
|
*
|
|
5241
5168
|
* @export
|
|
@@ -5761,6 +5688,8 @@ export interface PaymentByPlayerInfo {
|
|
|
5761
5688
|
export const PaymentMethod = {
|
|
5762
5689
|
Online: 'online',
|
|
5763
5690
|
Onsite: 'onsite',
|
|
5691
|
+
OnsiteCard: 'onsite_card',
|
|
5692
|
+
OnsiteCash: 'onsite_cash',
|
|
5764
5693
|
Free: 'free'
|
|
5765
5694
|
} as const;
|
|
5766
5695
|
|
|
@@ -6363,6 +6292,12 @@ export interface PublishEventResponse {
|
|
|
6363
6292
|
* @memberof PublishEventResponse
|
|
6364
6293
|
*/
|
|
6365
6294
|
'event': EventResponse;
|
|
6295
|
+
/**
|
|
6296
|
+
*
|
|
6297
|
+
* @type {Array<string>}
|
|
6298
|
+
* @memberof PublishEventResponse
|
|
6299
|
+
*/
|
|
6300
|
+
'refundedBookingIds'?: Array<string>;
|
|
6366
6301
|
}
|
|
6367
6302
|
/**
|
|
6368
6303
|
*
|
|
@@ -9315,19 +9250,6 @@ export interface UpdateSubscriptionPlanForClub200Response {
|
|
|
9315
9250
|
*/
|
|
9316
9251
|
'price': any;
|
|
9317
9252
|
}
|
|
9318
|
-
/**
|
|
9319
|
-
*
|
|
9320
|
-
* @export
|
|
9321
|
-
* @interface UpdateUserCreditsRequest
|
|
9322
|
-
*/
|
|
9323
|
-
export interface UpdateUserCreditsRequest {
|
|
9324
|
-
/**
|
|
9325
|
-
* Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
|
|
9326
|
-
* @type {number}
|
|
9327
|
-
* @memberof UpdateUserCreditsRequest
|
|
9328
|
-
*/
|
|
9329
|
-
'deltaInCents': number;
|
|
9330
|
-
}
|
|
9331
9253
|
/**
|
|
9332
9254
|
*
|
|
9333
9255
|
* @export
|
|
@@ -11443,6 +11365,41 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
11443
11365
|
*/
|
|
11444
11366
|
export const ClientApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11445
11367
|
return {
|
|
11368
|
+
/**
|
|
11369
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11370
|
+
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
11371
|
+
* @param {*} [options] Override http request option.
|
|
11372
|
+
* @throws {RequiredError}
|
|
11373
|
+
*/
|
|
11374
|
+
clientRegister: async (clientRegisterRequest: ClientRegisterRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11375
|
+
// verify required parameter 'clientRegisterRequest' is not null or undefined
|
|
11376
|
+
assertParamExists('clientRegister', 'clientRegisterRequest', clientRegisterRequest)
|
|
11377
|
+
const localVarPath = `/clients/register`;
|
|
11378
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11380
|
+
let baseOptions;
|
|
11381
|
+
if (configuration) {
|
|
11382
|
+
baseOptions = configuration.baseOptions;
|
|
11383
|
+
}
|
|
11384
|
+
|
|
11385
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11386
|
+
const localVarHeaderParameter = {} as any;
|
|
11387
|
+
const localVarQueryParameter = {} as any;
|
|
11388
|
+
|
|
11389
|
+
|
|
11390
|
+
|
|
11391
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11392
|
+
|
|
11393
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11395
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11396
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clientRegisterRequest, localVarRequestOptions, configuration)
|
|
11397
|
+
|
|
11398
|
+
return {
|
|
11399
|
+
url: toPathString(localVarUrlObj),
|
|
11400
|
+
options: localVarRequestOptions,
|
|
11401
|
+
};
|
|
11402
|
+
},
|
|
11446
11403
|
/**
|
|
11447
11404
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11448
11405
|
* @param {*} [options] Override http request option.
|
|
@@ -11497,6 +11454,10 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11497
11454
|
const localVarHeaderParameter = {} as any;
|
|
11498
11455
|
const localVarQueryParameter = {} as any;
|
|
11499
11456
|
|
|
11457
|
+
// authentication clientAuth required
|
|
11458
|
+
// http bearer authentication required
|
|
11459
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11460
|
+
|
|
11500
11461
|
|
|
11501
11462
|
|
|
11502
11463
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -11521,6 +11482,18 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11521
11482
|
export const ClientApiFp = function(configuration?: Configuration) {
|
|
11522
11483
|
const localVarAxiosParamCreator = ClientApiAxiosParamCreator(configuration)
|
|
11523
11484
|
return {
|
|
11485
|
+
/**
|
|
11486
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11487
|
+
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
11488
|
+
* @param {*} [options] Override http request option.
|
|
11489
|
+
* @throws {RequiredError}
|
|
11490
|
+
*/
|
|
11491
|
+
async clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>> {
|
|
11492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clientRegister(clientRegisterRequest, options);
|
|
11493
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11494
|
+
const localVarOperationServerBasePath = operationServerMap['ClientApi.clientRegister']?.[localVarOperationServerIndex]?.url;
|
|
11495
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11496
|
+
},
|
|
11524
11497
|
/**
|
|
11525
11498
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11526
11499
|
* @param {*} [options] Override http request option.
|
|
@@ -11538,7 +11511,7 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
11538
11511
|
* @param {*} [options] Override http request option.
|
|
11539
11512
|
* @throws {RequiredError}
|
|
11540
11513
|
*/
|
|
11541
|
-
async onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11514
|
+
async onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientFullOnboardingResponse>> {
|
|
11542
11515
|
const localVarAxiosArgs = await localVarAxiosParamCreator.onboardClub(clientOnboardingRequestBody, options);
|
|
11543
11516
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11544
11517
|
const localVarOperationServerBasePath = operationServerMap['ClientApi.onboardClub']?.[localVarOperationServerIndex]?.url;
|
|
@@ -11555,11 +11528,20 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11555
11528
|
const localVarFp = ClientApiFp(configuration)
|
|
11556
11529
|
return {
|
|
11557
11530
|
/**
|
|
11558
|
-
*
|
|
11531
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11532
|
+
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
11559
11533
|
* @param {*} [options] Override http request option.
|
|
11560
11534
|
* @throws {RequiredError}
|
|
11561
11535
|
*/
|
|
11562
|
-
|
|
11536
|
+
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response> {
|
|
11537
|
+
return localVarFp.clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(axios, basePath));
|
|
11538
|
+
},
|
|
11539
|
+
/**
|
|
11540
|
+
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11541
|
+
* @param {*} [options] Override http request option.
|
|
11542
|
+
* @throws {RequiredError}
|
|
11543
|
+
*/
|
|
11544
|
+
getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse> {
|
|
11563
11545
|
return localVarFp.getManagedClubs(options).then((request) => request(axios, basePath));
|
|
11564
11546
|
},
|
|
11565
11547
|
/**
|
|
@@ -11568,12 +11550,26 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
11568
11550
|
* @param {*} [options] Override http request option.
|
|
11569
11551
|
* @throws {RequiredError}
|
|
11570
11552
|
*/
|
|
11571
|
-
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11553
|
+
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientFullOnboardingResponse> {
|
|
11572
11554
|
return localVarFp.onboardClub(requestParameters.clientOnboardingRequestBody, options).then((request) => request(axios, basePath));
|
|
11573
11555
|
},
|
|
11574
11556
|
};
|
|
11575
11557
|
};
|
|
11576
11558
|
|
|
11559
|
+
/**
|
|
11560
|
+
* Request parameters for clientRegister operation in ClientApi.
|
|
11561
|
+
* @export
|
|
11562
|
+
* @interface ClientApiClientRegisterRequest
|
|
11563
|
+
*/
|
|
11564
|
+
export interface ClientApiClientRegisterRequest {
|
|
11565
|
+
/**
|
|
11566
|
+
*
|
|
11567
|
+
* @type {ClientRegisterRequest}
|
|
11568
|
+
* @memberof ClientApiClientRegister
|
|
11569
|
+
*/
|
|
11570
|
+
readonly clientRegisterRequest: ClientRegisterRequest
|
|
11571
|
+
}
|
|
11572
|
+
|
|
11577
11573
|
/**
|
|
11578
11574
|
* Request parameters for onboardClub operation in ClientApi.
|
|
11579
11575
|
* @export
|
|
@@ -11595,6 +11591,17 @@ export interface ClientApiOnboardClubRequest {
|
|
|
11595
11591
|
* @extends {BaseAPI}
|
|
11596
11592
|
*/
|
|
11597
11593
|
export class ClientApi extends BaseAPI {
|
|
11594
|
+
/**
|
|
11595
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
11596
|
+
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
11597
|
+
* @param {*} [options] Override http request option.
|
|
11598
|
+
* @throws {RequiredError}
|
|
11599
|
+
* @memberof ClientApi
|
|
11600
|
+
*/
|
|
11601
|
+
public clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig) {
|
|
11602
|
+
return ClientApiFp(this.configuration).clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11603
|
+
}
|
|
11604
|
+
|
|
11598
11605
|
/**
|
|
11599
11606
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
11600
11607
|
* @param {*} [options] Override http request option.
|
|
@@ -11620,18 +11627,18 @@ export class ClientApi extends BaseAPI {
|
|
|
11620
11627
|
|
|
11621
11628
|
|
|
11622
11629
|
/**
|
|
11623
|
-
*
|
|
11630
|
+
* ClubAnalyticsApi - axios parameter creator
|
|
11624
11631
|
* @export
|
|
11625
11632
|
*/
|
|
11626
|
-
export const
|
|
11633
|
+
export const ClubAnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11627
11634
|
return {
|
|
11628
11635
|
/**
|
|
11629
|
-
*
|
|
11636
|
+
* Récupère les clubs les plus aimés
|
|
11630
11637
|
* @param {*} [options] Override http request option.
|
|
11631
11638
|
* @throws {RequiredError}
|
|
11632
11639
|
*/
|
|
11633
|
-
|
|
11634
|
-
const localVarPath = `/
|
|
11640
|
+
getMostLikedClub: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11641
|
+
const localVarPath = `/api/club-analytics/most-liked-clubs`;
|
|
11635
11642
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11636
11643
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11637
11644
|
let baseOptions;
|
|
@@ -11643,7 +11650,7 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11643
11650
|
const localVarHeaderParameter = {} as any;
|
|
11644
11651
|
const localVarQueryParameter = {} as any;
|
|
11645
11652
|
|
|
11646
|
-
// authentication
|
|
11653
|
+
// authentication bearerAuth required
|
|
11647
11654
|
// http bearer authentication required
|
|
11648
11655
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11649
11656
|
|
|
@@ -11659,16 +11666,12 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11659
11666
|
};
|
|
11660
11667
|
},
|
|
11661
11668
|
/**
|
|
11662
|
-
* Récupère
|
|
11663
|
-
* @param {string} accountId L\'ID du compte client
|
|
11669
|
+
* Récupère les clubs populaires
|
|
11664
11670
|
* @param {*} [options] Override http request option.
|
|
11665
11671
|
* @throws {RequiredError}
|
|
11666
11672
|
*/
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
assertParamExists('getClientAccountById', 'accountId', accountId)
|
|
11670
|
-
const localVarPath = `/client-accounts/{accountId}`
|
|
11671
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
11673
|
+
getPopularClubs: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11674
|
+
const localVarPath = `/api/club-analytics/popular-clubs`;
|
|
11672
11675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11673
11676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11674
11677
|
let baseOptions;
|
|
@@ -11695,13 +11698,114 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11695
11698
|
options: localVarRequestOptions,
|
|
11696
11699
|
};
|
|
11697
11700
|
},
|
|
11701
|
+
}
|
|
11702
|
+
};
|
|
11703
|
+
|
|
11704
|
+
/**
|
|
11705
|
+
* ClubAnalyticsApi - functional programming interface
|
|
11706
|
+
* @export
|
|
11707
|
+
*/
|
|
11708
|
+
export const ClubAnalyticsApiFp = function(configuration?: Configuration) {
|
|
11709
|
+
const localVarAxiosParamCreator = ClubAnalyticsApiAxiosParamCreator(configuration)
|
|
11710
|
+
return {
|
|
11711
|
+
/**
|
|
11712
|
+
* Récupère les clubs les plus aimés
|
|
11713
|
+
* @param {*} [options] Override http request option.
|
|
11714
|
+
* @throws {RequiredError}
|
|
11715
|
+
*/
|
|
11716
|
+
async getMostLikedClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>> {
|
|
11717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMostLikedClub(options);
|
|
11718
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11719
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsApi.getMostLikedClub']?.[localVarOperationServerIndex]?.url;
|
|
11720
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11721
|
+
},
|
|
11722
|
+
/**
|
|
11723
|
+
* Récupère les clubs populaires
|
|
11724
|
+
* @param {*} [options] Override http request option.
|
|
11725
|
+
* @throws {RequiredError}
|
|
11726
|
+
*/
|
|
11727
|
+
async getPopularClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>> {
|
|
11728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPopularClubs(options);
|
|
11729
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11730
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsApi.getPopularClubs']?.[localVarOperationServerIndex]?.url;
|
|
11731
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11732
|
+
},
|
|
11733
|
+
}
|
|
11734
|
+
};
|
|
11735
|
+
|
|
11736
|
+
/**
|
|
11737
|
+
* ClubAnalyticsApi - factory interface
|
|
11738
|
+
* @export
|
|
11739
|
+
*/
|
|
11740
|
+
export const ClubAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11741
|
+
const localVarFp = ClubAnalyticsApiFp(configuration)
|
|
11742
|
+
return {
|
|
11743
|
+
/**
|
|
11744
|
+
* Récupère les clubs les plus aimés
|
|
11745
|
+
* @param {*} [options] Override http request option.
|
|
11746
|
+
* @throws {RequiredError}
|
|
11747
|
+
*/
|
|
11748
|
+
getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
11749
|
+
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
11750
|
+
},
|
|
11751
|
+
/**
|
|
11752
|
+
* Récupère les clubs populaires
|
|
11753
|
+
* @param {*} [options] Override http request option.
|
|
11754
|
+
* @throws {RequiredError}
|
|
11755
|
+
*/
|
|
11756
|
+
getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
11757
|
+
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
11758
|
+
},
|
|
11759
|
+
};
|
|
11760
|
+
};
|
|
11761
|
+
|
|
11762
|
+
/**
|
|
11763
|
+
* ClubAnalyticsApi - object-oriented interface
|
|
11764
|
+
* @export
|
|
11765
|
+
* @class ClubAnalyticsApi
|
|
11766
|
+
* @extends {BaseAPI}
|
|
11767
|
+
*/
|
|
11768
|
+
export class ClubAnalyticsApi extends BaseAPI {
|
|
11769
|
+
/**
|
|
11770
|
+
* Récupère les clubs les plus aimés
|
|
11771
|
+
* @param {*} [options] Override http request option.
|
|
11772
|
+
* @throws {RequiredError}
|
|
11773
|
+
* @memberof ClubAnalyticsApi
|
|
11774
|
+
*/
|
|
11775
|
+
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
11776
|
+
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
11777
|
+
}
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* Récupère les clubs populaires
|
|
11781
|
+
* @param {*} [options] Override http request option.
|
|
11782
|
+
* @throws {RequiredError}
|
|
11783
|
+
* @memberof ClubAnalyticsApi
|
|
11784
|
+
*/
|
|
11785
|
+
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
11786
|
+
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
11787
|
+
}
|
|
11788
|
+
}
|
|
11789
|
+
|
|
11790
|
+
|
|
11791
|
+
|
|
11792
|
+
/**
|
|
11793
|
+
* ClubAnalyticsStaffApi - axios parameter creator
|
|
11794
|
+
* @export
|
|
11795
|
+
*/
|
|
11796
|
+
export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11797
|
+
return {
|
|
11698
11798
|
/**
|
|
11699
|
-
* Récupère
|
|
11799
|
+
* Récupère les analytics par sport
|
|
11800
|
+
* @param {string} sportId
|
|
11700
11801
|
* @param {*} [options] Override http request option.
|
|
11701
11802
|
* @throws {RequiredError}
|
|
11702
11803
|
*/
|
|
11703
|
-
|
|
11704
|
-
|
|
11804
|
+
getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11805
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
11806
|
+
assertParamExists('getAnalyticsBySport', 'sportId', sportId)
|
|
11807
|
+
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
11808
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
11705
11809
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11706
11810
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11707
11811
|
let baseOptions;
|
|
@@ -11729,12 +11833,18 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11729
11833
|
};
|
|
11730
11834
|
},
|
|
11731
11835
|
/**
|
|
11732
|
-
* Récupère
|
|
11836
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
11837
|
+
* @param {string} playerId
|
|
11838
|
+
* @param {number} [page]
|
|
11839
|
+
* @param {number} [pageSize]
|
|
11733
11840
|
* @param {*} [options] Override http request option.
|
|
11734
11841
|
* @throws {RequiredError}
|
|
11735
11842
|
*/
|
|
11736
|
-
|
|
11737
|
-
|
|
11843
|
+
getClubPlayerBookingsById: async (playerId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11844
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
11845
|
+
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
|
|
11846
|
+
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
11847
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
11738
11848
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11739
11849
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11740
11850
|
let baseOptions;
|
|
@@ -11750,6 +11860,14 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11750
11860
|
// http bearer authentication required
|
|
11751
11861
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11752
11862
|
|
|
11863
|
+
if (page !== undefined) {
|
|
11864
|
+
localVarQueryParameter['page'] = page;
|
|
11865
|
+
}
|
|
11866
|
+
|
|
11867
|
+
if (pageSize !== undefined) {
|
|
11868
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
11869
|
+
}
|
|
11870
|
+
|
|
11753
11871
|
|
|
11754
11872
|
|
|
11755
11873
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11762,12 +11880,16 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11762
11880
|
};
|
|
11763
11881
|
},
|
|
11764
11882
|
/**
|
|
11765
|
-
* Récupère
|
|
11883
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
11884
|
+
* @param {string} playerId
|
|
11766
11885
|
* @param {*} [options] Override http request option.
|
|
11767
11886
|
* @throws {RequiredError}
|
|
11768
11887
|
*/
|
|
11769
|
-
|
|
11770
|
-
|
|
11888
|
+
getClubPlayerById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11889
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
11890
|
+
assertParamExists('getClubPlayerById', 'playerId', playerId)
|
|
11891
|
+
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
11892
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
11771
11893
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11772
11894
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11773
11895
|
let baseOptions;
|
|
@@ -11795,12 +11917,16 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11795
11917
|
};
|
|
11796
11918
|
},
|
|
11797
11919
|
/**
|
|
11798
|
-
*
|
|
11920
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
11921
|
+
* @param {string} playerId
|
|
11799
11922
|
* @param {*} [options] Override http request option.
|
|
11800
11923
|
* @throws {RequiredError}
|
|
11801
11924
|
*/
|
|
11802
|
-
|
|
11803
|
-
|
|
11925
|
+
getClubPlayerStatisticsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11926
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
11927
|
+
assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId)
|
|
11928
|
+
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
11929
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
11804
11930
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11805
11931
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11806
11932
|
let baseOptions;
|
|
@@ -11828,15 +11954,12 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11828
11954
|
};
|
|
11829
11955
|
},
|
|
11830
11956
|
/**
|
|
11831
|
-
*
|
|
11832
|
-
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
11957
|
+
* Récupère la liste des joueurs du club
|
|
11833
11958
|
* @param {*} [options] Override http request option.
|
|
11834
11959
|
* @throws {RequiredError}
|
|
11835
11960
|
*/
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
assertParamExists('onboardClientAccount', 'clientAccountOnboardingRequest', clientAccountOnboardingRequest)
|
|
11839
|
-
const localVarPath = `/client-accounts/onboarding`;
|
|
11961
|
+
getClubPlayers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11962
|
+
const localVarPath = `/api/club-analytics/players`;
|
|
11840
11963
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11841
11964
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11842
11965
|
let baseOptions;
|
|
@@ -11844,22 +11967,19 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11844
11967
|
baseOptions = configuration.baseOptions;
|
|
11845
11968
|
}
|
|
11846
11969
|
|
|
11847
|
-
const localVarRequestOptions = { method: '
|
|
11970
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11848
11971
|
const localVarHeaderParameter = {} as any;
|
|
11849
11972
|
const localVarQueryParameter = {} as any;
|
|
11850
11973
|
|
|
11851
|
-
// authentication
|
|
11974
|
+
// authentication bearerAuth required
|
|
11852
11975
|
// http bearer authentication required
|
|
11853
11976
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11854
11977
|
|
|
11855
11978
|
|
|
11856
11979
|
|
|
11857
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11858
|
-
|
|
11859
11980
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11860
11981
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11861
11982
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11862
|
-
localVarRequestOptions.data = serializeDataIfNeeded(clientAccountOnboardingRequest, localVarRequestOptions, configuration)
|
|
11863
11983
|
|
|
11864
11984
|
return {
|
|
11865
11985
|
url: toPathString(localVarUrlObj),
|
|
@@ -11867,15 +11987,15 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11867
11987
|
};
|
|
11868
11988
|
},
|
|
11869
11989
|
/**
|
|
11870
|
-
*
|
|
11871
|
-
* @param {
|
|
11990
|
+
* Récupère le chiffre d\'affaires quotidien
|
|
11991
|
+
* @param {string} date
|
|
11872
11992
|
* @param {*} [options] Override http request option.
|
|
11873
11993
|
* @throws {RequiredError}
|
|
11874
11994
|
*/
|
|
11875
|
-
|
|
11876
|
-
// verify required parameter '
|
|
11877
|
-
assertParamExists('
|
|
11878
|
-
const localVarPath = `/
|
|
11995
|
+
getDailyTurnOver: async (date: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11996
|
+
// verify required parameter 'date' is not null or undefined
|
|
11997
|
+
assertParamExists('getDailyTurnOver', 'date', date)
|
|
11998
|
+
const localVarPath = `/api/club-analytics/daily-turnover`;
|
|
11879
11999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11880
12000
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11881
12001
|
let baseOptions;
|
|
@@ -11883,777 +12003,66 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11883
12003
|
baseOptions = configuration.baseOptions;
|
|
11884
12004
|
}
|
|
11885
12005
|
|
|
11886
|
-
const localVarRequestOptions = { method: '
|
|
12006
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11887
12007
|
const localVarHeaderParameter = {} as any;
|
|
11888
12008
|
const localVarQueryParameter = {} as any;
|
|
11889
12009
|
|
|
12010
|
+
// authentication bearerAuth required
|
|
12011
|
+
// http bearer authentication required
|
|
12012
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11890
12013
|
|
|
11891
|
-
|
|
11892
|
-
|
|
12014
|
+
if (date !== undefined) {
|
|
12015
|
+
localVarQueryParameter['date'] = date;
|
|
12016
|
+
}
|
|
11893
12017
|
|
|
12018
|
+
|
|
12019
|
+
|
|
11894
12020
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11895
12021
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11896
12022
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11897
|
-
localVarRequestOptions.data = serializeDataIfNeeded(clientRegisterRequestBody, localVarRequestOptions, configuration)
|
|
11898
12023
|
|
|
11899
12024
|
return {
|
|
11900
12025
|
url: toPathString(localVarUrlObj),
|
|
11901
12026
|
options: localVarRequestOptions,
|
|
11902
12027
|
};
|
|
11903
12028
|
},
|
|
11904
|
-
}
|
|
11905
|
-
};
|
|
11906
|
-
|
|
11907
|
-
/**
|
|
11908
|
-
* ClientAccountsApi - functional programming interface
|
|
11909
|
-
* @export
|
|
11910
|
-
*/
|
|
11911
|
-
export const ClientAccountsApiFp = function(configuration?: Configuration) {
|
|
11912
|
-
const localVarAxiosParamCreator = ClientAccountsApiAxiosParamCreator(configuration)
|
|
11913
|
-
return {
|
|
11914
|
-
/**
|
|
11915
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
11916
|
-
* @param {*} [options] Override http request option.
|
|
11917
|
-
* @throws {RequiredError}
|
|
11918
|
-
*/
|
|
11919
|
-
async clientAuthMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientMeResponse>> {
|
|
11920
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.clientAuthMe(options);
|
|
11921
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11922
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.clientAuthMe']?.[localVarOperationServerIndex]?.url;
|
|
11923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11924
|
-
},
|
|
11925
12029
|
/**
|
|
11926
|
-
* Récupère
|
|
11927
|
-
* @param {string} accountId L\'ID du compte client
|
|
11928
|
-
* @param {*} [options] Override http request option.
|
|
11929
|
-
* @throws {RequiredError}
|
|
11930
|
-
*/
|
|
11931
|
-
async getClientAccountById(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>> {
|
|
11932
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClientAccountById(accountId, options);
|
|
11933
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11934
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.getClientAccountById']?.[localVarOperationServerIndex]?.url;
|
|
11935
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11936
|
-
},
|
|
11937
|
-
/**
|
|
11938
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
11939
|
-
* @param {*} [options] Override http request option.
|
|
11940
|
-
* @throws {RequiredError}
|
|
11941
|
-
*/
|
|
11942
|
-
async getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriptionResponse>> {
|
|
11943
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyActiveSubscription(options);
|
|
11944
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11945
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.getMyActiveSubscription']?.[localVarOperationServerIndex]?.url;
|
|
11946
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11947
|
-
},
|
|
11948
|
-
/**
|
|
11949
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
12030
|
+
* Récupère les pourcentages par genre
|
|
11950
12031
|
* @param {*} [options] Override http request option.
|
|
11951
12032
|
* @throws {RequiredError}
|
|
11952
12033
|
*/
|
|
11953
|
-
async
|
|
11954
|
-
const
|
|
11955
|
-
|
|
11956
|
-
const
|
|
11957
|
-
|
|
12034
|
+
getGenderPercentage: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12035
|
+
const localVarPath = `/api/club-analytics/gender-percentage`;
|
|
12036
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12037
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12038
|
+
let baseOptions;
|
|
12039
|
+
if (configuration) {
|
|
12040
|
+
baseOptions = configuration.baseOptions;
|
|
12041
|
+
}
|
|
12042
|
+
|
|
12043
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12044
|
+
const localVarHeaderParameter = {} as any;
|
|
12045
|
+
const localVarQueryParameter = {} as any;
|
|
12046
|
+
|
|
12047
|
+
// authentication bearerAuth required
|
|
12048
|
+
// http bearer authentication required
|
|
12049
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12050
|
+
|
|
12051
|
+
|
|
12052
|
+
|
|
12053
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12054
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12055
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12056
|
+
|
|
12057
|
+
return {
|
|
12058
|
+
url: toPathString(localVarUrlObj),
|
|
12059
|
+
options: localVarRequestOptions,
|
|
12060
|
+
};
|
|
11958
12061
|
},
|
|
11959
12062
|
/**
|
|
11960
|
-
* Récupère
|
|
11961
|
-
* @param {
|
|
11962
|
-
* @
|
|
11963
|
-
*/
|
|
11964
|
-
async getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubscriptionsHistory200Response>> {
|
|
11965
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSubscriptionsHistory(options);
|
|
11966
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11967
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.getSubscriptionsHistory']?.[localVarOperationServerIndex]?.url;
|
|
11968
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11969
|
-
},
|
|
11970
|
-
/**
|
|
11971
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
11972
|
-
* @param {*} [options] Override http request option.
|
|
11973
|
-
* @throws {RequiredError}
|
|
11974
|
-
*/
|
|
11975
|
-
async listAvailablePrices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>> {
|
|
11976
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailablePrices(options);
|
|
11977
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11978
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.listAvailablePrices']?.[localVarOperationServerIndex]?.url;
|
|
11979
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11980
|
-
},
|
|
11981
|
-
/**
|
|
11982
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
11983
|
-
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
11984
|
-
* @param {*} [options] Override http request option.
|
|
11985
|
-
* @throws {RequiredError}
|
|
11986
|
-
*/
|
|
11987
|
-
async onboardClientAccount(clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountOnboardingResponse>> {
|
|
11988
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.onboardClientAccount(clientAccountOnboardingRequest, options);
|
|
11989
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11990
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.onboardClientAccount']?.[localVarOperationServerIndex]?.url;
|
|
11991
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11992
|
-
},
|
|
11993
|
-
/**
|
|
11994
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
11995
|
-
* @param {ClientRegisterRequestBody} clientRegisterRequestBody
|
|
11996
|
-
* @param {*} [options] Override http request option.
|
|
11997
|
-
* @throws {RequiredError}
|
|
11998
|
-
*/
|
|
11999
|
-
async registerClientUser(clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegisterResponse>> {
|
|
12000
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.registerClientUser(clientRegisterRequestBody, options);
|
|
12001
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12002
|
-
const localVarOperationServerBasePath = operationServerMap['ClientAccountsApi.registerClientUser']?.[localVarOperationServerIndex]?.url;
|
|
12003
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12004
|
-
},
|
|
12005
|
-
}
|
|
12006
|
-
};
|
|
12007
|
-
|
|
12008
|
-
/**
|
|
12009
|
-
* ClientAccountsApi - factory interface
|
|
12010
|
-
* @export
|
|
12011
|
-
*/
|
|
12012
|
-
export const ClientAccountsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12013
|
-
const localVarFp = ClientAccountsApiFp(configuration)
|
|
12014
|
-
return {
|
|
12015
|
-
/**
|
|
12016
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
12017
|
-
* @param {*} [options] Override http request option.
|
|
12018
|
-
* @throws {RequiredError}
|
|
12019
|
-
*/
|
|
12020
|
-
clientAuthMe(options?: RawAxiosRequestConfig): AxiosPromise<ClientMeResponse> {
|
|
12021
|
-
return localVarFp.clientAuthMe(options).then((request) => request(axios, basePath));
|
|
12022
|
-
},
|
|
12023
|
-
/**
|
|
12024
|
-
* Récupère le compte client par son ID
|
|
12025
|
-
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
12026
|
-
* @param {*} [options] Override http request option.
|
|
12027
|
-
* @throws {RequiredError}
|
|
12028
|
-
*/
|
|
12029
|
-
getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse> {
|
|
12030
|
-
return localVarFp.getClientAccountById(requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
12031
|
-
},
|
|
12032
|
-
/**
|
|
12033
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
12034
|
-
* @param {*} [options] Override http request option.
|
|
12035
|
-
* @throws {RequiredError}
|
|
12036
|
-
*/
|
|
12037
|
-
getMyActiveSubscription(options?: RawAxiosRequestConfig): AxiosPromise<ActiveSubscriptionResponse> {
|
|
12038
|
-
return localVarFp.getMyActiveSubscription(options).then((request) => request(axios, basePath));
|
|
12039
|
-
},
|
|
12040
|
-
/**
|
|
12041
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
12042
|
-
* @param {*} [options] Override http request option.
|
|
12043
|
-
* @throws {RequiredError}
|
|
12044
|
-
*/
|
|
12045
|
-
getMyClientAccount(options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse> {
|
|
12046
|
-
return localVarFp.getMyClientAccount(options).then((request) => request(axios, basePath));
|
|
12047
|
-
},
|
|
12048
|
-
/**
|
|
12049
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
12050
|
-
* @param {*} [options] Override http request option.
|
|
12051
|
-
* @throws {RequiredError}
|
|
12052
|
-
*/
|
|
12053
|
-
getSubscriptionsHistory(options?: RawAxiosRequestConfig): AxiosPromise<GetSubscriptionsHistory200Response> {
|
|
12054
|
-
return localVarFp.getSubscriptionsHistory(options).then((request) => request(axios, basePath));
|
|
12055
|
-
},
|
|
12056
|
-
/**
|
|
12057
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
12058
|
-
* @param {*} [options] Override http request option.
|
|
12059
|
-
* @throws {RequiredError}
|
|
12060
|
-
*/
|
|
12061
|
-
listAvailablePrices(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
12062
|
-
return localVarFp.listAvailablePrices(options).then((request) => request(axios, basePath));
|
|
12063
|
-
},
|
|
12064
|
-
/**
|
|
12065
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
12066
|
-
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
12067
|
-
* @param {*} [options] Override http request option.
|
|
12068
|
-
* @throws {RequiredError}
|
|
12069
|
-
*/
|
|
12070
|
-
onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountOnboardingResponse> {
|
|
12071
|
-
return localVarFp.onboardClientAccount(requestParameters.clientAccountOnboardingRequest, options).then((request) => request(axios, basePath));
|
|
12072
|
-
},
|
|
12073
|
-
/**
|
|
12074
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
12075
|
-
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
12076
|
-
* @param {*} [options] Override http request option.
|
|
12077
|
-
* @throws {RequiredError}
|
|
12078
|
-
*/
|
|
12079
|
-
registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegisterResponse> {
|
|
12080
|
-
return localVarFp.registerClientUser(requestParameters.clientRegisterRequestBody, options).then((request) => request(axios, basePath));
|
|
12081
|
-
},
|
|
12082
|
-
};
|
|
12083
|
-
};
|
|
12084
|
-
|
|
12085
|
-
/**
|
|
12086
|
-
* Request parameters for getClientAccountById operation in ClientAccountsApi.
|
|
12087
|
-
* @export
|
|
12088
|
-
* @interface ClientAccountsApiGetClientAccountByIdRequest
|
|
12089
|
-
*/
|
|
12090
|
-
export interface ClientAccountsApiGetClientAccountByIdRequest {
|
|
12091
|
-
/**
|
|
12092
|
-
* L\'ID du compte client
|
|
12093
|
-
* @type {string}
|
|
12094
|
-
* @memberof ClientAccountsApiGetClientAccountById
|
|
12095
|
-
*/
|
|
12096
|
-
readonly accountId: string
|
|
12097
|
-
}
|
|
12098
|
-
|
|
12099
|
-
/**
|
|
12100
|
-
* Request parameters for onboardClientAccount operation in ClientAccountsApi.
|
|
12101
|
-
* @export
|
|
12102
|
-
* @interface ClientAccountsApiOnboardClientAccountRequest
|
|
12103
|
-
*/
|
|
12104
|
-
export interface ClientAccountsApiOnboardClientAccountRequest {
|
|
12105
|
-
/**
|
|
12106
|
-
* Les données du compte à créer
|
|
12107
|
-
* @type {ClientAccountOnboardingRequest}
|
|
12108
|
-
* @memberof ClientAccountsApiOnboardClientAccount
|
|
12109
|
-
*/
|
|
12110
|
-
readonly clientAccountOnboardingRequest: ClientAccountOnboardingRequest
|
|
12111
|
-
}
|
|
12112
|
-
|
|
12113
|
-
/**
|
|
12114
|
-
* Request parameters for registerClientUser operation in ClientAccountsApi.
|
|
12115
|
-
* @export
|
|
12116
|
-
* @interface ClientAccountsApiRegisterClientUserRequest
|
|
12117
|
-
*/
|
|
12118
|
-
export interface ClientAccountsApiRegisterClientUserRequest {
|
|
12119
|
-
/**
|
|
12120
|
-
*
|
|
12121
|
-
* @type {ClientRegisterRequestBody}
|
|
12122
|
-
* @memberof ClientAccountsApiRegisterClientUser
|
|
12123
|
-
*/
|
|
12124
|
-
readonly clientRegisterRequestBody: ClientRegisterRequestBody
|
|
12125
|
-
}
|
|
12126
|
-
|
|
12127
|
-
/**
|
|
12128
|
-
* ClientAccountsApi - object-oriented interface
|
|
12129
|
-
* @export
|
|
12130
|
-
* @class ClientAccountsApi
|
|
12131
|
-
* @extends {BaseAPI}
|
|
12132
|
-
*/
|
|
12133
|
-
export class ClientAccountsApi extends BaseAPI {
|
|
12134
|
-
/**
|
|
12135
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
12136
|
-
* @param {*} [options] Override http request option.
|
|
12137
|
-
* @throws {RequiredError}
|
|
12138
|
-
* @memberof ClientAccountsApi
|
|
12139
|
-
*/
|
|
12140
|
-
public clientAuthMe(options?: RawAxiosRequestConfig) {
|
|
12141
|
-
return ClientAccountsApiFp(this.configuration).clientAuthMe(options).then((request) => request(this.axios, this.basePath));
|
|
12142
|
-
}
|
|
12143
|
-
|
|
12144
|
-
/**
|
|
12145
|
-
* Récupère le compte client par son ID
|
|
12146
|
-
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
12147
|
-
* @param {*} [options] Override http request option.
|
|
12148
|
-
* @throws {RequiredError}
|
|
12149
|
-
* @memberof ClientAccountsApi
|
|
12150
|
-
*/
|
|
12151
|
-
public getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig) {
|
|
12152
|
-
return ClientAccountsApiFp(this.configuration).getClientAccountById(requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
12153
|
-
}
|
|
12154
|
-
|
|
12155
|
-
/**
|
|
12156
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
12157
|
-
* @param {*} [options] Override http request option.
|
|
12158
|
-
* @throws {RequiredError}
|
|
12159
|
-
* @memberof ClientAccountsApi
|
|
12160
|
-
*/
|
|
12161
|
-
public getMyActiveSubscription(options?: RawAxiosRequestConfig) {
|
|
12162
|
-
return ClientAccountsApiFp(this.configuration).getMyActiveSubscription(options).then((request) => request(this.axios, this.basePath));
|
|
12163
|
-
}
|
|
12164
|
-
|
|
12165
|
-
/**
|
|
12166
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
12167
|
-
* @param {*} [options] Override http request option.
|
|
12168
|
-
* @throws {RequiredError}
|
|
12169
|
-
* @memberof ClientAccountsApi
|
|
12170
|
-
*/
|
|
12171
|
-
public getMyClientAccount(options?: RawAxiosRequestConfig) {
|
|
12172
|
-
return ClientAccountsApiFp(this.configuration).getMyClientAccount(options).then((request) => request(this.axios, this.basePath));
|
|
12173
|
-
}
|
|
12174
|
-
|
|
12175
|
-
/**
|
|
12176
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
12177
|
-
* @param {*} [options] Override http request option.
|
|
12178
|
-
* @throws {RequiredError}
|
|
12179
|
-
* @memberof ClientAccountsApi
|
|
12180
|
-
*/
|
|
12181
|
-
public getSubscriptionsHistory(options?: RawAxiosRequestConfig) {
|
|
12182
|
-
return ClientAccountsApiFp(this.configuration).getSubscriptionsHistory(options).then((request) => request(this.axios, this.basePath));
|
|
12183
|
-
}
|
|
12184
|
-
|
|
12185
|
-
/**
|
|
12186
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
12187
|
-
* @param {*} [options] Override http request option.
|
|
12188
|
-
* @throws {RequiredError}
|
|
12189
|
-
* @memberof ClientAccountsApi
|
|
12190
|
-
*/
|
|
12191
|
-
public listAvailablePrices(options?: RawAxiosRequestConfig) {
|
|
12192
|
-
return ClientAccountsApiFp(this.configuration).listAvailablePrices(options).then((request) => request(this.axios, this.basePath));
|
|
12193
|
-
}
|
|
12194
|
-
|
|
12195
|
-
/**
|
|
12196
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
12197
|
-
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
12198
|
-
* @param {*} [options] Override http request option.
|
|
12199
|
-
* @throws {RequiredError}
|
|
12200
|
-
* @memberof ClientAccountsApi
|
|
12201
|
-
*/
|
|
12202
|
-
public onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig) {
|
|
12203
|
-
return ClientAccountsApiFp(this.configuration).onboardClientAccount(requestParameters.clientAccountOnboardingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12204
|
-
}
|
|
12205
|
-
|
|
12206
|
-
/**
|
|
12207
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
12208
|
-
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
12209
|
-
* @param {*} [options] Override http request option.
|
|
12210
|
-
* @throws {RequiredError}
|
|
12211
|
-
* @memberof ClientAccountsApi
|
|
12212
|
-
*/
|
|
12213
|
-
public registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig) {
|
|
12214
|
-
return ClientAccountsApiFp(this.configuration).registerClientUser(requestParameters.clientRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
12215
|
-
}
|
|
12216
|
-
}
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
/**
|
|
12221
|
-
* ClubAnalyticsApi - axios parameter creator
|
|
12222
|
-
* @export
|
|
12223
|
-
*/
|
|
12224
|
-
export const ClubAnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12225
|
-
return {
|
|
12226
|
-
/**
|
|
12227
|
-
* Récupère les clubs les plus aimés
|
|
12228
|
-
* @param {*} [options] Override http request option.
|
|
12229
|
-
* @throws {RequiredError}
|
|
12230
|
-
*/
|
|
12231
|
-
getMostLikedClub: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12232
|
-
const localVarPath = `/api/club-analytics/most-liked-clubs`;
|
|
12233
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12234
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12235
|
-
let baseOptions;
|
|
12236
|
-
if (configuration) {
|
|
12237
|
-
baseOptions = configuration.baseOptions;
|
|
12238
|
-
}
|
|
12239
|
-
|
|
12240
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12241
|
-
const localVarHeaderParameter = {} as any;
|
|
12242
|
-
const localVarQueryParameter = {} as any;
|
|
12243
|
-
|
|
12244
|
-
// authentication bearerAuth required
|
|
12245
|
-
// http bearer authentication required
|
|
12246
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12247
|
-
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12251
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12252
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12253
|
-
|
|
12254
|
-
return {
|
|
12255
|
-
url: toPathString(localVarUrlObj),
|
|
12256
|
-
options: localVarRequestOptions,
|
|
12257
|
-
};
|
|
12258
|
-
},
|
|
12259
|
-
/**
|
|
12260
|
-
* Récupère les clubs populaires
|
|
12261
|
-
* @param {*} [options] Override http request option.
|
|
12262
|
-
* @throws {RequiredError}
|
|
12263
|
-
*/
|
|
12264
|
-
getPopularClubs: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12265
|
-
const localVarPath = `/api/club-analytics/popular-clubs`;
|
|
12266
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12267
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12268
|
-
let baseOptions;
|
|
12269
|
-
if (configuration) {
|
|
12270
|
-
baseOptions = configuration.baseOptions;
|
|
12271
|
-
}
|
|
12272
|
-
|
|
12273
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12274
|
-
const localVarHeaderParameter = {} as any;
|
|
12275
|
-
const localVarQueryParameter = {} as any;
|
|
12276
|
-
|
|
12277
|
-
// authentication bearerAuth required
|
|
12278
|
-
// http bearer authentication required
|
|
12279
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12284
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12285
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12286
|
-
|
|
12287
|
-
return {
|
|
12288
|
-
url: toPathString(localVarUrlObj),
|
|
12289
|
-
options: localVarRequestOptions,
|
|
12290
|
-
};
|
|
12291
|
-
},
|
|
12292
|
-
}
|
|
12293
|
-
};
|
|
12294
|
-
|
|
12295
|
-
/**
|
|
12296
|
-
* ClubAnalyticsApi - functional programming interface
|
|
12297
|
-
* @export
|
|
12298
|
-
*/
|
|
12299
|
-
export const ClubAnalyticsApiFp = function(configuration?: Configuration) {
|
|
12300
|
-
const localVarAxiosParamCreator = ClubAnalyticsApiAxiosParamCreator(configuration)
|
|
12301
|
-
return {
|
|
12302
|
-
/**
|
|
12303
|
-
* Récupère les clubs les plus aimés
|
|
12304
|
-
* @param {*} [options] Override http request option.
|
|
12305
|
-
* @throws {RequiredError}
|
|
12306
|
-
*/
|
|
12307
|
-
async getMostLikedClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>> {
|
|
12308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMostLikedClub(options);
|
|
12309
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12310
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsApi.getMostLikedClub']?.[localVarOperationServerIndex]?.url;
|
|
12311
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12312
|
-
},
|
|
12313
|
-
/**
|
|
12314
|
-
* Récupère les clubs populaires
|
|
12315
|
-
* @param {*} [options] Override http request option.
|
|
12316
|
-
* @throws {RequiredError}
|
|
12317
|
-
*/
|
|
12318
|
-
async getPopularClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>> {
|
|
12319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPopularClubs(options);
|
|
12320
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12321
|
-
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsApi.getPopularClubs']?.[localVarOperationServerIndex]?.url;
|
|
12322
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12323
|
-
},
|
|
12324
|
-
}
|
|
12325
|
-
};
|
|
12326
|
-
|
|
12327
|
-
/**
|
|
12328
|
-
* ClubAnalyticsApi - factory interface
|
|
12329
|
-
* @export
|
|
12330
|
-
*/
|
|
12331
|
-
export const ClubAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12332
|
-
const localVarFp = ClubAnalyticsApiFp(configuration)
|
|
12333
|
-
return {
|
|
12334
|
-
/**
|
|
12335
|
-
* Récupère les clubs les plus aimés
|
|
12336
|
-
* @param {*} [options] Override http request option.
|
|
12337
|
-
* @throws {RequiredError}
|
|
12338
|
-
*/
|
|
12339
|
-
getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
12340
|
-
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
12341
|
-
},
|
|
12342
|
-
/**
|
|
12343
|
-
* Récupère les clubs populaires
|
|
12344
|
-
* @param {*} [options] Override http request option.
|
|
12345
|
-
* @throws {RequiredError}
|
|
12346
|
-
*/
|
|
12347
|
-
getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
12348
|
-
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
12349
|
-
},
|
|
12350
|
-
};
|
|
12351
|
-
};
|
|
12352
|
-
|
|
12353
|
-
/**
|
|
12354
|
-
* ClubAnalyticsApi - object-oriented interface
|
|
12355
|
-
* @export
|
|
12356
|
-
* @class ClubAnalyticsApi
|
|
12357
|
-
* @extends {BaseAPI}
|
|
12358
|
-
*/
|
|
12359
|
-
export class ClubAnalyticsApi extends BaseAPI {
|
|
12360
|
-
/**
|
|
12361
|
-
* Récupère les clubs les plus aimés
|
|
12362
|
-
* @param {*} [options] Override http request option.
|
|
12363
|
-
* @throws {RequiredError}
|
|
12364
|
-
* @memberof ClubAnalyticsApi
|
|
12365
|
-
*/
|
|
12366
|
-
public getMostLikedClub(options?: RawAxiosRequestConfig) {
|
|
12367
|
-
return ClubAnalyticsApiFp(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
12368
|
-
}
|
|
12369
|
-
|
|
12370
|
-
/**
|
|
12371
|
-
* Récupère les clubs populaires
|
|
12372
|
-
* @param {*} [options] Override http request option.
|
|
12373
|
-
* @throws {RequiredError}
|
|
12374
|
-
* @memberof ClubAnalyticsApi
|
|
12375
|
-
*/
|
|
12376
|
-
public getPopularClubs(options?: RawAxiosRequestConfig) {
|
|
12377
|
-
return ClubAnalyticsApiFp(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
12378
|
-
}
|
|
12379
|
-
}
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
/**
|
|
12384
|
-
* ClubAnalyticsStaffApi - axios parameter creator
|
|
12385
|
-
* @export
|
|
12386
|
-
*/
|
|
12387
|
-
export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12388
|
-
return {
|
|
12389
|
-
/**
|
|
12390
|
-
* Récupère les analytics par sport
|
|
12391
|
-
* @param {string} sportId
|
|
12392
|
-
* @param {*} [options] Override http request option.
|
|
12393
|
-
* @throws {RequiredError}
|
|
12394
|
-
*/
|
|
12395
|
-
getAnalyticsBySport: async (sportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12396
|
-
// verify required parameter 'sportId' is not null or undefined
|
|
12397
|
-
assertParamExists('getAnalyticsBySport', 'sportId', sportId)
|
|
12398
|
-
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
12399
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
12400
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12401
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12402
|
-
let baseOptions;
|
|
12403
|
-
if (configuration) {
|
|
12404
|
-
baseOptions = configuration.baseOptions;
|
|
12405
|
-
}
|
|
12406
|
-
|
|
12407
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12408
|
-
const localVarHeaderParameter = {} as any;
|
|
12409
|
-
const localVarQueryParameter = {} as any;
|
|
12410
|
-
|
|
12411
|
-
// authentication bearerAuth required
|
|
12412
|
-
// http bearer authentication required
|
|
12413
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12418
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12419
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12420
|
-
|
|
12421
|
-
return {
|
|
12422
|
-
url: toPathString(localVarUrlObj),
|
|
12423
|
-
options: localVarRequestOptions,
|
|
12424
|
-
};
|
|
12425
|
-
},
|
|
12426
|
-
/**
|
|
12427
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
12428
|
-
* @param {string} playerId
|
|
12429
|
-
* @param {number} [page]
|
|
12430
|
-
* @param {number} [pageSize]
|
|
12431
|
-
* @param {*} [options] Override http request option.
|
|
12432
|
-
* @throws {RequiredError}
|
|
12433
|
-
*/
|
|
12434
|
-
getClubPlayerBookingsById: async (playerId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12435
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
12436
|
-
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
|
|
12437
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
12438
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
12439
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12440
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12441
|
-
let baseOptions;
|
|
12442
|
-
if (configuration) {
|
|
12443
|
-
baseOptions = configuration.baseOptions;
|
|
12444
|
-
}
|
|
12445
|
-
|
|
12446
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12447
|
-
const localVarHeaderParameter = {} as any;
|
|
12448
|
-
const localVarQueryParameter = {} as any;
|
|
12449
|
-
|
|
12450
|
-
// authentication bearerAuth required
|
|
12451
|
-
// http bearer authentication required
|
|
12452
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12453
|
-
|
|
12454
|
-
if (page !== undefined) {
|
|
12455
|
-
localVarQueryParameter['page'] = page;
|
|
12456
|
-
}
|
|
12457
|
-
|
|
12458
|
-
if (pageSize !== undefined) {
|
|
12459
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
12460
|
-
}
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12465
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12466
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12467
|
-
|
|
12468
|
-
return {
|
|
12469
|
-
url: toPathString(localVarUrlObj),
|
|
12470
|
-
options: localVarRequestOptions,
|
|
12471
|
-
};
|
|
12472
|
-
},
|
|
12473
|
-
/**
|
|
12474
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
12475
|
-
* @param {string} playerId
|
|
12476
|
-
* @param {*} [options] Override http request option.
|
|
12477
|
-
* @throws {RequiredError}
|
|
12478
|
-
*/
|
|
12479
|
-
getClubPlayerById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12480
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
12481
|
-
assertParamExists('getClubPlayerById', 'playerId', playerId)
|
|
12482
|
-
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
12483
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
12484
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12485
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12486
|
-
let baseOptions;
|
|
12487
|
-
if (configuration) {
|
|
12488
|
-
baseOptions = configuration.baseOptions;
|
|
12489
|
-
}
|
|
12490
|
-
|
|
12491
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12492
|
-
const localVarHeaderParameter = {} as any;
|
|
12493
|
-
const localVarQueryParameter = {} as any;
|
|
12494
|
-
|
|
12495
|
-
// authentication bearerAuth required
|
|
12496
|
-
// http bearer authentication required
|
|
12497
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12502
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12503
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12504
|
-
|
|
12505
|
-
return {
|
|
12506
|
-
url: toPathString(localVarUrlObj),
|
|
12507
|
-
options: localVarRequestOptions,
|
|
12508
|
-
};
|
|
12509
|
-
},
|
|
12510
|
-
/**
|
|
12511
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
12512
|
-
* @param {string} playerId
|
|
12513
|
-
* @param {*} [options] Override http request option.
|
|
12514
|
-
* @throws {RequiredError}
|
|
12515
|
-
*/
|
|
12516
|
-
getClubPlayerStatisticsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12517
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
12518
|
-
assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId)
|
|
12519
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
12520
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
12521
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12522
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12523
|
-
let baseOptions;
|
|
12524
|
-
if (configuration) {
|
|
12525
|
-
baseOptions = configuration.baseOptions;
|
|
12526
|
-
}
|
|
12527
|
-
|
|
12528
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12529
|
-
const localVarHeaderParameter = {} as any;
|
|
12530
|
-
const localVarQueryParameter = {} as any;
|
|
12531
|
-
|
|
12532
|
-
// authentication bearerAuth required
|
|
12533
|
-
// http bearer authentication required
|
|
12534
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12538
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12539
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12540
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12541
|
-
|
|
12542
|
-
return {
|
|
12543
|
-
url: toPathString(localVarUrlObj),
|
|
12544
|
-
options: localVarRequestOptions,
|
|
12545
|
-
};
|
|
12546
|
-
},
|
|
12547
|
-
/**
|
|
12548
|
-
* Récupère la liste des joueurs du club
|
|
12549
|
-
* @param {*} [options] Override http request option.
|
|
12550
|
-
* @throws {RequiredError}
|
|
12551
|
-
*/
|
|
12552
|
-
getClubPlayers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12553
|
-
const localVarPath = `/api/club-analytics/players`;
|
|
12554
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12555
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12556
|
-
let baseOptions;
|
|
12557
|
-
if (configuration) {
|
|
12558
|
-
baseOptions = configuration.baseOptions;
|
|
12559
|
-
}
|
|
12560
|
-
|
|
12561
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12562
|
-
const localVarHeaderParameter = {} as any;
|
|
12563
|
-
const localVarQueryParameter = {} as any;
|
|
12564
|
-
|
|
12565
|
-
// authentication bearerAuth required
|
|
12566
|
-
// http bearer authentication required
|
|
12567
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12571
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12572
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12573
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12574
|
-
|
|
12575
|
-
return {
|
|
12576
|
-
url: toPathString(localVarUrlObj),
|
|
12577
|
-
options: localVarRequestOptions,
|
|
12578
|
-
};
|
|
12579
|
-
},
|
|
12580
|
-
/**
|
|
12581
|
-
* Récupère le chiffre d\'affaires quotidien
|
|
12582
|
-
* @param {string} date
|
|
12583
|
-
* @param {*} [options] Override http request option.
|
|
12584
|
-
* @throws {RequiredError}
|
|
12585
|
-
*/
|
|
12586
|
-
getDailyTurnOver: async (date: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12587
|
-
// verify required parameter 'date' is not null or undefined
|
|
12588
|
-
assertParamExists('getDailyTurnOver', 'date', date)
|
|
12589
|
-
const localVarPath = `/api/club-analytics/daily-turnover`;
|
|
12590
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12591
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12592
|
-
let baseOptions;
|
|
12593
|
-
if (configuration) {
|
|
12594
|
-
baseOptions = configuration.baseOptions;
|
|
12595
|
-
}
|
|
12596
|
-
|
|
12597
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12598
|
-
const localVarHeaderParameter = {} as any;
|
|
12599
|
-
const localVarQueryParameter = {} as any;
|
|
12600
|
-
|
|
12601
|
-
// authentication bearerAuth required
|
|
12602
|
-
// http bearer authentication required
|
|
12603
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12604
|
-
|
|
12605
|
-
if (date !== undefined) {
|
|
12606
|
-
localVarQueryParameter['date'] = date;
|
|
12607
|
-
}
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12612
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12613
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12614
|
-
|
|
12615
|
-
return {
|
|
12616
|
-
url: toPathString(localVarUrlObj),
|
|
12617
|
-
options: localVarRequestOptions,
|
|
12618
|
-
};
|
|
12619
|
-
},
|
|
12620
|
-
/**
|
|
12621
|
-
* Récupère les pourcentages par genre
|
|
12622
|
-
* @param {*} [options] Override http request option.
|
|
12623
|
-
* @throws {RequiredError}
|
|
12624
|
-
*/
|
|
12625
|
-
getGenderPercentage: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12626
|
-
const localVarPath = `/api/club-analytics/gender-percentage`;
|
|
12627
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12628
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12629
|
-
let baseOptions;
|
|
12630
|
-
if (configuration) {
|
|
12631
|
-
baseOptions = configuration.baseOptions;
|
|
12632
|
-
}
|
|
12633
|
-
|
|
12634
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12635
|
-
const localVarHeaderParameter = {} as any;
|
|
12636
|
-
const localVarQueryParameter = {} as any;
|
|
12637
|
-
|
|
12638
|
-
// authentication bearerAuth required
|
|
12639
|
-
// http bearer authentication required
|
|
12640
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12645
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12646
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12647
|
-
|
|
12648
|
-
return {
|
|
12649
|
-
url: toPathString(localVarUrlObj),
|
|
12650
|
-
options: localVarRequestOptions,
|
|
12651
|
-
};
|
|
12652
|
-
},
|
|
12653
|
-
/**
|
|
12654
|
-
* Récupère le taux de remplissage (infill) pour une période donnée
|
|
12655
|
-
* @param {string} [startDate]
|
|
12656
|
-
* @param {string} [endDate]
|
|
12063
|
+
* Récupère le taux de remplissage (infill) pour une période donnée
|
|
12064
|
+
* @param {string} [startDate]
|
|
12065
|
+
* @param {string} [endDate]
|
|
12657
12066
|
* @param {*} [options] Override http request option.
|
|
12658
12067
|
* @throws {RequiredError}
|
|
12659
12068
|
*/
|
|
@@ -15058,6 +14467,39 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15058
14467
|
|
|
15059
14468
|
|
|
15060
14469
|
|
|
14470
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14472
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14473
|
+
|
|
14474
|
+
return {
|
|
14475
|
+
url: toPathString(localVarUrlObj),
|
|
14476
|
+
options: localVarRequestOptions,
|
|
14477
|
+
};
|
|
14478
|
+
},
|
|
14479
|
+
/**
|
|
14480
|
+
* Récupère les métadonnées publiques d\'un club
|
|
14481
|
+
* @param {string} clubId
|
|
14482
|
+
* @param {*} [options] Override http request option.
|
|
14483
|
+
* @throws {RequiredError}
|
|
14484
|
+
*/
|
|
14485
|
+
getClubMetadata: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14486
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
14487
|
+
assertParamExists('getClubMetadata', 'clubId', clubId)
|
|
14488
|
+
const localVarPath = `/api/clubs/{clubId}/metadata`
|
|
14489
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
14490
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14491
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14492
|
+
let baseOptions;
|
|
14493
|
+
if (configuration) {
|
|
14494
|
+
baseOptions = configuration.baseOptions;
|
|
14495
|
+
}
|
|
14496
|
+
|
|
14497
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14498
|
+
const localVarHeaderParameter = {} as any;
|
|
14499
|
+
const localVarQueryParameter = {} as any;
|
|
14500
|
+
|
|
14501
|
+
|
|
14502
|
+
|
|
15061
14503
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15062
14504
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15063
14505
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15380,6 +14822,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
15380
14822
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubInfo']?.[localVarOperationServerIndex]?.url;
|
|
15381
14823
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15382
14824
|
},
|
|
14825
|
+
/**
|
|
14826
|
+
* Récupère les métadonnées publiques d\'un club
|
|
14827
|
+
* @param {string} clubId
|
|
14828
|
+
* @param {*} [options] Override http request option.
|
|
14829
|
+
* @throws {RequiredError}
|
|
14830
|
+
*/
|
|
14831
|
+
async getClubMetadata(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubMetadataResponse>> {
|
|
14832
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubMetadata(clubId, options);
|
|
14833
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14834
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubMetadata']?.[localVarOperationServerIndex]?.url;
|
|
14835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14836
|
+
},
|
|
15383
14837
|
/**
|
|
15384
14838
|
*
|
|
15385
14839
|
* @param {string} clubId
|
|
@@ -15525,6 +14979,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15525
14979
|
getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse> {
|
|
15526
14980
|
return localVarFp.getClubInfo(options).then((request) => request(axios, basePath));
|
|
15527
14981
|
},
|
|
14982
|
+
/**
|
|
14983
|
+
* Récupère les métadonnées publiques d\'un club
|
|
14984
|
+
* @param {ClubsApiGetClubMetadataRequest} requestParameters Request parameters.
|
|
14985
|
+
* @param {*} [options] Override http request option.
|
|
14986
|
+
* @throws {RequiredError}
|
|
14987
|
+
*/
|
|
14988
|
+
getClubMetadata(requestParameters: ClubsApiGetClubMetadataRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubMetadataResponse> {
|
|
14989
|
+
return localVarFp.getClubMetadata(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
14990
|
+
},
|
|
15528
14991
|
/**
|
|
15529
14992
|
*
|
|
15530
14993
|
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
@@ -15653,6 +15116,20 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
15653
15116
|
readonly day: string
|
|
15654
15117
|
}
|
|
15655
15118
|
|
|
15119
|
+
/**
|
|
15120
|
+
* Request parameters for getClubMetadata operation in ClubsApi.
|
|
15121
|
+
* @export
|
|
15122
|
+
* @interface ClubsApiGetClubMetadataRequest
|
|
15123
|
+
*/
|
|
15124
|
+
export interface ClubsApiGetClubMetadataRequest {
|
|
15125
|
+
/**
|
|
15126
|
+
*
|
|
15127
|
+
* @type {string}
|
|
15128
|
+
* @memberof ClubsApiGetClubMetadata
|
|
15129
|
+
*/
|
|
15130
|
+
readonly clubId: string
|
|
15131
|
+
}
|
|
15132
|
+
|
|
15656
15133
|
/**
|
|
15657
15134
|
* Request parameters for getClubPageInfo operation in ClubsApi.
|
|
15658
15135
|
* @export
|
|
@@ -15814,6 +15291,17 @@ export class ClubsApi extends BaseAPI {
|
|
|
15814
15291
|
return ClubsApiFp(this.configuration).getClubInfo(options).then((request) => request(this.axios, this.basePath));
|
|
15815
15292
|
}
|
|
15816
15293
|
|
|
15294
|
+
/**
|
|
15295
|
+
* Récupère les métadonnées publiques d\'un club
|
|
15296
|
+
* @param {ClubsApiGetClubMetadataRequest} requestParameters Request parameters.
|
|
15297
|
+
* @param {*} [options] Override http request option.
|
|
15298
|
+
* @throws {RequiredError}
|
|
15299
|
+
* @memberof ClubsApi
|
|
15300
|
+
*/
|
|
15301
|
+
public getClubMetadata(requestParameters: ClubsApiGetClubMetadataRequest, options?: RawAxiosRequestConfig) {
|
|
15302
|
+
return ClubsApiFp(this.configuration).getClubMetadata(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
15303
|
+
}
|
|
15304
|
+
|
|
15817
15305
|
/**
|
|
15818
15306
|
*
|
|
15819
15307
|
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
@@ -16163,43 +15651,6 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
|
|
|
16163
15651
|
|
|
16164
15652
|
|
|
16165
15653
|
|
|
16166
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16167
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16168
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16169
|
-
|
|
16170
|
-
return {
|
|
16171
|
-
url: toPathString(localVarUrlObj),
|
|
16172
|
-
options: localVarRequestOptions,
|
|
16173
|
-
};
|
|
16174
|
-
},
|
|
16175
|
-
/**
|
|
16176
|
-
* Supprime un membre d\'un club
|
|
16177
|
-
* @param {string} userId
|
|
16178
|
-
* @param {*} [options] Override http request option.
|
|
16179
|
-
* @throws {RequiredError}
|
|
16180
|
-
*/
|
|
16181
|
-
deleteClubMember: async (userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16182
|
-
// verify required parameter 'userId' is not null or undefined
|
|
16183
|
-
assertParamExists('deleteClubMember', 'userId', userId)
|
|
16184
|
-
const localVarPath = `/api/clubs/members/{userId}`
|
|
16185
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
16186
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16187
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16188
|
-
let baseOptions;
|
|
16189
|
-
if (configuration) {
|
|
16190
|
-
baseOptions = configuration.baseOptions;
|
|
16191
|
-
}
|
|
16192
|
-
|
|
16193
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
16194
|
-
const localVarHeaderParameter = {} as any;
|
|
16195
|
-
const localVarQueryParameter = {} as any;
|
|
16196
|
-
|
|
16197
|
-
// authentication bearerAuth required
|
|
16198
|
-
// http bearer authentication required
|
|
16199
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
15654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16204
15655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16205
15656
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16811,18 +16262,6 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
|
|
|
16811
16262
|
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.deleteActuality']?.[localVarOperationServerIndex]?.url;
|
|
16812
16263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16813
16264
|
},
|
|
16814
|
-
/**
|
|
16815
|
-
* Supprime un membre d\'un club
|
|
16816
|
-
* @param {string} userId
|
|
16817
|
-
* @param {*} [options] Override http request option.
|
|
16818
|
-
* @throws {RequiredError}
|
|
16819
|
-
*/
|
|
16820
|
-
async deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>> {
|
|
16821
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClubMember(userId, options);
|
|
16822
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16823
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.deleteClubMember']?.[localVarOperationServerIndex]?.url;
|
|
16824
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16825
|
-
},
|
|
16826
16265
|
/**
|
|
16827
16266
|
* Supprime un terrain et ses créneaux futurs
|
|
16828
16267
|
* @param {string} courtId
|
|
@@ -17055,15 +16494,6 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
|
|
|
17055
16494
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
17056
16495
|
return localVarFp.deleteActuality(requestParameters.actualityId, options).then((request) => request(axios, basePath));
|
|
17057
16496
|
},
|
|
17058
|
-
/**
|
|
17059
|
-
* Supprime un membre d\'un club
|
|
17060
|
-
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
17061
|
-
* @param {*} [options] Override http request option.
|
|
17062
|
-
* @throws {RequiredError}
|
|
17063
|
-
*/
|
|
17064
|
-
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response> {
|
|
17065
|
-
return localVarFp.deleteClubMember(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
17066
|
-
},
|
|
17067
16497
|
/**
|
|
17068
16498
|
* Supprime un terrain et ses créneaux futurs
|
|
17069
16499
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -17288,20 +16718,6 @@ export interface ClubsManagerApiDeleteActualityRequest {
|
|
|
17288
16718
|
readonly actualityId: string
|
|
17289
16719
|
}
|
|
17290
16720
|
|
|
17291
|
-
/**
|
|
17292
|
-
* Request parameters for deleteClubMember operation in ClubsManagerApi.
|
|
17293
|
-
* @export
|
|
17294
|
-
* @interface ClubsManagerApiDeleteClubMemberRequest
|
|
17295
|
-
*/
|
|
17296
|
-
export interface ClubsManagerApiDeleteClubMemberRequest {
|
|
17297
|
-
/**
|
|
17298
|
-
*
|
|
17299
|
-
* @type {string}
|
|
17300
|
-
* @memberof ClubsManagerApiDeleteClubMember
|
|
17301
|
-
*/
|
|
17302
|
-
readonly userId: string
|
|
17303
|
-
}
|
|
17304
|
-
|
|
17305
16721
|
/**
|
|
17306
16722
|
* Request parameters for deleteCourt operation in ClubsManagerApi.
|
|
17307
16723
|
* @export
|
|
@@ -17582,17 +16998,6 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
17582
16998
|
return ClubsManagerApiFp(this.configuration).deleteActuality(requestParameters.actualityId, options).then((request) => request(this.axios, this.basePath));
|
|
17583
16999
|
}
|
|
17584
17000
|
|
|
17585
|
-
/**
|
|
17586
|
-
* Supprime un membre d\'un club
|
|
17587
|
-
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
17588
|
-
* @param {*} [options] Override http request option.
|
|
17589
|
-
* @throws {RequiredError}
|
|
17590
|
-
* @memberof ClubsManagerApi
|
|
17591
|
-
*/
|
|
17592
|
-
public deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig) {
|
|
17593
|
-
return ClubsManagerApiFp(this.configuration).deleteClubMember(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
17594
|
-
}
|
|
17595
|
-
|
|
17596
17001
|
/**
|
|
17597
17002
|
* Supprime un terrain et ses créneaux futurs
|
|
17598
17003
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -17745,12 +17150,19 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
17745
17150
|
export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17746
17151
|
return {
|
|
17747
17152
|
/**
|
|
17748
|
-
*
|
|
17153
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
17154
|
+
* @param {string} bookingId
|
|
17155
|
+
* @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
|
|
17749
17156
|
* @param {*} [options] Override http request option.
|
|
17750
17157
|
* @throws {RequiredError}
|
|
17751
17158
|
*/
|
|
17752
|
-
|
|
17753
|
-
|
|
17159
|
+
createOnsiteInvoiceForBooking: async (bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17160
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
17161
|
+
assertParamExists('createOnsiteInvoiceForBooking', 'bookingId', bookingId)
|
|
17162
|
+
// verify required parameter 'createOnsiteInvoiceRequest' is not null or undefined
|
|
17163
|
+
assertParamExists('createOnsiteInvoiceForBooking', 'createOnsiteInvoiceRequest', createOnsiteInvoiceRequest)
|
|
17164
|
+
const localVarPath = `/api/clubs/staff/bookings/{bookingId}/invoices`
|
|
17165
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
17754
17166
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17755
17167
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17756
17168
|
let baseOptions;
|
|
@@ -17758,7 +17170,7 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17758
17170
|
baseOptions = configuration.baseOptions;
|
|
17759
17171
|
}
|
|
17760
17172
|
|
|
17761
|
-
const localVarRequestOptions = { method: '
|
|
17173
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17762
17174
|
const localVarHeaderParameter = {} as any;
|
|
17763
17175
|
const localVarQueryParameter = {} as any;
|
|
17764
17176
|
|
|
@@ -17768,9 +17180,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17768
17180
|
|
|
17769
17181
|
|
|
17770
17182
|
|
|
17183
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17184
|
+
|
|
17771
17185
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17772
17186
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17773
17187
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17188
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createOnsiteInvoiceRequest, localVarRequestOptions, configuration)
|
|
17774
17189
|
|
|
17775
17190
|
return {
|
|
17776
17191
|
url: toPathString(localVarUrlObj),
|
|
@@ -17782,8 +17197,8 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17782
17197
|
* @param {*} [options] Override http request option.
|
|
17783
17198
|
* @throws {RequiredError}
|
|
17784
17199
|
*/
|
|
17785
|
-
|
|
17786
|
-
const localVarPath = `/api/clubs/
|
|
17200
|
+
getActualities: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17201
|
+
const localVarPath = `/api/clubs/staff/actualities`;
|
|
17787
17202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17788
17203
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17789
17204
|
let baseOptions;
|
|
@@ -17811,12 +17226,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17811
17226
|
};
|
|
17812
17227
|
},
|
|
17813
17228
|
/**
|
|
17814
|
-
*
|
|
17229
|
+
*
|
|
17815
17230
|
* @param {*} [options] Override http request option.
|
|
17816
17231
|
* @throws {RequiredError}
|
|
17817
17232
|
*/
|
|
17818
|
-
|
|
17819
|
-
const localVarPath = `/api/clubs/
|
|
17233
|
+
getClubInfos: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17234
|
+
const localVarPath = `/api/clubs/infos`;
|
|
17820
17235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17821
17236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17822
17237
|
let baseOptions;
|
|
@@ -17844,12 +17259,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17844
17259
|
};
|
|
17845
17260
|
},
|
|
17846
17261
|
/**
|
|
17847
|
-
*
|
|
17262
|
+
* Récupère les membres d\'un club
|
|
17848
17263
|
* @param {*} [options] Override http request option.
|
|
17849
17264
|
* @throws {RequiredError}
|
|
17850
17265
|
*/
|
|
17851
|
-
|
|
17852
|
-
const localVarPath = `/api/clubs/
|
|
17266
|
+
getClubMembers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17267
|
+
const localVarPath = `/api/clubs/members`;
|
|
17853
17268
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17854
17269
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17855
17270
|
let baseOptions;
|
|
@@ -17877,12 +17292,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17877
17292
|
};
|
|
17878
17293
|
},
|
|
17879
17294
|
/**
|
|
17880
|
-
*
|
|
17295
|
+
*
|
|
17881
17296
|
* @param {*} [options] Override http request option.
|
|
17882
17297
|
* @throws {RequiredError}
|
|
17883
17298
|
*/
|
|
17884
|
-
|
|
17885
|
-
const localVarPath = `/api/clubs/
|
|
17299
|
+
getClubPresentationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17300
|
+
const localVarPath = `/api/clubs/settings/presentation`;
|
|
17886
17301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17887
17302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17888
17303
|
let baseOptions;
|
|
@@ -17910,12 +17325,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17910
17325
|
};
|
|
17911
17326
|
},
|
|
17912
17327
|
/**
|
|
17913
|
-
* Récupère les
|
|
17328
|
+
* Récupère les rôles d\'un club
|
|
17914
17329
|
* @param {*} [options] Override http request option.
|
|
17915
17330
|
* @throws {RequiredError}
|
|
17916
17331
|
*/
|
|
17917
|
-
|
|
17918
|
-
const localVarPath = `/api/clubs/
|
|
17332
|
+
getClubRoles: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17333
|
+
const localVarPath = `/api/clubs/roles`;
|
|
17919
17334
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17920
17335
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17921
17336
|
let baseOptions;
|
|
@@ -17943,12 +17358,12 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17943
17358
|
};
|
|
17944
17359
|
},
|
|
17945
17360
|
/**
|
|
17946
|
-
*
|
|
17361
|
+
* Récupère les terrains d\'un club
|
|
17947
17362
|
* @param {*} [options] Override http request option.
|
|
17948
17363
|
* @throws {RequiredError}
|
|
17949
17364
|
*/
|
|
17950
|
-
|
|
17951
|
-
const localVarPath = `/api/clubs/
|
|
17365
|
+
getCourtsByClub: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17366
|
+
const localVarPath = `/api/clubs/courts`;
|
|
17952
17367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17953
17368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17954
17369
|
let baseOptions;
|
|
@@ -17977,15 +17392,11 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
17977
17392
|
},
|
|
17978
17393
|
/**
|
|
17979
17394
|
*
|
|
17980
|
-
* @param {string} id
|
|
17981
17395
|
* @param {*} [options] Override http request option.
|
|
17982
17396
|
* @throws {RequiredError}
|
|
17983
17397
|
*/
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
assertParamExists('getUserProfileStaff', 'id', id)
|
|
17987
|
-
const localVarPath = `/api/clubs/staff/profile/{id}`
|
|
17988
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17398
|
+
getInvoices: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17399
|
+
const localVarPath = `/api/clubs/invoices`;
|
|
17989
17400
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17990
17401
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17991
17402
|
let baseOptions;
|
|
@@ -18015,16 +17426,13 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
18015
17426
|
/**
|
|
18016
17427
|
*
|
|
18017
17428
|
* @param {string} id
|
|
18018
|
-
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
18019
17429
|
* @param {*} [options] Override http request option.
|
|
18020
17430
|
* @throws {RequiredError}
|
|
18021
17431
|
*/
|
|
18022
|
-
|
|
17432
|
+
getUserProfileStaff: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18023
17433
|
// verify required parameter 'id' is not null or undefined
|
|
18024
|
-
assertParamExists('
|
|
18025
|
-
|
|
18026
|
-
assertParamExists('updateUserCreditsStaff', 'updateUserCreditsRequest', updateUserCreditsRequest)
|
|
18027
|
-
const localVarPath = `/api/clubs/staff/user-credits/{id}`
|
|
17434
|
+
assertParamExists('getUserProfileStaff', 'id', id)
|
|
17435
|
+
const localVarPath = `/api/clubs/staff/profile/{id}`
|
|
18028
17436
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18029
17437
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18030
17438
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18033,7 +17441,7 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
18033
17441
|
baseOptions = configuration.baseOptions;
|
|
18034
17442
|
}
|
|
18035
17443
|
|
|
18036
|
-
const localVarRequestOptions = { method: '
|
|
17444
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18037
17445
|
const localVarHeaderParameter = {} as any;
|
|
18038
17446
|
const localVarQueryParameter = {} as any;
|
|
18039
17447
|
|
|
@@ -18043,12 +17451,9 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
18043
17451
|
|
|
18044
17452
|
|
|
18045
17453
|
|
|
18046
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18047
|
-
|
|
18048
17454
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18049
17455
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18050
17456
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18051
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateUserCreditsRequest, localVarRequestOptions, configuration)
|
|
18052
17457
|
|
|
18053
17458
|
return {
|
|
18054
17459
|
url: toPathString(localVarUrlObj),
|
|
@@ -18065,6 +17470,19 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
18065
17470
|
export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
18066
17471
|
const localVarAxiosParamCreator = ClubsStaffApiAxiosParamCreator(configuration)
|
|
18067
17472
|
return {
|
|
17473
|
+
/**
|
|
17474
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
17475
|
+
* @param {string} bookingId
|
|
17476
|
+
* @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
|
|
17477
|
+
* @param {*} [options] Override http request option.
|
|
17478
|
+
* @throws {RequiredError}
|
|
17479
|
+
*/
|
|
17480
|
+
async createOnsiteInvoiceForBooking(bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOnsiteInvoiceResponse>> {
|
|
17481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOnsiteInvoiceForBooking(bookingId, createOnsiteInvoiceRequest, options);
|
|
17482
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17483
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.createOnsiteInvoiceForBooking']?.[localVarOperationServerIndex]?.url;
|
|
17484
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17485
|
+
},
|
|
18068
17486
|
/**
|
|
18069
17487
|
*
|
|
18070
17488
|
* @param {*} [options] Override http request option.
|
|
@@ -18154,19 +17572,6 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
18154
17572
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getUserProfileStaff']?.[localVarOperationServerIndex]?.url;
|
|
18155
17573
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18156
17574
|
},
|
|
18157
|
-
/**
|
|
18158
|
-
*
|
|
18159
|
-
* @param {string} id
|
|
18160
|
-
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
18161
|
-
* @param {*} [options] Override http request option.
|
|
18162
|
-
* @throws {RequiredError}
|
|
18163
|
-
*/
|
|
18164
|
-
async updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>> {
|
|
18165
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserCreditsStaff(id, updateUserCreditsRequest, options);
|
|
18166
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18167
|
-
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.updateUserCreditsStaff']?.[localVarOperationServerIndex]?.url;
|
|
18168
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18169
|
-
},
|
|
18170
17575
|
}
|
|
18171
17576
|
};
|
|
18172
17577
|
|
|
@@ -18177,6 +17582,15 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
18177
17582
|
export const ClubsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
18178
17583
|
const localVarFp = ClubsStaffApiFp(configuration)
|
|
18179
17584
|
return {
|
|
17585
|
+
/**
|
|
17586
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
17587
|
+
* @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
|
|
17588
|
+
* @param {*} [options] Override http request option.
|
|
17589
|
+
* @throws {RequiredError}
|
|
17590
|
+
*/
|
|
17591
|
+
createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOnsiteInvoiceResponse> {
|
|
17592
|
+
return localVarFp.createOnsiteInvoiceForBooking(requestParameters.bookingId, requestParameters.createOnsiteInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
17593
|
+
},
|
|
18180
17594
|
/**
|
|
18181
17595
|
*
|
|
18182
17596
|
* @param {*} [options] Override http request option.
|
|
@@ -18242,51 +17656,42 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
18242
17656
|
getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse> {
|
|
18243
17657
|
return localVarFp.getUserProfileStaff(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
18244
17658
|
},
|
|
18245
|
-
/**
|
|
18246
|
-
*
|
|
18247
|
-
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
18248
|
-
* @param {*} [options] Override http request option.
|
|
18249
|
-
* @throws {RequiredError}
|
|
18250
|
-
*/
|
|
18251
|
-
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse> {
|
|
18252
|
-
return localVarFp.updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(axios, basePath));
|
|
18253
|
-
},
|
|
18254
17659
|
};
|
|
18255
17660
|
};
|
|
18256
17661
|
|
|
18257
17662
|
/**
|
|
18258
|
-
* Request parameters for
|
|
17663
|
+
* Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
|
|
18259
17664
|
* @export
|
|
18260
|
-
* @interface
|
|
17665
|
+
* @interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest
|
|
18261
17666
|
*/
|
|
18262
|
-
export interface
|
|
17667
|
+
export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
|
|
18263
17668
|
/**
|
|
18264
17669
|
*
|
|
18265
17670
|
* @type {string}
|
|
18266
|
-
* @memberof
|
|
17671
|
+
* @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
|
|
18267
17672
|
*/
|
|
18268
|
-
readonly
|
|
17673
|
+
readonly bookingId: string
|
|
17674
|
+
|
|
17675
|
+
/**
|
|
17676
|
+
*
|
|
17677
|
+
* @type {CreateOnsiteInvoiceRequest}
|
|
17678
|
+
* @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
|
|
17679
|
+
*/
|
|
17680
|
+
readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest
|
|
18269
17681
|
}
|
|
18270
17682
|
|
|
18271
17683
|
/**
|
|
18272
|
-
* Request parameters for
|
|
17684
|
+
* Request parameters for getUserProfileStaff operation in ClubsStaffApi.
|
|
18273
17685
|
* @export
|
|
18274
|
-
* @interface
|
|
17686
|
+
* @interface ClubsStaffApiGetUserProfileStaffRequest
|
|
18275
17687
|
*/
|
|
18276
|
-
export interface
|
|
17688
|
+
export interface ClubsStaffApiGetUserProfileStaffRequest {
|
|
18277
17689
|
/**
|
|
18278
17690
|
*
|
|
18279
17691
|
* @type {string}
|
|
18280
|
-
* @memberof
|
|
17692
|
+
* @memberof ClubsStaffApiGetUserProfileStaff
|
|
18281
17693
|
*/
|
|
18282
17694
|
readonly id: string
|
|
18283
|
-
|
|
18284
|
-
/**
|
|
18285
|
-
*
|
|
18286
|
-
* @type {UpdateUserCreditsRequest}
|
|
18287
|
-
* @memberof ClubsStaffApiUpdateUserCreditsStaff
|
|
18288
|
-
*/
|
|
18289
|
-
readonly updateUserCreditsRequest: UpdateUserCreditsRequest
|
|
18290
17695
|
}
|
|
18291
17696
|
|
|
18292
17697
|
/**
|
|
@@ -18296,6 +17701,17 @@ export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
|
|
|
18296
17701
|
* @extends {BaseAPI}
|
|
18297
17702
|
*/
|
|
18298
17703
|
export class ClubsStaffApi extends BaseAPI {
|
|
17704
|
+
/**
|
|
17705
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
17706
|
+
* @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
|
|
17707
|
+
* @param {*} [options] Override http request option.
|
|
17708
|
+
* @throws {RequiredError}
|
|
17709
|
+
* @memberof ClubsStaffApi
|
|
17710
|
+
*/
|
|
17711
|
+
public createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig) {
|
|
17712
|
+
return ClubsStaffApiFp(this.configuration).createOnsiteInvoiceForBooking(requestParameters.bookingId, requestParameters.createOnsiteInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17713
|
+
}
|
|
17714
|
+
|
|
18299
17715
|
/**
|
|
18300
17716
|
*
|
|
18301
17717
|
* @param {*} [options] Override http request option.
|
|
@@ -18376,17 +17792,6 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
18376
17792
|
public getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig) {
|
|
18377
17793
|
return ClubsStaffApiFp(this.configuration).getUserProfileStaff(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
18378
17794
|
}
|
|
18379
|
-
|
|
18380
|
-
/**
|
|
18381
|
-
*
|
|
18382
|
-
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
18383
|
-
* @param {*} [options] Override http request option.
|
|
18384
|
-
* @throws {RequiredError}
|
|
18385
|
-
* @memberof ClubsStaffApi
|
|
18386
|
-
*/
|
|
18387
|
-
public updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig) {
|
|
18388
|
-
return ClubsStaffApiFp(this.configuration).updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18389
|
-
}
|
|
18390
17795
|
}
|
|
18391
17796
|
|
|
18392
17797
|
|
|
@@ -18951,6 +18356,45 @@ export type GetPublishedEventsByClubIdTypeEnum = typeof GetPublishedEventsByClub
|
|
|
18951
18356
|
*/
|
|
18952
18357
|
export const EventsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18953
18358
|
return {
|
|
18359
|
+
/**
|
|
18360
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
18361
|
+
* @param {EventConflictCheckRequest} eventConflictCheckRequest
|
|
18362
|
+
* @param {*} [options] Override http request option.
|
|
18363
|
+
* @throws {RequiredError}
|
|
18364
|
+
*/
|
|
18365
|
+
checkEventConflicts: async (eventConflictCheckRequest: EventConflictCheckRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18366
|
+
// verify required parameter 'eventConflictCheckRequest' is not null or undefined
|
|
18367
|
+
assertParamExists('checkEventConflicts', 'eventConflictCheckRequest', eventConflictCheckRequest)
|
|
18368
|
+
const localVarPath = `/api/events/manager/checkConflicts`;
|
|
18369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18370
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18371
|
+
let baseOptions;
|
|
18372
|
+
if (configuration) {
|
|
18373
|
+
baseOptions = configuration.baseOptions;
|
|
18374
|
+
}
|
|
18375
|
+
|
|
18376
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18377
|
+
const localVarHeaderParameter = {} as any;
|
|
18378
|
+
const localVarQueryParameter = {} as any;
|
|
18379
|
+
|
|
18380
|
+
// authentication bearerAuth required
|
|
18381
|
+
// http bearer authentication required
|
|
18382
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18383
|
+
|
|
18384
|
+
|
|
18385
|
+
|
|
18386
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18387
|
+
|
|
18388
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18390
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18391
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventConflictCheckRequest, localVarRequestOptions, configuration)
|
|
18392
|
+
|
|
18393
|
+
return {
|
|
18394
|
+
url: toPathString(localVarUrlObj),
|
|
18395
|
+
options: localVarRequestOptions,
|
|
18396
|
+
};
|
|
18397
|
+
},
|
|
18954
18398
|
/**
|
|
18955
18399
|
* Create a new event (manager)
|
|
18956
18400
|
* @param {CreateEventRequest} createEventRequest
|
|
@@ -19132,6 +18576,49 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
19132
18576
|
|
|
19133
18577
|
|
|
19134
18578
|
|
|
18579
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18580
|
+
|
|
18581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18583
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18584
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateEventRequest, localVarRequestOptions, configuration)
|
|
18585
|
+
|
|
18586
|
+
return {
|
|
18587
|
+
url: toPathString(localVarUrlObj),
|
|
18588
|
+
options: localVarRequestOptions,
|
|
18589
|
+
};
|
|
18590
|
+
},
|
|
18591
|
+
/**
|
|
18592
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
18593
|
+
* @param {string} eventId
|
|
18594
|
+
* @param {UpdateEventRequest} updateEventRequest
|
|
18595
|
+
* @param {*} [options] Override http request option.
|
|
18596
|
+
* @throws {RequiredError}
|
|
18597
|
+
*/
|
|
18598
|
+
updatePublishedEvent: async (eventId: string, updateEventRequest: UpdateEventRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18599
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
18600
|
+
assertParamExists('updatePublishedEvent', 'eventId', eventId)
|
|
18601
|
+
// verify required parameter 'updateEventRequest' is not null or undefined
|
|
18602
|
+
assertParamExists('updatePublishedEvent', 'updateEventRequest', updateEventRequest)
|
|
18603
|
+
const localVarPath = `/api/events/manager/updatePublishedEvent/{eventId}`
|
|
18604
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
18605
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18606
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18607
|
+
let baseOptions;
|
|
18608
|
+
if (configuration) {
|
|
18609
|
+
baseOptions = configuration.baseOptions;
|
|
18610
|
+
}
|
|
18611
|
+
|
|
18612
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18613
|
+
const localVarHeaderParameter = {} as any;
|
|
18614
|
+
const localVarQueryParameter = {} as any;
|
|
18615
|
+
|
|
18616
|
+
// authentication bearerAuth required
|
|
18617
|
+
// http bearer authentication required
|
|
18618
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18619
|
+
|
|
18620
|
+
|
|
18621
|
+
|
|
19135
18622
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19136
18623
|
|
|
19137
18624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19154,6 +18641,18 @@ export const EventsManagerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
19154
18641
|
export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
19155
18642
|
const localVarAxiosParamCreator = EventsManagerApiAxiosParamCreator(configuration)
|
|
19156
18643
|
return {
|
|
18644
|
+
/**
|
|
18645
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
18646
|
+
* @param {EventConflictCheckRequest} eventConflictCheckRequest
|
|
18647
|
+
* @param {*} [options] Override http request option.
|
|
18648
|
+
* @throws {RequiredError}
|
|
18649
|
+
*/
|
|
18650
|
+
async checkEventConflicts(eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventConflictCheckResponse>> {
|
|
18651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkEventConflicts(eventConflictCheckRequest, options);
|
|
18652
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18653
|
+
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.checkEventConflicts']?.[localVarOperationServerIndex]?.url;
|
|
18654
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18655
|
+
},
|
|
19157
18656
|
/**
|
|
19158
18657
|
* Create a new event (manager)
|
|
19159
18658
|
* @param {CreateEventRequest} createEventRequest
|
|
@@ -19215,6 +18714,19 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
19215
18714
|
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updateEvent']?.[localVarOperationServerIndex]?.url;
|
|
19216
18715
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19217
18716
|
},
|
|
18717
|
+
/**
|
|
18718
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
18719
|
+
* @param {string} eventId
|
|
18720
|
+
* @param {UpdateEventRequest} updateEventRequest
|
|
18721
|
+
* @param {*} [options] Override http request option.
|
|
18722
|
+
* @throws {RequiredError}
|
|
18723
|
+
*/
|
|
18724
|
+
async updatePublishedEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
|
|
18725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePublishedEvent(eventId, updateEventRequest, options);
|
|
18726
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18727
|
+
const localVarOperationServerBasePath = operationServerMap['EventsManagerApi.updatePublishedEvent']?.[localVarOperationServerIndex]?.url;
|
|
18728
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18729
|
+
},
|
|
19218
18730
|
}
|
|
19219
18731
|
};
|
|
19220
18732
|
|
|
@@ -19225,6 +18737,15 @@ export const EventsManagerApiFp = function(configuration?: Configuration) {
|
|
|
19225
18737
|
export const EventsManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19226
18738
|
const localVarFp = EventsManagerApiFp(configuration)
|
|
19227
18739
|
return {
|
|
18740
|
+
/**
|
|
18741
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
18742
|
+
* @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
|
|
18743
|
+
* @param {*} [options] Override http request option.
|
|
18744
|
+
* @throws {RequiredError}
|
|
18745
|
+
*/
|
|
18746
|
+
checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventConflictCheckResponse> {
|
|
18747
|
+
return localVarFp.checkEventConflicts(requestParameters.eventConflictCheckRequest, options).then((request) => request(axios, basePath));
|
|
18748
|
+
},
|
|
19228
18749
|
/**
|
|
19229
18750
|
* Create a new event (manager)
|
|
19230
18751
|
* @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
|
|
@@ -19270,9 +18791,32 @@ export const EventsManagerApiFactory = function (configuration?: Configuration,
|
|
|
19270
18791
|
updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
19271
18792
|
return localVarFp.updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
19272
18793
|
},
|
|
18794
|
+
/**
|
|
18795
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
18796
|
+
* @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
|
|
18797
|
+
* @param {*} [options] Override http request option.
|
|
18798
|
+
* @throws {RequiredError}
|
|
18799
|
+
*/
|
|
18800
|
+
updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
18801
|
+
return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
18802
|
+
},
|
|
19273
18803
|
};
|
|
19274
18804
|
};
|
|
19275
18805
|
|
|
18806
|
+
/**
|
|
18807
|
+
* Request parameters for checkEventConflicts operation in EventsManagerApi.
|
|
18808
|
+
* @export
|
|
18809
|
+
* @interface EventsManagerApiCheckEventConflictsRequest
|
|
18810
|
+
*/
|
|
18811
|
+
export interface EventsManagerApiCheckEventConflictsRequest {
|
|
18812
|
+
/**
|
|
18813
|
+
*
|
|
18814
|
+
* @type {EventConflictCheckRequest}
|
|
18815
|
+
* @memberof EventsManagerApiCheckEventConflicts
|
|
18816
|
+
*/
|
|
18817
|
+
readonly eventConflictCheckRequest: EventConflictCheckRequest
|
|
18818
|
+
}
|
|
18819
|
+
|
|
19276
18820
|
/**
|
|
19277
18821
|
* Request parameters for createEvent operation in EventsManagerApi.
|
|
19278
18822
|
* @export
|
|
@@ -19350,6 +18894,27 @@ export interface EventsManagerApiUpdateEventRequest {
|
|
|
19350
18894
|
readonly updateEventRequest: UpdateEventRequest
|
|
19351
18895
|
}
|
|
19352
18896
|
|
|
18897
|
+
/**
|
|
18898
|
+
* Request parameters for updatePublishedEvent operation in EventsManagerApi.
|
|
18899
|
+
* @export
|
|
18900
|
+
* @interface EventsManagerApiUpdatePublishedEventRequest
|
|
18901
|
+
*/
|
|
18902
|
+
export interface EventsManagerApiUpdatePublishedEventRequest {
|
|
18903
|
+
/**
|
|
18904
|
+
*
|
|
18905
|
+
* @type {string}
|
|
18906
|
+
* @memberof EventsManagerApiUpdatePublishedEvent
|
|
18907
|
+
*/
|
|
18908
|
+
readonly eventId: string
|
|
18909
|
+
|
|
18910
|
+
/**
|
|
18911
|
+
*
|
|
18912
|
+
* @type {UpdateEventRequest}
|
|
18913
|
+
* @memberof EventsManagerApiUpdatePublishedEvent
|
|
18914
|
+
*/
|
|
18915
|
+
readonly updateEventRequest: UpdateEventRequest
|
|
18916
|
+
}
|
|
18917
|
+
|
|
19353
18918
|
/**
|
|
19354
18919
|
* EventsManagerApi - object-oriented interface
|
|
19355
18920
|
* @export
|
|
@@ -19357,6 +18922,17 @@ export interface EventsManagerApiUpdateEventRequest {
|
|
|
19357
18922
|
* @extends {BaseAPI}
|
|
19358
18923
|
*/
|
|
19359
18924
|
export class EventsManagerApi extends BaseAPI {
|
|
18925
|
+
/**
|
|
18926
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
18927
|
+
* @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
|
|
18928
|
+
* @param {*} [options] Override http request option.
|
|
18929
|
+
* @throws {RequiredError}
|
|
18930
|
+
* @memberof EventsManagerApi
|
|
18931
|
+
*/
|
|
18932
|
+
public checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig) {
|
|
18933
|
+
return EventsManagerApiFp(this.configuration).checkEventConflicts(requestParameters.eventConflictCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18934
|
+
}
|
|
18935
|
+
|
|
19360
18936
|
/**
|
|
19361
18937
|
* Create a new event (manager)
|
|
19362
18938
|
* @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
|
|
@@ -19402,128 +18978,50 @@ export class EventsManagerApi extends BaseAPI {
|
|
|
19402
18978
|
}
|
|
19403
18979
|
|
|
19404
18980
|
/**
|
|
19405
|
-
* Update an event (manager)
|
|
19406
|
-
* @param {EventsManagerApiUpdateEventRequest} requestParameters Request parameters.
|
|
19407
|
-
* @param {*} [options] Override http request option.
|
|
19408
|
-
* @throws {RequiredError}
|
|
19409
|
-
* @memberof EventsManagerApi
|
|
19410
|
-
*/
|
|
19411
|
-
public updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig) {
|
|
19412
|
-
return EventsManagerApiFp(this.configuration).updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19413
|
-
}
|
|
19414
|
-
}
|
|
19415
|
-
|
|
19416
|
-
|
|
19417
|
-
|
|
19418
|
-
/**
|
|
19419
|
-
* EventsStaffApi - axios parameter creator
|
|
19420
|
-
* @export
|
|
19421
|
-
*/
|
|
19422
|
-
export const EventsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19423
|
-
return {
|
|
19424
|
-
/**
|
|
19425
|
-
* Get events for the day view (entire week)
|
|
19426
|
-
* @param {string} [clubId]
|
|
19427
|
-
* @param {string} [date]
|
|
19428
|
-
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
19429
|
-
* @param {GetDailyEventsTypeEnum} [type]
|
|
19430
|
-
* @param {string} [sportId]
|
|
19431
|
-
* @param {*} [options] Override http request option.
|
|
19432
|
-
* @throws {RequiredError}
|
|
19433
|
-
*/
|
|
19434
|
-
getDailyEvents: async (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19435
|
-
const localVarPath = `/api/events/calendar/daily`;
|
|
19436
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19437
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19438
|
-
let baseOptions;
|
|
19439
|
-
if (configuration) {
|
|
19440
|
-
baseOptions = configuration.baseOptions;
|
|
19441
|
-
}
|
|
19442
|
-
|
|
19443
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19444
|
-
const localVarHeaderParameter = {} as any;
|
|
19445
|
-
const localVarQueryParameter = {} as any;
|
|
19446
|
-
|
|
19447
|
-
// authentication bearerAuth required
|
|
19448
|
-
// http bearer authentication required
|
|
19449
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19450
|
-
|
|
19451
|
-
if (clubId !== undefined) {
|
|
19452
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
19453
|
-
}
|
|
19454
|
-
|
|
19455
|
-
if (date !== undefined) {
|
|
19456
|
-
localVarQueryParameter['date'] = date;
|
|
19457
|
-
}
|
|
19458
|
-
|
|
19459
|
-
if (visibilityType !== undefined) {
|
|
19460
|
-
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
19461
|
-
}
|
|
19462
|
-
|
|
19463
|
-
if (type !== undefined) {
|
|
19464
|
-
localVarQueryParameter['type'] = type;
|
|
19465
|
-
}
|
|
19466
|
-
|
|
19467
|
-
if (sportId !== undefined) {
|
|
19468
|
-
localVarQueryParameter['sportId'] = sportId;
|
|
19469
|
-
}
|
|
19470
|
-
|
|
19471
|
-
|
|
19472
|
-
|
|
19473
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19474
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19475
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19476
|
-
|
|
19477
|
-
return {
|
|
19478
|
-
url: toPathString(localVarUrlObj),
|
|
19479
|
-
options: localVarRequestOptions,
|
|
19480
|
-
};
|
|
19481
|
-
},
|
|
19482
|
-
/**
|
|
19483
|
-
* Get all events for a club (staff only)
|
|
19484
|
-
* @param {*} [options] Override http request option.
|
|
19485
|
-
* @throws {RequiredError}
|
|
19486
|
-
*/
|
|
19487
|
-
getEventsByClub: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19488
|
-
const localVarPath = `/api/events/staff/getEvents`;
|
|
19489
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19490
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19491
|
-
let baseOptions;
|
|
19492
|
-
if (configuration) {
|
|
19493
|
-
baseOptions = configuration.baseOptions;
|
|
19494
|
-
}
|
|
19495
|
-
|
|
19496
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
19497
|
-
const localVarHeaderParameter = {} as any;
|
|
19498
|
-
const localVarQueryParameter = {} as any;
|
|
18981
|
+
* Update an event (manager)
|
|
18982
|
+
* @param {EventsManagerApiUpdateEventRequest} requestParameters Request parameters.
|
|
18983
|
+
* @param {*} [options] Override http request option.
|
|
18984
|
+
* @throws {RequiredError}
|
|
18985
|
+
* @memberof EventsManagerApi
|
|
18986
|
+
*/
|
|
18987
|
+
public updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig) {
|
|
18988
|
+
return EventsManagerApiFp(this.configuration).updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18989
|
+
}
|
|
19499
18990
|
|
|
19500
|
-
|
|
19501
|
-
|
|
19502
|
-
|
|
18991
|
+
/**
|
|
18992
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
18993
|
+
* @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
|
|
18994
|
+
* @param {*} [options] Override http request option.
|
|
18995
|
+
* @throws {RequiredError}
|
|
18996
|
+
* @memberof EventsManagerApi
|
|
18997
|
+
*/
|
|
18998
|
+
public updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig) {
|
|
18999
|
+
return EventsManagerApiFp(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19000
|
+
}
|
|
19001
|
+
}
|
|
19503
19002
|
|
|
19504
19003
|
|
|
19505
|
-
|
|
19506
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19507
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19508
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19509
19004
|
|
|
19510
|
-
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
|
|
19514
|
-
|
|
19005
|
+
/**
|
|
19006
|
+
* EventsStaffApi - axios parameter creator
|
|
19007
|
+
* @export
|
|
19008
|
+
*/
|
|
19009
|
+
export const EventsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19010
|
+
return {
|
|
19515
19011
|
/**
|
|
19516
|
-
*
|
|
19517
|
-
* @param {string}
|
|
19518
|
-
* @param {
|
|
19519
|
-
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
19520
|
-
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
19521
|
-
* @param {string} [sportId]
|
|
19012
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
19013
|
+
* @param {string} eventBookingId
|
|
19014
|
+
* @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
|
|
19522
19015
|
* @param {*} [options] Override http request option.
|
|
19523
19016
|
* @throws {RequiredError}
|
|
19524
19017
|
*/
|
|
19525
|
-
|
|
19526
|
-
|
|
19018
|
+
checkInEventParticipants: async (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19019
|
+
// verify required parameter 'eventBookingId' is not null or undefined
|
|
19020
|
+
assertParamExists('checkInEventParticipants', 'eventBookingId', eventBookingId)
|
|
19021
|
+
// verify required parameter 'checkInEventParticipantsRequest' is not null or undefined
|
|
19022
|
+
assertParamExists('checkInEventParticipants', 'checkInEventParticipantsRequest', checkInEventParticipantsRequest)
|
|
19023
|
+
const localVarPath = `/api/events/{eventBookingId}/check-in`
|
|
19024
|
+
.replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
|
|
19527
19025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19528
19026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19529
19027
|
let baseOptions;
|
|
@@ -19531,7 +19029,7 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
|
|
|
19531
19029
|
baseOptions = configuration.baseOptions;
|
|
19532
19030
|
}
|
|
19533
19031
|
|
|
19534
|
-
const localVarRequestOptions = { method: '
|
|
19032
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19535
19033
|
const localVarHeaderParameter = {} as any;
|
|
19536
19034
|
const localVarQueryParameter = {} as any;
|
|
19537
19035
|
|
|
@@ -19539,31 +19037,14 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
|
|
|
19539
19037
|
// http bearer authentication required
|
|
19540
19038
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19541
19039
|
|
|
19542
|
-
if (clubId !== undefined) {
|
|
19543
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
19544
|
-
}
|
|
19545
|
-
|
|
19546
|
-
if (date !== undefined) {
|
|
19547
|
-
localVarQueryParameter['date'] = date;
|
|
19548
|
-
}
|
|
19549
|
-
|
|
19550
|
-
if (visibilityType !== undefined) {
|
|
19551
|
-
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
19552
|
-
}
|
|
19553
|
-
|
|
19554
|
-
if (type !== undefined) {
|
|
19555
|
-
localVarQueryParameter['type'] = type;
|
|
19556
|
-
}
|
|
19557
|
-
|
|
19558
|
-
if (sportId !== undefined) {
|
|
19559
|
-
localVarQueryParameter['sportId'] = sportId;
|
|
19560
|
-
}
|
|
19561
|
-
|
|
19562
19040
|
|
|
19563
19041
|
|
|
19042
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19043
|
+
|
|
19564
19044
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19565
19045
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19566
19046
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19047
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkInEventParticipantsRequest, localVarRequestOptions, configuration)
|
|
19567
19048
|
|
|
19568
19049
|
return {
|
|
19569
19050
|
url: toPathString(localVarUrlObj),
|
|
@@ -19571,17 +19052,12 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
|
|
|
19571
19052
|
};
|
|
19572
19053
|
},
|
|
19573
19054
|
/**
|
|
19574
|
-
* Get events for
|
|
19575
|
-
* @param {string} [clubId]
|
|
19576
|
-
* @param {string} [date]
|
|
19577
|
-
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
19578
|
-
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
19579
|
-
* @param {string} [sportId]
|
|
19055
|
+
* Get all events for a club (staff only)
|
|
19580
19056
|
* @param {*} [options] Override http request option.
|
|
19581
19057
|
* @throws {RequiredError}
|
|
19582
19058
|
*/
|
|
19583
|
-
|
|
19584
|
-
const localVarPath = `/api/events/
|
|
19059
|
+
getEventsByClub: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19060
|
+
const localVarPath = `/api/events/staff/getEvents`;
|
|
19585
19061
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19586
19062
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19587
19063
|
let baseOptions;
|
|
@@ -19597,26 +19073,6 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
|
|
|
19597
19073
|
// http bearer authentication required
|
|
19598
19074
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19599
19075
|
|
|
19600
|
-
if (clubId !== undefined) {
|
|
19601
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
19602
|
-
}
|
|
19603
|
-
|
|
19604
|
-
if (date !== undefined) {
|
|
19605
|
-
localVarQueryParameter['date'] = date;
|
|
19606
|
-
}
|
|
19607
|
-
|
|
19608
|
-
if (visibilityType !== undefined) {
|
|
19609
|
-
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
19610
|
-
}
|
|
19611
|
-
|
|
19612
|
-
if (type !== undefined) {
|
|
19613
|
-
localVarQueryParameter['type'] = type;
|
|
19614
|
-
}
|
|
19615
|
-
|
|
19616
|
-
if (sportId !== undefined) {
|
|
19617
|
-
localVarQueryParameter['sportId'] = sportId;
|
|
19618
|
-
}
|
|
19619
|
-
|
|
19620
19076
|
|
|
19621
19077
|
|
|
19622
19078
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19639,19 +19095,16 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19639
19095
|
const localVarAxiosParamCreator = EventsStaffApiAxiosParamCreator(configuration)
|
|
19640
19096
|
return {
|
|
19641
19097
|
/**
|
|
19642
|
-
*
|
|
19643
|
-
* @param {string}
|
|
19644
|
-
* @param {
|
|
19645
|
-
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
19646
|
-
* @param {GetDailyEventsTypeEnum} [type]
|
|
19647
|
-
* @param {string} [sportId]
|
|
19098
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
19099
|
+
* @param {string} eventBookingId
|
|
19100
|
+
* @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
|
|
19648
19101
|
* @param {*} [options] Override http request option.
|
|
19649
19102
|
* @throws {RequiredError}
|
|
19650
19103
|
*/
|
|
19651
|
-
async
|
|
19652
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
19104
|
+
async checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>> {
|
|
19105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkInEventParticipants(eventBookingId, checkInEventParticipantsRequest, options);
|
|
19653
19106
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19654
|
-
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.
|
|
19107
|
+
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.checkInEventParticipants']?.[localVarOperationServerIndex]?.url;
|
|
19655
19108
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19656
19109
|
},
|
|
19657
19110
|
/**
|
|
@@ -19665,38 +19118,6 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
|
|
|
19665
19118
|
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventsByClub']?.[localVarOperationServerIndex]?.url;
|
|
19666
19119
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19667
19120
|
},
|
|
19668
|
-
/**
|
|
19669
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
19670
|
-
* @param {string} [clubId]
|
|
19671
|
-
* @param {string} [date]
|
|
19672
|
-
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
19673
|
-
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
19674
|
-
* @param {string} [sportId]
|
|
19675
|
-
* @param {*} [options] Override http request option.
|
|
19676
|
-
* @throws {RequiredError}
|
|
19677
|
-
*/
|
|
19678
|
-
async getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>> {
|
|
19679
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMonthlyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
19680
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19681
|
-
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getMonthlyEvents']?.[localVarOperationServerIndex]?.url;
|
|
19682
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19683
|
-
},
|
|
19684
|
-
/**
|
|
19685
|
-
* Get events for the week view (30 day sliding window)
|
|
19686
|
-
* @param {string} [clubId]
|
|
19687
|
-
* @param {string} [date]
|
|
19688
|
-
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
19689
|
-
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
19690
|
-
* @param {string} [sportId]
|
|
19691
|
-
* @param {*} [options] Override http request option.
|
|
19692
|
-
* @throws {RequiredError}
|
|
19693
|
-
*/
|
|
19694
|
-
async getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>> {
|
|
19695
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getWeeklyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
19696
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19697
|
-
const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getWeeklyEvents']?.[localVarOperationServerIndex]?.url;
|
|
19698
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19699
|
-
},
|
|
19700
19121
|
}
|
|
19701
19122
|
};
|
|
19702
19123
|
|
|
@@ -19708,13 +19129,13 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
|
|
|
19708
19129
|
const localVarFp = EventsStaffApiFp(configuration)
|
|
19709
19130
|
return {
|
|
19710
19131
|
/**
|
|
19711
|
-
*
|
|
19712
|
-
* @param {
|
|
19132
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
19133
|
+
* @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
|
|
19713
19134
|
* @param {*} [options] Override http request option.
|
|
19714
19135
|
* @throws {RequiredError}
|
|
19715
19136
|
*/
|
|
19716
|
-
|
|
19717
|
-
return localVarFp.
|
|
19137
|
+
checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response> {
|
|
19138
|
+
return localVarFp.checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(axios, basePath));
|
|
19718
19139
|
},
|
|
19719
19140
|
/**
|
|
19720
19141
|
* Get all events for a club (staff only)
|
|
@@ -19724,151 +19145,28 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
|
|
|
19724
19145
|
getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19725
19146
|
return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
|
|
19726
19147
|
},
|
|
19727
|
-
/**
|
|
19728
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
19729
|
-
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
19730
|
-
* @param {*} [options] Override http request option.
|
|
19731
|
-
* @throws {RequiredError}
|
|
19732
|
-
*/
|
|
19733
|
-
getMonthlyEvents(requestParameters: EventsStaffApiGetMonthlyEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19734
|
-
return localVarFp.getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
19735
|
-
},
|
|
19736
|
-
/**
|
|
19737
|
-
* Get events for the week view (30 day sliding window)
|
|
19738
|
-
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
19739
|
-
* @param {*} [options] Override http request option.
|
|
19740
|
-
* @throws {RequiredError}
|
|
19741
|
-
*/
|
|
19742
|
-
getWeeklyEvents(requestParameters: EventsStaffApiGetWeeklyEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
|
|
19743
|
-
return localVarFp.getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
19744
|
-
},
|
|
19745
19148
|
};
|
|
19746
19149
|
};
|
|
19747
19150
|
|
|
19748
19151
|
/**
|
|
19749
|
-
* Request parameters for
|
|
19750
|
-
* @export
|
|
19751
|
-
* @interface EventsStaffApiGetDailyEventsRequest
|
|
19752
|
-
*/
|
|
19753
|
-
export interface EventsStaffApiGetDailyEventsRequest {
|
|
19754
|
-
/**
|
|
19755
|
-
*
|
|
19756
|
-
* @type {string}
|
|
19757
|
-
* @memberof EventsStaffApiGetDailyEvents
|
|
19758
|
-
*/
|
|
19759
|
-
readonly clubId?: string
|
|
19760
|
-
|
|
19761
|
-
/**
|
|
19762
|
-
*
|
|
19763
|
-
* @type {string}
|
|
19764
|
-
* @memberof EventsStaffApiGetDailyEvents
|
|
19765
|
-
*/
|
|
19766
|
-
readonly date?: string
|
|
19767
|
-
|
|
19768
|
-
/**
|
|
19769
|
-
*
|
|
19770
|
-
* @type {'public' | 'private' | 'invitation'}
|
|
19771
|
-
* @memberof EventsStaffApiGetDailyEvents
|
|
19772
|
-
*/
|
|
19773
|
-
readonly visibilityType?: GetDailyEventsVisibilityTypeEnum
|
|
19774
|
-
|
|
19775
|
-
/**
|
|
19776
|
-
*
|
|
19777
|
-
* @type {'event' | 'closure'}
|
|
19778
|
-
* @memberof EventsStaffApiGetDailyEvents
|
|
19779
|
-
*/
|
|
19780
|
-
readonly type?: GetDailyEventsTypeEnum
|
|
19781
|
-
|
|
19782
|
-
/**
|
|
19783
|
-
*
|
|
19784
|
-
* @type {string}
|
|
19785
|
-
* @memberof EventsStaffApiGetDailyEvents
|
|
19786
|
-
*/
|
|
19787
|
-
readonly sportId?: string
|
|
19788
|
-
}
|
|
19789
|
-
|
|
19790
|
-
/**
|
|
19791
|
-
* Request parameters for getMonthlyEvents operation in EventsStaffApi.
|
|
19792
|
-
* @export
|
|
19793
|
-
* @interface EventsStaffApiGetMonthlyEventsRequest
|
|
19794
|
-
*/
|
|
19795
|
-
export interface EventsStaffApiGetMonthlyEventsRequest {
|
|
19796
|
-
/**
|
|
19797
|
-
*
|
|
19798
|
-
* @type {string}
|
|
19799
|
-
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19800
|
-
*/
|
|
19801
|
-
readonly clubId?: string
|
|
19802
|
-
|
|
19803
|
-
/**
|
|
19804
|
-
*
|
|
19805
|
-
* @type {string}
|
|
19806
|
-
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19807
|
-
*/
|
|
19808
|
-
readonly date?: string
|
|
19809
|
-
|
|
19810
|
-
/**
|
|
19811
|
-
*
|
|
19812
|
-
* @type {'public' | 'private' | 'invitation'}
|
|
19813
|
-
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19814
|
-
*/
|
|
19815
|
-
readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum
|
|
19816
|
-
|
|
19817
|
-
/**
|
|
19818
|
-
*
|
|
19819
|
-
* @type {'event' | 'closure'}
|
|
19820
|
-
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19821
|
-
*/
|
|
19822
|
-
readonly type?: GetMonthlyEventsTypeEnum
|
|
19823
|
-
|
|
19824
|
-
/**
|
|
19825
|
-
*
|
|
19826
|
-
* @type {string}
|
|
19827
|
-
* @memberof EventsStaffApiGetMonthlyEvents
|
|
19828
|
-
*/
|
|
19829
|
-
readonly sportId?: string
|
|
19830
|
-
}
|
|
19831
|
-
|
|
19832
|
-
/**
|
|
19833
|
-
* Request parameters for getWeeklyEvents operation in EventsStaffApi.
|
|
19152
|
+
* Request parameters for checkInEventParticipants operation in EventsStaffApi.
|
|
19834
19153
|
* @export
|
|
19835
|
-
* @interface
|
|
19154
|
+
* @interface EventsStaffApiCheckInEventParticipantsRequest
|
|
19836
19155
|
*/
|
|
19837
|
-
export interface
|
|
19156
|
+
export interface EventsStaffApiCheckInEventParticipantsRequest {
|
|
19838
19157
|
/**
|
|
19839
19158
|
*
|
|
19840
19159
|
* @type {string}
|
|
19841
|
-
* @memberof
|
|
19842
|
-
*/
|
|
19843
|
-
readonly clubId?: string
|
|
19844
|
-
|
|
19845
|
-
/**
|
|
19846
|
-
*
|
|
19847
|
-
* @type {string}
|
|
19848
|
-
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19849
|
-
*/
|
|
19850
|
-
readonly date?: string
|
|
19851
|
-
|
|
19852
|
-
/**
|
|
19853
|
-
*
|
|
19854
|
-
* @type {'public' | 'private' | 'invitation'}
|
|
19855
|
-
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19856
|
-
*/
|
|
19857
|
-
readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum
|
|
19858
|
-
|
|
19859
|
-
/**
|
|
19860
|
-
*
|
|
19861
|
-
* @type {'event' | 'closure'}
|
|
19862
|
-
* @memberof EventsStaffApiGetWeeklyEvents
|
|
19160
|
+
* @memberof EventsStaffApiCheckInEventParticipants
|
|
19863
19161
|
*/
|
|
19864
|
-
readonly
|
|
19162
|
+
readonly eventBookingId: string
|
|
19865
19163
|
|
|
19866
19164
|
/**
|
|
19867
19165
|
*
|
|
19868
|
-
* @type {
|
|
19869
|
-
* @memberof
|
|
19166
|
+
* @type {CheckInEventParticipantsRequest}
|
|
19167
|
+
* @memberof EventsStaffApiCheckInEventParticipants
|
|
19870
19168
|
*/
|
|
19871
|
-
readonly
|
|
19169
|
+
readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest
|
|
19872
19170
|
}
|
|
19873
19171
|
|
|
19874
19172
|
/**
|
|
@@ -19879,14 +19177,14 @@ export interface EventsStaffApiGetWeeklyEventsRequest {
|
|
|
19879
19177
|
*/
|
|
19880
19178
|
export class EventsStaffApi extends BaseAPI {
|
|
19881
19179
|
/**
|
|
19882
|
-
*
|
|
19883
|
-
* @param {
|
|
19180
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
19181
|
+
* @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
|
|
19884
19182
|
* @param {*} [options] Override http request option.
|
|
19885
19183
|
* @throws {RequiredError}
|
|
19886
19184
|
* @memberof EventsStaffApi
|
|
19887
19185
|
*/
|
|
19888
|
-
public
|
|
19889
|
-
return EventsStaffApiFp(this.configuration).
|
|
19186
|
+
public checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) {
|
|
19187
|
+
return EventsStaffApiFp(this.configuration).checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19890
19188
|
}
|
|
19891
19189
|
|
|
19892
19190
|
/**
|
|
@@ -19898,81 +19196,8 @@ export class EventsStaffApi extends BaseAPI {
|
|
|
19898
19196
|
public getEventsByClub(options?: RawAxiosRequestConfig) {
|
|
19899
19197
|
return EventsStaffApiFp(this.configuration).getEventsByClub(options).then((request) => request(this.axios, this.basePath));
|
|
19900
19198
|
}
|
|
19901
|
-
|
|
19902
|
-
/**
|
|
19903
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
19904
|
-
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
19905
|
-
* @param {*} [options] Override http request option.
|
|
19906
|
-
* @throws {RequiredError}
|
|
19907
|
-
* @memberof EventsStaffApi
|
|
19908
|
-
*/
|
|
19909
|
-
public getMonthlyEvents(requestParameters: EventsStaffApiGetMonthlyEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
19910
|
-
return EventsStaffApiFp(this.configuration).getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
19911
|
-
}
|
|
19912
|
-
|
|
19913
|
-
/**
|
|
19914
|
-
* Get events for the week view (30 day sliding window)
|
|
19915
|
-
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
19916
|
-
* @param {*} [options] Override http request option.
|
|
19917
|
-
* @throws {RequiredError}
|
|
19918
|
-
* @memberof EventsStaffApi
|
|
19919
|
-
*/
|
|
19920
|
-
public getWeeklyEvents(requestParameters: EventsStaffApiGetWeeklyEventsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
19921
|
-
return EventsStaffApiFp(this.configuration).getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
19922
|
-
}
|
|
19923
19199
|
}
|
|
19924
19200
|
|
|
19925
|
-
/**
|
|
19926
|
-
* @export
|
|
19927
|
-
*/
|
|
19928
|
-
export const GetDailyEventsVisibilityTypeEnum = {
|
|
19929
|
-
Public: 'public',
|
|
19930
|
-
Private: 'private',
|
|
19931
|
-
Invitation: 'invitation'
|
|
19932
|
-
} as const;
|
|
19933
|
-
export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
|
|
19934
|
-
/**
|
|
19935
|
-
* @export
|
|
19936
|
-
*/
|
|
19937
|
-
export const GetDailyEventsTypeEnum = {
|
|
19938
|
-
Event: 'event',
|
|
19939
|
-
Closure: 'closure'
|
|
19940
|
-
} as const;
|
|
19941
|
-
export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
|
|
19942
|
-
/**
|
|
19943
|
-
* @export
|
|
19944
|
-
*/
|
|
19945
|
-
export const GetMonthlyEventsVisibilityTypeEnum = {
|
|
19946
|
-
Public: 'public',
|
|
19947
|
-
Private: 'private',
|
|
19948
|
-
Invitation: 'invitation'
|
|
19949
|
-
} as const;
|
|
19950
|
-
export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
|
|
19951
|
-
/**
|
|
19952
|
-
* @export
|
|
19953
|
-
*/
|
|
19954
|
-
export const GetMonthlyEventsTypeEnum = {
|
|
19955
|
-
Event: 'event',
|
|
19956
|
-
Closure: 'closure'
|
|
19957
|
-
} as const;
|
|
19958
|
-
export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
|
|
19959
|
-
/**
|
|
19960
|
-
* @export
|
|
19961
|
-
*/
|
|
19962
|
-
export const GetWeeklyEventsVisibilityTypeEnum = {
|
|
19963
|
-
Public: 'public',
|
|
19964
|
-
Private: 'private',
|
|
19965
|
-
Invitation: 'invitation'
|
|
19966
|
-
} as const;
|
|
19967
|
-
export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
|
|
19968
|
-
/**
|
|
19969
|
-
* @export
|
|
19970
|
-
*/
|
|
19971
|
-
export const GetWeeklyEventsTypeEnum = {
|
|
19972
|
-
Event: 'event',
|
|
19973
|
-
Closure: 'closure'
|
|
19974
|
-
} as const;
|
|
19975
|
-
export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
|
|
19976
19201
|
|
|
19977
19202
|
|
|
19978
19203
|
/**
|