@tennac-booking/sdk 1.0.120 → 1.0.121

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 (59) hide show
  1. package/.openapi-generator/FILES +329 -313
  2. package/README.md +24 -4
  3. package/api.ts +917 -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 +727 -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 +727 -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/EstimateEventPrice200Response.md +32 -0
  37. package/docs/EstimateEventPriceRequest.md +26 -0
  38. package/docs/EstimateEventPriceRequestSharesInner.md +22 -0
  39. package/docs/EventResponse.md +3 -1
  40. package/docs/EventUser.md +28 -0
  41. package/docs/EventsApi.md +115 -0
  42. package/docs/ImageCleanupItem.md +22 -0
  43. package/docs/ImageCleanupRequestBody.md +20 -0
  44. package/docs/ImageCleanupResponse.md +22 -0
  45. package/docs/ImageContext.md +30 -0
  46. package/docs/ImageContextType.md +20 -0
  47. package/docs/ImageReferencePayload.md +24 -0
  48. package/docs/ImagesApi.md +59 -0
  49. package/docs/JoinEventRequest.md +2 -0
  50. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +2 -0
  51. package/docs/JoinEventResponse.md +14 -0
  52. package/docs/JoinEventResponseOnsitePaymentsInner.md +24 -0
  53. package/docs/Team.md +1 -1
  54. package/docs/UpdateClubGeneralSettingsRequest.md +1 -1
  55. package/docs/UpdateClubGeneralSettingsRequestLogo.md +24 -0
  56. package/docs/UpdateClubPresentationSettingsRequest.md +2 -2
  57. package/docs/UserProfileResponse.md +2 -0
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.110
7
+ * The version of the OpenAPI document: 1.0.121
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1487,6 +1487,19 @@ export interface CheckInPlayersResponse {
1487
1487
  */
1488
1488
  'invoices': Array<CheckedInPlayer>;
1489
1489
  }
1490
+ /**
1491
+ *
1492
+ * @export
1493
+ * @interface CheckTeamNameAvailability200Response
1494
+ */
1495
+ export interface CheckTeamNameAvailability200Response {
1496
+ /**
1497
+ *
1498
+ * @type {boolean}
1499
+ * @memberof CheckTeamNameAvailability200Response
1500
+ */
1501
+ 'available': boolean;
1502
+ }
1490
1503
  /**
1491
1504
  *
1492
1505
  * @export
@@ -1593,6 +1606,12 @@ export interface ClientFullOnboardingResponse {
1593
1606
  * @interface ClientFullOnboardingResponseClub
1594
1607
  */
1595
1608
  export interface ClientFullOnboardingResponseClub {
1609
+ /**
1610
+ *
1611
+ * @type {string}
1612
+ * @memberof ClientFullOnboardingResponseClub
1613
+ */
1614
+ 'clubType'?: string;
1596
1615
  /**
1597
1616
  *
1598
1617
  * @type {string}
@@ -1660,7 +1679,21 @@ export interface ClientOnboardingRequestBody {
1660
1679
  * @memberof ClientOnboardingRequestBody
1661
1680
  */
1662
1681
  'country'?: string;
1682
+ /**
1683
+ * Type de club souhaité (public | school)
1684
+ * @type {string}
1685
+ * @memberof ClientOnboardingRequestBody
1686
+ */
1687
+ 'clubType'?: ClientOnboardingRequestBodyClubTypeEnum;
1663
1688
  }
1689
+
1690
+ export const ClientOnboardingRequestBodyClubTypeEnum = {
1691
+ Public: 'public',
1692
+ School: 'school'
1693
+ } as const;
1694
+
1695
+ export type ClientOnboardingRequestBodyClubTypeEnum = typeof ClientOnboardingRequestBodyClubTypeEnum[keyof typeof ClientOnboardingRequestBodyClubTypeEnum];
1696
+
1664
1697
  /**
1665
1698
  *
1666
1699
  * @export
@@ -1723,6 +1756,87 @@ export interface ClientRegisterRequest {
1723
1756
  */
1724
1757
  'firstName': string;
1725
1758
  }
1759
+ /**
1760
+ * Abonnement Stripe simplifié
1761
+ * @export
1762
+ * @interface ClientSubscription
1763
+ */
1764
+ export interface ClientSubscription {
1765
+ /**
1766
+ *
1767
+ * @type {string}
1768
+ * @memberof ClientSubscription
1769
+ */
1770
+ 'id': string;
1771
+ /**
1772
+ *
1773
+ * @type {string}
1774
+ * @memberof ClientSubscription
1775
+ */
1776
+ 'status': string;
1777
+ /**
1778
+ *
1779
+ * @type {number}
1780
+ * @memberof ClientSubscription
1781
+ */
1782
+ 'currentPeriodStart': number;
1783
+ /**
1784
+ *
1785
+ * @type {number}
1786
+ * @memberof ClientSubscription
1787
+ */
1788
+ 'currentPeriodEnd': number;
1789
+ /**
1790
+ *
1791
+ * @type {boolean}
1792
+ * @memberof ClientSubscription
1793
+ */
1794
+ 'cancelAtPeriodEnd': boolean;
1795
+ /**
1796
+ *
1797
+ * @type {Array<ClientSubscriptionItem>}
1798
+ * @memberof ClientSubscription
1799
+ */
1800
+ 'items': Array<ClientSubscriptionItem>;
1801
+ }
1802
+ /**
1803
+ * Item d\'abonnement Stripe simplifié
1804
+ * @export
1805
+ * @interface ClientSubscriptionItem
1806
+ */
1807
+ export interface ClientSubscriptionItem {
1808
+ /**
1809
+ *
1810
+ * @type {string}
1811
+ * @memberof ClientSubscriptionItem
1812
+ */
1813
+ 'priceId': string;
1814
+ /**
1815
+ *
1816
+ * @type {string}
1817
+ * @memberof ClientSubscriptionItem
1818
+ */
1819
+ 'productId'?: string;
1820
+ /**
1821
+ *
1822
+ * @type {number}
1823
+ * @memberof ClientSubscriptionItem
1824
+ */
1825
+ 'quantity'?: number;
1826
+ }
1827
+ /**
1828
+ * Réponse liste des abonnements Stripe du client
1829
+ * @export
1830
+ * @interface ClientSubscriptionsResponse
1831
+ */
1832
+ export interface ClientSubscriptionsResponse {
1833
+ /**
1834
+ *
1835
+ * @type {Array<ClientSubscription>}
1836
+ * @memberof ClientSubscriptionsResponse
1837
+ */
1838
+ 'subscriptions': Array<ClientSubscription>;
1839
+ }
1726
1840
  /**
1727
1841
  *
1728
1842
  * @export
@@ -3579,6 +3693,12 @@ export interface CreateCourtRequest {
3579
3693
  * @memberof CreateCourtRequest
3580
3694
  */
3581
3695
  'isIndoor': boolean;
3696
+ /**
3697
+ *
3698
+ * @type {number}
3699
+ * @memberof CreateCourtRequest
3700
+ */
3701
+ 'pricePerHour': number;
3582
3702
  /**
3583
3703
  * Commentaires sur le terrain
3584
3704
  * @type {string}
@@ -4192,6 +4312,105 @@ export const DiscountType = {
4192
4312
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
4193
4313
 
4194
4314
 
4315
+ /**
4316
+ *
4317
+ * @export
4318
+ * @interface EstimateEventPrice200Response
4319
+ */
4320
+ export interface EstimateEventPrice200Response {
4321
+ /**
4322
+ * Construct a type with a set of properties K of type T
4323
+ * @type {{ [key: string]: number; }}
4324
+ * @memberof EstimateEventPrice200Response
4325
+ */
4326
+ 'perPayerAfterCredits'?: { [key: string]: number; };
4327
+ /**
4328
+ *
4329
+ * @type {number}
4330
+ * @memberof EstimateEventPrice200Response
4331
+ */
4332
+ 'totalAfterCredits'?: number;
4333
+ /**
4334
+ *
4335
+ * @type {number}
4336
+ * @memberof EstimateEventPrice200Response
4337
+ */
4338
+ 'creditsAppliedInCents'?: number;
4339
+ /**
4340
+ *
4341
+ * @type {string}
4342
+ * @memberof EstimateEventPrice200Response
4343
+ */
4344
+ 'currency': string;
4345
+ /**
4346
+ *
4347
+ * @type {number}
4348
+ * @memberof EstimateEventPrice200Response
4349
+ */
4350
+ 'total': number;
4351
+ /**
4352
+ * Construct a type with a set of properties K of type T
4353
+ * @type {{ [key: string]: number; }}
4354
+ * @memberof EstimateEventPrice200Response
4355
+ */
4356
+ 'perPayer': { [key: string]: number; };
4357
+ /**
4358
+ * Construct a type with a set of properties K of type T
4359
+ * @type {{ [key: string]: number; }}
4360
+ * @memberof EstimateEventPrice200Response
4361
+ */
4362
+ 'perPlayer': { [key: string]: number; };
4363
+ }
4364
+ /**
4365
+ *
4366
+ * @export
4367
+ * @interface EstimateEventPriceRequest
4368
+ */
4369
+ export interface EstimateEventPriceRequest {
4370
+ /**
4371
+ *
4372
+ * @type {number}
4373
+ * @memberof EstimateEventPriceRequest
4374
+ */
4375
+ 'creditToUseInCents'?: number;
4376
+ /**
4377
+ *
4378
+ * @type {string}
4379
+ * @memberof EstimateEventPriceRequest
4380
+ */
4381
+ 'creatorId'?: string;
4382
+ /**
4383
+ *
4384
+ * @type {Array<EstimateEventPriceRequestSharesInner>}
4385
+ * @memberof EstimateEventPriceRequest
4386
+ */
4387
+ 'shares'?: Array<EstimateEventPriceRequestSharesInner>;
4388
+ /**
4389
+ *
4390
+ * @type {Array<string>}
4391
+ * @memberof EstimateEventPriceRequest
4392
+ */
4393
+ 'playerIds': Array<string>;
4394
+ }
4395
+ /**
4396
+ *
4397
+ * @export
4398
+ * @interface EstimateEventPriceRequestSharesInner
4399
+ */
4400
+ export interface EstimateEventPriceRequestSharesInner {
4401
+ /**
4402
+ *
4403
+ * @type {Array<string>}
4404
+ * @memberof EstimateEventPriceRequestSharesInner
4405
+ */
4406
+ 'paysAlsoFor'?: Array<string>;
4407
+ /**
4408
+ *
4409
+ * @type {string}
4410
+ * @memberof EstimateEventPriceRequestSharesInner
4411
+ */
4412
+ 'playerId': string;
4413
+ }
4195
4414
  /**
4196
4415
  *
4197
4416
  * @export
@@ -4346,10 +4565,10 @@ export interface EventResponse {
4346
4565
  'participationType': EventResponseParticipationTypeEnum;
4347
4566
  /**
4348
4567
  *
4349
- * @type {Array<string>}
4568
+ * @type {Array<EventUser>}
4350
4569
  * @memberof EventResponse
4351
4570
  */
4352
- 'participants'?: Array<string>;
4571
+ 'participants'?: Array<EventUser>;
4353
4572
  /**
4354
4573
  *
4355
4574
  * @type {Array<Team>}
@@ -4368,6 +4587,12 @@ export interface EventResponse {
4368
4587
  * @memberof EventResponse
4369
4588
  */
4370
4589
  'teamLimit'?: number;
4590
+ /**
4591
+ *
4592
+ * @type {number}
4593
+ * @memberof EventResponse
4594
+ */
4595
+ 'playersPerTeam'?: number;
4371
4596
  /**
4372
4597
  *
4373
4598
  * @type {number}
@@ -4477,6 +4702,43 @@ export interface EventSponsor {
4477
4702
  */
4478
4703
  'logo'?: string | null;
4479
4704
  }
4705
+ /**
4706
+ *
4707
+ * @export
4708
+ * @interface EventUser
4709
+ */
4710
+ export interface EventUser {
4711
+ /**
4712
+ *
4713
+ * @type {string}
4714
+ * @memberof EventUser
4715
+ */
4716
+ 'id': string;
4717
+ /**
4718
+ *
4719
+ * @type {string}
4720
+ * @memberof EventUser
4721
+ */
4722
+ 'firstName': string;
4723
+ /**
4724
+ *
4725
+ * @type {string}
4726
+ * @memberof EventUser
4727
+ */
4728
+ 'lastName': string;
4729
+ /**
4730
+ *
4731
+ * @type {string}
4732
+ * @memberof EventUser
4733
+ */
4734
+ 'username'?: string;
4735
+ /**
4736
+ *
4737
+ * @type {string}
4738
+ * @memberof EventUser
4739
+ */
4740
+ 'profilePicture'?: string;
4741
+ }
4480
4742
  /**
4481
4743
  *
4482
4744
  * @export
@@ -5302,6 +5564,148 @@ export const IUserLocationTypeEnum = {
5302
5564
 
5303
5565
  export type IUserLocationTypeEnum = typeof IUserLocationTypeEnum[keyof typeof IUserLocationTypeEnum];
5304
5566
 
5567
+ /**
5568
+ *
5569
+ * @export
5570
+ * @interface ImageCleanupItem
5571
+ */
5572
+ export interface ImageCleanupItem {
5573
+ /**
5574
+ *
5575
+ * @type {string}
5576
+ * @memberof ImageCleanupItem
5577
+ */
5578
+ 'imageKey': string;
5579
+ /**
5580
+ *
5581
+ * @type {ImageContext}
5582
+ * @memberof ImageCleanupItem
5583
+ */
5584
+ 'context': ImageContext;
5585
+ }
5586
+ /**
5587
+ *
5588
+ * @export
5589
+ * @interface ImageCleanupRequestBody
5590
+ */
5591
+ export interface ImageCleanupRequestBody {
5592
+ /**
5593
+ *
5594
+ * @type {Array<ImageCleanupItem>}
5595
+ * @memberof ImageCleanupRequestBody
5596
+ */
5597
+ 'items': Array<ImageCleanupItem>;
5598
+ }
5599
+ /**
5600
+ *
5601
+ * @export
5602
+ * @interface ImageCleanupResponse
5603
+ */
5604
+ export interface ImageCleanupResponse {
5605
+ /**
5606
+ *
5607
+ * @type {boolean}
5608
+ * @memberof ImageCleanupResponse
5609
+ */
5610
+ 'success': boolean;
5611
+ /**
5612
+ *
5613
+ * @type {number}
5614
+ * @memberof ImageCleanupResponse
5615
+ */
5616
+ 'deleted': number;
5617
+ }
5618
+ /**
5619
+ *
5620
+ * @export
5621
+ * @interface ImageContext
5622
+ */
5623
+ export interface ImageContext {
5624
+ /**
5625
+ *
5626
+ * @type {ImageContextType}
5627
+ * @memberof ImageContext
5628
+ */
5629
+ 'type': ImageContextType;
5630
+ /**
5631
+ *
5632
+ * @type {string}
5633
+ * @memberof ImageContext
5634
+ */
5635
+ 'entityId': string;
5636
+ /**
5637
+ *
5638
+ * @type {string}
5639
+ * @memberof ImageContext
5640
+ */
5641
+ 'userId'?: string;
5642
+ /**
5643
+ *
5644
+ * @type {string}
5645
+ * @memberof ImageContext
5646
+ */
5647
+ 'clubId'?: string;
5648
+ /**
5649
+ *
5650
+ * @type {string}
5651
+ * @memberof ImageContext
5652
+ */
5653
+ 'sportId'?: string;
5654
+ /**
5655
+ *
5656
+ * @type {string}
5657
+ * @memberof ImageContext
5658
+ */
5659
+ 'eventId'?: string;
5660
+ }
5661
+
5662
+
5663
+ /**
5664
+ *
5665
+ * @export
5666
+ * @enum {string}
5667
+ */
5668
+
5669
+ export const ImageContextType = {
5670
+ UserAvatar: 'user-avatar',
5671
+ ClubAvatar: 'club-avatar',
5672
+ ClubGallery: 'club-gallery',
5673
+ ClubPreview: 'club-preview',
5674
+ ClubCarousel: 'club-carousel',
5675
+ ClubSportImage: 'club-sport-image',
5676
+ ClubEventImage: 'club-event-image'
5677
+ } as const;
5678
+
5679
+ export type ImageContextType = typeof ImageContextType[keyof typeof ImageContextType];
5680
+
5681
+
5682
+ /**
5683
+ *
5684
+ * @export
5685
+ * @interface ImageReferencePayload
5686
+ */
5687
+ export interface ImageReferencePayload {
5688
+ /**
5689
+ *
5690
+ * @type {ImageContextType}
5691
+ * @memberof ImageReferencePayload
5692
+ */
5693
+ 'type': ImageContextType;
5694
+ /**
5695
+ *
5696
+ * @type {string}
5697
+ * @memberof ImageReferencePayload
5698
+ */
5699
+ 'imageKey': string;
5700
+ /**
5701
+ * Construct a type with a set of properties K of type T
5702
+ * @type {{ [key: string]: any; }}
5703
+ * @memberof ImageReferencePayload
5704
+ */
5705
+ 'dbContext'?: { [key: string]: any; } | null;
5706
+ }
5707
+
5708
+
5305
5709
  /**
5306
5710
  *
5307
5711
  * @export
@@ -5389,6 +5793,12 @@ export interface JoinEventRequest {
5389
5793
  * @memberof JoinEventRequest
5390
5794
  */
5391
5795
  'useDefaultPaymentMethod'?: boolean;
5796
+ /**
5797
+ *
5798
+ * @type {number}
5799
+ * @memberof JoinEventRequest
5800
+ */
5801
+ 'creditToUseInCents'?: number;
5392
5802
  }
5393
5803
 
5394
5804
 
@@ -5398,6 +5808,12 @@ export interface JoinEventRequest {
5398
5808
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5399
5809
  */
5400
5810
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5811
+ /**
5812
+ *
5813
+ * @type {Array<string>}
5814
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5815
+ */
5816
+ 'paysAlsoFor'?: Array<string>;
5401
5817
  /**
5402
5818
  *
5403
5819
  * @type {PaymentMethod}
@@ -5431,7 +5847,76 @@ export interface JoinEventResponse {
5431
5847
  * @memberof JoinEventResponse
5432
5848
  */
5433
5849
  'event': EventResponse;
5850
+ /**
5851
+ * Construct a type with a set of properties K of type T
5852
+ * @type {{ [key: string]: string; }}
5853
+ * @memberof JoinEventResponse
5854
+ */
5855
+ 'paymentLinks'?: { [key: string]: string; };
5856
+ /**
5857
+ *
5858
+ * @type {Array<JoinEventResponseOnsitePaymentsInner>}
5859
+ * @memberof JoinEventResponse
5860
+ */
5861
+ 'onsitePayments'?: Array<JoinEventResponseOnsitePaymentsInner>;
5862
+ /**
5863
+ *
5864
+ * @type {string}
5865
+ * @memberof JoinEventResponse
5866
+ */
5867
+ 'setupNoShowPaymentUrl'?: string;
5868
+ /**
5869
+ *
5870
+ * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
5871
+ * @memberof JoinEventResponse
5872
+ */
5873
+ 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
5874
+ /**
5875
+ *
5876
+ * @type {number}
5877
+ * @memberof JoinEventResponse
5878
+ */
5879
+ 'creditsAppliedInCents'?: number;
5880
+ /**
5881
+ *
5882
+ * @type {number}
5883
+ * @memberof JoinEventResponse
5884
+ */
5885
+ 'totalAfterCredits'?: number;
5886
+ /**
5887
+ * Construct a type with a set of properties K of type T
5888
+ * @type {{ [key: string]: number; }}
5889
+ * @memberof JoinEventResponse
5890
+ */
5891
+ 'perPayerAfterCredits'?: { [key: string]: number; };
5434
5892
  }
5893
+ /**
5894
+ *
5895
+ * @export
5896
+ * @interface JoinEventResponseOnsitePaymentsInner
5897
+ */
5898
+ export interface JoinEventResponseOnsitePaymentsInner {
5899
+ /**
5900
+ *
5901
+ * @type {PaymentMethod}
5902
+ * @memberof JoinEventResponseOnsitePaymentsInner
5903
+ */
5904
+ 'paymentMethod': PaymentMethod;
5905
+ /**
5906
+ *
5907
+ * @type {number}
5908
+ * @memberof JoinEventResponseOnsitePaymentsInner
5909
+ */
5910
+ 'amount': number;
5911
+ /**
5912
+ *
5913
+ * @type {string}
5914
+ * @memberof JoinEventResponseOnsitePaymentsInner
5915
+ */
5916
+ 'playerId': string;
5917
+ }
5918
+
5919
+
5435
5920
  /**
5436
5921
  *
5437
5922
  * @export
@@ -9324,10 +9809,10 @@ export interface Team {
9324
9809
  'name': string;
9325
9810
  /**
9326
9811
  *
9327
- * @type {Array<string>}
9812
+ * @type {Array<EventUser>}
9328
9813
  * @memberof Team
9329
9814
  */
9330
- 'players': Array<string>;
9815
+ 'players': Array<EventUser>;
9331
9816
  }
9332
9817
  /**
9333
9818
  *
@@ -9405,10 +9890,10 @@ export interface UpdateClubGeneralSettingsRequest {
9405
9890
  'rib'?: string | null;
9406
9891
  /**
9407
9892
  *
9408
- * @type {string}
9893
+ * @type {UpdateClubGeneralSettingsRequestLogo}
9409
9894
  * @memberof UpdateClubGeneralSettingsRequest
9410
9895
  */
9411
- 'logo'?: string | null;
9896
+ 'logo'?: UpdateClubGeneralSettingsRequestLogo | null;
9412
9897
  /**
9413
9898
  *
9414
9899
  * @type {ClubLocationSettings}
@@ -9416,6 +9901,33 @@ export interface UpdateClubGeneralSettingsRequest {
9416
9901
  */
9417
9902
  'location'?: ClubLocationSettings;
9418
9903
  }
9904
+ /**
9905
+ *
9906
+ * @export
9907
+ * @interface UpdateClubGeneralSettingsRequestLogo
9908
+ */
9909
+ export interface UpdateClubGeneralSettingsRequestLogo {
9910
+ /**
9911
+ *
9912
+ * @type {ImageContextType}
9913
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9914
+ */
9915
+ 'type': ImageContextType;
9916
+ /**
9917
+ *
9918
+ * @type {string}
9919
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9920
+ */
9921
+ 'imageKey': string;
9922
+ /**
9923
+ * Construct a type with a set of properties K of type T
9924
+ * @type {{ [key: string]: any; }}
9925
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9926
+ */
9927
+ 'dbContext'?: { [key: string]: any; } | null;
9928
+ }
9929
+
9930
+
9419
9931
  /**
9420
9932
  *
9421
9933
  * @export
@@ -9483,16 +9995,16 @@ export interface UpdateClubPresentationSettingsRequest {
9483
9995
  'tags'?: Array<string>;
9484
9996
  /**
9485
9997
  *
9486
- * @type {Array<string | null>}
9998
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9487
9999
  * @memberof UpdateClubPresentationSettingsRequest
9488
10000
  */
9489
- 'bannerImages'?: Array<string | null>;
10001
+ 'bannerImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9490
10002
  /**
9491
10003
  *
9492
- * @type {Array<string | null>}
10004
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9493
10005
  * @memberof UpdateClubPresentationSettingsRequest
9494
10006
  */
9495
- 'galleryImages'?: Array<string | null>;
10007
+ 'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9496
10008
  }
9497
10009
  /**
9498
10010
  *
@@ -10602,6 +11114,12 @@ export interface UserProfileResponse {
10602
11114
  * @memberof UserProfileResponse
10603
11115
  */
10604
11116
  'verifiedSports'?: Array<SportResponse>;
11117
+ /**
11118
+ *
11119
+ * @type {string}
11120
+ * @memberof UserProfileResponse
11121
+ */
11122
+ 'clubId'?: string | null;
10605
11123
  }
10606
11124
 
10607
11125
 
@@ -12320,12 +12838,45 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
12320
12838
 
12321
12839
 
12322
12840
 
12323
- localVarHeaderParameter['Content-Type'] = 'application/json';
12324
-
12841
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12842
+
12843
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12844
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12845
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12846
+ localVarRequestOptions.data = serializeDataIfNeeded(clientRegisterRequest, localVarRequestOptions, configuration)
12847
+
12848
+ return {
12849
+ url: toPathString(localVarUrlObj),
12850
+ options: localVarRequestOptions,
12851
+ };
12852
+ },
12853
+ /**
12854
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
12855
+ * @param {*} [options] Override http request option.
12856
+ * @throws {RequiredError}
12857
+ */
12858
+ getClientSubscriptions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12859
+ const localVarPath = `/clients/subscriptions`;
12860
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12861
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12862
+ let baseOptions;
12863
+ if (configuration) {
12864
+ baseOptions = configuration.baseOptions;
12865
+ }
12866
+
12867
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12868
+ const localVarHeaderParameter = {} as any;
12869
+ const localVarQueryParameter = {} as any;
12870
+
12871
+ // authentication clientAuth required
12872
+ // http bearer authentication required
12873
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12874
+
12875
+
12876
+
12325
12877
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12326
12878
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12327
12879
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12328
- localVarRequestOptions.data = serializeDataIfNeeded(clientRegisterRequest, localVarRequestOptions, configuration)
12329
12880
 
12330
12881
  return {
12331
12882
  url: toPathString(localVarUrlObj),
@@ -12426,6 +12977,17 @@ export const ClientApiFp = function(configuration?: Configuration) {
12426
12977
  const localVarOperationServerBasePath = operationServerMap['ClientApi.clientRegister']?.[localVarOperationServerIndex]?.url;
12427
12978
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12428
12979
  },
12980
+ /**
12981
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
12982
+ * @param {*} [options] Override http request option.
12983
+ * @throws {RequiredError}
12984
+ */
12985
+ async getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>> {
12986
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClientSubscriptions(options);
12987
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12988
+ const localVarOperationServerBasePath = operationServerMap['ClientApi.getClientSubscriptions']?.[localVarOperationServerIndex]?.url;
12989
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12990
+ },
12429
12991
  /**
12430
12992
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
12431
12993
  * @param {*} [options] Override http request option.
@@ -12468,6 +13030,14 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
12468
13030
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response> {
12469
13031
  return localVarFp.clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(axios, basePath));
12470
13032
  },
13033
+ /**
13034
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
13035
+ * @param {*} [options] Override http request option.
13036
+ * @throws {RequiredError}
13037
+ */
13038
+ getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse> {
13039
+ return localVarFp.getClientSubscriptions(options).then((request) => request(axios, basePath));
13040
+ },
12471
13041
  /**
12472
13042
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
12473
13043
  * @param {*} [options] Override http request option.
@@ -12534,6 +13104,16 @@ export class ClientApi extends BaseAPI {
12534
13104
  return ClientApiFp(this.configuration).clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(this.axios, this.basePath));
12535
13105
  }
12536
13106
 
13107
+ /**
13108
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
13109
+ * @param {*} [options] Override http request option.
13110
+ * @throws {RequiredError}
13111
+ * @memberof ClientApi
13112
+ */
13113
+ public getClientSubscriptions(options?: RawAxiosRequestConfig) {
13114
+ return ClientApiFp(this.configuration).getClientSubscriptions(options).then((request) => request(this.axios, this.basePath));
13115
+ }
13116
+
12537
13117
  /**
12538
13118
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
12539
13119
  * @param {*} [options] Override http request option.
@@ -14618,7 +15198,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
14618
15198
  baseOptions = configuration.baseOptions;
14619
15199
  }
14620
15200
 
14621
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15201
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
14622
15202
  const localVarHeaderParameter = {} as any;
14623
15203
  const localVarQueryParameter = {} as any;
14624
15204
 
@@ -14681,13 +15261,13 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
14681
15261
  },
14682
15262
  /**
14683
15263
  *
14684
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
15264
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
14685
15265
  * @param {*} [options] Override http request option.
14686
15266
  * @throws {RequiredError}
14687
15267
  */
14688
- updatePresentationSettings: async (clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14689
- // verify required parameter 'clubPresentationSettingsResponse' is not null or undefined
14690
- assertParamExists('updatePresentationSettings', 'clubPresentationSettingsResponse', clubPresentationSettingsResponse)
15268
+ updatePresentationSettings: async (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15269
+ // verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
15270
+ assertParamExists('updatePresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest)
14691
15271
  const localVarPath = `/api/club-settings/presentation`;
14692
15272
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14693
15273
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14696,7 +15276,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
14696
15276
  baseOptions = configuration.baseOptions;
14697
15277
  }
14698
15278
 
14699
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15279
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
14700
15280
  const localVarHeaderParameter = {} as any;
14701
15281
  const localVarQueryParameter = {} as any;
14702
15282
 
@@ -14711,7 +15291,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
14711
15291
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14712
15292
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14713
15293
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14714
- localVarRequestOptions.data = serializeDataIfNeeded(clubPresentationSettingsResponse, localVarRequestOptions, configuration)
15294
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration)
14715
15295
 
14716
15296
  return {
14717
15297
  url: toPathString(localVarUrlObj),
@@ -14793,12 +15373,12 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
14793
15373
  },
14794
15374
  /**
14795
15375
  *
14796
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
15376
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
14797
15377
  * @param {*} [options] Override http request option.
14798
15378
  * @throws {RequiredError}
14799
15379
  */
14800
- async updatePresentationSettings(clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
14801
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatePresentationSettings(clubPresentationSettingsResponse, options);
15380
+ async updatePresentationSettings(updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
15381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePresentationSettings(updateClubPresentationSettingsRequest, options);
14802
15382
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14803
15383
  const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updatePresentationSettings']?.[localVarOperationServerIndex]?.url;
14804
15384
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -14850,7 +15430,7 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
14850
15430
  * @throws {RequiredError}
14851
15431
  */
14852
15432
  updatePresentationSettings(requestParameters: ClubSettingsManagerApiUpdatePresentationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
14853
- return localVarFp.updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, options).then((request) => request(axios, basePath));
15433
+ return localVarFp.updatePresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
14854
15434
  },
14855
15435
  /**
14856
15436
  *
@@ -14900,10 +15480,10 @@ export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
14900
15480
  export interface ClubSettingsManagerApiUpdatePresentationSettingsRequest {
14901
15481
  /**
14902
15482
  *
14903
- * @type {ClubPresentationSettingsResponse}
15483
+ * @type {UpdateClubPresentationSettingsRequest}
14904
15484
  * @memberof ClubSettingsManagerApiUpdatePresentationSettings
14905
15485
  */
14906
- readonly clubPresentationSettingsResponse: ClubPresentationSettingsResponse
15486
+ readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest
14907
15487
  }
14908
15488
 
14909
15489
  /**
@@ -14957,7 +15537,7 @@ export class ClubSettingsManagerApi extends BaseAPI {
14957
15537
  * @memberof ClubSettingsManagerApi
14958
15538
  */
14959
15539
  public updatePresentationSettings(requestParameters: ClubSettingsManagerApiUpdatePresentationSettingsRequest, options?: RawAxiosRequestConfig) {
14960
- return ClubSettingsManagerApiFp(this.configuration).updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, options).then((request) => request(this.axios, this.basePath));
15540
+ return ClubSettingsManagerApiFp(this.configuration).updatePresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
14961
15541
  }
14962
15542
 
14963
15543
  /**
@@ -19195,6 +19775,83 @@ export class DefaultApi extends BaseAPI {
19195
19775
  */
19196
19776
  export const EventsApiAxiosParamCreator = function (configuration?: Configuration) {
19197
19777
  return {
19778
+ /**
19779
+ * Check team name availability for TEAM participation events
19780
+ * @param {string} eventId
19781
+ * @param {string} [teamName]
19782
+ * @param {*} [options] Override http request option.
19783
+ * @throws {RequiredError}
19784
+ */
19785
+ checkTeamNameAvailability: async (eventId: string, teamName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19786
+ // verify required parameter 'eventId' is not null or undefined
19787
+ assertParamExists('checkTeamNameAvailability', 'eventId', eventId)
19788
+ const localVarPath = `/api/events/{eventId}/team-name-availability`
19789
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
19790
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19791
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19792
+ let baseOptions;
19793
+ if (configuration) {
19794
+ baseOptions = configuration.baseOptions;
19795
+ }
19796
+
19797
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19798
+ const localVarHeaderParameter = {} as any;
19799
+ const localVarQueryParameter = {} as any;
19800
+
19801
+ if (teamName !== undefined) {
19802
+ localVarQueryParameter['teamName'] = teamName;
19803
+ }
19804
+
19805
+
19806
+
19807
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19808
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19809
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19810
+
19811
+ return {
19812
+ url: toPathString(localVarUrlObj),
19813
+ options: localVarRequestOptions,
19814
+ };
19815
+ },
19816
+ /**
19817
+ * Estime le prix de participation à un événement pour une liste de joueurs
19818
+ * @param {string} eventId
19819
+ * @param {EstimateEventPriceRequest} estimateEventPriceRequest
19820
+ * @param {*} [options] Override http request option.
19821
+ * @throws {RequiredError}
19822
+ */
19823
+ estimateEventPrice: async (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19824
+ // verify required parameter 'eventId' is not null or undefined
19825
+ assertParamExists('estimateEventPrice', 'eventId', eventId)
19826
+ // verify required parameter 'estimateEventPriceRequest' is not null or undefined
19827
+ assertParamExists('estimateEventPrice', 'estimateEventPriceRequest', estimateEventPriceRequest)
19828
+ const localVarPath = `/api/events/{eventId}/estimate-price`
19829
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
19830
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19831
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19832
+ let baseOptions;
19833
+ if (configuration) {
19834
+ baseOptions = configuration.baseOptions;
19835
+ }
19836
+
19837
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19838
+ const localVarHeaderParameter = {} as any;
19839
+ const localVarQueryParameter = {} as any;
19840
+
19841
+
19842
+
19843
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19844
+
19845
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19846
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19847
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19848
+ localVarRequestOptions.data = serializeDataIfNeeded(estimateEventPriceRequest, localVarRequestOptions, configuration)
19849
+
19850
+ return {
19851
+ url: toPathString(localVarUrlObj),
19852
+ options: localVarRequestOptions,
19853
+ };
19854
+ },
19198
19855
  /**
19199
19856
  * Get a specific event by ID
19200
19857
  * @param {string} eventId
@@ -19367,6 +20024,32 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
19367
20024
  export const EventsApiFp = function(configuration?: Configuration) {
19368
20025
  const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration)
19369
20026
  return {
20027
+ /**
20028
+ * Check team name availability for TEAM participation events
20029
+ * @param {string} eventId
20030
+ * @param {string} [teamName]
20031
+ * @param {*} [options] Override http request option.
20032
+ * @throws {RequiredError}
20033
+ */
20034
+ async checkTeamNameAvailability(eventId: string, teamName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckTeamNameAvailability200Response>> {
20035
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkTeamNameAvailability(eventId, teamName, options);
20036
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20037
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.checkTeamNameAvailability']?.[localVarOperationServerIndex]?.url;
20038
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20039
+ },
20040
+ /**
20041
+ * Estime le prix de participation à un événement pour une liste de joueurs
20042
+ * @param {string} eventId
20043
+ * @param {EstimateEventPriceRequest} estimateEventPriceRequest
20044
+ * @param {*} [options] Override http request option.
20045
+ * @throws {RequiredError}
20046
+ */
20047
+ async estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>> {
20048
+ const localVarAxiosArgs = await localVarAxiosParamCreator.estimateEventPrice(eventId, estimateEventPriceRequest, options);
20049
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20050
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.estimateEventPrice']?.[localVarOperationServerIndex]?.url;
20051
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20052
+ },
19370
20053
  /**
19371
20054
  * Get a specific event by ID
19372
20055
  * @param {string} eventId
@@ -19429,6 +20112,24 @@ export const EventsApiFp = function(configuration?: Configuration) {
19429
20112
  export const EventsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
19430
20113
  const localVarFp = EventsApiFp(configuration)
19431
20114
  return {
20115
+ /**
20116
+ * Check team name availability for TEAM participation events
20117
+ * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
20118
+ * @param {*} [options] Override http request option.
20119
+ * @throws {RequiredError}
20120
+ */
20121
+ checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckTeamNameAvailability200Response> {
20122
+ return localVarFp.checkTeamNameAvailability(requestParameters.eventId, requestParameters.teamName, options).then((request) => request(axios, basePath));
20123
+ },
20124
+ /**
20125
+ * Estime le prix de participation à un événement pour une liste de joueurs
20126
+ * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
20127
+ * @param {*} [options] Override http request option.
20128
+ * @throws {RequiredError}
20129
+ */
20130
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response> {
20131
+ return localVarFp.estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(axios, basePath));
20132
+ },
19432
20133
  /**
19433
20134
  * Get a specific event by ID
19434
20135
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -19468,6 +20169,48 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
19468
20169
  };
19469
20170
  };
19470
20171
 
20172
+ /**
20173
+ * Request parameters for checkTeamNameAvailability operation in EventsApi.
20174
+ * @export
20175
+ * @interface EventsApiCheckTeamNameAvailabilityRequest
20176
+ */
20177
+ export interface EventsApiCheckTeamNameAvailabilityRequest {
20178
+ /**
20179
+ *
20180
+ * @type {string}
20181
+ * @memberof EventsApiCheckTeamNameAvailability
20182
+ */
20183
+ readonly eventId: string
20184
+
20185
+ /**
20186
+ *
20187
+ * @type {string}
20188
+ * @memberof EventsApiCheckTeamNameAvailability
20189
+ */
20190
+ readonly teamName?: string
20191
+ }
20192
+
20193
+ /**
20194
+ * Request parameters for estimateEventPrice operation in EventsApi.
20195
+ * @export
20196
+ * @interface EventsApiEstimateEventPriceRequest
20197
+ */
20198
+ export interface EventsApiEstimateEventPriceRequest {
20199
+ /**
20200
+ *
20201
+ * @type {string}
20202
+ * @memberof EventsApiEstimateEventPrice
20203
+ */
20204
+ readonly eventId: string
20205
+
20206
+ /**
20207
+ *
20208
+ * @type {EstimateEventPriceRequest}
20209
+ * @memberof EventsApiEstimateEventPrice
20210
+ */
20211
+ readonly estimateEventPriceRequest: EstimateEventPriceRequest
20212
+ }
20213
+
19471
20214
  /**
19472
20215
  * Request parameters for getEventById operation in EventsApi.
19473
20216
  * @export
@@ -19559,6 +20302,28 @@ export interface EventsApiLeaveEventRequest {
19559
20302
  * @extends {BaseAPI}
19560
20303
  */
19561
20304
  export class EventsApi extends BaseAPI {
20305
+ /**
20306
+ * Check team name availability for TEAM participation events
20307
+ * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
20308
+ * @param {*} [options] Override http request option.
20309
+ * @throws {RequiredError}
20310
+ * @memberof EventsApi
20311
+ */
20312
+ public checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig) {
20313
+ return EventsApiFp(this.configuration).checkTeamNameAvailability(requestParameters.eventId, requestParameters.teamName, options).then((request) => request(this.axios, this.basePath));
20314
+ }
20315
+
20316
+ /**
20317
+ * Estime le prix de participation à un événement pour une liste de joueurs
20318
+ * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
20319
+ * @param {*} [options] Override http request option.
20320
+ * @throws {RequiredError}
20321
+ * @memberof EventsApi
20322
+ */
20323
+ public estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig) {
20324
+ return EventsApiFp(this.configuration).estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(this.axios, this.basePath));
20325
+ }
20326
+
19562
20327
  /**
19563
20328
  * Get a specific event by ID
19564
20329
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -20932,6 +21697,130 @@ export const GetWeeklyEventsTypeEnum = {
20932
21697
  export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
20933
21698
 
20934
21699
 
21700
+ /**
21701
+ * ImagesApi - axios parameter creator
21702
+ * @export
21703
+ */
21704
+ export const ImagesApiAxiosParamCreator = function (configuration?: Configuration) {
21705
+ return {
21706
+ /**
21707
+ *
21708
+ * @param {ImageCleanupRequestBody} imageCleanupRequestBody
21709
+ * @param {*} [options] Override http request option.
21710
+ * @throws {RequiredError}
21711
+ */
21712
+ cleanupImages: async (imageCleanupRequestBody: ImageCleanupRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21713
+ // verify required parameter 'imageCleanupRequestBody' is not null or undefined
21714
+ assertParamExists('cleanupImages', 'imageCleanupRequestBody', imageCleanupRequestBody)
21715
+ const localVarPath = `/api/images/cleanup`;
21716
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21717
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21718
+ let baseOptions;
21719
+ if (configuration) {
21720
+ baseOptions = configuration.baseOptions;
21721
+ }
21722
+
21723
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
21724
+ const localVarHeaderParameter = {} as any;
21725
+ const localVarQueryParameter = {} as any;
21726
+
21727
+ // authentication bearerAuth required
21728
+ // http bearer authentication required
21729
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21730
+
21731
+
21732
+
21733
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21734
+
21735
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21736
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21737
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21738
+ localVarRequestOptions.data = serializeDataIfNeeded(imageCleanupRequestBody, localVarRequestOptions, configuration)
21739
+
21740
+ return {
21741
+ url: toPathString(localVarUrlObj),
21742
+ options: localVarRequestOptions,
21743
+ };
21744
+ },
21745
+ }
21746
+ };
21747
+
21748
+ /**
21749
+ * ImagesApi - functional programming interface
21750
+ * @export
21751
+ */
21752
+ export const ImagesApiFp = function(configuration?: Configuration) {
21753
+ const localVarAxiosParamCreator = ImagesApiAxiosParamCreator(configuration)
21754
+ return {
21755
+ /**
21756
+ *
21757
+ * @param {ImageCleanupRequestBody} imageCleanupRequestBody
21758
+ * @param {*} [options] Override http request option.
21759
+ * @throws {RequiredError}
21760
+ */
21761
+ async cleanupImages(imageCleanupRequestBody: ImageCleanupRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageCleanupResponse>> {
21762
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cleanupImages(imageCleanupRequestBody, options);
21763
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21764
+ const localVarOperationServerBasePath = operationServerMap['ImagesApi.cleanupImages']?.[localVarOperationServerIndex]?.url;
21765
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21766
+ },
21767
+ }
21768
+ };
21769
+
21770
+ /**
21771
+ * ImagesApi - factory interface
21772
+ * @export
21773
+ */
21774
+ export const ImagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
21775
+ const localVarFp = ImagesApiFp(configuration)
21776
+ return {
21777
+ /**
21778
+ *
21779
+ * @param {ImagesApiCleanupImagesRequest} requestParameters Request parameters.
21780
+ * @param {*} [options] Override http request option.
21781
+ * @throws {RequiredError}
21782
+ */
21783
+ cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImageCleanupResponse> {
21784
+ return localVarFp.cleanupImages(requestParameters.imageCleanupRequestBody, options).then((request) => request(axios, basePath));
21785
+ },
21786
+ };
21787
+ };
21788
+
21789
+ /**
21790
+ * Request parameters for cleanupImages operation in ImagesApi.
21791
+ * @export
21792
+ * @interface ImagesApiCleanupImagesRequest
21793
+ */
21794
+ export interface ImagesApiCleanupImagesRequest {
21795
+ /**
21796
+ *
21797
+ * @type {ImageCleanupRequestBody}
21798
+ * @memberof ImagesApiCleanupImages
21799
+ */
21800
+ readonly imageCleanupRequestBody: ImageCleanupRequestBody
21801
+ }
21802
+
21803
+ /**
21804
+ * ImagesApi - object-oriented interface
21805
+ * @export
21806
+ * @class ImagesApi
21807
+ * @extends {BaseAPI}
21808
+ */
21809
+ export class ImagesApi extends BaseAPI {
21810
+ /**
21811
+ *
21812
+ * @param {ImagesApiCleanupImagesRequest} requestParameters Request parameters.
21813
+ * @param {*} [options] Override http request option.
21814
+ * @throws {RequiredError}
21815
+ * @memberof ImagesApi
21816
+ */
21817
+ public cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig) {
21818
+ return ImagesApiFp(this.configuration).cleanupImages(requestParameters.imageCleanupRequestBody, options).then((request) => request(this.axios, this.basePath));
21819
+ }
21820
+ }
21821
+
21822
+
21823
+
20935
21824
  /**
20936
21825
  * SportsManagerApi - axios parameter creator
20937
21826
  * @export