@tennac-booking/sdk 1.0.120 → 1.0.122

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 (61) hide show
  1. package/.openapi-generator/FILES +17 -0
  2. package/README.md +24 -4
  3. package/api.ts +930 -28
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +740 -17
  8. package/dist/api.js +332 -17
  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 +740 -17
  16. package/dist/esm/api.js +324 -13
  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/CheckTeamNameAvailability200Response.md +20 -0
  28. package/docs/ClientApi.md +47 -0
  29. package/docs/ClientFullOnboardingResponseClub.md +2 -0
  30. package/docs/ClientOnboardingRequestBody.md +2 -0
  31. package/docs/ClientSubscription.md +31 -0
  32. package/docs/ClientSubscriptionItem.md +25 -0
  33. package/docs/ClientSubscriptionsResponse.md +21 -0
  34. package/docs/ClubSettingsManagerApi.md +7 -7
  35. package/docs/CreateCourtRequest.md +2 -0
  36. package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
  37. package/docs/EstimateEventPrice200Response.md +32 -0
  38. package/docs/EstimateEventPriceRequest.md +26 -0
  39. package/docs/EstimateEventPriceRequestSharesInner.md +22 -0
  40. package/docs/EventResponse.md +3 -1
  41. package/docs/EventUser.md +28 -0
  42. package/docs/EventsApi.md +115 -0
  43. package/docs/ImageCleanupItem.md +22 -0
  44. package/docs/ImageCleanupRequestBody.md +20 -0
  45. package/docs/ImageCleanupResponse.md +22 -0
  46. package/docs/ImageContext.md +30 -0
  47. package/docs/ImageContextType.md +20 -0
  48. package/docs/ImageReferencePayload.md +24 -0
  49. package/docs/ImagesApi.md +59 -0
  50. package/docs/JoinEventRequest.md +2 -0
  51. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +2 -0
  52. package/docs/JoinEventResponse.md +14 -0
  53. package/docs/JoinEventResponseOnsitePaymentsInner.md +24 -0
  54. package/docs/OffPeakRule.md +2 -0
  55. package/docs/Team.md +1 -1
  56. package/docs/UpdateClubGeneralSettingsRequest.md +1 -1
  57. package/docs/UpdateClubGeneralSettingsRequestLogo.md +24 -0
  58. package/docs/UpdateClubPresentationSettingsRequest.md +2 -2
  59. package/docs/UserProfileResponse.md +2 -0
  60. package/index.ts +1 -1
  61. package/package.json +1 -1
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.110
5
+ * The version of the OpenAPI document: 1.0.121
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1450,6 +1450,19 @@ 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
+ }
1453
1466
  /**
1454
1467
  *
1455
1468
  * @export
@@ -1554,6 +1567,12 @@ export interface ClientFullOnboardingResponse {
1554
1567
  * @interface ClientFullOnboardingResponseClub
1555
1568
  */
1556
1569
  export interface ClientFullOnboardingResponseClub {
1570
+ /**
1571
+ *
1572
+ * @type {string}
1573
+ * @memberof ClientFullOnboardingResponseClub
1574
+ */
1575
+ 'clubType'?: string;
1557
1576
  /**
1558
1577
  *
1559
1578
  * @type {string}
@@ -1621,7 +1640,18 @@ export interface ClientOnboardingRequestBody {
1621
1640
  * @memberof ClientOnboardingRequestBody
1622
1641
  */
1623
1642
  'country'?: string;
1643
+ /**
1644
+ * Type de club souhaité (public | school)
1645
+ * @type {string}
1646
+ * @memberof ClientOnboardingRequestBody
1647
+ */
1648
+ 'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
1624
1649
  }
1650
+ export declare const ClientOnboardingRequestBodyClubTypeEnum: {
1651
+ readonly Public: "public";
1652
+ readonly School: "school";
1653
+ };
1654
+ export type ClientOnboardingRequestBodyClubTypeEnum = typeof ClientOnboardingRequestBodyClubTypeEnum[keyof typeof ClientOnboardingRequestBodyClubTypeEnum];
1625
1655
  /**
1626
1656
  *
1627
1657
  * @export
@@ -1684,6 +1714,87 @@ export interface ClientRegisterRequest {
1684
1714
  */
1685
1715
  'firstName': string;
1686
1716
  }
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
+ }
1687
1798
  /**
1688
1799
  *
1689
1800
  * @export
@@ -3526,6 +3637,12 @@ export interface CreateCourtRequest {
3526
3637
  * @memberof CreateCourtRequest
3527
3638
  */
3528
3639
  'isIndoor': boolean;
3640
+ /**
3641
+ *
3642
+ * @type {number}
3643
+ * @memberof CreateCourtRequest
3644
+ */
3645
+ 'pricePerHour': number;
3529
3646
  /**
3530
3647
  * Commentaires sur le terrain
3531
3648
  * @type {string}
@@ -3953,8 +4070,15 @@ export interface CreateSubscriptionPlanRequestDiscount {
3953
4070
  *
3954
4071
  * @type {Array<OffPeakRule>}
3955
4072
  * @memberof CreateSubscriptionPlanRequestDiscount
4073
+ * @deprecated
3956
4074
  */
3957
4075
  'offPeakRules'?: Array<OffPeakRule>;
4076
+ /**
4077
+ * Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club.
4078
+ * @type {Array<string>}
4079
+ * @memberof CreateSubscriptionPlanRequestDiscount
4080
+ */
4081
+ 'offPeakRuleNames'?: Array<string>;
3958
4082
  /**
3959
4083
  *
3960
4084
  * @type {string}
@@ -4119,6 +4243,111 @@ export declare const DiscountType: {
4119
4243
  readonly OffPeak: "off_peak";
4120
4244
  };
4121
4245
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
4246
+ /**
4247
+ *
4248
+ * @export
4249
+ * @interface EstimateEventPrice200Response
4250
+ */
4251
+ export interface EstimateEventPrice200Response {
4252
+ /**
4253
+ * Construct a type with a set of properties K of type T
4254
+ * @type {{ [key: string]: number; }}
4255
+ * @memberof EstimateEventPrice200Response
4256
+ */
4257
+ 'perPayerAfterCredits'?: {
4258
+ [key: string]: number;
4259
+ };
4260
+ /**
4261
+ *
4262
+ * @type {number}
4263
+ * @memberof EstimateEventPrice200Response
4264
+ */
4265
+ 'totalAfterCredits'?: number;
4266
+ /**
4267
+ *
4268
+ * @type {number}
4269
+ * @memberof EstimateEventPrice200Response
4270
+ */
4271
+ 'creditsAppliedInCents'?: number;
4272
+ /**
4273
+ *
4274
+ * @type {string}
4275
+ * @memberof EstimateEventPrice200Response
4276
+ */
4277
+ 'currency': string;
4278
+ /**
4279
+ *
4280
+ * @type {number}
4281
+ * @memberof EstimateEventPrice200Response
4282
+ */
4283
+ 'total': number;
4284
+ /**
4285
+ * Construct a type with a set of properties K of type T
4286
+ * @type {{ [key: string]: number; }}
4287
+ * @memberof EstimateEventPrice200Response
4288
+ */
4289
+ 'perPayer': {
4290
+ [key: string]: number;
4291
+ };
4292
+ /**
4293
+ * Construct a type with a set of properties K of type T
4294
+ * @type {{ [key: string]: number; }}
4295
+ * @memberof EstimateEventPrice200Response
4296
+ */
4297
+ 'perPlayer': {
4298
+ [key: string]: number;
4299
+ };
4300
+ }
4301
+ /**
4302
+ *
4303
+ * @export
4304
+ * @interface EstimateEventPriceRequest
4305
+ */
4306
+ export interface EstimateEventPriceRequest {
4307
+ /**
4308
+ *
4309
+ * @type {number}
4310
+ * @memberof EstimateEventPriceRequest
4311
+ */
4312
+ 'creditToUseInCents'?: number;
4313
+ /**
4314
+ *
4315
+ * @type {string}
4316
+ * @memberof EstimateEventPriceRequest
4317
+ */
4318
+ 'creatorId'?: string;
4319
+ /**
4320
+ *
4321
+ * @type {Array<EstimateEventPriceRequestSharesInner>}
4322
+ * @memberof EstimateEventPriceRequest
4323
+ */
4324
+ 'shares'?: Array<EstimateEventPriceRequestSharesInner>;
4325
+ /**
4326
+ *
4327
+ * @type {Array<string>}
4328
+ * @memberof EstimateEventPriceRequest
4329
+ */
4330
+ 'playerIds': Array<string>;
4331
+ }
4332
+ /**
4333
+ *
4334
+ * @export
4335
+ * @interface EstimateEventPriceRequestSharesInner
4336
+ */
4337
+ export interface EstimateEventPriceRequestSharesInner {
4338
+ /**
4339
+ *
4340
+ * @type {Array<string>}
4341
+ * @memberof EstimateEventPriceRequestSharesInner
4342
+ */
4343
+ 'paysAlsoFor'?: Array<string>;
4344
+ /**
4345
+ *
4346
+ * @type {string}
4347
+ * @memberof EstimateEventPriceRequestSharesInner
4348
+ */
4349
+ 'playerId': string;
4350
+ }
4122
4351
  /**
4123
4352
  *
4124
4353
  * @export
@@ -4273,10 +4502,10 @@ export interface EventResponse {
4273
4502
  'participationType': EventResponseParticipationTypeEnum;
4274
4503
  /**
4275
4504
  *
4276
- * @type {Array<string>}
4505
+ * @type {Array<EventUser>}
4277
4506
  * @memberof EventResponse
4278
4507
  */
4279
- 'participants'?: Array<string>;
4508
+ 'participants'?: Array<EventUser>;
4280
4509
  /**
4281
4510
  *
4282
4511
  * @type {Array<Team>}
@@ -4295,6 +4524,12 @@ export interface EventResponse {
4295
4524
  * @memberof EventResponse
4296
4525
  */
4297
4526
  'teamLimit'?: number;
4527
+ /**
4528
+ *
4529
+ * @type {number}
4530
+ * @memberof EventResponse
4531
+ */
4532
+ 'playersPerTeam'?: number;
4298
4533
  /**
4299
4534
  *
4300
4535
  * @type {number}
@@ -4398,6 +4633,43 @@ export interface EventSponsor {
4398
4633
  */
4399
4634
  'logo'?: string | null;
4400
4635
  }
4636
+ /**
4637
+ *
4638
+ * @export
4639
+ * @interface EventUser
4640
+ */
4641
+ export interface EventUser {
4642
+ /**
4643
+ *
4644
+ * @type {string}
4645
+ * @memberof EventUser
4646
+ */
4647
+ 'id': string;
4648
+ /**
4649
+ *
4650
+ * @type {string}
4651
+ * @memberof EventUser
4652
+ */
4653
+ 'firstName': string;
4654
+ /**
4655
+ *
4656
+ * @type {string}
4657
+ * @memberof EventUser
4658
+ */
4659
+ 'lastName': string;
4660
+ /**
4661
+ *
4662
+ * @type {string}
4663
+ * @memberof EventUser
4664
+ */
4665
+ 'username'?: string;
4666
+ /**
4667
+ *
4668
+ * @type {string}
4669
+ * @memberof EventUser
4670
+ */
4671
+ 'profilePicture'?: string;
4672
+ }
4401
4673
  /**
4402
4674
  *
4403
4675
  * @export
@@ -5218,6 +5490,142 @@ export declare const IUserLocationTypeEnum: {
5218
5490
  readonly Point: "Point";
5219
5491
  };
5220
5492
  export type IUserLocationTypeEnum = typeof IUserLocationTypeEnum[keyof typeof IUserLocationTypeEnum];
5493
+ /**
5494
+ *
5495
+ * @export
5496
+ * @interface ImageCleanupItem
5497
+ */
5498
+ export interface ImageCleanupItem {
5499
+ /**
5500
+ *
5501
+ * @type {string}
5502
+ * @memberof ImageCleanupItem
5503
+ */
5504
+ 'imageKey': string;
5505
+ /**
5506
+ *
5507
+ * @type {ImageContext}
5508
+ * @memberof ImageCleanupItem
5509
+ */
5510
+ 'context': ImageContext;
5511
+ }
5512
+ /**
5513
+ *
5514
+ * @export
5515
+ * @interface ImageCleanupRequestBody
5516
+ */
5517
+ export interface ImageCleanupRequestBody {
5518
+ /**
5519
+ *
5520
+ * @type {Array<ImageCleanupItem>}
5521
+ * @memberof ImageCleanupRequestBody
5522
+ */
5523
+ 'items': Array<ImageCleanupItem>;
5524
+ }
5525
+ /**
5526
+ *
5527
+ * @export
5528
+ * @interface ImageCleanupResponse
5529
+ */
5530
+ export interface ImageCleanupResponse {
5531
+ /**
5532
+ *
5533
+ * @type {boolean}
5534
+ * @memberof ImageCleanupResponse
5535
+ */
5536
+ 'success': boolean;
5537
+ /**
5538
+ *
5539
+ * @type {number}
5540
+ * @memberof ImageCleanupResponse
5541
+ */
5542
+ 'deleted': number;
5543
+ }
5544
+ /**
5545
+ *
5546
+ * @export
5547
+ * @interface ImageContext
5548
+ */
5549
+ export interface ImageContext {
5550
+ /**
5551
+ *
5552
+ * @type {ImageContextType}
5553
+ * @memberof ImageContext
5554
+ */
5555
+ 'type': ImageContextType;
5556
+ /**
5557
+ *
5558
+ * @type {string}
5559
+ * @memberof ImageContext
5560
+ */
5561
+ 'entityId': string;
5562
+ /**
5563
+ *
5564
+ * @type {string}
5565
+ * @memberof ImageContext
5566
+ */
5567
+ 'userId'?: string;
5568
+ /**
5569
+ *
5570
+ * @type {string}
5571
+ * @memberof ImageContext
5572
+ */
5573
+ 'clubId'?: string;
5574
+ /**
5575
+ *
5576
+ * @type {string}
5577
+ * @memberof ImageContext
5578
+ */
5579
+ 'sportId'?: string;
5580
+ /**
5581
+ *
5582
+ * @type {string}
5583
+ * @memberof ImageContext
5584
+ */
5585
+ 'eventId'?: string;
5586
+ }
5587
+ /**
5588
+ *
5589
+ * @export
5590
+ * @enum {string}
5591
+ */
5592
+ export declare const ImageContextType: {
5593
+ readonly UserAvatar: "user-avatar";
5594
+ readonly ClubAvatar: "club-avatar";
5595
+ readonly ClubGallery: "club-gallery";
5596
+ readonly ClubPreview: "club-preview";
5597
+ readonly ClubCarousel: "club-carousel";
5598
+ readonly ClubSportImage: "club-sport-image";
5599
+ readonly ClubEventImage: "club-event-image";
5600
+ };
5601
+ export type ImageContextType = typeof ImageContextType[keyof typeof ImageContextType];
5602
+ /**
5603
+ *
5604
+ * @export
5605
+ * @interface ImageReferencePayload
5606
+ */
5607
+ export interface ImageReferencePayload {
5608
+ /**
5609
+ *
5610
+ * @type {ImageContextType}
5611
+ * @memberof ImageReferencePayload
5612
+ */
5613
+ 'type': ImageContextType;
5614
+ /**
5615
+ *
5616
+ * @type {string}
5617
+ * @memberof ImageReferencePayload
5618
+ */
5619
+ 'imageKey': string;
5620
+ /**
5621
+ * Construct a type with a set of properties K of type T
5622
+ * @type {{ [key: string]: any; }}
5623
+ * @memberof ImageReferencePayload
5624
+ */
5625
+ 'dbContext'?: {
5626
+ [key: string]: any;
5627
+ } | null;
5628
+ }
5221
5629
  /**
5222
5630
  *
5223
5631
  * @export
@@ -5301,6 +5709,12 @@ export interface JoinEventRequest {
5301
5709
  * @memberof JoinEventRequest
5302
5710
  */
5303
5711
  'useDefaultPaymentMethod'?: boolean;
5712
+ /**
5713
+ *
5714
+ * @type {number}
5715
+ * @memberof JoinEventRequest
5716
+ */
5717
+ 'creditToUseInCents'?: number;
5304
5718
  }
5305
5719
  /**
5306
5720
  *
@@ -5308,6 +5722,12 @@ export interface JoinEventRequest {
5308
5722
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5309
5723
  */
5310
5724
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5725
+ /**
5726
+ *
5727
+ * @type {Array<string>}
5728
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5729
+ */
5730
+ 'paysAlsoFor'?: Array<string>;
5311
5731
  /**
5312
5732
  *
5313
5733
  * @type {PaymentMethod}
@@ -5339,6 +5759,77 @@ export interface JoinEventResponse {
5339
5759
  * @memberof JoinEventResponse
5340
5760
  */
5341
5761
  'event': EventResponse;
5762
+ /**
5763
+ * Construct a type with a set of properties K of type T
5764
+ * @type {{ [key: string]: string; }}
5765
+ * @memberof JoinEventResponse
5766
+ */
5767
+ 'paymentLinks'?: {
5768
+ [key: string]: string;
5769
+ };
5770
+ /**
5771
+ *
5772
+ * @type {Array<JoinEventResponseOnsitePaymentsInner>}
5773
+ * @memberof JoinEventResponse
5774
+ */
5775
+ 'onsitePayments'?: Array<JoinEventResponseOnsitePaymentsInner>;
5776
+ /**
5777
+ *
5778
+ * @type {string}
5779
+ * @memberof JoinEventResponse
5780
+ */
5781
+ 'setupNoShowPaymentUrl'?: string;
5782
+ /**
5783
+ *
5784
+ * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
5785
+ * @memberof JoinEventResponse
5786
+ */
5787
+ 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
5788
+ /**
5789
+ *
5790
+ * @type {number}
5791
+ * @memberof JoinEventResponse
5792
+ */
5793
+ 'creditsAppliedInCents'?: number;
5794
+ /**
5795
+ *
5796
+ * @type {number}
5797
+ * @memberof JoinEventResponse
5798
+ */
5799
+ 'totalAfterCredits'?: number;
5800
+ /**
5801
+ * Construct a type with a set of properties K of type T
5802
+ * @type {{ [key: string]: number; }}
5803
+ * @memberof JoinEventResponse
5804
+ */
5805
+ 'perPayerAfterCredits'?: {
5806
+ [key: string]: number;
5807
+ };
5808
+ }
5809
+ /**
5810
+ *
5811
+ * @export
5812
+ * @interface JoinEventResponseOnsitePaymentsInner
5813
+ */
5814
+ export interface JoinEventResponseOnsitePaymentsInner {
5815
+ /**
5816
+ *
5817
+ * @type {PaymentMethod}
5818
+ * @memberof JoinEventResponseOnsitePaymentsInner
5819
+ */
5820
+ 'paymentMethod': PaymentMethod;
5821
+ /**
5822
+ *
5823
+ * @type {number}
5824
+ * @memberof JoinEventResponseOnsitePaymentsInner
5825
+ */
5826
+ 'amount': number;
5827
+ /**
5828
+ *
5829
+ * @type {string}
5830
+ * @memberof JoinEventResponseOnsitePaymentsInner
5831
+ */
5832
+ 'playerId': string;
5342
5833
  }
5343
5834
  /**
5344
5835
  *
@@ -5627,6 +6118,12 @@ export interface NoShowFeeResponse {
5627
6118
  * @interface OffPeakRule
5628
6119
  */
5629
6120
  export interface OffPeakRule {
6121
+ /**
6122
+ *
6123
+ * @type {string}
6124
+ * @memberof OffPeakRule
6125
+ */
6126
+ 'pricingPeriodName'?: string;
5630
6127
  /**
5631
6128
  *
5632
6129
  * @type {number}
@@ -9147,10 +9644,10 @@ export interface Team {
9147
9644
  'name': string;
9148
9645
  /**
9149
9646
  *
9150
- * @type {Array<string>}
9647
+ * @type {Array<EventUser>}
9151
9648
  * @memberof Team
9152
9649
  */
9153
- 'players': Array<string>;
9650
+ 'players': Array<EventUser>;
9154
9651
  }
9155
9652
  /**
9156
9653
  *
@@ -9228,10 +9725,10 @@ export interface UpdateClubGeneralSettingsRequest {
9228
9725
  'rib'?: string | null;
9229
9726
  /**
9230
9727
  *
9231
- * @type {string}
9728
+ * @type {UpdateClubGeneralSettingsRequestLogo}
9232
9729
  * @memberof UpdateClubGeneralSettingsRequest
9233
9730
  */
9234
- 'logo'?: string | null;
9731
+ 'logo'?: UpdateClubGeneralSettingsRequestLogo | null;
9235
9732
  /**
9236
9733
  *
9237
9734
  * @type {ClubLocationSettings}
@@ -9239,6 +9736,33 @@ export interface UpdateClubGeneralSettingsRequest {
9239
9736
  */
9240
9737
  'location'?: ClubLocationSettings;
9241
9738
  }
9739
+ /**
9740
+ *
9741
+ * @export
9742
+ * @interface UpdateClubGeneralSettingsRequestLogo
9743
+ */
9744
+ export interface UpdateClubGeneralSettingsRequestLogo {
9745
+ /**
9746
+ *
9747
+ * @type {ImageContextType}
9748
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9749
+ */
9750
+ 'type': ImageContextType;
9751
+ /**
9752
+ *
9753
+ * @type {string}
9754
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9755
+ */
9756
+ 'imageKey': string;
9757
+ /**
9758
+ * Construct a type with a set of properties K of type T
9759
+ * @type {{ [key: string]: any; }}
9760
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9761
+ */
9762
+ 'dbContext'?: {
9763
+ [key: string]: any;
9764
+ } | null;
9765
+ }
9242
9766
  /**
9243
9767
  *
9244
9768
  * @export
@@ -9303,16 +9827,16 @@ export interface UpdateClubPresentationSettingsRequest {
9303
9827
  'tags'?: Array<string>;
9304
9828
  /**
9305
9829
  *
9306
- * @type {Array<string | null>}
9830
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9307
9831
  * @memberof UpdateClubPresentationSettingsRequest
9308
9832
  */
9309
- 'bannerImages'?: Array<string | null>;
9833
+ 'bannerImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9310
9834
  /**
9311
9835
  *
9312
- * @type {Array<string | null>}
9836
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9313
9837
  * @memberof UpdateClubPresentationSettingsRequest
9314
9838
  */
9315
- 'galleryImages'?: Array<string | null>;
9839
+ 'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9316
9840
  }
9317
9841
  /**
9318
9842
  *
@@ -10416,6 +10940,12 @@ export interface UserProfileResponse {
10416
10940
  * @memberof UserProfileResponse
10417
10941
  */
10418
10942
  'verifiedSports'?: Array<SportResponse>;
10943
+ /**
10944
+ *
10945
+ * @type {string}
10946
+ * @memberof UserProfileResponse
10947
+ */
10948
+ 'clubId'?: string | null;
10419
10949
  }
10420
10950
  /**
10421
10951
  *
@@ -11363,6 +11893,12 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11363
11893
  * @throws {RequiredError}
11364
11894
  */
11365
11895
  clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11896
+ /**
11897
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11898
+ * @param {*} [options] Override http request option.
11899
+ * @throws {RequiredError}
11900
+ */
11901
+ getClientSubscriptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11366
11902
  /**
11367
11903
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11368
11904
  * @param {*} [options] Override http request option.
@@ -11389,6 +11925,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11389
11925
  * @throws {RequiredError}
11390
11926
  */
11391
11927
  clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
11928
+ /**
11929
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11930
+ * @param {*} [options] Override http request option.
11931
+ * @throws {RequiredError}
11932
+ */
11933
+ getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>>;
11392
11934
  /**
11393
11935
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11394
11936
  * @param {*} [options] Override http request option.
@@ -11415,6 +11957,12 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
11415
11957
  * @throws {RequiredError}
11416
11958
  */
11417
11959
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
11960
+ /**
11961
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11962
+ * @param {*} [options] Override http request option.
11963
+ * @throws {RequiredError}
11964
+ */
11965
+ getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse>;
11418
11966
  /**
11419
11967
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11420
11968
  * @param {*} [options] Override http request option.
@@ -11470,6 +12018,13 @@ export declare class ClientApi extends BaseAPI {
11470
12018
  * @memberof ClientApi
11471
12019
  */
11472
12020
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
12021
+ /**
12022
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
12023
+ * @param {*} [options] Override http request option.
12024
+ * @throws {RequiredError}
12025
+ * @memberof ClientApi
12026
+ */
12027
+ getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientSubscriptionsResponse, any, {}>>;
11473
12028
  /**
11474
12029
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11475
12030
  * @param {*} [options] Override http request option.
@@ -12496,11 +13051,11 @@ export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: C
12496
13051
  updateHoursSettings: (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12497
13052
  /**
12498
13053
  *
12499
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
13054
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
12500
13055
  * @param {*} [options] Override http request option.
12501
13056
  * @throws {RequiredError}
12502
13057
  */
12503
- updatePresentationSettings: (clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13058
+ updatePresentationSettings: (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12504
13059
  /**
12505
13060
  *
12506
13061
  * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
@@ -12530,11 +13085,11 @@ export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) =
12530
13085
  updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>>;
12531
13086
  /**
12532
13087
  *
12533
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
13088
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
12534
13089
  * @param {*} [options] Override http request option.
12535
13090
  * @throws {RequiredError}
12536
13091
  */
12537
- updatePresentationSettings(clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>>;
13092
+ updatePresentationSettings(updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>>;
12538
13093
  /**
12539
13094
  *
12540
13095
  * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
@@ -12611,10 +13166,10 @@ export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
12611
13166
  export interface ClubSettingsManagerApiUpdatePresentationSettingsRequest {
12612
13167
  /**
12613
13168
  *
12614
- * @type {ClubPresentationSettingsResponse}
13169
+ * @type {UpdateClubPresentationSettingsRequest}
12615
13170
  * @memberof ClubSettingsManagerApiUpdatePresentationSettings
12616
13171
  */
12617
- readonly clubPresentationSettingsResponse: ClubPresentationSettingsResponse;
13172
+ readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest;
12618
13173
  }
12619
13174
  /**
12620
13175
  * Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
@@ -14785,6 +15340,22 @@ export declare class DefaultApi extends BaseAPI {
14785
15340
  * @export
14786
15341
  */
14787
15342
  export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
15343
+ /**
15344
+ * Check team name availability for TEAM participation events
15345
+ * @param {string} eventId
15346
+ * @param {string} [teamName]
15347
+ * @param {*} [options] Override http request option.
15348
+ * @throws {RequiredError}
15349
+ */
15350
+ checkTeamNameAvailability: (eventId: string, teamName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15351
+ /**
15352
+ * Estime le prix de participation à un événement pour une liste de joueurs
15353
+ * @param {string} eventId
15354
+ * @param {EstimateEventPriceRequest} estimateEventPriceRequest
15355
+ * @param {*} [options] Override http request option.
15356
+ * @throws {RequiredError}
15357
+ */
15358
+ estimateEventPrice: (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14788
15359
  /**
14789
15360
  * Get a specific event by ID
14790
15361
  * @param {string} eventId
@@ -14823,6 +15394,22 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
14823
15394
  * @export
14824
15395
  */
14825
15396
  export declare const EventsApiFp: (configuration?: Configuration) => {
15397
+ /**
15398
+ * Check team name availability for TEAM participation events
15399
+ * @param {string} eventId
15400
+ * @param {string} [teamName]
15401
+ * @param {*} [options] Override http request option.
15402
+ * @throws {RequiredError}
15403
+ */
15404
+ checkTeamNameAvailability(eventId: string, teamName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckTeamNameAvailability200Response>>;
15405
+ /**
15406
+ * Estime le prix de participation à un événement pour une liste de joueurs
15407
+ * @param {string} eventId
15408
+ * @param {EstimateEventPriceRequest} estimateEventPriceRequest
15409
+ * @param {*} [options] Override http request option.
15410
+ * @throws {RequiredError}
15411
+ */
15412
+ estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
14826
15413
  /**
14827
15414
  * Get a specific event by ID
14828
15415
  * @param {string} eventId
@@ -14861,6 +15448,20 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
14861
15448
  * @export
14862
15449
  */
14863
15450
  export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15451
+ /**
15452
+ * Check team name availability for TEAM participation events
15453
+ * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
15454
+ * @param {*} [options] Override http request option.
15455
+ * @throws {RequiredError}
15456
+ */
15457
+ checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckTeamNameAvailability200Response>;
15458
+ /**
15459
+ * Estime le prix de participation à un événement pour une liste de joueurs
15460
+ * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
15461
+ * @param {*} [options] Override http request option.
15462
+ * @throws {RequiredError}
15463
+ */
15464
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
14864
15465
  /**
14865
15466
  * Get a specific event by ID
14866
15467
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -14890,6 +15491,44 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
14890
15491
  */
14891
15492
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
14892
15493
  };
15494
+ /**
15495
+ * Request parameters for checkTeamNameAvailability operation in EventsApi.
15496
+ * @export
15497
+ * @interface EventsApiCheckTeamNameAvailabilityRequest
15498
+ */
15499
+ export interface EventsApiCheckTeamNameAvailabilityRequest {
15500
+ /**
15501
+ *
15502
+ * @type {string}
15503
+ * @memberof EventsApiCheckTeamNameAvailability
15504
+ */
15505
+ readonly eventId: string;
15506
+ /**
15507
+ *
15508
+ * @type {string}
15509
+ * @memberof EventsApiCheckTeamNameAvailability
15510
+ */
15511
+ readonly teamName?: string;
15512
+ }
15513
+ /**
15514
+ * Request parameters for estimateEventPrice operation in EventsApi.
15515
+ * @export
15516
+ * @interface EventsApiEstimateEventPriceRequest
15517
+ */
15518
+ export interface EventsApiEstimateEventPriceRequest {
15519
+ /**
15520
+ *
15521
+ * @type {string}
15522
+ * @memberof EventsApiEstimateEventPrice
15523
+ */
15524
+ readonly eventId: string;
15525
+ /**
15526
+ *
15527
+ * @type {EstimateEventPriceRequest}
15528
+ * @memberof EventsApiEstimateEventPrice
15529
+ */
15530
+ readonly estimateEventPriceRequest: EstimateEventPriceRequest;
15531
+ }
14893
15532
  /**
14894
15533
  * Request parameters for getEventById operation in EventsApi.
14895
15534
  * @export
@@ -14973,6 +15612,22 @@ export interface EventsApiLeaveEventRequest {
14973
15612
  * @extends {BaseAPI}
14974
15613
  */
14975
15614
  export declare class EventsApi extends BaseAPI {
15615
+ /**
15616
+ * Check team name availability for TEAM participation events
15617
+ * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
15618
+ * @param {*} [options] Override http request option.
15619
+ * @throws {RequiredError}
15620
+ * @memberof EventsApi
15621
+ */
15622
+ checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckTeamNameAvailability200Response, any, {}>>;
15623
+ /**
15624
+ * Estime le prix de participation à un événement pour une liste de joueurs
15625
+ * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
15626
+ * @param {*} [options] Override http request option.
15627
+ * @throws {RequiredError}
15628
+ * @memberof EventsApi
15629
+ */
15630
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
14976
15631
  /**
14977
15632
  * Get a specific event by ID
14978
15633
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -15733,6 +16388,74 @@ export declare const GetWeeklyEventsTypeEnum: {
15733
16388
  readonly Closure: "closure";
15734
16389
  };
15735
16390
  export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
16391
+ /**
16392
+ * ImagesApi - axios parameter creator
16393
+ * @export
16394
+ */
16395
+ export declare const ImagesApiAxiosParamCreator: (configuration?: Configuration) => {
16396
+ /**
16397
+ *
16398
+ * @param {ImageCleanupRequestBody} imageCleanupRequestBody
16399
+ * @param {*} [options] Override http request option.
16400
+ * @throws {RequiredError}
16401
+ */
16402
+ cleanupImages: (imageCleanupRequestBody: ImageCleanupRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16403
+ };
16404
+ /**
16405
+ * ImagesApi - functional programming interface
16406
+ * @export
16407
+ */
16408
+ export declare const ImagesApiFp: (configuration?: Configuration) => {
16409
+ /**
16410
+ *
16411
+ * @param {ImageCleanupRequestBody} imageCleanupRequestBody
16412
+ * @param {*} [options] Override http request option.
16413
+ * @throws {RequiredError}
16414
+ */
16415
+ cleanupImages(imageCleanupRequestBody: ImageCleanupRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageCleanupResponse>>;
16416
+ };
16417
+ /**
16418
+ * ImagesApi - factory interface
16419
+ * @export
16420
+ */
16421
+ export declare const ImagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16422
+ /**
16423
+ *
16424
+ * @param {ImagesApiCleanupImagesRequest} requestParameters Request parameters.
16425
+ * @param {*} [options] Override http request option.
16426
+ * @throws {RequiredError}
16427
+ */
16428
+ cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImageCleanupResponse>;
16429
+ };
16430
+ /**
16431
+ * Request parameters for cleanupImages operation in ImagesApi.
16432
+ * @export
16433
+ * @interface ImagesApiCleanupImagesRequest
16434
+ */
16435
+ export interface ImagesApiCleanupImagesRequest {
16436
+ /**
16437
+ *
16438
+ * @type {ImageCleanupRequestBody}
16439
+ * @memberof ImagesApiCleanupImages
16440
+ */
16441
+ readonly imageCleanupRequestBody: ImageCleanupRequestBody;
16442
+ }
16443
+ /**
16444
+ * ImagesApi - object-oriented interface
16445
+ * @export
16446
+ * @class ImagesApi
16447
+ * @extends {BaseAPI}
16448
+ */
16449
+ export declare class ImagesApi extends BaseAPI {
16450
+ /**
16451
+ *
16452
+ * @param {ImagesApiCleanupImagesRequest} requestParameters Request parameters.
16453
+ * @param {*} [options] Override http request option.
16454
+ * @throws {RequiredError}
16455
+ * @memberof ImagesApi
16456
+ */
16457
+ cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageCleanupResponse, any, {}>>;
16458
+ }
15736
16459
  /**
15737
16460
  * SportsManagerApi - axios parameter creator
15738
16461
  * @export