@tennac-booking/sdk 1.0.117 → 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 (64) hide show
  1. package/.openapi-generator/FILES +313 -308
  2. package/README.md +18 -13
  3. package/api.ts +1065 -611
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +841 -483
  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 +841 -483
  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 +4 -0
  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/UpdateEventRequest.md +6 -0
  56. package/index.ts +1 -1
  57. package/package.json +1 -1
  58. package/docs/ClientSubscription.md +0 -31
  59. package/docs/ClientSubscriptionItem.md +0 -25
  60. package/docs/ClientSubscriptionsResponse.md +0 -21
  61. package/docs/EstimateEventPrice200Response.md +0 -32
  62. package/docs/EstimateEventPriceRequest.md +0 -26
  63. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  64. 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.117
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
@@ -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}
@@ -4540,6 +4379,31 @@ export declare const EventResponseVisibilityTypeEnum: {
4540
4379
  readonly Invitation: "invitation";
4541
4380
  };
4542
4381
  export type EventResponseVisibilityTypeEnum = typeof EventResponseVisibilityTypeEnum[keyof typeof EventResponseVisibilityTypeEnum];
4382
+ /**
4383
+ *
4384
+ * @export
4385
+ * @interface EventSponsor
4386
+ */
4387
+ export interface EventSponsor {
4388
+ /**
4389
+ *
4390
+ * @type {string}
4391
+ * @memberof EventSponsor
4392
+ */
4393
+ 'name'?: string;
4394
+ /**
4395
+ *
4396
+ * @type {string}
4397
+ * @memberof EventSponsor
4398
+ */
4399
+ 'website'?: string;
4400
+ /**
4401
+ *
4402
+ * @type {string}
4403
+ * @memberof EventSponsor
4404
+ */
4405
+ 'logo'?: string | null;
4406
+ }
4543
4407
  /**
4544
4408
  *
4545
4409
  * @export
@@ -5443,12 +5307,6 @@ export interface JoinEventRequest {
5443
5307
  * @memberof JoinEventRequest
5444
5308
  */
5445
5309
  'useDefaultPaymentMethod'?: boolean;
5446
- /**
5447
- *
5448
- * @type {number}
5449
- * @memberof JoinEventRequest
5450
- */
5451
- 'creditToUseInCents'?: number;
5452
5310
  }
5453
5311
  /**
5454
5312
  *
@@ -5456,12 +5314,6 @@ export interface JoinEventRequest {
5456
5314
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5457
5315
  */
5458
5316
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5459
- /**
5460
- *
5461
- * @type {Array<string>}
5462
- * @memberof JoinEventRequestPlayersPaymentMethodsInner
5463
- */
5464
- 'paysAlsoFor'?: Array<string>;
5465
5317
  /**
5466
5318
  *
5467
5319
  * @type {PaymentMethod}
@@ -5493,113 +5345,42 @@ export interface JoinEventResponse {
5493
5345
  * @memberof JoinEventResponse
5494
5346
  */
5495
5347
  'event': EventResponse;
5348
+ }
5349
+ /**
5350
+ *
5351
+ * @export
5352
+ * @interface LastSixMonthsTurnoverItem
5353
+ */
5354
+ export interface LastSixMonthsTurnoverItem {
5496
5355
  /**
5497
- * Construct a type with a set of properties K of type T
5498
- * @type {{ [key: string]: string; }}
5499
- * @memberof JoinEventResponse
5356
+ * Nom du mois (Jan, Feb, etc.)
5357
+ * @type {string}
5358
+ * @memberof LastSixMonthsTurnoverItem
5500
5359
  */
5501
- 'paymentLinks'?: {
5502
- [key: string]: string;
5503
- };
5360
+ 'month': string;
5504
5361
  /**
5505
- *
5506
- * @type {Array<JoinEventResponseOnsitePaymentsInner>}
5507
- * @memberof JoinEventResponse
5362
+ * Valeur du chiffre d\'affaires
5363
+ * @type {number}
5364
+ * @memberof LastSixMonthsTurnoverItem
5508
5365
  */
5509
- 'onsitePayments'?: Array<JoinEventResponseOnsitePaymentsInner>;
5366
+ 'value': number;
5367
+ }
5368
+ /**
5369
+ *
5370
+ * @export
5371
+ * @interface LevelBySportEntry
5372
+ */
5373
+ export interface LevelBySportEntry {
5510
5374
  /**
5511
5375
  *
5512
5376
  * @type {string}
5513
- * @memberof JoinEventResponse
5377
+ * @memberof LevelBySportEntry
5514
5378
  */
5515
- 'setupNoShowPaymentUrl'?: string;
5379
+ 'level': string;
5516
5380
  /**
5517
5381
  *
5518
- * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
5519
- * @memberof JoinEventResponse
5520
- */
5521
- 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
5522
- /**
5523
- *
5524
- * @type {number}
5525
- * @memberof JoinEventResponse
5526
- */
5527
- 'creditsAppliedInCents'?: number;
5528
- /**
5529
- *
5530
- * @type {number}
5531
- * @memberof JoinEventResponse
5532
- */
5533
- 'totalAfterCredits'?: number;
5534
- /**
5535
- * Construct a type with a set of properties K of type T
5536
- * @type {{ [key: string]: number; }}
5537
- * @memberof JoinEventResponse
5538
- */
5539
- 'perPayerAfterCredits'?: {
5540
- [key: string]: number;
5541
- };
5542
- }
5543
- /**
5544
- *
5545
- * @export
5546
- * @interface JoinEventResponseOnsitePaymentsInner
5547
- */
5548
- export interface JoinEventResponseOnsitePaymentsInner {
5549
- /**
5550
- *
5551
- * @type {PaymentMethod}
5552
- * @memberof JoinEventResponseOnsitePaymentsInner
5553
- */
5554
- 'paymentMethod': PaymentMethod;
5555
- /**
5556
- *
5557
- * @type {number}
5558
- * @memberof JoinEventResponseOnsitePaymentsInner
5559
- */
5560
- 'amount': number;
5561
- /**
5562
- *
5563
- * @type {string}
5564
- * @memberof JoinEventResponseOnsitePaymentsInner
5565
- */
5566
- 'playerId': string;
5567
- }
5568
- /**
5569
- *
5570
- * @export
5571
- * @interface LastSixMonthsTurnoverItem
5572
- */
5573
- export interface LastSixMonthsTurnoverItem {
5574
- /**
5575
- * Nom du mois (Jan, Feb, etc.)
5576
- * @type {string}
5577
- * @memberof LastSixMonthsTurnoverItem
5578
- */
5579
- 'month': string;
5580
- /**
5581
- * Valeur du chiffre d\'affaires
5582
- * @type {number}
5583
- * @memberof LastSixMonthsTurnoverItem
5584
- */
5585
- 'value': number;
5586
- }
5587
- /**
5588
- *
5589
- * @export
5590
- * @interface LevelBySportEntry
5591
- */
5592
- export interface LevelBySportEntry {
5593
- /**
5594
- *
5595
- * @type {string}
5596
- * @memberof LevelBySportEntry
5597
- */
5598
- 'level': string;
5599
- /**
5600
- *
5601
- * @type {string}
5602
- * @memberof LevelBySportEntry
5382
+ * @type {string}
5383
+ * @memberof LevelBySportEntry
5603
5384
  */
5604
5385
  'sport': string;
5605
5386
  }
@@ -7171,6 +6952,44 @@ export interface RevenueBySportItem {
7171
6952
  */
7172
6953
  'totalTurnover': number;
7173
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
+ }
7174
6993
  /**
7175
6994
  *
7176
6995
  * @export
@@ -7387,6 +7206,388 @@ export interface SportWithLevels {
7387
7206
  */
7388
7207
  'logos'?: Array<string>;
7389
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
+ }
7390
7591
  /**
7391
7592
  *
7392
7593
  * @export
@@ -9422,6 +9623,12 @@ export interface UpdateEventRequest {
9422
9623
  * @memberof UpdateEventRequest
9423
9624
  */
9424
9625
  'teamLimit'?: number;
9626
+ /**
9627
+ *
9628
+ * @type {number}
9629
+ * @memberof UpdateEventRequest
9630
+ */
9631
+ 'playersPerTeam'?: number;
9425
9632
  /**
9426
9633
  *
9427
9634
  * @type {number}
@@ -9436,10 +9643,22 @@ export interface UpdateEventRequest {
9436
9643
  'subscriberPrices'?: Array<SubscriberPrice>;
9437
9644
  /**
9438
9645
  *
9439
- * @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>}
9440
9659
  * @memberof UpdateEventRequest
9441
9660
  */
9442
- 'visibilityType'?: UpdateEventRequestVisibilityTypeEnum;
9661
+ 'sponsors'?: Array<EventSponsor>;
9443
9662
  }
9444
9663
  export declare const UpdateEventRequestTypeEnum: {
9445
9664
  readonly Event: "event";
@@ -10639,6 +10858,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
10639
10858
  * @throws {RequiredError}
10640
10859
  */
10641
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>;
10642
10868
  /**
10643
10869
  * Obtenir une réservation par ID
10644
10870
  * @param {string} bookingId
@@ -10674,6 +10900,17 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
10674
10900
  * @throws {RequiredError}
10675
10901
  */
10676
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>;
10677
10914
  };
10678
10915
  /**
10679
10916
  * BookingsStaffApi - functional programming interface
@@ -10688,6 +10925,13 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
10688
10925
  * @throws {RequiredError}
10689
10926
  */
10690
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>>;
10691
10935
  /**
10692
10936
  * Obtenir une réservation par ID
10693
10937
  * @param {string} bookingId
@@ -10723,6 +10967,17 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
10723
10967
  * @throws {RequiredError}
10724
10968
  */
10725
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>>;
10726
10981
  };
10727
10982
  /**
10728
10983
  * BookingsStaffApi - factory interface
@@ -10736,6 +10991,13 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
10736
10991
  * @throws {RequiredError}
10737
10992
  */
10738
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>;
10739
11001
  /**
10740
11002
  * Obtenir une réservation par ID
10741
11003
  * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
@@ -10771,6 +11033,13 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
10771
11033
  * @throws {RequiredError}
10772
11034
  */
10773
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>;
10774
11043
  };
10775
11044
  /**
10776
11045
  * Request parameters for checkInPlayers operation in BookingsStaffApi.
@@ -10791,6 +11060,19 @@ export interface BookingsStaffApiCheckInPlayersRequest {
10791
11060
  */
10792
11061
  readonly checkInPlayersRequest: CheckInPlayersRequest;
10793
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
+ }
10794
11076
  /**
10795
11077
  * Request parameters for getBookingById operation in BookingsStaffApi.
10796
11078
  * @export
@@ -10856,6 +11138,43 @@ export interface BookingsStaffApiGetWeeklyBookingsRequest {
10856
11138
  */
10857
11139
  readonly weekId: string;
10858
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
+ }
10859
11178
  /**
10860
11179
  * BookingsStaffApi - object-oriented interface
10861
11180
  * @export
@@ -10871,6 +11190,14 @@ export declare class BookingsStaffApi extends BaseAPI {
10871
11190
  * @memberof BookingsStaffApi
10872
11191
  */
10873
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, {}>>;
10874
11201
  /**
10875
11202
  * Obtenir une réservation par ID
10876
11203
  * @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
@@ -10911,6 +11238,14 @@ export declare class BookingsStaffApi extends BaseAPI {
10911
11238
  * @memberof BookingsStaffApi
10912
11239
  */
10913
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, {}>>;
10914
11249
  }
10915
11250
  /**
10916
11251
  * BookingsUserApi - axios parameter creator
@@ -10925,7 +11260,7 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
10925
11260
  */
10926
11261
  cancelBooking: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10927
11262
  /**
10928
- * 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)
10929
11264
  * @param {CreateBookingRequest} createBookingRequest
10930
11265
  * @param {*} [options] Override http request option.
10931
11266
  * @throws {RequiredError}
@@ -10945,7 +11280,7 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
10945
11280
  */
10946
11281
  cancelBooking(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
10947
11282
  /**
10948
- * 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)
10949
11284
  * @param {CreateBookingRequest} createBookingRequest
10950
11285
  * @param {*} [options] Override http request option.
10951
11286
  * @throws {RequiredError}
@@ -10965,7 +11300,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
10965
11300
  */
10966
11301
  cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
10967
11302
  /**
10968
- * 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)
10969
11304
  * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
10970
11305
  * @param {*} [options] Override http request option.
10971
11306
  * @throws {RequiredError}
@@ -11014,7 +11349,7 @@ export declare class BookingsUserApi extends BaseAPI {
11014
11349
  */
11015
11350
  cancelBooking(requestParameters: BookingsUserApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any, {}>>;
11016
11351
  /**
11017
- * 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)
11018
11353
  * @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
11019
11354
  * @param {*} [options] Override http request option.
11020
11355
  * @throws {RequiredError}
@@ -11028,18 +11363,12 @@ export declare class BookingsUserApi extends BaseAPI {
11028
11363
  */
11029
11364
  export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
11030
11365
  /**
11031
- * 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
11032
11367
  * @param {ClientRegisterRequest} clientRegisterRequest
11033
11368
  * @param {*} [options] Override http request option.
11034
11369
  * @throws {RequiredError}
11035
11370
  */
11036
11371
  clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11037
- /**
11038
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11039
- * @param {*} [options] Override http request option.
11040
- * @throws {RequiredError}
11041
- */
11042
- getClientSubscriptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11043
11372
  /**
11044
11373
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11045
11374
  * @param {*} [options] Override http request option.
@@ -11047,7 +11376,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11047
11376
  */
11048
11377
  getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11049
11378
  /**
11050
- * 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
11051
11380
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
11052
11381
  * @param {*} [options] Override http request option.
11053
11382
  * @throws {RequiredError}
@@ -11060,18 +11389,12 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11060
11389
  */
11061
11390
  export declare const ClientApiFp: (configuration?: Configuration) => {
11062
11391
  /**
11063
- * 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
11064
11393
  * @param {ClientRegisterRequest} clientRegisterRequest
11065
11394
  * @param {*} [options] Override http request option.
11066
11395
  * @throws {RequiredError}
11067
11396
  */
11068
11397
  clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
11069
- /**
11070
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11071
- * @param {*} [options] Override http request option.
11072
- * @throws {RequiredError}
11073
- */
11074
- getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>>;
11075
11398
  /**
11076
11399
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11077
11400
  * @param {*} [options] Override http request option.
@@ -11079,7 +11402,7 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11079
11402
  */
11080
11403
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
11081
11404
  /**
11082
- * 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
11083
11406
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
11084
11407
  * @param {*} [options] Override http request option.
11085
11408
  * @throws {RequiredError}
@@ -11092,18 +11415,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11092
11415
  */
11093
11416
  export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11094
11417
  /**
11095
- * 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
11096
11419
  * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
11097
11420
  * @param {*} [options] Override http request option.
11098
11421
  * @throws {RequiredError}
11099
11422
  */
11100
11423
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
11101
- /**
11102
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11103
- * @param {*} [options] Override http request option.
11104
- * @throws {RequiredError}
11105
- */
11106
- getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse>;
11107
11424
  /**
11108
11425
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11109
11426
  * @param {*} [options] Override http request option.
@@ -11111,7 +11428,7 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
11111
11428
  */
11112
11429
  getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
11113
11430
  /**
11114
- * 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
11115
11432
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
11116
11433
  * @param {*} [options] Override http request option.
11117
11434
  * @throws {RequiredError}
@@ -11152,20 +11469,13 @@ export interface ClientApiOnboardClubRequest {
11152
11469
  */
11153
11470
  export declare class ClientApi extends BaseAPI {
11154
11471
  /**
11155
- * 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
11156
11473
  * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
11157
11474
  * @param {*} [options] Override http request option.
11158
11475
  * @throws {RequiredError}
11159
11476
  * @memberof ClientApi
11160
11477
  */
11161
11478
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
11162
- /**
11163
- * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11164
- * @param {*} [options] Override http request option.
11165
- * @throws {RequiredError}
11166
- * @memberof ClientApi
11167
- */
11168
- getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientSubscriptionsResponse, any, {}>>;
11169
11479
  /**
11170
11480
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11171
11481
  * @param {*} [options] Override http request option.
@@ -11174,7 +11484,7 @@ export declare class ClientApi extends BaseAPI {
11174
11484
  */
11175
11485
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
11176
11486
  /**
11177
- * 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
11178
11488
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
11179
11489
  * @param {*} [options] Override http request option.
11180
11490
  * @throws {RequiredError}
@@ -11295,10 +11605,14 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
11295
11605
  getClubPlayerStatisticsById: (playerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11296
11606
  /**
11297
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]
11298
11612
  * @param {*} [options] Override http request option.
11299
11613
  * @throws {RequiredError}
11300
11614
  */
11301
- getClubPlayers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11615
+ getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11302
11616
  /**
11303
11617
  * Récupère le chiffre d\'affaires quotidien
11304
11618
  * @param {string} date
@@ -11409,10 +11723,14 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
11409
11723
  getClubPlayerStatisticsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerStatisticsResponse>>;
11410
11724
  /**
11411
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]
11412
11730
  * @param {*} [options] Override http request option.
11413
11731
  * @throws {RequiredError}
11414
11732
  */
11415
- 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>>;
11416
11734
  /**
11417
11735
  * Récupère le chiffre d\'affaires quotidien
11418
11736
  * @param {string} date
@@ -11521,10 +11839,11 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
11521
11839
  getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerStatisticsResponse>;
11522
11840
  /**
11523
11841
  * Récupère la liste des joueurs du club
11842
+ * @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
11524
11843
  * @param {*} [options] Override http request option.
11525
11844
  * @throws {RequiredError}
11526
11845
  */
11527
- getClubPlayers(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClubPlayerResponse>>;
11846
+ getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse>;
11528
11847
  /**
11529
11848
  * Récupère le chiffre d\'affaires quotidien
11530
11849
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -11660,6 +11979,37 @@ export interface ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest {
11660
11979
  */
11661
11980
  readonly playerId: string;
11662
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
+ }
11663
12013
  /**
11664
12014
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
11665
12015
  * @export
@@ -11765,11 +12115,12 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
11765
12115
  getClubPlayerStatisticsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerStatisticsResponse, any, {}>>;
11766
12116
  /**
11767
12117
  * Récupère la liste des joueurs du club
12118
+ * @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
11768
12119
  * @param {*} [options] Override http request option.
11769
12120
  * @throws {RequiredError}
11770
12121
  * @memberof ClubAnalyticsStaffApi
11771
12122
  */
11772
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayerResponse[], any, {}>>;
12123
+ getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayersPaginatedResponse, any, {}>>;
11773
12124
  /**
11774
12125
  * Récupère le chiffre d\'affaires quotidien
11775
12126
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -12456,7 +12807,7 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
12456
12807
  */
12457
12808
  export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration) => {
12458
12809
  /**
12459
- * 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
12460
12811
  * @param {*} [options] Override http request option.
12461
12812
  * @throws {RequiredError}
12462
12813
  */
@@ -12519,7 +12870,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12519
12870
  */
12520
12871
  getClubUsersById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12521
12872
  /**
12522
- * 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
12523
12874
  * @param {*} [options] Override http request option.
12524
12875
  * @throws {RequiredError}
12525
12876
  */
@@ -12560,7 +12911,7 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
12560
12911
  */
12561
12912
  export declare const ClubsApiFp: (configuration?: Configuration) => {
12562
12913
  /**
12563
- * 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
12564
12915
  * @param {*} [options] Override http request option.
12565
12916
  * @throws {RequiredError}
12566
12917
  */
@@ -12623,7 +12974,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12623
12974
  */
12624
12975
  getClubUsersById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubUsersById200Response>>;
12625
12976
  /**
12626
- * 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
12627
12978
  * @param {*} [options] Override http request option.
12628
12979
  * @throws {RequiredError}
12629
12980
  */
@@ -12664,7 +13015,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
12664
13015
  */
12665
13016
  export declare const ClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12666
13017
  /**
12667
- * 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
12668
13019
  * @param {*} [options] Override http request option.
12669
13020
  * @throws {RequiredError}
12670
13021
  */
@@ -12724,7 +13075,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
12724
13075
  */
12725
13076
  getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetClubUsersById200Response>;
12726
13077
  /**
12727
- * 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
12728
13079
  * @param {*} [options] Override http request option.
12729
13080
  * @throws {RequiredError}
12730
13081
  */
@@ -12920,7 +13271,7 @@ export interface ClubsApiGetSportsByClubByIdRequest {
12920
13271
  */
12921
13272
  export declare class ClubsApi extends BaseAPI {
12922
13273
  /**
12923
- * 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
12924
13275
  * @param {*} [options] Override http request option.
12925
13276
  * @throws {RequiredError}
12926
13277
  * @memberof ClubsApi
@@ -12989,7 +13340,7 @@ export declare class ClubsApi extends BaseAPI {
12989
13340
  */
12990
13341
  getClubUsersById(requestParameters: ClubsApiGetClubUsersByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubUsersById200Response, any, {}>>;
12991
13342
  /**
12992
- * 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
12993
13344
  * @param {*} [options] Override http request option.
12994
13345
  * @throws {RequiredError}
12995
13346
  * @memberof ClubsApi
@@ -14010,10 +14361,17 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
14010
14361
  getCourtsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14011
14362
  /**
14012
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]
14013
14371
  * @param {*} [options] Override http request option.
14014
14372
  * @throws {RequiredError}
14015
14373
  */
14016
- 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>;
14017
14375
  /**
14018
14376
  *
14019
14377
  * @param {string} id
@@ -14081,10 +14439,17 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
14081
14439
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CourtResponse>>>;
14082
14440
  /**
14083
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]
14084
14449
  * @param {*} [options] Override http request option.
14085
14450
  * @throws {RequiredError}
14086
14451
  */
14087
- 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>>;
14088
14453
  /**
14089
14454
  *
14090
14455
  * @param {string} id
@@ -14151,10 +14516,11 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
14151
14516
  getCourtsByClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<CourtResponse>>;
14152
14517
  /**
14153
14518
  *
14519
+ * @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
14154
14520
  * @param {*} [options] Override http request option.
14155
14521
  * @throws {RequiredError}
14156
14522
  */
14157
- getInvoices(options?: RawAxiosRequestConfig): AxiosPromise<any>;
14523
+ getInvoices(requestParameters?: ClubsStaffApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
14158
14524
  /**
14159
14525
  *
14160
14526
  * @param {ClubsStaffApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -14189,6 +14555,55 @@ export interface ClubsStaffApiCreateOnsiteInvoiceForBookingRequest {
14189
14555
  */
14190
14556
  readonly createOnsiteInvoiceRequest: CreateOnsiteInvoiceRequest;
14191
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
+ }
14192
14607
  /**
14193
14608
  * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
14194
14609
  * @export
@@ -14280,11 +14695,12 @@ export declare class ClubsStaffApi extends BaseAPI {
14280
14695
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtResponse[], any, {}>>;
14281
14696
  /**
14282
14697
  *
14698
+ * @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
14283
14699
  * @param {*} [options] Override http request option.
14284
14700
  * @throws {RequiredError}
14285
14701
  * @memberof ClubsStaffApi
14286
14702
  */
14287
- getInvoices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
14703
+ getInvoices(requestParameters?: ClubsStaffApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
14288
14704
  /**
14289
14705
  *
14290
14706
  * @param {ClubsStaffApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -14375,22 +14791,6 @@ export declare class DefaultApi extends BaseAPI {
14375
14791
  * @export
14376
14792
  */
14377
14793
  export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
14378
- /**
14379
- * Check team name availability for TEAM participation events
14380
- * @param {string} eventId
14381
- * @param {string} [teamName]
14382
- * @param {*} [options] Override http request option.
14383
- * @throws {RequiredError}
14384
- */
14385
- checkTeamNameAvailability: (eventId: string, teamName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14386
- /**
14387
- * Estime le prix de participation à un événement pour une liste de joueurs
14388
- * @param {string} eventId
14389
- * @param {EstimateEventPriceRequest} estimateEventPriceRequest
14390
- * @param {*} [options] Override http request option.
14391
- * @throws {RequiredError}
14392
- */
14393
- estimateEventPrice: (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14394
14794
  /**
14395
14795
  * Get a specific event by ID
14396
14796
  * @param {string} eventId
@@ -14429,22 +14829,6 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
14429
14829
  * @export
14430
14830
  */
14431
14831
  export declare const EventsApiFp: (configuration?: Configuration) => {
14432
- /**
14433
- * Check team name availability for TEAM participation events
14434
- * @param {string} eventId
14435
- * @param {string} [teamName]
14436
- * @param {*} [options] Override http request option.
14437
- * @throws {RequiredError}
14438
- */
14439
- checkTeamNameAvailability(eventId: string, teamName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckTeamNameAvailability200Response>>;
14440
- /**
14441
- * Estime le prix de participation à un événement pour une liste de joueurs
14442
- * @param {string} eventId
14443
- * @param {EstimateEventPriceRequest} estimateEventPriceRequest
14444
- * @param {*} [options] Override http request option.
14445
- * @throws {RequiredError}
14446
- */
14447
- estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
14448
14832
  /**
14449
14833
  * Get a specific event by ID
14450
14834
  * @param {string} eventId
@@ -14483,20 +14867,6 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
14483
14867
  * @export
14484
14868
  */
14485
14869
  export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14486
- /**
14487
- * Check team name availability for TEAM participation events
14488
- * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
14489
- * @param {*} [options] Override http request option.
14490
- * @throws {RequiredError}
14491
- */
14492
- checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckTeamNameAvailability200Response>;
14493
- /**
14494
- * Estime le prix de participation à un événement pour une liste de joueurs
14495
- * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
14496
- * @param {*} [options] Override http request option.
14497
- * @throws {RequiredError}
14498
- */
14499
- estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
14500
14870
  /**
14501
14871
  * Get a specific event by ID
14502
14872
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -14526,44 +14896,6 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
14526
14896
  */
14527
14897
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
14528
14898
  };
14529
- /**
14530
- * Request parameters for checkTeamNameAvailability operation in EventsApi.
14531
- * @export
14532
- * @interface EventsApiCheckTeamNameAvailabilityRequest
14533
- */
14534
- export interface EventsApiCheckTeamNameAvailabilityRequest {
14535
- /**
14536
- *
14537
- * @type {string}
14538
- * @memberof EventsApiCheckTeamNameAvailability
14539
- */
14540
- readonly eventId: string;
14541
- /**
14542
- *
14543
- * @type {string}
14544
- * @memberof EventsApiCheckTeamNameAvailability
14545
- */
14546
- readonly teamName?: string;
14547
- }
14548
- /**
14549
- * Request parameters for estimateEventPrice operation in EventsApi.
14550
- * @export
14551
- * @interface EventsApiEstimateEventPriceRequest
14552
- */
14553
- export interface EventsApiEstimateEventPriceRequest {
14554
- /**
14555
- *
14556
- * @type {string}
14557
- * @memberof EventsApiEstimateEventPrice
14558
- */
14559
- readonly eventId: string;
14560
- /**
14561
- *
14562
- * @type {EstimateEventPriceRequest}
14563
- * @memberof EventsApiEstimateEventPrice
14564
- */
14565
- readonly estimateEventPriceRequest: EstimateEventPriceRequest;
14566
- }
14567
14899
  /**
14568
14900
  * Request parameters for getEventById operation in EventsApi.
14569
14901
  * @export
@@ -14647,22 +14979,6 @@ export interface EventsApiLeaveEventRequest {
14647
14979
  * @extends {BaseAPI}
14648
14980
  */
14649
14981
  export declare class EventsApi extends BaseAPI {
14650
- /**
14651
- * Check team name availability for TEAM participation events
14652
- * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
14653
- * @param {*} [options] Override http request option.
14654
- * @throws {RequiredError}
14655
- * @memberof EventsApi
14656
- */
14657
- checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckTeamNameAvailability200Response, any, {}>>;
14658
- /**
14659
- * Estime le prix de participation à un événement pour une liste de joueurs
14660
- * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
14661
- * @param {*} [options] Override http request option.
14662
- * @throws {RequiredError}
14663
- * @memberof EventsApi
14664
- */
14665
- estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
14666
14982
  /**
14667
14983
  * Get a specific event by ID
14668
14984
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -15865,6 +16181,13 @@ export declare const SubscriptionsStaffApiAxiosParamCreator: (configuration?: Co
15865
16181
  * @throws {RequiredError}
15866
16182
  */
15867
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>;
15868
16191
  };
15869
16192
  /**
15870
16193
  * SubscriptionsStaffApi - functional programming interface
@@ -15877,6 +16200,13 @@ export declare const SubscriptionsStaffApiFp: (configuration?: Configuration) =>
15877
16200
  * @throws {RequiredError}
15878
16201
  */
15879
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>>;
15880
16210
  };
15881
16211
  /**
15882
16212
  * SubscriptionsStaffApi - factory interface
@@ -15889,7 +16219,27 @@ export declare const SubscriptionsStaffApiFactory: (configuration?: Configuratio
15889
16219
  * @throws {RequiredError}
15890
16220
  */
15891
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>;
15892
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
+ }
15893
16243
  /**
15894
16244
  * SubscriptionsStaffApi - object-oriented interface
15895
16245
  * @export
@@ -15904,6 +16254,14 @@ export declare class SubscriptionsStaffApi extends BaseAPI {
15904
16254
  * @memberof SubscriptionsStaffApi
15905
16255
  */
15906
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, {}>>;
15907
16265
  }
15908
16266
  /**
15909
16267
  * SubscriptionsUserApi - axios parameter creator