@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/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}
@@ -4119,6 +4236,111 @@ export declare const DiscountType: {
4119
4236
  readonly OffPeak: "off_peak";
4120
4237
  };
4121
4238
  export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
4239
+ /**
4240
+ *
4241
+ * @export
4242
+ * @interface EstimateEventPrice200Response
4243
+ */
4244
+ export interface EstimateEventPrice200Response {
4245
+ /**
4246
+ * Construct a type with a set of properties K of type T
4247
+ * @type {{ [key: string]: number; }}
4248
+ * @memberof EstimateEventPrice200Response
4249
+ */
4250
+ 'perPayerAfterCredits'?: {
4251
+ [key: string]: number;
4252
+ };
4253
+ /**
4254
+ *
4255
+ * @type {number}
4256
+ * @memberof EstimateEventPrice200Response
4257
+ */
4258
+ 'totalAfterCredits'?: number;
4259
+ /**
4260
+ *
4261
+ * @type {number}
4262
+ * @memberof EstimateEventPrice200Response
4263
+ */
4264
+ 'creditsAppliedInCents'?: number;
4265
+ /**
4266
+ *
4267
+ * @type {string}
4268
+ * @memberof EstimateEventPrice200Response
4269
+ */
4270
+ 'currency': string;
4271
+ /**
4272
+ *
4273
+ * @type {number}
4274
+ * @memberof EstimateEventPrice200Response
4275
+ */
4276
+ 'total': number;
4277
+ /**
4278
+ * Construct a type with a set of properties K of type T
4279
+ * @type {{ [key: string]: number; }}
4280
+ * @memberof EstimateEventPrice200Response
4281
+ */
4282
+ 'perPayer': {
4283
+ [key: string]: number;
4284
+ };
4285
+ /**
4286
+ * Construct a type with a set of properties K of type T
4287
+ * @type {{ [key: string]: number; }}
4288
+ * @memberof EstimateEventPrice200Response
4289
+ */
4290
+ 'perPlayer': {
4291
+ [key: string]: number;
4292
+ };
4293
+ }
4294
+ /**
4295
+ *
4296
+ * @export
4297
+ * @interface EstimateEventPriceRequest
4298
+ */
4299
+ export interface EstimateEventPriceRequest {
4300
+ /**
4301
+ *
4302
+ * @type {number}
4303
+ * @memberof EstimateEventPriceRequest
4304
+ */
4305
+ 'creditToUseInCents'?: number;
4306
+ /**
4307
+ *
4308
+ * @type {string}
4309
+ * @memberof EstimateEventPriceRequest
4310
+ */
4311
+ 'creatorId'?: string;
4312
+ /**
4313
+ *
4314
+ * @type {Array<EstimateEventPriceRequestSharesInner>}
4315
+ * @memberof EstimateEventPriceRequest
4316
+ */
4317
+ 'shares'?: Array<EstimateEventPriceRequestSharesInner>;
4318
+ /**
4319
+ *
4320
+ * @type {Array<string>}
4321
+ * @memberof EstimateEventPriceRequest
4322
+ */
4323
+ 'playerIds': Array<string>;
4324
+ }
4325
+ /**
4326
+ *
4327
+ * @export
4328
+ * @interface EstimateEventPriceRequestSharesInner
4329
+ */
4330
+ export interface EstimateEventPriceRequestSharesInner {
4331
+ /**
4332
+ *
4333
+ * @type {Array<string>}
4334
+ * @memberof EstimateEventPriceRequestSharesInner
4335
+ */
4336
+ 'paysAlsoFor'?: Array<string>;
4337
+ /**
4338
+ *
4339
+ * @type {string}
4340
+ * @memberof EstimateEventPriceRequestSharesInner
4341
+ */
4342
+ 'playerId': string;
4343
+ }
4122
4344
  /**
4123
4345
  *
4124
4346
  * @export
@@ -4273,10 +4495,10 @@ export interface EventResponse {
4273
4495
  'participationType': EventResponseParticipationTypeEnum;
4274
4496
  /**
4275
4497
  *
4276
- * @type {Array<string>}
4498
+ * @type {Array<EventUser>}
4277
4499
  * @memberof EventResponse
4278
4500
  */
4279
- 'participants'?: Array<string>;
4501
+ 'participants'?: Array<EventUser>;
4280
4502
  /**
4281
4503
  *
4282
4504
  * @type {Array<Team>}
@@ -4295,6 +4517,12 @@ export interface EventResponse {
4295
4517
  * @memberof EventResponse
4296
4518
  */
4297
4519
  'teamLimit'?: number;
4520
+ /**
4521
+ *
4522
+ * @type {number}
4523
+ * @memberof EventResponse
4524
+ */
4525
+ 'playersPerTeam'?: number;
4298
4526
  /**
4299
4527
  *
4300
4528
  * @type {number}
@@ -4398,6 +4626,43 @@ export interface EventSponsor {
4398
4626
  */
4399
4627
  'logo'?: string | null;
4400
4628
  }
4629
+ /**
4630
+ *
4631
+ * @export
4632
+ * @interface EventUser
4633
+ */
4634
+ export interface EventUser {
4635
+ /**
4636
+ *
4637
+ * @type {string}
4638
+ * @memberof EventUser
4639
+ */
4640
+ 'id': string;
4641
+ /**
4642
+ *
4643
+ * @type {string}
4644
+ * @memberof EventUser
4645
+ */
4646
+ 'firstName': string;
4647
+ /**
4648
+ *
4649
+ * @type {string}
4650
+ * @memberof EventUser
4651
+ */
4652
+ 'lastName': string;
4653
+ /**
4654
+ *
4655
+ * @type {string}
4656
+ * @memberof EventUser
4657
+ */
4658
+ 'username'?: string;
4659
+ /**
4660
+ *
4661
+ * @type {string}
4662
+ * @memberof EventUser
4663
+ */
4664
+ 'profilePicture'?: string;
4665
+ }
4401
4666
  /**
4402
4667
  *
4403
4668
  * @export
@@ -5218,6 +5483,142 @@ export declare const IUserLocationTypeEnum: {
5218
5483
  readonly Point: "Point";
5219
5484
  };
5220
5485
  export type IUserLocationTypeEnum = typeof IUserLocationTypeEnum[keyof typeof IUserLocationTypeEnum];
5486
+ /**
5487
+ *
5488
+ * @export
5489
+ * @interface ImageCleanupItem
5490
+ */
5491
+ export interface ImageCleanupItem {
5492
+ /**
5493
+ *
5494
+ * @type {string}
5495
+ * @memberof ImageCleanupItem
5496
+ */
5497
+ 'imageKey': string;
5498
+ /**
5499
+ *
5500
+ * @type {ImageContext}
5501
+ * @memberof ImageCleanupItem
5502
+ */
5503
+ 'context': ImageContext;
5504
+ }
5505
+ /**
5506
+ *
5507
+ * @export
5508
+ * @interface ImageCleanupRequestBody
5509
+ */
5510
+ export interface ImageCleanupRequestBody {
5511
+ /**
5512
+ *
5513
+ * @type {Array<ImageCleanupItem>}
5514
+ * @memberof ImageCleanupRequestBody
5515
+ */
5516
+ 'items': Array<ImageCleanupItem>;
5517
+ }
5518
+ /**
5519
+ *
5520
+ * @export
5521
+ * @interface ImageCleanupResponse
5522
+ */
5523
+ export interface ImageCleanupResponse {
5524
+ /**
5525
+ *
5526
+ * @type {boolean}
5527
+ * @memberof ImageCleanupResponse
5528
+ */
5529
+ 'success': boolean;
5530
+ /**
5531
+ *
5532
+ * @type {number}
5533
+ * @memberof ImageCleanupResponse
5534
+ */
5535
+ 'deleted': number;
5536
+ }
5537
+ /**
5538
+ *
5539
+ * @export
5540
+ * @interface ImageContext
5541
+ */
5542
+ export interface ImageContext {
5543
+ /**
5544
+ *
5545
+ * @type {ImageContextType}
5546
+ * @memberof ImageContext
5547
+ */
5548
+ 'type': ImageContextType;
5549
+ /**
5550
+ *
5551
+ * @type {string}
5552
+ * @memberof ImageContext
5553
+ */
5554
+ 'entityId': string;
5555
+ /**
5556
+ *
5557
+ * @type {string}
5558
+ * @memberof ImageContext
5559
+ */
5560
+ 'userId'?: string;
5561
+ /**
5562
+ *
5563
+ * @type {string}
5564
+ * @memberof ImageContext
5565
+ */
5566
+ 'clubId'?: string;
5567
+ /**
5568
+ *
5569
+ * @type {string}
5570
+ * @memberof ImageContext
5571
+ */
5572
+ 'sportId'?: string;
5573
+ /**
5574
+ *
5575
+ * @type {string}
5576
+ * @memberof ImageContext
5577
+ */
5578
+ 'eventId'?: string;
5579
+ }
5580
+ /**
5581
+ *
5582
+ * @export
5583
+ * @enum {string}
5584
+ */
5585
+ export declare const ImageContextType: {
5586
+ readonly UserAvatar: "user-avatar";
5587
+ readonly ClubAvatar: "club-avatar";
5588
+ readonly ClubGallery: "club-gallery";
5589
+ readonly ClubPreview: "club-preview";
5590
+ readonly ClubCarousel: "club-carousel";
5591
+ readonly ClubSportImage: "club-sport-image";
5592
+ readonly ClubEventImage: "club-event-image";
5593
+ };
5594
+ export type ImageContextType = typeof ImageContextType[keyof typeof ImageContextType];
5595
+ /**
5596
+ *
5597
+ * @export
5598
+ * @interface ImageReferencePayload
5599
+ */
5600
+ export interface ImageReferencePayload {
5601
+ /**
5602
+ *
5603
+ * @type {ImageContextType}
5604
+ * @memberof ImageReferencePayload
5605
+ */
5606
+ 'type': ImageContextType;
5607
+ /**
5608
+ *
5609
+ * @type {string}
5610
+ * @memberof ImageReferencePayload
5611
+ */
5612
+ 'imageKey': string;
5613
+ /**
5614
+ * Construct a type with a set of properties K of type T
5615
+ * @type {{ [key: string]: any; }}
5616
+ * @memberof ImageReferencePayload
5617
+ */
5618
+ 'dbContext'?: {
5619
+ [key: string]: any;
5620
+ } | null;
5621
+ }
5221
5622
  /**
5222
5623
  *
5223
5624
  * @export
@@ -5301,6 +5702,12 @@ export interface JoinEventRequest {
5301
5702
  * @memberof JoinEventRequest
5302
5703
  */
5303
5704
  'useDefaultPaymentMethod'?: boolean;
5705
+ /**
5706
+ *
5707
+ * @type {number}
5708
+ * @memberof JoinEventRequest
5709
+ */
5710
+ 'creditToUseInCents'?: number;
5304
5711
  }
5305
5712
  /**
5306
5713
  *
@@ -5308,6 +5715,12 @@ export interface JoinEventRequest {
5308
5715
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5309
5716
  */
5310
5717
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5718
+ /**
5719
+ *
5720
+ * @type {Array<string>}
5721
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5722
+ */
5723
+ 'paysAlsoFor'?: Array<string>;
5311
5724
  /**
5312
5725
  *
5313
5726
  * @type {PaymentMethod}
@@ -5339,6 +5752,77 @@ export interface JoinEventResponse {
5339
5752
  * @memberof JoinEventResponse
5340
5753
  */
5341
5754
  'event': EventResponse;
5755
+ /**
5756
+ * Construct a type with a set of properties K of type T
5757
+ * @type {{ [key: string]: string; }}
5758
+ * @memberof JoinEventResponse
5759
+ */
5760
+ 'paymentLinks'?: {
5761
+ [key: string]: string;
5762
+ };
5763
+ /**
5764
+ *
5765
+ * @type {Array<JoinEventResponseOnsitePaymentsInner>}
5766
+ * @memberof JoinEventResponse
5767
+ */
5768
+ 'onsitePayments'?: Array<JoinEventResponseOnsitePaymentsInner>;
5769
+ /**
5770
+ *
5771
+ * @type {string}
5772
+ * @memberof JoinEventResponse
5773
+ */
5774
+ 'setupNoShowPaymentUrl'?: string;
5775
+ /**
5776
+ *
5777
+ * @type {Array<CheckInEventParticipants200ResponseInvoicesInner>}
5778
+ * @memberof JoinEventResponse
5779
+ */
5780
+ 'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
5781
+ /**
5782
+ *
5783
+ * @type {number}
5784
+ * @memberof JoinEventResponse
5785
+ */
5786
+ 'creditsAppliedInCents'?: number;
5787
+ /**
5788
+ *
5789
+ * @type {number}
5790
+ * @memberof JoinEventResponse
5791
+ */
5792
+ 'totalAfterCredits'?: number;
5793
+ /**
5794
+ * Construct a type with a set of properties K of type T
5795
+ * @type {{ [key: string]: number; }}
5796
+ * @memberof JoinEventResponse
5797
+ */
5798
+ 'perPayerAfterCredits'?: {
5799
+ [key: string]: number;
5800
+ };
5801
+ }
5802
+ /**
5803
+ *
5804
+ * @export
5805
+ * @interface JoinEventResponseOnsitePaymentsInner
5806
+ */
5807
+ export interface JoinEventResponseOnsitePaymentsInner {
5808
+ /**
5809
+ *
5810
+ * @type {PaymentMethod}
5811
+ * @memberof JoinEventResponseOnsitePaymentsInner
5812
+ */
5813
+ 'paymentMethod': PaymentMethod;
5814
+ /**
5815
+ *
5816
+ * @type {number}
5817
+ * @memberof JoinEventResponseOnsitePaymentsInner
5818
+ */
5819
+ 'amount': number;
5820
+ /**
5821
+ *
5822
+ * @type {string}
5823
+ * @memberof JoinEventResponseOnsitePaymentsInner
5824
+ */
5825
+ 'playerId': string;
5342
5826
  }
5343
5827
  /**
5344
5828
  *
@@ -9147,10 +9631,10 @@ export interface Team {
9147
9631
  'name': string;
9148
9632
  /**
9149
9633
  *
9150
- * @type {Array<string>}
9634
+ * @type {Array<EventUser>}
9151
9635
  * @memberof Team
9152
9636
  */
9153
- 'players': Array<string>;
9637
+ 'players': Array<EventUser>;
9154
9638
  }
9155
9639
  /**
9156
9640
  *
@@ -9228,10 +9712,10 @@ export interface UpdateClubGeneralSettingsRequest {
9228
9712
  'rib'?: string | null;
9229
9713
  /**
9230
9714
  *
9231
- * @type {string}
9715
+ * @type {UpdateClubGeneralSettingsRequestLogo}
9232
9716
  * @memberof UpdateClubGeneralSettingsRequest
9233
9717
  */
9234
- 'logo'?: string | null;
9718
+ 'logo'?: UpdateClubGeneralSettingsRequestLogo | null;
9235
9719
  /**
9236
9720
  *
9237
9721
  * @type {ClubLocationSettings}
@@ -9239,6 +9723,33 @@ export interface UpdateClubGeneralSettingsRequest {
9239
9723
  */
9240
9724
  'location'?: ClubLocationSettings;
9241
9725
  }
9726
+ /**
9727
+ *
9728
+ * @export
9729
+ * @interface UpdateClubGeneralSettingsRequestLogo
9730
+ */
9731
+ export interface UpdateClubGeneralSettingsRequestLogo {
9732
+ /**
9733
+ *
9734
+ * @type {ImageContextType}
9735
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9736
+ */
9737
+ 'type': ImageContextType;
9738
+ /**
9739
+ *
9740
+ * @type {string}
9741
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9742
+ */
9743
+ 'imageKey': string;
9744
+ /**
9745
+ * Construct a type with a set of properties K of type T
9746
+ * @type {{ [key: string]: any; }}
9747
+ * @memberof UpdateClubGeneralSettingsRequestLogo
9748
+ */
9749
+ 'dbContext'?: {
9750
+ [key: string]: any;
9751
+ } | null;
9752
+ }
9242
9753
  /**
9243
9754
  *
9244
9755
  * @export
@@ -9303,16 +9814,16 @@ export interface UpdateClubPresentationSettingsRequest {
9303
9814
  'tags'?: Array<string>;
9304
9815
  /**
9305
9816
  *
9306
- * @type {Array<string | null>}
9817
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9307
9818
  * @memberof UpdateClubPresentationSettingsRequest
9308
9819
  */
9309
- 'bannerImages'?: Array<string | null>;
9820
+ 'bannerImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9310
9821
  /**
9311
9822
  *
9312
- * @type {Array<string | null>}
9823
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9313
9824
  * @memberof UpdateClubPresentationSettingsRequest
9314
9825
  */
9315
- 'galleryImages'?: Array<string | null>;
9826
+ 'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9316
9827
  }
9317
9828
  /**
9318
9829
  *
@@ -10416,6 +10927,12 @@ export interface UserProfileResponse {
10416
10927
  * @memberof UserProfileResponse
10417
10928
  */
10418
10929
  'verifiedSports'?: Array<SportResponse>;
10930
+ /**
10931
+ *
10932
+ * @type {string}
10933
+ * @memberof UserProfileResponse
10934
+ */
10935
+ 'clubId'?: string | null;
10419
10936
  }
10420
10937
  /**
10421
10938
  *
@@ -11363,6 +11880,12 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11363
11880
  * @throws {RequiredError}
11364
11881
  */
11365
11882
  clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11883
+ /**
11884
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11885
+ * @param {*} [options] Override http request option.
11886
+ * @throws {RequiredError}
11887
+ */
11888
+ getClientSubscriptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11366
11889
  /**
11367
11890
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11368
11891
  * @param {*} [options] Override http request option.
@@ -11389,6 +11912,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11389
11912
  * @throws {RequiredError}
11390
11913
  */
11391
11914
  clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
11915
+ /**
11916
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11917
+ * @param {*} [options] Override http request option.
11918
+ * @throws {RequiredError}
11919
+ */
11920
+ getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientSubscriptionsResponse>>;
11392
11921
  /**
11393
11922
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11394
11923
  * @param {*} [options] Override http request option.
@@ -11415,6 +11944,12 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
11415
11944
  * @throws {RequiredError}
11416
11945
  */
11417
11946
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
11947
+ /**
11948
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
11949
+ * @param {*} [options] Override http request option.
11950
+ * @throws {RequiredError}
11951
+ */
11952
+ getClientSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<ClientSubscriptionsResponse>;
11418
11953
  /**
11419
11954
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11420
11955
  * @param {*} [options] Override http request option.
@@ -11470,6 +12005,13 @@ export declare class ClientApi extends BaseAPI {
11470
12005
  * @memberof ClientApi
11471
12006
  */
11472
12007
  clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
12008
+ /**
12009
+ * Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
12010
+ * @param {*} [options] Override http request option.
12011
+ * @throws {RequiredError}
12012
+ * @memberof ClientApi
12013
+ */
12014
+ getClientSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientSubscriptionsResponse, any, {}>>;
11473
12015
  /**
11474
12016
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11475
12017
  * @param {*} [options] Override http request option.
@@ -12496,11 +13038,11 @@ export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: C
12496
13038
  updateHoursSettings: (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12497
13039
  /**
12498
13040
  *
12499
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
13041
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
12500
13042
  * @param {*} [options] Override http request option.
12501
13043
  * @throws {RequiredError}
12502
13044
  */
12503
- updatePresentationSettings: (clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13045
+ updatePresentationSettings: (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12504
13046
  /**
12505
13047
  *
12506
13048
  * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
@@ -12530,11 +13072,11 @@ export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) =
12530
13072
  updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>>;
12531
13073
  /**
12532
13074
  *
12533
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
13075
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
12534
13076
  * @param {*} [options] Override http request option.
12535
13077
  * @throws {RequiredError}
12536
13078
  */
12537
- updatePresentationSettings(clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>>;
13079
+ updatePresentationSettings(updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>>;
12538
13080
  /**
12539
13081
  *
12540
13082
  * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
@@ -12611,10 +13153,10 @@ export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
12611
13153
  export interface ClubSettingsManagerApiUpdatePresentationSettingsRequest {
12612
13154
  /**
12613
13155
  *
12614
- * @type {ClubPresentationSettingsResponse}
13156
+ * @type {UpdateClubPresentationSettingsRequest}
12615
13157
  * @memberof ClubSettingsManagerApiUpdatePresentationSettings
12616
13158
  */
12617
- readonly clubPresentationSettingsResponse: ClubPresentationSettingsResponse;
13159
+ readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest;
12618
13160
  }
12619
13161
  /**
12620
13162
  * Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
@@ -14785,6 +15327,22 @@ export declare class DefaultApi extends BaseAPI {
14785
15327
  * @export
14786
15328
  */
14787
15329
  export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => {
15330
+ /**
15331
+ * Check team name availability for TEAM participation events
15332
+ * @param {string} eventId
15333
+ * @param {string} [teamName]
15334
+ * @param {*} [options] Override http request option.
15335
+ * @throws {RequiredError}
15336
+ */
15337
+ checkTeamNameAvailability: (eventId: string, teamName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15338
+ /**
15339
+ * Estime le prix de participation à un événement pour une liste de joueurs
15340
+ * @param {string} eventId
15341
+ * @param {EstimateEventPriceRequest} estimateEventPriceRequest
15342
+ * @param {*} [options] Override http request option.
15343
+ * @throws {RequiredError}
15344
+ */
15345
+ estimateEventPrice: (eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14788
15346
  /**
14789
15347
  * Get a specific event by ID
14790
15348
  * @param {string} eventId
@@ -14823,6 +15381,22 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
14823
15381
  * @export
14824
15382
  */
14825
15383
  export declare const EventsApiFp: (configuration?: Configuration) => {
15384
+ /**
15385
+ * Check team name availability for TEAM participation events
15386
+ * @param {string} eventId
15387
+ * @param {string} [teamName]
15388
+ * @param {*} [options] Override http request option.
15389
+ * @throws {RequiredError}
15390
+ */
15391
+ checkTeamNameAvailability(eventId: string, teamName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckTeamNameAvailability200Response>>;
15392
+ /**
15393
+ * Estime le prix de participation à un événement pour une liste de joueurs
15394
+ * @param {string} eventId
15395
+ * @param {EstimateEventPriceRequest} estimateEventPriceRequest
15396
+ * @param {*} [options] Override http request option.
15397
+ * @throws {RequiredError}
15398
+ */
15399
+ estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
14826
15400
  /**
14827
15401
  * Get a specific event by ID
14828
15402
  * @param {string} eventId
@@ -14861,6 +15435,20 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
14861
15435
  * @export
14862
15436
  */
14863
15437
  export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15438
+ /**
15439
+ * Check team name availability for TEAM participation events
15440
+ * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
15441
+ * @param {*} [options] Override http request option.
15442
+ * @throws {RequiredError}
15443
+ */
15444
+ checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckTeamNameAvailability200Response>;
15445
+ /**
15446
+ * Estime le prix de participation à un événement pour une liste de joueurs
15447
+ * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
15448
+ * @param {*} [options] Override http request option.
15449
+ * @throws {RequiredError}
15450
+ */
15451
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
14864
15452
  /**
14865
15453
  * Get a specific event by ID
14866
15454
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -14890,6 +15478,44 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
14890
15478
  */
14891
15479
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
14892
15480
  };
15481
+ /**
15482
+ * Request parameters for checkTeamNameAvailability operation in EventsApi.
15483
+ * @export
15484
+ * @interface EventsApiCheckTeamNameAvailabilityRequest
15485
+ */
15486
+ export interface EventsApiCheckTeamNameAvailabilityRequest {
15487
+ /**
15488
+ *
15489
+ * @type {string}
15490
+ * @memberof EventsApiCheckTeamNameAvailability
15491
+ */
15492
+ readonly eventId: string;
15493
+ /**
15494
+ *
15495
+ * @type {string}
15496
+ * @memberof EventsApiCheckTeamNameAvailability
15497
+ */
15498
+ readonly teamName?: string;
15499
+ }
15500
+ /**
15501
+ * Request parameters for estimateEventPrice operation in EventsApi.
15502
+ * @export
15503
+ * @interface EventsApiEstimateEventPriceRequest
15504
+ */
15505
+ export interface EventsApiEstimateEventPriceRequest {
15506
+ /**
15507
+ *
15508
+ * @type {string}
15509
+ * @memberof EventsApiEstimateEventPrice
15510
+ */
15511
+ readonly eventId: string;
15512
+ /**
15513
+ *
15514
+ * @type {EstimateEventPriceRequest}
15515
+ * @memberof EventsApiEstimateEventPrice
15516
+ */
15517
+ readonly estimateEventPriceRequest: EstimateEventPriceRequest;
15518
+ }
14893
15519
  /**
14894
15520
  * Request parameters for getEventById operation in EventsApi.
14895
15521
  * @export
@@ -14973,6 +15599,22 @@ export interface EventsApiLeaveEventRequest {
14973
15599
  * @extends {BaseAPI}
14974
15600
  */
14975
15601
  export declare class EventsApi extends BaseAPI {
15602
+ /**
15603
+ * Check team name availability for TEAM participation events
15604
+ * @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
15605
+ * @param {*} [options] Override http request option.
15606
+ * @throws {RequiredError}
15607
+ * @memberof EventsApi
15608
+ */
15609
+ checkTeamNameAvailability(requestParameters: EventsApiCheckTeamNameAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckTeamNameAvailability200Response, any, {}>>;
15610
+ /**
15611
+ * Estime le prix de participation à un événement pour une liste de joueurs
15612
+ * @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
15613
+ * @param {*} [options] Override http request option.
15614
+ * @throws {RequiredError}
15615
+ * @memberof EventsApi
15616
+ */
15617
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
14976
15618
  /**
14977
15619
  * Get a specific event by ID
14978
15620
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -15733,6 +16375,74 @@ export declare const GetWeeklyEventsTypeEnum: {
15733
16375
  readonly Closure: "closure";
15734
16376
  };
15735
16377
  export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
16378
+ /**
16379
+ * ImagesApi - axios parameter creator
16380
+ * @export
16381
+ */
16382
+ export declare const ImagesApiAxiosParamCreator: (configuration?: Configuration) => {
16383
+ /**
16384
+ *
16385
+ * @param {ImageCleanupRequestBody} imageCleanupRequestBody
16386
+ * @param {*} [options] Override http request option.
16387
+ * @throws {RequiredError}
16388
+ */
16389
+ cleanupImages: (imageCleanupRequestBody: ImageCleanupRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16390
+ };
16391
+ /**
16392
+ * ImagesApi - functional programming interface
16393
+ * @export
16394
+ */
16395
+ export declare const ImagesApiFp: (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<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageCleanupResponse>>;
16403
+ };
16404
+ /**
16405
+ * ImagesApi - factory interface
16406
+ * @export
16407
+ */
16408
+ export declare const ImagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16409
+ /**
16410
+ *
16411
+ * @param {ImagesApiCleanupImagesRequest} requestParameters Request parameters.
16412
+ * @param {*} [options] Override http request option.
16413
+ * @throws {RequiredError}
16414
+ */
16415
+ cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImageCleanupResponse>;
16416
+ };
16417
+ /**
16418
+ * Request parameters for cleanupImages operation in ImagesApi.
16419
+ * @export
16420
+ * @interface ImagesApiCleanupImagesRequest
16421
+ */
16422
+ export interface ImagesApiCleanupImagesRequest {
16423
+ /**
16424
+ *
16425
+ * @type {ImageCleanupRequestBody}
16426
+ * @memberof ImagesApiCleanupImages
16427
+ */
16428
+ readonly imageCleanupRequestBody: ImageCleanupRequestBody;
16429
+ }
16430
+ /**
16431
+ * ImagesApi - object-oriented interface
16432
+ * @export
16433
+ * @class ImagesApi
16434
+ * @extends {BaseAPI}
16435
+ */
16436
+ export declare class ImagesApi extends BaseAPI {
16437
+ /**
16438
+ *
16439
+ * @param {ImagesApiCleanupImagesRequest} requestParameters Request parameters.
16440
+ * @param {*} [options] Override http request option.
16441
+ * @throws {RequiredError}
16442
+ * @memberof ImagesApi
16443
+ */
16444
+ cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageCleanupResponse, any, {}>>;
16445
+ }
15736
16446
  /**
15737
16447
  * SportsManagerApi - axios parameter creator
15738
16448
  * @export