@tennac-booking/sdk 1.0.111 → 1.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/.openapi-generator/FILES +15 -16
  2. package/README.md +23 -30
  3. package/api.ts +1150 -1925
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +838 -1282
  8. package/dist/api.js +542 -1109
  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 +838 -1282
  16. package/dist/esm/api.js +556 -1119
  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/BookingsWithTimeBoundsResponse.md +1 -1
  28. package/docs/CheckInEventParticipants200Response.md +22 -0
  29. package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
  30. package/docs/{ClientRegisterResponse.md → CheckInEventParticipantsRequest.md} +5 -7
  31. package/docs/ClientApi.md +58 -3
  32. package/docs/{ClientAccountOnboardingResponse.md → ClientFullOnboardingResponse.md} +7 -11
  33. package/docs/ClientFullOnboardingResponseClub.md +24 -0
  34. package/docs/ClientRegister201Response.md +26 -0
  35. package/docs/{ClientRegisterRequestBody.md → ClientRegisterRequest.md} +7 -7
  36. package/docs/ClubMetadataResponse.md +30 -0
  37. package/docs/ClubMetadataResponseLocation.md +27 -0
  38. package/docs/ClubPlayerDetailResponse.md +0 -2
  39. package/docs/ClubSummary.md +2 -8
  40. package/docs/ClubsApi.md +55 -0
  41. package/docs/ClubsManagerApi.md +0 -56
  42. package/docs/ClubsStaffApi.md +59 -55
  43. package/docs/CreateEventRequest.md +1 -3
  44. package/docs/CreateOnsiteInvoiceRequest.md +28 -0
  45. package/docs/CreateOnsiteInvoiceResponse.md +22 -0
  46. package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
  47. package/docs/EventConflictCheckRequest.md +28 -0
  48. package/docs/EventConflictCheckResponse.md +26 -0
  49. package/docs/EventsManagerApi.md +114 -0
  50. package/docs/EventsStaffApi.md +20 -159
  51. package/docs/JoinEventRequest.md +8 -0
  52. package/docs/{AgendaBookingPlayer.md → JoinEventRequestPlayersPaymentMethodsInner.md} +5 -9
  53. package/docs/PaymentMethod.md +4 -0
  54. package/docs/PublishEventResponse.md +2 -0
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
  57. package/docs/ActiveSubscriptionResponse.md +0 -22
  58. package/docs/AgendaBooking.md +0 -30
  59. package/docs/AgendaBookingSlot.md +0 -30
  60. package/docs/AgendaPaymentStatus.md +0 -12
  61. package/docs/ClientAccountOnboardingRequest.md +0 -29
  62. package/docs/ClientAccountResponse.md +0 -44
  63. package/docs/ClientAccountsApi.md +0 -408
  64. package/docs/ClientMeResponse.md +0 -28
  65. package/docs/ClientOnboardingResponse.md +0 -27
  66. package/docs/ClientSubscriptionResponse.md +0 -34
  67. package/docs/GetSubscriptionsHistory200Response.md +0 -22
  68. package/docs/UpdateUserCreditsRequest.md +0 -20
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.104
5
+ * The version of the OpenAPI document: 1.0.110
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,25 +13,6 @@ 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
- }
35
16
  /**
36
17
  *
37
18
  * @export
@@ -119,134 +100,6 @@ export interface AddOrganizationRequest {
119
100
  */
120
101
  'organizationId'?: string;
121
102
  }
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];
250
103
  /**
251
104
  *
252
105
  * @export
@@ -1253,10 +1106,10 @@ export interface BookingSummaryClubAddress {
1253
1106
  export interface BookingsWithTimeBoundsResponse {
1254
1107
  /**
1255
1108
  *
1256
- * @type {Array<AgendaBooking>}
1109
+ * @type {Array<BookingPopulated>}
1257
1110
  * @memberof BookingsWithTimeBoundsResponse
1258
1111
  */
1259
- 'bookings': Array<AgendaBooking>;
1112
+ 'bookings': Array<BookingPopulated>;
1260
1113
  /**
1261
1114
  *
1262
1115
  * @type {TimeBounds}
@@ -1368,6 +1221,75 @@ export interface ChangePasswordResponse {
1368
1221
  */
1369
1222
  'message': string;
1370
1223
  }
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
+ }
1371
1293
  /**
1372
1294
  *
1373
1295
  * @export
@@ -1456,430 +1378,200 @@ export interface CheckedInPlayer {
1456
1378
  'note'?: string;
1457
1379
  }
1458
1380
  /**
1459
- * Types pour les requêtes/réponses
1381
+ *
1460
1382
  * @export
1461
- * @interface ClientAccountOnboardingRequest
1383
+ * @interface ClientFullOnboardingResponse
1462
1384
  */
1463
- export interface ClientAccountOnboardingRequest {
1385
+ export interface ClientFullOnboardingResponse {
1386
+ /**
1387
+ *
1388
+ * @type {string}
1389
+ * @memberof ClientFullOnboardingResponse
1390
+ */
1391
+ 'clientAccountId': string;
1464
1392
  /**
1465
1393
  *
1466
1394
  * @type {string}
1467
- * @memberof ClientAccountOnboardingRequest
1395
+ * @memberof ClientFullOnboardingResponse
1468
1396
  */
1469
- 'businessName': string;
1397
+ 'stripeCustomerId': string;
1470
1398
  /**
1471
1399
  *
1472
1400
  * @type {string}
1473
- * @memberof ClientAccountOnboardingRequest
1401
+ * @memberof ClientFullOnboardingResponse
1474
1402
  */
1475
- 'businessType'?: ClientAccountOnboardingRequestBusinessTypeEnum;
1403
+ 'stripeConnectedAccountId'?: string;
1476
1404
  /**
1477
1405
  *
1478
1406
  * @type {string}
1479
- * @memberof ClientAccountOnboardingRequest
1407
+ * @memberof ClientFullOnboardingResponse
1480
1408
  */
1481
- 'subscriptionType'?: ClientAccountOnboardingRequestSubscriptionTypeEnum;
1409
+ 'clientOnboardingLink'?: string;
1482
1410
  /**
1483
1411
  *
1484
- * @type {boolean}
1485
- * @memberof ClientAccountOnboardingRequest
1412
+ * @type {ClientFullOnboardingResponseClub}
1413
+ * @memberof ClientFullOnboardingResponse
1486
1414
  */
1487
- 'isPublicOrganization'?: boolean;
1415
+ 'club': ClientFullOnboardingResponseClub;
1488
1416
  /**
1489
1417
  *
1490
1418
  * @type {string}
1491
- * @memberof ClientAccountOnboardingRequest
1419
+ * @memberof ClientFullOnboardingResponse
1492
1420
  */
1493
- 'priceId': string;
1421
+ 'message': string;
1494
1422
  }
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];
1505
1423
  /**
1506
1424
  *
1507
1425
  * @export
1508
- * @interface ClientAccountOnboardingResponse
1426
+ * @interface ClientFullOnboardingResponseClub
1509
1427
  */
1510
- export interface ClientAccountOnboardingResponse {
1428
+ export interface ClientFullOnboardingResponseClub {
1511
1429
  /**
1512
1430
  *
1513
1431
  * @type {string}
1514
- * @memberof ClientAccountOnboardingResponse
1432
+ * @memberof ClientFullOnboardingResponseClub
1515
1433
  */
1516
- 'clientAccountId': string;
1434
+ 'clubOnboardingLink'?: string;
1517
1435
  /**
1518
1436
  *
1519
1437
  * @type {string}
1520
- * @memberof ClientAccountOnboardingResponse
1438
+ * @memberof ClientFullOnboardingResponseClub
1521
1439
  */
1522
- 'stripeCustomerId': string;
1440
+ 'stripeAccountId': string;
1523
1441
  /**
1524
1442
  *
1525
1443
  * @type {string}
1526
- * @memberof ClientAccountOnboardingResponse
1444
+ * @memberof ClientFullOnboardingResponseClub
1527
1445
  */
1528
- 'stripeConnectedAccountId'?: string;
1446
+ 'clubId': string;
1447
+ }
1448
+ /**
1449
+ * Requête pour l\'onboarding d\'un club
1450
+ * @export
1451
+ * @interface ClientOnboardingRequestBody
1452
+ */
1453
+ export interface ClientOnboardingRequestBody {
1529
1454
  /**
1530
- *
1455
+ * Nom du club
1531
1456
  * @type {string}
1532
- * @memberof ClientAccountOnboardingResponse
1457
+ * @memberof ClientOnboardingRequestBody
1533
1458
  */
1534
- 'connectedAccountOnboardingLink'?: string;
1459
+ 'clubName': string;
1535
1460
  /**
1536
- *
1461
+ * Email du club pour le compte Stripe
1537
1462
  * @type {string}
1538
- * @memberof ClientAccountOnboardingResponse
1463
+ * @memberof ClientOnboardingRequestBody
1539
1464
  */
1540
- 'status': string;
1465
+ 'email': string;
1541
1466
  /**
1542
- *
1467
+ * Numéro de téléphone du club (optionnel)
1543
1468
  * @type {string}
1544
- * @memberof ClientAccountOnboardingResponse
1469
+ * @memberof ClientOnboardingRequestBody
1545
1470
  */
1546
- 'message': string;
1471
+ 'phone'?: string;
1547
1472
  /**
1548
- *
1549
- * @type {boolean}
1550
- * @memberof ClientAccountOnboardingResponse
1473
+ * Adresse du club (optionnel)
1474
+ * @type {string}
1475
+ * @memberof ClientOnboardingRequestBody
1551
1476
  */
1552
- 'isPublicOrganization': boolean;
1477
+ 'address'?: string;
1553
1478
  /**
1554
- *
1555
- * @type {boolean}
1556
- * @memberof ClientAccountOnboardingResponse
1479
+ * Ville du club (optionnel)
1480
+ * @type {string}
1481
+ * @memberof ClientOnboardingRequestBody
1557
1482
  */
1558
- 'manualInvoiceRequired'?: boolean;
1483
+ 'city'?: string;
1484
+ /**
1485
+ * Code postal du club (optionnel)
1486
+ * @type {string}
1487
+ * @memberof ClientOnboardingRequestBody
1488
+ */
1489
+ 'postalCode'?: string;
1490
+ /**
1491
+ * Pays du club (optionnel)
1492
+ * @type {string}
1493
+ * @memberof ClientOnboardingRequestBody
1494
+ */
1495
+ 'country'?: string;
1559
1496
  }
1560
1497
  /**
1561
1498
  *
1562
1499
  * @export
1563
- * @interface ClientAccountResponse
1500
+ * @interface ClientRegister201Response
1564
1501
  */
1565
- export interface ClientAccountResponse {
1502
+ export interface ClientRegister201Response {
1566
1503
  /**
1567
1504
  *
1568
1505
  * @type {string}
1569
- * @memberof ClientAccountResponse
1506
+ * @memberof ClientRegister201Response
1570
1507
  */
1571
- 'id': string;
1508
+ 'message': string;
1572
1509
  /**
1573
1510
  *
1574
1511
  * @type {string}
1575
- * @memberof ClientAccountResponse
1512
+ * @memberof ClientRegister201Response
1576
1513
  */
1577
- 'email': string;
1514
+ 'stripeCustomerId': string;
1578
1515
  /**
1579
1516
  *
1580
1517
  * @type {string}
1581
- * @memberof ClientAccountResponse
1518
+ * @memberof ClientRegister201Response
1582
1519
  */
1583
- 'businessName': string;
1520
+ 'email': string;
1584
1521
  /**
1585
1522
  *
1586
1523
  * @type {string}
1587
- * @memberof ClientAccountResponse
1524
+ * @memberof ClientRegister201Response
1588
1525
  */
1589
- 'businessType': string;
1526
+ 'userId': string;
1527
+ }
1528
+ /**
1529
+ *
1530
+ * @export
1531
+ * @interface ClientRegisterRequest
1532
+ */
1533
+ export interface ClientRegisterRequest {
1590
1534
  /**
1591
1535
  *
1592
1536
  * @type {string}
1593
- * @memberof ClientAccountResponse
1537
+ * @memberof ClientRegisterRequest
1594
1538
  */
1595
- 'subscriptionType': string;
1539
+ 'password': string;
1596
1540
  /**
1597
1541
  *
1598
1542
  * @type {string}
1599
- * @memberof ClientAccountResponse
1543
+ * @memberof ClientRegisterRequest
1600
1544
  */
1601
- 'status': string;
1545
+ 'email': string;
1602
1546
  /**
1603
1547
  *
1604
- * @type {boolean}
1605
- * @memberof ClientAccountResponse
1548
+ * @type {string}
1549
+ * @memberof ClientRegisterRequest
1606
1550
  */
1607
- 'platformPaymentMethodSetup': boolean;
1551
+ 'lastName': string;
1608
1552
  /**
1609
1553
  *
1610
1554
  * @type {string}
1611
- * @memberof ClientAccountResponse
1555
+ * @memberof ClientRegisterRequest
1612
1556
  */
1613
- 'stripeConnectedAccountId'?: string;
1557
+ 'firstName': string;
1558
+ }
1559
+ /**
1560
+ *
1561
+ * @export
1562
+ * @interface ClubDaySchedule
1563
+ */
1564
+ export interface ClubDaySchedule {
1614
1565
  /**
1615
1566
  *
1616
- * @type {boolean}
1617
- * @memberof ClientAccountResponse
1567
+ * @type {string}
1568
+ * @memberof ClubDaySchedule
1618
1569
  */
1619
- 'connectedAccountOnboardingRequired'?: boolean;
1570
+ 'open': string;
1620
1571
  /**
1621
1572
  *
1622
- * @type {boolean}
1623
- * @memberof ClientAccountResponse
1624
- */
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
1573
+ * @type {string}
1574
+ * @memberof ClubDaySchedule
1883
1575
  */
1884
1576
  'close': string;
1885
1577
  }
@@ -2087,6 +1779,80 @@ export interface ClubMemberResponseUser {
2087
1779
  */
2088
1780
  'id': string;
2089
1781
  }
1782
+ /**
1783
+ *
1784
+ * @export
1785
+ * @interface ClubMetadataResponse
1786
+ */
1787
+ export interface ClubMetadataResponse {
1788
+ /**
1789
+ * ID unique du club
1790
+ * @type {string}
1791
+ * @memberof ClubMetadataResponse
1792
+ */
1793
+ 'id': string;
1794
+ /**
1795
+ * Nom du club
1796
+ * @type {string}
1797
+ * @memberof ClubMetadataResponse
1798
+ */
1799
+ 'name': string;
1800
+ /**
1801
+ * Description du club
1802
+ * @type {string}
1803
+ * @memberof ClubMetadataResponse
1804
+ */
1805
+ 'description'?: string;
1806
+ /**
1807
+ * URL de la photo de profil (pdp)
1808
+ * @type {string}
1809
+ * @memberof ClubMetadataResponse
1810
+ */
1811
+ 'picture'?: string;
1812
+ /**
1813
+ * URL de la bannière principale
1814
+ * @type {string}
1815
+ * @memberof ClubMetadataResponse
1816
+ */
1817
+ 'primaryBannerPicture'?: string;
1818
+ /**
1819
+ *
1820
+ * @type {ClubMetadataResponseLocation}
1821
+ * @memberof ClubMetadataResponse
1822
+ */
1823
+ 'location'?: ClubMetadataResponseLocation;
1824
+ }
1825
+ /**
1826
+ * Localisation du club
1827
+ * @export
1828
+ * @interface ClubMetadataResponseLocation
1829
+ */
1830
+ export interface ClubMetadataResponseLocation {
1831
+ /**
1832
+ *
1833
+ * @type {string}
1834
+ * @memberof ClubMetadataResponseLocation
1835
+ */
1836
+ 'country'?: string;
1837
+ /**
1838
+ *
1839
+ * @type {string}
1840
+ * @memberof ClubMetadataResponseLocation
1841
+ */
1842
+ 'zipCode'?: string;
1843
+ /**
1844
+ *
1845
+ * @type {string}
1846
+ * @memberof ClubMetadataResponseLocation
1847
+ */
1848
+ 'city'?: string;
1849
+ /**
1850
+ *
1851
+ * @type {string}
1852
+ * @memberof ClubMetadataResponseLocation
1853
+ */
1854
+ 'address'?: string;
1855
+ }
2090
1856
  /**
2091
1857
  *
2092
1858
  * @export
@@ -2421,12 +2187,6 @@ export interface ClubPlayerDetailResponse {
2421
2187
  * @memberof ClubPlayerDetailResponse
2422
2188
  */
2423
2189
  'birthDate': string | null;
2424
- /**
2425
- *
2426
- * @type {number}
2427
- * @memberof ClubPlayerDetailResponse
2428
- */
2429
- 'credits': number | null;
2430
2190
  }
2431
2191
  /**
2432
2192
  *
@@ -3166,19 +2926,7 @@ export interface ClubSummary {
3166
2926
  * @type {string}
3167
2927
  * @memberof ClubSummary
3168
2928
  */
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>;
2929
+ 'address'?: string | null;
3182
2930
  /**
3183
2931
  *
3184
2932
  * @type {UserLocationSummary}
@@ -3191,12 +2939,6 @@ export interface ClubSummary {
3191
2939
  * @memberof ClubSummary
3192
2940
  */
3193
2941
  'visitCount'?: number;
3194
- /**
3195
- *
3196
- * @type {Array<string>}
3197
- * @memberof ClubSummary
3198
- */
3199
- 'tags'?: Array<string>;
3200
2942
  }
3201
2943
  /**
3202
2944
  *
@@ -3661,19 +3403,13 @@ export interface CreateEventRequest {
3661
3403
  * @type {string}
3662
3404
  * @memberof CreateEventRequest
3663
3405
  */
3664
- 'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
3406
+ 'recurringType': CreateEventRequestRecurringTypeEnum;
3665
3407
  /**
3666
3408
  *
3667
3409
  * @type {string}
3668
3410
  * @memberof CreateEventRequest
3669
3411
  */
3670
3412
  'recurrenceEndDate'?: string;
3671
- /**
3672
- *
3673
- * @type {number}
3674
- * @memberof CreateEventRequest
3675
- */
3676
- 'occurrences'?: number;
3677
3413
  /**
3678
3414
  *
3679
3415
  * @type {string}
@@ -3752,6 +3488,105 @@ export declare const CreateEventRequestVisibilityTypeEnum: {
3752
3488
  readonly Invitation: "invitation";
3753
3489
  };
3754
3490
  export type CreateEventRequestVisibilityTypeEnum = typeof CreateEventRequestVisibilityTypeEnum[keyof typeof CreateEventRequestVisibilityTypeEnum];
3491
+ /**
3492
+ *
3493
+ * @export
3494
+ * @interface CreateOnsiteInvoiceRequest
3495
+ */
3496
+ export interface CreateOnsiteInvoiceRequest {
3497
+ /**
3498
+ * Payer user id (creator or player)
3499
+ * @type {string}
3500
+ * @memberof CreateOnsiteInvoiceRequest
3501
+ */
3502
+ 'userId': string;
3503
+ /**
3504
+ * Amount in cents
3505
+ * @type {number}
3506
+ * @memberof CreateOnsiteInvoiceRequest
3507
+ */
3508
+ 'amount': number;
3509
+ /**
3510
+ *
3511
+ * @type {PaymentMethod}
3512
+ * @memberof CreateOnsiteInvoiceRequest
3513
+ */
3514
+ 'paymentMethod': PaymentMethod;
3515
+ /**
3516
+ *
3517
+ * @type {InvoiceStatus}
3518
+ * @memberof CreateOnsiteInvoiceRequest
3519
+ */
3520
+ 'status': InvoiceStatus;
3521
+ /**
3522
+ * Optional note/reason about the invoice
3523
+ * @type {string}
3524
+ * @memberof CreateOnsiteInvoiceRequest
3525
+ */
3526
+ 'reason'?: string;
3527
+ }
3528
+ /**
3529
+ *
3530
+ * @export
3531
+ * @interface CreateOnsiteInvoiceResponse
3532
+ */
3533
+ export interface CreateOnsiteInvoiceResponse {
3534
+ /**
3535
+ * Confirmation message
3536
+ * @type {string}
3537
+ * @memberof CreateOnsiteInvoiceResponse
3538
+ */
3539
+ 'message': string;
3540
+ /**
3541
+ *
3542
+ * @type {CreateOnsiteInvoiceResponseInvoice}
3543
+ * @memberof CreateOnsiteInvoiceResponse
3544
+ */
3545
+ 'invoice': CreateOnsiteInvoiceResponseInvoice;
3546
+ }
3547
+ /**
3548
+ * Created invoice summary
3549
+ * @export
3550
+ * @interface CreateOnsiteInvoiceResponseInvoice
3551
+ */
3552
+ export interface CreateOnsiteInvoiceResponseInvoice {
3553
+ /**
3554
+ *
3555
+ * @type {string}
3556
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3557
+ */
3558
+ 'reason'?: string;
3559
+ /**
3560
+ *
3561
+ * @type {PaymentMethod}
3562
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3563
+ */
3564
+ 'paymentMethod': PaymentMethod;
3565
+ /**
3566
+ *
3567
+ * @type {InvoiceStatus}
3568
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3569
+ */
3570
+ 'status': InvoiceStatus;
3571
+ /**
3572
+ *
3573
+ * @type {number}
3574
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3575
+ */
3576
+ 'amount': number;
3577
+ /**
3578
+ *
3579
+ * @type {string}
3580
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3581
+ */
3582
+ 'userId': string;
3583
+ /**
3584
+ *
3585
+ * @type {string}
3586
+ * @memberof CreateOnsiteInvoiceResponseInvoice
3587
+ */
3588
+ 'id': string;
3589
+ }
3755
3590
  /**
3756
3591
  *
3757
3592
  * @export
@@ -4077,6 +3912,74 @@ export declare const DiscountType: {
4077
3912
  readonly OffPeak: "off_peak";
4078
3913
  };
4079
3914
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
3915
+ /**
3916
+ *
3917
+ * @export
3918
+ * @interface EventConflictCheckRequest
3919
+ */
3920
+ export interface EventConflictCheckRequest {
3921
+ /**
3922
+ *
3923
+ * @type {string}
3924
+ * @memberof EventConflictCheckRequest
3925
+ */
3926
+ 'eventId'?: string;
3927
+ /**
3928
+ *
3929
+ * @type {string}
3930
+ * @memberof EventConflictCheckRequest
3931
+ */
3932
+ 'clubId'?: string;
3933
+ /**
3934
+ *
3935
+ * @type {string}
3936
+ * @memberof EventConflictCheckRequest
3937
+ */
3938
+ 'startDate'?: string;
3939
+ /**
3940
+ *
3941
+ * @type {string}
3942
+ * @memberof EventConflictCheckRequest
3943
+ */
3944
+ 'endDate'?: string;
3945
+ /**
3946
+ *
3947
+ * @type {Array<string>}
3948
+ * @memberof EventConflictCheckRequest
3949
+ */
3950
+ 'courts'?: Array<string>;
3951
+ }
3952
+ /**
3953
+ *
3954
+ * @export
3955
+ * @interface EventConflictCheckResponse
3956
+ */
3957
+ export interface EventConflictCheckResponse {
3958
+ /**
3959
+ *
3960
+ * @type {boolean}
3961
+ * @memberof EventConflictCheckResponse
3962
+ */
3963
+ 'hasRegularBookings': boolean;
3964
+ /**
3965
+ *
3966
+ * @type {number}
3967
+ * @memberof EventConflictCheckResponse
3968
+ */
3969
+ 'regularBookingsCount': number;
3970
+ /**
3971
+ *
3972
+ * @type {boolean}
3973
+ * @memberof EventConflictCheckResponse
3974
+ */
3975
+ 'hasEventBookings': boolean;
3976
+ /**
3977
+ *
3978
+ * @type {number}
3979
+ * @memberof EventConflictCheckResponse
3980
+ */
3981
+ 'eventBookingsCount': number;
3982
+ }
4080
3983
  /**
4081
3984
  *
4082
3985
  * @export
@@ -4573,25 +4476,6 @@ export interface GetSlotsByClubById200Response {
4573
4476
  */
4574
4477
  'slots': Array<any>;
4575
4478
  }
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
- }
4595
4479
  /**
4596
4480
  *
4597
4481
  * @export
@@ -5149,6 +5033,49 @@ export interface JoinEventRequest {
5149
5033
  * @memberof JoinEventRequest
5150
5034
  */
5151
5035
  'players'?: Array<string>;
5036
+ /**
5037
+ *
5038
+ * @type {boolean}
5039
+ * @memberof JoinEventRequest
5040
+ */
5041
+ 'isCreatorPayingAll'?: boolean;
5042
+ /**
5043
+ *
5044
+ * @type {PaymentMethod}
5045
+ * @memberof JoinEventRequest
5046
+ */
5047
+ 'paymentMethod'?: PaymentMethod;
5048
+ /**
5049
+ *
5050
+ * @type {Array<JoinEventRequestPlayersPaymentMethodsInner>}
5051
+ * @memberof JoinEventRequest
5052
+ */
5053
+ 'playersPaymentMethods'?: Array<JoinEventRequestPlayersPaymentMethodsInner>;
5054
+ /**
5055
+ *
5056
+ * @type {boolean}
5057
+ * @memberof JoinEventRequest
5058
+ */
5059
+ 'useDefaultPaymentMethod'?: boolean;
5060
+ }
5061
+ /**
5062
+ *
5063
+ * @export
5064
+ * @interface JoinEventRequestPlayersPaymentMethodsInner
5065
+ */
5066
+ export interface JoinEventRequestPlayersPaymentMethodsInner {
5067
+ /**
5068
+ *
5069
+ * @type {PaymentMethod}
5070
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5071
+ */
5072
+ 'paymentMethod': PaymentMethod;
5073
+ /**
5074
+ *
5075
+ * @type {string}
5076
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5077
+ */
5078
+ 'id': string;
5152
5079
  }
5153
5080
  /**
5154
5081
  *
@@ -5674,6 +5601,8 @@ export interface PaymentByPlayerInfo {
5674
5601
  export declare const PaymentMethod: {
5675
5602
  readonly Online: "online";
5676
5603
  readonly Onsite: "onsite";
5604
+ readonly OnsiteCard: "onsite_card";
5605
+ readonly OnsiteCash: "onsite_cash";
5677
5606
  readonly Free: "free";
5678
5607
  };
5679
5608
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
@@ -6259,6 +6188,12 @@ export interface PublishEventResponse {
6259
6188
  * @memberof PublishEventResponse
6260
6189
  */
6261
6190
  'event': EventResponse;
6191
+ /**
6192
+ *
6193
+ * @type {Array<string>}
6194
+ * @memberof PublishEventResponse
6195
+ */
6196
+ 'refundedBookingIds'?: Array<string>;
6262
6197
  }
6263
6198
  /**
6264
6199
  *
@@ -9140,20 +9075,7 @@ export interface UpdateSubscriptionPlanForClub200Response {
9140
9075
  * @type {any}
9141
9076
  * @memberof UpdateSubscriptionPlanForClub200Response
9142
9077
  */
9143
- 'price': any;
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;
9078
+ 'price': any;
9157
9079
  }
9158
9080
  /**
9159
9081
  *
@@ -10455,538 +10377,303 @@ export interface BookingsStaffApiGetWeeklyBookingsRequest {
10455
10377
  /**
10456
10378
  * BookingsStaffApi - object-oriented interface
10457
10379
  * @export
10458
- * @class BookingsStaffApi
10459
- * @extends {BaseAPI}
10460
- */
10461
- export declare class BookingsStaffApi extends BaseAPI {
10462
- /**
10463
- * Check-in des joueurs only for club with payment features
10464
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
10465
- * @param {*} [options] Override http request option.
10466
- * @throws {RequiredError}
10467
- * @memberof BookingsStaffApi
10468
- */
10469
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
10470
- /**
10471
- * Obtenir une réservation par ID
10472
- * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
10473
- * @param {*} [options] Override http request option.
10474
- * @throws {RequiredError}
10475
- * @memberof BookingsStaffApi
10476
- */
10477
- getBookingById(requestParameters: BookingsStaffApiGetBookingByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPopulated, any, {}>>;
10478
- /**
10479
- * Obtenir l\'historique d\'une réservation par ID
10480
- * @param {BookingsStaffApiGetBookingHistoryStaffRequest} requestParameters Request parameters.
10481
- * @param {*} [options] Override http request option.
10482
- * @throws {RequiredError}
10483
- * @memberof BookingsStaffApi
10484
- */
10485
- getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
10486
- /**
10487
- * Obtenir le statut des paiements d\'une réservation
10488
- * @param {BookingsStaffApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
10489
- * @param {*} [options] Override http request option.
10490
- * @throws {RequiredError}
10491
- * @memberof BookingsStaffApi
10492
- */
10493
- getBookingPaymentStatus(requestParameters: BookingsStaffApiGetBookingPaymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPaymentStatusResponse, any, {}>>;
10494
- /**
10495
- * Obtenir les réservations journalières
10496
- * @param {BookingsStaffApiGetDailyBookingsRequest} requestParameters Request parameters.
10497
- * @param {*} [options] Override http request option.
10498
- * @throws {RequiredError}
10499
- * @memberof BookingsStaffApi
10500
- */
10501
- getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
10502
- /**
10503
- * Obtenir les réservations hebdomadaires
10504
- * @param {BookingsStaffApiGetWeeklyBookingsRequest} requestParameters Request parameters.
10505
- * @param {*} [options] Override http request option.
10506
- * @throws {RequiredError}
10507
- * @memberof BookingsStaffApi
10508
- */
10509
- getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
10510
- }
10511
- /**
10512
- * BookingsUserApi - axios parameter creator
10513
- * @export
10514
- */
10515
- export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configuration) => {
10516
- /**
10517
- * Annuler une réservation (par le créateur)
10518
- * @param {string} bookingId
10519
- * @param {*} [options] Override http request option.
10520
- * @throws {RequiredError}
10521
- */
10522
- cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10523
- /**
10524
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10525
- * @param {CreateBookingRequest} createBookingRequest
10526
- * @param {*} [options] Override http request option.
10527
- * @throws {RequiredError}
10528
- */
10529
- createBooking: (createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10530
- };
10531
- /**
10532
- * BookingsUserApi - functional programming interface
10533
- * @export
10534
- */
10535
- export declare const BookingsUserApiFp: (configuration?: Configuration) => {
10536
- /**
10537
- * Annuler une réservation (par le créateur)
10538
- * @param {string} bookingId
10539
- * @param {*} [options] Override http request option.
10540
- * @throws {RequiredError}
10541
- */
10542
- cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
10543
- /**
10544
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10545
- * @param {CreateBookingRequest} createBookingRequest
10546
- * @param {*} [options] Override http request option.
10547
- * @throws {RequiredError}
10548
- */
10549
- createBooking(createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
10550
- };
10551
- /**
10552
- * BookingsUserApi - factory interface
10553
- * @export
10554
- */
10555
- export declare const BookingsUserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10556
- /**
10557
- * Annuler une réservation (par le créateur)
10558
- * @param {BookingsUserApiCancelBookingRequest} requestParameters Request parameters.
10559
- * @param {*} [options] Override http request option.
10560
- * @throws {RequiredError}
10561
- */
10562
- cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
10563
- /**
10564
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10565
- * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
10566
- * @param {*} [options] Override http request option.
10567
- * @throws {RequiredError}
10568
- */
10569
- createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
10570
- };
10571
- /**
10572
- * Request parameters for cancelBooking operation in BookingsUserApi.
10573
- * @export
10574
- * @interface BookingsUserApiCancelBookingRequest
10575
- */
10576
- export interface BookingsUserApiCancelBookingRequest {
10577
- /**
10578
- *
10579
- * @type {string}
10580
- * @memberof BookingsUserApiCancelBooking
10581
- */
10582
- readonly bookingId: string;
10583
- }
10584
- /**
10585
- * Request parameters for createBooking operation in BookingsUserApi.
10586
- * @export
10587
- * @interface BookingsUserApiCreateBookingRequest
10588
- */
10589
- export interface BookingsUserApiCreateBookingRequest {
10590
- /**
10591
- *
10592
- * @type {CreateBookingRequest}
10593
- * @memberof BookingsUserApiCreateBooking
10594
- */
10595
- readonly createBookingRequest: CreateBookingRequest;
10596
- }
10597
- /**
10598
- * BookingsUserApi - object-oriented interface
10599
- * @export
10600
- * @class BookingsUserApi
10601
- * @extends {BaseAPI}
10602
- */
10603
- export declare class BookingsUserApi extends BaseAPI {
10604
- /**
10605
- * Annuler une réservation (par le créateur)
10606
- * @param {BookingsUserApiCancelBookingRequest} requestParameters Request parameters.
10607
- * @param {*} [options] Override http request option.
10608
- * @throws {RequiredError}
10609
- * @memberof BookingsUserApi
10610
- */
10611
- cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
10612
- /**
10613
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10614
- * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
10615
- * @param {*} [options] Override http request option.
10616
- * @throws {RequiredError}
10617
- * @memberof BookingsUserApi
10618
- */
10619
- createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
10620
- }
10621
- /**
10622
- * ClientApi - axios parameter creator
10623
- * @export
10624
- */
10625
- export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
10626
- /**
10627
- * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10628
- * @param {*} [options] Override http request option.
10629
- * @throws {RequiredError}
10630
- */
10631
- getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10632
- /**
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
10634
- * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10635
- * @param {*} [options] Override http request option.
10636
- * @throws {RequiredError}
10637
- */
10638
- onboardClub: (clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10639
- };
10640
- /**
10641
- * ClientApi - functional programming interface
10642
- * @export
10643
- */
10644
- export declare const ClientApiFp: (configuration?: Configuration) => {
10645
- /**
10646
- * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10647
- * @param {*} [options] Override http request option.
10648
- * @throws {RequiredError}
10649
- */
10650
- getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
10651
- /**
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
10653
- * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10654
- * @param {*} [options] Override http request option.
10655
- * @throws {RequiredError}
10656
- */
10657
- onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientOnboardingResponse>>;
10658
- };
10659
- /**
10660
- * ClientApi - factory interface
10661
- * @export
10662
- */
10663
- export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10664
- /**
10665
- * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10666
- * @param {*} [options] Override http request option.
10667
- * @throws {RequiredError}
10668
- */
10669
- getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
10670
- /**
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
10672
- * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10673
- * @param {*} [options] Override http request option.
10674
- * @throws {RequiredError}
10675
- */
10676
- onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientOnboardingResponse>;
10677
- };
10678
- /**
10679
- * Request parameters for onboardClub operation in ClientApi.
10680
- * @export
10681
- * @interface ClientApiOnboardClubRequest
10682
- */
10683
- export interface ClientApiOnboardClubRequest {
10684
- /**
10685
- * Les données du club à créer
10686
- * @type {ClientOnboardingRequestBody}
10687
- * @memberof ClientApiOnboardClub
10688
- */
10689
- readonly clientOnboardingRequestBody: ClientOnboardingRequestBody;
10690
- }
10691
- /**
10692
- * ClientApi - object-oriented interface
10693
- * @export
10694
- * @class ClientApi
10695
- * @extends {BaseAPI}
10696
- */
10697
- export declare class ClientApi extends BaseAPI {
10698
- /**
10699
- * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10700
- * @param {*} [options] Override http request option.
10701
- * @throws {RequiredError}
10702
- * @memberof ClientApi
10703
- */
10704
- getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
10705
- /**
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
10707
- * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10708
- * @param {*} [options] Override http request option.
10709
- * @throws {RequiredError}
10710
- * @memberof ClientApi
10711
- */
10712
- onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientOnboardingResponse, any, {}>>;
10713
- }
10714
- /**
10715
- * ClientAccountsApi - axios parameter creator
10716
- * @export
10380
+ * @class BookingsStaffApi
10381
+ * @extends {BaseAPI}
10717
10382
  */
10718
- export declare const ClientAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
10383
+ export declare class BookingsStaffApi extends BaseAPI {
10719
10384
  /**
10720
- * Informations de l\'utilisateur client authentifié (token clientAuth)
10385
+ * Check-in des joueurs only for club with payment features
10386
+ * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
10721
10387
  * @param {*} [options] Override http request option.
10722
10388
  * @throws {RequiredError}
10389
+ * @memberof BookingsStaffApi
10723
10390
  */
10724
- clientAuthMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10391
+ checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
10725
10392
  /**
10726
- * Récupère le compte client par son ID
10727
- * @param {string} accountId L\&#39;ID du compte client
10393
+ * Obtenir une réservation par ID
10394
+ * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
10728
10395
  * @param {*} [options] Override http request option.
10729
10396
  * @throws {RequiredError}
10397
+ * @memberof BookingsStaffApi
10730
10398
  */
10731
- getClientAccountById: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10399
+ getBookingById(requestParameters: BookingsStaffApiGetBookingByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPopulated, any, {}>>;
10732
10400
  /**
10733
- * Récupère l\'abonnement actif du compte client authentifié
10401
+ * Obtenir l\'historique d\'une réservation par ID
10402
+ * @param {BookingsStaffApiGetBookingHistoryStaffRequest} requestParameters Request parameters.
10734
10403
  * @param {*} [options] Override http request option.
10735
10404
  * @throws {RequiredError}
10405
+ * @memberof BookingsStaffApi
10736
10406
  */
10737
- getMyActiveSubscription: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10407
+ getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
10738
10408
  /**
10739
- * Récupère le compte client de l\'utilisateur authentifié
10409
+ * Obtenir le statut des paiements d\'une réservation
10410
+ * @param {BookingsStaffApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
10740
10411
  * @param {*} [options] Override http request option.
10741
10412
  * @throws {RequiredError}
10413
+ * @memberof BookingsStaffApi
10742
10414
  */
10743
- getMyClientAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10415
+ getBookingPaymentStatus(requestParameters: BookingsStaffApiGetBookingPaymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPaymentStatusResponse, any, {}>>;
10744
10416
  /**
10745
- * Récupère l\'historique des abonnements du compte client authentifié
10417
+ * Obtenir les réservations journalières
10418
+ * @param {BookingsStaffApiGetDailyBookingsRequest} requestParameters Request parameters.
10746
10419
  * @param {*} [options] Override http request option.
10747
10420
  * @throws {RequiredError}
10421
+ * @memberof BookingsStaffApi
10748
10422
  */
10749
- getSubscriptionsHistory: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10423
+ getDailyBookings(requestParameters: BookingsStaffApiGetDailyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
10750
10424
  /**
10751
- * Liste les prix Stripe disponibles pour les abonnements client
10425
+ * Obtenir les réservations hebdomadaires
10426
+ * @param {BookingsStaffApiGetWeeklyBookingsRequest} requestParameters Request parameters.
10752
10427
  * @param {*} [options] Override http request option.
10753
10428
  * @throws {RequiredError}
10429
+ * @memberof BookingsStaffApi
10754
10430
  */
10755
- listAvailablePrices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10431
+ getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
10432
+ }
10433
+ /**
10434
+ * BookingsUserApi - axios parameter creator
10435
+ * @export
10436
+ */
10437
+ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configuration) => {
10756
10438
  /**
10757
- * Crée un nouveau compte client avec onboarding Stripe
10758
- * @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
10439
+ * Annuler une réservation (par le créateur)
10440
+ * @param {string} bookingId
10759
10441
  * @param {*} [options] Override http request option.
10760
10442
  * @throws {RequiredError}
10761
10443
  */
10762
- onboardClientAccount: (clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10444
+ cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10763
10445
  /**
10764
- * Route d\'inscription d\'un utilisateur client (publique)
10765
- * @param {ClientRegisterRequestBody} clientRegisterRequestBody
10446
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10447
+ * @param {CreateBookingRequest} createBookingRequest
10766
10448
  * @param {*} [options] Override http request option.
10767
10449
  * @throws {RequiredError}
10768
10450
  */
10769
- registerClientUser: (clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10451
+ createBooking: (createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10770
10452
  };
10771
10453
  /**
10772
- * ClientAccountsApi - functional programming interface
10454
+ * BookingsUserApi - functional programming interface
10773
10455
  * @export
10774
10456
  */
10775
- export declare const ClientAccountsApiFp: (configuration?: Configuration) => {
10457
+ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
10776
10458
  /**
10777
- * Informations de l\'utilisateur client authentifié (token clientAuth)
10459
+ * Annuler une réservation (par le créateur)
10460
+ * @param {string} bookingId
10778
10461
  * @param {*} [options] Override http request option.
10779
10462
  * @throws {RequiredError}
10780
10463
  */
10781
- clientAuthMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientMeResponse>>;
10464
+ cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
10782
10465
  /**
10783
- * Récupère le compte client par son ID
10784
- * @param {string} accountId L\&#39;ID du compte client
10466
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10467
+ * @param {CreateBookingRequest} createBookingRequest
10785
10468
  * @param {*} [options] Override http request option.
10786
10469
  * @throws {RequiredError}
10787
10470
  */
10788
- getClientAccountById(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
10471
+ createBooking(createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
10472
+ };
10473
+ /**
10474
+ * BookingsUserApi - factory interface
10475
+ * @export
10476
+ */
10477
+ export declare const BookingsUserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10789
10478
  /**
10790
- * Récupère l\'abonnement actif du compte client authentifié
10479
+ * Annuler une réservation (par le créateur)
10480
+ * @param {BookingsUserApiCancelBookingRequest} requestParameters Request parameters.
10791
10481
  * @param {*} [options] Override http request option.
10792
10482
  * @throws {RequiredError}
10793
10483
  */
10794
- getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriptionResponse>>;
10484
+ cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
10795
10485
  /**
10796
- * Récupère le compte client de l\'utilisateur authentifié
10486
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10487
+ * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
10797
10488
  * @param {*} [options] Override http request option.
10798
10489
  * @throws {RequiredError}
10799
10490
  */
10800
- getMyClientAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
10491
+ createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
10492
+ };
10493
+ /**
10494
+ * Request parameters for cancelBooking operation in BookingsUserApi.
10495
+ * @export
10496
+ * @interface BookingsUserApiCancelBookingRequest
10497
+ */
10498
+ export interface BookingsUserApiCancelBookingRequest {
10801
10499
  /**
10802
- * Récupère l\'historique des abonnements du compte client authentifié
10803
- * @param {*} [options] Override http request option.
10804
- * @throws {RequiredError}
10500
+ *
10501
+ * @type {string}
10502
+ * @memberof BookingsUserApiCancelBooking
10805
10503
  */
10806
- getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubscriptionsHistory200Response>>;
10504
+ readonly bookingId: string;
10505
+ }
10506
+ /**
10507
+ * Request parameters for createBooking operation in BookingsUserApi.
10508
+ * @export
10509
+ * @interface BookingsUserApiCreateBookingRequest
10510
+ */
10511
+ export interface BookingsUserApiCreateBookingRequest {
10807
10512
  /**
10808
- * Liste les prix Stripe disponibles pour les abonnements client
10809
- * @param {*} [options] Override http request option.
10810
- * @throws {RequiredError}
10513
+ *
10514
+ * @type {CreateBookingRequest}
10515
+ * @memberof BookingsUserApiCreateBooking
10811
10516
  */
10812
- listAvailablePrices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
10517
+ readonly createBookingRequest: CreateBookingRequest;
10518
+ }
10519
+ /**
10520
+ * BookingsUserApi - object-oriented interface
10521
+ * @export
10522
+ * @class BookingsUserApi
10523
+ * @extends {BaseAPI}
10524
+ */
10525
+ export declare class BookingsUserApi extends BaseAPI {
10813
10526
  /**
10814
- * Crée un nouveau compte client avec onboarding Stripe
10815
- * @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
10527
+ * Annuler une réservation (par le créateur)
10528
+ * @param {BookingsUserApiCancelBookingRequest} requestParameters Request parameters.
10816
10529
  * @param {*} [options] Override http request option.
10817
10530
  * @throws {RequiredError}
10531
+ * @memberof BookingsUserApi
10818
10532
  */
10819
- onboardClientAccount(clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountOnboardingResponse>>;
10533
+ cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
10820
10534
  /**
10821
- * Route d\'inscription d\'un utilisateur client (publique)
10822
- * @param {ClientRegisterRequestBody} clientRegisterRequestBody
10535
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10536
+ * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
10823
10537
  * @param {*} [options] Override http request option.
10824
10538
  * @throws {RequiredError}
10539
+ * @memberof BookingsUserApi
10825
10540
  */
10826
- registerClientUser(clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegisterResponse>>;
10827
- };
10541
+ createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
10542
+ }
10828
10543
  /**
10829
- * ClientAccountsApi - factory interface
10544
+ * ClientApi - axios parameter creator
10830
10545
  * @export
10831
10546
  */
10832
- export declare const ClientAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10547
+ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
10833
10548
  /**
10834
- * Informations de l\'utilisateur client authentifié (token clientAuth)
10549
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10550
+ * @param {ClientRegisterRequest} clientRegisterRequest
10835
10551
  * @param {*} [options] Override http request option.
10836
10552
  * @throws {RequiredError}
10837
10553
  */
10838
- clientAuthMe(options?: RawAxiosRequestConfig): AxiosPromise<ClientMeResponse>;
10554
+ clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10839
10555
  /**
10840
- * Récupère le compte client par son ID
10841
- * @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
10556
+ * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10842
10557
  * @param {*} [options] Override http request option.
10843
10558
  * @throws {RequiredError}
10844
10559
  */
10845
- getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
10560
+ getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10846
10561
  /**
10847
- * Récupère l\'abonnement actif du compte client authentifié
10562
+ * 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
10563
+ * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10848
10564
  * @param {*} [options] Override http request option.
10849
10565
  * @throws {RequiredError}
10850
10566
  */
10851
- getMyActiveSubscription(options?: RawAxiosRequestConfig): AxiosPromise<ActiveSubscriptionResponse>;
10567
+ onboardClub: (clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10568
+ };
10569
+ /**
10570
+ * ClientApi - functional programming interface
10571
+ * @export
10572
+ */
10573
+ export declare const ClientApiFp: (configuration?: Configuration) => {
10852
10574
  /**
10853
- * Récupère le compte client de l\'utilisateur authentifié
10575
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10576
+ * @param {ClientRegisterRequest} clientRegisterRequest
10854
10577
  * @param {*} [options] Override http request option.
10855
10578
  * @throws {RequiredError}
10856
10579
  */
10857
- getMyClientAccount(options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
10580
+ clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
10858
10581
  /**
10859
- * Récupère l\'historique des abonnements du compte client authentifié
10582
+ * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10860
10583
  * @param {*} [options] Override http request option.
10861
10584
  * @throws {RequiredError}
10862
10585
  */
10863
- getSubscriptionsHistory(options?: RawAxiosRequestConfig): AxiosPromise<GetSubscriptionsHistory200Response>;
10586
+ getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
10864
10587
  /**
10865
- * Liste les prix Stripe disponibles pour les abonnements client
10588
+ * 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
10589
+ * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10866
10590
  * @param {*} [options] Override http request option.
10867
10591
  * @throws {RequiredError}
10868
10592
  */
10869
- listAvailablePrices(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
10593
+ onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientFullOnboardingResponse>>;
10594
+ };
10595
+ /**
10596
+ * ClientApi - factory interface
10597
+ * @export
10598
+ */
10599
+ export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10870
10600
  /**
10871
- * Crée un nouveau compte client avec onboarding Stripe
10872
- * @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
10601
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10602
+ * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
10873
10603
  * @param {*} [options] Override http request option.
10874
10604
  * @throws {RequiredError}
10875
10605
  */
10876
- onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountOnboardingResponse>;
10606
+ clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
10877
10607
  /**
10878
- * Route d\'inscription d\'un utilisateur client (publique)
10879
- * @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
10608
+ * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10880
10609
  * @param {*} [options] Override http request option.
10881
10610
  * @throws {RequiredError}
10882
10611
  */
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 {
10612
+ getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
10891
10613
  /**
10892
- * L\&#39;ID du compte client
10893
- * @type {string}
10894
- * @memberof ClientAccountsApiGetClientAccountById
10614
+ * 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
10615
+ * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10616
+ * @param {*} [options] Override http request option.
10617
+ * @throws {RequiredError}
10895
10618
  */
10896
- readonly accountId: string;
10897
- }
10619
+ onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientFullOnboardingResponse>;
10620
+ };
10898
10621
  /**
10899
- * Request parameters for onboardClientAccount operation in ClientAccountsApi.
10622
+ * Request parameters for clientRegister operation in ClientApi.
10900
10623
  * @export
10901
- * @interface ClientAccountsApiOnboardClientAccountRequest
10624
+ * @interface ClientApiClientRegisterRequest
10902
10625
  */
10903
- export interface ClientAccountsApiOnboardClientAccountRequest {
10626
+ export interface ClientApiClientRegisterRequest {
10904
10627
  /**
10905
- * Les données du compte à créer
10906
- * @type {ClientAccountOnboardingRequest}
10907
- * @memberof ClientAccountsApiOnboardClientAccount
10628
+ *
10629
+ * @type {ClientRegisterRequest}
10630
+ * @memberof ClientApiClientRegister
10908
10631
  */
10909
- readonly clientAccountOnboardingRequest: ClientAccountOnboardingRequest;
10632
+ readonly clientRegisterRequest: ClientRegisterRequest;
10910
10633
  }
10911
10634
  /**
10912
- * Request parameters for registerClientUser operation in ClientAccountsApi.
10635
+ * Request parameters for onboardClub operation in ClientApi.
10913
10636
  * @export
10914
- * @interface ClientAccountsApiRegisterClientUserRequest
10637
+ * @interface ClientApiOnboardClubRequest
10915
10638
  */
10916
- export interface ClientAccountsApiRegisterClientUserRequest {
10639
+ export interface ClientApiOnboardClubRequest {
10917
10640
  /**
10918
- *
10919
- * @type {ClientRegisterRequestBody}
10920
- * @memberof ClientAccountsApiRegisterClientUser
10641
+ * Les données du club à créer
10642
+ * @type {ClientOnboardingRequestBody}
10643
+ * @memberof ClientApiOnboardClub
10921
10644
  */
10922
- readonly clientRegisterRequestBody: ClientRegisterRequestBody;
10645
+ readonly clientOnboardingRequestBody: ClientOnboardingRequestBody;
10923
10646
  }
10924
10647
  /**
10925
- * ClientAccountsApi - object-oriented interface
10648
+ * ClientApi - object-oriented interface
10926
10649
  * @export
10927
- * @class ClientAccountsApi
10650
+ * @class ClientApi
10928
10651
  * @extends {BaseAPI}
10929
10652
  */
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, {}>>;
10653
+ export declare class ClientApi extends BaseAPI {
10967
10654
  /**
10968
- * Liste les prix Stripe disponibles pour les abonnements client
10655
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10656
+ * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
10969
10657
  * @param {*} [options] Override http request option.
10970
10658
  * @throws {RequiredError}
10971
- * @memberof ClientAccountsApi
10659
+ * @memberof ClientApi
10972
10660
  */
10973
- listAvailablePrices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
10661
+ clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
10974
10662
  /**
10975
- * Crée un nouveau compte client avec onboarding Stripe
10976
- * @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
10663
+ * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10977
10664
  * @param {*} [options] Override http request option.
10978
10665
  * @throws {RequiredError}
10979
- * @memberof ClientAccountsApi
10666
+ * @memberof ClientApi
10980
10667
  */
10981
- onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountOnboardingResponse, any, {}>>;
10668
+ getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
10982
10669
  /**
10983
- * Route d\'inscription d\'un utilisateur client (publique)
10984
- * @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
10670
+ * 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
+ * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10985
10672
  * @param {*} [options] Override http request option.
10986
10673
  * @throws {RequiredError}
10987
- * @memberof ClientAccountsApi
10674
+ * @memberof ClientApi
10988
10675
  */
10989
- registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegisterResponse, any, {}>>;
10676
+ onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientFullOnboardingResponse, any, {}>>;
10990
10677
  }
10991
10678
  /**
10992
10679
  * ClubAnalyticsApi - axios parameter creator
@@ -12303,6 +11990,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12303
11990
  * @throws {RequiredError}
12304
11991
  */
12305
11992
  getClubInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11993
+ /**
11994
+ * Récupère les métadonnées publiques d\'un club
11995
+ * @param {string} clubId
11996
+ * @param {*} [options] Override http request option.
11997
+ * @throws {RequiredError}
11998
+ */
11999
+ getClubMetadata: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12306
12000
  /**
12307
12001
  *
12308
12002
  * @param {string} clubId
@@ -12400,6 +12094,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12400
12094
  * @throws {RequiredError}
12401
12095
  */
12402
12096
  getClubInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>>;
12097
+ /**
12098
+ * Récupère les métadonnées publiques d\'un club
12099
+ * @param {string} clubId
12100
+ * @param {*} [options] Override http request option.
12101
+ * @throws {RequiredError}
12102
+ */
12103
+ getClubMetadata(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubMetadataResponse>>;
12403
12104
  /**
12404
12105
  *
12405
12106
  * @param {string} clubId
@@ -12494,6 +12195,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
12494
12195
  * @throws {RequiredError}
12495
12196
  */
12496
12197
  getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse>;
12198
+ /**
12199
+ * Récupère les métadonnées publiques d\'un club
12200
+ * @param {ClubsApiGetClubMetadataRequest} requestParameters Request parameters.
12201
+ * @param {*} [options] Override http request option.
12202
+ * @throws {RequiredError}
12203
+ */
12204
+ getClubMetadata(requestParameters: ClubsApiGetClubMetadataRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubMetadataResponse>;
12497
12205
  /**
12498
12206
  *
12499
12207
  * @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
@@ -12600,6 +12308,19 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
12600
12308
  */
12601
12309
  readonly day: string;
12602
12310
  }
12311
+ /**
12312
+ * Request parameters for getClubMetadata operation in ClubsApi.
12313
+ * @export
12314
+ * @interface ClubsApiGetClubMetadataRequest
12315
+ */
12316
+ export interface ClubsApiGetClubMetadataRequest {
12317
+ /**
12318
+ *
12319
+ * @type {string}
12320
+ * @memberof ClubsApiGetClubMetadata
12321
+ */
12322
+ readonly clubId: string;
12323
+ }
12603
12324
  /**
12604
12325
  * Request parameters for getClubPageInfo operation in ClubsApi.
12605
12326
  * @export
@@ -12736,6 +12457,14 @@ export declare class ClubsApi extends BaseAPI {
12736
12457
  * @memberof ClubsApi
12737
12458
  */
12738
12459
  getClubInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any, {}>>;
12460
+ /**
12461
+ * Récupère les métadonnées publiques d\'un club
12462
+ * @param {ClubsApiGetClubMetadataRequest} requestParameters Request parameters.
12463
+ * @param {*} [options] Override http request option.
12464
+ * @throws {RequiredError}
12465
+ * @memberof ClubsApi
12466
+ */
12467
+ getClubMetadata(requestParameters: ClubsApiGetClubMetadataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubMetadataResponse, any, {}>>;
12739
12468
  /**
12740
12469
  *
12741
12470
  * @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
@@ -12847,13 +12576,6 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
12847
12576
  * @throws {RequiredError}
12848
12577
  */
12849
12578
  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>;
12857
12579
  /**
12858
12580
  * Supprime un terrain et ses créneaux futurs
12859
12581
  * @param {string} courtId
@@ -13004,13 +12726,6 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
13004
12726
  * @throws {RequiredError}
13005
12727
  */
13006
12728
  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>>;
13014
12729
  /**
13015
12730
  * Supprime un terrain et ses créneaux futurs
13016
12731
  * @param {string} courtId
@@ -13160,13 +12875,6 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
13160
12875
  * @throws {RequiredError}
13161
12876
  */
13162
12877
  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>;
13170
12878
  /**
13171
12879
  * Supprime un terrain et ses créneaux futurs
13172
12880
  * @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
@@ -13355,19 +13063,6 @@ export interface ClubsManagerApiDeleteActualityRequest {
13355
13063
  */
13356
13064
  readonly actualityId: string;
13357
13065
  }
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
- }
13371
13066
  /**
13372
13067
  * Request parameters for deleteCourt operation in ClubsManagerApi.
13373
13068
  * @export
@@ -13611,14 +13306,6 @@ export declare class ClubsManagerApi extends BaseAPI {
13611
13306
  * @memberof ClubsManagerApi
13612
13307
  */
13613
13308
  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, {}>>;
13622
13309
  /**
13623
13310
  * Supprime un terrain et ses créneaux futurs
13624
13311
  * @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
@@ -13728,6 +13415,14 @@ export declare class ClubsManagerApi extends BaseAPI {
13728
13415
  * @export
13729
13416
  */
13730
13417
  export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
13418
+ /**
13419
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13420
+ * @param {string} bookingId
13421
+ * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
13422
+ * @param {*} [options] Override http request option.
13423
+ * @throws {RequiredError}
13424
+ */
13425
+ createOnsiteInvoiceForBooking: (bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13731
13426
  /**
13732
13427
  *
13733
13428
  * @param {*} [options] Override http request option.
@@ -13777,20 +13472,20 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
13777
13472
  * @throws {RequiredError}
13778
13473
  */
13779
13474
  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>;
13788
13475
  };
13789
13476
  /**
13790
13477
  * ClubsStaffApi - functional programming interface
13791
13478
  * @export
13792
13479
  */
13793
13480
  export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13481
+ /**
13482
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13483
+ * @param {string} bookingId
13484
+ * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
13485
+ * @param {*} [options] Override http request option.
13486
+ * @throws {RequiredError}
13487
+ */
13488
+ createOnsiteInvoiceForBooking(bookingId: string, createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOnsiteInvoiceResponse>>;
13794
13489
  /**
13795
13490
  *
13796
13491
  * @param {*} [options] Override http request option.
@@ -13840,20 +13535,19 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13840
13535
  * @throws {RequiredError}
13841
13536
  */
13842
13537
  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>>;
13851
13538
  };
13852
13539
  /**
13853
13540
  * ClubsStaffApi - factory interface
13854
13541
  * @export
13855
13542
  */
13856
13543
  export declare const ClubsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13544
+ /**
13545
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13546
+ * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
13547
+ * @param {*} [options] Override http request option.
13548
+ * @throws {RequiredError}
13549
+ */
13550
+ createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOnsiteInvoiceResponse>;
13857
13551
  /**
13858
13552
  *
13859
13553
  * @param {*} [options] Override http request option.
@@ -13903,45 +13597,38 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
13903
13597
  * @throws {RequiredError}
13904
13598
  */
13905
13599
  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>;
13913
13600
  };
13914
13601
  /**
13915
- * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
13602
+ * Request parameters for createOnsiteInvoiceForBooking operation in ClubsStaffApi.
13916
13603
  * @export
13917
- * @interface ClubsStaffApiGetUserProfileStaffRequest
13604
+ * @interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest
13918
13605
  */
13919
- export interface ClubsStaffApiGetUserProfileStaffRequest {
13606
+ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
13920
13607
  /**
13921
13608
  *
13922
13609
  * @type {string}
13923
- * @memberof ClubsStaffApiGetUserProfileStaff
13610
+ * @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
13924
13611
  */
13925
- readonly id: string;
13612
+ readonly bookingId: string;
13613
+ /**
13614
+ *
13615
+ * @type {CreateOnsiteInvoiceRequest}
13616
+ * @memberof ClubsStaffApiCreateOnsiteInvoiceForBooking
13617
+ */
13618
+ readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
13926
13619
  }
13927
13620
  /**
13928
- * Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
13621
+ * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
13929
13622
  * @export
13930
- * @interface ClubsStaffApiUpdateUserCreditsStaffRequest
13623
+ * @interface ClubsStaffApiGetUserProfileStaffRequest
13931
13624
  */
13932
- export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
13625
+ export interface ClubsStaffApiGetUserProfileStaffRequest {
13933
13626
  /**
13934
13627
  *
13935
13628
  * @type {string}
13936
- * @memberof ClubsStaffApiUpdateUserCreditsStaff
13629
+ * @memberof ClubsStaffApiGetUserProfileStaff
13937
13630
  */
13938
13631
  readonly id: string;
13939
- /**
13940
- *
13941
- * @type {UpdateUserCreditsRequest}
13942
- * @memberof ClubsStaffApiUpdateUserCreditsStaff
13943
- */
13944
- readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
13945
13632
  }
13946
13633
  /**
13947
13634
  * ClubsStaffApi - object-oriented interface
@@ -13950,6 +13637,14 @@ export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
13950
13637
  * @extends {BaseAPI}
13951
13638
  */
13952
13639
  export declare class ClubsStaffApi extends BaseAPI {
13640
+ /**
13641
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
13642
+ * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
13643
+ * @param {*} [options] Override http request option.
13644
+ * @throws {RequiredError}
13645
+ * @memberof ClubsStaffApi
13646
+ */
13647
+ createOnsiteInvoiceForBooking(requestParameters: ClubsStaffApiCreateOnsiteInvoiceForBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOnsiteInvoiceResponse, any, {}>>;
13953
13648
  /**
13954
13649
  *
13955
13650
  * @param {*} [options] Override http request option.
@@ -14007,14 +13702,6 @@ export declare class ClubsStaffApi extends BaseAPI {
14007
13702
  * @memberof ClubsStaffApi
14008
13703
  */
14009
13704
  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, {}>>;
14018
13705
  }
14019
13706
  /**
14020
13707
  * DefaultApi - axios parameter creator
@@ -14332,6 +14019,13 @@ export type GetPublishedEventsByClubIdTypeEnum = typeof GetPublishedEventsByClub
14332
14019
  * @export
14333
14020
  */
14334
14021
  export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configuration) => {
14022
+ /**
14023
+ * Check if there are bookings overlapping an event window (for create/update/delete)
14024
+ * @param {EventConflictCheckRequest} eventConflictCheckRequest
14025
+ * @param {*} [options] Override http request option.
14026
+ * @throws {RequiredError}
14027
+ */
14028
+ checkEventConflicts: (eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14335
14029
  /**
14336
14030
  * Create a new event (manager)
14337
14031
  * @param {CreateEventRequest} createEventRequest
@@ -14368,12 +14062,27 @@ export declare const EventsManagerApiAxiosParamCreator: (configuration?: Configu
14368
14062
  * @throws {RequiredError}
14369
14063
  */
14370
14064
  updateEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14065
+ /**
14066
+ * Update a published event (manager) and propagate slot changes and conflicts
14067
+ * @param {string} eventId
14068
+ * @param {UpdateEventRequest} updateEventRequest
14069
+ * @param {*} [options] Override http request option.
14070
+ * @throws {RequiredError}
14071
+ */
14072
+ updatePublishedEvent: (eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14371
14073
  };
14372
14074
  /**
14373
14075
  * EventsManagerApi - functional programming interface
14374
14076
  * @export
14375
14077
  */
14376
14078
  export declare const EventsManagerApiFp: (configuration?: Configuration) => {
14079
+ /**
14080
+ * Check if there are bookings overlapping an event window (for create/update/delete)
14081
+ * @param {EventConflictCheckRequest} eventConflictCheckRequest
14082
+ * @param {*} [options] Override http request option.
14083
+ * @throws {RequiredError}
14084
+ */
14085
+ checkEventConflicts(eventConflictCheckRequest: EventConflictCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventConflictCheckResponse>>;
14377
14086
  /**
14378
14087
  * Create a new event (manager)
14379
14088
  * @param {CreateEventRequest} createEventRequest
@@ -14410,12 +14119,27 @@ export declare const EventsManagerApiFp: (configuration?: Configuration) => {
14410
14119
  * @throws {RequiredError}
14411
14120
  */
14412
14121
  updateEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
14122
+ /**
14123
+ * Update a published event (manager) and propagate slot changes and conflicts
14124
+ * @param {string} eventId
14125
+ * @param {UpdateEventRequest} updateEventRequest
14126
+ * @param {*} [options] Override http request option.
14127
+ * @throws {RequiredError}
14128
+ */
14129
+ updatePublishedEvent(eventId: string, updateEventRequest: UpdateEventRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
14413
14130
  };
14414
14131
  /**
14415
14132
  * EventsManagerApi - factory interface
14416
14133
  * @export
14417
14134
  */
14418
14135
  export declare const EventsManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14136
+ /**
14137
+ * Check if there are bookings overlapping an event window (for create/update/delete)
14138
+ * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
14139
+ * @param {*} [options] Override http request option.
14140
+ * @throws {RequiredError}
14141
+ */
14142
+ checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventConflictCheckResponse>;
14419
14143
  /**
14420
14144
  * Create a new event (manager)
14421
14145
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -14451,7 +14175,27 @@ export declare const EventsManagerApiFactory: (configuration?: Configuration, ba
14451
14175
  * @throws {RequiredError}
14452
14176
  */
14453
14177
  updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
14178
+ /**
14179
+ * Update a published event (manager) and propagate slot changes and conflicts
14180
+ * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
14181
+ * @param {*} [options] Override http request option.
14182
+ * @throws {RequiredError}
14183
+ */
14184
+ updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
14454
14185
  };
14186
+ /**
14187
+ * Request parameters for checkEventConflicts operation in EventsManagerApi.
14188
+ * @export
14189
+ * @interface EventsManagerApiCheckEventConflictsRequest
14190
+ */
14191
+ export interface EventsManagerApiCheckEventConflictsRequest {
14192
+ /**
14193
+ *
14194
+ * @type {EventConflictCheckRequest}
14195
+ * @memberof EventsManagerApiCheckEventConflicts
14196
+ */
14197
+ readonly eventConflictCheckRequest: EventConflictCheckRequest;
14198
+ }
14455
14199
  /**
14456
14200
  * Request parameters for createEvent operation in EventsManagerApi.
14457
14201
  * @export
@@ -14523,6 +14267,25 @@ export interface EventsManagerApiUpdateEventRequest {
14523
14267
  */
14524
14268
  readonly updateEventRequest: UpdateEventRequest;
14525
14269
  }
14270
+ /**
14271
+ * Request parameters for updatePublishedEvent operation in EventsManagerApi.
14272
+ * @export
14273
+ * @interface EventsManagerApiUpdatePublishedEventRequest
14274
+ */
14275
+ export interface EventsManagerApiUpdatePublishedEventRequest {
14276
+ /**
14277
+ *
14278
+ * @type {string}
14279
+ * @memberof EventsManagerApiUpdatePublishedEvent
14280
+ */
14281
+ readonly eventId: string;
14282
+ /**
14283
+ *
14284
+ * @type {UpdateEventRequest}
14285
+ * @memberof EventsManagerApiUpdatePublishedEvent
14286
+ */
14287
+ readonly updateEventRequest: UpdateEventRequest;
14288
+ }
14526
14289
  /**
14527
14290
  * EventsManagerApi - object-oriented interface
14528
14291
  * @export
@@ -14530,6 +14293,14 @@ export interface EventsManagerApiUpdateEventRequest {
14530
14293
  * @extends {BaseAPI}
14531
14294
  */
14532
14295
  export declare class EventsManagerApi extends BaseAPI {
14296
+ /**
14297
+ * Check if there are bookings overlapping an event window (for create/update/delete)
14298
+ * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
14299
+ * @param {*} [options] Override http request option.
14300
+ * @throws {RequiredError}
14301
+ * @memberof EventsManagerApi
14302
+ */
14303
+ checkEventConflicts(requestParameters: EventsManagerApiCheckEventConflictsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventConflictCheckResponse, any, {}>>;
14533
14304
  /**
14534
14305
  * Create a new event (manager)
14535
14306
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -14570,6 +14341,14 @@ export declare class EventsManagerApi extends BaseAPI {
14570
14341
  * @memberof EventsManagerApi
14571
14342
  */
14572
14343
  updateEvent(requestParameters: EventsManagerApiUpdateEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
14344
+ /**
14345
+ * Update a published event (manager) and propagate slot changes and conflicts
14346
+ * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
14347
+ * @param {*} [options] Override http request option.
14348
+ * @throws {RequiredError}
14349
+ * @memberof EventsManagerApi
14350
+ */
14351
+ updatePublishedEvent(requestParameters: EventsManagerApiUpdatePublishedEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
14573
14352
  }
14574
14353
  /**
14575
14354
  * EventsStaffApi - axios parameter creator
@@ -14577,44 +14356,19 @@ export declare class EventsManagerApi extends BaseAPI {
14577
14356
  */
14578
14357
  export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
14579
14358
  /**
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]
14359
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14360
+ * @param {string} eventBookingId
14361
+ * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
14586
14362
  * @param {*} [options] Override http request option.
14587
14363
  * @throws {RequiredError}
14588
14364
  */
14589
- getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14365
+ checkInEventParticipants: (eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14590
14366
  /**
14591
14367
  * Get all events for a club (staff only)
14592
14368
  * @param {*} [options] Override http request option.
14593
14369
  * @throws {RequiredError}
14594
14370
  */
14595
14371
  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>;
14618
14372
  };
14619
14373
  /**
14620
14374
  * EventsStaffApi - functional programming interface
@@ -14622,44 +14376,19 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
14622
14376
  */
14623
14377
  export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14624
14378
  /**
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]
14379
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14380
+ * @param {string} eventBookingId
14381
+ * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
14631
14382
  * @param {*} [options] Override http request option.
14632
14383
  * @throws {RequiredError}
14633
14384
  */
14634
- getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14385
+ checkInEventParticipants(eventBookingId: string, checkInEventParticipantsRequest: CheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInEventParticipants200Response>>;
14635
14386
  /**
14636
14387
  * Get all events for a club (staff only)
14637
14388
  * @param {*} [options] Override http request option.
14638
14389
  * @throws {RequiredError}
14639
14390
  */
14640
14391
  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>>;
14663
14392
  };
14664
14393
  /**
14665
14394
  * EventsStaffApi - factory interface
@@ -14667,143 +14396,37 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14667
14396
  */
14668
14397
  export declare const EventsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14669
14398
  /**
14670
- * Get events for the day view (entire week)
14671
- * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14399
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14400
+ * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
14672
14401
  * @param {*} [options] Override http request option.
14673
14402
  * @throws {RequiredError}
14674
14403
  */
14675
- getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14404
+ checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInEventParticipants200Response>;
14676
14405
  /**
14677
14406
  * Get all events for a club (staff only)
14678
14407
  * @param {*} [options] Override http request option.
14679
14408
  * @throws {RequiredError}
14680
14409
  */
14681
14410
  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>;
14696
14411
  };
14697
14412
  /**
14698
- * Request parameters for getDailyEvents operation in EventsStaffApi.
14699
- * @export
14700
- * @interface EventsStaffApiGetDailyEventsRequest
14701
- */
14702
- export interface EventsStaffApiGetDailyEventsRequest {
14703
- /**
14704
- *
14705
- * @type {string}
14706
- * @memberof EventsStaffApiGetDailyEvents
14707
- */
14708
- readonly clubId?: string;
14709
- /**
14710
- *
14711
- * @type {string}
14712
- * @memberof EventsStaffApiGetDailyEvents
14713
- */
14714
- readonly date?: string;
14715
- /**
14716
- *
14717
- * @type {'public' | 'private' | 'invitation'}
14718
- * @memberof EventsStaffApiGetDailyEvents
14719
- */
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.
14413
+ * Request parameters for checkInEventParticipants operation in EventsStaffApi.
14773
14414
  * @export
14774
- * @interface EventsStaffApiGetWeeklyEventsRequest
14415
+ * @interface EventsStaffApiCheckInEventParticipantsRequest
14775
14416
  */
14776
- export interface EventsStaffApiGetWeeklyEventsRequest {
14777
- /**
14778
- *
14779
- * @type {string}
14780
- * @memberof EventsStaffApiGetWeeklyEvents
14781
- */
14782
- readonly clubId?: string;
14417
+ export interface EventsStaffApiCheckInEventParticipantsRequest {
14783
14418
  /**
14784
14419
  *
14785
14420
  * @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
14421
+ * @memberof EventsStaffApiCheckInEventParticipants
14799
14422
  */
14800
- readonly type?: GetWeeklyEventsTypeEnum;
14423
+ readonly eventBookingId: string;
14801
14424
  /**
14802
14425
  *
14803
- * @type {string}
14804
- * @memberof EventsStaffApiGetWeeklyEvents
14426
+ * @type {CheckInEventParticipantsRequest}
14427
+ * @memberof EventsStaffApiCheckInEventParticipants
14805
14428
  */
14806
- readonly sportId?: string;
14429
+ readonly checkInEventParticipantsRequest: CheckInEventParticipantsRequest;
14807
14430
  }
14808
14431
  /**
14809
14432
  * EventsStaffApi - object-oriented interface
@@ -14813,13 +14436,13 @@ export interface EventsStaffApiGetWeeklyEventsRequest {
14813
14436
  */
14814
14437
  export declare class EventsStaffApi extends BaseAPI {
14815
14438
  /**
14816
- * Get events for the day view (entire week)
14817
- * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14439
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
14440
+ * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
14818
14441
  * @param {*} [options] Override http request option.
14819
14442
  * @throws {RequiredError}
14820
14443
  * @memberof EventsStaffApi
14821
14444
  */
14822
- getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14445
+ checkInEventParticipants(requestParameters: EventsStaffApiCheckInEventParticipantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInEventParticipants200Response, any, {}>>;
14823
14446
  /**
14824
14447
  * Get all events for a club (staff only)
14825
14448
  * @param {*} [options] Override http request option.
@@ -14827,74 +14450,7 @@ export declare class EventsStaffApi extends BaseAPI {
14827
14450
  * @memberof EventsStaffApi
14828
14451
  */
14829
14452
  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, {}>>;
14846
14453
  }
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];
14898
14454
  /**
14899
14455
  * SportsManagerApi - axios parameter creator
14900
14456
  * @export