@tennac-booking/sdk 1.0.118 → 1.0.120

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 (67) hide show
  1. package/.openapi-generator/FILES +313 -309
  2. package/README.md +20 -16
  3. package/api.ts +1052 -641
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +826 -511
  8. package/dist/api.js +327 -235
  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 +826 -511
  16. package/dist/esm/api.js +326 -234
  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/BookingsStaffApi.md +117 -0
  28. package/docs/BookingsUserApi.md +1 -1
  29. package/docs/ClientApi.md +2 -49
  30. package/docs/ClientFullOnboardingResponseClub.md +0 -2
  31. package/docs/ClientOnboardingRequestBody.md +0 -2
  32. package/docs/ClubAnalyticsStaffApi.md +20 -4
  33. package/docs/ClubPlayersPaginatedResponse.md +28 -0
  34. package/docs/ClubSettingsManagerApi.md +2 -2
  35. package/docs/ClubsApi.md +2 -2
  36. package/docs/ClubsStaffApi.md +27 -2
  37. package/docs/CreateEventRequest.md +3 -1
  38. package/docs/EventResponse.md +5 -3
  39. package/docs/EventSponsor.md +24 -0
  40. package/docs/EventsApi.md +0 -115
  41. package/docs/JoinEventRequest.md +0 -2
  42. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
  43. package/docs/JoinEventResponse.md +0 -14
  44. package/docs/SendSubscriptionInvitationRequest.md +22 -0
  45. package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
  46. package/docs/StaffBookingCourtSummary.md +26 -0
  47. package/docs/StaffBookingCustomerPayload.md +28 -0
  48. package/docs/StaffBookingListItem.md +54 -0
  49. package/docs/StaffBookingPaymentState.md +18 -0
  50. package/docs/StaffBookingPaymentSummary.md +34 -0
  51. package/docs/StaffBookingSportSummary.md +24 -0
  52. package/docs/StaffBookingUserSummary.md +28 -0
  53. package/docs/StaffBookingsPaginatedResponse.md +28 -0
  54. package/docs/StaffCreateBookingRequest.md +26 -0
  55. package/docs/SubscriptionsStaffApi.md +55 -0
  56. package/docs/Team.md +1 -1
  57. package/docs/UpdateEventRequest.md +6 -0
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
  60. package/docs/ClientSubscription.md +0 -31
  61. package/docs/ClientSubscriptionItem.md +0 -25
  62. package/docs/ClientSubscriptionsResponse.md +0 -21
  63. package/docs/EstimateEventPrice200Response.md +0 -32
  64. package/docs/EstimateEventPriceRequest.md +0 -26
  65. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  66. package/docs/EventUser.md +0 -28
  67. package/docs/JoinEventResponseOnsitePaymentsInner.md +0 -24
package/dist/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.118
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).
@@ -1450,19 +1450,6 @@ export interface CheckInPlayersResponse {
1450
1450
  */
1451
1451
  'invoices': Array<CheckedInPlayer>;
1452
1452
  }
1453
- /**
1454
- *
1455
- * @export
1456
- * @interface CheckTeamNameAvailability200Response
1457
- */
1458
- export interface CheckTeamNameAvailability200Response {
1459
- /**
1460
- *
1461
- * @type {boolean}
1462
- * @memberof CheckTeamNameAvailability200Response
1463
- */
1464
- 'available': boolean;
1465
- }
1466
1453
  /**
1467
1454
  *
1468
1455
  * @export
@@ -1567,12 +1554,6 @@ export interface ClientFullOnboardingResponse {
1567
1554
  * @interface ClientFullOnboardingResponseClub
1568
1555
  */
1569
1556
  export interface ClientFullOnboardingResponseClub {
1570
- /**
1571
- *
1572
- * @type {string}
1573
- * @memberof ClientFullOnboardingResponseClub
1574
- */
1575
- 'clubType'?: string;
1576
1557
  /**
1577
1558
  *
1578
1559
  * @type {string}
@@ -1640,18 +1621,7 @@ export interface ClientOnboardingRequestBody {
1640
1621
  * @memberof ClientOnboardingRequestBody
1641
1622
  */
1642
1623
  'country'?: string;
1643
- /**
1644
- * Type de club souhaité (public | school)
1645
- * @type {string}
1646
- * @memberof ClientOnboardingRequestBody
1647
- */
1648
- 'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
1649
1624
  }
1650
- export declare const ClientOnboardingRequestBodyClubTypeEnum: {
1651
- readonly Public: "public";
1652
- readonly School: "school";
1653
- };
1654
- export type ClientOnboardingRequestBodyClubTypeEnum = typeof ClientOnboardingRequestBodyClubTypeEnum[keyof typeof ClientOnboardingRequestBodyClubTypeEnum];
1655
1625
  /**
1656
1626
  *
1657
1627
  * @export
@@ -1714,87 +1684,6 @@ export interface ClientRegisterRequest {
1714
1684
  */
1715
1685
  'firstName': string;
1716
1686
  }
1717
- /**
1718
- * Abonnement Stripe simplifié
1719
- * @export
1720
- * @interface ClientSubscription
1721
- */
1722
- export interface ClientSubscription {
1723
- /**
1724
- *
1725
- * @type {string}
1726
- * @memberof ClientSubscription
1727
- */
1728
- 'id': string;
1729
- /**
1730
- *
1731
- * @type {string}
1732
- * @memberof ClientSubscription
1733
- */
1734
- 'status': string;
1735
- /**
1736
- *
1737
- * @type {number}
1738
- * @memberof ClientSubscription
1739
- */
1740
- 'currentPeriodStart': number;
1741
- /**
1742
- *
1743
- * @type {number}
1744
- * @memberof ClientSubscription
1745
- */
1746
- 'currentPeriodEnd': number;
1747
- /**
1748
- *
1749
- * @type {boolean}
1750
- * @memberof ClientSubscription
1751
- */
1752
- 'cancelAtPeriodEnd': boolean;
1753
- /**
1754
- *
1755
- * @type {Array<ClientSubscriptionItem>}
1756
- * @memberof ClientSubscription
1757
- */
1758
- 'items': Array<ClientSubscriptionItem>;
1759
- }
1760
- /**
1761
- * Item d\'abonnement Stripe simplifié
1762
- * @export
1763
- * @interface ClientSubscriptionItem
1764
- */
1765
- export interface ClientSubscriptionItem {
1766
- /**
1767
- *
1768
- * @type {string}
1769
- * @memberof ClientSubscriptionItem
1770
- */
1771
- 'priceId': string;
1772
- /**
1773
- *
1774
- * @type {string}
1775
- * @memberof ClientSubscriptionItem
1776
- */
1777
- 'productId'?: string;
1778
- /**
1779
- *
1780
- * @type {number}
1781
- * @memberof ClientSubscriptionItem
1782
- */
1783
- 'quantity'?: number;
1784
- }
1785
- /**
1786
- * Réponse liste des abonnements Stripe du client
1787
- * @export
1788
- * @interface ClientSubscriptionsResponse
1789
- */
1790
- export interface ClientSubscriptionsResponse {
1791
- /**
1792
- *
1793
- * @type {Array<ClientSubscription>}
1794
- * @memberof ClientSubscriptionsResponse
1795
- */
1796
- 'subscriptions': Array<ClientSubscription>;
1797
- }
1798
1687
  /**
1799
1688
  *
1800
1689
  * @export
@@ -2723,6 +2612,43 @@ export interface ClubPlayerSubscriptionSummary {
2723
2612
  */
2724
2613
  'interval': string | null;
2725
2614
  }
2615
+ /**
2616
+ *
2617
+ * @export
2618
+ * @interface ClubPlayersPaginatedResponse
2619
+ */
2620
+ export interface ClubPlayersPaginatedResponse {
2621
+ /**
2622
+ * Joueurs trouvés
2623
+ * @type {Array<ClubPlayerResponse>}
2624
+ * @memberof ClubPlayersPaginatedResponse
2625
+ */
2626
+ 'players': Array<ClubPlayerResponse>;
2627
+ /**
2628
+ * Page courante (1-based)
2629
+ * @type {number}
2630
+ * @memberof ClubPlayersPaginatedResponse
2631
+ */
2632
+ 'page': number;
2633
+ /**
2634
+ * Nombre d\'éléments par page
2635
+ * @type {number}
2636
+ * @memberof ClubPlayersPaginatedResponse
2637
+ */
2638
+ 'pageSize': number;
2639
+ /**
2640
+ * Nombre total de joueurs
2641
+ * @type {number}
2642
+ * @memberof ClubPlayersPaginatedResponse
2643
+ */
2644
+ 'total': number;
2645
+ /**
2646
+ * Nombre total de pages disponibles
2647
+ * @type {number}
2648
+ * @memberof ClubPlayersPaginatedResponse
2649
+ */
2650
+ 'totalPages': number;
2651
+ }
2726
2652
  /**
2727
2653
  *
2728
2654
  * @export
@@ -3729,10 +3655,16 @@ export interface CreateEventRequest {
3729
3655
  'subscriberPrices'?: Array<SubscriberPrice>;
3730
3656
  /**
3731
3657
  *
3732
- * @type {Array<number>}
3658
+ * @type {Array<string | null>}
3659
+ * @memberof CreateEventRequest
3660
+ */
3661
+ 'levels'?: Array<string | null>;
3662
+ /**
3663
+ *
3664
+ * @type {Array<EventSponsor>}
3733
3665
  * @memberof CreateEventRequest
3734
3666
  */
3735
- 'levels'?: Array<number>;
3667
+ 'sponsors'?: Array<EventSponsor>;
3736
3668
  /**
3737
3669
  *
3738
3670
  * @type {string}
@@ -4187,111 +4119,6 @@ export declare const DiscountType: {
4187
4119
  readonly OffPeak: "off_peak";
4188
4120
  };
4189
4121
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
4190
- /**
4191
- *
4192
- * @export
4193
- * @interface EstimateEventPrice200Response
4194
- */
4195
- export interface EstimateEventPrice200Response {
4196
- /**
4197
- * Construct a type with a set of properties K of type T
4198
- * @type {{ [key: string]: number; }}
4199
- * @memberof EstimateEventPrice200Response
4200
- */
4201
- 'perPayerAfterCredits'?: {
4202
- [key: string]: number;
4203
- };
4204
- /**
4205
- *
4206
- * @type {number}
4207
- * @memberof EstimateEventPrice200Response
4208
- */
4209
- 'totalAfterCredits'?: number;
4210
- /**
4211
- *
4212
- * @type {number}
4213
- * @memberof EstimateEventPrice200Response
4214
- */
4215
- 'creditsAppliedInCents'?: number;
4216
- /**
4217
- *
4218
- * @type {string}
4219
- * @memberof EstimateEventPrice200Response
4220
- */
4221
- 'currency': string;
4222
- /**
4223
- *
4224
- * @type {number}
4225
- * @memberof EstimateEventPrice200Response
4226
- */
4227
- 'total': number;
4228
- /**
4229
- * Construct a type with a set of properties K of type T
4230
- * @type {{ [key: string]: number; }}
4231
- * @memberof EstimateEventPrice200Response
4232
- */
4233
- 'perPayer': {
4234
- [key: string]: number;
4235
- };
4236
- /**
4237
- * Construct a type with a set of properties K of type T
4238
- * @type {{ [key: string]: number; }}
4239
- * @memberof EstimateEventPrice200Response
4240
- */
4241
- 'perPlayer': {
4242
- [key: string]: number;
4243
- };
4244
- }
4245
- /**
4246
- *
4247
- * @export
4248
- * @interface EstimateEventPriceRequest
4249
- */
4250
- export interface EstimateEventPriceRequest {
4251
- /**
4252
- *
4253
- * @type {number}
4254
- * @memberof EstimateEventPriceRequest
4255
- */
4256
- 'creditToUseInCents'?: number;
4257
- /**
4258
- *
4259
- * @type {string}
4260
- * @memberof EstimateEventPriceRequest
4261
- */
4262
- 'creatorId'?: string;
4263
- /**
4264
- *
4265
- * @type {Array<EstimateEventPriceRequestSharesInner>}
4266
- * @memberof EstimateEventPriceRequest
4267
- */
4268
- 'shares'?: Array<EstimateEventPriceRequestSharesInner>;
4269
- /**
4270
- *
4271
- * @type {Array<string>}
4272
- * @memberof EstimateEventPriceRequest
4273
- */
4274
- 'playerIds': Array<string>;
4275
- }
4276
- /**
4277
- *
4278
- * @export
4279
- * @interface EstimateEventPriceRequestSharesInner
4280
- */
4281
- export interface EstimateEventPriceRequestSharesInner {
4282
- /**
4283
- *
4284
- * @type {Array<string>}
4285
- * @memberof EstimateEventPriceRequestSharesInner
4286
- */
4287
- 'paysAlsoFor'?: Array<string>;
4288
- /**
4289
- *
4290
- * @type {string}
4291
- * @memberof EstimateEventPriceRequestSharesInner
4292
- */
4293
- 'playerId': string;
4294
- }
4295
4122
  /**
4296
4123
  *
4297
4124
  * @export
@@ -4446,10 +4273,10 @@ export interface EventResponse {
4446
4273
  'participationType': EventResponseParticipationTypeEnum;
4447
4274
  /**
4448
4275
  *
4449
- * @type {Array<EventUser>}
4276
+ * @type {Array<string>}
4450
4277
  * @memberof EventResponse
4451
4278
  */
4452
- 'participants'?: Array<EventUser>;
4279
+ 'participants'?: Array<string>;
4453
4280
  /**
4454
4281
  *
4455
4282
  * @type {Array<Team>}
@@ -4468,12 +4295,6 @@ export interface EventResponse {
4468
4295
  * @memberof EventResponse
4469
4296
  */
4470
4297
  'teamLimit'?: number;
4471
- /**
4472
- *
4473
- * @type {number}
4474
- * @memberof EventResponse
4475
- */
4476
- 'playersPerTeam'?: number;
4477
4298
  /**
4478
4299
  *
4479
4300
  * @type {number}
@@ -4492,6 +4313,18 @@ export interface EventResponse {
4492
4313
  * @memberof EventResponse
4493
4314
  */
4494
4315
  'visibilityType': EventResponseVisibilityTypeEnum;
4316
+ /**
4317
+ *
4318
+ * @type {Array<string | null>}
4319
+ * @memberof EventResponse
4320
+ */
4321
+ 'levels'?: Array<string | null>;
4322
+ /**
4323
+ *
4324
+ * @type {Array<EventSponsor>}
4325
+ * @memberof EventResponse
4326
+ */
4327
+ 'sponsors'?: Array<EventSponsor>;
4495
4328
  /**
4496
4329
  *
4497
4330
  * @type {string}
@@ -4543,39 +4376,27 @@ export type EventResponseVisibilityTypeEnum = typeof EventResponseVisibilityType
4543
4376
  /**
4544
4377
  *
4545
4378
  * @export
4546
- * @interface EventUser
4379
+ * @interface EventSponsor
4547
4380
  */
4548
- export interface EventUser {
4549
- /**
4550
- *
4551
- * @type {string}
4552
- * @memberof EventUser
4553
- */
4554
- 'id': string;
4381
+ export interface EventSponsor {
4555
4382
  /**
4556
4383
  *
4557
4384
  * @type {string}
4558
- * @memberof EventUser
4385
+ * @memberof EventSponsor
4559
4386
  */
4560
- 'firstName': string;
4561
- /**
4562
- *
4563
- * @type {string}
4564
- * @memberof EventUser
4565
- */
4566
- 'lastName': string;
4387
+ 'name'?: string;
4567
4388
  /**
4568
4389
  *
4569
4390
  * @type {string}
4570
- * @memberof EventUser
4391
+ * @memberof EventSponsor
4571
4392
  */
4572
- 'username'?: string;
4393
+ 'website'?: string;
4573
4394
  /**
4574
4395
  *
4575
4396
  * @type {string}
4576
- * @memberof EventUser
4397
+ * @memberof EventSponsor
4577
4398
  */
4578
- 'profilePicture'?: string;
4399
+ 'logo'?: string | null;
4579
4400
  }
4580
4401
  /**
4581
4402
  *
@@ -5480,12 +5301,6 @@ export interface JoinEventRequest {
5480
5301
  * @memberof JoinEventRequest
5481
5302
  */
5482
5303
  'useDefaultPaymentMethod'?: boolean;
5483
- /**
5484
- *
5485
- * @type {number}
5486
- * @memberof JoinEventRequest
5487
- */
5488
- 'creditToUseInCents'?: number;
5489
5304
  }
5490
5305
  /**
5491
5306
  *
@@ -5493,12 +5308,6 @@ export interface JoinEventRequest {
5493
5308
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5494
5309
  */
5495
5310
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5496
- /**
5497
- *
5498
- * @type {Array<string>}
5499
- * @memberof JoinEventRequestPlayersPaymentMethodsInner
5500
- */
5501
- 'paysAlsoFor'?: Array<string>;
5502
5311
  /**
5503
5312
  *
5504
5313
  * @type {PaymentMethod}
@@ -5530,109 +5339,38 @@ export interface JoinEventResponse {
5530
5339
  * @memberof JoinEventResponse
5531
5340
  */
5532
5341
  'event': EventResponse;
5342
+ }
5343
+ /**
5344
+ *
5345
+ * @export
5346
+ * @interface LastSixMonthsTurnoverItem
5347
+ */
5348
+ export interface LastSixMonthsTurnoverItem {
5533
5349
  /**
5534
- * Construct a type with a set of properties K of type T
5535
- * @type {{ [key: string]: string; }}
5536
- * @memberof JoinEventResponse
5350
+ * Nom du mois (Jan, Feb, etc.)
5351
+ * @type {string}
5352
+ * @memberof LastSixMonthsTurnoverItem
5537
5353
  */
5538
- 'paymentLinks'?: {
5539
- [key: string]: string;
5540
- };
5354
+ 'month': string;
5541
5355
  /**
5542
- *
5543
- * @type {Array<JoinEventResponseOnsitePaymentsInner>}
5544
- * @memberof JoinEventResponse
5356
+ * Valeur du chiffre d\'affaires
5357
+ * @type {number}
5358
+ * @memberof LastSixMonthsTurnoverItem
5545
5359
  */
5546
- 'onsitePayments'?: Array<JoinEventResponseOnsitePaymentsInner>;
5360
+ 'value': number;
5361
+ }
5362
+ /**
5363
+ *
5364
+ * @export
5365
+ * @interface LevelBySportEntry
5366
+ */
5367
+ export interface LevelBySportEntry {
5547
5368
  /**
5548
5369
  *
5549
5370
  * @type {string}
5550
- * @memberof JoinEventResponse
5371
+ * @memberof LevelBySportEntry
5551
5372
  */
5552
- 'setupNoShowPaymentUrl'?: string;
5553
- /**
5554
- *
5555
- * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
5556
- * @memberof JoinEventResponse
5557
- */
5558
- 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
5559
- /**
5560
- *
5561
- * @type {number}
5562
- * @memberof JoinEventResponse
5563
- */
5564
- 'creditsAppliedInCents'?: number;
5565
- /**
5566
- *
5567
- * @type {number}
5568
- * @memberof JoinEventResponse
5569
- */
5570
- 'totalAfterCredits'?: number;
5571
- /**
5572
- * Construct a type with a set of properties K of type T
5573
- * @type {{ [key: string]: number; }}
5574
- * @memberof JoinEventResponse
5575
- */
5576
- 'perPayerAfterCredits'?: {
5577
- [key: string]: number;
5578
- };
5579
- }
5580
- /**
5581
- *
5582
- * @export
5583
- * @interface JoinEventResponseOnsitePaymentsInner
5584
- */
5585
- export interface JoinEventResponseOnsitePaymentsInner {
5586
- /**
5587
- *
5588
- * @type {PaymentMethod}
5589
- * @memberof JoinEventResponseOnsitePaymentsInner
5590
- */
5591
- 'paymentMethod': PaymentMethod;
5592
- /**
5593
- *
5594
- * @type {number}
5595
- * @memberof JoinEventResponseOnsitePaymentsInner
5596
- */
5597
- 'amount': number;
5598
- /**
5599
- *
5600
- * @type {string}
5601
- * @memberof JoinEventResponseOnsitePaymentsInner
5602
- */
5603
- 'playerId': string;
5604
- }
5605
- /**
5606
- *
5607
- * @export
5608
- * @interface LastSixMonthsTurnoverItem
5609
- */
5610
- export interface LastSixMonthsTurnoverItem {
5611
- /**
5612
- * Nom du mois (Jan, Feb, etc.)
5613
- * @type {string}
5614
- * @memberof LastSixMonthsTurnoverItem
5615
- */
5616
- 'month': string;
5617
- /**
5618
- * Valeur du chiffre d\'affaires
5619
- * @type {number}
5620
- * @memberof LastSixMonthsTurnoverItem
5621
- */
5622
- 'value': number;
5623
- }
5624
- /**
5625
- *
5626
- * @export
5627
- * @interface LevelBySportEntry
5628
- */
5629
- export interface LevelBySportEntry {
5630
- /**
5631
- *
5632
- * @type {string}
5633
- * @memberof LevelBySportEntry
5634
- */
5635
- 'level': string;
5373
+ 'level': string;
5636
5374
  /**
5637
5375
  *
5638
5376
  * @type {string}
@@ -7208,6 +6946,44 @@ export interface RevenueBySportItem {
7208
6946
  */
7209
6947
  'totalTurnover': number;
7210
6948
  }
6949
+ /**
6950
+ *
6951
+ * @export
6952
+ * @interface SendSubscriptionInvitationRequest
6953
+ */
6954
+ export interface SendSubscriptionInvitationRequest {
6955
+ /**
6956
+ *
6957
+ * @type {string}
6958
+ * @memberof SendSubscriptionInvitationRequest
6959
+ */
6960
+ 'userId': string;
6961
+ /**
6962
+ * Identifiant Stripe (productId) du plan sélectionné par le staff.
6963
+ * @type {string}
6964
+ * @memberof SendSubscriptionInvitationRequest
6965
+ */
6966
+ 'productId': string;
6967
+ }
6968
+ /**
6969
+ *
6970
+ * @export
6971
+ * @interface SendSubscriptionInvitationResponse
6972
+ */
6973
+ export interface SendSubscriptionInvitationResponse {
6974
+ /**
6975
+ *
6976
+ * @type {string}
6977
+ * @memberof SendSubscriptionInvitationResponse
6978
+ */
6979
+ 'invitationUrl': string;
6980
+ /**
6981
+ *
6982
+ * @type {string}
6983
+ * @memberof SendSubscriptionInvitationResponse
6984
+ */
6985
+ 'message': string;
6986
+ }
7211
6987
  /**
7212
6988
  *
7213
6989
  * @export
@@ -7424,6 +7200,388 @@ export interface SportWithLevels {
7424
7200
  */
7425
7201
  'logos'?: Array<string>;
7426
7202
  }
7203
+ /**
7204
+ *
7205
+ * @export
7206
+ * @interface StaffBookingCourtSummary
7207
+ */
7208
+ export interface StaffBookingCourtSummary {
7209
+ /**
7210
+ * ID du terrain
7211
+ * @type {string}
7212
+ * @memberof StaffBookingCourtSummary
7213
+ */
7214
+ 'id': string;
7215
+ /**
7216
+ * Nom du terrain
7217
+ * @type {string}
7218
+ * @memberof StaffBookingCourtSummary
7219
+ */
7220
+ 'name'?: string | null;
7221
+ /**
7222
+ * Surface
7223
+ * @type {string}
7224
+ * @memberof StaffBookingCourtSummary
7225
+ */
7226
+ 'surface'?: string | null;
7227
+ /**
7228
+ * Terrain intérieur
7229
+ * @type {boolean}
7230
+ * @memberof StaffBookingCourtSummary
7231
+ */
7232
+ 'isIndoor'?: boolean;
7233
+ }
7234
+ /**
7235
+ *
7236
+ * @export
7237
+ * @interface StaffBookingCustomerPayload
7238
+ */
7239
+ export interface StaffBookingCustomerPayload {
7240
+ /**
7241
+ * Identifiant d\'un utilisateur existant
7242
+ * @type {string}
7243
+ * @memberof StaffBookingCustomerPayload
7244
+ */
7245
+ 'userId'?: string;
7246
+ /**
7247
+ * Prénom de l\'invité (requis si userId absent)
7248
+ * @type {string}
7249
+ * @memberof StaffBookingCustomerPayload
7250
+ */
7251
+ 'firstName'?: string;
7252
+ /**
7253
+ * Nom de famille de l\'invité (requis si userId absent)
7254
+ * @type {string}
7255
+ * @memberof StaffBookingCustomerPayload
7256
+ */
7257
+ 'lastName'?: string;
7258
+ /**
7259
+ * Email de contact (requis si userId absent)
7260
+ * @type {string}
7261
+ * @memberof StaffBookingCustomerPayload
7262
+ */
7263
+ 'email'?: string;
7264
+ /**
7265
+ * Numéro de téléphone optionnel
7266
+ * @type {string}
7267
+ * @memberof StaffBookingCustomerPayload
7268
+ */
7269
+ 'phoneNumber'?: string;
7270
+ }
7271
+ /**
7272
+ *
7273
+ * @export
7274
+ * @interface StaffBookingListItem
7275
+ */
7276
+ export interface StaffBookingListItem {
7277
+ /**
7278
+ * ID de la réservation
7279
+ * @type {string}
7280
+ * @memberof StaffBookingListItem
7281
+ */
7282
+ 'id': string;
7283
+ /**
7284
+ * ID du club
7285
+ * @type {string}
7286
+ * @memberof StaffBookingListItem
7287
+ */
7288
+ 'clubId': string;
7289
+ /**
7290
+ *
7291
+ * @type {BookingStatus}
7292
+ * @memberof StaffBookingListItem
7293
+ */
7294
+ 'status': BookingStatus;
7295
+ /**
7296
+ * Date de début
7297
+ * @type {string}
7298
+ * @memberof StaffBookingListItem
7299
+ */
7300
+ 'startDate'?: string | null;
7301
+ /**
7302
+ * Date de fin
7303
+ * @type {string}
7304
+ * @memberof StaffBookingListItem
7305
+ */
7306
+ 'endDate'?: string | null;
7307
+ /**
7308
+ * Durée estimée en minutes
7309
+ * @type {number}
7310
+ * @memberof StaffBookingListItem
7311
+ */
7312
+ 'durationMinutes'?: number | null;
7313
+ /**
7314
+ * Date de création
7315
+ * @type {string}
7316
+ * @memberof StaffBookingListItem
7317
+ */
7318
+ 'createdAt'?: string | null;
7319
+ /**
7320
+ * Dernière mise à jour
7321
+ * @type {string}
7322
+ * @memberof StaffBookingListItem
7323
+ */
7324
+ 'updatedAt'?: string | null;
7325
+ /**
7326
+ * Nombre total de participants (créateur inclus)
7327
+ * @type {number}
7328
+ * @memberof StaffBookingListItem
7329
+ */
7330
+ 'playersCount': number;
7331
+ /**
7332
+ * Prix total (centimes)
7333
+ * @type {number}
7334
+ * @memberof StaffBookingListItem
7335
+ */
7336
+ 'totalPrice': number;
7337
+ /**
7338
+ * Créateur
7339
+ * @type {StaffBookingUserSummary}
7340
+ * @memberof StaffBookingListItem
7341
+ */
7342
+ 'creator'?: StaffBookingUserSummary | null;
7343
+ /**
7344
+ * Participants
7345
+ * @type {Array<StaffBookingUserSummary>}
7346
+ * @memberof StaffBookingListItem
7347
+ */
7348
+ 'players': Array<StaffBookingUserSummary>;
7349
+ /**
7350
+ * Terrains impliqués
7351
+ * @type {Array<StaffBookingCourtSummary>}
7352
+ * @memberof StaffBookingListItem
7353
+ */
7354
+ 'courts': Array<StaffBookingCourtSummary>;
7355
+ /**
7356
+ * Sports associés
7357
+ * @type {Array<StaffBookingSportSummary>}
7358
+ * @memberof StaffBookingListItem
7359
+ */
7360
+ 'sports': Array<StaffBookingSportSummary>;
7361
+ /**
7362
+ *
7363
+ * @type {StaffBookingPaymentSummary}
7364
+ * @memberof StaffBookingListItem
7365
+ */
7366
+ 'paymentSummary': StaffBookingPaymentSummary;
7367
+ /**
7368
+ * Indique si le créateur paie pour tous
7369
+ * @type {boolean}
7370
+ * @memberof StaffBookingListItem
7371
+ */
7372
+ 'isCreatorPayingAll': boolean;
7373
+ /**
7374
+ * Réservation publique
7375
+ * @type {boolean}
7376
+ * @memberof StaffBookingListItem
7377
+ */
7378
+ 'isPublic': boolean;
7379
+ /**
7380
+ * Nombre de créneaux
7381
+ * @type {number}
7382
+ * @memberof StaffBookingListItem
7383
+ */
7384
+ 'slotCount': number;
7385
+ }
7386
+ /**
7387
+ *
7388
+ * @export
7389
+ * @enum {string}
7390
+ */
7391
+ export declare const StaffBookingPaymentState: {
7392
+ readonly None: "none";
7393
+ readonly Paid: "paid";
7394
+ readonly Pending: "pending";
7395
+ readonly Authorized: "authorized";
7396
+ readonly Failed: "failed";
7397
+ readonly Partial: "partial";
7398
+ };
7399
+ export type StaffBookingPaymentState = typeof StaffBookingPaymentState[keyof typeof StaffBookingPaymentState];
7400
+ /**
7401
+ *
7402
+ * @export
7403
+ * @interface StaffBookingPaymentSummary
7404
+ */
7405
+ export interface StaffBookingPaymentSummary {
7406
+ /**
7407
+ *
7408
+ * @type {StaffBookingPaymentState}
7409
+ * @memberof StaffBookingPaymentSummary
7410
+ */
7411
+ 'status': StaffBookingPaymentState;
7412
+ /**
7413
+ * Nombre total de factures
7414
+ * @type {number}
7415
+ * @memberof StaffBookingPaymentSummary
7416
+ */
7417
+ 'totalInvoices': number;
7418
+ /**
7419
+ * Factures payées
7420
+ * @type {number}
7421
+ * @memberof StaffBookingPaymentSummary
7422
+ */
7423
+ 'paidInvoices': number;
7424
+ /**
7425
+ * Factures en attente
7426
+ * @type {number}
7427
+ * @memberof StaffBookingPaymentSummary
7428
+ */
7429
+ 'pendingInvoices': number;
7430
+ /**
7431
+ * Factures autorisées
7432
+ * @type {number}
7433
+ * @memberof StaffBookingPaymentSummary
7434
+ */
7435
+ 'authorizedInvoices': number;
7436
+ /**
7437
+ * Factures échouées ou annulées
7438
+ * @type {number}
7439
+ * @memberof StaffBookingPaymentSummary
7440
+ */
7441
+ 'failedInvoices': number;
7442
+ /**
7443
+ * Méthodes de paiement impliquées
7444
+ * @type {Array<PaymentMethod>}
7445
+ * @memberof StaffBookingPaymentSummary
7446
+ */
7447
+ 'paymentMethods': Array<PaymentMethod>;
7448
+ /**
7449
+ * Statuts des factures rencontrés
7450
+ * @type {Array<InvoiceStatus>}
7451
+ * @memberof StaffBookingPaymentSummary
7452
+ */
7453
+ 'invoiceStatuses': Array<InvoiceStatus>;
7454
+ }
7455
+ /**
7456
+ *
7457
+ * @export
7458
+ * @interface StaffBookingSportSummary
7459
+ */
7460
+ export interface StaffBookingSportSummary {
7461
+ /**
7462
+ * ID du sport
7463
+ * @type {string}
7464
+ * @memberof StaffBookingSportSummary
7465
+ */
7466
+ 'id': string;
7467
+ /**
7468
+ * Nom du sport
7469
+ * @type {string}
7470
+ * @memberof StaffBookingSportSummary
7471
+ */
7472
+ 'name'?: string | null;
7473
+ /**
7474
+ * Clé du sport
7475
+ * @type {string}
7476
+ * @memberof StaffBookingSportSummary
7477
+ */
7478
+ 'key'?: string | null;
7479
+ }
7480
+ /**
7481
+ *
7482
+ * @export
7483
+ * @interface StaffBookingUserSummary
7484
+ */
7485
+ export interface StaffBookingUserSummary {
7486
+ /**
7487
+ * ID de l\'utilisateur
7488
+ * @type {string}
7489
+ * @memberof StaffBookingUserSummary
7490
+ */
7491
+ 'id': string;
7492
+ /**
7493
+ * Prénom
7494
+ * @type {string}
7495
+ * @memberof StaffBookingUserSummary
7496
+ */
7497
+ 'firstName'?: string | null;
7498
+ /**
7499
+ * Nom
7500
+ * @type {string}
7501
+ * @memberof StaffBookingUserSummary
7502
+ */
7503
+ 'lastName'?: string | null;
7504
+ /**
7505
+ * Email
7506
+ * @type {string}
7507
+ * @memberof StaffBookingUserSummary
7508
+ */
7509
+ 'email'?: string | null;
7510
+ /**
7511
+ * Photo de profil
7512
+ * @type {string}
7513
+ * @memberof StaffBookingUserSummary
7514
+ */
7515
+ 'profilePictureUrl'?: string | null;
7516
+ }
7517
+ /**
7518
+ *
7519
+ * @export
7520
+ * @interface StaffBookingsPaginatedResponse
7521
+ */
7522
+ export interface StaffBookingsPaginatedResponse {
7523
+ /**
7524
+ * Réservations
7525
+ * @type {Array<StaffBookingListItem>}
7526
+ * @memberof StaffBookingsPaginatedResponse
7527
+ */
7528
+ 'bookings': Array<StaffBookingListItem>;
7529
+ /**
7530
+ * Page courante (1-based)
7531
+ * @type {number}
7532
+ * @memberof StaffBookingsPaginatedResponse
7533
+ */
7534
+ 'page': number;
7535
+ /**
7536
+ * Taille de page
7537
+ * @type {number}
7538
+ * @memberof StaffBookingsPaginatedResponse
7539
+ */
7540
+ 'pageSize': number;
7541
+ /**
7542
+ * Nombre total d\'éléments
7543
+ * @type {number}
7544
+ * @memberof StaffBookingsPaginatedResponse
7545
+ */
7546
+ 'total': number;
7547
+ /**
7548
+ * Nombre total de pages
7549
+ * @type {number}
7550
+ * @memberof StaffBookingsPaginatedResponse
7551
+ */
7552
+ 'totalPages': number;
7553
+ }
7554
+ /**
7555
+ *
7556
+ * @export
7557
+ * @interface StaffCreateBookingRequest
7558
+ */
7559
+ export interface StaffCreateBookingRequest {
7560
+ /**
7561
+ * Liste des créneaux à réserver
7562
+ * @type {Array<string>}
7563
+ * @memberof StaffCreateBookingRequest
7564
+ */
7565
+ 'slotIds': Array<string>;
7566
+ /**
7567
+ *
7568
+ * @type {StaffBookingCustomerPayload}
7569
+ * @memberof StaffCreateBookingRequest
7570
+ */
7571
+ 'customer': StaffBookingCustomerPayload;
7572
+ /**
7573
+ * Autres joueurs existants à associer
7574
+ * @type {Array<string>}
7575
+ * @memberof StaffCreateBookingRequest
7576
+ */
7577
+ 'playerIds'?: Array<string>;
7578
+ /**
7579
+ *
7580
+ * @type {PaymentMethod}
7581
+ * @memberof StaffCreateBookingRequest
7582
+ */
7583
+ 'paymentMethod'?: PaymentMethod;
7584
+ }
7427
7585
  /**
7428
7586
  *
7429
7587
  * @export
@@ -8989,10 +9147,10 @@ export interface Team {
8989
9147
  'name': string;
8990
9148
  /**
8991
9149
  *
8992
- * @type {Array<EventUser>}
9150
+ * @type {Array<string>}
8993
9151
  * @memberof Team
8994
9152
  */
8995
- 'players': Array<EventUser>;
9153
+ 'players': Array<string>;
8996
9154
  }
8997
9155
  /**
8998
9156
  *
@@ -9459,6 +9617,12 @@ export interface UpdateEventRequest {
9459
9617
  * @memberof UpdateEventRequest
9460
9618
  */
9461
9619
  'teamLimit'?: number;
9620
+ /**
9621
+ *
9622
+ * @type {number}
9623
+ * @memberof UpdateEventRequest
9624
+ */
9625
+ 'playersPerTeam'?: number;
9462
9626
  /**
9463
9627
  *
9464
9628
  * @type {number}
@@ -9473,10 +9637,22 @@ export interface UpdateEventRequest {
9473
9637
  'subscriberPrices'?: Array<SubscriberPrice>;
9474
9638
  /**
9475
9639
  *
9476
- * @type {string}
9640
+ * @type {string}
9641
+ * @memberof UpdateEventRequest
9642
+ */
9643
+ 'visibilityType'?: UpdateEventRequestVisibilityTypeEnum;
9644
+ /**
9645
+ *
9646
+ * @type {Array<string | null>}
9647
+ * @memberof UpdateEventRequest
9648
+ */
9649
+ 'levels'?: Array<string | null>;
9650
+ /**
9651
+ *
9652
+ * @type {Array<EventSponsor>}
9477
9653
  * @memberof UpdateEventRequest
9478
9654
  */
9479
- 'visibilityType'?: UpdateEventRequestVisibilityTypeEnum;
9655
+ 'sponsors'?: Array<EventSponsor>;
9480
9656
  }
9481
9657
  export declare const UpdateEventRequestTypeEnum: {
9482
9658
  readonly Event: "event";
@@ -10676,6 +10852,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
10676
10852
  * @throws {RequiredError}
10677
10853
  */
10678
10854
  checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10855
+ /**
10856
+ * Créer une réservation pour un joueur depuis l\'espace staff
10857
+ * @param {StaffCreateBookingRequest} staffCreateBookingRequest
10858
+ * @param {*} [options] Override http request option.
10859
+ * @throws {RequiredError}
10860
+ */
10861
+ createStaffBooking: (staffCreateBookingRequest: StaffCreateBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10679
10862
  /**
10680
10863
  * Obtenir une réservation par ID
10681
10864
  * @param {string} bookingId
@@ -10711,6 +10894,17 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
10711
10894
  * @throws {RequiredError}
10712
10895
  */
10713
10896
  getWeeklyBookings: (weekId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10897
+ /**
10898
+ * Liste paginée des réservations du club pour le staff
10899
+ * @param {number} [page]
10900
+ * @param {number} [pageSize]
10901
+ * @param {string} [search]
10902
+ * @param {string} [filters]
10903
+ * @param {string} [sorting]
10904
+ * @param {*} [options] Override http request option.
10905
+ * @throws {RequiredError}
10906
+ */
10907
+ listClubBookings: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10714
10908
  };
10715
10909
  /**
10716
10910
  * BookingsStaffApi - functional programming interface
@@ -10725,6 +10919,13 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
10725
10919
  * @throws {RequiredError}
10726
10920
  */
10727
10921
  checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
10922
+ /**
10923
+ * Créer une réservation pour un joueur depuis l\'espace staff
10924
+ * @param {StaffCreateBookingRequest} staffCreateBookingRequest
10925
+ * @param {*} [options] Override http request option.
10926
+ * @throws {RequiredError}
10927
+ */
10928
+ createStaffBooking(staffCreateBookingRequest: StaffCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
10728
10929
  /**
10729
10930
  * Obtenir une réservation par ID
10730
10931
  * @param {string} bookingId
@@ -10760,6 +10961,17 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
10760
10961
  * @throws {RequiredError}
10761
10962
  */
10762
10963
  getWeeklyBookings(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsWithTimeBoundsResponse>>;
10964
+ /**
10965
+ * Liste paginée des réservations du club pour le staff
10966
+ * @param {number} [page]
10967
+ * @param {number} [pageSize]
10968
+ * @param {string} [search]
10969
+ * @param {string} [filters]
10970
+ * @param {string} [sorting]
10971
+ * @param {*} [options] Override http request option.
10972
+ * @throws {RequiredError}
10973
+ */
10974
+ listClubBookings(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffBookingsPaginatedResponse>>;
10763
10975
  };
10764
10976
  /**
10765
10977
  * BookingsStaffApi - factory interface
@@ -10773,6 +10985,13 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
10773
10985
  * @throws {RequiredError}
10774
10986
  */
10775
10987
  checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
10988
+ /**
10989
+ * Créer une réservation pour un joueur depuis l\'espace staff
10990
+ * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
10991
+ * @param {*} [options] Override http request option.
10992
+ * @throws {RequiredError}
10993
+ */
10994
+ createStaffBooking(requestParameters: BookingsStaffApiCreateStaffBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
10776
10995
  /**
10777
10996
  * Obtenir une réservation par ID
10778
10997
  * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
@@ -10808,6 +11027,13 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
10808
11027
  * @throws {RequiredError}
10809
11028
  */
10810
11029
  getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsWithTimeBoundsResponse>;
11030
+ /**
11031
+ * Liste paginée des réservations du club pour le staff
11032
+ * @param {BookingsStaffApiListClubBookingsRequest} requestParameters Request parameters.
11033
+ * @param {*} [options] Override http request option.
11034
+ * @throws {RequiredError}
11035
+ */
11036
+ listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
10811
11037
  };
10812
11038
  /**
10813
11039
  * Request parameters for checkInPlayers operation in BookingsStaffApi.
@@ -10828,6 +11054,19 @@ export interface BookingsStaffApiCheckInPlayersRequest {
10828
11054
  */
10829
11055
  readonly checkInPlayersRequest: CheckInPlayersRequest;
10830
11056
  }
11057
+ /**
11058
+ * Request parameters for createStaffBooking operation in BookingsStaffApi.
11059
+ * @export
11060
+ * @interface BookingsStaffApiCreateStaffBookingRequest
11061
+ */
11062
+ export interface BookingsStaffApiCreateStaffBookingRequest {
11063
+ /**
11064
+ *
11065
+ * @type {StaffCreateBookingRequest}
11066
+ * @memberof BookingsStaffApiCreateStaffBooking
11067
+ */
11068
+ readonly staffCreateBookingRequest: StaffCreateBookingRequest;
11069
+ }
10831
11070
  /**
10832
11071
  * Request parameters for getBookingById operation in BookingsStaffApi.
10833
11072
  * @export
@@ -10893,6 +11132,43 @@ export interface BookingsStaffApiGetWeeklyBookingsRequest {
10893
11132
  */
10894
11133
  readonly weekId: string;
10895
11134
  }
11135
+ /**
11136
+ * Request parameters for listClubBookings operation in BookingsStaffApi.
11137
+ * @export
11138
+ * @interface BookingsStaffApiListClubBookingsRequest
11139
+ */
11140
+ export interface BookingsStaffApiListClubBookingsRequest {
11141
+ /**
11142
+ *
11143
+ * @type {number}
11144
+ * @memberof BookingsStaffApiListClubBookings
11145
+ */
11146
+ readonly page?: number;
11147
+ /**
11148
+ *
11149
+ * @type {number}
11150
+ * @memberof BookingsStaffApiListClubBookings
11151
+ */
11152
+ readonly pageSize?: number;
11153
+ /**
11154
+ *
11155
+ * @type {string}
11156
+ * @memberof BookingsStaffApiListClubBookings
11157
+ */
11158
+ readonly search?: string;
11159
+ /**
11160
+ *
11161
+ * @type {string}
11162
+ * @memberof BookingsStaffApiListClubBookings
11163
+ */
11164
+ readonly filters?: string;
11165
+ /**
11166
+ *
11167
+ * @type {string}
11168
+ * @memberof BookingsStaffApiListClubBookings
11169
+ */
11170
+ readonly sorting?: string;
11171
+ }
10896
11172
  /**
10897
11173
  * BookingsStaffApi - object-oriented interface
10898
11174
  * @export
@@ -10908,6 +11184,14 @@ export declare class BookingsStaffApi extends BaseAPI {
10908
11184
  * @memberof BookingsStaffApi
10909
11185
  */
10910
11186
  checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
11187
+ /**
11188
+ * Créer une réservation pour un joueur depuis l\'espace staff
11189
+ * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
11190
+ * @param {*} [options] Override http request option.
11191
+ * @throws {RequiredError}
11192
+ * @memberof BookingsStaffApi
11193
+ */
11194
+ createStaffBooking(requestParameters: BookingsStaffApiCreateStaffBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
10911
11195
  /**
10912
11196
  * Obtenir une réservation par ID
10913
11197
  * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
@@ -10948,6 +11232,14 @@ export declare class BookingsStaffApi extends BaseAPI {
10948
11232
  * @memberof BookingsStaffApi
10949
11233
  */
10950
11234
  getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
11235
+ /**
11236
+ * Liste paginée des réservations du club pour le staff
11237
+ * @param {BookingsStaffApiListClubBookingsRequest} requestParameters Request parameters.
11238
+ * @param {*} [options] Override http request option.
11239
+ * @throws {RequiredError}
11240
+ * @memberof BookingsStaffApi
11241
+ */
11242
+ listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffBookingsPaginatedResponse, any, {}>>;
10951
11243
  }
10952
11244
  /**
10953
11245
  * BookingsUserApi - axios parameter creator
@@ -10962,7 +11254,7 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
10962
11254
  */
10963
11255
  cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10964
11256
  /**
10965
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11257
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10966
11258
  * @param {CreateBookingRequest} createBookingRequest
10967
11259
  * @param {*} [options] Override http request option.
10968
11260
  * @throws {RequiredError}
@@ -10982,7 +11274,7 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
10982
11274
  */
10983
11275
  cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
10984
11276
  /**
10985
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11277
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10986
11278
  * @param {CreateBookingRequest} createBookingRequest
10987
11279
  * @param {*} [options] Override http request option.
10988
11280
  * @throws {RequiredError}
@@ -11002,7 +11294,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
11002
11294
  */
11003
11295
  cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
11004
11296
  /**
11005
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11297
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11006
11298
  * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
11007
11299
  * @param {*} [options] Override http request option.
11008
11300
  * @throws {RequiredError}
@@ -11051,7 +11343,7 @@ export declare class BookingsUserApi extends BaseAPI {
11051
11343
  */
11052
11344
  cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
11053
11345
  /**
11054
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11346
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11055
11347
  * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
11056
11348
  * @param {*} [options] Override http request option.
11057
11349
  * @throws {RequiredError}
@@ -11065,18 +11357,12 @@ export declare class BookingsUserApi extends BaseAPI {
11065
11357
  */
11066
11358
  export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
11067
11359
  /**
11068
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11360
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11069
11361
  * @param {ClientRegisterRequest} clientRegisterRequest
11070
11362
  * @param {*} [options] Override http request option.
11071
11363
  * @throws {RequiredError}
11072
11364
  */
11073
11365
  clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11074
- /**
11075
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11076
- * @param {*} [options] Override http request option.
11077
- * @throws {RequiredError}
11078
- */
11079
- getClientSubscriptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11080
11366
  /**
11081
11367
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11082
11368
  * @param {*} [options] Override http request option.
@@ -11084,7 +11370,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11084
11370
  */
11085
11371
  getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11086
11372
  /**
11087
- * 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
11373
+ * 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
11088
11374
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
11089
11375
  * @param {*} [options] Override http request option.
11090
11376
  * @throws {RequiredError}
@@ -11097,18 +11383,12 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11097
11383
  */
11098
11384
  export declare const ClientApiFp: (configuration?: Configuration) => {
11099
11385
  /**
11100
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11386
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11101
11387
  * @param {ClientRegisterRequest} clientRegisterRequest
11102
11388
  * @param {*} [options] Override http request option.
11103
11389
  * @throws {RequiredError}
11104
11390
  */
11105
11391
  clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
11106
- /**
11107
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11108
- * @param {*} [options] Override http request option.
11109
- * @throws {RequiredError}
11110
- */
11111
- getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>>;
11112
11392
  /**
11113
11393
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11114
11394
  * @param {*} [options] Override http request option.
@@ -11116,7 +11396,7 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11116
11396
  */
11117
11397
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
11118
11398
  /**
11119
- * 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
11399
+ * 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
11120
11400
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
11121
11401
  * @param {*} [options] Override http request option.
11122
11402
  * @throws {RequiredError}
@@ -11129,18 +11409,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11129
11409
  */
11130
11410
  export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11131
11411
  /**
11132
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11412
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11133
11413
  * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
11134
11414
  * @param {*} [options] Override http request option.
11135
11415
  * @throws {RequiredError}
11136
11416
  */
11137
11417
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
11138
- /**
11139
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11140
- * @param {*} [options] Override http request option.
11141
- * @throws {RequiredError}
11142
- */
11143
- getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse>;
11144
11418
  /**
11145
11419
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11146
11420
  * @param {*} [options] Override http request option.
@@ -11148,7 +11422,7 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
11148
11422
  */
11149
11423
  getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
11150
11424
  /**
11151
- * 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
11425
+ * 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
11152
11426
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
11153
11427
  * @param {*} [options] Override http request option.
11154
11428
  * @throws {RequiredError}
@@ -11189,20 +11463,13 @@ export interface ClientApiOnboardClubRequest {
11189
11463
  */
11190
11464
  export declare class ClientApi extends BaseAPI {
11191
11465
  /**
11192
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11466
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11193
11467
  * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
11194
11468
  * @param {*} [options] Override http request option.
11195
11469
  * @throws {RequiredError}
11196
11470
  * @memberof ClientApi
11197
11471
  */
11198
11472
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
11199
- /**
11200
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11201
- * @param {*} [options] Override http request option.
11202
- * @throws {RequiredError}
11203
- * @memberof ClientApi
11204
- */
11205
- getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientSubscriptionsResponse, any, {}>>;
11206
11473
  /**
11207
11474
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11208
11475
  * @param {*} [options] Override http request option.
@@ -11211,7 +11478,7 @@ export declare class ClientApi extends BaseAPI {
11211
11478
  */
11212
11479
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
11213
11480
  /**
11214
- * 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
11481
+ * 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
11215
11482
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
11216
11483
  * @param {*} [options] Override http request option.
11217
11484
  * @throws {RequiredError}
@@ -11332,10 +11599,14 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
11332
11599
  getClubPlayerStatisticsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11333
11600
  /**
11334
11601
  * Récupère la liste des joueurs du club
11602
+ * @param {number} [page]
11603
+ * @param {number} [pageSize]
11604
+ * @param {string} [search]
11605
+ * @param {string} [filters]
11335
11606
  * @param {*} [options] Override http request option.
11336
11607
  * @throws {RequiredError}
11337
11608
  */
11338
- getClubPlayers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11609
+ getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11339
11610
  /**
11340
11611
  * Récupère le chiffre d\'affaires quotidien
11341
11612
  * @param {string} date
@@ -11446,10 +11717,14 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
11446
11717
  getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>>;
11447
11718
  /**
11448
11719
  * Récupère la liste des joueurs du club
11720
+ * @param {number} [page]
11721
+ * @param {number} [pageSize]
11722
+ * @param {string} [search]
11723
+ * @param {string} [filters]
11449
11724
  * @param {*} [options] Override http request option.
11450
11725
  * @throws {RequiredError}
11451
11726
  */
11452
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClubPlayerResponse>>>;
11727
+ getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
11453
11728
  /**
11454
11729
  * Récupère le chiffre d\'affaires quotidien
11455
11730
  * @param {string} date
@@ -11558,10 +11833,11 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
11558
11833
  getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse>;
11559
11834
  /**
11560
11835
  * Récupère la liste des joueurs du club
11836
+ * @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
11561
11837
  * @param {*} [options] Override http request option.
11562
11838
  * @throws {RequiredError}
11563
11839
  */
11564
- getClubPlayers(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClubPlayerResponse>>;
11840
+ getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse>;
11565
11841
  /**
11566
11842
  * Récupère le chiffre d\'affaires quotidien
11567
11843
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -11697,6 +11973,37 @@ export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
11697
11973
  */
11698
11974
  readonly playerId: string;
11699
11975
  }
11976
+ /**
11977
+ * Request parameters for getClubPlayers operation in ClubAnalyticsStaffApi.
11978
+ * @export
11979
+ * @interface ClubAnalyticsStaffApiGetClubPlayersRequest
11980
+ */
11981
+ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
11982
+ /**
11983
+ *
11984
+ * @type {number}
11985
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
11986
+ */
11987
+ readonly page?: number;
11988
+ /**
11989
+ *
11990
+ * @type {number}
11991
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
11992
+ */
11993
+ readonly pageSize?: number;
11994
+ /**
11995
+ *
11996
+ * @type {string}
11997
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
11998
+ */
11999
+ readonly search?: string;
12000
+ /**
12001
+ *
12002
+ * @type {string}
12003
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
12004
+ */
12005
+ readonly filters?: string;
12006
+ }
11700
12007
  /**
11701
12008
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
11702
12009
  * @export
@@ -11802,11 +12109,12 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
11802
12109
  getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerStatisticsResponse, any, {}>>;
11803
12110
  /**
11804
12111
  * Récupère la liste des joueurs du club
12112
+ * @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
11805
12113
  * @param {*} [options] Override http request option.
11806
12114
  * @throws {RequiredError}
11807
12115
  * @memberof ClubAnalyticsStaffApi
11808
12116
  */
11809
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerResponse[], any, {}>>;
12117
+ getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayersPaginatedResponse, any, {}>>;
11810
12118
  /**
11811
12119
  * Récupère le chiffre d\'affaires quotidien
11812
12120
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -12493,7 +12801,7 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
12493
12801
  */
12494
12802
  export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
12495
12803
  /**
12496
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12804
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12497
12805
  * @param {*} [options] Override http request option.
12498
12806
  * @throws {RequiredError}
12499
12807
  */
@@ -12556,7 +12864,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12556
12864
  */
12557
12865
  getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12558
12866
  /**
12559
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12867
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12560
12868
  * @param {*} [options] Override http request option.
12561
12869
  * @throws {RequiredError}
12562
12870
  */
@@ -12597,7 +12905,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12597
12905
  */
12598
12906
  export declare const ClubsApiFp: (configuration?: Configuration) => {
12599
12907
  /**
12600
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12908
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12601
12909
  * @param {*} [options] Override http request option.
12602
12910
  * @throws {RequiredError}
12603
12911
  */
@@ -12660,7 +12968,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12660
12968
  */
12661
12969
  getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
12662
12970
  /**
12663
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12971
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12664
12972
  * @param {*} [options] Override http request option.
12665
12973
  * @throws {RequiredError}
12666
12974
  */
@@ -12701,7 +13009,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12701
13009
  */
12702
13010
  export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12703
13011
  /**
12704
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
13012
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12705
13013
  * @param {*} [options] Override http request option.
12706
13014
  * @throws {RequiredError}
12707
13015
  */
@@ -12761,7 +13069,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
12761
13069
  */
12762
13070
  getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
12763
13071
  /**
12764
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
13072
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12765
13073
  * @param {*} [options] Override http request option.
12766
13074
  * @throws {RequiredError}
12767
13075
  */
@@ -12957,7 +13265,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
12957
13265
  */
12958
13266
  export declare class ClubsApi extends BaseAPI {
12959
13267
  /**
12960
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
13268
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12961
13269
  * @param {*} [options] Override http request option.
12962
13270
  * @throws {RequiredError}
12963
13271
  * @memberof ClubsApi
@@ -13026,7 +13334,7 @@ export declare class ClubsApi extends BaseAPI {
13026
13334
  */
13027
13335
  getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
13028
13336
  /**
13029
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
13337
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
13030
13338
  * @param {*} [options] Override http request option.
13031
13339
  * @throws {RequiredError}
13032
13340
  * @memberof ClubsApi
@@ -14047,10 +14355,17 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
14047
14355
  getCourtsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14048
14356
  /**
14049
14357
  *
14358
+ * @param {number} [page]
14359
+ * @param {number} [pageSize]
14360
+ * @param {string} [search]
14361
+ * @param {string} [filters]
14362
+ * @param {string} [status]
14363
+ * @param {string} [startDate]
14364
+ * @param {string} [endDate]
14050
14365
  * @param {*} [options] Override http request option.
14051
14366
  * @throws {RequiredError}
14052
14367
  */
14053
- getInvoices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14368
+ getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14054
14369
  /**
14055
14370
  *
14056
14371
  * @param {string} id
@@ -14118,10 +14433,17 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
14118
14433
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CourtResponse>>>;
14119
14434
  /**
14120
14435
  *
14436
+ * @param {number} [page]
14437
+ * @param {number} [pageSize]
14438
+ * @param {string} [search]
14439
+ * @param {string} [filters]
14440
+ * @param {string} [status]
14441
+ * @param {string} [startDate]
14442
+ * @param {string} [endDate]
14121
14443
  * @param {*} [options] Override http request option.
14122
14444
  * @throws {RequiredError}
14123
14445
  */
14124
- getInvoices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
14446
+ getInvoices(page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
14125
14447
  /**
14126
14448
  *
14127
14449
  * @param {string} id
@@ -14188,10 +14510,11 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
14188
14510
  getCourtsByClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<CourtResponse>>;
14189
14511
  /**
14190
14512
  *
14513
+ * @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
14191
14514
  * @param {*} [options] Override http request option.
14192
14515
  * @throws {RequiredError}
14193
14516
  */
14194
- getInvoices(options?: RawAxiosRequestConfig): AxiosPromise<any>;
14517
+ getInvoices(requestParameters?: ClubsStaffApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
14195
14518
  /**
14196
14519
  *
14197
14520
  * @param {ClubsStaffApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -14226,6 +14549,55 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
14226
14549
  */
14227
14550
  readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
14228
14551
  }
14552
+ /**
14553
+ * Request parameters for getInvoices operation in ClubsStaffApi.
14554
+ * @export
14555
+ * @interface ClubsStaffApiGetInvoicesRequest
14556
+ */
14557
+ export interface ClubsStaffApiGetInvoicesRequest {
14558
+ /**
14559
+ *
14560
+ * @type {number}
14561
+ * @memberof ClubsStaffApiGetInvoices
14562
+ */
14563
+ readonly page?: number;
14564
+ /**
14565
+ *
14566
+ * @type {number}
14567
+ * @memberof ClubsStaffApiGetInvoices
14568
+ */
14569
+ readonly pageSize?: number;
14570
+ /**
14571
+ *
14572
+ * @type {string}
14573
+ * @memberof ClubsStaffApiGetInvoices
14574
+ */
14575
+ readonly search?: string;
14576
+ /**
14577
+ *
14578
+ * @type {string}
14579
+ * @memberof ClubsStaffApiGetInvoices
14580
+ */
14581
+ readonly filters?: string;
14582
+ /**
14583
+ *
14584
+ * @type {string}
14585
+ * @memberof ClubsStaffApiGetInvoices
14586
+ */
14587
+ readonly status?: string;
14588
+ /**
14589
+ *
14590
+ * @type {string}
14591
+ * @memberof ClubsStaffApiGetInvoices
14592
+ */
14593
+ readonly startDate?: string;
14594
+ /**
14595
+ *
14596
+ * @type {string}
14597
+ * @memberof ClubsStaffApiGetInvoices
14598
+ */
14599
+ readonly endDate?: string;
14600
+ }
14229
14601
  /**
14230
14602
  * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
14231
14603
  * @export
@@ -14317,11 +14689,12 @@ export declare class ClubsStaffApi extends BaseAPI {
14317
14689
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtResponse[], any, {}>>;
14318
14690
  /**
14319
14691
  *
14692
+ * @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
14320
14693
  * @param {*} [options] Override http request option.
14321
14694
  * @throws {RequiredError}
14322
14695
  * @memberof ClubsStaffApi
14323
14696
  */
14324
- getInvoices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
14697
+ getInvoices(requestParameters?: ClubsStaffApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
14325
14698
  /**
14326
14699
  *
14327
14700
  * @param {ClubsStaffApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -14412,22 +14785,6 @@ export declare class DefaultApi extends BaseAPI {
14412
14785
  * @export
14413
14786
  */
14414
14787
  export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
14415
- /**
14416
- * Check team name availability for TEAM participation events
14417
- * @param {string} eventId
14418
- * @param {string} [teamName]
14419
- * @param {*} [options] Override http request option.
14420
- * @throws {RequiredError}
14421
- */
14422
- checkTeamNameAvailability: (eventId: string, teamName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14423
- /**
14424
- * Estime le prix de participation à un événement pour une liste de joueurs
14425
- * @param {string} eventId
14426
- * @param {EstimateEventPriceRequest} estimateEventPriceRequest
14427
- * @param {*} [options] Override http request option.
14428
- * @throws {RequiredError}
14429
- */
14430
- estimateEventPrice: (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14431
14788
  /**
14432
14789
  * Get a specific event by ID
14433
14790
  * @param {string} eventId
@@ -14466,22 +14823,6 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
14466
14823
  * @export
14467
14824
  */
14468
14825
  export declare const EventsApiFp: (configuration?: Configuration) => {
14469
- /**
14470
- * Check team name availability for TEAM participation events
14471
- * @param {string} eventId
14472
- * @param {string} [teamName]
14473
- * @param {*} [options] Override http request option.
14474
- * @throws {RequiredError}
14475
- */
14476
- checkTeamNameAvailability(eventId: string, teamName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckTeamNameAvailability200Response>>;
14477
- /**
14478
- * Estime le prix de participation à un événement pour une liste de joueurs
14479
- * @param {string} eventId
14480
- * @param {EstimateEventPriceRequest} estimateEventPriceRequest
14481
- * @param {*} [options] Override http request option.
14482
- * @throws {RequiredError}
14483
- */
14484
- estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
14485
14826
  /**
14486
14827
  * Get a specific event by ID
14487
14828
  * @param {string} eventId
@@ -14520,20 +14861,6 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
14520
14861
  * @export
14521
14862
  */
14522
14863
  export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14523
- /**
14524
- * Check team name availability for TEAM participation events
14525
- * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
14526
- * @param {*} [options] Override http request option.
14527
- * @throws {RequiredError}
14528
- */
14529
- checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckTeamNameAvailability200Response>;
14530
- /**
14531
- * Estime le prix de participation à un événement pour une liste de joueurs
14532
- * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
14533
- * @param {*} [options] Override http request option.
14534
- * @throws {RequiredError}
14535
- */
14536
- estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
14537
14864
  /**
14538
14865
  * Get a specific event by ID
14539
14866
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -14563,44 +14890,6 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
14563
14890
  */
14564
14891
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
14565
14892
  };
14566
- /**
14567
- * Request parameters for checkTeamNameAvailability operation in EventsApi.
14568
- * @export
14569
- * @interface EventsApiCheckTeamNameAvailabilityRequest
14570
- */
14571
- export interface EventsApiCheckTeamNameAvailabilityRequest {
14572
- /**
14573
- *
14574
- * @type {string}
14575
- * @memberof EventsApiCheckTeamNameAvailability
14576
- */
14577
- readonly eventId: string;
14578
- /**
14579
- *
14580
- * @type {string}
14581
- * @memberof EventsApiCheckTeamNameAvailability
14582
- */
14583
- readonly teamName?: string;
14584
- }
14585
- /**
14586
- * Request parameters for estimateEventPrice operation in EventsApi.
14587
- * @export
14588
- * @interface EventsApiEstimateEventPriceRequest
14589
- */
14590
- export interface EventsApiEstimateEventPriceRequest {
14591
- /**
14592
- *
14593
- * @type {string}
14594
- * @memberof EventsApiEstimateEventPrice
14595
- */
14596
- readonly eventId: string;
14597
- /**
14598
- *
14599
- * @type {EstimateEventPriceRequest}
14600
- * @memberof EventsApiEstimateEventPrice
14601
- */
14602
- readonly estimateEventPriceRequest: EstimateEventPriceRequest;
14603
- }
14604
14893
  /**
14605
14894
  * Request parameters for getEventById operation in EventsApi.
14606
14895
  * @export
@@ -14684,22 +14973,6 @@ export interface EventsApiLeaveEventRequest {
14684
14973
  * @extends {BaseAPI}
14685
14974
  */
14686
14975
  export declare class EventsApi extends BaseAPI {
14687
- /**
14688
- * Check team name availability for TEAM participation events
14689
- * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
14690
- * @param {*} [options] Override http request option.
14691
- * @throws {RequiredError}
14692
- * @memberof EventsApi
14693
- */
14694
- checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckTeamNameAvailability200Response, any, {}>>;
14695
- /**
14696
- * Estime le prix de participation à un événement pour une liste de joueurs
14697
- * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
14698
- * @param {*} [options] Override http request option.
14699
- * @throws {RequiredError}
14700
- * @memberof EventsApi
14701
- */
14702
- estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
14703
14976
  /**
14704
14977
  * Get a specific event by ID
14705
14978
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -15902,6 +16175,13 @@ export declare const SubscriptionsStaffApiAxiosParamCreator: (configuration?: Co
15902
16175
  * @throws {RequiredError}
15903
16176
  */
15904
16177
  getClubPlans: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16178
+ /**
16179
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16180
+ * @param {SendSubscriptionInvitationRequest} sendSubscriptionInvitationRequest
16181
+ * @param {*} [options] Override http request option.
16182
+ * @throws {RequiredError}
16183
+ */
16184
+ sendSubscriptionInvitation: (sendSubscriptionInvitationRequest: SendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15905
16185
  };
15906
16186
  /**
15907
16187
  * SubscriptionsStaffApi - functional programming interface
@@ -15914,6 +16194,13 @@ export declare const SubscriptionsStaffApiFp: (configuration?: Configuration) =>
15914
16194
  * @throws {RequiredError}
15915
16195
  */
15916
16196
  getClubPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SubscriptionPlanResponse>>>;
16197
+ /**
16198
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16199
+ * @param {SendSubscriptionInvitationRequest} sendSubscriptionInvitationRequest
16200
+ * @param {*} [options] Override http request option.
16201
+ * @throws {RequiredError}
16202
+ */
16203
+ sendSubscriptionInvitation(sendSubscriptionInvitationRequest: SendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendSubscriptionInvitationResponse>>;
15917
16204
  };
15918
16205
  /**
15919
16206
  * SubscriptionsStaffApi - factory interface
@@ -15926,7 +16213,27 @@ export declare const SubscriptionsStaffApiFactory: (configuration?: Configuratio
15926
16213
  * @throws {RequiredError}
15927
16214
  */
15928
16215
  getClubPlans(options?: RawAxiosRequestConfig): AxiosPromise<Array<SubscriptionPlanResponse>>;
16216
+ /**
16217
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16218
+ * @param {SubscriptionsStaffApiSendSubscriptionInvitationRequest} requestParameters Request parameters.
16219
+ * @param {*} [options] Override http request option.
16220
+ * @throws {RequiredError}
16221
+ */
16222
+ sendSubscriptionInvitation(requestParameters: SubscriptionsStaffApiSendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig): AxiosPromise<SendSubscriptionInvitationResponse>;
15929
16223
  };
16224
+ /**
16225
+ * Request parameters for sendSubscriptionInvitation operation in SubscriptionsStaffApi.
16226
+ * @export
16227
+ * @interface SubscriptionsStaffApiSendSubscriptionInvitationRequest
16228
+ */
16229
+ export interface SubscriptionsStaffApiSendSubscriptionInvitationRequest {
16230
+ /**
16231
+ *
16232
+ * @type {SendSubscriptionInvitationRequest}
16233
+ * @memberof SubscriptionsStaffApiSendSubscriptionInvitation
16234
+ */
16235
+ readonly sendSubscriptionInvitationRequest: SendSubscriptionInvitationRequest;
16236
+ }
15930
16237
  /**
15931
16238
  * SubscriptionsStaffApi - object-oriented interface
15932
16239
  * @export
@@ -15941,6 +16248,14 @@ export declare class SubscriptionsStaffApi extends BaseAPI {
15941
16248
  * @memberof SubscriptionsStaffApi
15942
16249
  */
15943
16250
  getClubPlans(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionPlanResponse[], any, {}>>;
16251
+ /**
16252
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16253
+ * @param {SubscriptionsStaffApiSendSubscriptionInvitationRequest} requestParameters Request parameters.
16254
+ * @param {*} [options] Override http request option.
16255
+ * @throws {RequiredError}
16256
+ * @memberof SubscriptionsStaffApi
16257
+ */
16258
+ sendSubscriptionInvitation(requestParameters: SubscriptionsStaffApiSendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SendSubscriptionInvitationResponse, any, {}>>;
15944
16259
  }
15945
16260
  /**
15946
16261
  * SubscriptionsUserApi - axios parameter creator