@tennac-booking/sdk 1.0.110 → 1.0.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +296 -292
  2. package/README.md +30 -20
  3. package/api.ts +1991 -1063
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1222 -662
  8. package/dist/api.js +1140 -511
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +1222 -662
  16. package/dist/esm/api.js +1126 -501
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/ActiveSubscriptionResponse.md +22 -0
  28. package/docs/AgendaBooking.md +30 -0
  29. package/docs/{JoinEventRequestPlayersPaymentMethodsInner.md → AgendaBookingPlayer.md} +9 -5
  30. package/docs/AgendaBookingSlot.md +30 -0
  31. package/docs/AgendaPaymentStatus.md +12 -0
  32. package/docs/BookingsWithTimeBoundsResponse.md +1 -1
  33. package/docs/ClientAccountOnboardingRequest.md +29 -0
  34. package/docs/{ClientFullOnboardingResponse.md → ClientAccountOnboardingResponse.md} +11 -7
  35. package/docs/ClientAccountResponse.md +44 -0
  36. package/docs/ClientAccountsApi.md +408 -0
  37. package/docs/ClientApi.md +4 -59
  38. package/docs/ClientMeResponse.md +28 -0
  39. package/docs/ClientOnboardingResponse.md +27 -0
  40. package/docs/{ClientRegisterRequest.md → ClientRegisterRequestBody.md} +7 -7
  41. package/docs/{CheckInEventParticipantsRequest.md → ClientRegisterResponse.md} +7 -5
  42. package/docs/ClientSubscriptionResponse.md +34 -0
  43. package/docs/ClubPlayerDetailResponse.md +2 -0
  44. package/docs/ClubSummary.md +8 -2
  45. package/docs/ClubsManagerApi.md +56 -0
  46. package/docs/ClubsStaffApi.md +55 -59
  47. package/docs/CreateEventRequest.md +3 -1
  48. package/docs/EventsManagerApi.md +0 -114
  49. package/docs/EventsStaffApi.md +159 -20
  50. package/docs/GetSubscriptionsHistory200Response.md +22 -0
  51. package/docs/JoinEventRequest.md +0 -8
  52. package/docs/PaymentMethod.md +0 -4
  53. package/docs/PublishEventResponse.md +0 -2
  54. package/docs/UpdateUserCreditsRequest.md +20 -0
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
  57. package/docs/CheckInEventParticipants200Response.md +0 -22
  58. package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +0 -28
  59. package/docs/ClientFullOnboardingResponseClub.md +0 -24
  60. package/docs/ClientRegister201Response.md +0 -26
  61. package/docs/CreateOnsiteInvoiceRequest.md +0 -28
  62. package/docs/CreateOnsiteInvoiceResponse.md +0 -22
  63. package/docs/CreateOnsiteInvoiceResponseInvoice.md +0 -31
  64. package/docs/EventConflictCheckRequest.md +0 -28
  65. package/docs/EventConflictCheckResponse.md +0 -26
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.110
5
+ * The version of the OpenAPI document: 1.0.104
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,25 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ActiveSubscriptionResponse
20
+ */
21
+ export interface ActiveSubscriptionResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ActiveSubscriptionResponse
26
+ */
27
+ 'clientAccountId': string;
28
+ /**
29
+ *
30
+ * @type {ClientSubscriptionResponse}
31
+ * @memberof ActiveSubscriptionResponse
32
+ */
33
+ 'subscription': ClientSubscriptionResponse | null;
34
+ }
16
35
  /**
17
36
  *
18
37
  * @export
@@ -100,6 +119,134 @@ export interface AddOrganizationRequest {
100
119
  */
101
120
  'organizationId'?: string;
102
121
  }
122
+ /**
123
+ *
124
+ * @export
125
+ * @interface AgendaBooking
126
+ */
127
+ export interface AgendaBooking {
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof AgendaBooking
132
+ */
133
+ 'id': string;
134
+ /**
135
+ *
136
+ * @type {BookingStatus}
137
+ * @memberof AgendaBooking
138
+ */
139
+ 'status': BookingStatus;
140
+ /**
141
+ *
142
+ * @type {string}
143
+ * @memberof AgendaBooking
144
+ */
145
+ 'creatorName': string;
146
+ /**
147
+ *
148
+ * @type {Array<AgendaBookingPlayer>}
149
+ * @memberof AgendaBooking
150
+ */
151
+ 'players': Array<AgendaBookingPlayer>;
152
+ /**
153
+ *
154
+ * @type {AgendaPaymentStatus}
155
+ * @memberof AgendaBooking
156
+ */
157
+ 'paymentStatus': AgendaPaymentStatus;
158
+ /**
159
+ *
160
+ * @type {Array<AgendaBookingSlot>}
161
+ * @memberof AgendaBooking
162
+ */
163
+ 'slots': Array<AgendaBookingSlot>;
164
+ }
165
+ /**
166
+ *
167
+ * @export
168
+ * @interface AgendaBookingPlayer
169
+ */
170
+ export interface AgendaBookingPlayer {
171
+ /**
172
+ *
173
+ * @type {string}
174
+ * @memberof AgendaBookingPlayer
175
+ */
176
+ 'id': string;
177
+ /**
178
+ *
179
+ * @type {string}
180
+ * @memberof AgendaBookingPlayer
181
+ */
182
+ 'firstName': string;
183
+ /**
184
+ *
185
+ * @type {string}
186
+ * @memberof AgendaBookingPlayer
187
+ */
188
+ 'lastName': string;
189
+ /**
190
+ *
191
+ * @type {string}
192
+ * @memberof AgendaBookingPlayer
193
+ */
194
+ 'profilePictureUrl'?: string;
195
+ }
196
+ /**
197
+ *
198
+ * @export
199
+ * @interface AgendaBookingSlot
200
+ */
201
+ export interface AgendaBookingSlot {
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof AgendaBookingSlot
206
+ */
207
+ 'start': string;
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof AgendaBookingSlot
212
+ */
213
+ 'end': string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof AgendaBookingSlot
218
+ */
219
+ 'courtName': string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof AgendaBookingSlot
224
+ */
225
+ 'sportKey': string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof AgendaBookingSlot
230
+ */
231
+ 'surface'?: string;
232
+ /**
233
+ *
234
+ * @type {boolean}
235
+ * @memberof AgendaBookingSlot
236
+ */
237
+ 'isIndoor'?: boolean;
238
+ }
239
+ /**
240
+ *
241
+ * @export
242
+ * @enum {string}
243
+ */
244
+ export declare const AgendaPaymentStatus: {
245
+ readonly Pay: "payé";
246
+ readonly NonPay: "non payé";
247
+ readonly EnAttente: "en attente";
248
+ };
249
+ export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
103
250
  /**
104
251
  *
105
252
  * @export
@@ -1106,10 +1253,10 @@ export interface BookingSummaryClubAddress {
1106
1253
  export interface BookingsWithTimeBoundsResponse {
1107
1254
  /**
1108
1255
  *
1109
- * @type {Array<BookingPopulated>}
1256
+ * @type {Array<AgendaBooking>}
1110
1257
  * @memberof BookingsWithTimeBoundsResponse
1111
1258
  */
1112
- 'bookings': Array<BookingPopulated>;
1259
+ 'bookings': Array<AgendaBooking>;
1113
1260
  /**
1114
1261
  *
1115
1262
  * @type {TimeBounds}
@@ -1221,75 +1368,6 @@ export interface ChangePasswordResponse {
1221
1368
  */
1222
1369
  'message': string;
1223
1370
  }
1224
- /**
1225
- *
1226
- * @export
1227
- * @interface CheckInEventParticipants200Response
1228
- */
1229
- export interface CheckInEventParticipants200Response {
1230
- /**
1231
- *
1232
- * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
1233
- * @memberof CheckInEventParticipants200Response
1234
- */
1235
- 'invoices': Array<CheckInEventParticipants200ResponseInvoicesInner>;
1236
- /**
1237
- *
1238
- * @type {string}
1239
- * @memberof CheckInEventParticipants200Response
1240
- */
1241
- 'message': string;
1242
- }
1243
- /**
1244
- *
1245
- * @export
1246
- * @interface CheckInEventParticipants200ResponseInvoicesInner
1247
- */
1248
- export interface CheckInEventParticipants200ResponseInvoicesInner {
1249
- /**
1250
- *
1251
- * @type {PaymentMethod}
1252
- * @memberof CheckInEventParticipants200ResponseInvoicesInner
1253
- */
1254
- 'paymentMethod': PaymentMethod;
1255
- /**
1256
- *
1257
- * @type {string}
1258
- * @memberof CheckInEventParticipants200ResponseInvoicesInner
1259
- */
1260
- 'status': string;
1261
- /**
1262
- *
1263
- * @type {number}
1264
- * @memberof CheckInEventParticipants200ResponseInvoicesInner
1265
- */
1266
- 'amount': number;
1267
- /**
1268
- *
1269
- * @type {string}
1270
- * @memberof CheckInEventParticipants200ResponseInvoicesInner
1271
- */
1272
- 'invoiceId': string;
1273
- /**
1274
- *
1275
- * @type {string}
1276
- * @memberof CheckInEventParticipants200ResponseInvoicesInner
1277
- */
1278
- 'playerId': string;
1279
- }
1280
- /**
1281
- *
1282
- * @export
1283
- * @interface CheckInEventParticipantsRequest
1284
- */
1285
- export interface CheckInEventParticipantsRequest {
1286
- /**
1287
- *
1288
- * @type {Array<string>}
1289
- * @memberof CheckInEventParticipantsRequest
1290
- */
1291
- 'playerIds': Array<string>;
1292
- }
1293
1371
  /**
1294
1372
  *
1295
1373
  * @export
@@ -1378,203 +1456,433 @@ export interface CheckedInPlayer {
1378
1456
  'note'?: string;
1379
1457
  }
1380
1458
  /**
1381
- *
1459
+ * Types pour les requêtes/réponses
1382
1460
  * @export
1383
- * @interface ClientFullOnboardingResponse
1461
+ * @interface ClientAccountOnboardingRequest
1384
1462
  */
1385
- export interface ClientFullOnboardingResponse {
1386
- /**
1387
- *
1388
- * @type {string}
1389
- * @memberof ClientFullOnboardingResponse
1390
- */
1391
- 'clientAccountId': string;
1463
+ export interface ClientAccountOnboardingRequest {
1392
1464
  /**
1393
1465
  *
1394
1466
  * @type {string}
1395
- * @memberof ClientFullOnboardingResponse
1467
+ * @memberof ClientAccountOnboardingRequest
1396
1468
  */
1397
- 'stripeCustomerId': string;
1469
+ 'businessName': string;
1398
1470
  /**
1399
1471
  *
1400
1472
  * @type {string}
1401
- * @memberof ClientFullOnboardingResponse
1473
+ * @memberof ClientAccountOnboardingRequest
1402
1474
  */
1403
- 'stripeConnectedAccountId'?: string;
1475
+ 'businessType'?: ClientAccountOnboardingRequestBusinessTypeEnum;
1404
1476
  /**
1405
1477
  *
1406
1478
  * @type {string}
1407
- * @memberof ClientFullOnboardingResponse
1479
+ * @memberof ClientAccountOnboardingRequest
1408
1480
  */
1409
- 'clientOnboardingLink'?: string;
1481
+ 'subscriptionType'?: ClientAccountOnboardingRequestSubscriptionTypeEnum;
1410
1482
  /**
1411
1483
  *
1412
- * @type {ClientFullOnboardingResponseClub}
1413
- * @memberof ClientFullOnboardingResponse
1484
+ * @type {boolean}
1485
+ * @memberof ClientAccountOnboardingRequest
1414
1486
  */
1415
- 'club': ClientFullOnboardingResponseClub;
1487
+ 'isPublicOrganization'?: boolean;
1416
1488
  /**
1417
1489
  *
1418
1490
  * @type {string}
1419
- * @memberof ClientFullOnboardingResponse
1491
+ * @memberof ClientAccountOnboardingRequest
1420
1492
  */
1421
- 'message': string;
1493
+ 'priceId': string;
1422
1494
  }
1495
+ export declare const ClientAccountOnboardingRequestBusinessTypeEnum: {
1496
+ readonly Individual: "individual";
1497
+ readonly Company: "company";
1498
+ };
1499
+ export type ClientAccountOnboardingRequestBusinessTypeEnum = typeof ClientAccountOnboardingRequestBusinessTypeEnum[keyof typeof ClientAccountOnboardingRequestBusinessTypeEnum];
1500
+ export declare const ClientAccountOnboardingRequestSubscriptionTypeEnum: {
1501
+ readonly Basic: "basic";
1502
+ readonly PlatformWithConnect: "platform_with_connect";
1503
+ };
1504
+ export type ClientAccountOnboardingRequestSubscriptionTypeEnum = typeof ClientAccountOnboardingRequestSubscriptionTypeEnum[keyof typeof ClientAccountOnboardingRequestSubscriptionTypeEnum];
1423
1505
  /**
1424
1506
  *
1425
1507
  * @export
1426
- * @interface ClientFullOnboardingResponseClub
1508
+ * @interface ClientAccountOnboardingResponse
1427
1509
  */
1428
- export interface ClientFullOnboardingResponseClub {
1510
+ export interface ClientAccountOnboardingResponse {
1429
1511
  /**
1430
1512
  *
1431
1513
  * @type {string}
1432
- * @memberof ClientFullOnboardingResponseClub
1514
+ * @memberof ClientAccountOnboardingResponse
1433
1515
  */
1434
- 'clubOnboardingLink'?: string;
1516
+ 'clientAccountId': string;
1435
1517
  /**
1436
1518
  *
1437
1519
  * @type {string}
1438
- * @memberof ClientFullOnboardingResponseClub
1520
+ * @memberof ClientAccountOnboardingResponse
1439
1521
  */
1440
- 'stripeAccountId': string;
1522
+ 'stripeCustomerId': string;
1441
1523
  /**
1442
1524
  *
1443
1525
  * @type {string}
1444
- * @memberof ClientFullOnboardingResponseClub
1445
- */
1446
- 'clubId': string;
1447
- }
1448
- /**
1449
- * Requête pour l\'onboarding d\'un club
1450
- * @export
1451
- * @interface ClientOnboardingRequestBody
1452
- */
1453
- export interface ClientOnboardingRequestBody {
1454
- /**
1455
- * Nom du club
1456
- * @type {string}
1457
- * @memberof ClientOnboardingRequestBody
1458
- */
1459
- 'clubName': string;
1460
- /**
1461
- * Email du club pour le compte Stripe
1462
- * @type {string}
1463
- * @memberof ClientOnboardingRequestBody
1526
+ * @memberof ClientAccountOnboardingResponse
1464
1527
  */
1465
- 'email': string;
1528
+ 'stripeConnectedAccountId'?: string;
1466
1529
  /**
1467
- * Numéro de téléphone du club (optionnel)
1530
+ *
1468
1531
  * @type {string}
1469
- * @memberof ClientOnboardingRequestBody
1532
+ * @memberof ClientAccountOnboardingResponse
1470
1533
  */
1471
- 'phone'?: string;
1534
+ 'connectedAccountOnboardingLink'?: string;
1472
1535
  /**
1473
- * Adresse du club (optionnel)
1536
+ *
1474
1537
  * @type {string}
1475
- * @memberof ClientOnboardingRequestBody
1538
+ * @memberof ClientAccountOnboardingResponse
1476
1539
  */
1477
- 'address'?: string;
1540
+ 'status': string;
1478
1541
  /**
1479
- * Ville du club (optionnel)
1542
+ *
1480
1543
  * @type {string}
1481
- * @memberof ClientOnboardingRequestBody
1544
+ * @memberof ClientAccountOnboardingResponse
1482
1545
  */
1483
- 'city'?: string;
1546
+ 'message': string;
1484
1547
  /**
1485
- * Code postal du club (optionnel)
1486
- * @type {string}
1487
- * @memberof ClientOnboardingRequestBody
1548
+ *
1549
+ * @type {boolean}
1550
+ * @memberof ClientAccountOnboardingResponse
1488
1551
  */
1489
- 'postalCode'?: string;
1552
+ 'isPublicOrganization': boolean;
1490
1553
  /**
1491
- * Pays du club (optionnel)
1492
- * @type {string}
1493
- * @memberof ClientOnboardingRequestBody
1554
+ *
1555
+ * @type {boolean}
1556
+ * @memberof ClientAccountOnboardingResponse
1494
1557
  */
1495
- 'country'?: string;
1558
+ 'manualInvoiceRequired'?: boolean;
1496
1559
  }
1497
1560
  /**
1498
1561
  *
1499
1562
  * @export
1500
- * @interface ClientRegister201Response
1563
+ * @interface ClientAccountResponse
1501
1564
  */
1502
- export interface ClientRegister201Response {
1565
+ export interface ClientAccountResponse {
1503
1566
  /**
1504
1567
  *
1505
1568
  * @type {string}
1506
- * @memberof ClientRegister201Response
1569
+ * @memberof ClientAccountResponse
1507
1570
  */
1508
- 'message': string;
1571
+ 'id': string;
1509
1572
  /**
1510
1573
  *
1511
1574
  * @type {string}
1512
- * @memberof ClientRegister201Response
1575
+ * @memberof ClientAccountResponse
1513
1576
  */
1514
- 'stripeCustomerId': string;
1577
+ 'email': string;
1515
1578
  /**
1516
1579
  *
1517
1580
  * @type {string}
1518
- * @memberof ClientRegister201Response
1581
+ * @memberof ClientAccountResponse
1519
1582
  */
1520
- 'email': string;
1583
+ 'businessName': string;
1521
1584
  /**
1522
1585
  *
1523
1586
  * @type {string}
1524
- * @memberof ClientRegister201Response
1587
+ * @memberof ClientAccountResponse
1525
1588
  */
1526
- 'userId': string;
1527
- }
1528
- /**
1529
- *
1530
- * @export
1531
- * @interface ClientRegisterRequest
1532
- */
1533
- export interface ClientRegisterRequest {
1589
+ 'businessType': string;
1534
1590
  /**
1535
1591
  *
1536
1592
  * @type {string}
1537
- * @memberof ClientRegisterRequest
1593
+ * @memberof ClientAccountResponse
1538
1594
  */
1539
- 'password': string;
1595
+ 'subscriptionType': string;
1540
1596
  /**
1541
1597
  *
1542
1598
  * @type {string}
1543
- * @memberof ClientRegisterRequest
1599
+ * @memberof ClientAccountResponse
1544
1600
  */
1545
- 'email': string;
1601
+ 'status': string;
1546
1602
  /**
1547
1603
  *
1548
- * @type {string}
1549
- * @memberof ClientRegisterRequest
1604
+ * @type {boolean}
1605
+ * @memberof ClientAccountResponse
1550
1606
  */
1551
- 'lastName': string;
1607
+ 'platformPaymentMethodSetup': boolean;
1552
1608
  /**
1553
1609
  *
1554
1610
  * @type {string}
1555
- * @memberof ClientRegisterRequest
1611
+ * @memberof ClientAccountResponse
1556
1612
  */
1557
- 'firstName': string;
1558
- }
1559
- /**
1560
- *
1561
- * @export
1562
- * @interface ClubDaySchedule
1563
- */
1564
- export interface ClubDaySchedule {
1613
+ 'stripeConnectedAccountId'?: string;
1565
1614
  /**
1566
1615
  *
1567
- * @type {string}
1568
- * @memberof ClubDaySchedule
1616
+ * @type {boolean}
1617
+ * @memberof ClientAccountResponse
1569
1618
  */
1570
- 'open': string;
1619
+ 'connectedAccountOnboardingRequired'?: boolean;
1571
1620
  /**
1572
1621
  *
1573
- * @type {string}
1574
- * @memberof ClubDaySchedule
1622
+ * @type {boolean}
1623
+ * @memberof ClientAccountResponse
1575
1624
  */
1576
- 'close': string;
1577
- }
1625
+ 'isPublicOrganization': boolean;
1626
+ /**
1627
+ *
1628
+ * @type {boolean}
1629
+ * @memberof ClientAccountResponse
1630
+ */
1631
+ 'manualInvoiceRequired'?: boolean;
1632
+ /**
1633
+ *
1634
+ * @type {string}
1635
+ * @memberof ClientAccountResponse
1636
+ */
1637
+ 'createdAt': string;
1638
+ /**
1639
+ *
1640
+ * @type {string}
1641
+ * @memberof ClientAccountResponse
1642
+ */
1643
+ 'updatedAt': string;
1644
+ }
1645
+ /**
1646
+ *
1647
+ * @export
1648
+ * @interface ClientMeResponse
1649
+ */
1650
+ export interface ClientMeResponse {
1651
+ /**
1652
+ *
1653
+ * @type {string}
1654
+ * @memberof ClientMeResponse
1655
+ */
1656
+ 'id': string;
1657
+ /**
1658
+ *
1659
+ * @type {string}
1660
+ * @memberof ClientMeResponse
1661
+ */
1662
+ 'email': string;
1663
+ /**
1664
+ *
1665
+ * @type {string}
1666
+ * @memberof ClientMeResponse
1667
+ */
1668
+ 'firstName': string;
1669
+ /**
1670
+ *
1671
+ * @type {string}
1672
+ * @memberof ClientMeResponse
1673
+ */
1674
+ 'lastName': string;
1675
+ /**
1676
+ *
1677
+ * @type {boolean}
1678
+ * @memberof ClientMeResponse
1679
+ */
1680
+ 'isClient': boolean;
1681
+ }
1682
+ /**
1683
+ * Requête pour l\'onboarding d\'un club
1684
+ * @export
1685
+ * @interface ClientOnboardingRequestBody
1686
+ */
1687
+ export interface ClientOnboardingRequestBody {
1688
+ /**
1689
+ * Nom du club
1690
+ * @type {string}
1691
+ * @memberof ClientOnboardingRequestBody
1692
+ */
1693
+ 'clubName': string;
1694
+ /**
1695
+ * Email du club pour le compte Stripe
1696
+ * @type {string}
1697
+ * @memberof ClientOnboardingRequestBody
1698
+ */
1699
+ 'email': string;
1700
+ /**
1701
+ * Numéro de téléphone du club (optionnel)
1702
+ * @type {string}
1703
+ * @memberof ClientOnboardingRequestBody
1704
+ */
1705
+ 'phone'?: string;
1706
+ /**
1707
+ * Adresse du club (optionnel)
1708
+ * @type {string}
1709
+ * @memberof ClientOnboardingRequestBody
1710
+ */
1711
+ 'address'?: string;
1712
+ /**
1713
+ * Ville du club (optionnel)
1714
+ * @type {string}
1715
+ * @memberof ClientOnboardingRequestBody
1716
+ */
1717
+ 'city'?: string;
1718
+ /**
1719
+ * Code postal du club (optionnel)
1720
+ * @type {string}
1721
+ * @memberof ClientOnboardingRequestBody
1722
+ */
1723
+ 'postalCode'?: string;
1724
+ /**
1725
+ * Pays du club (optionnel)
1726
+ * @type {string}
1727
+ * @memberof ClientOnboardingRequestBody
1728
+ */
1729
+ 'country'?: string;
1730
+ }
1731
+ /**
1732
+ * Réponse pour l\'onboarding d\'un club
1733
+ * @export
1734
+ * @interface ClientOnboardingResponse
1735
+ */
1736
+ export interface ClientOnboardingResponse {
1737
+ /**
1738
+ * ID unique du club créé
1739
+ * @type {string}
1740
+ * @memberof ClientOnboardingResponse
1741
+ */
1742
+ 'clubId': string;
1743
+ /**
1744
+ * ID du compte Stripe Connect du club
1745
+ * @type {string}
1746
+ * @memberof ClientOnboardingResponse
1747
+ */
1748
+ 'stripeAccountId': string;
1749
+ /**
1750
+ * Lien d\'onboarding Stripe pour configurer le compte
1751
+ * @type {string}
1752
+ * @memberof ClientOnboardingResponse
1753
+ */
1754
+ 'onboardingLink': string;
1755
+ /**
1756
+ * Message de confirmation
1757
+ * @type {string}
1758
+ * @memberof ClientOnboardingResponse
1759
+ */
1760
+ 'message': string;
1761
+ }
1762
+ /**
1763
+ *
1764
+ * @export
1765
+ * @interface ClientRegisterRequestBody
1766
+ */
1767
+ export interface ClientRegisterRequestBody {
1768
+ /**
1769
+ *
1770
+ * @type {string}
1771
+ * @memberof ClientRegisterRequestBody
1772
+ */
1773
+ 'email': string;
1774
+ /**
1775
+ *
1776
+ * @type {string}
1777
+ * @memberof ClientRegisterRequestBody
1778
+ */
1779
+ 'password': string;
1780
+ /**
1781
+ *
1782
+ * @type {string}
1783
+ * @memberof ClientRegisterRequestBody
1784
+ */
1785
+ 'firstName': string;
1786
+ /**
1787
+ *
1788
+ * @type {string}
1789
+ * @memberof ClientRegisterRequestBody
1790
+ */
1791
+ 'lastName': string;
1792
+ }
1793
+ /**
1794
+ *
1795
+ * @export
1796
+ * @interface ClientRegisterResponse
1797
+ */
1798
+ export interface ClientRegisterResponse {
1799
+ /**
1800
+ *
1801
+ * @type {string}
1802
+ * @memberof ClientRegisterResponse
1803
+ */
1804
+ 'id': string;
1805
+ /**
1806
+ *
1807
+ * @type {string}
1808
+ * @memberof ClientRegisterResponse
1809
+ */
1810
+ 'token': string;
1811
+ }
1812
+ /**
1813
+ *
1814
+ * @export
1815
+ * @interface ClientSubscriptionResponse
1816
+ */
1817
+ export interface ClientSubscriptionResponse {
1818
+ /**
1819
+ *
1820
+ * @type {string}
1821
+ * @memberof ClientSubscriptionResponse
1822
+ */
1823
+ 'id': string;
1824
+ /**
1825
+ *
1826
+ * @type {string}
1827
+ * @memberof ClientSubscriptionResponse
1828
+ */
1829
+ 'subscriptionType': string;
1830
+ /**
1831
+ *
1832
+ * @type {string}
1833
+ * @memberof ClientSubscriptionResponse
1834
+ */
1835
+ 'status': string;
1836
+ /**
1837
+ *
1838
+ * @type {string}
1839
+ * @memberof ClientSubscriptionResponse
1840
+ */
1841
+ 'startDate': string;
1842
+ /**
1843
+ *
1844
+ * @type {string}
1845
+ * @memberof ClientSubscriptionResponse
1846
+ */
1847
+ 'endDate'?: string;
1848
+ /**
1849
+ *
1850
+ * @type {number}
1851
+ * @memberof ClientSubscriptionResponse
1852
+ */
1853
+ 'priceAmountInCents': number;
1854
+ /**
1855
+ *
1856
+ * @type {string}
1857
+ * @memberof ClientSubscriptionResponse
1858
+ */
1859
+ 'currency': string;
1860
+ /**
1861
+ *
1862
+ * @type {string}
1863
+ * @memberof ClientSubscriptionResponse
1864
+ */
1865
+ 'billingCycle': string;
1866
+ }
1867
+ /**
1868
+ *
1869
+ * @export
1870
+ * @interface ClubDaySchedule
1871
+ */
1872
+ export interface ClubDaySchedule {
1873
+ /**
1874
+ *
1875
+ * @type {string}
1876
+ * @memberof ClubDaySchedule
1877
+ */
1878
+ 'open': string;
1879
+ /**
1880
+ *
1881
+ * @type {string}
1882
+ * @memberof ClubDaySchedule
1883
+ */
1884
+ 'close': string;
1885
+ }
1578
1886
  /**
1579
1887
  *
1580
1888
  * @export
@@ -2113,6 +2421,12 @@ export interface ClubPlayerDetailResponse {
2113
2421
  * @memberof ClubPlayerDetailResponse
2114
2422
  */
2115
2423
  'birthDate': string | null;
2424
+ /**
2425
+ *
2426
+ * @type {number}
2427
+ * @memberof ClubPlayerDetailResponse
2428
+ */
2429
+ 'credits': number | null;
2116
2430
  }
2117
2431
  /**
2118
2432
  *
@@ -2852,7 +3166,19 @@ export interface ClubSummary {
2852
3166
  * @type {string}
2853
3167
  * @memberof ClubSummary
2854
3168
  */
2855
- 'address'?: string | null;
3169
+ 'picture'?: string;
3170
+ /**
3171
+ *
3172
+ * @type {Array<string>}
3173
+ * @memberof ClubSummary
3174
+ */
3175
+ 'bannerPictures'?: Array<string>;
3176
+ /**
3177
+ *
3178
+ * @type {Array<string>}
3179
+ * @memberof ClubSummary
3180
+ */
3181
+ 'galleryPictures'?: Array<string>;
2856
3182
  /**
2857
3183
  *
2858
3184
  * @type {UserLocationSummary}
@@ -2865,6 +3191,12 @@ export interface ClubSummary {
2865
3191
  * @memberof ClubSummary
2866
3192
  */
2867
3193
  'visitCount'?: number;
3194
+ /**
3195
+ *
3196
+ * @type {Array<string>}
3197
+ * @memberof ClubSummary
3198
+ */
3199
+ 'tags'?: Array<string>;
2868
3200
  }
2869
3201
  /**
2870
3202
  *
@@ -3329,13 +3661,19 @@ export interface CreateEventRequest {
3329
3661
  * @type {string}
3330
3662
  * @memberof CreateEventRequest
3331
3663
  */
3332
- 'recurringType': CreateEventRequestRecurringTypeEnum;
3664
+ 'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
3333
3665
  /**
3334
3666
  *
3335
3667
  * @type {string}
3336
3668
  * @memberof CreateEventRequest
3337
3669
  */
3338
3670
  'recurrenceEndDate'?: string;
3671
+ /**
3672
+ *
3673
+ * @type {number}
3674
+ * @memberof CreateEventRequest
3675
+ */
3676
+ 'occurrences'?: number;
3339
3677
  /**
3340
3678
  *
3341
3679
  * @type {string}
@@ -3417,114 +3755,15 @@ export type CreateEventRequestVisibilityTypeEnum = typeof CreateEventRequestVisi
3417
3755
  /**
3418
3756
  *
3419
3757
  * @export
3420
- * @interface CreateOnsiteInvoiceRequest
3758
+ * @interface CreatePlan201Response
3421
3759
  */
3422
- export interface CreateOnsiteInvoiceRequest {
3760
+ export interface CreatePlan201Response {
3423
3761
  /**
3424
- * Payer user id (creator or player)
3762
+ *
3425
3763
  * @type {string}
3426
- * @memberof CreateOnsiteInvoiceRequest
3427
- */
3428
- 'userId': string;
3429
- /**
3430
- * Amount in cents
3431
- * @type {number}
3432
- * @memberof CreateOnsiteInvoiceRequest
3764
+ * @memberof CreatePlan201Response
3433
3765
  */
3434
- 'amount': number;
3435
- /**
3436
- *
3437
- * @type {PaymentMethod}
3438
- * @memberof CreateOnsiteInvoiceRequest
3439
- */
3440
- 'paymentMethod': PaymentMethod;
3441
- /**
3442
- *
3443
- * @type {InvoiceStatus}
3444
- * @memberof CreateOnsiteInvoiceRequest
3445
- */
3446
- 'status': InvoiceStatus;
3447
- /**
3448
- * Optional note/reason about the invoice
3449
- * @type {string}
3450
- * @memberof CreateOnsiteInvoiceRequest
3451
- */
3452
- 'reason'?: string;
3453
- }
3454
- /**
3455
- *
3456
- * @export
3457
- * @interface CreateOnsiteInvoiceResponse
3458
- */
3459
- export interface CreateOnsiteInvoiceResponse {
3460
- /**
3461
- * Confirmation message
3462
- * @type {string}
3463
- * @memberof CreateOnsiteInvoiceResponse
3464
- */
3465
- 'message': string;
3466
- /**
3467
- *
3468
- * @type {CreateOnsiteInvoiceResponseInvoice}
3469
- * @memberof CreateOnsiteInvoiceResponse
3470
- */
3471
- 'invoice': CreateOnsiteInvoiceResponseInvoice;
3472
- }
3473
- /**
3474
- * Created invoice summary
3475
- * @export
3476
- * @interface CreateOnsiteInvoiceResponseInvoice
3477
- */
3478
- export interface CreateOnsiteInvoiceResponseInvoice {
3479
- /**
3480
- *
3481
- * @type {string}
3482
- * @memberof CreateOnsiteInvoiceResponseInvoice
3483
- */
3484
- 'reason'?: string;
3485
- /**
3486
- *
3487
- * @type {PaymentMethod}
3488
- * @memberof CreateOnsiteInvoiceResponseInvoice
3489
- */
3490
- 'paymentMethod': PaymentMethod;
3491
- /**
3492
- *
3493
- * @type {InvoiceStatus}
3494
- * @memberof CreateOnsiteInvoiceResponseInvoice
3495
- */
3496
- 'status': InvoiceStatus;
3497
- /**
3498
- *
3499
- * @type {number}
3500
- * @memberof CreateOnsiteInvoiceResponseInvoice
3501
- */
3502
- 'amount': number;
3503
- /**
3504
- *
3505
- * @type {string}
3506
- * @memberof CreateOnsiteInvoiceResponseInvoice
3507
- */
3508
- 'userId': string;
3509
- /**
3510
- *
3511
- * @type {string}
3512
- * @memberof CreateOnsiteInvoiceResponseInvoice
3513
- */
3514
- 'id': string;
3515
- }
3516
- /**
3517
- *
3518
- * @export
3519
- * @interface CreatePlan201Response
3520
- */
3521
- export interface CreatePlan201Response {
3522
- /**
3523
- *
3524
- * @type {string}
3525
- * @memberof CreatePlan201Response
3526
- */
3527
- 'priceId': string;
3766
+ 'priceId': string;
3528
3767
  /**
3529
3768
  *
3530
3769
  * @type {string}
@@ -3838,74 +4077,6 @@ export declare const DiscountType: {
3838
4077
  readonly OffPeak: "off_peak";
3839
4078
  };
3840
4079
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
3841
- /**
3842
- *
3843
- * @export
3844
- * @interface EventConflictCheckRequest
3845
- */
3846
- export interface EventConflictCheckRequest {
3847
- /**
3848
- *
3849
- * @type {string}
3850
- * @memberof EventConflictCheckRequest
3851
- */
3852
- 'eventId'?: string;
3853
- /**
3854
- *
3855
- * @type {string}
3856
- * @memberof EventConflictCheckRequest
3857
- */
3858
- 'clubId'?: string;
3859
- /**
3860
- *
3861
- * @type {string}
3862
- * @memberof EventConflictCheckRequest
3863
- */
3864
- 'startDate'?: string;
3865
- /**
3866
- *
3867
- * @type {string}
3868
- * @memberof EventConflictCheckRequest
3869
- */
3870
- 'endDate'?: string;
3871
- /**
3872
- *
3873
- * @type {Array<string>}
3874
- * @memberof EventConflictCheckRequest
3875
- */
3876
- 'courts'?: Array<string>;
3877
- }
3878
- /**
3879
- *
3880
- * @export
3881
- * @interface EventConflictCheckResponse
3882
- */
3883
- export interface EventConflictCheckResponse {
3884
- /**
3885
- *
3886
- * @type {boolean}
3887
- * @memberof EventConflictCheckResponse
3888
- */
3889
- 'hasRegularBookings': boolean;
3890
- /**
3891
- *
3892
- * @type {number}
3893
- * @memberof EventConflictCheckResponse
3894
- */
3895
- 'regularBookingsCount': number;
3896
- /**
3897
- *
3898
- * @type {boolean}
3899
- * @memberof EventConflictCheckResponse
3900
- */
3901
- 'hasEventBookings': boolean;
3902
- /**
3903
- *
3904
- * @type {number}
3905
- * @memberof EventConflictCheckResponse
3906
- */
3907
- 'eventBookingsCount': number;
3908
- }
3909
4080
  /**
3910
4081
  *
3911
4082
  * @export
@@ -4402,6 +4573,25 @@ export interface GetSlotsByClubById200Response {
4402
4573
  */
4403
4574
  'slots': Array<any>;
4404
4575
  }
4576
+ /**
4577
+ *
4578
+ * @export
4579
+ * @interface GetSubscriptionsHistory200Response
4580
+ */
4581
+ export interface GetSubscriptionsHistory200Response {
4582
+ /**
4583
+ *
4584
+ * @type {Array<ClientSubscriptionResponse>}
4585
+ * @memberof GetSubscriptionsHistory200Response
4586
+ */
4587
+ 'subscriptions': Array<ClientSubscriptionResponse>;
4588
+ /**
4589
+ *
4590
+ * @type {string}
4591
+ * @memberof GetSubscriptionsHistory200Response
4592
+ */
4593
+ 'clientAccountId': string;
4594
+ }
4405
4595
  /**
4406
4596
  *
4407
4597
  * @export
@@ -4959,49 +5149,6 @@ export interface JoinEventRequest {
4959
5149
  * @memberof JoinEventRequest
4960
5150
  */
4961
5151
  'players'?: Array<string>;
4962
- /**
4963
- *
4964
- * @type {boolean}
4965
- * @memberof JoinEventRequest
4966
- */
4967
- 'isCreatorPayingAll'?: boolean;
4968
- /**
4969
- *
4970
- * @type {PaymentMethod}
4971
- * @memberof JoinEventRequest
4972
- */
4973
- 'paymentMethod'?: PaymentMethod;
4974
- /**
4975
- *
4976
- * @type {Array<JoinEventRequestPlayersPaymentMethodsInner>}
4977
- * @memberof JoinEventRequest
4978
- */
4979
- 'playersPaymentMethods'?: Array<JoinEventRequestPlayersPaymentMethodsInner>;
4980
- /**
4981
- *
4982
- * @type {boolean}
4983
- * @memberof JoinEventRequest
4984
- */
4985
- 'useDefaultPaymentMethod'?: boolean;
4986
- }
4987
- /**
4988
- *
4989
- * @export
4990
- * @interface JoinEventRequestPlayersPaymentMethodsInner
4991
- */
4992
- export interface JoinEventRequestPlayersPaymentMethodsInner {
4993
- /**
4994
- *
4995
- * @type {PaymentMethod}
4996
- * @memberof JoinEventRequestPlayersPaymentMethodsInner
4997
- */
4998
- 'paymentMethod': PaymentMethod;
4999
- /**
5000
- *
5001
- * @type {string}
5002
- * @memberof JoinEventRequestPlayersPaymentMethodsInner
5003
- */
5004
- 'id': string;
5005
5152
  }
5006
5153
  /**
5007
5154
  *
@@ -5527,8 +5674,6 @@ export interface PaymentByPlayerInfo {
5527
5674
  export declare const PaymentMethod: {
5528
5675
  readonly Online: "online";
5529
5676
  readonly Onsite: "onsite";
5530
- readonly OnsiteCard: "onsite_card";
5531
- readonly OnsiteCash: "onsite_cash";
5532
5677
  readonly Free: "free";
5533
5678
  };
5534
5679
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
@@ -6114,12 +6259,6 @@ export interface PublishEventResponse {
6114
6259
  * @memberof PublishEventResponse
6115
6260
  */
6116
6261
  'event': EventResponse;
6117
- /**
6118
- *
6119
- * @type {Array<string>}
6120
- * @memberof PublishEventResponse
6121
- */
6122
- 'refundedBookingIds'?: Array<string>;
6123
6262
  }
6124
6263
  /**
6125
6264
  *
@@ -9003,6 +9142,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
9003
9142
  */
9004
9143
  'price': any;
9005
9144
  }
9145
+ /**
9146
+ *
9147
+ * @export
9148
+ * @interface UpdateUserCreditsRequest
9149
+ */
9150
+ export interface UpdateUserCreditsRequest {
9151
+ /**
9152
+ * Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
9153
+ * @type {number}
9154
+ * @memberof UpdateUserCreditsRequest
9155
+ */
9156
+ 'deltaInCents': number;
9157
+ }
9006
9158
  /**
9007
9159
  *
9008
9160
  * @export
@@ -10471,13 +10623,6 @@ export declare class BookingsUserApi extends BaseAPI {
10471
10623
  * @export
10472
10624
  */
10473
10625
  export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
10474
- /**
10475
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10476
- * @param {ClientRegisterRequest} clientRegisterRequest
10477
- * @param {*} [options] Override http request option.
10478
- * @throws {RequiredError}
10479
- */
10480
- clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10481
10626
  /**
10482
10627
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10483
10628
  * @param {*} [options] Override http request option.
@@ -10485,7 +10630,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
10485
10630
  */
10486
10631
  getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10487
10632
  /**
10488
- * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10633
+ * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10489
10634
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10490
10635
  * @param {*} [options] Override http request option.
10491
10636
  * @throws {RequiredError}
@@ -10497,13 +10642,6 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
10497
10642
  * @export
10498
10643
  */
10499
10644
  export declare const ClientApiFp: (configuration?: Configuration) => {
10500
- /**
10501
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10502
- * @param {ClientRegisterRequest} clientRegisterRequest
10503
- * @param {*} [options] Override http request option.
10504
- * @throws {RequiredError}
10505
- */
10506
- clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
10507
10645
  /**
10508
10646
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10509
10647
  * @param {*} [options] Override http request option.
@@ -10511,25 +10649,18 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
10511
10649
  */
10512
10650
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
10513
10651
  /**
10514
- * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10652
+ * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10515
10653
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10516
10654
  * @param {*} [options] Override http request option.
10517
10655
  * @throws {RequiredError}
10518
10656
  */
10519
- onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientFullOnboardingResponse>>;
10657
+ onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientOnboardingResponse>>;
10520
10658
  };
10521
10659
  /**
10522
10660
  * ClientApi - factory interface
10523
10661
  * @export
10524
10662
  */
10525
10663
  export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10526
- /**
10527
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10528
- * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
10529
- * @param {*} [options] Override http request option.
10530
- * @throws {RequiredError}
10531
- */
10532
- clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
10533
10664
  /**
10534
10665
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10535
10666
  * @param {*} [options] Override http request option.
@@ -10537,26 +10668,13 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
10537
10668
  */
10538
10669
  getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
10539
10670
  /**
10540
- * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10671
+ * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10541
10672
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10542
10673
  * @param {*} [options] Override http request option.
10543
10674
  * @throws {RequiredError}
10544
10675
  */
10545
- onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientFullOnboardingResponse>;
10676
+ onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientOnboardingResponse>;
10546
10677
  };
10547
- /**
10548
- * Request parameters for clientRegister operation in ClientApi.
10549
- * @export
10550
- * @interface ClientApiClientRegisterRequest
10551
- */
10552
- export interface ClientApiClientRegisterRequest {
10553
- /**
10554
- *
10555
- * @type {ClientRegisterRequest}
10556
- * @memberof ClientApiClientRegister
10557
- */
10558
- readonly clientRegisterRequest: ClientRegisterRequest;
10559
- }
10560
10678
  /**
10561
10679
  * Request parameters for onboardClub operation in ClientApi.
10562
10680
  * @export
@@ -10577,14 +10695,6 @@ export interface ClientApiOnboardClubRequest {
10577
10695
  * @extends {BaseAPI}
10578
10696
  */
10579
10697
  export declare class ClientApi extends BaseAPI {
10580
- /**
10581
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10582
- * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
10583
- * @param {*} [options] Override http request option.
10584
- * @throws {RequiredError}
10585
- * @memberof ClientApi
10586
- */
10587
- clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
10588
10698
  /**
10589
10699
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10590
10700
  * @param {*} [options] Override http request option.
@@ -10593,111 +10703,388 @@ export declare class ClientApi extends BaseAPI {
10593
10703
  */
10594
10704
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
10595
10705
  /**
10596
- * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10706
+ * Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
10597
10707
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10598
10708
  * @param {*} [options] Override http request option.
10599
10709
  * @throws {RequiredError}
10600
10710
  * @memberof ClientApi
10601
10711
  */
10602
- onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientFullOnboardingResponse, any, {}>>;
10712
+ onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientOnboardingResponse, any, {}>>;
10603
10713
  }
10604
10714
  /**
10605
- * ClubAnalyticsApi - axios parameter creator
10715
+ * ClientAccountsApi - axios parameter creator
10606
10716
  * @export
10607
10717
  */
10608
- export declare const ClubAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
10718
+ export declare const ClientAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
10609
10719
  /**
10610
- * Récupère les clubs les plus aimés
10720
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10611
10721
  * @param {*} [options] Override http request option.
10612
10722
  * @throws {RequiredError}
10613
10723
  */
10614
- getMostLikedClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10724
+ clientAuthMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10615
10725
  /**
10616
- * Récupère les clubs populaires
10726
+ * Récupère le compte client par son ID
10727
+ * @param {string} accountId L\&#39;ID du compte client
10617
10728
  * @param {*} [options] Override http request option.
10618
10729
  * @throws {RequiredError}
10619
10730
  */
10620
- getPopularClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10621
- };
10622
- /**
10623
- * ClubAnalyticsApi - functional programming interface
10624
- * @export
10625
- */
10626
- export declare const ClubAnalyticsApiFp: (configuration?: Configuration) => {
10731
+ getClientAccountById: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10627
10732
  /**
10628
- * Récupère les clubs les plus aimés
10733
+ * Récupère l\'abonnement actif du compte client authentifié
10629
10734
  * @param {*} [options] Override http request option.
10630
10735
  * @throws {RequiredError}
10631
10736
  */
10632
- getMostLikedClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
10737
+ getMyActiveSubscription: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10633
10738
  /**
10634
- * Récupère les clubs populaires
10739
+ * Récupère le compte client de l\'utilisateur authentifié
10635
10740
  * @param {*} [options] Override http request option.
10636
10741
  * @throws {RequiredError}
10637
10742
  */
10638
- getPopularClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
10639
- };
10640
- /**
10641
- * ClubAnalyticsApi - factory interface
10642
- * @export
10643
- */
10644
- export declare const ClubAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10743
+ getMyClientAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10645
10744
  /**
10646
- * Récupère les clubs les plus aimés
10745
+ * Récupère l\'historique des abonnements du compte client authentifié
10647
10746
  * @param {*} [options] Override http request option.
10648
10747
  * @throws {RequiredError}
10649
10748
  */
10650
- getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
10749
+ getSubscriptionsHistory: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10651
10750
  /**
10652
- * Récupère les clubs populaires
10751
+ * Liste les prix Stripe disponibles pour les abonnements client
10653
10752
  * @param {*} [options] Override http request option.
10654
10753
  * @throws {RequiredError}
10655
10754
  */
10656
- getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
10657
- };
10658
- /**
10659
- * ClubAnalyticsApi - object-oriented interface
10660
- * @export
10661
- * @class ClubAnalyticsApi
10662
- * @extends {BaseAPI}
10663
- */
10664
- export declare class ClubAnalyticsApi extends BaseAPI {
10755
+ listAvailablePrices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10665
10756
  /**
10666
- * Récupère les clubs les plus aimés
10757
+ * Crée un nouveau compte client avec onboarding Stripe
10758
+ * @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
10667
10759
  * @param {*} [options] Override http request option.
10668
10760
  * @throws {RequiredError}
10669
- * @memberof ClubAnalyticsApi
10670
10761
  */
10671
- getMostLikedClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
10762
+ onboardClientAccount: (clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10672
10763
  /**
10673
- * Récupère les clubs populaires
10764
+ * Route d\'inscription d\'un utilisateur client (publique)
10765
+ * @param {ClientRegisterRequestBody} clientRegisterRequestBody
10674
10766
  * @param {*} [options] Override http request option.
10675
10767
  * @throws {RequiredError}
10676
- * @memberof ClubAnalyticsApi
10677
10768
  */
10678
- getPopularClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
10679
- }
10769
+ registerClientUser: (clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10770
+ };
10680
10771
  /**
10681
- * ClubAnalyticsStaffApi - axios parameter creator
10772
+ * ClientAccountsApi - functional programming interface
10682
10773
  * @export
10683
10774
  */
10684
- export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
10775
+ export declare const ClientAccountsApiFp: (configuration?: Configuration) => {
10685
10776
  /**
10686
- * Récupère les analytics par sport
10687
- * @param {string} sportId
10777
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10688
10778
  * @param {*} [options] Override http request option.
10689
10779
  * @throws {RequiredError}
10690
10780
  */
10691
- getAnalyticsBySport: (sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10781
+ clientAuthMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientMeResponse>>;
10692
10782
  /**
10693
- * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10694
- * @param {string} playerId
10695
- * @param {number} [page]
10696
- * @param {number} [pageSize]
10783
+ * Récupère le compte client par son ID
10784
+ * @param {string} accountId L\&#39;ID du compte client
10697
10785
  * @param {*} [options] Override http request option.
10698
10786
  * @throws {RequiredError}
10699
10787
  */
10700
- getClubPlayerBookingsById: (playerId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10788
+ getClientAccountById(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
10789
+ /**
10790
+ * Récupère l\'abonnement actif du compte client authentifié
10791
+ * @param {*} [options] Override http request option.
10792
+ * @throws {RequiredError}
10793
+ */
10794
+ getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriptionResponse>>;
10795
+ /**
10796
+ * Récupère le compte client de l\'utilisateur authentifié
10797
+ * @param {*} [options] Override http request option.
10798
+ * @throws {RequiredError}
10799
+ */
10800
+ getMyClientAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
10801
+ /**
10802
+ * Récupère l\'historique des abonnements du compte client authentifié
10803
+ * @param {*} [options] Override http request option.
10804
+ * @throws {RequiredError}
10805
+ */
10806
+ getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubscriptionsHistory200Response>>;
10807
+ /**
10808
+ * Liste les prix Stripe disponibles pour les abonnements client
10809
+ * @param {*} [options] Override http request option.
10810
+ * @throws {RequiredError}
10811
+ */
10812
+ listAvailablePrices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
10813
+ /**
10814
+ * Crée un nouveau compte client avec onboarding Stripe
10815
+ * @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
10816
+ * @param {*} [options] Override http request option.
10817
+ * @throws {RequiredError}
10818
+ */
10819
+ onboardClientAccount(clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountOnboardingResponse>>;
10820
+ /**
10821
+ * Route d\'inscription d\'un utilisateur client (publique)
10822
+ * @param {ClientRegisterRequestBody} clientRegisterRequestBody
10823
+ * @param {*} [options] Override http request option.
10824
+ * @throws {RequiredError}
10825
+ */
10826
+ registerClientUser(clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegisterResponse>>;
10827
+ };
10828
+ /**
10829
+ * ClientAccountsApi - factory interface
10830
+ * @export
10831
+ */
10832
+ export declare const ClientAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10833
+ /**
10834
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10835
+ * @param {*} [options] Override http request option.
10836
+ * @throws {RequiredError}
10837
+ */
10838
+ clientAuthMe(options?: RawAxiosRequestConfig): AxiosPromise<ClientMeResponse>;
10839
+ /**
10840
+ * Récupère le compte client par son ID
10841
+ * @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
10842
+ * @param {*} [options] Override http request option.
10843
+ * @throws {RequiredError}
10844
+ */
10845
+ getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
10846
+ /**
10847
+ * Récupère l\'abonnement actif du compte client authentifié
10848
+ * @param {*} [options] Override http request option.
10849
+ * @throws {RequiredError}
10850
+ */
10851
+ getMyActiveSubscription(options?: RawAxiosRequestConfig): AxiosPromise<ActiveSubscriptionResponse>;
10852
+ /**
10853
+ * Récupère le compte client de l\'utilisateur authentifié
10854
+ * @param {*} [options] Override http request option.
10855
+ * @throws {RequiredError}
10856
+ */
10857
+ getMyClientAccount(options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
10858
+ /**
10859
+ * Récupère l\'historique des abonnements du compte client authentifié
10860
+ * @param {*} [options] Override http request option.
10861
+ * @throws {RequiredError}
10862
+ */
10863
+ getSubscriptionsHistory(options?: RawAxiosRequestConfig): AxiosPromise<GetSubscriptionsHistory200Response>;
10864
+ /**
10865
+ * Liste les prix Stripe disponibles pour les abonnements client
10866
+ * @param {*} [options] Override http request option.
10867
+ * @throws {RequiredError}
10868
+ */
10869
+ listAvailablePrices(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
10870
+ /**
10871
+ * Crée un nouveau compte client avec onboarding Stripe
10872
+ * @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
10873
+ * @param {*} [options] Override http request option.
10874
+ * @throws {RequiredError}
10875
+ */
10876
+ onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountOnboardingResponse>;
10877
+ /**
10878
+ * Route d\'inscription d\'un utilisateur client (publique)
10879
+ * @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
10880
+ * @param {*} [options] Override http request option.
10881
+ * @throws {RequiredError}
10882
+ */
10883
+ registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegisterResponse>;
10884
+ };
10885
+ /**
10886
+ * Request parameters for getClientAccountById operation in ClientAccountsApi.
10887
+ * @export
10888
+ * @interface ClientAccountsApiGetClientAccountByIdRequest
10889
+ */
10890
+ export interface ClientAccountsApiGetClientAccountByIdRequest {
10891
+ /**
10892
+ * L\&#39;ID du compte client
10893
+ * @type {string}
10894
+ * @memberof ClientAccountsApiGetClientAccountById
10895
+ */
10896
+ readonly accountId: string;
10897
+ }
10898
+ /**
10899
+ * Request parameters for onboardClientAccount operation in ClientAccountsApi.
10900
+ * @export
10901
+ * @interface ClientAccountsApiOnboardClientAccountRequest
10902
+ */
10903
+ export interface ClientAccountsApiOnboardClientAccountRequest {
10904
+ /**
10905
+ * Les données du compte à créer
10906
+ * @type {ClientAccountOnboardingRequest}
10907
+ * @memberof ClientAccountsApiOnboardClientAccount
10908
+ */
10909
+ readonly clientAccountOnboardingRequest: ClientAccountOnboardingRequest;
10910
+ }
10911
+ /**
10912
+ * Request parameters for registerClientUser operation in ClientAccountsApi.
10913
+ * @export
10914
+ * @interface ClientAccountsApiRegisterClientUserRequest
10915
+ */
10916
+ export interface ClientAccountsApiRegisterClientUserRequest {
10917
+ /**
10918
+ *
10919
+ * @type {ClientRegisterRequestBody}
10920
+ * @memberof ClientAccountsApiRegisterClientUser
10921
+ */
10922
+ readonly clientRegisterRequestBody: ClientRegisterRequestBody;
10923
+ }
10924
+ /**
10925
+ * ClientAccountsApi - object-oriented interface
10926
+ * @export
10927
+ * @class ClientAccountsApi
10928
+ * @extends {BaseAPI}
10929
+ */
10930
+ export declare class ClientAccountsApi extends BaseAPI {
10931
+ /**
10932
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10933
+ * @param {*} [options] Override http request option.
10934
+ * @throws {RequiredError}
10935
+ * @memberof ClientAccountsApi
10936
+ */
10937
+ clientAuthMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientMeResponse, any, {}>>;
10938
+ /**
10939
+ * Récupère le compte client par son ID
10940
+ * @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
10941
+ * @param {*} [options] Override http request option.
10942
+ * @throws {RequiredError}
10943
+ * @memberof ClientAccountsApi
10944
+ */
10945
+ getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any, {}>>;
10946
+ /**
10947
+ * Récupère l\'abonnement actif du compte client authentifié
10948
+ * @param {*} [options] Override http request option.
10949
+ * @throws {RequiredError}
10950
+ * @memberof ClientAccountsApi
10951
+ */
10952
+ getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActiveSubscriptionResponse, any, {}>>;
10953
+ /**
10954
+ * Récupère le compte client de l\'utilisateur authentifié
10955
+ * @param {*} [options] Override http request option.
10956
+ * @throws {RequiredError}
10957
+ * @memberof ClientAccountsApi
10958
+ */
10959
+ getMyClientAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any, {}>>;
10960
+ /**
10961
+ * Récupère l\'historique des abonnements du compte client authentifié
10962
+ * @param {*} [options] Override http request option.
10963
+ * @throws {RequiredError}
10964
+ * @memberof ClientAccountsApi
10965
+ */
10966
+ getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSubscriptionsHistory200Response, any, {}>>;
10967
+ /**
10968
+ * Liste les prix Stripe disponibles pour les abonnements client
10969
+ * @param {*} [options] Override http request option.
10970
+ * @throws {RequiredError}
10971
+ * @memberof ClientAccountsApi
10972
+ */
10973
+ listAvailablePrices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
10974
+ /**
10975
+ * Crée un nouveau compte client avec onboarding Stripe
10976
+ * @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
10977
+ * @param {*} [options] Override http request option.
10978
+ * @throws {RequiredError}
10979
+ * @memberof ClientAccountsApi
10980
+ */
10981
+ onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountOnboardingResponse, any, {}>>;
10982
+ /**
10983
+ * Route d\'inscription d\'un utilisateur client (publique)
10984
+ * @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
10985
+ * @param {*} [options] Override http request option.
10986
+ * @throws {RequiredError}
10987
+ * @memberof ClientAccountsApi
10988
+ */
10989
+ registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegisterResponse, any, {}>>;
10990
+ }
10991
+ /**
10992
+ * ClubAnalyticsApi - axios parameter creator
10993
+ * @export
10994
+ */
10995
+ export declare const ClubAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
10996
+ /**
10997
+ * Récupère les clubs les plus aimés
10998
+ * @param {*} [options] Override http request option.
10999
+ * @throws {RequiredError}
11000
+ */
11001
+ getMostLikedClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11002
+ /**
11003
+ * Récupère les clubs populaires
11004
+ * @param {*} [options] Override http request option.
11005
+ * @throws {RequiredError}
11006
+ */
11007
+ getPopularClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11008
+ };
11009
+ /**
11010
+ * ClubAnalyticsApi - functional programming interface
11011
+ * @export
11012
+ */
11013
+ export declare const ClubAnalyticsApiFp: (configuration?: Configuration) => {
11014
+ /**
11015
+ * Récupère les clubs les plus aimés
11016
+ * @param {*} [options] Override http request option.
11017
+ * @throws {RequiredError}
11018
+ */
11019
+ getMostLikedClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
11020
+ /**
11021
+ * Récupère les clubs populaires
11022
+ * @param {*} [options] Override http request option.
11023
+ * @throws {RequiredError}
11024
+ */
11025
+ getPopularClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
11026
+ };
11027
+ /**
11028
+ * ClubAnalyticsApi - factory interface
11029
+ * @export
11030
+ */
11031
+ export declare const ClubAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11032
+ /**
11033
+ * Récupère les clubs les plus aimés
11034
+ * @param {*} [options] Override http request option.
11035
+ * @throws {RequiredError}
11036
+ */
11037
+ getMostLikedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
11038
+ /**
11039
+ * Récupère les clubs populaires
11040
+ * @param {*} [options] Override http request option.
11041
+ * @throws {RequiredError}
11042
+ */
11043
+ getPopularClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
11044
+ };
11045
+ /**
11046
+ * ClubAnalyticsApi - object-oriented interface
11047
+ * @export
11048
+ * @class ClubAnalyticsApi
11049
+ * @extends {BaseAPI}
11050
+ */
11051
+ export declare class ClubAnalyticsApi extends BaseAPI {
11052
+ /**
11053
+ * Récupère les clubs les plus aimés
11054
+ * @param {*} [options] Override http request option.
11055
+ * @throws {RequiredError}
11056
+ * @memberof ClubAnalyticsApi
11057
+ */
11058
+ getMostLikedClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
11059
+ /**
11060
+ * Récupère les clubs populaires
11061
+ * @param {*} [options] Override http request option.
11062
+ * @throws {RequiredError}
11063
+ * @memberof ClubAnalyticsApi
11064
+ */
11065
+ getPopularClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
11066
+ }
11067
+ /**
11068
+ * ClubAnalyticsStaffApi - axios parameter creator
11069
+ * @export
11070
+ */
11071
+ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
11072
+ /**
11073
+ * Récupère les analytics par sport
11074
+ * @param {string} sportId
11075
+ * @param {*} [options] Override http request option.
11076
+ * @throws {RequiredError}
11077
+ */
11078
+ getAnalyticsBySport: (sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11079
+ /**
11080
+ * Récupère les réservations d\'un joueur par son ID (à venir et passées)
11081
+ * @param {string} playerId
11082
+ * @param {number} [page]
11083
+ * @param {number} [pageSize]
11084
+ * @param {*} [options] Override http request option.
11085
+ * @throws {RequiredError}
11086
+ */
11087
+ getClubPlayerBookingsById: (playerId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10701
11088
  /**
10702
11089
  * Récupère les informations détaillées d\'un joueur par son ID
10703
11090
  * @param {string} playerId
@@ -12460,6 +12847,13 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
12460
12847
  * @throws {RequiredError}
12461
12848
  */
12462
12849
  deleteActuality: (actualityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12850
+ /**
12851
+ * Supprime un membre d\'un club
12852
+ * @param {string} userId
12853
+ * @param {*} [options] Override http request option.
12854
+ * @throws {RequiredError}
12855
+ */
12856
+ deleteClubMember: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12463
12857
  /**
12464
12858
  * Supprime un terrain et ses créneaux futurs
12465
12859
  * @param {string} courtId
@@ -12610,6 +13004,13 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
12610
13004
  * @throws {RequiredError}
12611
13005
  */
12612
13006
  deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
13007
+ /**
13008
+ * Supprime un membre d\'un club
13009
+ * @param {string} userId
13010
+ * @param {*} [options] Override http request option.
13011
+ * @throws {RequiredError}
13012
+ */
13013
+ deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
12613
13014
  /**
12614
13015
  * Supprime un terrain et ses créneaux futurs
12615
13016
  * @param {string} courtId
@@ -12759,6 +13160,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
12759
13160
  * @throws {RequiredError}
12760
13161
  */
12761
13162
  deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
13163
+ /**
13164
+ * Supprime un membre d\'un club
13165
+ * @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
13166
+ * @param {*} [options] Override http request option.
13167
+ * @throws {RequiredError}
13168
+ */
13169
+ deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
12762
13170
  /**
12763
13171
  * Supprime un terrain et ses créneaux futurs
12764
13172
  * @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
@@ -12947,6 +13355,19 @@ export interface ClubsManagerApiDeleteActualityRequest {
12947
13355
  */
12948
13356
  readonly actualityId: string;
12949
13357
  }
13358
+ /**
13359
+ * Request parameters for deleteClubMember operation in ClubsManagerApi.
13360
+ * @export
13361
+ * @interface ClubsManagerApiDeleteClubMemberRequest
13362
+ */
13363
+ export interface ClubsManagerApiDeleteClubMemberRequest {
13364
+ /**
13365
+ *
13366
+ * @type {string}
13367
+ * @memberof ClubsManagerApiDeleteClubMember
13368
+ */
13369
+ readonly userId: string;
13370
+ }
12950
13371
  /**
12951
13372
  * Request parameters for deleteCourt operation in ClubsManagerApi.
12952
13373
  * @export
@@ -13190,6 +13611,14 @@ export declare class ClubsManagerApi extends BaseAPI {
13190
13611
  * @memberof ClubsManagerApi
13191
13612
  */
13192
13613
  deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
13614
+ /**
13615
+ * Supprime un membre d\'un club
13616
+ * @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
13617
+ * @param {*} [options] Override http request option.
13618
+ * @throws {RequiredError}
13619
+ * @memberof ClubsManagerApi
13620
+ */
13621
+ deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
13193
13622
  /**
13194
13623
  * Supprime un terrain et ses créneaux futurs
13195
13624
  * @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
@@ -13299,14 +13728,6 @@ export declare class ClubsManagerApi extends BaseAPI {
13299
13728
  * @export
13300
13729
  */
13301
13730
  export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
13302
- /**
13303
- * Crée une facture manuelle (on-site) et l\'associe à une réservation
13304
- * @param {string} bookingId
13305
- * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
13306
- * @param {*} [options] Override http request option.
13307
- * @throws {RequiredError}
13308
- */
13309
- createOnsiteInvoiceForBooking: (bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13310
13731
  /**
13311
13732
  *
13312
13733
  * @param {*} [options] Override http request option.
@@ -13356,6 +13777,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
13356
13777
  * @throws {RequiredError}
13357
13778
  */
13358
13779
  getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13780
+ /**
13781
+ *
13782
+ * @param {string} id
13783
+ * @param {UpdateUserCreditsRequest} updateUserCreditsRequest
13784
+ * @param {*} [options] Override http request option.
13785
+ * @throws {RequiredError}
13786
+ */
13787
+ updateUserCreditsStaff: (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13359
13788
  };
13360
13789
  /**
13361
13790
  * ClubsStaffApi - functional programming interface
@@ -13363,15 +13792,7 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
13363
13792
  */
13364
13793
  export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13365
13794
  /**
13366
- * Crée une facture manuelle (on-site) et l\'associe à une réservation
13367
- * @param {string} bookingId
13368
- * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
13369
- * @param {*} [options] Override http request option.
13370
- * @throws {RequiredError}
13371
- */
13372
- createOnsiteInvoiceForBooking(bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOnsiteInvoiceResponse>>;
13373
- /**
13374
- *
13795
+ *
13375
13796
  * @param {*} [options] Override http request option.
13376
13797
  * @throws {RequiredError}
13377
13798
  */
@@ -13419,19 +13840,20 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13419
13840
  * @throws {RequiredError}
13420
13841
  */
13421
13842
  getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
13843
+ /**
13844
+ *
13845
+ * @param {string} id
13846
+ * @param {UpdateUserCreditsRequest} updateUserCreditsRequest
13847
+ * @param {*} [options] Override http request option.
13848
+ * @throws {RequiredError}
13849
+ */
13850
+ updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
13422
13851
  };
13423
13852
  /**
13424
13853
  * ClubsStaffApi - factory interface
13425
13854
  * @export
13426
13855
  */
13427
13856
  export declare const ClubsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13428
- /**
13429
- * Crée une facture manuelle (on-site) et l\'associe à une réservation
13430
- * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
13431
- * @param {*} [options] Override http request option.
13432
- * @throws {RequiredError}
13433
- */
13434
- createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOnsiteInvoiceResponse>;
13435
13857
  /**
13436
13858
  *
13437
13859
  * @param {*} [options] Override http request option.
@@ -13481,38 +13903,45 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
13481
13903
  * @throws {RequiredError}
13482
13904
  */
13483
13905
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13906
+ /**
13907
+ *
13908
+ * @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
13909
+ * @param {*} [options] Override http request option.
13910
+ * @throws {RequiredError}
13911
+ */
13912
+ updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13484
13913
  };
13485
13914
  /**
13486
- * Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
13915
+ * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
13487
13916
  * @export
13488
- * @interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest
13917
+ * @interface ClubsStaffApiGetUserProfileStaffRequest
13489
13918
  */
13490
- export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
13919
+ export interface ClubsStaffApiGetUserProfileStaffRequest {
13491
13920
  /**
13492
13921
  *
13493
13922
  * @type {string}
13494
- * @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
13495
- */
13496
- readonly bookingId: string;
13497
- /**
13498
- *
13499
- * @type {CreateOnsiteInvoiceRequest}
13500
- * @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
13923
+ * @memberof ClubsStaffApiGetUserProfileStaff
13501
13924
  */
13502
- readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
13925
+ readonly id: string;
13503
13926
  }
13504
13927
  /**
13505
- * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
13928
+ * Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
13506
13929
  * @export
13507
- * @interface ClubsStaffApiGetUserProfileStaffRequest
13930
+ * @interface ClubsStaffApiUpdateUserCreditsStaffRequest
13508
13931
  */
13509
- export interface ClubsStaffApiGetUserProfileStaffRequest {
13932
+ export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
13510
13933
  /**
13511
13934
  *
13512
13935
  * @type {string}
13513
- * @memberof ClubsStaffApiGetUserProfileStaff
13936
+ * @memberof ClubsStaffApiUpdateUserCreditsStaff
13514
13937
  */
13515
13938
  readonly id: string;
13939
+ /**
13940
+ *
13941
+ * @type {UpdateUserCreditsRequest}
13942
+ * @memberof ClubsStaffApiUpdateUserCreditsStaff
13943
+ */
13944
+ readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
13516
13945
  }
13517
13946
  /**
13518
13947
  * ClubsStaffApi - object-oriented interface
@@ -13521,14 +13950,6 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
13521
13950
  * @extends {BaseAPI}
13522
13951
  */
13523
13952
  export declare class ClubsStaffApi extends BaseAPI {
13524
- /**
13525
- * Crée une facture manuelle (on-site) et l\'associe à une réservation
13526
- * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
13527
- * @param {*} [options] Override http request option.
13528
- * @throws {RequiredError}
13529
- * @memberof ClubsStaffApi
13530
- */
13531
- createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOnsiteInvoiceResponse, any, {}>>;
13532
13953
  /**
13533
13954
  *
13534
13955
  * @param {*} [options] Override http request option.
@@ -13586,6 +14007,14 @@ export declare class ClubsStaffApi extends BaseAPI {
13586
14007
  * @memberof ClubsStaffApi
13587
14008
  */
13588
14009
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
14010
+ /**
14011
+ *
14012
+ * @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
14013
+ * @param {*} [options] Override http request option.
14014
+ * @throws {RequiredError}
14015
+ * @memberof ClubsStaffApi
14016
+ */
14017
+ updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
13589
14018
  }
13590
14019
  /**
13591
14020
  * DefaultApi - axios parameter creator
@@ -13903,13 +14332,6 @@ export type GetPublishedEventsByClubIdTypeEnum = typeof GetPublishedEventsByClub
13903
14332
  * @export
13904
14333
  */
13905
14334
  export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
13906
- /**
13907
- * Check if there are bookings overlapping an event window (for create/update/delete)
13908
- * @param {EventConflictCheckRequest} eventConflictCheckRequest
13909
- * @param {*} [options] Override http request option.
13910
- * @throws {RequiredError}
13911
- */
13912
- checkEventConflicts: (eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13913
14335
  /**
13914
14336
  * Create a new event (manager)
13915
14337
  * @param {CreateEventRequest} createEventRequest
@@ -13946,27 +14368,12 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
13946
14368
  * @throws {RequiredError}
13947
14369
  */
13948
14370
  updateEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13949
- /**
13950
- * Update a published event (manager) and propagate slot changes and conflicts
13951
- * @param {string} eventId
13952
- * @param {UpdateEventRequest} updateEventRequest
13953
- * @param {*} [options] Override http request option.
13954
- * @throws {RequiredError}
13955
- */
13956
- updatePublishedEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13957
14371
  };
13958
14372
  /**
13959
14373
  * EventsManagerApi - functional programming interface
13960
14374
  * @export
13961
14375
  */
13962
14376
  export declare const EventsManagerApiFp: (configuration?: Configuration) => {
13963
- /**
13964
- * Check if there are bookings overlapping an event window (for create/update/delete)
13965
- * @param {EventConflictCheckRequest} eventConflictCheckRequest
13966
- * @param {*} [options] Override http request option.
13967
- * @throws {RequiredError}
13968
- */
13969
- checkEventConflicts(eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventConflictCheckResponse>>;
13970
14377
  /**
13971
14378
  * Create a new event (manager)
13972
14379
  * @param {CreateEventRequest} createEventRequest
@@ -14003,27 +14410,12 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
14003
14410
  * @throws {RequiredError}
14004
14411
  */
14005
14412
  updateEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
14006
- /**
14007
- * Update a published event (manager) and propagate slot changes and conflicts
14008
- * @param {string} eventId
14009
- * @param {UpdateEventRequest} updateEventRequest
14010
- * @param {*} [options] Override http request option.
14011
- * @throws {RequiredError}
14012
- */
14013
- updatePublishedEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
14014
14413
  };
14015
14414
  /**
14016
14415
  * EventsManagerApi - factory interface
14017
14416
  * @export
14018
14417
  */
14019
14418
  export declare const EventsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14020
- /**
14021
- * Check if there are bookings overlapping an event window (for create/update/delete)
14022
- * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
14023
- * @param {*} [options] Override http request option.
14024
- * @throws {RequiredError}
14025
- */
14026
- checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventConflictCheckResponse>;
14027
14419
  /**
14028
14420
  * Create a new event (manager)
14029
14421
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -14059,27 +14451,7 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
14059
14451
  * @throws {RequiredError}
14060
14452
  */
14061
14453
  updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
14062
- /**
14063
- * Update a published event (manager) and propagate slot changes and conflicts
14064
- * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
14065
- * @param {*} [options] Override http request option.
14066
- * @throws {RequiredError}
14067
- */
14068
- updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
14069
14454
  };
14070
- /**
14071
- * Request parameters for checkEventConflicts operation in EventsManagerApi.
14072
- * @export
14073
- * @interface EventsManagerApiCheckEventConflictsRequest
14074
- */
14075
- export interface EventsManagerApiCheckEventConflictsRequest {
14076
- /**
14077
- *
14078
- * @type {EventConflictCheckRequest}
14079
- * @memberof EventsManagerApiCheckEventConflicts
14080
- */
14081
- readonly eventConflictCheckRequest: EventConflictCheckRequest;
14082
- }
14083
14455
  /**
14084
14456
  * Request parameters for createEvent operation in EventsManagerApi.
14085
14457
  * @export
@@ -14151,25 +14523,6 @@ export interface EventsManagerApiUpdateEventRequest {
14151
14523
  */
14152
14524
  readonly updateEventRequest: UpdateEventRequest;
14153
14525
  }
14154
- /**
14155
- * Request parameters for updatePublishedEvent operation in EventsManagerApi.
14156
- * @export
14157
- * @interface EventsManagerApiUpdatePublishedEventRequest
14158
- */
14159
- export interface EventsManagerApiUpdatePublishedEventRequest {
14160
- /**
14161
- *
14162
- * @type {string}
14163
- * @memberof EventsManagerApiUpdatePublishedEvent
14164
- */
14165
- readonly eventId: string;
14166
- /**
14167
- *
14168
- * @type {UpdateEventRequest}
14169
- * @memberof EventsManagerApiUpdatePublishedEvent
14170
- */
14171
- readonly updateEventRequest: UpdateEventRequest;
14172
- }
14173
14526
  /**
14174
14527
  * EventsManagerApi - object-oriented interface
14175
14528
  * @export
@@ -14177,14 +14530,6 @@ export interface EventsManagerApiUpdatePublishedEventRequest {
14177
14530
  * @extends {BaseAPI}
14178
14531
  */
14179
14532
  export declare class EventsManagerApi extends BaseAPI {
14180
- /**
14181
- * Check if there are bookings overlapping an event window (for create/update/delete)
14182
- * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
14183
- * @param {*} [options] Override http request option.
14184
- * @throws {RequiredError}
14185
- * @memberof EventsManagerApi
14186
- */
14187
- checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventConflictCheckResponse, any, {}>>;
14188
14533
  /**
14189
14534
  * Create a new event (manager)
14190
14535
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -14225,14 +14570,6 @@ export declare class EventsManagerApi extends BaseAPI {
14225
14570
  * @memberof EventsManagerApi
14226
14571
  */
14227
14572
  updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
14228
- /**
14229
- * Update a published event (manager) and propagate slot changes and conflicts
14230
- * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
14231
- * @param {*} [options] Override http request option.
14232
- * @throws {RequiredError}
14233
- * @memberof EventsManagerApi
14234
- */
14235
- updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
14236
14573
  }
14237
14574
  /**
14238
14575
  * EventsStaffApi - axios parameter creator
@@ -14240,19 +14577,44 @@ export declare class EventsManagerApi extends BaseAPI {
14240
14577
  */
14241
14578
  export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
14242
14579
  /**
14243
- * Check-in des participants d\'un EventBooking (clubs avec paiements)
14244
- * @param {string} eventBookingId
14245
- * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
14580
+ * Get events for the day view (entire week)
14581
+ * @param {string} [clubId]
14582
+ * @param {string} [date]
14583
+ * @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
14584
+ * @param {GetDailyEventsTypeEnum} [type]
14585
+ * @param {string} [sportId]
14246
14586
  * @param {*} [options] Override http request option.
14247
14587
  * @throws {RequiredError}
14248
14588
  */
14249
- checkInEventParticipants: (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14589
+ getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14250
14590
  /**
14251
14591
  * Get all events for a club (staff only)
14252
14592
  * @param {*} [options] Override http request option.
14253
14593
  * @throws {RequiredError}
14254
14594
  */
14255
14595
  getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14596
+ /**
14597
+ * Get events for the entire month view (including recurring occurrences)
14598
+ * @param {string} [clubId]
14599
+ * @param {string} [date]
14600
+ * @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
14601
+ * @param {GetMonthlyEventsTypeEnum} [type]
14602
+ * @param {string} [sportId]
14603
+ * @param {*} [options] Override http request option.
14604
+ * @throws {RequiredError}
14605
+ */
14606
+ getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14607
+ /**
14608
+ * Get events for the week view (30 day sliding window)
14609
+ * @param {string} [clubId]
14610
+ * @param {string} [date]
14611
+ * @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
14612
+ * @param {GetWeeklyEventsTypeEnum} [type]
14613
+ * @param {string} [sportId]
14614
+ * @param {*} [options] Override http request option.
14615
+ * @throws {RequiredError}
14616
+ */
14617
+ getWeeklyEvents: (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14256
14618
  };
14257
14619
  /**
14258
14620
  * EventsStaffApi - functional programming interface
@@ -14260,19 +14622,44 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
14260
14622
  */
14261
14623
  export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14262
14624
  /**
14263
- * Check-in des participants d\'un EventBooking (clubs avec paiements)
14264
- * @param {string} eventBookingId
14265
- * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
14625
+ * Get events for the day view (entire week)
14626
+ * @param {string} [clubId]
14627
+ * @param {string} [date]
14628
+ * @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
14629
+ * @param {GetDailyEventsTypeEnum} [type]
14630
+ * @param {string} [sportId]
14266
14631
  * @param {*} [options] Override http request option.
14267
14632
  * @throws {RequiredError}
14268
14633
  */
14269
- checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>>;
14634
+ getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14270
14635
  /**
14271
14636
  * Get all events for a club (staff only)
14272
14637
  * @param {*} [options] Override http request option.
14273
14638
  * @throws {RequiredError}
14274
14639
  */
14275
14640
  getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14641
+ /**
14642
+ * Get events for the entire month view (including recurring occurrences)
14643
+ * @param {string} [clubId]
14644
+ * @param {string} [date]
14645
+ * @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
14646
+ * @param {GetMonthlyEventsTypeEnum} [type]
14647
+ * @param {string} [sportId]
14648
+ * @param {*} [options] Override http request option.
14649
+ * @throws {RequiredError}
14650
+ */
14651
+ getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14652
+ /**
14653
+ * Get events for the week view (30 day sliding window)
14654
+ * @param {string} [clubId]
14655
+ * @param {string} [date]
14656
+ * @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
14657
+ * @param {GetWeeklyEventsTypeEnum} [type]
14658
+ * @param {string} [sportId]
14659
+ * @param {*} [options] Override http request option.
14660
+ * @throws {RequiredError}
14661
+ */
14662
+ getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14276
14663
  };
14277
14664
  /**
14278
14665
  * EventsStaffApi - factory interface
@@ -14280,37 +14667,143 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14280
14667
  */
14281
14668
  export declare const EventsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14282
14669
  /**
14283
- * Check-in des participants d\'un EventBooking (clubs avec paiements)
14284
- * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
14670
+ * Get events for the day view (entire week)
14671
+ * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14285
14672
  * @param {*} [options] Override http request option.
14286
14673
  * @throws {RequiredError}
14287
14674
  */
14288
- checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response>;
14675
+ getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14289
14676
  /**
14290
14677
  * Get all events for a club (staff only)
14291
14678
  * @param {*} [options] Override http request option.
14292
14679
  * @throws {RequiredError}
14293
14680
  */
14294
14681
  getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14682
+ /**
14683
+ * Get events for the entire month view (including recurring occurrences)
14684
+ * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
14685
+ * @param {*} [options] Override http request option.
14686
+ * @throws {RequiredError}
14687
+ */
14688
+ getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14689
+ /**
14690
+ * Get events for the week view (30 day sliding window)
14691
+ * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
14692
+ * @param {*} [options] Override http request option.
14693
+ * @throws {RequiredError}
14694
+ */
14695
+ getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14295
14696
  };
14296
14697
  /**
14297
- * Request parameters for checkInEventParticipants operation in EventsStaffApi.
14698
+ * Request parameters for getDailyEvents operation in EventsStaffApi.
14298
14699
  * @export
14299
- * @interface EventsStaffApiCheckInEventParticipantsRequest
14700
+ * @interface EventsStaffApiGetDailyEventsRequest
14300
14701
  */
14301
- export interface EventsStaffApiCheckInEventParticipantsRequest {
14702
+ export interface EventsStaffApiGetDailyEventsRequest {
14703
+ /**
14704
+ *
14705
+ * @type {string}
14706
+ * @memberof EventsStaffApiGetDailyEvents
14707
+ */
14708
+ readonly clubId?: string;
14302
14709
  /**
14303
14710
  *
14304
14711
  * @type {string}
14305
- * @memberof EventsStaffApiCheckInEventParticipants
14712
+ * @memberof EventsStaffApiGetDailyEvents
14306
14713
  */
14307
- readonly eventBookingId: string;
14714
+ readonly date?: string;
14308
14715
  /**
14309
14716
  *
14310
- * @type {CheckInEventParticipantsRequest}
14311
- * @memberof EventsStaffApiCheckInEventParticipants
14717
+ * @type {'public' | 'private' | 'invitation'}
14718
+ * @memberof EventsStaffApiGetDailyEvents
14312
14719
  */
14313
- readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest;
14720
+ readonly visibilityType?: GetDailyEventsVisibilityTypeEnum;
14721
+ /**
14722
+ *
14723
+ * @type {'event' | 'closure'}
14724
+ * @memberof EventsStaffApiGetDailyEvents
14725
+ */
14726
+ readonly type?: GetDailyEventsTypeEnum;
14727
+ /**
14728
+ *
14729
+ * @type {string}
14730
+ * @memberof EventsStaffApiGetDailyEvents
14731
+ */
14732
+ readonly sportId?: string;
14733
+ }
14734
+ /**
14735
+ * Request parameters for getMonthlyEvents operation in EventsStaffApi.
14736
+ * @export
14737
+ * @interface EventsStaffApiGetMonthlyEventsRequest
14738
+ */
14739
+ export interface EventsStaffApiGetMonthlyEventsRequest {
14740
+ /**
14741
+ *
14742
+ * @type {string}
14743
+ * @memberof EventsStaffApiGetMonthlyEvents
14744
+ */
14745
+ readonly clubId?: string;
14746
+ /**
14747
+ *
14748
+ * @type {string}
14749
+ * @memberof EventsStaffApiGetMonthlyEvents
14750
+ */
14751
+ readonly date?: string;
14752
+ /**
14753
+ *
14754
+ * @type {'public' | 'private' | 'invitation'}
14755
+ * @memberof EventsStaffApiGetMonthlyEvents
14756
+ */
14757
+ readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum;
14758
+ /**
14759
+ *
14760
+ * @type {'event' | 'closure'}
14761
+ * @memberof EventsStaffApiGetMonthlyEvents
14762
+ */
14763
+ readonly type?: GetMonthlyEventsTypeEnum;
14764
+ /**
14765
+ *
14766
+ * @type {string}
14767
+ * @memberof EventsStaffApiGetMonthlyEvents
14768
+ */
14769
+ readonly sportId?: string;
14770
+ }
14771
+ /**
14772
+ * Request parameters for getWeeklyEvents operation in EventsStaffApi.
14773
+ * @export
14774
+ * @interface EventsStaffApiGetWeeklyEventsRequest
14775
+ */
14776
+ export interface EventsStaffApiGetWeeklyEventsRequest {
14777
+ /**
14778
+ *
14779
+ * @type {string}
14780
+ * @memberof EventsStaffApiGetWeeklyEvents
14781
+ */
14782
+ readonly clubId?: string;
14783
+ /**
14784
+ *
14785
+ * @type {string}
14786
+ * @memberof EventsStaffApiGetWeeklyEvents
14787
+ */
14788
+ readonly date?: string;
14789
+ /**
14790
+ *
14791
+ * @type {'public' | 'private' | 'invitation'}
14792
+ * @memberof EventsStaffApiGetWeeklyEvents
14793
+ */
14794
+ readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum;
14795
+ /**
14796
+ *
14797
+ * @type {'event' | 'closure'}
14798
+ * @memberof EventsStaffApiGetWeeklyEvents
14799
+ */
14800
+ readonly type?: GetWeeklyEventsTypeEnum;
14801
+ /**
14802
+ *
14803
+ * @type {string}
14804
+ * @memberof EventsStaffApiGetWeeklyEvents
14805
+ */
14806
+ readonly sportId?: string;
14314
14807
  }
14315
14808
  /**
14316
14809
  * EventsStaffApi - object-oriented interface
@@ -14320,13 +14813,13 @@ export interface EventsStaffApiCheckInEventParticipantsRequest {
14320
14813
  */
14321
14814
  export declare class EventsStaffApi extends BaseAPI {
14322
14815
  /**
14323
- * Check-in des participants d\'un EventBooking (clubs avec paiements)
14324
- * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
14816
+ * Get events for the day view (entire week)
14817
+ * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14325
14818
  * @param {*} [options] Override http request option.
14326
14819
  * @throws {RequiredError}
14327
14820
  * @memberof EventsStaffApi
14328
14821
  */
14329
- checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInEventParticipants200Response, any, {}>>;
14822
+ getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14330
14823
  /**
14331
14824
  * Get all events for a club (staff only)
14332
14825
  * @param {*} [options] Override http request option.
@@ -14334,7 +14827,74 @@ export declare class EventsStaffApi extends BaseAPI {
14334
14827
  * @memberof EventsStaffApi
14335
14828
  */
14336
14829
  getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14830
+ /**
14831
+ * Get events for the entire month view (including recurring occurrences)
14832
+ * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
14833
+ * @param {*} [options] Override http request option.
14834
+ * @throws {RequiredError}
14835
+ * @memberof EventsStaffApi
14836
+ */
14837
+ getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14838
+ /**
14839
+ * Get events for the week view (30 day sliding window)
14840
+ * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
14841
+ * @param {*} [options] Override http request option.
14842
+ * @throws {RequiredError}
14843
+ * @memberof EventsStaffApi
14844
+ */
14845
+ getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14337
14846
  }
14847
+ /**
14848
+ * @export
14849
+ */
14850
+ export declare const GetDailyEventsVisibilityTypeEnum: {
14851
+ readonly Public: "public";
14852
+ readonly Private: "private";
14853
+ readonly Invitation: "invitation";
14854
+ };
14855
+ export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
14856
+ /**
14857
+ * @export
14858
+ */
14859
+ export declare const GetDailyEventsTypeEnum: {
14860
+ readonly Event: "event";
14861
+ readonly Closure: "closure";
14862
+ };
14863
+ export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
14864
+ /**
14865
+ * @export
14866
+ */
14867
+ export declare const GetMonthlyEventsVisibilityTypeEnum: {
14868
+ readonly Public: "public";
14869
+ readonly Private: "private";
14870
+ readonly Invitation: "invitation";
14871
+ };
14872
+ export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
14873
+ /**
14874
+ * @export
14875
+ */
14876
+ export declare const GetMonthlyEventsTypeEnum: {
14877
+ readonly Event: "event";
14878
+ readonly Closure: "closure";
14879
+ };
14880
+ export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
14881
+ /**
14882
+ * @export
14883
+ */
14884
+ export declare const GetWeeklyEventsVisibilityTypeEnum: {
14885
+ readonly Public: "public";
14886
+ readonly Private: "private";
14887
+ readonly Invitation: "invitation";
14888
+ };
14889
+ export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
14890
+ /**
14891
+ * @export
14892
+ */
14893
+ export declare const GetWeeklyEventsTypeEnum: {
14894
+ readonly Event: "event";
14895
+ readonly Closure: "closure";
14896
+ };
14897
+ export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
14338
14898
  /**
14339
14899
  * SportsManagerApi - axios parameter creator
14340
14900
  * @export