@tennac-booking/sdk 1.0.119 → 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 +22 -2
  3. package/api.ts +910 -27
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +721 -17
  8. package/dist/api.js +330 -15
  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 +721 -17
  16. package/dist/esm/api.js +322 -11
  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 +5 -5
  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 +1 -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>}
@@ -4404,6 +4626,43 @@ export interface EventSponsor {
4404
4626
  */
4405
4627
  'logo'?: string | null;
4406
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
+ }
4407
4666
  /**
4408
4667
  *
4409
4668
  * @export
@@ -5224,6 +5483,142 @@ export declare const IUserLocationTypeEnum: {
5224
5483
  readonly Point: "Point";
5225
5484
  };
5226
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
+ }
5227
5622
  /**
5228
5623
  *
5229
5624
  * @export
@@ -5307,6 +5702,12 @@ export interface JoinEventRequest {
5307
5702
  * @memberof JoinEventRequest
5308
5703
  */
5309
5704
  'useDefaultPaymentMethod'?: boolean;
5705
+ /**
5706
+ *
5707
+ * @type {number}
5708
+ * @memberof JoinEventRequest
5709
+ */
5710
+ 'creditToUseInCents'?: number;
5310
5711
  }
5311
5712
  /**
5312
5713
  *
@@ -5314,6 +5715,12 @@ export interface JoinEventRequest {
5314
5715
  * @interface JoinEventRequestPlayersPaymentMethodsInner
5315
5716
  */
5316
5717
  export interface JoinEventRequestPlayersPaymentMethodsInner {
5718
+ /**
5719
+ *
5720
+ * @type {Array<string>}
5721
+ * @memberof JoinEventRequestPlayersPaymentMethodsInner
5722
+ */
5723
+ 'paysAlsoFor'?: Array<string>;
5317
5724
  /**
5318
5725
  *
5319
5726
  * @type {PaymentMethod}
@@ -5345,6 +5752,77 @@ export interface JoinEventResponse {
5345
5752
  * @memberof JoinEventResponse
5346
5753
  */
5347
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;
5348
5826
  }
5349
5827
  /**
5350
5828
  *
@@ -9153,10 +9631,10 @@ export interface Team {
9153
9631
  'name': string;
9154
9632
  /**
9155
9633
  *
9156
- * @type {Array<string>}
9634
+ * @type {Array<EventUser>}
9157
9635
  * @memberof Team
9158
9636
  */
9159
- 'players': Array<string>;
9637
+ 'players': Array<EventUser>;
9160
9638
  }
9161
9639
  /**
9162
9640
  *
@@ -9234,10 +9712,10 @@ export interface UpdateClubGeneralSettingsRequest {
9234
9712
  'rib'?: string | null;
9235
9713
  /**
9236
9714
  *
9237
- * @type {string}
9715
+ * @type {UpdateClubGeneralSettingsRequestLogo}
9238
9716
  * @memberof UpdateClubGeneralSettingsRequest
9239
9717
  */
9240
- 'logo'?: string | null;
9718
+ 'logo'?: UpdateClubGeneralSettingsRequestLogo | null;
9241
9719
  /**
9242
9720
  *
9243
9721
  * @type {ClubLocationSettings}
@@ -9245,6 +9723,33 @@ export interface UpdateClubGeneralSettingsRequest {
9245
9723
  */
9246
9724
  'location'?: ClubLocationSettings;
9247
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
+ }
9248
9753
  /**
9249
9754
  *
9250
9755
  * @export
@@ -9309,16 +9814,16 @@ export interface UpdateClubPresentationSettingsRequest {
9309
9814
  'tags'?: Array<string>;
9310
9815
  /**
9311
9816
  *
9312
- * @type {Array<string | null>}
9817
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9313
9818
  * @memberof UpdateClubPresentationSettingsRequest
9314
9819
  */
9315
- 'bannerImages'?: Array<string | null>;
9820
+ 'bannerImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9316
9821
  /**
9317
9822
  *
9318
- * @type {Array<string | null>}
9823
+ * @type {Array<UpdateClubGeneralSettingsRequestLogo>}
9319
9824
  * @memberof UpdateClubPresentationSettingsRequest
9320
9825
  */
9321
- 'galleryImages'?: Array<string | null>;
9826
+ 'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
9322
9827
  }
9323
9828
  /**
9324
9829
  *
@@ -10422,6 +10927,12 @@ export interface UserProfileResponse {
10422
10927
  * @memberof UserProfileResponse
10423
10928
  */
10424
10929
  'verifiedSports'?: Array<SportResponse>;
10930
+ /**
10931
+ *
10932
+ * @type {string}
10933
+ * @memberof UserProfileResponse
10934
+ */
10935
+ 'clubId'?: string | null;
10425
10936
  }
10426
10937
  /**
10427
10938
  *
@@ -11369,6 +11880,12 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
11369
11880
  * @throws {RequiredError}
11370
11881
  */
11371
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>;
11372
11889
  /**
11373
11890
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11374
11891
  * @param {*} [options] Override http request option.
@@ -11395,6 +11912,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
11395
11912
  * @throws {RequiredError}
11396
11913
  */
11397
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>>;
11398
11921
  /**
11399
11922
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11400
11923
  * @param {*} [options] Override http request option.
@@ -11421,6 +11944,12 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
11421
11944
  * @throws {RequiredError}
11422
11945
  */
11423
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>;
11424
11953
  /**
11425
11954
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11426
11955
  * @param {*} [options] Override http request option.
@@ -11476,6 +12005,13 @@ export declare class ClientApi extends BaseAPI {
11476
12005
  * @memberof ClientApi
11477
12006
  */
11478
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, {}>>;
11479
12015
  /**
11480
12016
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
11481
12017
  * @param {*} [options] Override http request option.
@@ -12502,11 +13038,11 @@ export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: C
12502
13038
  updateHoursSettings: (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12503
13039
  /**
12504
13040
  *
12505
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
13041
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
12506
13042
  * @param {*} [options] Override http request option.
12507
13043
  * @throws {RequiredError}
12508
13044
  */
12509
- updatePresentationSettings: (clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13045
+ updatePresentationSettings: (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12510
13046
  /**
12511
13047
  *
12512
13048
  * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
@@ -12536,11 +13072,11 @@ export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) =
12536
13072
  updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>>;
12537
13073
  /**
12538
13074
  *
12539
- * @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
13075
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
12540
13076
  * @param {*} [options] Override http request option.
12541
13077
  * @throws {RequiredError}
12542
13078
  */
12543
- 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>>;
12544
13080
  /**
12545
13081
  *
12546
13082
  * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
@@ -12617,10 +13153,10 @@ export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
12617
13153
  export interface ClubSettingsManagerApiUpdatePresentationSettingsRequest {
12618
13154
  /**
12619
13155
  *
12620
- * @type {ClubPresentationSettingsResponse}
13156
+ * @type {UpdateClubPresentationSettingsRequest}
12621
13157
  * @memberof ClubSettingsManagerApiUpdatePresentationSettings
12622
13158
  */
12623
- readonly clubPresentationSettingsResponse: ClubPresentationSettingsResponse;
13159
+ readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest;
12624
13160
  }
12625
13161
  /**
12626
13162
  * Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
@@ -14791,6 +15327,22 @@ export declare class DefaultApi extends BaseAPI {
14791
15327
  * @export
14792
15328
  */
14793
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>;
14794
15346
  /**
14795
15347
  * Get a specific event by ID
14796
15348
  * @param {string} eventId
@@ -14829,6 +15381,22 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
14829
15381
  * @export
14830
15382
  */
14831
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>>;
14832
15400
  /**
14833
15401
  * Get a specific event by ID
14834
15402
  * @param {string} eventId
@@ -14867,6 +15435,20 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
14867
15435
  * @export
14868
15436
  */
14869
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>;
14870
15452
  /**
14871
15453
  * Get a specific event by ID
14872
15454
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -14896,6 +15478,44 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
14896
15478
  */
14897
15479
  leaveEvent(requestParameters: EventsApiLeaveEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventResponse>;
14898
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
+ }
14899
15519
  /**
14900
15520
  * Request parameters for getEventById operation in EventsApi.
14901
15521
  * @export
@@ -14979,6 +15599,22 @@ export interface EventsApiLeaveEventRequest {
14979
15599
  * @extends {BaseAPI}
14980
15600
  */
14981
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, {}>>;
14982
15618
  /**
14983
15619
  * Get a specific event by ID
14984
15620
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -15739,6 +16375,74 @@ export declare const GetWeeklyEventsTypeEnum: {
15739
16375
  readonly Closure: "closure";
15740
16376
  };
15741
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
+ }
15742
16446
  /**
15743
16447
  * SportsManagerApi - axios parameter creator
15744
16448
  * @export