@tennac-booking/sdk 1.0.82 → 1.0.83

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 (42) hide show
  1. package/.openapi-generator/FILES +25 -1
  2. package/README.md +32 -1
  3. package/api.ts +1565 -73
  4. package/dist/api.d.ts +1224 -81
  5. package/dist/api.js +562 -8
  6. package/dist/esm/api.d.ts +1224 -81
  7. package/dist/esm/api.js +555 -5
  8. package/docs/BookingPopulated.md +2 -0
  9. package/docs/ClubAnalyticsStaffApi.md +7 -1
  10. package/docs/{EventResponseCourtsInner.md → ClubDaySchedule.md} +7 -3
  11. package/docs/ClubGeneralSettingsResponse.md +34 -0
  12. package/docs/ClubHoursSettingsResponse.md +22 -0
  13. package/docs/ClubLocationSettings.md +26 -0
  14. package/docs/ClubPlayerBookingsPagination.md +28 -0
  15. package/docs/ClubPlayerBookingsResponse.md +2 -0
  16. package/docs/ClubPresentationSettingsResponse.md +26 -0
  17. package/docs/ClubPricingPeriodResponse.md +30 -0
  18. package/docs/ClubReservationAccessSettingsResponse.md +26 -0
  19. package/docs/ClubReservationSettingsResponse.md +36 -0
  20. package/docs/ClubSettingsManagerApi.md +104 -0
  21. package/docs/ClubSettingsStaffApi.md +95 -0
  22. package/docs/ClubWeeklySchedule.md +32 -0
  23. package/docs/ClubsManagerApi.md +104 -0
  24. package/docs/ClubsStaffApi.md +88 -0
  25. package/docs/CreateEventRequest.md +1 -1
  26. package/docs/EventResponse.md +1 -1
  27. package/docs/HotelAccessSettings.md +26 -0
  28. package/docs/PartialClubWeeklySchedule.md +33 -0
  29. package/docs/PartialHotelAccessSettings.md +27 -0
  30. package/docs/PartialPaymentRequirementsSettings.md +23 -0
  31. package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +27 -0
  32. package/docs/PartialPublicAccessSettings.md +25 -0
  33. package/docs/PartialSchoolAccessSettings.md +25 -0
  34. package/docs/PaymentRequirementsSettings.md +22 -0
  35. package/docs/PublicAccessSettings.md +24 -0
  36. package/docs/SchoolAccessSettings.md +24 -0
  37. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  38. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  39. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  40. package/docs/UpdateClubReservationSettingsRequest.md +34 -0
  41. package/docs/UpdateEventRequest.md +1 -1
  42. package/package.json +1 -1
package/api.ts CHANGED
@@ -545,6 +545,12 @@ export interface BookingPopulated {
545
545
  * @memberof BookingPopulated
546
546
  */
547
547
  'slotInfos': SlotInfo;
548
+ /**
549
+ *
550
+ * @type {Array<UserInfo>}
551
+ * @memberof BookingPopulated
552
+ */
553
+ 'players': Array<UserInfo>;
548
554
  /**
549
555
  * Statut des paiements par joueur
550
556
  * @type {Array<PaymentByPlayerInfo>}
@@ -972,6 +978,130 @@ export interface CheckedInPlayer {
972
978
  }
973
979
 
974
980
 
981
+ /**
982
+ *
983
+ * @export
984
+ * @interface ClubDaySchedule
985
+ */
986
+ export interface ClubDaySchedule {
987
+ /**
988
+ *
989
+ * @type {string}
990
+ * @memberof ClubDaySchedule
991
+ */
992
+ 'open': string;
993
+ /**
994
+ *
995
+ * @type {string}
996
+ * @memberof ClubDaySchedule
997
+ */
998
+ 'close': string;
999
+ }
1000
+ /**
1001
+ *
1002
+ * @export
1003
+ * @interface ClubGeneralSettingsResponse
1004
+ */
1005
+ export interface ClubGeneralSettingsResponse {
1006
+ /**
1007
+ *
1008
+ * @type {string}
1009
+ * @memberof ClubGeneralSettingsResponse
1010
+ */
1011
+ 'name': string;
1012
+ /**
1013
+ *
1014
+ * @type {string}
1015
+ * @memberof ClubGeneralSettingsResponse
1016
+ */
1017
+ 'email'?: string;
1018
+ /**
1019
+ *
1020
+ * @type {string}
1021
+ * @memberof ClubGeneralSettingsResponse
1022
+ */
1023
+ 'phone'?: string;
1024
+ /**
1025
+ *
1026
+ * @type {string}
1027
+ * @memberof ClubGeneralSettingsResponse
1028
+ */
1029
+ 'websiteUrl'?: string;
1030
+ /**
1031
+ *
1032
+ * @type {string}
1033
+ * @memberof ClubGeneralSettingsResponse
1034
+ */
1035
+ 'description'?: string;
1036
+ /**
1037
+ *
1038
+ * @type {string}
1039
+ * @memberof ClubGeneralSettingsResponse
1040
+ */
1041
+ 'rib'?: string;
1042
+ /**
1043
+ *
1044
+ * @type {string}
1045
+ * @memberof ClubGeneralSettingsResponse
1046
+ */
1047
+ 'logo'?: string | null;
1048
+ /**
1049
+ *
1050
+ * @type {ClubLocationSettings}
1051
+ * @memberof ClubGeneralSettingsResponse
1052
+ */
1053
+ 'location': ClubLocationSettings;
1054
+ }
1055
+ /**
1056
+ *
1057
+ * @export
1058
+ * @interface ClubHoursSettingsResponse
1059
+ */
1060
+ export interface ClubHoursSettingsResponse {
1061
+ /**
1062
+ *
1063
+ * @type {ClubWeeklySchedule}
1064
+ * @memberof ClubHoursSettingsResponse
1065
+ */
1066
+ 'schedule': ClubWeeklySchedule;
1067
+ /**
1068
+ *
1069
+ * @type {Array<ClubPricingPeriodResponse>}
1070
+ * @memberof ClubHoursSettingsResponse
1071
+ */
1072
+ 'pricingPeriods': Array<ClubPricingPeriodResponse>;
1073
+ }
1074
+ /**
1075
+ *
1076
+ * @export
1077
+ * @interface ClubLocationSettings
1078
+ */
1079
+ export interface ClubLocationSettings {
1080
+ /**
1081
+ *
1082
+ * @type {string}
1083
+ * @memberof ClubLocationSettings
1084
+ */
1085
+ 'address'?: string;
1086
+ /**
1087
+ *
1088
+ * @type {string}
1089
+ * @memberof ClubLocationSettings
1090
+ */
1091
+ 'zipCode'?: string;
1092
+ /**
1093
+ *
1094
+ * @type {string}
1095
+ * @memberof ClubLocationSettings
1096
+ */
1097
+ 'city'?: string;
1098
+ /**
1099
+ *
1100
+ * @type {string}
1101
+ * @memberof ClubLocationSettings
1102
+ */
1103
+ 'country'?: string;
1104
+ }
975
1105
  /**
976
1106
  *
977
1107
  * @export
@@ -1089,6 +1219,43 @@ export interface ClubPlayerBookingItem {
1089
1219
  */
1090
1220
  'participantsCount': number;
1091
1221
  }
1222
+ /**
1223
+ *
1224
+ * @export
1225
+ * @interface ClubPlayerBookingsPagination
1226
+ */
1227
+ export interface ClubPlayerBookingsPagination {
1228
+ /**
1229
+ * Page courante (1-based)
1230
+ * @type {number}
1231
+ * @memberof ClubPlayerBookingsPagination
1232
+ */
1233
+ 'page': number;
1234
+ /**
1235
+ * Nombre d\'éléments par page
1236
+ * @type {number}
1237
+ * @memberof ClubPlayerBookingsPagination
1238
+ */
1239
+ 'pageSize': number;
1240
+ /**
1241
+ * Nombre total d\'éléments disponibles
1242
+ * @type {number}
1243
+ * @memberof ClubPlayerBookingsPagination
1244
+ */
1245
+ 'totalItems': number;
1246
+ /**
1247
+ * Nombre total de pages disponibles
1248
+ * @type {number}
1249
+ * @memberof ClubPlayerBookingsPagination
1250
+ */
1251
+ 'totalPages': number;
1252
+ /**
1253
+ * Existence d\'une page suivante
1254
+ * @type {boolean}
1255
+ * @memberof ClubPlayerBookingsPagination
1256
+ */
1257
+ 'hasMore': boolean;
1258
+ }
1092
1259
  /**
1093
1260
  *
1094
1261
  * @export
@@ -1107,6 +1274,12 @@ export interface ClubPlayerBookingsResponse {
1107
1274
  * @memberof ClubPlayerBookingsResponse
1108
1275
  */
1109
1276
  'pastBookings': Array<ClubPlayerBookingItem>;
1277
+ /**
1278
+ *
1279
+ * @type {ClubPlayerBookingsPagination}
1280
+ * @memberof ClubPlayerBookingsResponse
1281
+ */
1282
+ 'pastPagination'?: ClubPlayerBookingsPagination;
1110
1283
  }
1111
1284
  /**
1112
1285
  *
@@ -1489,6 +1662,172 @@ export interface ClubPlayerSubscriptionSummary {
1489
1662
  */
1490
1663
  'interval': string | null;
1491
1664
  }
1665
+ /**
1666
+ *
1667
+ * @export
1668
+ * @interface ClubPresentationSettingsResponse
1669
+ */
1670
+ export interface ClubPresentationSettingsResponse {
1671
+ /**
1672
+ *
1673
+ * @type {string}
1674
+ * @memberof ClubPresentationSettingsResponse
1675
+ */
1676
+ 'description'?: string;
1677
+ /**
1678
+ *
1679
+ * @type {Array<string>}
1680
+ * @memberof ClubPresentationSettingsResponse
1681
+ */
1682
+ 'tags': Array<string>;
1683
+ /**
1684
+ *
1685
+ * @type {Array<string>}
1686
+ * @memberof ClubPresentationSettingsResponse
1687
+ */
1688
+ 'bannerImages': Array<string>;
1689
+ /**
1690
+ *
1691
+ * @type {Array<string>}
1692
+ * @memberof ClubPresentationSettingsResponse
1693
+ */
1694
+ 'galleryImages': Array<string>;
1695
+ }
1696
+ /**
1697
+ *
1698
+ * @export
1699
+ * @interface ClubPricingPeriodResponse
1700
+ */
1701
+ export interface ClubPricingPeriodResponse {
1702
+ /**
1703
+ *
1704
+ * @type {string}
1705
+ * @memberof ClubPricingPeriodResponse
1706
+ */
1707
+ 'id': string;
1708
+ /**
1709
+ *
1710
+ * @type {string}
1711
+ * @memberof ClubPricingPeriodResponse
1712
+ */
1713
+ 'name': string;
1714
+ /**
1715
+ *
1716
+ * @type {Array<string>}
1717
+ * @memberof ClubPricingPeriodResponse
1718
+ */
1719
+ 'days': Array<string>;
1720
+ /**
1721
+ *
1722
+ * @type {string}
1723
+ * @memberof ClubPricingPeriodResponse
1724
+ */
1725
+ 'startTime': string;
1726
+ /**
1727
+ *
1728
+ * @type {string}
1729
+ * @memberof ClubPricingPeriodResponse
1730
+ */
1731
+ 'endTime': string;
1732
+ /**
1733
+ *
1734
+ * @type {number}
1735
+ * @memberof ClubPricingPeriodResponse
1736
+ */
1737
+ 'variation': number;
1738
+ }
1739
+ /**
1740
+ *
1741
+ * @export
1742
+ * @interface ClubReservationAccessSettingsResponse
1743
+ */
1744
+ export interface ClubReservationAccessSettingsResponse {
1745
+ /**
1746
+ *
1747
+ * @type {PublicAccessSettings}
1748
+ * @memberof ClubReservationAccessSettingsResponse
1749
+ */
1750
+ 'publicAccess': PublicAccessSettings;
1751
+ /**
1752
+ *
1753
+ * @type {SchoolAccessSettings}
1754
+ * @memberof ClubReservationAccessSettingsResponse
1755
+ */
1756
+ 'schoolAccess': SchoolAccessSettings;
1757
+ /**
1758
+ *
1759
+ * @type {HotelAccessSettings}
1760
+ * @memberof ClubReservationAccessSettingsResponse
1761
+ */
1762
+ 'hotelAccess': HotelAccessSettings;
1763
+ /**
1764
+ *
1765
+ * @type {PaymentRequirementsSettings}
1766
+ * @memberof ClubReservationAccessSettingsResponse
1767
+ */
1768
+ 'paymentRequirements': PaymentRequirementsSettings;
1769
+ }
1770
+ /**
1771
+ *
1772
+ * @export
1773
+ * @interface ClubReservationSettingsResponse
1774
+ */
1775
+ export interface ClubReservationSettingsResponse {
1776
+ /**
1777
+ *
1778
+ * @type {number}
1779
+ * @memberof ClubReservationSettingsResponse
1780
+ */
1781
+ 'slotDuration': number;
1782
+ /**
1783
+ *
1784
+ * @type {number}
1785
+ * @memberof ClubReservationSettingsResponse
1786
+ */
1787
+ 'slotPrice': number;
1788
+ /**
1789
+ *
1790
+ * @type {number}
1791
+ * @memberof ClubReservationSettingsResponse
1792
+ */
1793
+ 'maxReservations': number | null;
1794
+ /**
1795
+ *
1796
+ * @type {boolean}
1797
+ * @memberof ClubReservationSettingsResponse
1798
+ */
1799
+ 'unlimitedReservations': boolean;
1800
+ /**
1801
+ *
1802
+ * @type {number}
1803
+ * @memberof ClubReservationSettingsResponse
1804
+ */
1805
+ 'cancellationDelay': number;
1806
+ /**
1807
+ *
1808
+ * @type {number}
1809
+ * @memberof ClubReservationSettingsResponse
1810
+ */
1811
+ 'bookingPeriod': number;
1812
+ /**
1813
+ *
1814
+ * @type {number}
1815
+ * @memberof ClubReservationSettingsResponse
1816
+ */
1817
+ 'limitMultipleReservations': number | null;
1818
+ /**
1819
+ *
1820
+ * @type {boolean}
1821
+ * @memberof ClubReservationSettingsResponse
1822
+ */
1823
+ 'allowMultipleReservations': boolean;
1824
+ /**
1825
+ *
1826
+ * @type {ClubReservationAccessSettingsResponse}
1827
+ * @memberof ClubReservationSettingsResponse
1828
+ */
1829
+ 'accessSettings': ClubReservationAccessSettingsResponse;
1830
+ }
1492
1831
  /**
1493
1832
  *
1494
1833
  * @export
@@ -1743,7 +2082,7 @@ export interface ClubSettingsResponse {
1743
2082
  * @type {number}
1744
2083
  * @memberof ClubSettingsResponse
1745
2084
  */
1746
- 'maxWeeklyBookings': number;
2085
+ 'maxWeeklyBookings': number | null;
1747
2086
  /**
1748
2087
  * Autoriser plusieurs réservations en même temps
1749
2088
  * @type {boolean}
@@ -1755,7 +2094,7 @@ export interface ClubSettingsResponse {
1755
2094
  * @type {number}
1756
2095
  * @memberof ClubSettingsResponse
1757
2096
  */
1758
- 'sameTimeBookingsLimit'?: number;
2097
+ 'sameTimeBookingsLimit'?: number | null;
1759
2098
  /**
1760
2099
  * Limite d\'annulation en heures
1761
2100
  * @type {number}
@@ -1874,6 +2213,55 @@ export interface ClubUserCountResponse {
1874
2213
  */
1875
2214
  'count': number;
1876
2215
  }
2216
+ /**
2217
+ *
2218
+ * @export
2219
+ * @interface ClubWeeklySchedule
2220
+ */
2221
+ export interface ClubWeeklySchedule {
2222
+ /**
2223
+ *
2224
+ * @type {ClubDaySchedule}
2225
+ * @memberof ClubWeeklySchedule
2226
+ */
2227
+ 'dimanche': ClubDaySchedule | null;
2228
+ /**
2229
+ *
2230
+ * @type {ClubDaySchedule}
2231
+ * @memberof ClubWeeklySchedule
2232
+ */
2233
+ 'samedi': ClubDaySchedule | null;
2234
+ /**
2235
+ *
2236
+ * @type {ClubDaySchedule}
2237
+ * @memberof ClubWeeklySchedule
2238
+ */
2239
+ 'vendredi': ClubDaySchedule | null;
2240
+ /**
2241
+ *
2242
+ * @type {ClubDaySchedule}
2243
+ * @memberof ClubWeeklySchedule
2244
+ */
2245
+ 'jeudi': ClubDaySchedule | null;
2246
+ /**
2247
+ *
2248
+ * @type {ClubDaySchedule}
2249
+ * @memberof ClubWeeklySchedule
2250
+ */
2251
+ 'mercredi': ClubDaySchedule | null;
2252
+ /**
2253
+ *
2254
+ * @type {ClubDaySchedule}
2255
+ * @memberof ClubWeeklySchedule
2256
+ */
2257
+ 'mardi': ClubDaySchedule | null;
2258
+ /**
2259
+ *
2260
+ * @type {ClubDaySchedule}
2261
+ * @memberof ClubWeeklySchedule
2262
+ */
2263
+ 'lundi': ClubDaySchedule | null;
2264
+ }
1877
2265
  /**
1878
2266
  *
1879
2267
  * @export
@@ -2169,7 +2557,7 @@ export interface CreateClubSettingsRequest {
2169
2557
  * @type {number}
2170
2558
  * @memberof CreateClubSettingsRequest
2171
2559
  */
2172
- 'maxWeeklyBookings'?: number;
2560
+ 'maxWeeklyBookings'?: number | null;
2173
2561
  /**
2174
2562
  * Autoriser plusieurs réservations en même temps
2175
2563
  * @type {boolean}
@@ -2181,7 +2569,7 @@ export interface CreateClubSettingsRequest {
2181
2569
  * @type {number}
2182
2570
  * @memberof CreateClubSettingsRequest
2183
2571
  */
2184
- 'sameTimeBookingsLimit'?: number;
2572
+ 'sameTimeBookingsLimit'?: number | null;
2185
2573
  /**
2186
2574
  * Limite d\'annulation en heures
2187
2575
  * @type {number}
@@ -2319,10 +2707,10 @@ export interface CreateEventRequest {
2319
2707
  'endDate': string;
2320
2708
  /**
2321
2709
  *
2322
- * @type {Array<EventResponseCourtsInner>}
2710
+ * @type {Array<string>}
2323
2711
  * @memberof CreateEventRequest
2324
2712
  */
2325
- 'courts': Array<EventResponseCourtsInner>;
2713
+ 'courts': Array<string>;
2326
2714
  /**
2327
2715
  *
2328
2716
  * @type {Array<string>}
@@ -2827,10 +3215,10 @@ export interface EventResponse {
2827
3215
  'endDate': string;
2828
3216
  /**
2829
3217
  *
2830
- * @type {Array<EventResponseCourtsInner>}
3218
+ * @type {Array<string>}
2831
3219
  * @memberof EventResponse
2832
3220
  */
2833
- 'courts': Array<EventResponseCourtsInner>;
3221
+ 'courts': Array<string>;
2834
3222
  /**
2835
3223
  *
2836
3224
  * @type {Array<SportWithLevels>}
@@ -2951,13 +3339,6 @@ export const EventResponseVisibilityTypeEnum = {
2951
3339
 
2952
3340
  export type EventResponseVisibilityTypeEnum = typeof EventResponseVisibilityTypeEnum[keyof typeof EventResponseVisibilityTypeEnum];
2953
3341
 
2954
- /**
2955
- *
2956
- * @export
2957
- * @interface EventResponseCourtsInner
2958
- */
2959
- export interface EventResponseCourtsInner {
2960
- }
2961
3342
  /**
2962
3343
  *
2963
3344
  * @export
@@ -3371,6 +3752,37 @@ export interface GoogleAuthResponseUser {
3371
3752
  */
3372
3753
  'id': string;
3373
3754
  }
3755
+ /**
3756
+ *
3757
+ * @export
3758
+ * @interface HotelAccessSettings
3759
+ */
3760
+ export interface HotelAccessSettings {
3761
+ /**
3762
+ *
3763
+ * @type {boolean}
3764
+ * @memberof HotelAccessSettings
3765
+ */
3766
+ 'enabled': boolean;
3767
+ /**
3768
+ *
3769
+ * @type {string}
3770
+ * @memberof HotelAccessSettings
3771
+ */
3772
+ 'accessCode'?: string | null;
3773
+ /**
3774
+ *
3775
+ * @type {string}
3776
+ * @memberof HotelAccessSettings
3777
+ */
3778
+ 'validFrom'?: string | null;
3779
+ /**
3780
+ *
3781
+ * @type {string}
3782
+ * @memberof HotelAccessSettings
3783
+ */
3784
+ 'validUntil'?: string | null;
3785
+ }
3374
3786
  /**
3375
3787
  *
3376
3788
  * @export
@@ -4235,6 +4647,195 @@ export interface PartialClubResponse {
4235
4647
  */
4236
4648
  'updatedAt'?: ClubResponseUpdatedAt;
4237
4649
  }
4650
+ /**
4651
+ * Make all properties in T optional
4652
+ * @export
4653
+ * @interface PartialClubWeeklySchedule
4654
+ */
4655
+ export interface PartialClubWeeklySchedule {
4656
+ /**
4657
+ *
4658
+ * @type {ClubDaySchedule}
4659
+ * @memberof PartialClubWeeklySchedule
4660
+ */
4661
+ 'lundi'?: ClubDaySchedule;
4662
+ /**
4663
+ *
4664
+ * @type {ClubDaySchedule}
4665
+ * @memberof PartialClubWeeklySchedule
4666
+ */
4667
+ 'mardi'?: ClubDaySchedule;
4668
+ /**
4669
+ *
4670
+ * @type {ClubDaySchedule}
4671
+ * @memberof PartialClubWeeklySchedule
4672
+ */
4673
+ 'mercredi'?: ClubDaySchedule;
4674
+ /**
4675
+ *
4676
+ * @type {ClubDaySchedule}
4677
+ * @memberof PartialClubWeeklySchedule
4678
+ */
4679
+ 'jeudi'?: ClubDaySchedule;
4680
+ /**
4681
+ *
4682
+ * @type {ClubDaySchedule}
4683
+ * @memberof PartialClubWeeklySchedule
4684
+ */
4685
+ 'vendredi'?: ClubDaySchedule;
4686
+ /**
4687
+ *
4688
+ * @type {ClubDaySchedule}
4689
+ * @memberof PartialClubWeeklySchedule
4690
+ */
4691
+ 'samedi'?: ClubDaySchedule;
4692
+ /**
4693
+ *
4694
+ * @type {ClubDaySchedule}
4695
+ * @memberof PartialClubWeeklySchedule
4696
+ */
4697
+ 'dimanche'?: ClubDaySchedule;
4698
+ }
4699
+ /**
4700
+ * Make all properties in T optional
4701
+ * @export
4702
+ * @interface PartialHotelAccessSettings
4703
+ */
4704
+ export interface PartialHotelAccessSettings {
4705
+ /**
4706
+ *
4707
+ * @type {string}
4708
+ * @memberof PartialHotelAccessSettings
4709
+ */
4710
+ 'accessCode'?: string;
4711
+ /**
4712
+ *
4713
+ * @type {string}
4714
+ * @memberof PartialHotelAccessSettings
4715
+ */
4716
+ 'validFrom'?: string;
4717
+ /**
4718
+ *
4719
+ * @type {string}
4720
+ * @memberof PartialHotelAccessSettings
4721
+ */
4722
+ 'validUntil'?: string;
4723
+ /**
4724
+ *
4725
+ * @type {boolean}
4726
+ * @memberof PartialHotelAccessSettings
4727
+ */
4728
+ 'enabled'?: boolean;
4729
+ }
4730
+ /**
4731
+ * Make all properties in T optional
4732
+ * @export
4733
+ * @interface PartialPaymentRequirementsSettings
4734
+ */
4735
+ export interface PartialPaymentRequirementsSettings {
4736
+ /**
4737
+ *
4738
+ * @type {boolean}
4739
+ * @memberof PartialPaymentRequirementsSettings
4740
+ */
4741
+ 'requireCardImprint'?: boolean;
4742
+ /**
4743
+ *
4744
+ * @type {boolean}
4745
+ * @memberof PartialPaymentRequirementsSettings
4746
+ */
4747
+ 'requireOnlinePayment'?: boolean;
4748
+ }
4749
+ /**
4750
+ * Make all properties in T optional
4751
+ * @export
4752
+ * @interface PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
4753
+ */
4754
+ export interface PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings {
4755
+ /**
4756
+ *
4757
+ * @type {PartialPublicAccessSettings}
4758
+ * @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
4759
+ */
4760
+ 'publicAccess'?: PartialPublicAccessSettings;
4761
+ /**
4762
+ *
4763
+ * @type {PartialSchoolAccessSettings}
4764
+ * @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
4765
+ */
4766
+ 'schoolAccess'?: PartialSchoolAccessSettings;
4767
+ /**
4768
+ *
4769
+ * @type {PartialHotelAccessSettings}
4770
+ * @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
4771
+ */
4772
+ 'hotelAccess'?: PartialHotelAccessSettings;
4773
+ /**
4774
+ *
4775
+ * @type {PartialPaymentRequirementsSettings}
4776
+ * @memberof PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings
4777
+ */
4778
+ 'paymentRequirements'?: PartialPaymentRequirementsSettings;
4779
+ }
4780
+ /**
4781
+ * Make all properties in T optional
4782
+ * @export
4783
+ * @interface PartialPublicAccessSettings
4784
+ */
4785
+ export interface PartialPublicAccessSettings {
4786
+ /**
4787
+ *
4788
+ * @type {string}
4789
+ * @memberof PartialPublicAccessSettings
4790
+ */
4791
+ 'paymentMode'?: PartialPublicAccessSettingsPaymentModeEnum;
4792
+ /**
4793
+ *
4794
+ * @type {number}
4795
+ * @memberof PartialPublicAccessSettings
4796
+ */
4797
+ 'pricePerAccess'?: number;
4798
+ /**
4799
+ *
4800
+ * @type {boolean}
4801
+ * @memberof PartialPublicAccessSettings
4802
+ */
4803
+ 'enabled'?: boolean;
4804
+ }
4805
+
4806
+ export const PartialPublicAccessSettingsPaymentModeEnum = {
4807
+ Free: 'free',
4808
+ AccessFee: 'access_fee',
4809
+ PerCourt: 'per_court'
4810
+ } as const;
4811
+
4812
+ export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
4813
+
4814
+ /**
4815
+ * Make all properties in T optional
4816
+ * @export
4817
+ * @interface PartialSchoolAccessSettings
4818
+ */
4819
+ export interface PartialSchoolAccessSettings {
4820
+ /**
4821
+ *
4822
+ * @type {Array<string>}
4823
+ * @memberof PartialSchoolAccessSettings
4824
+ */
4825
+ 'emailSuffixes'?: Array<string>;
4826
+ /**
4827
+ *
4828
+ * @type {boolean}
4829
+ * @memberof PartialSchoolAccessSettings
4830
+ */
4831
+ 'requireCertification'?: boolean;
4832
+ /**
4833
+ *
4834
+ * @type {boolean}
4835
+ * @memberof PartialSchoolAccessSettings
4836
+ */
4837
+ 'enabled'?: boolean;
4838
+ }
4238
4839
  /**
4239
4840
  *
4240
4841
  * @export
@@ -4307,6 +4908,25 @@ export interface PaymentMethodSetupResponse {
4307
4908
  */
4308
4909
  'defaultPaymentMethodId'?: string | null;
4309
4910
  }
4911
+ /**
4912
+ *
4913
+ * @export
4914
+ * @interface PaymentRequirementsSettings
4915
+ */
4916
+ export interface PaymentRequirementsSettings {
4917
+ /**
4918
+ *
4919
+ * @type {boolean}
4920
+ * @memberof PaymentRequirementsSettings
4921
+ */
4922
+ 'requireCardImprint': boolean;
4923
+ /**
4924
+ *
4925
+ * @type {boolean}
4926
+ * @memberof PaymentRequirementsSettings
4927
+ */
4928
+ 'requireOnlinePayment': boolean;
4929
+ }
4310
4930
  /**
4311
4931
  * From T, pick a set of properties whose keys are in the union K
4312
4932
  * @export
@@ -4687,6 +5307,40 @@ export interface ProfilePictureUpdateRequestBody {
4687
5307
  */
4688
5308
  'profilePicture': string;
4689
5309
  }
5310
+ /**
5311
+ *
5312
+ * @export
5313
+ * @interface PublicAccessSettings
5314
+ */
5315
+ export interface PublicAccessSettings {
5316
+ /**
5317
+ *
5318
+ * @type {boolean}
5319
+ * @memberof PublicAccessSettings
5320
+ */
5321
+ 'enabled': boolean;
5322
+ /**
5323
+ *
5324
+ * @type {string}
5325
+ * @memberof PublicAccessSettings
5326
+ */
5327
+ 'paymentMode': PublicAccessSettingsPaymentModeEnum;
5328
+ /**
5329
+ *
5330
+ * @type {number}
5331
+ * @memberof PublicAccessSettings
5332
+ */
5333
+ 'pricePerAccess': number | null;
5334
+ }
5335
+
5336
+ export const PublicAccessSettingsPaymentModeEnum = {
5337
+ Free: 'free',
5338
+ AccessFee: 'access_fee',
5339
+ PerCourt: 'per_court'
5340
+ } as const;
5341
+
5342
+ export type PublicAccessSettingsPaymentModeEnum = typeof PublicAccessSettingsPaymentModeEnum[keyof typeof PublicAccessSettingsPaymentModeEnum];
5343
+
4690
5344
  /**
4691
5345
  *
4692
5346
  * @export
@@ -5255,6 +5909,31 @@ export interface ResetPasswordRequest {
5255
5909
  */
5256
5910
  'token'?: string;
5257
5911
  }
5912
+ /**
5913
+ *
5914
+ * @export
5915
+ * @interface SchoolAccessSettings
5916
+ */
5917
+ export interface SchoolAccessSettings {
5918
+ /**
5919
+ *
5920
+ * @type {boolean}
5921
+ * @memberof SchoolAccessSettings
5922
+ */
5923
+ 'enabled': boolean;
5924
+ /**
5925
+ *
5926
+ * @type {Array<string>}
5927
+ * @memberof SchoolAccessSettings
5928
+ */
5929
+ 'emailSuffixes': Array<string>;
5930
+ /**
5931
+ *
5932
+ * @type {boolean}
5933
+ * @memberof SchoolAccessSettings
5934
+ */
5935
+ 'requireCertification': boolean;
5936
+ }
5258
5937
  /**
5259
5938
  *
5260
5939
  * @export
@@ -7146,88 +7825,193 @@ export interface UpdateActuality200Response {
7146
7825
  /**
7147
7826
  *
7148
7827
  * @export
7149
- * @interface UpdateClubRequest
7828
+ * @interface UpdateClubGeneralSettingsRequest
7150
7829
  */
7151
- export interface UpdateClubRequest {
7830
+ export interface UpdateClubGeneralSettingsRequest {
7152
7831
  /**
7153
- * Nom du club
7832
+ *
7154
7833
  * @type {string}
7155
- * @memberof UpdateClubRequest
7834
+ * @memberof UpdateClubGeneralSettingsRequest
7156
7835
  */
7157
7836
  'name'?: string;
7158
7837
  /**
7159
- * URL du site web du club
7838
+ *
7160
7839
  * @type {string}
7161
- * @memberof UpdateClubRequest
7840
+ * @memberof UpdateClubGeneralSettingsRequest
7162
7841
  */
7163
- 'websiteUrl'?: string;
7842
+ 'email'?: string;
7164
7843
  /**
7165
- * Description du club
7844
+ *
7166
7845
  * @type {string}
7167
- * @memberof UpdateClubRequest
7846
+ * @memberof UpdateClubGeneralSettingsRequest
7168
7847
  */
7169
- 'description'?: string;
7848
+ 'phone'?: string;
7170
7849
  /**
7171
- * Email du club
7850
+ *
7172
7851
  * @type {string}
7173
- * @memberof UpdateClubRequest
7852
+ * @memberof UpdateClubGeneralSettingsRequest
7174
7853
  */
7175
- 'email'?: string;
7854
+ 'websiteUrl'?: string;
7176
7855
  /**
7177
- * Téléphone du club
7856
+ *
7178
7857
  * @type {string}
7179
- * @memberof UpdateClubRequest
7858
+ * @memberof UpdateClubGeneralSettingsRequest
7180
7859
  */
7181
- 'phone'?: string;
7860
+ 'description'?: string;
7182
7861
  /**
7183
- * URL de l\'image du club
7862
+ *
7184
7863
  * @type {string}
7185
- * @memberof UpdateClubRequest
7864
+ * @memberof UpdateClubGeneralSettingsRequest
7186
7865
  */
7187
- 'picture'?: string;
7866
+ 'rib'?: string | null;
7188
7867
  /**
7189
7868
  *
7190
- * @type {UpdateClubRequestLocation}
7191
- * @memberof UpdateClubRequest
7869
+ * @type {string}
7870
+ * @memberof UpdateClubGeneralSettingsRequest
7192
7871
  */
7193
- 'location'?: UpdateClubRequestLocation;
7872
+ 'logo'?: string | null;
7194
7873
  /**
7195
- * RIB du club
7196
- * @type {string}
7197
- * @memberof UpdateClubRequest
7874
+ *
7875
+ * @type {ClubLocationSettings}
7876
+ * @memberof UpdateClubGeneralSettingsRequest
7198
7877
  */
7199
- 'rib'?: string;
7878
+ 'location'?: ClubLocationSettings;
7200
7879
  }
7201
7880
  /**
7202
- * Localisation du club
7881
+ *
7203
7882
  * @export
7204
- * @interface UpdateClubRequestLocation
7883
+ * @interface UpdateClubHoursSettingsRequest
7205
7884
  */
7206
- export interface UpdateClubRequestLocation {
7885
+ export interface UpdateClubHoursSettingsRequest {
7207
7886
  /**
7208
7887
  *
7209
- * @type {UpdateClubRequestLocationCoordinates}
7210
- * @memberof UpdateClubRequestLocation
7888
+ * @type {PartialClubWeeklySchedule}
7889
+ * @memberof UpdateClubHoursSettingsRequest
7211
7890
  */
7212
- 'coordinates'?: UpdateClubRequestLocationCoordinates;
7891
+ 'schedule'?: PartialClubWeeklySchedule;
7213
7892
  /**
7214
7893
  *
7215
- * @type {string}
7216
- * @memberof UpdateClubRequestLocation
7894
+ * @type {Array<ClubPricingPeriodResponse>}
7895
+ * @memberof UpdateClubHoursSettingsRequest
7217
7896
  */
7218
- 'country'?: string;
7897
+ 'pricingPeriods'?: Array<ClubPricingPeriodResponse>;
7898
+ }
7899
+ /**
7900
+ *
7901
+ * @export
7902
+ * @interface UpdateClubPresentationSettingsRequest
7903
+ */
7904
+ export interface UpdateClubPresentationSettingsRequest {
7219
7905
  /**
7220
7906
  *
7221
7907
  * @type {string}
7222
- * @memberof UpdateClubRequestLocation
7908
+ * @memberof UpdateClubPresentationSettingsRequest
7223
7909
  */
7224
- 'zipCode'?: string;
7910
+ 'description'?: string;
7225
7911
  /**
7226
7912
  *
7227
- * @type {string}
7228
- * @memberof UpdateClubRequestLocation
7913
+ * @type {Array<string>}
7914
+ * @memberof UpdateClubPresentationSettingsRequest
7229
7915
  */
7230
- 'city'?: string;
7916
+ 'tags'?: Array<string>;
7917
+ /**
7918
+ *
7919
+ * @type {Array<string | null>}
7920
+ * @memberof UpdateClubPresentationSettingsRequest
7921
+ */
7922
+ 'bannerImages'?: Array<string | null>;
7923
+ /**
7924
+ *
7925
+ * @type {Array<string | null>}
7926
+ * @memberof UpdateClubPresentationSettingsRequest
7927
+ */
7928
+ 'galleryImages'?: Array<string | null>;
7929
+ }
7930
+ /**
7931
+ *
7932
+ * @export
7933
+ * @interface UpdateClubRequest
7934
+ */
7935
+ export interface UpdateClubRequest {
7936
+ /**
7937
+ * Nom du club
7938
+ * @type {string}
7939
+ * @memberof UpdateClubRequest
7940
+ */
7941
+ 'name'?: string;
7942
+ /**
7943
+ * URL du site web du club
7944
+ * @type {string}
7945
+ * @memberof UpdateClubRequest
7946
+ */
7947
+ 'websiteUrl'?: string;
7948
+ /**
7949
+ * Description du club
7950
+ * @type {string}
7951
+ * @memberof UpdateClubRequest
7952
+ */
7953
+ 'description'?: string;
7954
+ /**
7955
+ * Email du club
7956
+ * @type {string}
7957
+ * @memberof UpdateClubRequest
7958
+ */
7959
+ 'email'?: string;
7960
+ /**
7961
+ * Téléphone du club
7962
+ * @type {string}
7963
+ * @memberof UpdateClubRequest
7964
+ */
7965
+ 'phone'?: string;
7966
+ /**
7967
+ * URL de l\'image du club
7968
+ * @type {string}
7969
+ * @memberof UpdateClubRequest
7970
+ */
7971
+ 'picture'?: string;
7972
+ /**
7973
+ *
7974
+ * @type {UpdateClubRequestLocation}
7975
+ * @memberof UpdateClubRequest
7976
+ */
7977
+ 'location'?: UpdateClubRequestLocation;
7978
+ /**
7979
+ * RIB du club
7980
+ * @type {string}
7981
+ * @memberof UpdateClubRequest
7982
+ */
7983
+ 'rib'?: string;
7984
+ }
7985
+ /**
7986
+ * Localisation du club
7987
+ * @export
7988
+ * @interface UpdateClubRequestLocation
7989
+ */
7990
+ export interface UpdateClubRequestLocation {
7991
+ /**
7992
+ *
7993
+ * @type {UpdateClubRequestLocationCoordinates}
7994
+ * @memberof UpdateClubRequestLocation
7995
+ */
7996
+ 'coordinates'?: UpdateClubRequestLocationCoordinates;
7997
+ /**
7998
+ *
7999
+ * @type {string}
8000
+ * @memberof UpdateClubRequestLocation
8001
+ */
8002
+ 'country'?: string;
8003
+ /**
8004
+ *
8005
+ * @type {string}
8006
+ * @memberof UpdateClubRequestLocation
8007
+ */
8008
+ 'zipCode'?: string;
8009
+ /**
8010
+ *
8011
+ * @type {string}
8012
+ * @memberof UpdateClubRequestLocation
8013
+ */
8014
+ 'city'?: string;
7231
8015
  /**
7232
8016
  *
7233
8017
  * @type {string}
@@ -7254,6 +8038,61 @@ export interface UpdateClubRequestLocationCoordinates {
7254
8038
  */
7255
8039
  'lat'?: number;
7256
8040
  }
8041
+ /**
8042
+ *
8043
+ * @export
8044
+ * @interface UpdateClubReservationSettingsRequest
8045
+ */
8046
+ export interface UpdateClubReservationSettingsRequest {
8047
+ /**
8048
+ *
8049
+ * @type {number}
8050
+ * @memberof UpdateClubReservationSettingsRequest
8051
+ */
8052
+ 'slotDuration'?: number;
8053
+ /**
8054
+ *
8055
+ * @type {number}
8056
+ * @memberof UpdateClubReservationSettingsRequest
8057
+ */
8058
+ 'slotPrice'?: number;
8059
+ /**
8060
+ *
8061
+ * @type {number}
8062
+ * @memberof UpdateClubReservationSettingsRequest
8063
+ */
8064
+ 'maxReservations'?: number | null;
8065
+ /**
8066
+ *
8067
+ * @type {boolean}
8068
+ * @memberof UpdateClubReservationSettingsRequest
8069
+ */
8070
+ 'unlimitedReservations'?: boolean;
8071
+ /**
8072
+ *
8073
+ * @type {number}
8074
+ * @memberof UpdateClubReservationSettingsRequest
8075
+ */
8076
+ 'cancellationDelay'?: number;
8077
+ /**
8078
+ *
8079
+ * @type {number}
8080
+ * @memberof UpdateClubReservationSettingsRequest
8081
+ */
8082
+ 'bookingPeriod'?: number;
8083
+ /**
8084
+ *
8085
+ * @type {number}
8086
+ * @memberof UpdateClubReservationSettingsRequest
8087
+ */
8088
+ 'limitMultipleReservations'?: number | null;
8089
+ /**
8090
+ *
8091
+ * @type {PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings}
8092
+ * @memberof UpdateClubReservationSettingsRequest
8093
+ */
8094
+ 'accessSettings'?: PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings;
8095
+ }
7257
8096
  /**
7258
8097
  *
7259
8098
  * @export
@@ -7293,7 +8132,7 @@ export interface UpdateClubSettingsRequest {
7293
8132
  * @type {number}
7294
8133
  * @memberof UpdateClubSettingsRequest
7295
8134
  */
7296
- 'maxWeeklyBookings'?: number;
8135
+ 'maxWeeklyBookings'?: number | null;
7297
8136
  /**
7298
8137
  * Autoriser plusieurs réservations en même temps
7299
8138
  * @type {boolean}
@@ -7305,7 +8144,7 @@ export interface UpdateClubSettingsRequest {
7305
8144
  * @type {number}
7306
8145
  * @memberof UpdateClubSettingsRequest
7307
8146
  */
7308
- 'sameTimeBookingsLimit'?: number;
8147
+ 'sameTimeBookingsLimit'?: number | null;
7309
8148
  /**
7310
8149
  * Limite d\'annulation en heures
7311
8150
  * @type {number}
@@ -7407,10 +8246,10 @@ export interface UpdateEventRequest {
7407
8246
  'endDate'?: string;
7408
8247
  /**
7409
8248
  *
7410
- * @type {Array<EventResponseCourtsInner>}
8249
+ * @type {Array<string>}
7411
8250
  * @memberof UpdateEventRequest
7412
8251
  */
7413
- 'courts'?: Array<EventResponseCourtsInner>;
8252
+ 'courts'?: Array<string>;
7414
8253
  /**
7415
8254
  *
7416
8255
  * @type {Array<string>}
@@ -9700,10 +10539,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
9700
10539
  /**
9701
10540
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
9702
10541
  * @param {string} playerId
10542
+ * @param {number} [page]
10543
+ * @param {number} [pageSize]
9703
10544
  * @param {*} [options] Override http request option.
9704
10545
  * @throws {RequiredError}
9705
10546
  */
9706
- getClubPlayerBookingsById: async (playerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10547
+ getClubPlayerBookingsById: async (playerId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9707
10548
  // verify required parameter 'playerId' is not null or undefined
9708
10549
  assertParamExists('getClubPlayerBookingsById', 'playerId', playerId)
9709
10550
  const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
@@ -9723,6 +10564,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
9723
10564
  // http bearer authentication required
9724
10565
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
9725
10566
 
10567
+ if (page !== undefined) {
10568
+ localVarQueryParameter['page'] = page;
10569
+ }
10570
+
10571
+ if (pageSize !== undefined) {
10572
+ localVarQueryParameter['pageSize'] = pageSize;
10573
+ }
10574
+
9726
10575
 
9727
10576
 
9728
10577
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10168,11 +11017,13 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
10168
11017
  /**
10169
11018
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
10170
11019
  * @param {string} playerId
11020
+ * @param {number} [page]
11021
+ * @param {number} [pageSize]
10171
11022
  * @param {*} [options] Override http request option.
10172
11023
  * @throws {RequiredError}
10173
11024
  */
10174
- async getClubPlayerBookingsById(playerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>> {
10175
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
11025
+ async getClubPlayerBookingsById(playerId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayerBookingsResponse>> {
11026
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, page, pageSize, options);
10176
11027
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10177
11028
  const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']?.[localVarOperationServerIndex]?.url;
10178
11029
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10332,7 +11183,7 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
10332
11183
  * @throws {RequiredError}
10333
11184
  */
10334
11185
  getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayerBookingsResponse> {
10335
- return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
11186
+ return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
10336
11187
  },
10337
11188
  /**
10338
11189
  * Récupère les informations détaillées d\'un joueur par son ID
@@ -10457,6 +11308,20 @@ export interface ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest {
10457
11308
  * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
10458
11309
  */
10459
11310
  readonly playerId: string
11311
+
11312
+ /**
11313
+ *
11314
+ * @type {number}
11315
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
11316
+ */
11317
+ readonly page?: number
11318
+
11319
+ /**
11320
+ *
11321
+ * @type {number}
11322
+ * @memberof ClubAnalyticsStaffApiGetClubPlayerBookingsById
11323
+ */
11324
+ readonly pageSize?: number
10460
11325
  }
10461
11326
 
10462
11327
  /**
@@ -10583,7 +11448,7 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
10583
11448
  * @memberof ClubAnalyticsStaffApi
10584
11449
  */
10585
11450
  public getClubPlayerBookingsById(requestParameters: ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest, options?: RawAxiosRequestConfig) {
10586
- return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
11451
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
10587
11452
  }
10588
11453
 
10589
11454
  /**
@@ -11404,6 +12269,84 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
11404
12269
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11405
12270
  localVarRequestOptions.data = serializeDataIfNeeded(updateClubSettingsRequest, localVarRequestOptions, configuration)
11406
12271
 
12272
+ return {
12273
+ url: toPathString(localVarUrlObj),
12274
+ options: localVarRequestOptions,
12275
+ };
12276
+ },
12277
+ /**
12278
+ *
12279
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
12280
+ * @param {*} [options] Override http request option.
12281
+ * @throws {RequiredError}
12282
+ */
12283
+ updateHoursSettings: async (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12284
+ // verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
12285
+ assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest)
12286
+ const localVarPath = `/api/club-settings/hours`;
12287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12288
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12289
+ let baseOptions;
12290
+ if (configuration) {
12291
+ baseOptions = configuration.baseOptions;
12292
+ }
12293
+
12294
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12295
+ const localVarHeaderParameter = {} as any;
12296
+ const localVarQueryParameter = {} as any;
12297
+
12298
+ // authentication bearerAuth required
12299
+ // http bearer authentication required
12300
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12301
+
12302
+
12303
+
12304
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12305
+
12306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12308
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12309
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration)
12310
+
12311
+ return {
12312
+ url: toPathString(localVarUrlObj),
12313
+ options: localVarRequestOptions,
12314
+ };
12315
+ },
12316
+ /**
12317
+ *
12318
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
12319
+ * @param {*} [options] Override http request option.
12320
+ * @throws {RequiredError}
12321
+ */
12322
+ updateReservationSettings: async (updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12323
+ // verify required parameter 'updateClubReservationSettingsRequest' is not null or undefined
12324
+ assertParamExists('updateReservationSettings', 'updateClubReservationSettingsRequest', updateClubReservationSettingsRequest)
12325
+ const localVarPath = `/api/club-settings/reservation`;
12326
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12327
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12328
+ let baseOptions;
12329
+ if (configuration) {
12330
+ baseOptions = configuration.baseOptions;
12331
+ }
12332
+
12333
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12334
+ const localVarHeaderParameter = {} as any;
12335
+ const localVarQueryParameter = {} as any;
12336
+
12337
+ // authentication bearerAuth required
12338
+ // http bearer authentication required
12339
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12340
+
12341
+
12342
+
12343
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12344
+
12345
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12346
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12347
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12348
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubReservationSettingsRequest, localVarRequestOptions, configuration)
12349
+
11407
12350
  return {
11408
12351
  url: toPathString(localVarUrlObj),
11409
12352
  options: localVarRequestOptions,
@@ -11466,6 +12409,30 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
11466
12409
  const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubSettings']?.[localVarOperationServerIndex]?.url;
11467
12410
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11468
12411
  },
12412
+ /**
12413
+ *
12414
+ * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
12415
+ * @param {*} [options] Override http request option.
12416
+ * @throws {RequiredError}
12417
+ */
12418
+ async updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
12419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
12420
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12421
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']?.[localVarOperationServerIndex]?.url;
12422
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12423
+ },
12424
+ /**
12425
+ *
12426
+ * @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
12427
+ * @param {*} [options] Override http request option.
12428
+ * @throws {RequiredError}
12429
+ */
12430
+ async updateReservationSettings(updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubReservationSettingsResponse>> {
12431
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateReservationSettings(updateClubReservationSettingsRequest, options);
12432
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12433
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateReservationSettings']?.[localVarOperationServerIndex]?.url;
12434
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12435
+ },
11469
12436
  }
11470
12437
  };
11471
12438
 
@@ -11510,6 +12477,24 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
11510
12477
  updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubSettingsResponse> {
11511
12478
  return localVarFp.updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(axios, basePath));
11512
12479
  },
12480
+ /**
12481
+ *
12482
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
12483
+ * @param {*} [options] Override http request option.
12484
+ * @throws {RequiredError}
12485
+ */
12486
+ updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
12487
+ return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
12488
+ },
12489
+ /**
12490
+ *
12491
+ * @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
12492
+ * @param {*} [options] Override http request option.
12493
+ * @throws {RequiredError}
12494
+ */
12495
+ updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
12496
+ return localVarFp.updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(axios, basePath));
12497
+ },
11513
12498
  };
11514
12499
  };
11515
12500
 
@@ -11548,6 +12533,34 @@ export interface ClubSettingsManagerApiUpdateClubSettingsRequest {
11548
12533
  readonly updateClubSettingsRequest: UpdateClubSettingsRequest
11549
12534
  }
11550
12535
 
12536
+ /**
12537
+ * Request parameters for updateHoursSettings operation in ClubSettingsManagerApi.
12538
+ * @export
12539
+ * @interface ClubSettingsManagerApiUpdateHoursSettingsRequest
12540
+ */
12541
+ export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
12542
+ /**
12543
+ *
12544
+ * @type {UpdateClubHoursSettingsRequest}
12545
+ * @memberof ClubSettingsManagerApiUpdateHoursSettings
12546
+ */
12547
+ readonly updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest
12548
+ }
12549
+
12550
+ /**
12551
+ * Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
12552
+ * @export
12553
+ * @interface ClubSettingsManagerApiUpdateReservationSettingsRequest
12554
+ */
12555
+ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
12556
+ /**
12557
+ *
12558
+ * @type {UpdateClubReservationSettingsRequest}
12559
+ * @memberof ClubSettingsManagerApiUpdateReservationSettings
12560
+ */
12561
+ readonly updateClubReservationSettingsRequest: UpdateClubReservationSettingsRequest
12562
+ }
12563
+
11551
12564
  /**
11552
12565
  * ClubSettingsManagerApi - object-oriented interface
11553
12566
  * @export
@@ -11577,24 +12590,209 @@ export class ClubSettingsManagerApi extends BaseAPI {
11577
12590
  }
11578
12591
 
11579
12592
  /**
11580
- * Récupère les paramètres d\'un club
12593
+ * Récupère les paramètres d\'un club
12594
+ * @param {*} [options] Override http request option.
12595
+ * @throws {RequiredError}
12596
+ * @memberof ClubSettingsManagerApi
12597
+ */
12598
+ public getClubSettings(options?: RawAxiosRequestConfig) {
12599
+ return ClubSettingsManagerApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
12600
+ }
12601
+
12602
+ /**
12603
+ * Met à jour les paramètres d\'un club
12604
+ * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
12605
+ * @param {*} [options] Override http request option.
12606
+ * @throws {RequiredError}
12607
+ * @memberof ClubSettingsManagerApi
12608
+ */
12609
+ public updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig) {
12610
+ return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
12611
+ }
12612
+
12613
+ /**
12614
+ *
12615
+ * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
12616
+ * @param {*} [options] Override http request option.
12617
+ * @throws {RequiredError}
12618
+ * @memberof ClubSettingsManagerApi
12619
+ */
12620
+ public updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig) {
12621
+ return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
12622
+ }
12623
+
12624
+ /**
12625
+ *
12626
+ * @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
12627
+ * @param {*} [options] Override http request option.
12628
+ * @throws {RequiredError}
12629
+ * @memberof ClubSettingsManagerApi
12630
+ */
12631
+ public updateReservationSettings(requestParameters: ClubSettingsManagerApiUpdateReservationSettingsRequest, options?: RawAxiosRequestConfig) {
12632
+ return ClubSettingsManagerApiFp(this.configuration).updateReservationSettings(requestParameters.updateClubReservationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
12633
+ }
12634
+ }
12635
+
12636
+
12637
+
12638
+ /**
12639
+ * ClubSettingsStaffApi - axios parameter creator
12640
+ * @export
12641
+ */
12642
+ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
12643
+ return {
12644
+ /**
12645
+ *
12646
+ * @param {*} [options] Override http request option.
12647
+ * @throws {RequiredError}
12648
+ */
12649
+ getHoursSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12650
+ const localVarPath = `/api/club-settings/hours`;
12651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12652
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12653
+ let baseOptions;
12654
+ if (configuration) {
12655
+ baseOptions = configuration.baseOptions;
12656
+ }
12657
+
12658
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12659
+ const localVarHeaderParameter = {} as any;
12660
+ const localVarQueryParameter = {} as any;
12661
+
12662
+ // authentication bearerAuth required
12663
+ // http bearer authentication required
12664
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12665
+
12666
+
12667
+
12668
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12669
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12670
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12671
+
12672
+ return {
12673
+ url: toPathString(localVarUrlObj),
12674
+ options: localVarRequestOptions,
12675
+ };
12676
+ },
12677
+ /**
12678
+ *
12679
+ * @param {*} [options] Override http request option.
12680
+ * @throws {RequiredError}
12681
+ */
12682
+ getReservationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12683
+ const localVarPath = `/api/club-settings/reservation`;
12684
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12685
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12686
+ let baseOptions;
12687
+ if (configuration) {
12688
+ baseOptions = configuration.baseOptions;
12689
+ }
12690
+
12691
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12692
+ const localVarHeaderParameter = {} as any;
12693
+ const localVarQueryParameter = {} as any;
12694
+
12695
+ // authentication bearerAuth required
12696
+ // http bearer authentication required
12697
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12698
+
12699
+
12700
+
12701
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12702
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12703
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12704
+
12705
+ return {
12706
+ url: toPathString(localVarUrlObj),
12707
+ options: localVarRequestOptions,
12708
+ };
12709
+ },
12710
+ }
12711
+ };
12712
+
12713
+ /**
12714
+ * ClubSettingsStaffApi - functional programming interface
12715
+ * @export
12716
+ */
12717
+ export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
12718
+ const localVarAxiosParamCreator = ClubSettingsStaffApiAxiosParamCreator(configuration)
12719
+ return {
12720
+ /**
12721
+ *
12722
+ * @param {*} [options] Override http request option.
12723
+ * @throws {RequiredError}
12724
+ */
12725
+ async getHoursSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
12726
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHoursSettings(options);
12727
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12728
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getHoursSettings']?.[localVarOperationServerIndex]?.url;
12729
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12730
+ },
12731
+ /**
12732
+ *
12733
+ * @param {*} [options] Override http request option.
12734
+ * @throws {RequiredError}
12735
+ */
12736
+ async getReservationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubReservationSettingsResponse>> {
12737
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReservationSettings(options);
12738
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12739
+ const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getReservationSettings']?.[localVarOperationServerIndex]?.url;
12740
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12741
+ },
12742
+ }
12743
+ };
12744
+
12745
+ /**
12746
+ * ClubSettingsStaffApi - factory interface
12747
+ * @export
12748
+ */
12749
+ export const ClubSettingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
12750
+ const localVarFp = ClubSettingsStaffApiFp(configuration)
12751
+ return {
12752
+ /**
12753
+ *
12754
+ * @param {*} [options] Override http request option.
12755
+ * @throws {RequiredError}
12756
+ */
12757
+ getHoursSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
12758
+ return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
12759
+ },
12760
+ /**
12761
+ *
12762
+ * @param {*} [options] Override http request option.
12763
+ * @throws {RequiredError}
12764
+ */
12765
+ getReservationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubReservationSettingsResponse> {
12766
+ return localVarFp.getReservationSettings(options).then((request) => request(axios, basePath));
12767
+ },
12768
+ };
12769
+ };
12770
+
12771
+ /**
12772
+ * ClubSettingsStaffApi - object-oriented interface
12773
+ * @export
12774
+ * @class ClubSettingsStaffApi
12775
+ * @extends {BaseAPI}
12776
+ */
12777
+ export class ClubSettingsStaffApi extends BaseAPI {
12778
+ /**
12779
+ *
11581
12780
  * @param {*} [options] Override http request option.
11582
12781
  * @throws {RequiredError}
11583
- * @memberof ClubSettingsManagerApi
12782
+ * @memberof ClubSettingsStaffApi
11584
12783
  */
11585
- public getClubSettings(options?: RawAxiosRequestConfig) {
11586
- return ClubSettingsManagerApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
12784
+ public getHoursSettings(options?: RawAxiosRequestConfig) {
12785
+ return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
11587
12786
  }
11588
12787
 
11589
12788
  /**
11590
- * Met à jour les paramètres d\'un club
11591
- * @param {ClubSettingsManagerApiUpdateClubSettingsRequest} requestParameters Request parameters.
12789
+ *
11592
12790
  * @param {*} [options] Override http request option.
11593
12791
  * @throws {RequiredError}
11594
- * @memberof ClubSettingsManagerApi
12792
+ * @memberof ClubSettingsStaffApi
11595
12793
  */
11596
- public updateClubSettings(requestParameters: ClubSettingsManagerApiUpdateClubSettingsRequest, options?: RawAxiosRequestConfig) {
11597
- return ClubSettingsManagerApiFp(this.configuration).updateClubSettings(requestParameters.updateClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
12794
+ public getReservationSettings(options?: RawAxiosRequestConfig) {
12795
+ return ClubSettingsStaffApiFp(this.configuration).getReservationSettings(options).then((request) => request(this.axios, this.basePath));
11598
12796
  }
11599
12797
  }
11600
12798
 
@@ -13134,6 +14332,45 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
13134
14332
  options: localVarRequestOptions,
13135
14333
  };
13136
14334
  },
14335
+ /**
14336
+ *
14337
+ * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
14338
+ * @param {*} [options] Override http request option.
14339
+ * @throws {RequiredError}
14340
+ */
14341
+ updateClubGeneralSettings: async (updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14342
+ // verify required parameter 'updateClubGeneralSettingsRequest' is not null or undefined
14343
+ assertParamExists('updateClubGeneralSettings', 'updateClubGeneralSettingsRequest', updateClubGeneralSettingsRequest)
14344
+ const localVarPath = `/api/clubs/settings/general`;
14345
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14346
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14347
+ let baseOptions;
14348
+ if (configuration) {
14349
+ baseOptions = configuration.baseOptions;
14350
+ }
14351
+
14352
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14353
+ const localVarHeaderParameter = {} as any;
14354
+ const localVarQueryParameter = {} as any;
14355
+
14356
+ // authentication bearerAuth required
14357
+ // http bearer authentication required
14358
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14359
+
14360
+
14361
+
14362
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14363
+
14364
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14365
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14366
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14367
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubGeneralSettingsRequest, localVarRequestOptions, configuration)
14368
+
14369
+ return {
14370
+ url: toPathString(localVarUrlObj),
14371
+ options: localVarRequestOptions,
14372
+ };
14373
+ },
13137
14374
  /**
13138
14375
  *
13139
14376
  * @param {any} body
@@ -13173,6 +14410,45 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
13173
14410
  options: localVarRequestOptions,
13174
14411
  };
13175
14412
  },
14413
+ /**
14414
+ *
14415
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
14416
+ * @param {*} [options] Override http request option.
14417
+ * @throws {RequiredError}
14418
+ */
14419
+ updateClubPresentationSettings: async (updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14420
+ // verify required parameter 'updateClubPresentationSettingsRequest' is not null or undefined
14421
+ assertParamExists('updateClubPresentationSettings', 'updateClubPresentationSettingsRequest', updateClubPresentationSettingsRequest)
14422
+ const localVarPath = `/api/clubs/settings/presentation`;
14423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14424
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14425
+ let baseOptions;
14426
+ if (configuration) {
14427
+ baseOptions = configuration.baseOptions;
14428
+ }
14429
+
14430
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14431
+ const localVarHeaderParameter = {} as any;
14432
+ const localVarQueryParameter = {} as any;
14433
+
14434
+ // authentication bearerAuth required
14435
+ // http bearer authentication required
14436
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14437
+
14438
+
14439
+
14440
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14441
+
14442
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14443
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14444
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14445
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubPresentationSettingsRequest, localVarRequestOptions, configuration)
14446
+
14447
+ return {
14448
+ url: toPathString(localVarUrlObj),
14449
+ options: localVarRequestOptions,
14450
+ };
14451
+ },
13176
14452
  /**
13177
14453
  *
13178
14454
  * @param {string} courtId
@@ -13450,6 +14726,18 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
13450
14726
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClub']?.[localVarOperationServerIndex]?.url;
13451
14727
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13452
14728
  },
14729
+ /**
14730
+ *
14731
+ * @param {UpdateClubGeneralSettingsRequest} updateClubGeneralSettingsRequest
14732
+ * @param {*} [options] Override http request option.
14733
+ * @throws {RequiredError}
14734
+ */
14735
+ async updateClubGeneralSettings(updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>> {
14736
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubGeneralSettings(updateClubGeneralSettingsRequest, options);
14737
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14738
+ const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
14739
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14740
+ },
13453
14741
  /**
13454
14742
  *
13455
14743
  * @param {any} body
@@ -13462,6 +14750,18 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
13462
14750
  const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubInfos']?.[localVarOperationServerIndex]?.url;
13463
14751
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13464
14752
  },
14753
+ /**
14754
+ *
14755
+ * @param {UpdateClubPresentationSettingsRequest} updateClubPresentationSettingsRequest
14756
+ * @param {*} [options] Override http request option.
14757
+ * @throws {RequiredError}
14758
+ */
14759
+ async updateClubPresentationSettings(updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
14760
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClubPresentationSettings(updateClubPresentationSettingsRequest, options);
14761
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14762
+ const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.updateClubPresentationSettings']?.[localVarOperationServerIndex]?.url;
14763
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14764
+ },
13465
14765
  /**
13466
14766
  *
13467
14767
  * @param {string} courtId
@@ -13632,6 +14932,15 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
13632
14932
  updateClub(requestParameters: ClubsManagerApiUpdateClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse> {
13633
14933
  return localVarFp.updateClub(requestParameters.updateClubRequest, options).then((request) => request(axios, basePath));
13634
14934
  },
14935
+ /**
14936
+ *
14937
+ * @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
14938
+ * @param {*} [options] Override http request option.
14939
+ * @throws {RequiredError}
14940
+ */
14941
+ updateClubGeneralSettings(requestParameters: ClubsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
14942
+ return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
14943
+ },
13635
14944
  /**
13636
14945
  *
13637
14946
  * @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
@@ -13641,6 +14950,15 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
13641
14950
  updateClubInfos(requestParameters: ClubsManagerApiUpdateClubInfosRequest, options?: RawAxiosRequestConfig): AxiosPromise<any> {
13642
14951
  return localVarFp.updateClubInfos(requestParameters.body, options).then((request) => request(axios, basePath));
13643
14952
  },
14953
+ /**
14954
+ *
14955
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
14956
+ * @param {*} [options] Override http request option.
14957
+ * @throws {RequiredError}
14958
+ */
14959
+ updateClubPresentationSettings(requestParameters: ClubsManagerApiUpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
14960
+ return localVarFp.updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(axios, basePath));
14961
+ },
13644
14962
  /**
13645
14963
  *
13646
14964
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -13872,6 +15190,20 @@ export interface ClubsManagerApiUpdateClubRequest {
13872
15190
  readonly updateClubRequest: UpdateClubRequest
13873
15191
  }
13874
15192
 
15193
+ /**
15194
+ * Request parameters for updateClubGeneralSettings operation in ClubsManagerApi.
15195
+ * @export
15196
+ * @interface ClubsManagerApiUpdateClubGeneralSettingsRequest
15197
+ */
15198
+ export interface ClubsManagerApiUpdateClubGeneralSettingsRequest {
15199
+ /**
15200
+ *
15201
+ * @type {UpdateClubGeneralSettingsRequest}
15202
+ * @memberof ClubsManagerApiUpdateClubGeneralSettings
15203
+ */
15204
+ readonly updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest
15205
+ }
15206
+
13875
15207
  /**
13876
15208
  * Request parameters for updateClubInfos operation in ClubsManagerApi.
13877
15209
  * @export
@@ -13886,6 +15218,20 @@ export interface ClubsManagerApiUpdateClubInfosRequest {
13886
15218
  readonly body: any
13887
15219
  }
13888
15220
 
15221
+ /**
15222
+ * Request parameters for updateClubPresentationSettings operation in ClubsManagerApi.
15223
+ * @export
15224
+ * @interface ClubsManagerApiUpdateClubPresentationSettingsRequest
15225
+ */
15226
+ export interface ClubsManagerApiUpdateClubPresentationSettingsRequest {
15227
+ /**
15228
+ *
15229
+ * @type {UpdateClubPresentationSettingsRequest}
15230
+ * @memberof ClubsManagerApiUpdateClubPresentationSettings
15231
+ */
15232
+ readonly updateClubPresentationSettingsRequest: UpdateClubPresentationSettingsRequest
15233
+ }
15234
+
13889
15235
  /**
13890
15236
  * Request parameters for updateCourt operation in ClubsManagerApi.
13891
15237
  * @export
@@ -14099,6 +15445,17 @@ export class ClubsManagerApi extends BaseAPI {
14099
15445
  return ClubsManagerApiFp(this.configuration).updateClub(requestParameters.updateClubRequest, options).then((request) => request(this.axios, this.basePath));
14100
15446
  }
14101
15447
 
15448
+ /**
15449
+ *
15450
+ * @param {ClubsManagerApiUpdateClubGeneralSettingsRequest} requestParameters Request parameters.
15451
+ * @param {*} [options] Override http request option.
15452
+ * @throws {RequiredError}
15453
+ * @memberof ClubsManagerApi
15454
+ */
15455
+ public updateClubGeneralSettings(requestParameters: ClubsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig) {
15456
+ return ClubsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
15457
+ }
15458
+
14102
15459
  /**
14103
15460
  *
14104
15461
  * @param {ClubsManagerApiUpdateClubInfosRequest} requestParameters Request parameters.
@@ -14110,6 +15467,17 @@ export class ClubsManagerApi extends BaseAPI {
14110
15467
  return ClubsManagerApiFp(this.configuration).updateClubInfos(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
14111
15468
  }
14112
15469
 
15470
+ /**
15471
+ *
15472
+ * @param {ClubsManagerApiUpdateClubPresentationSettingsRequest} requestParameters Request parameters.
15473
+ * @param {*} [options] Override http request option.
15474
+ * @throws {RequiredError}
15475
+ * @memberof ClubsManagerApi
15476
+ */
15477
+ public updateClubPresentationSettings(requestParameters: ClubsManagerApiUpdateClubPresentationSettingsRequest, options?: RawAxiosRequestConfig) {
15478
+ return ClubsManagerApiFp(this.configuration).updateClubPresentationSettings(requestParameters.updateClubPresentationSettingsRequest, options).then((request) => request(this.axios, this.basePath));
15479
+ }
15480
+
14113
15481
  /**
14114
15482
  *
14115
15483
  * @param {ClubsManagerApiUpdateCourtRequest} requestParameters Request parameters.
@@ -14165,6 +15533,39 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
14165
15533
 
14166
15534
 
14167
15535
 
15536
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15537
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15538
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15539
+
15540
+ return {
15541
+ url: toPathString(localVarUrlObj),
15542
+ options: localVarRequestOptions,
15543
+ };
15544
+ },
15545
+ /**
15546
+ *
15547
+ * @param {*} [options] Override http request option.
15548
+ * @throws {RequiredError}
15549
+ */
15550
+ getClubGeneralSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15551
+ const localVarPath = `/api/clubs/settings/general`;
15552
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15553
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15554
+ let baseOptions;
15555
+ if (configuration) {
15556
+ baseOptions = configuration.baseOptions;
15557
+ }
15558
+
15559
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15560
+ const localVarHeaderParameter = {} as any;
15561
+ const localVarQueryParameter = {} as any;
15562
+
15563
+ // authentication bearerAuth required
15564
+ // http bearer authentication required
15565
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15566
+
15567
+
15568
+
14168
15569
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14169
15570
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14170
15571
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14231,6 +15632,39 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
14231
15632
 
14232
15633
 
14233
15634
 
15635
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15636
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15637
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15638
+
15639
+ return {
15640
+ url: toPathString(localVarUrlObj),
15641
+ options: localVarRequestOptions,
15642
+ };
15643
+ },
15644
+ /**
15645
+ *
15646
+ * @param {*} [options] Override http request option.
15647
+ * @throws {RequiredError}
15648
+ */
15649
+ getClubPresentationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15650
+ const localVarPath = `/api/clubs/settings/presentation`;
15651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15652
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15653
+ let baseOptions;
15654
+ if (configuration) {
15655
+ baseOptions = configuration.baseOptions;
15656
+ }
15657
+
15658
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15659
+ const localVarHeaderParameter = {} as any;
15660
+ const localVarQueryParameter = {} as any;
15661
+
15662
+ // authentication bearerAuth required
15663
+ // http bearer authentication required
15664
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15665
+
15666
+
15667
+
14234
15668
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14235
15669
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14236
15670
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14397,6 +15831,17 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
14397
15831
  const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getActualities']?.[localVarOperationServerIndex]?.url;
14398
15832
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14399
15833
  },
15834
+ /**
15835
+ *
15836
+ * @param {*} [options] Override http request option.
15837
+ * @throws {RequiredError}
15838
+ */
15839
+ async getClubGeneralSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>> {
15840
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubGeneralSettings(options);
15841
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15842
+ const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
15843
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15844
+ },
14400
15845
  /**
14401
15846
  *
14402
15847
  * @param {*} [options] Override http request option.
@@ -14419,6 +15864,17 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
14419
15864
  const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubMembers']?.[localVarOperationServerIndex]?.url;
14420
15865
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14421
15866
  },
15867
+ /**
15868
+ *
15869
+ * @param {*} [options] Override http request option.
15870
+ * @throws {RequiredError}
15871
+ */
15872
+ async getClubPresentationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
15873
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPresentationSettings(options);
15874
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15875
+ const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubPresentationSettings']?.[localVarOperationServerIndex]?.url;
15876
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15877
+ },
14422
15878
  /**
14423
15879
  * Récupère les rôles d\'un club
14424
15880
  * @param {*} [options] Override http request option.
@@ -14482,6 +15938,14 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
14482
15938
  getActualities(options?: RawAxiosRequestConfig): AxiosPromise<GetActualities200Response> {
14483
15939
  return localVarFp.getActualities(options).then((request) => request(axios, basePath));
14484
15940
  },
15941
+ /**
15942
+ *
15943
+ * @param {*} [options] Override http request option.
15944
+ * @throws {RequiredError}
15945
+ */
15946
+ getClubGeneralSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
15947
+ return localVarFp.getClubGeneralSettings(options).then((request) => request(axios, basePath));
15948
+ },
14485
15949
  /**
14486
15950
  *
14487
15951
  * @param {*} [options] Override http request option.
@@ -14498,6 +15962,14 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
14498
15962
  getClubMembers(options?: RawAxiosRequestConfig): AxiosPromise<GetClubMembers200Response> {
14499
15963
  return localVarFp.getClubMembers(options).then((request) => request(axios, basePath));
14500
15964
  },
15965
+ /**
15966
+ *
15967
+ * @param {*} [options] Override http request option.
15968
+ * @throws {RequiredError}
15969
+ */
15970
+ getClubPresentationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
15971
+ return localVarFp.getClubPresentationSettings(options).then((request) => request(axios, basePath));
15972
+ },
14501
15973
  /**
14502
15974
  * Récupère les rôles d\'un club
14503
15975
  * @param {*} [options] Override http request option.
@@ -14565,6 +16037,16 @@ export class ClubsStaffApi extends BaseAPI {
14565
16037
  return ClubsStaffApiFp(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
14566
16038
  }
14567
16039
 
16040
+ /**
16041
+ *
16042
+ * @param {*} [options] Override http request option.
16043
+ * @throws {RequiredError}
16044
+ * @memberof ClubsStaffApi
16045
+ */
16046
+ public getClubGeneralSettings(options?: RawAxiosRequestConfig) {
16047
+ return ClubsStaffApiFp(this.configuration).getClubGeneralSettings(options).then((request) => request(this.axios, this.basePath));
16048
+ }
16049
+
14568
16050
  /**
14569
16051
  *
14570
16052
  * @param {*} [options] Override http request option.
@@ -14585,6 +16067,16 @@ export class ClubsStaffApi extends BaseAPI {
14585
16067
  return ClubsStaffApiFp(this.configuration).getClubMembers(options).then((request) => request(this.axios, this.basePath));
14586
16068
  }
14587
16069
 
16070
+ /**
16071
+ *
16072
+ * @param {*} [options] Override http request option.
16073
+ * @throws {RequiredError}
16074
+ * @memberof ClubsStaffApi
16075
+ */
16076
+ public getClubPresentationSettings(options?: RawAxiosRequestConfig) {
16077
+ return ClubsStaffApiFp(this.configuration).getClubPresentationSettings(options).then((request) => request(this.axios, this.basePath));
16078
+ }
16079
+
14588
16080
  /**
14589
16081
  * Récupère les rôles d\'un club
14590
16082
  * @param {*} [options] Override http request option.