@tennac-booking/sdk 1.0.31 → 1.0.32

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 (48) hide show
  1. package/.openapi-generator/FILES +4 -12
  2. package/README.md +10 -28
  3. package/api.ts +526 -2323
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +333 -1368
  8. package/dist/api.js +286 -1555
  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 +333 -1368
  16. package/dist/esm/api.js +283 -1536
  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/ClubMember.md +3 -13
  28. package/docs/{DeleteSlotsResponse.md → CourtDeleteResponse.md} +3 -3
  29. package/docs/{ClubsResponse.md → GetClubPlayers200Response.md} +5 -5
  30. package/docs/LoginResponse.md +2 -0
  31. package/docs/ManagerClubCourtsApi.md +112 -0
  32. package/docs/ManagerSportsApi.md +0 -55
  33. package/docs/StaffClubAnalyticsApi.md +45 -0
  34. package/docs/StaffClubsApi.md +47 -0
  35. package/docs/UpdateCourtRequest.md +38 -0
  36. package/docs/UserStaffResponse.md +30 -0
  37. package/index.ts +1 -1
  38. package/package.json +1 -1
  39. package/docs/AdminClubAnalyticsApi.md +0 -249
  40. package/docs/AdminClubSlotsApi.md +0 -182
  41. package/docs/AdminClubSubscriptionsApi.md +0 -394
  42. package/docs/AdminClubsApi.md +0 -170
  43. package/docs/CreateClubRequest.md +0 -40
  44. package/docs/CreateClubSettingsRequest.md +0 -28
  45. package/docs/DeleteClub200Response.md +0 -20
  46. package/docs/DeleteClubSettingsRequest.md +0 -20
  47. package/docs/GenerateSlotsResponse.md +0 -20
  48. package/docs/UsersResponse.md +0 -22
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.31
5
+ * The version of the OpenAPI document: 1.0.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1024,53 +1024,29 @@ export interface ClubListResponse {
1024
1024
  export interface ClubMember {
1025
1025
  /**
1026
1026
  *
1027
- * @type {string}
1028
- * @memberof ClubMember
1029
- */
1030
- 'id'?: string;
1031
- /**
1032
- *
1033
- * @type {string}
1034
- * @memberof ClubMember
1035
- */
1036
- 'userId'?: string;
1037
- /**
1038
- *
1039
- * @type {string}
1040
- * @memberof ClubMember
1041
- */
1042
- 'clubId'?: string;
1043
- /**
1044
- *
1045
- * @type {string}
1027
+ * @type {UserResponse}
1046
1028
  * @memberof ClubMember
1047
1029
  */
1048
- 'roleId'?: string;
1030
+ 'user'?: UserResponse;
1049
1031
  /**
1050
1032
  *
1051
1033
  * @type {string}
1052
1034
  * @memberof ClubMember
1053
1035
  */
1054
- 'joinedAt'?: string;
1055
- /**
1056
- *
1057
- * @type {boolean}
1058
- * @memberof ClubMember
1059
- */
1060
- 'isActive'?: boolean;
1061
- /**
1062
- *
1063
- * @type {UserResponse}
1064
- * @memberof ClubMember
1065
- */
1066
- 'user'?: UserResponse;
1036
+ 'role'?: ClubMemberRoleEnum;
1067
1037
  /**
1068
1038
  *
1069
- * @type {ClubRoleResponse}
1039
+ * @type {Array<string>}
1070
1040
  * @memberof ClubMember
1071
1041
  */
1072
- 'role'?: ClubRoleResponse;
1042
+ 'rights'?: Array<string>;
1073
1043
  }
1044
+ export declare const ClubMemberRoleEnum: {
1045
+ readonly Admin: "admin";
1046
+ readonly Manager: "manager";
1047
+ readonly Staff: "staff";
1048
+ };
1049
+ export type ClubMemberRoleEnum = typeof ClubMemberRoleEnum[keyof typeof ClubMemberRoleEnum];
1074
1050
  /**
1075
1051
  *
1076
1052
  * @export
@@ -1359,25 +1335,6 @@ export interface ClubSettings {
1359
1335
  */
1360
1336
  'updatedAt'?: string;
1361
1337
  }
1362
- /**
1363
- *
1364
- * @export
1365
- * @interface ClubsResponse
1366
- */
1367
- export interface ClubsResponse {
1368
- /**
1369
- *
1370
- * @type {Array<ClubResponse>}
1371
- * @memberof ClubsResponse
1372
- */
1373
- 'clubs'?: Array<ClubResponse>;
1374
- /**
1375
- *
1376
- * @type {number}
1377
- * @memberof ClubsResponse
1378
- */
1379
- 'total'?: number;
1380
- }
1381
1338
  /**
1382
1339
  *
1383
1340
  * @export
@@ -1459,6 +1416,19 @@ export interface Court {
1459
1416
  */
1460
1417
  'endTimeInTheDayInMinutes': number;
1461
1418
  }
1419
+ /**
1420
+ *
1421
+ * @export
1422
+ * @interface CourtDeleteResponse
1423
+ */
1424
+ export interface CourtDeleteResponse {
1425
+ /**
1426
+ *
1427
+ * @type {string}
1428
+ * @memberof CourtDeleteResponse
1429
+ */
1430
+ 'message'?: string;
1431
+ }
1462
1432
  /**
1463
1433
  *
1464
1434
  * @export
@@ -1628,79 +1598,6 @@ export interface CreateBookingRequest {
1628
1598
  */
1629
1599
  'paymentMethod'?: PaymentMethod;
1630
1600
  }
1631
- /**
1632
- *
1633
- * @export
1634
- * @interface CreateClubRequest
1635
- */
1636
- export interface CreateClubRequest {
1637
- /**
1638
- * Nom du club
1639
- * @type {string}
1640
- * @memberof CreateClubRequest
1641
- */
1642
- 'name': string;
1643
- /**
1644
- * Adresse du club
1645
- * @type {string}
1646
- * @memberof CreateClubRequest
1647
- */
1648
- 'address': string;
1649
- /**
1650
- * Ville du club
1651
- * @type {string}
1652
- * @memberof CreateClubRequest
1653
- */
1654
- 'city': string;
1655
- /**
1656
- * Code postal du club
1657
- * @type {string}
1658
- * @memberof CreateClubRequest
1659
- */
1660
- 'zipCode': string;
1661
- /**
1662
- * Pays du club
1663
- * @type {string}
1664
- * @memberof CreateClubRequest
1665
- */
1666
- 'country': string;
1667
- /**
1668
- * Téléphone du club
1669
- * @type {string}
1670
- * @memberof CreateClubRequest
1671
- */
1672
- 'phone': string;
1673
- /**
1674
- * Email du club
1675
- * @type {string}
1676
- * @memberof CreateClubRequest
1677
- */
1678
- 'email': string;
1679
- /**
1680
- * Site web du club
1681
- * @type {string}
1682
- * @memberof CreateClubRequest
1683
- */
1684
- 'website'?: string;
1685
- /**
1686
- * Description du club
1687
- * @type {string}
1688
- * @memberof CreateClubRequest
1689
- */
1690
- 'description'?: string;
1691
- /**
1692
- * Logo du club
1693
- * @type {string}
1694
- * @memberof CreateClubRequest
1695
- */
1696
- 'logo'?: string;
1697
- /**
1698
- * Statut actif du club
1699
- * @type {boolean}
1700
- * @memberof CreateClubRequest
1701
- */
1702
- 'isActive'?: boolean;
1703
- }
1704
1601
  /**
1705
1602
  *
1706
1603
  * @export
@@ -1726,43 +1623,6 @@ export interface CreateClubRoleRequestBody {
1726
1623
  */
1727
1624
  'permissions'?: Array<string>;
1728
1625
  }
1729
- /**
1730
- *
1731
- * @export
1732
- * @interface CreateClubSettingsRequest
1733
- */
1734
- export interface CreateClubSettingsRequest {
1735
- /**
1736
- *
1737
- * @type {string}
1738
- * @memberof CreateClubSettingsRequest
1739
- */
1740
- 'clubId': string;
1741
- /**
1742
- *
1743
- * @type {string}
1744
- * @memberof CreateClubSettingsRequest
1745
- */
1746
- 'reservationStartTime'?: string;
1747
- /**
1748
- *
1749
- * @type {string}
1750
- * @memberof CreateClubSettingsRequest
1751
- */
1752
- 'reservationEndTime'?: string;
1753
- /**
1754
- *
1755
- * @type {number}
1756
- * @memberof CreateClubSettingsRequest
1757
- */
1758
- 'maxSimultaneousReservations'?: number;
1759
- /**
1760
- *
1761
- * @type {boolean}
1762
- * @memberof CreateClubSettingsRequest
1763
- */
1764
- 'allowWeekendReservations'?: boolean;
1765
- }
1766
1626
  /**
1767
1627
  *
1768
1628
  * @export
@@ -1986,19 +1846,6 @@ export interface DailyTurnoverResponse {
1986
1846
  */
1987
1847
  'invoiceCount'?: number;
1988
1848
  }
1989
- /**
1990
- *
1991
- * @export
1992
- * @interface DeleteClub200Response
1993
- */
1994
- export interface DeleteClub200Response {
1995
- /**
1996
- *
1997
- * @type {string}
1998
- * @memberof DeleteClub200Response
1999
- */
2000
- 'message'?: string;
2001
- }
2002
1849
  /**
2003
1850
  *
2004
1851
  * @export
@@ -2012,19 +1859,6 @@ export interface DeleteClubRole200Response {
2012
1859
  */
2013
1860
  'message'?: string;
2014
1861
  }
2015
- /**
2016
- *
2017
- * @export
2018
- * @interface DeleteClubSettingsRequest
2019
- */
2020
- export interface DeleteClubSettingsRequest {
2021
- /**
2022
- *
2023
- * @type {string}
2024
- * @memberof DeleteClubSettingsRequest
2025
- */
2026
- 'clubId': string;
2027
- }
2028
1862
  /**
2029
1863
  *
2030
1864
  * @export
@@ -2051,19 +1885,6 @@ export interface DeleteSlotsByClubInRange200Response {
2051
1885
  */
2052
1886
  'message'?: string;
2053
1887
  }
2054
- /**
2055
- *
2056
- * @export
2057
- * @interface DeleteSlotsResponse
2058
- */
2059
- export interface DeleteSlotsResponse {
2060
- /**
2061
- *
2062
- * @type {string}
2063
- * @memberof DeleteSlotsResponse
2064
- */
2065
- 'message'?: string;
2066
- }
2067
1888
  /**
2068
1889
  *
2069
1890
  * @export
@@ -2405,19 +2226,6 @@ export interface FrequentlyVisitedClubItem {
2405
2226
  */
2406
2227
  'visitCount'?: number;
2407
2228
  }
2408
- /**
2409
- *
2410
- * @export
2411
- * @interface GenerateSlotsResponse
2412
- */
2413
- export interface GenerateSlotsResponse {
2414
- /**
2415
- *
2416
- * @type {string}
2417
- * @memberof GenerateSlotsResponse
2418
- */
2419
- 'message'?: string;
2420
- }
2421
2229
  /**
2422
2230
  *
2423
2231
  * @export
@@ -2474,6 +2282,25 @@ export interface GetClubInfos200Response {
2474
2282
  */
2475
2283
  'websiteUrl'?: string;
2476
2284
  }
2285
+ /**
2286
+ *
2287
+ * @export
2288
+ * @interface GetClubPlayers200Response
2289
+ */
2290
+ export interface GetClubPlayers200Response {
2291
+ /**
2292
+ *
2293
+ * @type {Array<UserStaffResponse>}
2294
+ * @memberof GetClubPlayers200Response
2295
+ */
2296
+ 'clubPlayers'?: Array<UserStaffResponse>;
2297
+ /**
2298
+ *
2299
+ * @type {number}
2300
+ * @memberof GetClubPlayers200Response
2301
+ */
2302
+ 'total'?: number;
2303
+ }
2477
2304
  /**
2478
2305
  *
2479
2306
  * @export
@@ -2878,6 +2705,12 @@ export interface LoginResponse {
2878
2705
  * @memberof LoginResponse
2879
2706
  */
2880
2707
  'token': string;
2708
+ /**
2709
+ *
2710
+ * @type {string}
2711
+ * @memberof LoginResponse
2712
+ */
2713
+ 'role'?: string;
2881
2714
  /**
2882
2715
  *
2883
2716
  * @type {string}
@@ -4176,6 +4009,84 @@ export interface UpdateClubSettingsRequest {
4176
4009
  */
4177
4010
  'allowWeekendReservations'?: boolean;
4178
4011
  }
4012
+ /**
4013
+ *
4014
+ * @export
4015
+ * @interface UpdateCourtRequest
4016
+ */
4017
+ export interface UpdateCourtRequest {
4018
+ /**
4019
+ * Nom du terrain
4020
+ * @type {string}
4021
+ * @memberof UpdateCourtRequest
4022
+ */
4023
+ 'name': string;
4024
+ /**
4025
+ * Statut du terrain
4026
+ * @type {string}
4027
+ * @memberof UpdateCourtRequest
4028
+ */
4029
+ 'status': UpdateCourtRequestStatusEnum;
4030
+ /**
4031
+ * Commentaires sur le terrain
4032
+ * @type {string}
4033
+ * @memberof UpdateCourtRequest
4034
+ */
4035
+ 'comments'?: string;
4036
+ /**
4037
+ * Durée par défaut d’un créneau (en minutes)
4038
+ * @type {number}
4039
+ * @memberof UpdateCourtRequest
4040
+ */
4041
+ 'slotDefaultDuration': number;
4042
+ /**
4043
+ * Prix par créneau en centimes
4044
+ * @type {number}
4045
+ * @memberof UpdateCourtRequest
4046
+ */
4047
+ 'pricePerSlotInCents'?: number;
4048
+ /**
4049
+ * Heure de début (minutes depuis minuit)
4050
+ * @type {number}
4051
+ * @memberof UpdateCourtRequest
4052
+ */
4053
+ 'startTimeInTheDayInMinutes': number;
4054
+ /**
4055
+ * Heure de fin (minutes depuis minuit)
4056
+ * @type {number}
4057
+ * @memberof UpdateCourtRequest
4058
+ */
4059
+ 'endTimeInTheDayInMinutes': number;
4060
+ /**
4061
+ * ID du sport associé
4062
+ * @type {string}
4063
+ * @memberof UpdateCourtRequest
4064
+ */
4065
+ 'sportId': string;
4066
+ /**
4067
+ * Type de surface
4068
+ * @type {string}
4069
+ * @memberof UpdateCourtRequest
4070
+ */
4071
+ 'surface': UpdateCourtRequestSurfaceEnum;
4072
+ /**
4073
+ * Terrain intérieur ou extérieur
4074
+ * @type {boolean}
4075
+ * @memberof UpdateCourtRequest
4076
+ */
4077
+ 'isIndoor': boolean;
4078
+ }
4079
+ export declare const UpdateCourtRequestStatusEnum: {
4080
+ readonly Available: "available";
4081
+ readonly Unavailable: "unavailable";
4082
+ };
4083
+ export type UpdateCourtRequestStatusEnum = typeof UpdateCourtRequestStatusEnum[keyof typeof UpdateCourtRequestStatusEnum];
4084
+ export declare const UpdateCourtRequestSurfaceEnum: {
4085
+ readonly Clay: "clay";
4086
+ readonly Grass: "grass";
4087
+ readonly Hard: "hard";
4088
+ };
4089
+ export type UpdateCourtRequestSurfaceEnum = typeof UpdateCourtRequestSurfaceEnum[keyof typeof UpdateCourtRequestSurfaceEnum];
4179
4090
  /**
4180
4091
  *
4181
4092
  * @export
@@ -4702,1159 +4613,101 @@ export interface UserResponse {
4702
4613
  /**
4703
4614
  *
4704
4615
  * @export
4705
- * @interface UsersResponse
4616
+ * @interface UserStaffResponse
4706
4617
  */
4707
- export interface UsersResponse {
4618
+ export interface UserStaffResponse {
4708
4619
  /**
4709
4620
  *
4710
- * @type {Array<UserResponse>}
4711
- * @memberof UsersResponse
4621
+ * @type {string}
4622
+ * @memberof UserStaffResponse
4712
4623
  */
4713
- 'users'?: Array<UserResponse>;
4624
+ 'id'?: string;
4714
4625
  /**
4715
4626
  *
4716
- * @type {number}
4717
- * @memberof UsersResponse
4627
+ * @type {string}
4628
+ * @memberof UserStaffResponse
4718
4629
  */
4719
- 'total'?: number;
4720
- }
4721
- /**
4722
- *
4723
- * @export
4724
- * @interface YearlyTurnoverResponse
4725
- */
4726
- export interface YearlyTurnoverResponse {
4727
- /**
4728
- *
4729
- * @type {number}
4730
- * @memberof YearlyTurnoverResponse
4731
- */
4732
- 'year'?: number;
4733
- /**
4734
- *
4735
- * @type {number}
4736
- * @memberof YearlyTurnoverResponse
4737
- */
4738
- 'totalTurnover'?: number;
4739
- /**
4740
- *
4741
- * @type {number}
4742
- * @memberof YearlyTurnoverResponse
4743
- */
4744
- 'totalInvoices'?: number;
4745
- /**
4746
- *
4747
- * @type {Array<YearlyTurnoverResponseMonthlyBreakdownInner>}
4748
- * @memberof YearlyTurnoverResponse
4749
- */
4750
- 'monthlyBreakdown'?: Array<YearlyTurnoverResponseMonthlyBreakdownInner>;
4751
- }
4752
- /**
4753
- *
4754
- * @export
4755
- * @interface YearlyTurnoverResponseMonthlyBreakdownInner
4756
- */
4757
- export interface YearlyTurnoverResponseMonthlyBreakdownInner {
4758
- /**
4759
- *
4760
- * @type {number}
4761
- * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
4762
- */
4763
- 'month'?: number;
4764
- /**
4765
- *
4766
- * @type {number}
4767
- * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
4768
- */
4769
- 'monthlyTurnover'?: number;
4770
- /**
4771
- *
4772
- * @type {number}
4773
- * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
4774
- */
4775
- 'invoiceCount'?: number;
4776
- }
4777
- /**
4778
- * AdminClubAnalyticsApi - axios parameter creator
4779
- * @export
4780
- */
4781
- export declare const AdminClubAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
4782
- /**
4783
- *
4784
- * @summary Chiffre d\'affaires quotidien (Admin)
4785
- * @param {string} id ID du club
4786
- * @param {string} date Date (YYYY-MM-DD)
4787
- * @param {*} [options] Override http request option.
4788
- * @throws {RequiredError}
4789
- */
4790
- getDailyTurnOverAdmin: (id: string, date: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4791
- /**
4792
- *
4793
- * @summary Récupérer les factures d\'un club (Admin)
4794
- * @param {string} id ID du club
4795
- * @param {number} [page]
4796
- * @param {number} [limit]
4797
- * @param {GetInvoicesAdminStatusEnum} [status]
4798
- * @param {string} [startDate]
4799
- * @param {string} [endDate]
4800
- * @param {*} [options] Override http request option.
4801
- * @throws {RequiredError}
4802
- */
4803
- getInvoicesAdmin: (id: string, page?: number, limit?: number, status?: GetInvoicesAdminStatusEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4804
- /**
4805
- *
4806
- * @summary Chiffre d\'affaires mensuel (Admin)
4807
- * @param {string} id ID du club
4808
- * @param {number} year Année
4809
- * @param {number} month Mois (1-12)
4810
- * @param {*} [options] Override http request option.
4811
- * @throws {RequiredError}
4812
- */
4813
- getMonthlyTurnOverAdmin: (id: string, year: number, month: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4814
- /**
4815
- *
4816
- * @summary Chiffre d\'affaires annuel (Admin)
4817
- * @param {string} id ID du club
4818
- * @param {number} year Année
4819
- * @param {*} [options] Override http request option.
4820
- * @throws {RequiredError}
4821
- */
4822
- getYearlyTurnOverAdmin: (id: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4823
- };
4824
- /**
4825
- * AdminClubAnalyticsApi - functional programming interface
4826
- * @export
4827
- */
4828
- export declare const AdminClubAnalyticsApiFp: (configuration?: Configuration) => {
4829
- /**
4830
- *
4831
- * @summary Chiffre d\'affaires quotidien (Admin)
4832
- * @param {string} id ID du club
4833
- * @param {string} date Date (YYYY-MM-DD)
4834
- * @param {*} [options] Override http request option.
4835
- * @throws {RequiredError}
4836
- */
4837
- getDailyTurnOverAdmin(id: string, date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DailyTurnoverResponse>>;
4838
- /**
4839
- *
4840
- * @summary Récupérer les factures d\'un club (Admin)
4841
- * @param {string} id ID du club
4842
- * @param {number} [page]
4843
- * @param {number} [limit]
4844
- * @param {GetInvoicesAdminStatusEnum} [status]
4845
- * @param {string} [startDate]
4846
- * @param {string} [endDate]
4847
- * @param {*} [options] Override http request option.
4848
- * @throws {RequiredError}
4849
- */
4850
- getInvoicesAdmin(id: string, page?: number, limit?: number, status?: GetInvoicesAdminStatusEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoicesResponse>>;
4851
- /**
4852
- *
4853
- * @summary Chiffre d\'affaires mensuel (Admin)
4854
- * @param {string} id ID du club
4855
- * @param {number} year Année
4856
- * @param {number} month Mois (1-12)
4857
- * @param {*} [options] Override http request option.
4858
- * @throws {RequiredError}
4859
- */
4860
- getMonthlyTurnOverAdmin(id: string, year: number, month: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MonthlyTurnoverResponse>>;
4861
- /**
4862
- *
4863
- * @summary Chiffre d\'affaires annuel (Admin)
4864
- * @param {string} id ID du club
4865
- * @param {number} year Année
4866
- * @param {*} [options] Override http request option.
4867
- * @throws {RequiredError}
4868
- */
4869
- getYearlyTurnOverAdmin(id: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YearlyTurnoverResponse>>;
4870
- };
4871
- /**
4872
- * AdminClubAnalyticsApi - factory interface
4873
- * @export
4874
- */
4875
- export declare const AdminClubAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4876
- /**
4877
- *
4878
- * @summary Chiffre d\'affaires quotidien (Admin)
4879
- * @param {AdminClubAnalyticsApiGetDailyTurnOverAdminRequest} requestParameters Request parameters.
4880
- * @param {*} [options] Override http request option.
4881
- * @throws {RequiredError}
4882
- */
4883
- getDailyTurnOverAdmin(requestParameters: AdminClubAnalyticsApiGetDailyTurnOverAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<DailyTurnoverResponse>;
4884
- /**
4885
- *
4886
- * @summary Récupérer les factures d\'un club (Admin)
4887
- * @param {AdminClubAnalyticsApiGetInvoicesAdminRequest} requestParameters Request parameters.
4888
- * @param {*} [options] Override http request option.
4889
- * @throws {RequiredError}
4890
- */
4891
- getInvoicesAdmin(requestParameters: AdminClubAnalyticsApiGetInvoicesAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoicesResponse>;
4892
- /**
4893
- *
4894
- * @summary Chiffre d\'affaires mensuel (Admin)
4895
- * @param {AdminClubAnalyticsApiGetMonthlyTurnOverAdminRequest} requestParameters Request parameters.
4896
- * @param {*} [options] Override http request option.
4897
- * @throws {RequiredError}
4898
- */
4899
- getMonthlyTurnOverAdmin(requestParameters: AdminClubAnalyticsApiGetMonthlyTurnOverAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<MonthlyTurnoverResponse>;
4900
- /**
4901
- *
4902
- * @summary Chiffre d\'affaires annuel (Admin)
4903
- * @param {AdminClubAnalyticsApiGetYearlyTurnOverAdminRequest} requestParameters Request parameters.
4904
- * @param {*} [options] Override http request option.
4905
- * @throws {RequiredError}
4906
- */
4907
- getYearlyTurnOverAdmin(requestParameters: AdminClubAnalyticsApiGetYearlyTurnOverAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<YearlyTurnoverResponse>;
4908
- };
4909
- /**
4910
- * Request parameters for getDailyTurnOverAdmin operation in AdminClubAnalyticsApi.
4911
- * @export
4912
- * @interface AdminClubAnalyticsApiGetDailyTurnOverAdminRequest
4913
- */
4914
- export interface AdminClubAnalyticsApiGetDailyTurnOverAdminRequest {
4915
- /**
4916
- * ID du club
4917
- * @type {string}
4918
- * @memberof AdminClubAnalyticsApiGetDailyTurnOverAdmin
4919
- */
4920
- readonly id: string;
4921
- /**
4922
- * Date (YYYY-MM-DD)
4923
- * @type {string}
4924
- * @memberof AdminClubAnalyticsApiGetDailyTurnOverAdmin
4925
- */
4926
- readonly date: string;
4927
- }
4928
- /**
4929
- * Request parameters for getInvoicesAdmin operation in AdminClubAnalyticsApi.
4930
- * @export
4931
- * @interface AdminClubAnalyticsApiGetInvoicesAdminRequest
4932
- */
4933
- export interface AdminClubAnalyticsApiGetInvoicesAdminRequest {
4934
- /**
4935
- * ID du club
4936
- * @type {string}
4937
- * @memberof AdminClubAnalyticsApiGetInvoicesAdmin
4938
- */
4939
- readonly id: string;
4940
- /**
4941
- *
4942
- * @type {number}
4943
- * @memberof AdminClubAnalyticsApiGetInvoicesAdmin
4944
- */
4945
- readonly page?: number;
4946
- /**
4947
- *
4948
- * @type {number}
4949
- * @memberof AdminClubAnalyticsApiGetInvoicesAdmin
4950
- */
4951
- readonly limit?: number;
4952
- /**
4953
- *
4954
- * @type {'pending' | 'paid' | 'failed' | 'authorized' | 'canceled' | 'expired'}
4955
- * @memberof AdminClubAnalyticsApiGetInvoicesAdmin
4956
- */
4957
- readonly status?: GetInvoicesAdminStatusEnum;
4958
- /**
4959
- *
4960
- * @type {string}
4961
- * @memberof AdminClubAnalyticsApiGetInvoicesAdmin
4962
- */
4963
- readonly startDate?: string;
4964
- /**
4965
- *
4966
- * @type {string}
4967
- * @memberof AdminClubAnalyticsApiGetInvoicesAdmin
4968
- */
4969
- readonly endDate?: string;
4970
- }
4971
- /**
4972
- * Request parameters for getMonthlyTurnOverAdmin operation in AdminClubAnalyticsApi.
4973
- * @export
4974
- * @interface AdminClubAnalyticsApiGetMonthlyTurnOverAdminRequest
4975
- */
4976
- export interface AdminClubAnalyticsApiGetMonthlyTurnOverAdminRequest {
4977
- /**
4978
- * ID du club
4979
- * @type {string}
4980
- * @memberof AdminClubAnalyticsApiGetMonthlyTurnOverAdmin
4981
- */
4982
- readonly id: string;
4983
- /**
4984
- * Année
4985
- * @type {number}
4986
- * @memberof AdminClubAnalyticsApiGetMonthlyTurnOverAdmin
4987
- */
4988
- readonly year: number;
4989
- /**
4990
- * Mois (1-12)
4991
- * @type {number}
4992
- * @memberof AdminClubAnalyticsApiGetMonthlyTurnOverAdmin
4993
- */
4994
- readonly month: number;
4995
- }
4996
- /**
4997
- * Request parameters for getYearlyTurnOverAdmin operation in AdminClubAnalyticsApi.
4998
- * @export
4999
- * @interface AdminClubAnalyticsApiGetYearlyTurnOverAdminRequest
5000
- */
5001
- export interface AdminClubAnalyticsApiGetYearlyTurnOverAdminRequest {
5002
- /**
5003
- * ID du club
5004
- * @type {string}
5005
- * @memberof AdminClubAnalyticsApiGetYearlyTurnOverAdmin
5006
- */
5007
- readonly id: string;
5008
- /**
5009
- * Année
5010
- * @type {number}
5011
- * @memberof AdminClubAnalyticsApiGetYearlyTurnOverAdmin
5012
- */
5013
- readonly year: number;
5014
- }
5015
- /**
5016
- * AdminClubAnalyticsApi - object-oriented interface
5017
- * @export
5018
- * @class AdminClubAnalyticsApi
5019
- * @extends {BaseAPI}
5020
- */
5021
- export declare class AdminClubAnalyticsApi extends BaseAPI {
5022
- /**
5023
- *
5024
- * @summary Chiffre d\'affaires quotidien (Admin)
5025
- * @param {AdminClubAnalyticsApiGetDailyTurnOverAdminRequest} requestParameters Request parameters.
5026
- * @param {*} [options] Override http request option.
5027
- * @throws {RequiredError}
5028
- * @memberof AdminClubAnalyticsApi
5029
- */
5030
- getDailyTurnOverAdmin(requestParameters: AdminClubAnalyticsApiGetDailyTurnOverAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DailyTurnoverResponse, any>>;
5031
- /**
5032
- *
5033
- * @summary Récupérer les factures d\'un club (Admin)
5034
- * @param {AdminClubAnalyticsApiGetInvoicesAdminRequest} requestParameters Request parameters.
5035
- * @param {*} [options] Override http request option.
5036
- * @throws {RequiredError}
5037
- * @memberof AdminClubAnalyticsApi
5038
- */
5039
- getInvoicesAdmin(requestParameters: AdminClubAnalyticsApiGetInvoicesAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoicesResponse, any>>;
5040
- /**
5041
- *
5042
- * @summary Chiffre d\'affaires mensuel (Admin)
5043
- * @param {AdminClubAnalyticsApiGetMonthlyTurnOverAdminRequest} requestParameters Request parameters.
5044
- * @param {*} [options] Override http request option.
5045
- * @throws {RequiredError}
5046
- * @memberof AdminClubAnalyticsApi
5047
- */
5048
- getMonthlyTurnOverAdmin(requestParameters: AdminClubAnalyticsApiGetMonthlyTurnOverAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MonthlyTurnoverResponse, any>>;
5049
- /**
5050
- *
5051
- * @summary Chiffre d\'affaires annuel (Admin)
5052
- * @param {AdminClubAnalyticsApiGetYearlyTurnOverAdminRequest} requestParameters Request parameters.
5053
- * @param {*} [options] Override http request option.
5054
- * @throws {RequiredError}
5055
- * @memberof AdminClubAnalyticsApi
5056
- */
5057
- getYearlyTurnOverAdmin(requestParameters: AdminClubAnalyticsApiGetYearlyTurnOverAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YearlyTurnoverResponse, any>>;
5058
- }
5059
- /**
5060
- * @export
5061
- */
5062
- export declare const GetInvoicesAdminStatusEnum: {
5063
- readonly Pending: "pending";
5064
- readonly Paid: "paid";
5065
- readonly Failed: "failed";
5066
- readonly Authorized: "authorized";
5067
- readonly Canceled: "canceled";
5068
- readonly Expired: "expired";
5069
- };
5070
- export type GetInvoicesAdminStatusEnum = typeof GetInvoicesAdminStatusEnum[keyof typeof GetInvoicesAdminStatusEnum];
5071
- /**
5072
- * AdminClubSlotsApi - axios parameter creator
5073
- * @export
5074
- */
5075
- export declare const AdminClubSlotsApiAxiosParamCreator: (configuration?: Configuration) => {
5076
- /**
5077
- *
5078
- * @summary Supprimer des créneaux pour un club sur une plage de dates (Admin uniquement)
5079
- * @param {string} id ID du club
5080
- * @param {string} start Date de début (format ISO)
5081
- * @param {string} end Date de fin (format ISO)
5082
- * @param {*} [options] Override http request option.
5083
- * @throws {RequiredError}
5084
- */
5085
- deleteSlotsByClubInRangeByID: (id: string, start: string, end: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5086
- /**
5087
- *
5088
- * @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
5089
- * @param {string} id ID du club
5090
- * @param {*} [options] Override http request option.
5091
- * @throws {RequiredError}
5092
- */
5093
- generateSlotsForNextThreeWeeks: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5094
- /**
5095
- *
5096
- * @summary Récupérer tous les créneaux d\'un club (Admin)
5097
- * @param {string} id ID du club
5098
- * @param {string} [start] Date de début (format ISO)
5099
- * @param {string} [end] Date de fin (format ISO)
5100
- * @param {*} [options] Override http request option.
5101
- * @throws {RequiredError}
5102
- */
5103
- getSlotsByClubAdmin: (id: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5104
- };
5105
- /**
5106
- * AdminClubSlotsApi - functional programming interface
5107
- * @export
5108
- */
5109
- export declare const AdminClubSlotsApiFp: (configuration?: Configuration) => {
5110
- /**
5111
- *
5112
- * @summary Supprimer des créneaux pour un club sur une plage de dates (Admin uniquement)
5113
- * @param {string} id ID du club
5114
- * @param {string} start Date de début (format ISO)
5115
- * @param {string} end Date de fin (format ISO)
5116
- * @param {*} [options] Override http request option.
5117
- * @throws {RequiredError}
5118
- */
5119
- deleteSlotsByClubInRangeByID(id: string, start: string, end: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSlotsResponse>>;
5120
- /**
5121
- *
5122
- * @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
5123
- * @param {string} id ID du club
5124
- * @param {*} [options] Override http request option.
5125
- * @throws {RequiredError}
5126
- */
5127
- generateSlotsForNextThreeWeeks(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateSlotsResponse>>;
5128
- /**
5129
- *
5130
- * @summary Récupérer tous les créneaux d\'un club (Admin)
5131
- * @param {string} id ID du club
5132
- * @param {string} [start] Date de début (format ISO)
5133
- * @param {string} [end] Date de fin (format ISO)
5134
- * @param {*} [options] Override http request option.
5135
- * @throws {RequiredError}
5136
- */
5137
- getSlotsByClubAdmin(id: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SlotsResponse>>;
5138
- };
5139
- /**
5140
- * AdminClubSlotsApi - factory interface
5141
- * @export
5142
- */
5143
- export declare const AdminClubSlotsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5144
- /**
5145
- *
5146
- * @summary Supprimer des créneaux pour un club sur une plage de dates (Admin uniquement)
5147
- * @param {AdminClubSlotsApiDeleteSlotsByClubInRangeByIDRequest} requestParameters Request parameters.
5148
- * @param {*} [options] Override http request option.
5149
- * @throws {RequiredError}
5150
- */
5151
- deleteSlotsByClubInRangeByID(requestParameters: AdminClubSlotsApiDeleteSlotsByClubInRangeByIDRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSlotsResponse>;
5152
- /**
5153
- *
5154
- * @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
5155
- * @param {AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest} requestParameters Request parameters.
5156
- * @param {*} [options] Override http request option.
5157
- * @throws {RequiredError}
5158
- */
5159
- generateSlotsForNextThreeWeeks(requestParameters: AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateSlotsResponse>;
5160
- /**
5161
- *
5162
- * @summary Récupérer tous les créneaux d\'un club (Admin)
5163
- * @param {AdminClubSlotsApiGetSlotsByClubAdminRequest} requestParameters Request parameters.
5164
- * @param {*} [options] Override http request option.
5165
- * @throws {RequiredError}
5166
- */
5167
- getSlotsByClubAdmin(requestParameters: AdminClubSlotsApiGetSlotsByClubAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<SlotsResponse>;
5168
- };
5169
- /**
5170
- * Request parameters for deleteSlotsByClubInRangeByID operation in AdminClubSlotsApi.
5171
- * @export
5172
- * @interface AdminClubSlotsApiDeleteSlotsByClubInRangeByIDRequest
5173
- */
5174
- export interface AdminClubSlotsApiDeleteSlotsByClubInRangeByIDRequest {
5175
- /**
5176
- * ID du club
5177
- * @type {string}
5178
- * @memberof AdminClubSlotsApiDeleteSlotsByClubInRangeByID
5179
- */
5180
- readonly id: string;
5181
- /**
5182
- * Date de début (format ISO)
5183
- * @type {string}
5184
- * @memberof AdminClubSlotsApiDeleteSlotsByClubInRangeByID
5185
- */
5186
- readonly start: string;
5187
- /**
5188
- * Date de fin (format ISO)
5189
- * @type {string}
5190
- * @memberof AdminClubSlotsApiDeleteSlotsByClubInRangeByID
5191
- */
5192
- readonly end: string;
5193
- }
5194
- /**
5195
- * Request parameters for generateSlotsForNextThreeWeeks operation in AdminClubSlotsApi.
5196
- * @export
5197
- * @interface AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest
5198
- */
5199
- export interface AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest {
5200
- /**
5201
- * ID du club
5202
- * @type {string}
5203
- * @memberof AdminClubSlotsApiGenerateSlotsForNextThreeWeeks
5204
- */
5205
- readonly id: string;
5206
- }
5207
- /**
5208
- * Request parameters for getSlotsByClubAdmin operation in AdminClubSlotsApi.
5209
- * @export
5210
- * @interface AdminClubSlotsApiGetSlotsByClubAdminRequest
5211
- */
5212
- export interface AdminClubSlotsApiGetSlotsByClubAdminRequest {
5213
- /**
5214
- * ID du club
5215
- * @type {string}
5216
- * @memberof AdminClubSlotsApiGetSlotsByClubAdmin
5217
- */
5218
- readonly id: string;
5219
- /**
5220
- * Date de début (format ISO)
5221
- * @type {string}
5222
- * @memberof AdminClubSlotsApiGetSlotsByClubAdmin
5223
- */
5224
- readonly start?: string;
5225
- /**
5226
- * Date de fin (format ISO)
5227
- * @type {string}
5228
- * @memberof AdminClubSlotsApiGetSlotsByClubAdmin
5229
- */
5230
- readonly end?: string;
5231
- }
5232
- /**
5233
- * AdminClubSlotsApi - object-oriented interface
5234
- * @export
5235
- * @class AdminClubSlotsApi
5236
- * @extends {BaseAPI}
5237
- */
5238
- export declare class AdminClubSlotsApi extends BaseAPI {
5239
- /**
5240
- *
5241
- * @summary Supprimer des créneaux pour un club sur une plage de dates (Admin uniquement)
5242
- * @param {AdminClubSlotsApiDeleteSlotsByClubInRangeByIDRequest} requestParameters Request parameters.
5243
- * @param {*} [options] Override http request option.
5244
- * @throws {RequiredError}
5245
- * @memberof AdminClubSlotsApi
5246
- */
5247
- deleteSlotsByClubInRangeByID(requestParameters: AdminClubSlotsApiDeleteSlotsByClubInRangeByIDRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSlotsResponse, any>>;
5248
- /**
5249
- *
5250
- * @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
5251
- * @param {AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest} requestParameters Request parameters.
5252
- * @param {*} [options] Override http request option.
5253
- * @throws {RequiredError}
5254
- * @memberof AdminClubSlotsApi
5255
- */
5256
- generateSlotsForNextThreeWeeks(requestParameters: AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateSlotsResponse, any>>;
5257
- /**
5258
- *
5259
- * @summary Récupérer tous les créneaux d\'un club (Admin)
5260
- * @param {AdminClubSlotsApiGetSlotsByClubAdminRequest} requestParameters Request parameters.
5261
- * @param {*} [options] Override http request option.
5262
- * @throws {RequiredError}
5263
- * @memberof AdminClubSlotsApi
5264
- */
5265
- getSlotsByClubAdmin(requestParameters: AdminClubSlotsApiGetSlotsByClubAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SlotsResponse, any>>;
5266
- }
5267
- /**
5268
- * AdminClubSubscriptionsApi - axios parameter creator
5269
- * @export
5270
- */
5271
- export declare const AdminClubSubscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
5272
- /**
5273
- *
5274
- * @summary Archiver un prix (Admin)
5275
- * @param {string} id
5276
- * @param {string} priceId
5277
- * @param {*} [options] Override http request option.
5278
- * @throws {RequiredError}
5279
- */
5280
- archivePriceForSubscriptionPlanAdmin: (id: string, priceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5281
- /**
5282
- *
5283
- * @summary Créer un prix pour un plan (Admin)
5284
- * @param {string} id
5285
- * @param {string} productId
5286
- * @param {CreatePriceRequest} createPriceRequest
5287
- * @param {*} [options] Override http request option.
5288
- * @throws {RequiredError}
5289
- */
5290
- createPriceForSubscriptionPlanAdmin: (id: string, productId: string, createPriceRequest: CreatePriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5291
- /**
5292
- *
5293
- * @summary Créer un plan d\'abonnement pour un club (Admin)
5294
- * @param {string} id
5295
- * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
5296
- * @param {*} [options] Override http request option.
5297
- * @throws {RequiredError}
5298
- */
5299
- createSubscriptionPlanForClubAdmin: (id: string, createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5300
- /**
5301
- *
5302
- * @summary Supprimer un plan (Admin)
5303
- * @param {string} id
5304
- * @param {string} productId
5305
- * @param {*} [options] Override http request option.
5306
- * @throws {RequiredError}
5307
- */
5308
- deleteSubscriptionPlanForClubAdmin: (id: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5309
- /**
5310
- *
5311
- * @summary Réactiver un plan (Admin)
5312
- * @param {string} id
5313
- * @param {string} productId
5314
- * @param {*} [options] Override http request option.
5315
- * @throws {RequiredError}
5316
- */
5317
- restoreSubscriptionPlanForClubAdmin: (id: string, productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5318
- /**
5319
- *
5320
- * @summary Réactiver un prix (Admin)
5321
- * @param {string} id
5322
- * @param {string} priceId
5323
- * @param {*} [options] Override http request option.
5324
- * @throws {RequiredError}
5325
- */
5326
- restoreSubscriptionPriceForClubAdmin: (id: string, priceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5327
- /**
5328
- *
5329
- * @summary Mettre à jour un plan (Admin)
5330
- * @param {string} id
5331
- * @param {string} priceId
5332
- * @param {UpdateSubscriptionPlanRequest} updateSubscriptionPlanRequest
5333
- * @param {*} [options] Override http request option.
5334
- * @throws {RequiredError}
5335
- */
5336
- updateSubscriptionPlanForClubAdmin: (id: string, priceId: string, updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5337
- };
5338
- /**
5339
- * AdminClubSubscriptionsApi - functional programming interface
5340
- * @export
5341
- */
5342
- export declare const AdminClubSubscriptionsApiFp: (configuration?: Configuration) => {
5343
- /**
5344
- *
5345
- * @summary Archiver un prix (Admin)
5346
- * @param {string} id
5347
- * @param {string} priceId
5348
- * @param {*} [options] Override http request option.
5349
- * @throws {RequiredError}
5350
- */
5351
- archivePriceForSubscriptionPlanAdmin(id: string, priceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5352
- /**
5353
- *
5354
- * @summary Créer un prix pour un plan (Admin)
5355
- * @param {string} id
5356
- * @param {string} productId
5357
- * @param {CreatePriceRequest} createPriceRequest
5358
- * @param {*} [options] Override http request option.
5359
- * @throws {RequiredError}
5360
- */
5361
- createPriceForSubscriptionPlanAdmin(id: string, productId: string, createPriceRequest: CreatePriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceResponse>>;
5362
- /**
5363
- *
5364
- * @summary Créer un plan d\'abonnement pour un club (Admin)
5365
- * @param {string} id
5366
- * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
5367
- * @param {*} [options] Override http request option.
5368
- * @throws {RequiredError}
5369
- */
5370
- createSubscriptionPlanForClubAdmin(id: string, createSubscriptionPlanRequest: CreateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionPlanResponse>>;
5371
- /**
5372
- *
5373
- * @summary Supprimer un plan (Admin)
5374
- * @param {string} id
5375
- * @param {string} productId
5376
- * @param {*} [options] Override http request option.
5377
- * @throws {RequiredError}
5378
- */
5379
- deleteSubscriptionPlanForClubAdmin(id: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5380
- /**
5381
- *
5382
- * @summary Réactiver un plan (Admin)
5383
- * @param {string} id
5384
- * @param {string} productId
5385
- * @param {*} [options] Override http request option.
5386
- * @throws {RequiredError}
5387
- */
5388
- restoreSubscriptionPlanForClubAdmin(id: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5389
- /**
5390
- *
5391
- * @summary Réactiver un prix (Admin)
5392
- * @param {string} id
5393
- * @param {string} priceId
5394
- * @param {*} [options] Override http request option.
5395
- * @throws {RequiredError}
5396
- */
5397
- restoreSubscriptionPriceForClubAdmin(id: string, priceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5398
- /**
5399
- *
5400
- * @summary Mettre à jour un plan (Admin)
5401
- * @param {string} id
5402
- * @param {string} priceId
5403
- * @param {UpdateSubscriptionPlanRequest} updateSubscriptionPlanRequest
5404
- * @param {*} [options] Override http request option.
5405
- * @throws {RequiredError}
5406
- */
5407
- updateSubscriptionPlanForClubAdmin(id: string, priceId: string, updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5408
- };
5409
- /**
5410
- * AdminClubSubscriptionsApi - factory interface
5411
- * @export
5412
- */
5413
- export declare const AdminClubSubscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5414
- /**
5415
- *
5416
- * @summary Archiver un prix (Admin)
5417
- * @param {AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdminRequest} requestParameters Request parameters.
5418
- * @param {*} [options] Override http request option.
5419
- * @throws {RequiredError}
5420
- */
5421
- archivePriceForSubscriptionPlanAdmin(requestParameters: AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5422
- /**
5423
- *
5424
- * @summary Créer un prix pour un plan (Admin)
5425
- * @param {AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdminRequest} requestParameters Request parameters.
5426
- * @param {*} [options] Override http request option.
5427
- * @throws {RequiredError}
5428
- */
5429
- createPriceForSubscriptionPlanAdmin(requestParameters: AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<PriceResponse>;
5430
- /**
5431
- *
5432
- * @summary Créer un plan d\'abonnement pour un club (Admin)
5433
- * @param {AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5434
- * @param {*} [options] Override http request option.
5435
- * @throws {RequiredError}
5436
- */
5437
- createSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionPlanResponse>;
5438
- /**
5439
- *
5440
- * @summary Supprimer un plan (Admin)
5441
- * @param {AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5442
- * @param {*} [options] Override http request option.
5443
- * @throws {RequiredError}
5444
- */
5445
- deleteSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5446
- /**
5447
- *
5448
- * @summary Réactiver un plan (Admin)
5449
- * @param {AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5450
- * @param {*} [options] Override http request option.
5451
- * @throws {RequiredError}
5452
- */
5453
- restoreSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5454
- /**
5455
- *
5456
- * @summary Réactiver un prix (Admin)
5457
- * @param {AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdminRequest} requestParameters Request parameters.
5458
- * @param {*} [options] Override http request option.
5459
- * @throws {RequiredError}
5460
- */
5461
- restoreSubscriptionPriceForClubAdmin(requestParameters: AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5462
- /**
5463
- *
5464
- * @summary Mettre à jour un plan (Admin)
5465
- * @param {AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5466
- * @param {*} [options] Override http request option.
5467
- * @throws {RequiredError}
5468
- */
5469
- updateSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5470
- };
5471
- /**
5472
- * Request parameters for archivePriceForSubscriptionPlanAdmin operation in AdminClubSubscriptionsApi.
5473
- * @export
5474
- * @interface AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdminRequest
5475
- */
5476
- export interface AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdminRequest {
5477
- /**
5478
- *
5479
- * @type {string}
5480
- * @memberof AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdmin
5481
- */
5482
- readonly id: string;
5483
- /**
5484
- *
5485
- * @type {string}
5486
- * @memberof AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdmin
5487
- */
5488
- readonly priceId: string;
5489
- }
5490
- /**
5491
- * Request parameters for createPriceForSubscriptionPlanAdmin operation in AdminClubSubscriptionsApi.
5492
- * @export
5493
- * @interface AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdminRequest
5494
- */
5495
- export interface AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdminRequest {
5496
- /**
5497
- *
5498
- * @type {string}
5499
- * @memberof AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdmin
5500
- */
5501
- readonly id: string;
5502
- /**
5503
- *
5504
- * @type {string}
5505
- * @memberof AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdmin
5506
- */
5507
- readonly productId: string;
5508
- /**
5509
- *
5510
- * @type {CreatePriceRequest}
5511
- * @memberof AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdmin
5512
- */
5513
- readonly createPriceRequest: CreatePriceRequest;
5514
- }
5515
- /**
5516
- * Request parameters for createSubscriptionPlanForClubAdmin operation in AdminClubSubscriptionsApi.
5517
- * @export
5518
- * @interface AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdminRequest
5519
- */
5520
- export interface AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdminRequest {
5521
- /**
5522
- *
5523
- * @type {string}
5524
- * @memberof AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdmin
5525
- */
5526
- readonly id: string;
5527
- /**
5528
- *
5529
- * @type {CreateSubscriptionPlanRequest}
5530
- * @memberof AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdmin
5531
- */
5532
- readonly createSubscriptionPlanRequest: CreateSubscriptionPlanRequest;
5533
- }
5534
- /**
5535
- * Request parameters for deleteSubscriptionPlanForClubAdmin operation in AdminClubSubscriptionsApi.
5536
- * @export
5537
- * @interface AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdminRequest
5538
- */
5539
- export interface AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdminRequest {
5540
- /**
5541
- *
5542
- * @type {string}
5543
- * @memberof AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdmin
5544
- */
5545
- readonly id: string;
5546
- /**
5547
- *
5548
- * @type {string}
5549
- * @memberof AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdmin
5550
- */
5551
- readonly productId: string;
5552
- }
5553
- /**
5554
- * Request parameters for restoreSubscriptionPlanForClubAdmin operation in AdminClubSubscriptionsApi.
5555
- * @export
5556
- * @interface AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdminRequest
5557
- */
5558
- export interface AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdminRequest {
5559
- /**
5560
- *
5561
- * @type {string}
5562
- * @memberof AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdmin
5563
- */
5564
- readonly id: string;
5565
- /**
5566
- *
5567
- * @type {string}
5568
- * @memberof AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdmin
5569
- */
5570
- readonly productId: string;
5571
- }
5572
- /**
5573
- * Request parameters for restoreSubscriptionPriceForClubAdmin operation in AdminClubSubscriptionsApi.
5574
- * @export
5575
- * @interface AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdminRequest
5576
- */
5577
- export interface AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdminRequest {
5578
- /**
5579
- *
5580
- * @type {string}
5581
- * @memberof AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdmin
5582
- */
5583
- readonly id: string;
5584
- /**
5585
- *
5586
- * @type {string}
5587
- * @memberof AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdmin
5588
- */
5589
- readonly priceId: string;
5590
- }
5591
- /**
5592
- * Request parameters for updateSubscriptionPlanForClubAdmin operation in AdminClubSubscriptionsApi.
5593
- * @export
5594
- * @interface AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdminRequest
5595
- */
5596
- export interface AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdminRequest {
5597
- /**
5598
- *
5599
- * @type {string}
5600
- * @memberof AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdmin
5601
- */
5602
- readonly id: string;
5603
- /**
5604
- *
5605
- * @type {string}
5606
- * @memberof AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdmin
5607
- */
5608
- readonly priceId: string;
5609
- /**
5610
- *
5611
- * @type {UpdateSubscriptionPlanRequest}
5612
- * @memberof AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdmin
5613
- */
5614
- readonly updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest;
5615
- }
5616
- /**
5617
- * AdminClubSubscriptionsApi - object-oriented interface
5618
- * @export
5619
- * @class AdminClubSubscriptionsApi
5620
- * @extends {BaseAPI}
5621
- */
5622
- export declare class AdminClubSubscriptionsApi extends BaseAPI {
5623
- /**
5624
- *
5625
- * @summary Archiver un prix (Admin)
5626
- * @param {AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdminRequest} requestParameters Request parameters.
5627
- * @param {*} [options] Override http request option.
5628
- * @throws {RequiredError}
5629
- * @memberof AdminClubSubscriptionsApi
5630
- */
5631
- archivePriceForSubscriptionPlanAdmin(requestParameters: AdminClubSubscriptionsApiArchivePriceForSubscriptionPlanAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
5632
- /**
5633
- *
5634
- * @summary Créer un prix pour un plan (Admin)
5635
- * @param {AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdminRequest} requestParameters Request parameters.
5636
- * @param {*} [options] Override http request option.
5637
- * @throws {RequiredError}
5638
- * @memberof AdminClubSubscriptionsApi
5639
- */
5640
- createPriceForSubscriptionPlanAdmin(requestParameters: AdminClubSubscriptionsApiCreatePriceForSubscriptionPlanAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceResponse, any>>;
5641
- /**
5642
- *
5643
- * @summary Créer un plan d\'abonnement pour un club (Admin)
5644
- * @param {AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5645
- * @param {*} [options] Override http request option.
5646
- * @throws {RequiredError}
5647
- * @memberof AdminClubSubscriptionsApi
5648
- */
5649
- createSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiCreateSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionPlanResponse, any>>;
4630
+ 'firstName'?: string;
5650
4631
  /**
5651
4632
  *
5652
- * @summary Supprimer un plan (Admin)
5653
- * @param {AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5654
- * @param {*} [options] Override http request option.
5655
- * @throws {RequiredError}
5656
- * @memberof AdminClubSubscriptionsApi
4633
+ * @type {string}
4634
+ * @memberof UserStaffResponse
5657
4635
  */
5658
- deleteSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiDeleteSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4636
+ 'lastName'?: string;
5659
4637
  /**
5660
4638
  *
5661
- * @summary Réactiver un plan (Admin)
5662
- * @param {AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5663
- * @param {*} [options] Override http request option.
5664
- * @throws {RequiredError}
5665
- * @memberof AdminClubSubscriptionsApi
4639
+ * @type {string}
4640
+ * @memberof UserStaffResponse
5666
4641
  */
5667
- restoreSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiRestoreSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4642
+ 'profilePicture'?: string | null;
5668
4643
  /**
5669
4644
  *
5670
- * @summary Réactiver un prix (Admin)
5671
- * @param {AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdminRequest} requestParameters Request parameters.
5672
- * @param {*} [options] Override http request option.
5673
- * @throws {RequiredError}
5674
- * @memberof AdminClubSubscriptionsApi
4645
+ * @type {boolean}
4646
+ * @memberof UserStaffResponse
5675
4647
  */
5676
- restoreSubscriptionPriceForClubAdmin(requestParameters: AdminClubSubscriptionsApiRestoreSubscriptionPriceForClubAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4648
+ 'isAccountVerified'?: boolean;
5677
4649
  /**
5678
4650
  *
5679
- * @summary Mettre à jour un plan (Admin)
5680
- * @param {AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdminRequest} requestParameters Request parameters.
5681
- * @param {*} [options] Override http request option.
5682
- * @throws {RequiredError}
5683
- * @memberof AdminClubSubscriptionsApi
4651
+ * @type {boolean}
4652
+ * @memberof UserStaffResponse
5684
4653
  */
5685
- updateSubscriptionPlanForClubAdmin(requestParameters: AdminClubSubscriptionsApiUpdateSubscriptionPlanForClubAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4654
+ 'isProfileVisible'?: boolean;
5686
4655
  }
5687
4656
  /**
5688
- * AdminClubsApi - axios parameter creator
5689
- * @export
5690
- */
5691
- export declare const AdminClubsApiAxiosParamCreator: (configuration?: Configuration) => {
5692
- /**
5693
- *
5694
- * @summary Supprimer un club (Admin uniquement)
5695
- * @param {string} id ID du club
5696
- * @param {*} [options] Override http request option.
5697
- * @throws {RequiredError}
5698
- */
5699
- deleteClub: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5700
- /**
5701
- *
5702
- * @summary Obtenir les infos d\'un club (Admin)
5703
- * @param {string} id
5704
- * @param {*} [options] Override http request option.
5705
- * @throws {RequiredError}
5706
- */
5707
- getClubInfosAdmin: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5708
- /**
5709
- *
5710
- * @summary Mettre à jour les infos d\'un club (Admin)
5711
- * @param {string} id
5712
- * @param {object} body
5713
- * @param {*} [options] Override http request option.
5714
- * @throws {RequiredError}
5715
- */
5716
- updateClubInfosAdmin: (id: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5717
- };
5718
- /**
5719
- * AdminClubsApi - functional programming interface
5720
- * @export
5721
- */
5722
- export declare const AdminClubsApiFp: (configuration?: Configuration) => {
5723
- /**
5724
- *
5725
- * @summary Supprimer un club (Admin uniquement)
5726
- * @param {string} id ID du club
5727
- * @param {*} [options] Override http request option.
5728
- * @throws {RequiredError}
5729
- */
5730
- deleteClub(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteClub200Response>>;
5731
- /**
5732
- *
5733
- * @summary Obtenir les infos d\'un club (Admin)
5734
- * @param {string} id
5735
- * @param {*} [options] Override http request option.
5736
- * @throws {RequiredError}
5737
- */
5738
- getClubInfosAdmin(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
5739
- /**
5740
- *
5741
- * @summary Mettre à jour les infos d\'un club (Admin)
5742
- * @param {string} id
5743
- * @param {object} body
5744
- * @param {*} [options] Override http request option.
5745
- * @throws {RequiredError}
5746
- */
5747
- updateClubInfosAdmin(id: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
5748
- };
5749
- /**
5750
- * AdminClubsApi - factory interface
4657
+ *
5751
4658
  * @export
4659
+ * @interface YearlyTurnoverResponse
5752
4660
  */
5753
- export declare const AdminClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5754
- /**
5755
- *
5756
- * @summary Supprimer un club (Admin uniquement)
5757
- * @param {AdminClubsApiDeleteClubRequest} requestParameters Request parameters.
5758
- * @param {*} [options] Override http request option.
5759
- * @throws {RequiredError}
5760
- */
5761
- deleteClub(requestParameters: AdminClubsApiDeleteClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteClub200Response>;
5762
- /**
5763
- *
5764
- * @summary Obtenir les infos d\'un club (Admin)
5765
- * @param {AdminClubsApiGetClubInfosAdminRequest} requestParameters Request parameters.
5766
- * @param {*} [options] Override http request option.
5767
- * @throws {RequiredError}
5768
- */
5769
- getClubInfosAdmin(requestParameters: AdminClubsApiGetClubInfosAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
4661
+ export interface YearlyTurnoverResponse {
5770
4662
  /**
5771
4663
  *
5772
- * @summary Mettre à jour les infos d\'un club (Admin)
5773
- * @param {AdminClubsApiUpdateClubInfosAdminRequest} requestParameters Request parameters.
5774
- * @param {*} [options] Override http request option.
5775
- * @throws {RequiredError}
5776
- */
5777
- updateClubInfosAdmin(requestParameters: AdminClubsApiUpdateClubInfosAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
5778
- };
5779
- /**
5780
- * Request parameters for deleteClub operation in AdminClubsApi.
5781
- * @export
5782
- * @interface AdminClubsApiDeleteClubRequest
5783
- */
5784
- export interface AdminClubsApiDeleteClubRequest {
5785
- /**
5786
- * ID du club
5787
- * @type {string}
5788
- * @memberof AdminClubsApiDeleteClub
4664
+ * @type {number}
4665
+ * @memberof YearlyTurnoverResponse
5789
4666
  */
5790
- readonly id: string;
5791
- }
5792
- /**
5793
- * Request parameters for getClubInfosAdmin operation in AdminClubsApi.
5794
- * @export
5795
- * @interface AdminClubsApiGetClubInfosAdminRequest
5796
- */
5797
- export interface AdminClubsApiGetClubInfosAdminRequest {
4667
+ 'year'?: number;
5798
4668
  /**
5799
4669
  *
5800
- * @type {string}
5801
- * @memberof AdminClubsApiGetClubInfosAdmin
4670
+ * @type {number}
4671
+ * @memberof YearlyTurnoverResponse
5802
4672
  */
5803
- readonly id: string;
5804
- }
5805
- /**
5806
- * Request parameters for updateClubInfosAdmin operation in AdminClubsApi.
5807
- * @export
5808
- * @interface AdminClubsApiUpdateClubInfosAdminRequest
5809
- */
5810
- export interface AdminClubsApiUpdateClubInfosAdminRequest {
4673
+ 'totalTurnover'?: number;
5811
4674
  /**
5812
4675
  *
5813
- * @type {string}
5814
- * @memberof AdminClubsApiUpdateClubInfosAdmin
4676
+ * @type {number}
4677
+ * @memberof YearlyTurnoverResponse
5815
4678
  */
5816
- readonly id: string;
4679
+ 'totalInvoices'?: number;
5817
4680
  /**
5818
4681
  *
5819
- * @type {object}
5820
- * @memberof AdminClubsApiUpdateClubInfosAdmin
4682
+ * @type {Array<YearlyTurnoverResponseMonthlyBreakdownInner>}
4683
+ * @memberof YearlyTurnoverResponse
5821
4684
  */
5822
- readonly body: object;
4685
+ 'monthlyBreakdown'?: Array<YearlyTurnoverResponseMonthlyBreakdownInner>;
5823
4686
  }
5824
4687
  /**
5825
- * AdminClubsApi - object-oriented interface
4688
+ *
5826
4689
  * @export
5827
- * @class AdminClubsApi
5828
- * @extends {BaseAPI}
4690
+ * @interface YearlyTurnoverResponseMonthlyBreakdownInner
5829
4691
  */
5830
- export declare class AdminClubsApi extends BaseAPI {
4692
+ export interface YearlyTurnoverResponseMonthlyBreakdownInner {
5831
4693
  /**
5832
4694
  *
5833
- * @summary Supprimer un club (Admin uniquement)
5834
- * @param {AdminClubsApiDeleteClubRequest} requestParameters Request parameters.
5835
- * @param {*} [options] Override http request option.
5836
- * @throws {RequiredError}
5837
- * @memberof AdminClubsApi
4695
+ * @type {number}
4696
+ * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5838
4697
  */
5839
- deleteClub(requestParameters: AdminClubsApiDeleteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteClub200Response, any>>;
4698
+ 'month'?: number;
5840
4699
  /**
5841
4700
  *
5842
- * @summary Obtenir les infos d\'un club (Admin)
5843
- * @param {AdminClubsApiGetClubInfosAdminRequest} requestParameters Request parameters.
5844
- * @param {*} [options] Override http request option.
5845
- * @throws {RequiredError}
5846
- * @memberof AdminClubsApi
4701
+ * @type {number}
4702
+ * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5847
4703
  */
5848
- getClubInfosAdmin(requestParameters: AdminClubsApiGetClubInfosAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
4704
+ 'monthlyTurnover'?: number;
5849
4705
  /**
5850
4706
  *
5851
- * @summary Mettre à jour les infos d\'un club (Admin)
5852
- * @param {AdminClubsApiUpdateClubInfosAdminRequest} requestParameters Request parameters.
5853
- * @param {*} [options] Override http request option.
5854
- * @throws {RequiredError}
5855
- * @memberof AdminClubsApi
4707
+ * @type {number}
4708
+ * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5856
4709
  */
5857
- updateClubInfosAdmin(requestParameters: AdminClubsApiUpdateClubInfosAdminRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
4710
+ 'invoiceCount'?: number;
5858
4711
  }
5859
4712
  /**
5860
4713
  * ClubAnalyticsApi - axios parameter creator
@@ -6455,6 +5308,14 @@ export declare const ManagerClubCourtsApiAxiosParamCreator: (configuration?: Con
6455
5308
  * @throws {RequiredError}
6456
5309
  */
6457
5310
  createCourtForClub: (createCourtRequest: CreateCourtRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5311
+ /**
5312
+ *
5313
+ * @summary Supprimer un terrain et ses créneaux futurs
5314
+ * @param {string} courtId ID du terrain à supprimer
5315
+ * @param {*} [options] Override http request option.
5316
+ * @throws {RequiredError}
5317
+ */
5318
+ deleteCourt: (courtId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6458
5319
  /**
6459
5320
  *
6460
5321
  * @summary Récupérer tous les terrains du club courant
@@ -6462,6 +5323,15 @@ export declare const ManagerClubCourtsApiAxiosParamCreator: (configuration?: Con
6462
5323
  * @throws {RequiredError}
6463
5324
  */
6464
5325
  getCourtsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5326
+ /**
5327
+ *
5328
+ * @summary Mettre à jour un terrain du club courant
5329
+ * @param {string} courtId ID du terrain à mettre à jour
5330
+ * @param {UpdateCourtRequest} updateCourtRequest
5331
+ * @param {*} [options] Override http request option.
5332
+ * @throws {RequiredError}
5333
+ */
5334
+ updateCourt: (courtId: string, updateCourtRequest: UpdateCourtRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6465
5335
  };
6466
5336
  /**
6467
5337
  * ManagerClubCourtsApi - functional programming interface
@@ -6476,6 +5346,14 @@ export declare const ManagerClubCourtsApiFp: (configuration?: Configuration) =>
6476
5346
  * @throws {RequiredError}
6477
5347
  */
6478
5348
  createCourtForClub(createCourtRequest: CreateCourtRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourtResponse>>;
5349
+ /**
5350
+ *
5351
+ * @summary Supprimer un terrain et ses créneaux futurs
5352
+ * @param {string} courtId ID du terrain à supprimer
5353
+ * @param {*} [options] Override http request option.
5354
+ * @throws {RequiredError}
5355
+ */
5356
+ deleteCourt(courtId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourtDeleteResponse>>;
6479
5357
  /**
6480
5358
  *
6481
5359
  * @summary Récupérer tous les terrains du club courant
@@ -6483,6 +5361,15 @@ export declare const ManagerClubCourtsApiFp: (configuration?: Configuration) =>
6483
5361
  * @throws {RequiredError}
6484
5362
  */
6485
5363
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourtsResponse>>;
5364
+ /**
5365
+ *
5366
+ * @summary Mettre à jour un terrain du club courant
5367
+ * @param {string} courtId ID du terrain à mettre à jour
5368
+ * @param {UpdateCourtRequest} updateCourtRequest
5369
+ * @param {*} [options] Override http request option.
5370
+ * @throws {RequiredError}
5371
+ */
5372
+ updateCourt(courtId: string, updateCourtRequest: UpdateCourtRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourtResponse>>;
6486
5373
  };
6487
5374
  /**
6488
5375
  * ManagerClubCourtsApi - factory interface
@@ -6497,6 +5384,14 @@ export declare const ManagerClubCourtsApiFactory: (configuration?: Configuration
6497
5384
  * @throws {RequiredError}
6498
5385
  */
6499
5386
  createCourtForClub(requestParameters: ManagerClubCourtsApiCreateCourtForClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<CourtResponse>;
5387
+ /**
5388
+ *
5389
+ * @summary Supprimer un terrain et ses créneaux futurs
5390
+ * @param {ManagerClubCourtsApiDeleteCourtRequest} requestParameters Request parameters.
5391
+ * @param {*} [options] Override http request option.
5392
+ * @throws {RequiredError}
5393
+ */
5394
+ deleteCourt(requestParameters: ManagerClubCourtsApiDeleteCourtRequest, options?: RawAxiosRequestConfig): AxiosPromise<CourtDeleteResponse>;
6500
5395
  /**
6501
5396
  *
6502
5397
  * @summary Récupérer tous les terrains du club courant
@@ -6504,6 +5399,14 @@ export declare const ManagerClubCourtsApiFactory: (configuration?: Configuration
6504
5399
  * @throws {RequiredError}
6505
5400
  */
6506
5401
  getCourtsByClub(options?: RawAxiosRequestConfig): AxiosPromise<CourtsResponse>;
5402
+ /**
5403
+ *
5404
+ * @summary Mettre à jour un terrain du club courant
5405
+ * @param {ManagerClubCourtsApiUpdateCourtRequest} requestParameters Request parameters.
5406
+ * @param {*} [options] Override http request option.
5407
+ * @throws {RequiredError}
5408
+ */
5409
+ updateCourt(requestParameters: ManagerClubCourtsApiUpdateCourtRequest, options?: RawAxiosRequestConfig): AxiosPromise<CourtResponse>;
6507
5410
  };
6508
5411
  /**
6509
5412
  * Request parameters for createCourtForClub operation in ManagerClubCourtsApi.
@@ -6518,6 +5421,38 @@ export interface ManagerClubCourtsApiCreateCourtForClubRequest {
6518
5421
  */
6519
5422
  readonly createCourtRequest: CreateCourtRequest;
6520
5423
  }
5424
+ /**
5425
+ * Request parameters for deleteCourt operation in ManagerClubCourtsApi.
5426
+ * @export
5427
+ * @interface ManagerClubCourtsApiDeleteCourtRequest
5428
+ */
5429
+ export interface ManagerClubCourtsApiDeleteCourtRequest {
5430
+ /**
5431
+ * ID du terrain à supprimer
5432
+ * @type {string}
5433
+ * @memberof ManagerClubCourtsApiDeleteCourt
5434
+ */
5435
+ readonly courtId: string;
5436
+ }
5437
+ /**
5438
+ * Request parameters for updateCourt operation in ManagerClubCourtsApi.
5439
+ * @export
5440
+ * @interface ManagerClubCourtsApiUpdateCourtRequest
5441
+ */
5442
+ export interface ManagerClubCourtsApiUpdateCourtRequest {
5443
+ /**
5444
+ * ID du terrain à mettre à jour
5445
+ * @type {string}
5446
+ * @memberof ManagerClubCourtsApiUpdateCourt
5447
+ */
5448
+ readonly courtId: string;
5449
+ /**
5450
+ *
5451
+ * @type {UpdateCourtRequest}
5452
+ * @memberof ManagerClubCourtsApiUpdateCourt
5453
+ */
5454
+ readonly updateCourtRequest: UpdateCourtRequest;
5455
+ }
6521
5456
  /**
6522
5457
  * ManagerClubCourtsApi - object-oriented interface
6523
5458
  * @export
@@ -6534,6 +5469,15 @@ export declare class ManagerClubCourtsApi extends BaseAPI {
6534
5469
  * @memberof ManagerClubCourtsApi
6535
5470
  */
6536
5471
  createCourtForClub(requestParameters: ManagerClubCourtsApiCreateCourtForClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtResponse, any>>;
5472
+ /**
5473
+ *
5474
+ * @summary Supprimer un terrain et ses créneaux futurs
5475
+ * @param {ManagerClubCourtsApiDeleteCourtRequest} requestParameters Request parameters.
5476
+ * @param {*} [options] Override http request option.
5477
+ * @throws {RequiredError}
5478
+ * @memberof ManagerClubCourtsApi
5479
+ */
5480
+ deleteCourt(requestParameters: ManagerClubCourtsApiDeleteCourtRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtDeleteResponse, any>>;
6537
5481
  /**
6538
5482
  *
6539
5483
  * @summary Récupérer tous les terrains du club courant
@@ -6542,6 +5486,15 @@ export declare class ManagerClubCourtsApi extends BaseAPI {
6542
5486
  * @memberof ManagerClubCourtsApi
6543
5487
  */
6544
5488
  getCourtsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtsResponse, any>>;
5489
+ /**
5490
+ *
5491
+ * @summary Mettre à jour un terrain du club courant
5492
+ * @param {ManagerClubCourtsApiUpdateCourtRequest} requestParameters Request parameters.
5493
+ * @param {*} [options] Override http request option.
5494
+ * @throws {RequiredError}
5495
+ * @memberof ManagerClubCourtsApi
5496
+ */
5497
+ updateCourt(requestParameters: ManagerClubCourtsApiUpdateCourtRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtResponse, any>>;
6545
5498
  }
6546
5499
  /**
6547
5500
  * ManagerClubRolesApi - axios parameter creator
@@ -7708,14 +6661,6 @@ export declare class ManagerEventsApi extends BaseAPI {
7708
6661
  * @export
7709
6662
  */
7710
6663
  export declare const ManagerSportsApiAxiosParamCreator: (configuration?: Configuration) => {
7711
- /**
7712
- *
7713
- * @summary Créer un sport dans un club
7714
- * @param {CreateSportRequest} createSportRequest
7715
- * @param {*} [options] Override http request option.
7716
- * @throws {RequiredError}
7717
- */
7718
- createSport: (createSportRequest: CreateSportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7719
6664
  /**
7720
6665
  *
7721
6666
  * @summary Supprimer un sport
@@ -7739,14 +6684,6 @@ export declare const ManagerSportsApiAxiosParamCreator: (configuration?: Configu
7739
6684
  * @export
7740
6685
  */
7741
6686
  export declare const ManagerSportsApiFp: (configuration?: Configuration) => {
7742
- /**
7743
- *
7744
- * @summary Créer un sport dans un club
7745
- * @param {CreateSportRequest} createSportRequest
7746
- * @param {*} [options] Override http request option.
7747
- * @throws {RequiredError}
7748
- */
7749
- createSport(createSportRequest: CreateSportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportResponse>>;
7750
6687
  /**
7751
6688
  *
7752
6689
  * @summary Supprimer un sport
@@ -7770,14 +6707,6 @@ export declare const ManagerSportsApiFp: (configuration?: Configuration) => {
7770
6707
  * @export
7771
6708
  */
7772
6709
  export declare const ManagerSportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
7773
- /**
7774
- *
7775
- * @summary Créer un sport dans un club
7776
- * @param {ManagerSportsApiCreateSportRequest} requestParameters Request parameters.
7777
- * @param {*} [options] Override http request option.
7778
- * @throws {RequiredError}
7779
- */
7780
- createSport(requestParameters: ManagerSportsApiCreateSportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportResponse>;
7781
6710
  /**
7782
6711
  *
7783
6712
  * @summary Supprimer un sport
@@ -7795,19 +6724,6 @@ export declare const ManagerSportsApiFactory: (configuration?: Configuration, ba
7795
6724
  */
7796
6725
  updateSport(requestParameters: ManagerSportsApiUpdateSportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportResponse>;
7797
6726
  };
7798
- /**
7799
- * Request parameters for createSport operation in ManagerSportsApi.
7800
- * @export
7801
- * @interface ManagerSportsApiCreateSportRequest
7802
- */
7803
- export interface ManagerSportsApiCreateSportRequest {
7804
- /**
7805
- *
7806
- * @type {CreateSportRequest}
7807
- * @memberof ManagerSportsApiCreateSport
7808
- */
7809
- readonly createSportRequest: CreateSportRequest;
7810
- }
7811
6727
  /**
7812
6728
  * Request parameters for deleteSport operation in ManagerSportsApi.
7813
6729
  * @export
@@ -7847,15 +6763,6 @@ export interface ManagerSportsApiUpdateSportRequest {
7847
6763
  * @extends {BaseAPI}
7848
6764
  */
7849
6765
  export declare class ManagerSportsApi extends BaseAPI {
7850
- /**
7851
- *
7852
- * @summary Créer un sport dans un club
7853
- * @param {ManagerSportsApiCreateSportRequest} requestParameters Request parameters.
7854
- * @param {*} [options] Override http request option.
7855
- * @throws {RequiredError}
7856
- * @memberof ManagerSportsApi
7857
- */
7858
- createSport(requestParameters: ManagerSportsApiCreateSportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse, any>>;
7859
6766
  /**
7860
6767
  *
7861
6768
  * @summary Supprimer un sport
@@ -7880,6 +6787,13 @@ export declare class ManagerSportsApi extends BaseAPI {
7880
6787
  * @export
7881
6788
  */
7882
6789
  export declare const StaffClubAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
6790
+ /**
6791
+ *
6792
+ * @summary Récupère la liste des joueurs du club (données staff uniquement)
6793
+ * @param {*} [options] Override http request option.
6794
+ * @throws {RequiredError}
6795
+ */
6796
+ getClubPlayers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7883
6797
  /**
7884
6798
  *
7885
6799
  * @summary Get monthly turnover for the last six months (club courant)
@@ -7901,6 +6815,13 @@ export declare const StaffClubAnalyticsApiAxiosParamCreator: (configuration?: Co
7901
6815
  * @export
7902
6816
  */
7903
6817
  export declare const StaffClubAnalyticsApiFp: (configuration?: Configuration) => {
6818
+ /**
6819
+ *
6820
+ * @summary Récupère la liste des joueurs du club (données staff uniquement)
6821
+ * @param {*} [options] Override http request option.
6822
+ * @throws {RequiredError}
6823
+ */
6824
+ getClubPlayers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubPlayers200Response>>;
7904
6825
  /**
7905
6826
  *
7906
6827
  * @summary Get monthly turnover for the last six months (club courant)
@@ -7922,6 +6843,13 @@ export declare const StaffClubAnalyticsApiFp: (configuration?: Configuration) =>
7922
6843
  * @export
7923
6844
  */
7924
6845
  export declare const StaffClubAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6846
+ /**
6847
+ *
6848
+ * @summary Récupère la liste des joueurs du club (données staff uniquement)
6849
+ * @param {*} [options] Override http request option.
6850
+ * @throws {RequiredError}
6851
+ */
6852
+ getClubPlayers(options?: RawAxiosRequestConfig): AxiosPromise<GetClubPlayers200Response>;
7925
6853
  /**
7926
6854
  *
7927
6855
  * @summary Get monthly turnover for the last six months (club courant)
@@ -7958,6 +6886,14 @@ export interface StaffClubAnalyticsApiGetNumberOfClubUsersRequest {
7958
6886
  * @extends {BaseAPI}
7959
6887
  */
7960
6888
  export declare class StaffClubAnalyticsApi extends BaseAPI {
6889
+ /**
6890
+ *
6891
+ * @summary Récupère la liste des joueurs du club (données staff uniquement)
6892
+ * @param {*} [options] Override http request option.
6893
+ * @throws {RequiredError}
6894
+ * @memberof StaffClubAnalyticsApi
6895
+ */
6896
+ getClubPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubPlayers200Response, any>>;
7961
6897
  /**
7962
6898
  *
7963
6899
  * @summary Get monthly turnover for the last six months (club courant)
@@ -8050,6 +6986,13 @@ export declare const StaffClubsApiAxiosParamCreator: (configuration?: Configurat
8050
6986
  * @throws {RequiredError}
8051
6987
  */
8052
6988
  getClubSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6989
+ /**
6990
+ *
6991
+ * @summary Récupère la liste des sports du club courant
6992
+ * @param {*} [options] Override http request option.
6993
+ * @throws {RequiredError}
6994
+ */
6995
+ getSports: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8053
6996
  };
8054
6997
  /**
8055
6998
  * StaffClubsApi - functional programming interface
@@ -8070,6 +7013,13 @@ export declare const StaffClubsApiFp: (configuration?: Configuration) => {
8070
7013
  * @throws {RequiredError}
8071
7014
  */
8072
7015
  getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
7016
+ /**
7017
+ *
7018
+ * @summary Récupère la liste des sports du club courant
7019
+ * @param {*} [options] Override http request option.
7020
+ * @throws {RequiredError}
7021
+ */
7022
+ getSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportsResponse>>;
8073
7023
  };
8074
7024
  /**
8075
7025
  * StaffClubsApi - factory interface
@@ -8090,6 +7040,13 @@ export declare const StaffClubsApiFactory: (configuration?: Configuration, baseP
8090
7040
  * @throws {RequiredError}
8091
7041
  */
8092
7042
  getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
7043
+ /**
7044
+ *
7045
+ * @summary Récupère la liste des sports du club courant
7046
+ * @param {*} [options] Override http request option.
7047
+ * @throws {RequiredError}
7048
+ */
7049
+ getSports(options?: RawAxiosRequestConfig): AxiosPromise<SportsResponse>;
8093
7050
  };
8094
7051
  /**
8095
7052
  * StaffClubsApi - object-oriented interface
@@ -8114,6 +7071,14 @@ export declare class StaffClubsApi extends BaseAPI {
8114
7071
  * @memberof StaffClubsApi
8115
7072
  */
8116
7073
  getClubSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
7074
+ /**
7075
+ *
7076
+ * @summary Récupère la liste des sports du club courant
7077
+ * @param {*} [options] Override http request option.
7078
+ * @throws {RequiredError}
7079
+ * @memberof StaffClubsApi
7080
+ */
7081
+ getSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportsResponse, any>>;
8117
7082
  }
8118
7083
  /**
8119
7084
  * StaffEventsApi - axios parameter creator