@tennac-booking/sdk 1.0.118 → 1.0.119

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 (66) hide show
  1. package/.openapi-generator/FILES +313 -309
  2. package/README.md +18 -14
  3. package/api.ts +1052 -635
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +828 -507
  8. package/dist/api.js +325 -233
  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 +828 -507
  16. package/dist/esm/api.js +324 -232
  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/ClubsApi.md +2 -2
  35. package/docs/ClubsStaffApi.md +27 -2
  36. package/docs/CreateEventRequest.md +3 -1
  37. package/docs/EventResponse.md +5 -1
  38. package/docs/EventSponsor.md +24 -0
  39. package/docs/EventsApi.md +0 -115
  40. package/docs/JoinEventRequest.md +0 -2
  41. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
  42. package/docs/JoinEventResponse.md +0 -14
  43. package/docs/SendSubscriptionInvitationRequest.md +22 -0
  44. package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
  45. package/docs/StaffBookingCourtSummary.md +26 -0
  46. package/docs/StaffBookingCustomerPayload.md +28 -0
  47. package/docs/StaffBookingListItem.md +54 -0
  48. package/docs/StaffBookingPaymentState.md +18 -0
  49. package/docs/StaffBookingPaymentSummary.md +34 -0
  50. package/docs/StaffBookingSportSummary.md +24 -0
  51. package/docs/StaffBookingUserSummary.md +28 -0
  52. package/docs/StaffBookingsPaginatedResponse.md +28 -0
  53. package/docs/StaffCreateBookingRequest.md +26 -0
  54. package/docs/SubscriptionsStaffApi.md +55 -0
  55. package/docs/Team.md +1 -1
  56. package/docs/UpdateEventRequest.md +6 -0
  57. package/index.ts +1 -1
  58. package/package.json +1 -1
  59. package/docs/ClientSubscription.md +0 -31
  60. package/docs/ClientSubscriptionItem.md +0 -25
  61. package/docs/ClientSubscriptionsResponse.md +0 -21
  62. package/docs/EstimateEventPrice200Response.md +0 -32
  63. package/docs/EstimateEventPriceRequest.md +0 -26
  64. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  65. package/docs/EventUser.md +0 -28
  66. package/docs/JoinEventResponseOnsitePaymentsInner.md +0 -24
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.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>}
@@ -4492,6 +4319,18 @@ export interface EventResponse {
4492
4319
  * @memberof EventResponse
4493
4320
  */
4494
4321
  'visibilityType': EventResponseVisibilityTypeEnum;
4322
+ /**
4323
+ *
4324
+ * @type {Array<string | null>}
4325
+ * @memberof EventResponse
4326
+ */
4327
+ 'levels'?: Array<string | null>;
4328
+ /**
4329
+ *
4330
+ * @type {Array<EventSponsor>}
4331
+ * @memberof EventResponse
4332
+ */
4333
+ 'sponsors'?: Array<EventSponsor>;
4495
4334
  /**
4496
4335
  *
4497
4336
  * @type {string}
@@ -4543,39 +4382,27 @@ export type EventResponseVisibilityTypeEnum = typeof EventResponseVisibilityType
4543
4382
  /**
4544
4383
  *
4545
4384
  * @export
4546
- * @interface EventUser
4385
+ * @interface EventSponsor
4547
4386
  */
4548
- export interface EventUser {
4549
- /**
4550
- *
4551
- * @type {string}
4552
- * @memberof EventUser
4553
- */
4554
- 'id': string;
4555
- /**
4556
- *
4557
- * @type {string}
4558
- * @memberof EventUser
4559
- */
4560
- 'firstName': string;
4387
+ export interface EventSponsor {
4561
4388
  /**
4562
4389
  *
4563
4390
  * @type {string}
4564
- * @memberof EventUser
4391
+ * @memberof EventSponsor
4565
4392
  */
4566
- 'lastName': string;
4393
+ 'name'?: string;
4567
4394
  /**
4568
4395
  *
4569
4396
  * @type {string}
4570
- * @memberof EventUser
4397
+ * @memberof EventSponsor
4571
4398
  */
4572
- 'username'?: string;
4399
+ 'website'?: string;
4573
4400
  /**
4574
4401
  *
4575
4402
  * @type {string}
4576
- * @memberof EventUser
4403
+ * @memberof EventSponsor
4577
4404
  */
4578
- 'profilePicture'?: string;
4405
+ 'logo'?: string | null;
4579
4406
  }
4580
4407
  /**
4581
4408
  *
@@ -5480,12 +5307,6 @@ export interface JoinEventRequest {
5480
5307
  * @memberof JoinEventRequest
5481
5308
  */
5482
5309
  'useDefaultPaymentMethod'?: boolean;
5483
- /**
5484
- *
5485
- * @type {number}
5486
- * @memberof JoinEventRequest
5487
- */
5488
- 'creditToUseInCents'?: number;
5489
5310
  }
5490
5311
  /**
5491
5312
  *
@@ -5493,12 +5314,6 @@ export interface JoinEventRequest {
5493
5314
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5494
5315
  */
5495
5316
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5496
- /**
5497
- *
5498
- * @type {Array<string>}
5499
- * @memberof JoinEventRequestPlayersPaymentMethodsInner
5500
- */
5501
- 'paysAlsoFor'?: Array<string>;
5502
5317
  /**
5503
5318
  *
5504
5319
  * @type {PaymentMethod}
@@ -5530,113 +5345,42 @@ export interface JoinEventResponse {
5530
5345
  * @memberof JoinEventResponse
5531
5346
  */
5532
5347
  'event': EventResponse;
5348
+ }
5349
+ /**
5350
+ *
5351
+ * @export
5352
+ * @interface LastSixMonthsTurnoverItem
5353
+ */
5354
+ export interface LastSixMonthsTurnoverItem {
5533
5355
  /**
5534
- * Construct a type with a set of properties K of type T
5535
- * @type {{ [key: string]: string; }}
5536
- * @memberof JoinEventResponse
5356
+ * Nom du mois (Jan, Feb, etc.)
5357
+ * @type {string}
5358
+ * @memberof LastSixMonthsTurnoverItem
5537
5359
  */
5538
- 'paymentLinks'?: {
5539
- [key: string]: string;
5540
- };
5360
+ 'month': string;
5541
5361
  /**
5542
- *
5543
- * @type {Array<JoinEventResponseOnsitePaymentsInner>}
5544
- * @memberof JoinEventResponse
5362
+ * Valeur du chiffre d\'affaires
5363
+ * @type {number}
5364
+ * @memberof LastSixMonthsTurnoverItem
5545
5365
  */
5546
- 'onsitePayments'?: Array<JoinEventResponseOnsitePaymentsInner>;
5366
+ 'value': number;
5367
+ }
5368
+ /**
5369
+ *
5370
+ * @export
5371
+ * @interface LevelBySportEntry
5372
+ */
5373
+ export interface LevelBySportEntry {
5547
5374
  /**
5548
5375
  *
5549
5376
  * @type {string}
5550
- * @memberof JoinEventResponse
5377
+ * @memberof LevelBySportEntry
5551
5378
  */
5552
- 'setupNoShowPaymentUrl'?: string;
5379
+ 'level': string;
5553
5380
  /**
5554
5381
  *
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;
5636
- /**
5637
- *
5638
- * @type {string}
5639
- * @memberof LevelBySportEntry
5382
+ * @type {string}
5383
+ * @memberof LevelBySportEntry
5640
5384
  */
5641
5385
  'sport': string;
5642
5386
  }
@@ -7208,6 +6952,44 @@ export interface RevenueBySportItem {
7208
6952
  */
7209
6953
  'totalTurnover': number;
7210
6954
  }
6955
+ /**
6956
+ *
6957
+ * @export
6958
+ * @interface SendSubscriptionInvitationRequest
6959
+ */
6960
+ export interface SendSubscriptionInvitationRequest {
6961
+ /**
6962
+ *
6963
+ * @type {string}
6964
+ * @memberof SendSubscriptionInvitationRequest
6965
+ */
6966
+ 'userId': string;
6967
+ /**
6968
+ * Identifiant Stripe (productId) du plan sélectionné par le staff.
6969
+ * @type {string}
6970
+ * @memberof SendSubscriptionInvitationRequest
6971
+ */
6972
+ 'productId': string;
6973
+ }
6974
+ /**
6975
+ *
6976
+ * @export
6977
+ * @interface SendSubscriptionInvitationResponse
6978
+ */
6979
+ export interface SendSubscriptionInvitationResponse {
6980
+ /**
6981
+ *
6982
+ * @type {string}
6983
+ * @memberof SendSubscriptionInvitationResponse
6984
+ */
6985
+ 'invitationUrl': string;
6986
+ /**
6987
+ *
6988
+ * @type {string}
6989
+ * @memberof SendSubscriptionInvitationResponse
6990
+ */
6991
+ 'message': string;
6992
+ }
7211
6993
  /**
7212
6994
  *
7213
6995
  * @export
@@ -7424,6 +7206,388 @@ export interface SportWithLevels {
7424
7206
  */
7425
7207
  'logos'?: Array<string>;
7426
7208
  }
7209
+ /**
7210
+ *
7211
+ * @export
7212
+ * @interface StaffBookingCourtSummary
7213
+ */
7214
+ export interface StaffBookingCourtSummary {
7215
+ /**
7216
+ * ID du terrain
7217
+ * @type {string}
7218
+ * @memberof StaffBookingCourtSummary
7219
+ */
7220
+ 'id': string;
7221
+ /**
7222
+ * Nom du terrain
7223
+ * @type {string}
7224
+ * @memberof StaffBookingCourtSummary
7225
+ */
7226
+ 'name'?: string | null;
7227
+ /**
7228
+ * Surface
7229
+ * @type {string}
7230
+ * @memberof StaffBookingCourtSummary
7231
+ */
7232
+ 'surface'?: string | null;
7233
+ /**
7234
+ * Terrain intérieur
7235
+ * @type {boolean}
7236
+ * @memberof StaffBookingCourtSummary
7237
+ */
7238
+ 'isIndoor'?: boolean;
7239
+ }
7240
+ /**
7241
+ *
7242
+ * @export
7243
+ * @interface StaffBookingCustomerPayload
7244
+ */
7245
+ export interface StaffBookingCustomerPayload {
7246
+ /**
7247
+ * Identifiant d\'un utilisateur existant
7248
+ * @type {string}
7249
+ * @memberof StaffBookingCustomerPayload
7250
+ */
7251
+ 'userId'?: string;
7252
+ /**
7253
+ * Prénom de l\'invité (requis si userId absent)
7254
+ * @type {string}
7255
+ * @memberof StaffBookingCustomerPayload
7256
+ */
7257
+ 'firstName'?: string;
7258
+ /**
7259
+ * Nom de famille de l\'invité (requis si userId absent)
7260
+ * @type {string}
7261
+ * @memberof StaffBookingCustomerPayload
7262
+ */
7263
+ 'lastName'?: string;
7264
+ /**
7265
+ * Email de contact (requis si userId absent)
7266
+ * @type {string}
7267
+ * @memberof StaffBookingCustomerPayload
7268
+ */
7269
+ 'email'?: string;
7270
+ /**
7271
+ * Numéro de téléphone optionnel
7272
+ * @type {string}
7273
+ * @memberof StaffBookingCustomerPayload
7274
+ */
7275
+ 'phoneNumber'?: string;
7276
+ }
7277
+ /**
7278
+ *
7279
+ * @export
7280
+ * @interface StaffBookingListItem
7281
+ */
7282
+ export interface StaffBookingListItem {
7283
+ /**
7284
+ * ID de la réservation
7285
+ * @type {string}
7286
+ * @memberof StaffBookingListItem
7287
+ */
7288
+ 'id': string;
7289
+ /**
7290
+ * ID du club
7291
+ * @type {string}
7292
+ * @memberof StaffBookingListItem
7293
+ */
7294
+ 'clubId': string;
7295
+ /**
7296
+ *
7297
+ * @type {BookingStatus}
7298
+ * @memberof StaffBookingListItem
7299
+ */
7300
+ 'status': BookingStatus;
7301
+ /**
7302
+ * Date de début
7303
+ * @type {string}
7304
+ * @memberof StaffBookingListItem
7305
+ */
7306
+ 'startDate'?: string | null;
7307
+ /**
7308
+ * Date de fin
7309
+ * @type {string}
7310
+ * @memberof StaffBookingListItem
7311
+ */
7312
+ 'endDate'?: string | null;
7313
+ /**
7314
+ * Durée estimée en minutes
7315
+ * @type {number}
7316
+ * @memberof StaffBookingListItem
7317
+ */
7318
+ 'durationMinutes'?: number | null;
7319
+ /**
7320
+ * Date de création
7321
+ * @type {string}
7322
+ * @memberof StaffBookingListItem
7323
+ */
7324
+ 'createdAt'?: string | null;
7325
+ /**
7326
+ * Dernière mise à jour
7327
+ * @type {string}
7328
+ * @memberof StaffBookingListItem
7329
+ */
7330
+ 'updatedAt'?: string | null;
7331
+ /**
7332
+ * Nombre total de participants (créateur inclus)
7333
+ * @type {number}
7334
+ * @memberof StaffBookingListItem
7335
+ */
7336
+ 'playersCount': number;
7337
+ /**
7338
+ * Prix total (centimes)
7339
+ * @type {number}
7340
+ * @memberof StaffBookingListItem
7341
+ */
7342
+ 'totalPrice': number;
7343
+ /**
7344
+ * Créateur
7345
+ * @type {StaffBookingUserSummary}
7346
+ * @memberof StaffBookingListItem
7347
+ */
7348
+ 'creator'?: StaffBookingUserSummary | null;
7349
+ /**
7350
+ * Participants
7351
+ * @type {Array<StaffBookingUserSummary>}
7352
+ * @memberof StaffBookingListItem
7353
+ */
7354
+ 'players': Array<StaffBookingUserSummary>;
7355
+ /**
7356
+ * Terrains impliqués
7357
+ * @type {Array<StaffBookingCourtSummary>}
7358
+ * @memberof StaffBookingListItem
7359
+ */
7360
+ 'courts': Array<StaffBookingCourtSummary>;
7361
+ /**
7362
+ * Sports associés
7363
+ * @type {Array<StaffBookingSportSummary>}
7364
+ * @memberof StaffBookingListItem
7365
+ */
7366
+ 'sports': Array<StaffBookingSportSummary>;
7367
+ /**
7368
+ *
7369
+ * @type {StaffBookingPaymentSummary}
7370
+ * @memberof StaffBookingListItem
7371
+ */
7372
+ 'paymentSummary': StaffBookingPaymentSummary;
7373
+ /**
7374
+ * Indique si le créateur paie pour tous
7375
+ * @type {boolean}
7376
+ * @memberof StaffBookingListItem
7377
+ */
7378
+ 'isCreatorPayingAll': boolean;
7379
+ /**
7380
+ * Réservation publique
7381
+ * @type {boolean}
7382
+ * @memberof StaffBookingListItem
7383
+ */
7384
+ 'isPublic': boolean;
7385
+ /**
7386
+ * Nombre de créneaux
7387
+ * @type {number}
7388
+ * @memberof StaffBookingListItem
7389
+ */
7390
+ 'slotCount': number;
7391
+ }
7392
+ /**
7393
+ *
7394
+ * @export
7395
+ * @enum {string}
7396
+ */
7397
+ export declare const StaffBookingPaymentState: {
7398
+ readonly None: "none";
7399
+ readonly Paid: "paid";
7400
+ readonly Pending: "pending";
7401
+ readonly Authorized: "authorized";
7402
+ readonly Failed: "failed";
7403
+ readonly Partial: "partial";
7404
+ };
7405
+ export type StaffBookingPaymentState = typeof StaffBookingPaymentState[keyof typeof StaffBookingPaymentState];
7406
+ /**
7407
+ *
7408
+ * @export
7409
+ * @interface StaffBookingPaymentSummary
7410
+ */
7411
+ export interface StaffBookingPaymentSummary {
7412
+ /**
7413
+ *
7414
+ * @type {StaffBookingPaymentState}
7415
+ * @memberof StaffBookingPaymentSummary
7416
+ */
7417
+ 'status': StaffBookingPaymentState;
7418
+ /**
7419
+ * Nombre total de factures
7420
+ * @type {number}
7421
+ * @memberof StaffBookingPaymentSummary
7422
+ */
7423
+ 'totalInvoices': number;
7424
+ /**
7425
+ * Factures payées
7426
+ * @type {number}
7427
+ * @memberof StaffBookingPaymentSummary
7428
+ */
7429
+ 'paidInvoices': number;
7430
+ /**
7431
+ * Factures en attente
7432
+ * @type {number}
7433
+ * @memberof StaffBookingPaymentSummary
7434
+ */
7435
+ 'pendingInvoices': number;
7436
+ /**
7437
+ * Factures autorisées
7438
+ * @type {number}
7439
+ * @memberof StaffBookingPaymentSummary
7440
+ */
7441
+ 'authorizedInvoices': number;
7442
+ /**
7443
+ * Factures échouées ou annulées
7444
+ * @type {number}
7445
+ * @memberof StaffBookingPaymentSummary
7446
+ */
7447
+ 'failedInvoices': number;
7448
+ /**
7449
+ * Méthodes de paiement impliquées
7450
+ * @type {Array<PaymentMethod>}
7451
+ * @memberof StaffBookingPaymentSummary
7452
+ */
7453
+ 'paymentMethods': Array<PaymentMethod>;
7454
+ /**
7455
+ * Statuts des factures rencontrés
7456
+ * @type {Array<InvoiceStatus>}
7457
+ * @memberof StaffBookingPaymentSummary
7458
+ */
7459
+ 'invoiceStatuses': Array<InvoiceStatus>;
7460
+ }
7461
+ /**
7462
+ *
7463
+ * @export
7464
+ * @interface StaffBookingSportSummary
7465
+ */
7466
+ export interface StaffBookingSportSummary {
7467
+ /**
7468
+ * ID du sport
7469
+ * @type {string}
7470
+ * @memberof StaffBookingSportSummary
7471
+ */
7472
+ 'id': string;
7473
+ /**
7474
+ * Nom du sport
7475
+ * @type {string}
7476
+ * @memberof StaffBookingSportSummary
7477
+ */
7478
+ 'name'?: string | null;
7479
+ /**
7480
+ * Clé du sport
7481
+ * @type {string}
7482
+ * @memberof StaffBookingSportSummary
7483
+ */
7484
+ 'key'?: string | null;
7485
+ }
7486
+ /**
7487
+ *
7488
+ * @export
7489
+ * @interface StaffBookingUserSummary
7490
+ */
7491
+ export interface StaffBookingUserSummary {
7492
+ /**
7493
+ * ID de l\'utilisateur
7494
+ * @type {string}
7495
+ * @memberof StaffBookingUserSummary
7496
+ */
7497
+ 'id': string;
7498
+ /**
7499
+ * Prénom
7500
+ * @type {string}
7501
+ * @memberof StaffBookingUserSummary
7502
+ */
7503
+ 'firstName'?: string | null;
7504
+ /**
7505
+ * Nom
7506
+ * @type {string}
7507
+ * @memberof StaffBookingUserSummary
7508
+ */
7509
+ 'lastName'?: string | null;
7510
+ /**
7511
+ * Email
7512
+ * @type {string}
7513
+ * @memberof StaffBookingUserSummary
7514
+ */
7515
+ 'email'?: string | null;
7516
+ /**
7517
+ * Photo de profil
7518
+ * @type {string}
7519
+ * @memberof StaffBookingUserSummary
7520
+ */
7521
+ 'profilePictureUrl'?: string | null;
7522
+ }
7523
+ /**
7524
+ *
7525
+ * @export
7526
+ * @interface StaffBookingsPaginatedResponse
7527
+ */
7528
+ export interface StaffBookingsPaginatedResponse {
7529
+ /**
7530
+ * Réservations
7531
+ * @type {Array<StaffBookingListItem>}
7532
+ * @memberof StaffBookingsPaginatedResponse
7533
+ */
7534
+ 'bookings': Array<StaffBookingListItem>;
7535
+ /**
7536
+ * Page courante (1-based)
7537
+ * @type {number}
7538
+ * @memberof StaffBookingsPaginatedResponse
7539
+ */
7540
+ 'page': number;
7541
+ /**
7542
+ * Taille de page
7543
+ * @type {number}
7544
+ * @memberof StaffBookingsPaginatedResponse
7545
+ */
7546
+ 'pageSize': number;
7547
+ /**
7548
+ * Nombre total d\'éléments
7549
+ * @type {number}
7550
+ * @memberof StaffBookingsPaginatedResponse
7551
+ */
7552
+ 'total': number;
7553
+ /**
7554
+ * Nombre total de pages
7555
+ * @type {number}
7556
+ * @memberof StaffBookingsPaginatedResponse
7557
+ */
7558
+ 'totalPages': number;
7559
+ }
7560
+ /**
7561
+ *
7562
+ * @export
7563
+ * @interface StaffCreateBookingRequest
7564
+ */
7565
+ export interface StaffCreateBookingRequest {
7566
+ /**
7567
+ * Liste des créneaux à réserver
7568
+ * @type {Array<string>}
7569
+ * @memberof StaffCreateBookingRequest
7570
+ */
7571
+ 'slotIds': Array<string>;
7572
+ /**
7573
+ *
7574
+ * @type {StaffBookingCustomerPayload}
7575
+ * @memberof StaffCreateBookingRequest
7576
+ */
7577
+ 'customer': StaffBookingCustomerPayload;
7578
+ /**
7579
+ * Autres joueurs existants à associer
7580
+ * @type {Array<string>}
7581
+ * @memberof StaffCreateBookingRequest
7582
+ */
7583
+ 'playerIds'?: Array<string>;
7584
+ /**
7585
+ *
7586
+ * @type {PaymentMethod}
7587
+ * @memberof StaffCreateBookingRequest
7588
+ */
7589
+ 'paymentMethod'?: PaymentMethod;
7590
+ }
7427
7591
  /**
7428
7592
  *
7429
7593
  * @export
@@ -8989,10 +9153,10 @@ export interface Team {
8989
9153
  'name': string;
8990
9154
  /**
8991
9155
  *
8992
- * @type {Array<EventUser>}
9156
+ * @type {Array<string>}
8993
9157
  * @memberof Team
8994
9158
  */
8995
- 'players': Array<EventUser>;
9159
+ 'players': Array<string>;
8996
9160
  }
8997
9161
  /**
8998
9162
  *
@@ -9459,6 +9623,12 @@ export interface UpdateEventRequest {
9459
9623
  * @memberof UpdateEventRequest
9460
9624
  */
9461
9625
  'teamLimit'?: number;
9626
+ /**
9627
+ *
9628
+ * @type {number}
9629
+ * @memberof UpdateEventRequest
9630
+ */
9631
+ 'playersPerTeam'?: number;
9462
9632
  /**
9463
9633
  *
9464
9634
  * @type {number}
@@ -9473,10 +9643,22 @@ export interface UpdateEventRequest {
9473
9643
  'subscriberPrices'?: Array<SubscriberPrice>;
9474
9644
  /**
9475
9645
  *
9476
- * @type {string}
9646
+ * @type {string}
9647
+ * @memberof UpdateEventRequest
9648
+ */
9649
+ 'visibilityType'?: UpdateEventRequestVisibilityTypeEnum;
9650
+ /**
9651
+ *
9652
+ * @type {Array<string | null>}
9653
+ * @memberof UpdateEventRequest
9654
+ */
9655
+ 'levels'?: Array<string | null>;
9656
+ /**
9657
+ *
9658
+ * @type {Array<EventSponsor>}
9477
9659
  * @memberof UpdateEventRequest
9478
9660
  */
9479
- 'visibilityType'?: UpdateEventRequestVisibilityTypeEnum;
9661
+ 'sponsors'?: Array<EventSponsor>;
9480
9662
  }
9481
9663
  export declare const UpdateEventRequestTypeEnum: {
9482
9664
  readonly Event: "event";
@@ -10676,6 +10858,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
10676
10858
  * @throws {RequiredError}
10677
10859
  */
10678
10860
  checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10861
+ /**
10862
+ * Créer une réservation pour un joueur depuis l\'espace staff
10863
+ * @param {StaffCreateBookingRequest} staffCreateBookingRequest
10864
+ * @param {*} [options] Override http request option.
10865
+ * @throws {RequiredError}
10866
+ */
10867
+ createStaffBooking: (staffCreateBookingRequest: StaffCreateBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10679
10868
  /**
10680
10869
  * Obtenir une réservation par ID
10681
10870
  * @param {string} bookingId
@@ -10711,6 +10900,17 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
10711
10900
  * @throws {RequiredError}
10712
10901
  */
10713
10902
  getWeeklyBookings: (weekId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10903
+ /**
10904
+ * Liste paginée des réservations du club pour le staff
10905
+ * @param {number} [page]
10906
+ * @param {number} [pageSize]
10907
+ * @param {string} [search]
10908
+ * @param {string} [filters]
10909
+ * @param {string} [sorting]
10910
+ * @param {*} [options] Override http request option.
10911
+ * @throws {RequiredError}
10912
+ */
10913
+ listClubBookings: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10714
10914
  };
10715
10915
  /**
10716
10916
  * BookingsStaffApi - functional programming interface
@@ -10725,6 +10925,13 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
10725
10925
  * @throws {RequiredError}
10726
10926
  */
10727
10927
  checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
10928
+ /**
10929
+ * Créer une réservation pour un joueur depuis l\'espace staff
10930
+ * @param {StaffCreateBookingRequest} staffCreateBookingRequest
10931
+ * @param {*} [options] Override http request option.
10932
+ * @throws {RequiredError}
10933
+ */
10934
+ createStaffBooking(staffCreateBookingRequest: StaffCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
10728
10935
  /**
10729
10936
  * Obtenir une réservation par ID
10730
10937
  * @param {string} bookingId
@@ -10760,6 +10967,17 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
10760
10967
  * @throws {RequiredError}
10761
10968
  */
10762
10969
  getWeeklyBookings(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsWithTimeBoundsResponse>>;
10970
+ /**
10971
+ * Liste paginée des réservations du club pour le staff
10972
+ * @param {number} [page]
10973
+ * @param {number} [pageSize]
10974
+ * @param {string} [search]
10975
+ * @param {string} [filters]
10976
+ * @param {string} [sorting]
10977
+ * @param {*} [options] Override http request option.
10978
+ * @throws {RequiredError}
10979
+ */
10980
+ listClubBookings(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffBookingsPaginatedResponse>>;
10763
10981
  };
10764
10982
  /**
10765
10983
  * BookingsStaffApi - factory interface
@@ -10773,6 +10991,13 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
10773
10991
  * @throws {RequiredError}
10774
10992
  */
10775
10993
  checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
10994
+ /**
10995
+ * Créer une réservation pour un joueur depuis l\'espace staff
10996
+ * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
10997
+ * @param {*} [options] Override http request option.
10998
+ * @throws {RequiredError}
10999
+ */
11000
+ createStaffBooking(requestParameters: BookingsStaffApiCreateStaffBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
10776
11001
  /**
10777
11002
  * Obtenir une réservation par ID
10778
11003
  * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
@@ -10808,6 +11033,13 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
10808
11033
  * @throws {RequiredError}
10809
11034
  */
10810
11035
  getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsWithTimeBoundsResponse>;
11036
+ /**
11037
+ * Liste paginée des réservations du club pour le staff
11038
+ * @param {BookingsStaffApiListClubBookingsRequest} requestParameters Request parameters.
11039
+ * @param {*} [options] Override http request option.
11040
+ * @throws {RequiredError}
11041
+ */
11042
+ listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
10811
11043
  };
10812
11044
  /**
10813
11045
  * Request parameters for checkInPlayers operation in BookingsStaffApi.
@@ -10828,6 +11060,19 @@ export interface BookingsStaffApiCheckInPlayersRequest {
10828
11060
  */
10829
11061
  readonly checkInPlayersRequest: CheckInPlayersRequest;
10830
11062
  }
11063
+ /**
11064
+ * Request parameters for createStaffBooking operation in BookingsStaffApi.
11065
+ * @export
11066
+ * @interface BookingsStaffApiCreateStaffBookingRequest
11067
+ */
11068
+ export interface BookingsStaffApiCreateStaffBookingRequest {
11069
+ /**
11070
+ *
11071
+ * @type {StaffCreateBookingRequest}
11072
+ * @memberof BookingsStaffApiCreateStaffBooking
11073
+ */
11074
+ readonly staffCreateBookingRequest: StaffCreateBookingRequest;
11075
+ }
10831
11076
  /**
10832
11077
  * Request parameters for getBookingById operation in BookingsStaffApi.
10833
11078
  * @export
@@ -10893,6 +11138,43 @@ export interface BookingsStaffApiGetWeeklyBookingsRequest {
10893
11138
  */
10894
11139
  readonly weekId: string;
10895
11140
  }
11141
+ /**
11142
+ * Request parameters for listClubBookings operation in BookingsStaffApi.
11143
+ * @export
11144
+ * @interface BookingsStaffApiListClubBookingsRequest
11145
+ */
11146
+ export interface BookingsStaffApiListClubBookingsRequest {
11147
+ /**
11148
+ *
11149
+ * @type {number}
11150
+ * @memberof BookingsStaffApiListClubBookings
11151
+ */
11152
+ readonly page?: number;
11153
+ /**
11154
+ *
11155
+ * @type {number}
11156
+ * @memberof BookingsStaffApiListClubBookings
11157
+ */
11158
+ readonly pageSize?: number;
11159
+ /**
11160
+ *
11161
+ * @type {string}
11162
+ * @memberof BookingsStaffApiListClubBookings
11163
+ */
11164
+ readonly search?: string;
11165
+ /**
11166
+ *
11167
+ * @type {string}
11168
+ * @memberof BookingsStaffApiListClubBookings
11169
+ */
11170
+ readonly filters?: string;
11171
+ /**
11172
+ *
11173
+ * @type {string}
11174
+ * @memberof BookingsStaffApiListClubBookings
11175
+ */
11176
+ readonly sorting?: string;
11177
+ }
10896
11178
  /**
10897
11179
  * BookingsStaffApi - object-oriented interface
10898
11180
  * @export
@@ -10908,6 +11190,14 @@ export declare class BookingsStaffApi extends BaseAPI {
10908
11190
  * @memberof BookingsStaffApi
10909
11191
  */
10910
11192
  checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
11193
+ /**
11194
+ * Créer une réservation pour un joueur depuis l\'espace staff
11195
+ * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
11196
+ * @param {*} [options] Override http request option.
11197
+ * @throws {RequiredError}
11198
+ * @memberof BookingsStaffApi
11199
+ */
11200
+ createStaffBooking(requestParameters: BookingsStaffApiCreateStaffBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any, {}>>;
10911
11201
  /**
10912
11202
  * Obtenir une réservation par ID
10913
11203
  * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
@@ -10948,6 +11238,14 @@ export declare class BookingsStaffApi extends BaseAPI {
10948
11238
  * @memberof BookingsStaffApi
10949
11239
  */
10950
11240
  getWeeklyBookings(requestParameters: BookingsStaffApiGetWeeklyBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsWithTimeBoundsResponse, any, {}>>;
11241
+ /**
11242
+ * Liste paginée des réservations du club pour le staff
11243
+ * @param {BookingsStaffApiListClubBookingsRequest} requestParameters Request parameters.
11244
+ * @param {*} [options] Override http request option.
11245
+ * @throws {RequiredError}
11246
+ * @memberof BookingsStaffApi
11247
+ */
11248
+ listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffBookingsPaginatedResponse, any, {}>>;
10951
11249
  }
10952
11250
  /**
10953
11251
  * BookingsUserApi - axios parameter creator
@@ -10962,7 +11260,7 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
10962
11260
  */
10963
11261
  cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10964
11262
  /**
10965
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11263
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10966
11264
  * @param {CreateBookingRequest} createBookingRequest
10967
11265
  * @param {*} [options] Override http request option.
10968
11266
  * @throws {RequiredError}
@@ -10982,7 +11280,7 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
10982
11280
  */
10983
11281
  cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
10984
11282
  /**
10985
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11283
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
10986
11284
  * @param {CreateBookingRequest} createBookingRequest
10987
11285
  * @param {*} [options] Override http request option.
10988
11286
  * @throws {RequiredError}
@@ -11002,7 +11300,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
11002
11300
  */
11003
11301
  cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
11004
11302
  /**
11005
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11303
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11006
11304
  * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
11007
11305
  * @param {*} [options] Override http request option.
11008
11306
  * @throws {RequiredError}
@@ -11051,7 +11349,7 @@ export declare class BookingsUserApi extends BaseAPI {
11051
11349
  */
11052
11350
  cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
11053
11351
  /**
11054
- * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11352
+ * Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
11055
11353
  * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
11056
11354
  * @param {*} [options] Override http request option.
11057
11355
  * @throws {RequiredError}
@@ -11065,18 +11363,12 @@ export declare class BookingsUserApi extends BaseAPI {
11065
11363
  */
11066
11364
  export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
11067
11365
  /**
11068
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11366
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11069
11367
  * @param {ClientRegisterRequest} clientRegisterRequest
11070
11368
  * @param {*} [options] Override http request option.
11071
11369
  * @throws {RequiredError}
11072
11370
  */
11073
11371
  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
11372
  /**
11081
11373
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11082
11374
  * @param {*} [options] Override http request option.
@@ -11084,7 +11376,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11084
11376
  */
11085
11377
  getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11086
11378
  /**
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
11379
+ * 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
11380
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
11089
11381
  * @param {*} [options] Override http request option.
11090
11382
  * @throws {RequiredError}
@@ -11097,18 +11389,12 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11097
11389
  */
11098
11390
  export declare const ClientApiFp: (configuration?: Configuration) => {
11099
11391
  /**
11100
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11392
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11101
11393
  * @param {ClientRegisterRequest} clientRegisterRequest
11102
11394
  * @param {*} [options] Override http request option.
11103
11395
  * @throws {RequiredError}
11104
11396
  */
11105
11397
  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
11398
  /**
11113
11399
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11114
11400
  * @param {*} [options] Override http request option.
@@ -11116,7 +11402,7 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11116
11402
  */
11117
11403
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
11118
11404
  /**
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
11405
+ * 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
11406
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
11121
11407
  * @param {*} [options] Override http request option.
11122
11408
  * @throws {RequiredError}
@@ -11129,18 +11415,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11129
11415
  */
11130
11416
  export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11131
11417
  /**
11132
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11418
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11133
11419
  * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
11134
11420
  * @param {*} [options] Override http request option.
11135
11421
  * @throws {RequiredError}
11136
11422
  */
11137
11423
  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
11424
  /**
11145
11425
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11146
11426
  * @param {*} [options] Override http request option.
@@ -11148,7 +11428,7 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
11148
11428
  */
11149
11429
  getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
11150
11430
  /**
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
11431
+ * 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
11432
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
11153
11433
  * @param {*} [options] Override http request option.
11154
11434
  * @throws {RequiredError}
@@ -11189,20 +11469,13 @@ export interface ClientApiOnboardClubRequest {
11189
11469
  */
11190
11470
  export declare class ClientApi extends BaseAPI {
11191
11471
  /**
11192
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11472
+ * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
11193
11473
  * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
11194
11474
  * @param {*} [options] Override http request option.
11195
11475
  * @throws {RequiredError}
11196
11476
  * @memberof ClientApi
11197
11477
  */
11198
11478
  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
11479
  /**
11207
11480
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11208
11481
  * @param {*} [options] Override http request option.
@@ -11211,7 +11484,7 @@ export declare class ClientApi extends BaseAPI {
11211
11484
  */
11212
11485
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
11213
11486
  /**
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
11487
+ * 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
11488
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
11216
11489
  * @param {*} [options] Override http request option.
11217
11490
  * @throws {RequiredError}
@@ -11332,10 +11605,14 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
11332
11605
  getClubPlayerStatisticsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11333
11606
  /**
11334
11607
  * Récupère la liste des joueurs du club
11608
+ * @param {number} [page]
11609
+ * @param {number} [pageSize]
11610
+ * @param {string} [search]
11611
+ * @param {string} [filters]
11335
11612
  * @param {*} [options] Override http request option.
11336
11613
  * @throws {RequiredError}
11337
11614
  */
11338
- getClubPlayers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11615
+ getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11339
11616
  /**
11340
11617
  * Récupère le chiffre d\'affaires quotidien
11341
11618
  * @param {string} date
@@ -11446,10 +11723,14 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
11446
11723
  getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>>;
11447
11724
  /**
11448
11725
  * Récupère la liste des joueurs du club
11726
+ * @param {number} [page]
11727
+ * @param {number} [pageSize]
11728
+ * @param {string} [search]
11729
+ * @param {string} [filters]
11449
11730
  * @param {*} [options] Override http request option.
11450
11731
  * @throws {RequiredError}
11451
11732
  */
11452
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClubPlayerResponse>>>;
11733
+ getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
11453
11734
  /**
11454
11735
  * Récupère le chiffre d\'affaires quotidien
11455
11736
  * @param {string} date
@@ -11558,10 +11839,11 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
11558
11839
  getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse>;
11559
11840
  /**
11560
11841
  * Récupère la liste des joueurs du club
11842
+ * @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
11561
11843
  * @param {*} [options] Override http request option.
11562
11844
  * @throws {RequiredError}
11563
11845
  */
11564
- getClubPlayers(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClubPlayerResponse>>;
11846
+ getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse>;
11565
11847
  /**
11566
11848
  * Récupère le chiffre d\'affaires quotidien
11567
11849
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -11697,6 +11979,37 @@ export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
11697
11979
  */
11698
11980
  readonly playerId: string;
11699
11981
  }
11982
+ /**
11983
+ * Request parameters for getClubPlayers operation in ClubAnalyticsStaffApi.
11984
+ * @export
11985
+ * @interface ClubAnalyticsStaffApiGetClubPlayersRequest
11986
+ */
11987
+ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
11988
+ /**
11989
+ *
11990
+ * @type {number}
11991
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
11992
+ */
11993
+ readonly page?: number;
11994
+ /**
11995
+ *
11996
+ * @type {number}
11997
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
11998
+ */
11999
+ readonly pageSize?: number;
12000
+ /**
12001
+ *
12002
+ * @type {string}
12003
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
12004
+ */
12005
+ readonly search?: string;
12006
+ /**
12007
+ *
12008
+ * @type {string}
12009
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
12010
+ */
12011
+ readonly filters?: string;
12012
+ }
11700
12013
  /**
11701
12014
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
11702
12015
  * @export
@@ -11802,11 +12115,12 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
11802
12115
  getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerStatisticsResponse, any, {}>>;
11803
12116
  /**
11804
12117
  * Récupère la liste des joueurs du club
12118
+ * @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
11805
12119
  * @param {*} [options] Override http request option.
11806
12120
  * @throws {RequiredError}
11807
12121
  * @memberof ClubAnalyticsStaffApi
11808
12122
  */
11809
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerResponse[], any, {}>>;
12123
+ getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayersPaginatedResponse, any, {}>>;
11810
12124
  /**
11811
12125
  * Récupère le chiffre d\'affaires quotidien
11812
12126
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -12493,7 +12807,7 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
12493
12807
  */
12494
12808
  export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
12495
12809
  /**
12496
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12810
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12497
12811
  * @param {*} [options] Override http request option.
12498
12812
  * @throws {RequiredError}
12499
12813
  */
@@ -12556,7 +12870,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12556
12870
  */
12557
12871
  getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12558
12872
  /**
12559
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12873
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12560
12874
  * @param {*} [options] Override http request option.
12561
12875
  * @throws {RequiredError}
12562
12876
  */
@@ -12597,7 +12911,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12597
12911
  */
12598
12912
  export declare const ClubsApiFp: (configuration?: Configuration) => {
12599
12913
  /**
12600
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12914
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12601
12915
  * @param {*} [options] Override http request option.
12602
12916
  * @throws {RequiredError}
12603
12917
  */
@@ -12660,7 +12974,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12660
12974
  */
12661
12975
  getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
12662
12976
  /**
12663
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12977
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12664
12978
  * @param {*} [options] Override http request option.
12665
12979
  * @throws {RequiredError}
12666
12980
  */
@@ -12701,7 +13015,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12701
13015
  */
12702
13016
  export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12703
13017
  /**
12704
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
13018
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12705
13019
  * @param {*} [options] Override http request option.
12706
13020
  * @throws {RequiredError}
12707
13021
  */
@@ -12761,7 +13075,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
12761
13075
  */
12762
13076
  getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
12763
13077
  /**
12764
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
13078
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
12765
13079
  * @param {*} [options] Override http request option.
12766
13080
  * @throws {RequiredError}
12767
13081
  */
@@ -12957,7 +13271,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
12957
13271
  */
12958
13272
  export declare class ClubsApi extends BaseAPI {
12959
13273
  /**
12960
- * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
13274
+ * Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
12961
13275
  * @param {*} [options] Override http request option.
12962
13276
  * @throws {RequiredError}
12963
13277
  * @memberof ClubsApi
@@ -13026,7 +13340,7 @@ export declare class ClubsApi extends BaseAPI {
13026
13340
  */
13027
13341
  getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
13028
13342
  /**
13029
- * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
13343
+ * Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
13030
13344
  * @param {*} [options] Override http request option.
13031
13345
  * @throws {RequiredError}
13032
13346
  * @memberof ClubsApi
@@ -14047,10 +14361,17 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
14047
14361
  getCourtsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14048
14362
  /**
14049
14363
  *
14364
+ * @param {number} [page]
14365
+ * @param {number} [pageSize]
14366
+ * @param {string} [search]
14367
+ * @param {string} [filters]
14368
+ * @param {string} [status]
14369
+ * @param {string} [startDate]
14370
+ * @param {string} [endDate]
14050
14371
  * @param {*} [options] Override http request option.
14051
14372
  * @throws {RequiredError}
14052
14373
  */
14053
- getInvoices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14374
+ getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14054
14375
  /**
14055
14376
  *
14056
14377
  * @param {string} id
@@ -14118,10 +14439,17 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
14118
14439
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CourtResponse>>>;
14119
14440
  /**
14120
14441
  *
14442
+ * @param {number} [page]
14443
+ * @param {number} [pageSize]
14444
+ * @param {string} [search]
14445
+ * @param {string} [filters]
14446
+ * @param {string} [status]
14447
+ * @param {string} [startDate]
14448
+ * @param {string} [endDate]
14121
14449
  * @param {*} [options] Override http request option.
14122
14450
  * @throws {RequiredError}
14123
14451
  */
14124
- getInvoices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
14452
+ 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
14453
  /**
14126
14454
  *
14127
14455
  * @param {string} id
@@ -14188,10 +14516,11 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
14188
14516
  getCourtsByClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<CourtResponse>>;
14189
14517
  /**
14190
14518
  *
14519
+ * @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
14191
14520
  * @param {*} [options] Override http request option.
14192
14521
  * @throws {RequiredError}
14193
14522
  */
14194
- getInvoices(options?: RawAxiosRequestConfig): AxiosPromise<any>;
14523
+ getInvoices(requestParameters?: ClubsStaffApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
14195
14524
  /**
14196
14525
  *
14197
14526
  * @param {ClubsStaffApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -14226,6 +14555,55 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
14226
14555
  */
14227
14556
  readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
14228
14557
  }
14558
+ /**
14559
+ * Request parameters for getInvoices operation in ClubsStaffApi.
14560
+ * @export
14561
+ * @interface ClubsStaffApiGetInvoicesRequest
14562
+ */
14563
+ export interface ClubsStaffApiGetInvoicesRequest {
14564
+ /**
14565
+ *
14566
+ * @type {number}
14567
+ * @memberof ClubsStaffApiGetInvoices
14568
+ */
14569
+ readonly page?: number;
14570
+ /**
14571
+ *
14572
+ * @type {number}
14573
+ * @memberof ClubsStaffApiGetInvoices
14574
+ */
14575
+ readonly pageSize?: number;
14576
+ /**
14577
+ *
14578
+ * @type {string}
14579
+ * @memberof ClubsStaffApiGetInvoices
14580
+ */
14581
+ readonly search?: string;
14582
+ /**
14583
+ *
14584
+ * @type {string}
14585
+ * @memberof ClubsStaffApiGetInvoices
14586
+ */
14587
+ readonly filters?: string;
14588
+ /**
14589
+ *
14590
+ * @type {string}
14591
+ * @memberof ClubsStaffApiGetInvoices
14592
+ */
14593
+ readonly status?: string;
14594
+ /**
14595
+ *
14596
+ * @type {string}
14597
+ * @memberof ClubsStaffApiGetInvoices
14598
+ */
14599
+ readonly startDate?: string;
14600
+ /**
14601
+ *
14602
+ * @type {string}
14603
+ * @memberof ClubsStaffApiGetInvoices
14604
+ */
14605
+ readonly endDate?: string;
14606
+ }
14229
14607
  /**
14230
14608
  * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
14231
14609
  * @export
@@ -14317,11 +14695,12 @@ export declare class ClubsStaffApi extends BaseAPI {
14317
14695
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtResponse[], any, {}>>;
14318
14696
  /**
14319
14697
  *
14698
+ * @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
14320
14699
  * @param {*} [options] Override http request option.
14321
14700
  * @throws {RequiredError}
14322
14701
  * @memberof ClubsStaffApi
14323
14702
  */
14324
- getInvoices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
14703
+ getInvoices(requestParameters?: ClubsStaffApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
14325
14704
  /**
14326
14705
  *
14327
14706
  * @param {ClubsStaffApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -14412,22 +14791,6 @@ export declare class DefaultApi extends BaseAPI {
14412
14791
  * @export
14413
14792
  */
14414
14793
  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
14794
  /**
14432
14795
  * Get a specific event by ID
14433
14796
  * @param {string} eventId
@@ -14466,22 +14829,6 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
14466
14829
  * @export
14467
14830
  */
14468
14831
  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
14832
  /**
14486
14833
  * Get a specific event by ID
14487
14834
  * @param {string} eventId
@@ -14520,20 +14867,6 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
14520
14867
  * @export
14521
14868
  */
14522
14869
  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
14870
  /**
14538
14871
  * Get a specific event by ID
14539
14872
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -14563,44 +14896,6 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
14563
14896
  */
14564
14897
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
14565
14898
  };
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
14899
  /**
14605
14900
  * Request parameters for getEventById operation in EventsApi.
14606
14901
  * @export
@@ -14684,22 +14979,6 @@ export interface EventsApiLeaveEventRequest {
14684
14979
  * @extends {BaseAPI}
14685
14980
  */
14686
14981
  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
14982
  /**
14704
14983
  * Get a specific event by ID
14705
14984
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -15902,6 +16181,13 @@ export declare const SubscriptionsStaffApiAxiosParamCreator: (configuration?: Co
15902
16181
  * @throws {RequiredError}
15903
16182
  */
15904
16183
  getClubPlans: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16184
+ /**
16185
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16186
+ * @param {SendSubscriptionInvitationRequest} sendSubscriptionInvitationRequest
16187
+ * @param {*} [options] Override http request option.
16188
+ * @throws {RequiredError}
16189
+ */
16190
+ sendSubscriptionInvitation: (sendSubscriptionInvitationRequest: SendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15905
16191
  };
15906
16192
  /**
15907
16193
  * SubscriptionsStaffApi - functional programming interface
@@ -15914,6 +16200,13 @@ export declare const SubscriptionsStaffApiFp: (configuration?: Configuration) =>
15914
16200
  * @throws {RequiredError}
15915
16201
  */
15916
16202
  getClubPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SubscriptionPlanResponse>>>;
16203
+ /**
16204
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16205
+ * @param {SendSubscriptionInvitationRequest} sendSubscriptionInvitationRequest
16206
+ * @param {*} [options] Override http request option.
16207
+ * @throws {RequiredError}
16208
+ */
16209
+ sendSubscriptionInvitation(sendSubscriptionInvitationRequest: SendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendSubscriptionInvitationResponse>>;
15917
16210
  };
15918
16211
  /**
15919
16212
  * SubscriptionsStaffApi - factory interface
@@ -15926,7 +16219,27 @@ export declare const SubscriptionsStaffApiFactory: (configuration?: Configuratio
15926
16219
  * @throws {RequiredError}
15927
16220
  */
15928
16221
  getClubPlans(options?: RawAxiosRequestConfig): AxiosPromise<Array<SubscriptionPlanResponse>>;
16222
+ /**
16223
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16224
+ * @param {SubscriptionsStaffApiSendSubscriptionInvitationRequest} requestParameters Request parameters.
16225
+ * @param {*} [options] Override http request option.
16226
+ * @throws {RequiredError}
16227
+ */
16228
+ sendSubscriptionInvitation(requestParameters: SubscriptionsStaffApiSendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig): AxiosPromise<SendSubscriptionInvitationResponse>;
15929
16229
  };
16230
+ /**
16231
+ * Request parameters for sendSubscriptionInvitation operation in SubscriptionsStaffApi.
16232
+ * @export
16233
+ * @interface SubscriptionsStaffApiSendSubscriptionInvitationRequest
16234
+ */
16235
+ export interface SubscriptionsStaffApiSendSubscriptionInvitationRequest {
16236
+ /**
16237
+ *
16238
+ * @type {SendSubscriptionInvitationRequest}
16239
+ * @memberof SubscriptionsStaffApiSendSubscriptionInvitation
16240
+ */
16241
+ readonly sendSubscriptionInvitationRequest: SendSubscriptionInvitationRequest;
16242
+ }
15930
16243
  /**
15931
16244
  * SubscriptionsStaffApi - object-oriented interface
15932
16245
  * @export
@@ -15941,6 +16254,14 @@ export declare class SubscriptionsStaffApi extends BaseAPI {
15941
16254
  * @memberof SubscriptionsStaffApi
15942
16255
  */
15943
16256
  getClubPlans(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionPlanResponse[], any, {}>>;
16257
+ /**
16258
+ * Envoie une invitation d\'abonnement à un joueur (staff)
16259
+ * @param {SubscriptionsStaffApiSendSubscriptionInvitationRequest} requestParameters Request parameters.
16260
+ * @param {*} [options] Override http request option.
16261
+ * @throws {RequiredError}
16262
+ * @memberof SubscriptionsStaffApi
16263
+ */
16264
+ sendSubscriptionInvitation(requestParameters: SubscriptionsStaffApiSendSubscriptionInvitationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SendSubscriptionInvitationResponse, any, {}>>;
15944
16265
  }
15945
16266
  /**
15946
16267
  * SubscriptionsUserApi - axios parameter creator