@tennac-booking/sdk 1.0.33 → 1.0.35

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 (54) hide show
  1. package/.openapi-generator/FILES +12 -2
  2. package/README.md +21 -4
  3. package/api.ts +1575 -146
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1054 -77
  8. package/dist/api.js +759 -4
  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 +1054 -77
  16. package/dist/esm/api.js +748 -1
  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/ActiveClub.md +4 -0
  28. package/docs/BookingHistoryResponse.md +22 -0
  29. package/docs/BookingHistoryResponseHistoryInner.md +32 -0
  30. package/docs/BookingPopulated.md +2 -0
  31. package/docs/BookingsApi.md +113 -0
  32. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +20 -0
  33. package/docs/Club.md +2 -2
  34. package/docs/CourtWithNameResponse.md +48 -0
  35. package/docs/{SportsResponse.md → CourtsWithNameResponse.md} +5 -5
  36. package/docs/GenderPercentage.md +26 -0
  37. package/docs/Location.md +32 -0
  38. package/docs/ManagerClubCourtsApi.md +2 -2
  39. package/docs/PaymentStatus.md +30 -0
  40. package/docs/Sport.md +0 -2
  41. package/docs/SportResponse.md +4 -0
  42. package/docs/StaffClubAnalyticsApi.md +49 -2
  43. package/docs/StaffClubsApi.md +2 -2
  44. package/docs/UpdateUserRequestBody.md +8 -2
  45. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
  46. package/docs/UserBookingItem.md +46 -0
  47. package/docs/UserBookingsApi.md +46 -0
  48. package/docs/UserClubSportsApi.md +2 -2
  49. package/docs/UserProfileApi.md +53 -0
  50. package/docs/UserStaffResponse.md +6 -0
  51. package/docs/UsersApi.md +243 -0
  52. package/index.ts +1 -1
  53. package/package.json +1 -1
  54. package/docs/GetClubPlayers200Response.md +0 -22
package/dist/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.33
5
+ * The version of the OpenAPI document: 1.0.35
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,12 +25,24 @@ export interface ActiveClub {
25
25
  * @memberof ActiveClub
26
26
  */
27
27
  '_id'?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ActiveClub
32
+ */
33
+ 'picture'?: string;
28
34
  /**
29
35
  *
30
36
  * @type {string}
31
37
  * @memberof ActiveClub
32
38
  */
33
39
  'name'?: string;
40
+ /**
41
+ *
42
+ * @type {Location}
43
+ * @memberof ActiveClub
44
+ */
45
+ 'location'?: Location;
34
46
  /**
35
47
  *
36
48
  * @type {boolean}
@@ -240,6 +252,74 @@ export interface Booking {
240
252
  */
241
253
  'slotId': string;
242
254
  }
255
+ /**
256
+ *
257
+ * @export
258
+ * @interface BookingHistoryResponse
259
+ */
260
+ export interface BookingHistoryResponse {
261
+ /**
262
+ * ID de la réservation
263
+ * @type {string}
264
+ * @memberof BookingHistoryResponse
265
+ */
266
+ 'bookingId'?: string;
267
+ /**
268
+ *
269
+ * @type {Array<BookingHistoryResponseHistoryInner>}
270
+ * @memberof BookingHistoryResponse
271
+ */
272
+ 'history'?: Array<BookingHistoryResponseHistoryInner>;
273
+ }
274
+ /**
275
+ *
276
+ * @export
277
+ * @interface BookingHistoryResponseHistoryInner
278
+ */
279
+ export interface BookingHistoryResponseHistoryInner {
280
+ /**
281
+ * ID du créneau réservé
282
+ * @type {string}
283
+ * @memberof BookingHistoryResponseHistoryInner
284
+ */
285
+ 'slotId'?: string;
286
+ /**
287
+ * ID de l\'utilisateur qui a effectué la réservation
288
+ * @type {string}
289
+ * @memberof BookingHistoryResponseHistoryInner
290
+ */
291
+ 'userId'?: string;
292
+ /**
293
+ * Statut de la réservation (active, cancelled, completed)
294
+ * @type {string}
295
+ * @memberof BookingHistoryResponseHistoryInner
296
+ */
297
+ 'status'?: string;
298
+ /**
299
+ * Prix total de la réservation
300
+ * @type {number}
301
+ * @memberof BookingHistoryResponseHistoryInner
302
+ */
303
+ 'totalPrice'?: number;
304
+ /**
305
+ * Statut du paiement (paid, pending, cancelled)
306
+ * @type {string}
307
+ * @memberof BookingHistoryResponseHistoryInner
308
+ */
309
+ 'paymentStatus'?: string;
310
+ /**
311
+ * Date et heure de la création de la réservation
312
+ * @type {string}
313
+ * @memberof BookingHistoryResponseHistoryInner
314
+ */
315
+ 'createdAt'?: string;
316
+ /**
317
+ * Date et heure de la dernière mise à jour de la réservation
318
+ * @type {string}
319
+ * @memberof BookingHistoryResponseHistoryInner
320
+ */
321
+ 'updatedAt'?: string;
322
+ }
243
323
  /**
244
324
  *
245
325
  * @export
@@ -429,6 +509,12 @@ export interface BookingPopulated {
429
509
  * @memberof BookingPopulated
430
510
  */
431
511
  'slotId'?: BookingPopulatedSlotId;
512
+ /**
513
+ *
514
+ * @type {number}
515
+ * @memberof BookingPopulated
516
+ */
517
+ 'playersCount'?: number;
432
518
  /**
433
519
  *
434
520
  * @type {Array<BookingPopulatedPaymentByPlayersStatusInner>}
@@ -613,6 +699,19 @@ export declare const BookingStatus: {
613
699
  readonly Inactive: "inactive";
614
700
  };
615
701
  export type BookingStatus = typeof BookingStatus[keyof typeof BookingStatus];
702
+ /**
703
+ *
704
+ * @export
705
+ * @interface BookingsStaffWeeklyWeekIdGet200Response
706
+ */
707
+ export interface BookingsStaffWeeklyWeekIdGet200Response {
708
+ /**
709
+ *
710
+ * @type {Array<BookingPopulated>}
711
+ * @memberof BookingsStaffWeeklyWeekIdGet200Response
712
+ */
713
+ 'bookings'?: Array<BookingPopulated>;
714
+ }
616
715
  /**
617
716
  *
618
717
  * @export
@@ -829,10 +928,10 @@ export interface Club {
829
928
  'name': string;
830
929
  /**
831
930
  *
832
- * @type {string}
931
+ * @type {Location}
833
932
  * @memberof Club
834
933
  */
835
- 'address': string;
934
+ 'location'?: Location;
836
935
  /**
837
936
  *
838
937
  * @type {string}
@@ -1542,6 +1641,109 @@ export declare const CourtStatus: {
1542
1641
  readonly Inactive: "inactive";
1543
1642
  };
1544
1643
  export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
1644
+ /**
1645
+ *
1646
+ * @export
1647
+ * @interface CourtWithNameResponse
1648
+ */
1649
+ export interface CourtWithNameResponse {
1650
+ /**
1651
+ *
1652
+ * @type {string}
1653
+ * @memberof CourtWithNameResponse
1654
+ */
1655
+ 'id'?: string;
1656
+ /**
1657
+ *
1658
+ * @type {string}
1659
+ * @memberof CourtWithNameResponse
1660
+ */
1661
+ 'name'?: string;
1662
+ /**
1663
+ *
1664
+ * @type {CourtStatus}
1665
+ * @memberof CourtWithNameResponse
1666
+ */
1667
+ 'status'?: CourtStatus;
1668
+ /**
1669
+ *
1670
+ * @type {string}
1671
+ * @memberof CourtWithNameResponse
1672
+ */
1673
+ 'comments'?: string;
1674
+ /**
1675
+ *
1676
+ * @type {number}
1677
+ * @memberof CourtWithNameResponse
1678
+ */
1679
+ 'pricePerSlot'?: number;
1680
+ /**
1681
+ *
1682
+ * @type {number}
1683
+ * @memberof CourtWithNameResponse
1684
+ */
1685
+ 'slotDefaultDuration'?: number;
1686
+ /**
1687
+ *
1688
+ * @type {number}
1689
+ * @memberof CourtWithNameResponse
1690
+ */
1691
+ 'startTimeInTheDayInMinutes'?: number;
1692
+ /**
1693
+ *
1694
+ * @type {number}
1695
+ * @memberof CourtWithNameResponse
1696
+ */
1697
+ 'endTimeInTheDayInMinutes'?: number;
1698
+ /**
1699
+ *
1700
+ * @type {string}
1701
+ * @memberof CourtWithNameResponse
1702
+ */
1703
+ 'sportId'?: string;
1704
+ /**
1705
+ *
1706
+ * @type {string}
1707
+ * @memberof CourtWithNameResponse
1708
+ */
1709
+ 'sportName'?: string;
1710
+ /**
1711
+ *
1712
+ * @type {string}
1713
+ * @memberof CourtWithNameResponse
1714
+ */
1715
+ 'clubId'?: string;
1716
+ /**
1717
+ * Type de surface
1718
+ * @type {string}
1719
+ * @memberof CourtWithNameResponse
1720
+ */
1721
+ 'surface'?: CourtWithNameResponseSurfaceEnum;
1722
+ /**
1723
+ * Indique si le terrain est en intérieur ou extérieur
1724
+ * @type {boolean}
1725
+ * @memberof CourtWithNameResponse
1726
+ */
1727
+ 'isIndoor'?: boolean;
1728
+ /**
1729
+ *
1730
+ * @type {string}
1731
+ * @memberof CourtWithNameResponse
1732
+ */
1733
+ 'createdAt'?: string;
1734
+ /**
1735
+ *
1736
+ * @type {string}
1737
+ * @memberof CourtWithNameResponse
1738
+ */
1739
+ 'updatedAt'?: string;
1740
+ }
1741
+ export declare const CourtWithNameResponseSurfaceEnum: {
1742
+ readonly Clay: "clay";
1743
+ readonly Grass: "grass";
1744
+ readonly Hard: "hard";
1745
+ };
1746
+ export type CourtWithNameResponseSurfaceEnum = typeof CourtWithNameResponseSurfaceEnum[keyof typeof CourtWithNameResponseSurfaceEnum];
1545
1747
  /**
1546
1748
  *
1547
1749
  * @export
@@ -1561,6 +1763,25 @@ export interface CourtsResponse {
1561
1763
  */
1562
1764
  'total'?: number;
1563
1765
  }
1766
+ /**
1767
+ *
1768
+ * @export
1769
+ * @interface CourtsWithNameResponse
1770
+ */
1771
+ export interface CourtsWithNameResponse {
1772
+ /**
1773
+ *
1774
+ * @type {Array<CourtWithNameResponse>}
1775
+ * @memberof CourtsWithNameResponse
1776
+ */
1777
+ 'courts'?: Array<CourtWithNameResponse>;
1778
+ /**
1779
+ *
1780
+ * @type {number}
1781
+ * @memberof CourtsWithNameResponse
1782
+ */
1783
+ 'total'?: number;
1784
+ }
1564
1785
  /**
1565
1786
  *
1566
1787
  * @export
@@ -2226,6 +2447,37 @@ export interface FrequentlyVisitedClubItem {
2226
2447
  */
2227
2448
  'visitCount'?: number;
2228
2449
  }
2450
+ /**
2451
+ *
2452
+ * @export
2453
+ * @interface GenderPercentage
2454
+ */
2455
+ export interface GenderPercentage {
2456
+ /**
2457
+ * Pourcentage d\'utilisateurs masculins
2458
+ * @type {number}
2459
+ * @memberof GenderPercentage
2460
+ */
2461
+ 'malePercentage'?: number;
2462
+ /**
2463
+ * Pourcentage d\'utilisateurs féminins
2464
+ * @type {number}
2465
+ * @memberof GenderPercentage
2466
+ */
2467
+ 'femalePercentage'?: number;
2468
+ /**
2469
+ * Pourcentage d\'utilisateurs non spécifiés
2470
+ * @type {number}
2471
+ * @memberof GenderPercentage
2472
+ */
2473
+ 'otherPercentage'?: number;
2474
+ /**
2475
+ * Nombre total de joueurs
2476
+ * @type {number}
2477
+ * @memberof GenderPercentage
2478
+ */
2479
+ 'totalPlayers'?: number;
2480
+ }
2229
2481
  /**
2230
2482
  *
2231
2483
  * @export
@@ -2282,25 +2534,6 @@ export interface GetClubInfos200Response {
2282
2534
  */
2283
2535
  'websiteUrl'?: string;
2284
2536
  }
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
- }
2304
2537
  /**
2305
2538
  *
2306
2539
  * @export
@@ -2674,6 +2907,59 @@ export interface LevelBySportsItem {
2674
2907
  */
2675
2908
  'level': string;
2676
2909
  }
2910
+ /**
2911
+ *
2912
+ * @export
2913
+ * @interface Location
2914
+ */
2915
+ export interface Location {
2916
+ /**
2917
+ *
2918
+ * @type {string}
2919
+ * @memberof Location
2920
+ */
2921
+ 'type': LocationTypeEnum;
2922
+ /**
2923
+ * Longitude et latitude
2924
+ * @type {Array<number>}
2925
+ * @memberof Location
2926
+ */
2927
+ 'coordinates': Array<number>;
2928
+ /**
2929
+ *
2930
+ * @type {string}
2931
+ * @memberof Location
2932
+ */
2933
+ 'city'?: string;
2934
+ /**
2935
+ *
2936
+ * @type {string}
2937
+ * @memberof Location
2938
+ */
2939
+ 'country'?: string;
2940
+ /**
2941
+ *
2942
+ * @type {string}
2943
+ * @memberof Location
2944
+ */
2945
+ 'postalCode'?: string;
2946
+ /**
2947
+ *
2948
+ * @type {string}
2949
+ * @memberof Location
2950
+ */
2951
+ 'state'?: string;
2952
+ /**
2953
+ *
2954
+ * @type {string}
2955
+ * @memberof Location
2956
+ */
2957
+ 'address'?: string;
2958
+ }
2959
+ export declare const LocationTypeEnum: {
2960
+ readonly Point: "Point";
2961
+ };
2962
+ export type LocationTypeEnum = typeof LocationTypeEnum[keyof typeof LocationTypeEnum];
2677
2963
  /**
2678
2964
  *
2679
2965
  * @export
@@ -3002,6 +3288,56 @@ export declare const PaymentMethod: {
3002
3288
  readonly Onsite: "onsite";
3003
3289
  };
3004
3290
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
3291
+ /**
3292
+ *
3293
+ * @export
3294
+ * @interface PaymentStatus
3295
+ */
3296
+ export interface PaymentStatus {
3297
+ /**
3298
+ * URL de la photo de profil du joueur
3299
+ * @type {string}
3300
+ * @memberof PaymentStatus
3301
+ */
3302
+ 'profilePicture'?: string;
3303
+ /**
3304
+ * Identifiant de l\'utilisateur
3305
+ * @type {string}
3306
+ * @memberof PaymentStatus
3307
+ */
3308
+ 'userId'?: string;
3309
+ /**
3310
+ * Prénom de l\'utilisateur
3311
+ * @type {string}
3312
+ * @memberof PaymentStatus
3313
+ */
3314
+ 'firstName'?: string;
3315
+ /**
3316
+ * Nom de l\'utilisateur
3317
+ * @type {string}
3318
+ * @memberof PaymentStatus
3319
+ */
3320
+ 'lastName'?: string;
3321
+ /**
3322
+ * Montant que l\'utilisateur doit payer
3323
+ * @type {number}
3324
+ * @memberof PaymentStatus
3325
+ */
3326
+ 'amount'?: number;
3327
+ /**
3328
+ * Statut de la facture
3329
+ * @type {string}
3330
+ * @memberof PaymentStatus
3331
+ */
3332
+ 'invoiceStatus'?: PaymentStatusInvoiceStatusEnum;
3333
+ }
3334
+ export declare const PaymentStatusInvoiceStatusEnum: {
3335
+ readonly Paid: "paid";
3336
+ readonly Pending: "pending";
3337
+ readonly Failed: "failed";
3338
+ readonly Canceled: "canceled";
3339
+ };
3340
+ export type PaymentStatusInvoiceStatusEnum = typeof PaymentStatusInvoiceStatusEnum[keyof typeof PaymentStatusInvoiceStatusEnum];
3005
3341
  /**
3006
3342
  *
3007
3343
  * @export
@@ -3561,12 +3897,6 @@ export interface SlotsResponse {
3561
3897
  * @interface Sport
3562
3898
  */
3563
3899
  export interface Sport {
3564
- /**
3565
- *
3566
- * @type {string}
3567
- * @memberof Sport
3568
- */
3569
- '_id'?: string;
3570
3900
  /**
3571
3901
  *
3572
3902
  * @type {string}
@@ -3618,35 +3948,28 @@ export interface SportResponse {
3618
3948
  'clubId'?: string;
3619
3949
  /**
3620
3950
  *
3621
- * @type {string}
3951
+ * @type {number}
3622
3952
  * @memberof SportResponse
3623
3953
  */
3624
- 'createdAt'?: string;
3954
+ 'courtsCount'?: number;
3625
3955
  /**
3626
3956
  *
3627
- * @type {string}
3957
+ * @type {number}
3628
3958
  * @memberof SportResponse
3629
3959
  */
3630
- 'updatedAt'?: string;
3631
- }
3632
- /**
3633
- *
3634
- * @export
3635
- * @interface SportsResponse
3636
- */
3637
- export interface SportsResponse {
3960
+ 'bookingsCount'?: number;
3638
3961
  /**
3639
3962
  *
3640
- * @type {Array<SportResponse>}
3641
- * @memberof SportsResponse
3963
+ * @type {string}
3964
+ * @memberof SportResponse
3642
3965
  */
3643
- 'sports'?: Array<SportResponse>;
3966
+ 'createdAt'?: string;
3644
3967
  /**
3645
3968
  *
3646
- * @type {number}
3647
- * @memberof SportsResponse
3969
+ * @type {string}
3970
+ * @memberof SportResponse
3648
3971
  */
3649
- 'total'?: number;
3972
+ 'updatedAt'?: string;
3650
3973
  }
3651
3974
  /**
3652
3975
  *
@@ -4393,12 +4716,49 @@ export interface UpdateUserRequestBody {
4393
4716
  * @memberof UpdateUserRequestBody
4394
4717
  */
4395
4718
  'profilePicture'?: string;
4719
+ /**
4720
+ *
4721
+ * @type {Array<UpdateUserRequestBodyLevelBySportsInner>}
4722
+ * @memberof UpdateUserRequestBody
4723
+ */
4724
+ 'levelBySports'?: Array<UpdateUserRequestBodyLevelBySportsInner>;
4725
+ /**
4726
+ *
4727
+ * @type {boolean}
4728
+ * @memberof UpdateUserRequestBody
4729
+ */
4730
+ 'isProfileVisible'?: boolean;
4396
4731
  /**
4397
4732
  *
4398
4733
  * @type {string}
4399
4734
  * @memberof UpdateUserRequestBody
4400
4735
  */
4401
- 'level'?: string;
4736
+ 'description'?: string;
4737
+ /**
4738
+ *
4739
+ * @type {string}
4740
+ * @memberof UpdateUserRequestBody
4741
+ */
4742
+ 'city'?: string;
4743
+ }
4744
+ /**
4745
+ *
4746
+ * @export
4747
+ * @interface UpdateUserRequestBodyLevelBySportsInner
4748
+ */
4749
+ export interface UpdateUserRequestBodyLevelBySportsInner {
4750
+ /**
4751
+ *
4752
+ * @type {string}
4753
+ * @memberof UpdateUserRequestBodyLevelBySportsInner
4754
+ */
4755
+ 'sport': string;
4756
+ /**
4757
+ *
4758
+ * @type {string}
4759
+ * @memberof UpdateUserRequestBodyLevelBySportsInner
4760
+ */
4761
+ 'level': string;
4402
4762
  }
4403
4763
  /**
4404
4764
  *
@@ -4473,6 +4833,109 @@ export interface User {
4473
4833
  */
4474
4834
  'isAdmin'?: boolean;
4475
4835
  }
4836
+ /**
4837
+ *
4838
+ * @export
4839
+ * @interface UserBookingItem
4840
+ */
4841
+ export interface UserBookingItem {
4842
+ /**
4843
+ * ID de la réservation
4844
+ * @type {string}
4845
+ * @memberof UserBookingItem
4846
+ */
4847
+ 'id'?: string;
4848
+ /**
4849
+ * URL de l\'image du club
4850
+ * @type {string}
4851
+ * @memberof UserBookingItem
4852
+ */
4853
+ 'clubPicture'?: string;
4854
+ /**
4855
+ * Nom du terrain
4856
+ * @type {string}
4857
+ * @memberof UserBookingItem
4858
+ */
4859
+ 'courtName'?: string;
4860
+ /**
4861
+ * Nom du sport
4862
+ * @type {string}
4863
+ * @memberof UserBookingItem
4864
+ */
4865
+ 'sportName'?: string;
4866
+ /**
4867
+ * Date de début de la réservation
4868
+ * @type {string}
4869
+ * @memberof UserBookingItem
4870
+ */
4871
+ 'startDate'?: string;
4872
+ /**
4873
+ * Statut de paiement de l\'utilisateur
4874
+ * @type {string}
4875
+ * @memberof UserBookingItem
4876
+ */
4877
+ 'myPaymentStatus'?: UserBookingItemMyPaymentStatusEnum;
4878
+ /**
4879
+ * Statut de la réservation
4880
+ * @type {string}
4881
+ * @memberof UserBookingItem
4882
+ */
4883
+ 'bookingStatus'?: UserBookingItemBookingStatusEnum;
4884
+ /**
4885
+ * Liste des noms des joueurs
4886
+ * @type {Array<string>}
4887
+ * @memberof UserBookingItem
4888
+ */
4889
+ 'playersName'?: Array<string>;
4890
+ /**
4891
+ * Montant que l\'utilisateur doit payer
4892
+ * @type {number}
4893
+ * @memberof UserBookingItem
4894
+ */
4895
+ 'myAmountToPay'?: number;
4896
+ /**
4897
+ * Montant total de la réservation
4898
+ * @type {number}
4899
+ * @memberof UserBookingItem
4900
+ */
4901
+ 'totalAmount'?: number;
4902
+ /**
4903
+ * Date limite avant annulation
4904
+ * @type {string}
4905
+ * @memberof UserBookingItem
4906
+ */
4907
+ 'timeBeforeCancel'?: string;
4908
+ /**
4909
+ * Adresse du club
4910
+ * @type {string}
4911
+ * @memberof UserBookingItem
4912
+ */
4913
+ 'clubAddress'?: string;
4914
+ /**
4915
+ * Historique de la réservation
4916
+ * @type {string}
4917
+ * @memberof UserBookingItem
4918
+ */
4919
+ 'bookingHistory'?: string;
4920
+ /**
4921
+ * Statut de paiement pour chaque joueur
4922
+ * @type {Array<PaymentStatus>}
4923
+ * @memberof UserBookingItem
4924
+ */
4925
+ 'paymentStatus'?: Array<PaymentStatus>;
4926
+ }
4927
+ export declare const UserBookingItemMyPaymentStatusEnum: {
4928
+ readonly Paid: "paid";
4929
+ readonly Pending: "pending";
4930
+ readonly Failed: "failed";
4931
+ };
4932
+ export type UserBookingItemMyPaymentStatusEnum = typeof UserBookingItemMyPaymentStatusEnum[keyof typeof UserBookingItemMyPaymentStatusEnum];
4933
+ export declare const UserBookingItemBookingStatusEnum: {
4934
+ readonly Confirmed: "confirmed";
4935
+ readonly Cancelled: "cancelled";
4936
+ readonly Pending: "pending";
4937
+ };
4938
+ export type UserBookingItemBookingStatusEnum = typeof UserBookingItemBookingStatusEnum[keyof typeof UserBookingItemBookingStatusEnum];
4476
4939
  /**
4477
4940
  *
4478
4941
  * @export
@@ -4634,6 +5097,18 @@ export interface UserStaffResponse {
4634
5097
  * @memberof UserStaffResponse
4635
5098
  */
4636
5099
  'lastName'?: string;
5100
+ /**
5101
+ *
5102
+ * @type {string}
5103
+ * @memberof UserStaffResponse
5104
+ */
5105
+ 'gender'?: string;
5106
+ /**
5107
+ *
5108
+ * @type {string}
5109
+ * @memberof UserStaffResponse
5110
+ */
5111
+ 'email'?: string;
4637
5112
  /**
4638
5113
  *
4639
5114
  * @type {string}
@@ -4652,6 +5127,12 @@ export interface UserStaffResponse {
4652
5127
  * @memberof UserStaffResponse
4653
5128
  */
4654
5129
  'isProfileVisible'?: boolean;
5130
+ /**
5131
+ *
5132
+ * @type {boolean}
5133
+ * @memberof UserStaffResponse
5134
+ */
5135
+ 'isSubscribedToClub'?: boolean;
4655
5136
  }
4656
5137
  /**
4657
5138
  *
@@ -4678,36 +5159,154 @@ export interface YearlyTurnoverResponse {
4678
5159
  */
4679
5160
  'totalInvoices'?: number;
4680
5161
  /**
4681
- *
4682
- * @type {Array<YearlyTurnoverResponseMonthlyBreakdownInner>}
4683
- * @memberof YearlyTurnoverResponse
5162
+ *
5163
+ * @type {Array<YearlyTurnoverResponseMonthlyBreakdownInner>}
5164
+ * @memberof YearlyTurnoverResponse
5165
+ */
5166
+ 'monthlyBreakdown'?: Array<YearlyTurnoverResponseMonthlyBreakdownInner>;
5167
+ }
5168
+ /**
5169
+ *
5170
+ * @export
5171
+ * @interface YearlyTurnoverResponseMonthlyBreakdownInner
5172
+ */
5173
+ export interface YearlyTurnoverResponseMonthlyBreakdownInner {
5174
+ /**
5175
+ *
5176
+ * @type {number}
5177
+ * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5178
+ */
5179
+ 'month'?: number;
5180
+ /**
5181
+ *
5182
+ * @type {number}
5183
+ * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5184
+ */
5185
+ 'monthlyTurnover'?: number;
5186
+ /**
5187
+ *
5188
+ * @type {number}
5189
+ * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5190
+ */
5191
+ 'invoiceCount'?: number;
5192
+ }
5193
+ /**
5194
+ * BookingsApi - axios parameter creator
5195
+ * @export
5196
+ */
5197
+ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
5198
+ /**
5199
+ * Retourne une liste de réservations pour une date donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5200
+ * @summary Récupérer les réservations journalières
5201
+ * @param {string} date Date au format YYYY-MM-DD
5202
+ * @param {*} [options] Override http request option.
5203
+ * @throws {RequiredError}
5204
+ */
5205
+ bookingsStaffDailyDateGet: (date: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5206
+ /**
5207
+ * Retourne une liste de réservations pour une semaine donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5208
+ * @summary Récupérer les réservations hebdomadaires
5209
+ * @param {string} weekId ID de la semaine
5210
+ * @param {*} [options] Override http request option.
5211
+ * @throws {RequiredError}
5212
+ */
5213
+ bookingsStaffWeeklyWeekIdGet: (weekId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5214
+ };
5215
+ /**
5216
+ * BookingsApi - functional programming interface
5217
+ * @export
5218
+ */
5219
+ export declare const BookingsApiFp: (configuration?: Configuration) => {
5220
+ /**
5221
+ * Retourne une liste de réservations pour une date donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5222
+ * @summary Récupérer les réservations journalières
5223
+ * @param {string} date Date au format YYYY-MM-DD
5224
+ * @param {*} [options] Override http request option.
5225
+ * @throws {RequiredError}
5226
+ */
5227
+ bookingsStaffDailyDateGet(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsStaffWeeklyWeekIdGet200Response>>;
5228
+ /**
5229
+ * Retourne une liste de réservations pour une semaine donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5230
+ * @summary Récupérer les réservations hebdomadaires
5231
+ * @param {string} weekId ID de la semaine
5232
+ * @param {*} [options] Override http request option.
5233
+ * @throws {RequiredError}
5234
+ */
5235
+ bookingsStaffWeeklyWeekIdGet(weekId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsStaffWeeklyWeekIdGet200Response>>;
5236
+ };
5237
+ /**
5238
+ * BookingsApi - factory interface
5239
+ * @export
5240
+ */
5241
+ export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5242
+ /**
5243
+ * Retourne une liste de réservations pour une date donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5244
+ * @summary Récupérer les réservations journalières
5245
+ * @param {BookingsApiBookingsStaffDailyDateGetRequest} requestParameters Request parameters.
5246
+ * @param {*} [options] Override http request option.
5247
+ * @throws {RequiredError}
5248
+ */
5249
+ bookingsStaffDailyDateGet(requestParameters: BookingsApiBookingsStaffDailyDateGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsStaffWeeklyWeekIdGet200Response>;
5250
+ /**
5251
+ * Retourne une liste de réservations pour une semaine donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5252
+ * @summary Récupérer les réservations hebdomadaires
5253
+ * @param {BookingsApiBookingsStaffWeeklyWeekIdGetRequest} requestParameters Request parameters.
5254
+ * @param {*} [options] Override http request option.
5255
+ * @throws {RequiredError}
5256
+ */
5257
+ bookingsStaffWeeklyWeekIdGet(requestParameters: BookingsApiBookingsStaffWeeklyWeekIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsStaffWeeklyWeekIdGet200Response>;
5258
+ };
5259
+ /**
5260
+ * Request parameters for bookingsStaffDailyDateGet operation in BookingsApi.
5261
+ * @export
5262
+ * @interface BookingsApiBookingsStaffDailyDateGetRequest
5263
+ */
5264
+ export interface BookingsApiBookingsStaffDailyDateGetRequest {
5265
+ /**
5266
+ * Date au format YYYY-MM-DD
5267
+ * @type {string}
5268
+ * @memberof BookingsApiBookingsStaffDailyDateGet
4684
5269
  */
4685
- 'monthlyBreakdown'?: Array<YearlyTurnoverResponseMonthlyBreakdownInner>;
5270
+ readonly date: string;
4686
5271
  }
4687
5272
  /**
4688
- *
5273
+ * Request parameters for bookingsStaffWeeklyWeekIdGet operation in BookingsApi.
4689
5274
  * @export
4690
- * @interface YearlyTurnoverResponseMonthlyBreakdownInner
5275
+ * @interface BookingsApiBookingsStaffWeeklyWeekIdGetRequest
4691
5276
  */
4692
- export interface YearlyTurnoverResponseMonthlyBreakdownInner {
5277
+ export interface BookingsApiBookingsStaffWeeklyWeekIdGetRequest {
4693
5278
  /**
4694
- *
4695
- * @type {number}
4696
- * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5279
+ * ID de la semaine
5280
+ * @type {string}
5281
+ * @memberof BookingsApiBookingsStaffWeeklyWeekIdGet
4697
5282
  */
4698
- 'month'?: number;
5283
+ readonly weekId: string;
5284
+ }
5285
+ /**
5286
+ * BookingsApi - object-oriented interface
5287
+ * @export
5288
+ * @class BookingsApi
5289
+ * @extends {BaseAPI}
5290
+ */
5291
+ export declare class BookingsApi extends BaseAPI {
4699
5292
  /**
4700
- *
4701
- * @type {number}
4702
- * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5293
+ * Retourne une liste de réservations pour une date donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5294
+ * @summary Récupérer les réservations journalières
5295
+ * @param {BookingsApiBookingsStaffDailyDateGetRequest} requestParameters Request parameters.
5296
+ * @param {*} [options] Override http request option.
5297
+ * @throws {RequiredError}
5298
+ * @memberof BookingsApi
4703
5299
  */
4704
- 'monthlyTurnover'?: number;
5300
+ bookingsStaffDailyDateGet(requestParameters: BookingsApiBookingsStaffDailyDateGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsStaffWeeklyWeekIdGet200Response, any>>;
4705
5301
  /**
4706
- *
4707
- * @type {number}
4708
- * @memberof YearlyTurnoverResponseMonthlyBreakdownInner
5302
+ * Retourne une liste de réservations pour une semaine donnée, avec les joueurs et terrains (incluant le sport) peuplés.
5303
+ * @summary Récupérer les réservations hebdomadaires
5304
+ * @param {BookingsApiBookingsStaffWeeklyWeekIdGetRequest} requestParameters Request parameters.
5305
+ * @param {*} [options] Override http request option.
5306
+ * @throws {RequiredError}
5307
+ * @memberof BookingsApi
4709
5308
  */
4710
- 'invoiceCount'?: number;
5309
+ bookingsStaffWeeklyWeekIdGet(requestParameters: BookingsApiBookingsStaffWeeklyWeekIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsStaffWeeklyWeekIdGet200Response, any>>;
4711
5310
  }
4712
5311
  /**
4713
5312
  * ClubAnalyticsApi - axios parameter creator
@@ -5360,7 +5959,7 @@ export declare const ManagerClubCourtsApiFp: (configuration?: Configuration) =>
5360
5959
  * @param {*} [options] Override http request option.
5361
5960
  * @throws {RequiredError}
5362
5961
  */
5363
- getCourtsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourtsResponse>>;
5962
+ getCourtsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourtsWithNameResponse>>;
5364
5963
  /**
5365
5964
  *
5366
5965
  * @summary Mettre à jour un terrain du club courant
@@ -5398,7 +5997,7 @@ export declare const ManagerClubCourtsApiFactory: (configuration?: Configuration
5398
5997
  * @param {*} [options] Override http request option.
5399
5998
  * @throws {RequiredError}
5400
5999
  */
5401
- getCourtsByClub(options?: RawAxiosRequestConfig): AxiosPromise<CourtsResponse>;
6000
+ getCourtsByClub(options?: RawAxiosRequestConfig): AxiosPromise<CourtsWithNameResponse>;
5402
6001
  /**
5403
6002
  *
5404
6003
  * @summary Mettre à jour un terrain du club courant
@@ -5485,7 +6084,7 @@ export declare class ManagerClubCourtsApi extends BaseAPI {
5485
6084
  * @throws {RequiredError}
5486
6085
  * @memberof ManagerClubCourtsApi
5487
6086
  */
5488
- getCourtsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtsResponse, any>>;
6087
+ getCourtsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CourtsWithNameResponse, any>>;
5489
6088
  /**
5490
6089
  *
5491
6090
  * @summary Mettre à jour un terrain du club courant
@@ -6794,6 +7393,13 @@ export declare const StaffClubAnalyticsApiAxiosParamCreator: (configuration?: Co
6794
7393
  * @throws {RequiredError}
6795
7394
  */
6796
7395
  getClubPlayers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7396
+ /**
7397
+ *
7398
+ * @summary Récupère le pourcentage de joueurs par genre pour le club courant
7399
+ * @param {*} [options] Override http request option.
7400
+ * @throws {RequiredError}
7401
+ */
7402
+ getGenderPercentage: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6797
7403
  /**
6798
7404
  *
6799
7405
  * @summary Get monthly turnover for the last six months (club courant)
@@ -6821,7 +7427,14 @@ export declare const StaffClubAnalyticsApiFp: (configuration?: Configuration) =>
6821
7427
  * @param {*} [options] Override http request option.
6822
7428
  * @throws {RequiredError}
6823
7429
  */
6824
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClubPlayers200Response>>;
7430
+ getClubPlayers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserStaffResponse>>>;
7431
+ /**
7432
+ *
7433
+ * @summary Récupère le pourcentage de joueurs par genre pour le club courant
7434
+ * @param {*} [options] Override http request option.
7435
+ * @throws {RequiredError}
7436
+ */
7437
+ getGenderPercentage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenderPercentage>>;
6825
7438
  /**
6826
7439
  *
6827
7440
  * @summary Get monthly turnover for the last six months (club courant)
@@ -6849,7 +7462,14 @@ export declare const StaffClubAnalyticsApiFactory: (configuration?: Configuratio
6849
7462
  * @param {*} [options] Override http request option.
6850
7463
  * @throws {RequiredError}
6851
7464
  */
6852
- getClubPlayers(options?: RawAxiosRequestConfig): AxiosPromise<GetClubPlayers200Response>;
7465
+ getClubPlayers(options?: RawAxiosRequestConfig): AxiosPromise<Array<UserStaffResponse>>;
7466
+ /**
7467
+ *
7468
+ * @summary Récupère le pourcentage de joueurs par genre pour le club courant
7469
+ * @param {*} [options] Override http request option.
7470
+ * @throws {RequiredError}
7471
+ */
7472
+ getGenderPercentage(options?: RawAxiosRequestConfig): AxiosPromise<GenderPercentage>;
6853
7473
  /**
6854
7474
  *
6855
7475
  * @summary Get monthly turnover for the last six months (club courant)
@@ -6893,7 +7513,15 @@ export declare class StaffClubAnalyticsApi extends BaseAPI {
6893
7513
  * @throws {RequiredError}
6894
7514
  * @memberof StaffClubAnalyticsApi
6895
7515
  */
6896
- getClubPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClubPlayers200Response, any>>;
7516
+ getClubPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserStaffResponse[], any>>;
7517
+ /**
7518
+ *
7519
+ * @summary Récupère le pourcentage de joueurs par genre pour le club courant
7520
+ * @param {*} [options] Override http request option.
7521
+ * @throws {RequiredError}
7522
+ * @memberof StaffClubAnalyticsApi
7523
+ */
7524
+ getGenderPercentage(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenderPercentage, any>>;
6897
7525
  /**
6898
7526
  *
6899
7527
  * @summary Get monthly turnover for the last six months (club courant)
@@ -7019,7 +7647,7 @@ export declare const StaffClubsApiFp: (configuration?: Configuration) => {
7019
7647
  * @param {*} [options] Override http request option.
7020
7648
  * @throws {RequiredError}
7021
7649
  */
7022
- getSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportsResponse>>;
7650
+ getSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>>;
7023
7651
  };
7024
7652
  /**
7025
7653
  * StaffClubsApi - factory interface
@@ -7046,7 +7674,7 @@ export declare const StaffClubsApiFactory: (configuration?: Configuration, baseP
7046
7674
  * @param {*} [options] Override http request option.
7047
7675
  * @throws {RequiredError}
7048
7676
  */
7049
- getSports(options?: RawAxiosRequestConfig): AxiosPromise<SportsResponse>;
7677
+ getSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>>;
7050
7678
  };
7051
7679
  /**
7052
7680
  * StaffClubsApi - object-oriented interface
@@ -7078,7 +7706,7 @@ export declare class StaffClubsApi extends BaseAPI {
7078
7706
  * @throws {RequiredError}
7079
7707
  * @memberof StaffClubsApi
7080
7708
  */
7081
- getSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportsResponse, any>>;
7709
+ getSports(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportResponse[], any>>;
7082
7710
  }
7083
7711
  /**
7084
7712
  * StaffEventsApi - axios parameter creator
@@ -7493,6 +8121,13 @@ export declare const UserBookingsApiAxiosParamCreator: (configuration?: Configur
7493
8121
  * @throws {RequiredError}
7494
8122
  */
7495
8123
  createBooking: (createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8124
+ /**
8125
+ *
8126
+ * @summary Récupère l\'historique des réservations de l\'utilisateur connecté
8127
+ * @param {*} [options] Override http request option.
8128
+ * @throws {RequiredError}
8129
+ */
8130
+ getBookingHistory: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7496
8131
  };
7497
8132
  /**
7498
8133
  * UserBookingsApi - functional programming interface
@@ -7515,6 +8150,13 @@ export declare const UserBookingsApiFp: (configuration?: Configuration) => {
7515
8150
  * @throws {RequiredError}
7516
8151
  */
7517
8152
  createBooking(createBookingRequest: CreateBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
8153
+ /**
8154
+ *
8155
+ * @summary Récupère l\'historique des réservations de l\'utilisateur connecté
8156
+ * @param {*} [options] Override http request option.
8157
+ * @throws {RequiredError}
8158
+ */
8159
+ getBookingHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserBookingItem>>>;
7518
8160
  };
7519
8161
  /**
7520
8162
  * UserBookingsApi - factory interface
@@ -7537,6 +8179,13 @@ export declare const UserBookingsApiFactory: (configuration?: Configuration, bas
7537
8179
  * @throws {RequiredError}
7538
8180
  */
7539
8181
  createBooking(requestParameters: UserBookingsApiCreateBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponse>;
8182
+ /**
8183
+ *
8184
+ * @summary Récupère l\'historique des réservations de l\'utilisateur connecté
8185
+ * @param {*} [options] Override http request option.
8186
+ * @throws {RequiredError}
8187
+ */
8188
+ getBookingHistory(options?: RawAxiosRequestConfig): AxiosPromise<Array<UserBookingItem>>;
7540
8189
  };
7541
8190
  /**
7542
8191
  * Request parameters for blockSlot operation in UserBookingsApi.
@@ -7589,6 +8238,14 @@ export declare class UserBookingsApi extends BaseAPI {
7589
8238
  * @memberof UserBookingsApi
7590
8239
  */
7591
8240
  createBooking(requestParameters: UserBookingsApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any>>;
8241
+ /**
8242
+ *
8243
+ * @summary Récupère l\'historique des réservations de l\'utilisateur connecté
8244
+ * @param {*} [options] Override http request option.
8245
+ * @throws {RequiredError}
8246
+ * @memberof UserBookingsApi
8247
+ */
8248
+ getBookingHistory(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingItem[], any>>;
7592
8249
  }
7593
8250
  /**
7594
8251
  * UserClubCourtsApi - axios parameter creator
@@ -7900,7 +8557,7 @@ export declare const UserClubSportsApiFp: (configuration?: Configuration) => {
7900
8557
  * @param {*} [options] Override http request option.
7901
8558
  * @throws {RequiredError}
7902
8559
  */
7903
- getSportsByClub(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportsResponse>>;
8560
+ getSportsByClub(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sport>>>;
7904
8561
  };
7905
8562
  /**
7906
8563
  * UserClubSportsApi - factory interface
@@ -7914,7 +8571,7 @@ export declare const UserClubSportsApiFactory: (configuration?: Configuration, b
7914
8571
  * @param {*} [options] Override http request option.
7915
8572
  * @throws {RequiredError}
7916
8573
  */
7917
- getSportsByClub(requestParameters: UserClubSportsApiGetSportsByClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportsResponse>;
8574
+ getSportsByClub(requestParameters: UserClubSportsApiGetSportsByClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sport>>;
7918
8575
  };
7919
8576
  /**
7920
8577
  * Request parameters for getSportsByClub operation in UserClubSportsApi.
@@ -7944,7 +8601,7 @@ export declare class UserClubSportsApi extends BaseAPI {
7944
8601
  * @throws {RequiredError}
7945
8602
  * @memberof UserClubSportsApi
7946
8603
  */
7947
- getSportsByClub(requestParameters: UserClubSportsApiGetSportsByClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportsResponse, any>>;
8604
+ getSportsByClub(requestParameters: UserClubSportsApiGetSportsByClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sport[], any>>;
7948
8605
  }
7949
8606
  /**
7950
8607
  * UserClubsApi - axios parameter creator
@@ -8247,6 +8904,14 @@ export declare const UserProfileApiAxiosParamCreator: (configuration?: Configura
8247
8904
  * @throws {RequiredError}
8248
8905
  */
8249
8906
  getPublicUserProfile: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8907
+ /**
8908
+ *
8909
+ * @summary Récupère le detéail d\'une réservation
8910
+ * @param {string} bookingId ID de la réservation
8911
+ * @param {*} [options] Override http request option.
8912
+ * @throws {RequiredError}
8913
+ */
8914
+ getUserBookingDetail: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8250
8915
  /**
8251
8916
  *
8252
8917
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -8431,6 +9096,14 @@ export declare const UserProfileApiFp: (configuration?: Configuration) => {
8431
9096
  * @throws {RequiredError}
8432
9097
  */
8433
9098
  getPublicUserProfile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicClubUser>>;
9099
+ /**
9100
+ *
9101
+ * @summary Récupère le detéail d\'une réservation
9102
+ * @param {string} bookingId ID de la réservation
9103
+ * @param {*} [options] Override http request option.
9104
+ * @throws {RequiredError}
9105
+ */
9106
+ getUserBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingItem>>;
8434
9107
  /**
8435
9108
  *
8436
9109
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -8613,6 +9286,14 @@ export declare const UserProfileApiFactory: (configuration?: Configuration, base
8613
9286
  * @throws {RequiredError}
8614
9287
  */
8615
9288
  getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicClubUser>;
9289
+ /**
9290
+ *
9291
+ * @summary Récupère le detéail d\'une réservation
9292
+ * @param {UserProfileApiGetUserBookingDetailRequest} requestParameters Request parameters.
9293
+ * @param {*} [options] Override http request option.
9294
+ * @throws {RequiredError}
9295
+ */
9296
+ getUserBookingDetail(requestParameters: UserProfileApiGetUserBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingItem>;
8616
9297
  /**
8617
9298
  *
8618
9299
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -8791,6 +9472,19 @@ export interface UserProfileApiGetPublicUserProfileRequest {
8791
9472
  */
8792
9473
  readonly id: string;
8793
9474
  }
9475
+ /**
9476
+ * Request parameters for getUserBookingDetail operation in UserProfileApi.
9477
+ * @export
9478
+ * @interface UserProfileApiGetUserBookingDetailRequest
9479
+ */
9480
+ export interface UserProfileApiGetUserBookingDetailRequest {
9481
+ /**
9482
+ * ID de la réservation
9483
+ * @type {string}
9484
+ * @memberof UserProfileApiGetUserBookingDetail
9485
+ */
9486
+ readonly bookingId: string;
9487
+ }
8794
9488
  /**
8795
9489
  * Request parameters for getUserBookings operation in UserProfileApi.
8796
9490
  * @export
@@ -9006,6 +9700,15 @@ export declare class UserProfileApi extends BaseAPI {
9006
9700
  * @memberof UserProfileApi
9007
9701
  */
9008
9702
  getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicClubUser, any>>;
9703
+ /**
9704
+ *
9705
+ * @summary Récupère le detéail d\'une réservation
9706
+ * @param {UserProfileApiGetUserBookingDetailRequest} requestParameters Request parameters.
9707
+ * @param {*} [options] Override http request option.
9708
+ * @throws {RequiredError}
9709
+ * @memberof UserProfileApi
9710
+ */
9711
+ getUserBookingDetail(requestParameters: UserProfileApiGetUserBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserBookingItem, any>>;
9009
9712
  /**
9010
9713
  *
9011
9714
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -9329,3 +10032,277 @@ export declare class UserSubscriptionsApi extends BaseAPI {
9329
10032
  */
9330
10033
  resumeSubscription(requestParameters: UserSubscriptionsApiResumeSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionResponse, any>>;
9331
10034
  }
10035
+ /**
10036
+ * UsersApi - axios parameter creator
10037
+ * @export
10038
+ */
10039
+ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
10040
+ /**
10041
+ *
10042
+ * @summary Récupère les clubs proches de l’utilisateur connecté
10043
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10044
+ * @param {number} [limit] Nombre maximum de résultats
10045
+ * @param {*} [options] Override http request option.
10046
+ * @throws {RequiredError}
10047
+ */
10048
+ apiUsersMeNearestClubsGet: (radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10049
+ /**
10050
+ *
10051
+ * @summary Récupère les utilisateurs proches de l’utilisateur connecté
10052
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10053
+ * @param {number} [limit] Nombre maximum de résultats
10054
+ * @param {*} [options] Override http request option.
10055
+ * @throws {RequiredError}
10056
+ */
10057
+ apiUsersMeNearestPlayersGet: (radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10058
+ /**
10059
+ *
10060
+ * @summary Récupère les clubs proches d’une position donnée
10061
+ * @param {number} latitude Latitude de la position
10062
+ * @param {number} longitude Longitude de la position
10063
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10064
+ * @param {number} [limit] Nombre maximum de résultats
10065
+ * @param {*} [options] Override http request option.
10066
+ * @throws {RequiredError}
10067
+ */
10068
+ apiUsersNearestClubsCoordinatesGet: (latitude: number, longitude: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10069
+ /**
10070
+ *
10071
+ * @summary Récupère les utilisateurs proches d’une position donnée
10072
+ * @param {number} latitude Latitude de la position
10073
+ * @param {number} longitude Longitude de la position
10074
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10075
+ * @param {number} [limit] Nombre maximum de résultats
10076
+ * @param {*} [options] Override http request option.
10077
+ * @throws {RequiredError}
10078
+ */
10079
+ apiUsersNearestPlayersCoordinatesGet: (latitude: number, longitude: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10080
+ };
10081
+ /**
10082
+ * UsersApi - functional programming interface
10083
+ * @export
10084
+ */
10085
+ export declare const UsersApiFp: (configuration?: Configuration) => {
10086
+ /**
10087
+ *
10088
+ * @summary Récupère les clubs proches de l’utilisateur connecté
10089
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10090
+ * @param {number} [limit] Nombre maximum de résultats
10091
+ * @param {*} [options] Override http request option.
10092
+ * @throws {RequiredError}
10093
+ */
10094
+ apiUsersMeNearestClubsGet(radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Club>>>;
10095
+ /**
10096
+ *
10097
+ * @summary Récupère les utilisateurs proches de l’utilisateur connecté
10098
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10099
+ * @param {number} [limit] Nombre maximum de résultats
10100
+ * @param {*} [options] Override http request option.
10101
+ * @throws {RequiredError}
10102
+ */
10103
+ apiUsersMeNearestPlayersGet(radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserResponse>>>;
10104
+ /**
10105
+ *
10106
+ * @summary Récupère les clubs proches d’une position donnée
10107
+ * @param {number} latitude Latitude de la position
10108
+ * @param {number} longitude Longitude de la position
10109
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10110
+ * @param {number} [limit] Nombre maximum de résultats
10111
+ * @param {*} [options] Override http request option.
10112
+ * @throws {RequiredError}
10113
+ */
10114
+ apiUsersNearestClubsCoordinatesGet(latitude: number, longitude: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Club>>>;
10115
+ /**
10116
+ *
10117
+ * @summary Récupère les utilisateurs proches d’une position donnée
10118
+ * @param {number} latitude Latitude de la position
10119
+ * @param {number} longitude Longitude de la position
10120
+ * @param {number} [radiusInKm] Rayon de recherche en kilomètres
10121
+ * @param {number} [limit] Nombre maximum de résultats
10122
+ * @param {*} [options] Override http request option.
10123
+ * @throws {RequiredError}
10124
+ */
10125
+ apiUsersNearestPlayersCoordinatesGet(latitude: number, longitude: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserResponse>>>;
10126
+ };
10127
+ /**
10128
+ * UsersApi - factory interface
10129
+ * @export
10130
+ */
10131
+ export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10132
+ /**
10133
+ *
10134
+ * @summary Récupère les clubs proches de l’utilisateur connecté
10135
+ * @param {UsersApiApiUsersMeNearestClubsGetRequest} requestParameters Request parameters.
10136
+ * @param {*} [options] Override http request option.
10137
+ * @throws {RequiredError}
10138
+ */
10139
+ apiUsersMeNearestClubsGet(requestParameters?: UsersApiApiUsersMeNearestClubsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Club>>;
10140
+ /**
10141
+ *
10142
+ * @summary Récupère les utilisateurs proches de l’utilisateur connecté
10143
+ * @param {UsersApiApiUsersMeNearestPlayersGetRequest} requestParameters Request parameters.
10144
+ * @param {*} [options] Override http request option.
10145
+ * @throws {RequiredError}
10146
+ */
10147
+ apiUsersMeNearestPlayersGet(requestParameters?: UsersApiApiUsersMeNearestPlayersGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserResponse>>;
10148
+ /**
10149
+ *
10150
+ * @summary Récupère les clubs proches d’une position donnée
10151
+ * @param {UsersApiApiUsersNearestClubsCoordinatesGetRequest} requestParameters Request parameters.
10152
+ * @param {*} [options] Override http request option.
10153
+ * @throws {RequiredError}
10154
+ */
10155
+ apiUsersNearestClubsCoordinatesGet(requestParameters: UsersApiApiUsersNearestClubsCoordinatesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Club>>;
10156
+ /**
10157
+ *
10158
+ * @summary Récupère les utilisateurs proches d’une position donnée
10159
+ * @param {UsersApiApiUsersNearestPlayersCoordinatesGetRequest} requestParameters Request parameters.
10160
+ * @param {*} [options] Override http request option.
10161
+ * @throws {RequiredError}
10162
+ */
10163
+ apiUsersNearestPlayersCoordinatesGet(requestParameters: UsersApiApiUsersNearestPlayersCoordinatesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserResponse>>;
10164
+ };
10165
+ /**
10166
+ * Request parameters for apiUsersMeNearestClubsGet operation in UsersApi.
10167
+ * @export
10168
+ * @interface UsersApiApiUsersMeNearestClubsGetRequest
10169
+ */
10170
+ export interface UsersApiApiUsersMeNearestClubsGetRequest {
10171
+ /**
10172
+ * Rayon de recherche en kilomètres
10173
+ * @type {number}
10174
+ * @memberof UsersApiApiUsersMeNearestClubsGet
10175
+ */
10176
+ readonly radiusInKm?: number;
10177
+ /**
10178
+ * Nombre maximum de résultats
10179
+ * @type {number}
10180
+ * @memberof UsersApiApiUsersMeNearestClubsGet
10181
+ */
10182
+ readonly limit?: number;
10183
+ }
10184
+ /**
10185
+ * Request parameters for apiUsersMeNearestPlayersGet operation in UsersApi.
10186
+ * @export
10187
+ * @interface UsersApiApiUsersMeNearestPlayersGetRequest
10188
+ */
10189
+ export interface UsersApiApiUsersMeNearestPlayersGetRequest {
10190
+ /**
10191
+ * Rayon de recherche en kilomètres
10192
+ * @type {number}
10193
+ * @memberof UsersApiApiUsersMeNearestPlayersGet
10194
+ */
10195
+ readonly radiusInKm?: number;
10196
+ /**
10197
+ * Nombre maximum de résultats
10198
+ * @type {number}
10199
+ * @memberof UsersApiApiUsersMeNearestPlayersGet
10200
+ */
10201
+ readonly limit?: number;
10202
+ }
10203
+ /**
10204
+ * Request parameters for apiUsersNearestClubsCoordinatesGet operation in UsersApi.
10205
+ * @export
10206
+ * @interface UsersApiApiUsersNearestClubsCoordinatesGetRequest
10207
+ */
10208
+ export interface UsersApiApiUsersNearestClubsCoordinatesGetRequest {
10209
+ /**
10210
+ * Latitude de la position
10211
+ * @type {number}
10212
+ * @memberof UsersApiApiUsersNearestClubsCoordinatesGet
10213
+ */
10214
+ readonly latitude: number;
10215
+ /**
10216
+ * Longitude de la position
10217
+ * @type {number}
10218
+ * @memberof UsersApiApiUsersNearestClubsCoordinatesGet
10219
+ */
10220
+ readonly longitude: number;
10221
+ /**
10222
+ * Rayon de recherche en kilomètres
10223
+ * @type {number}
10224
+ * @memberof UsersApiApiUsersNearestClubsCoordinatesGet
10225
+ */
10226
+ readonly radiusInKm?: number;
10227
+ /**
10228
+ * Nombre maximum de résultats
10229
+ * @type {number}
10230
+ * @memberof UsersApiApiUsersNearestClubsCoordinatesGet
10231
+ */
10232
+ readonly limit?: number;
10233
+ }
10234
+ /**
10235
+ * Request parameters for apiUsersNearestPlayersCoordinatesGet operation in UsersApi.
10236
+ * @export
10237
+ * @interface UsersApiApiUsersNearestPlayersCoordinatesGetRequest
10238
+ */
10239
+ export interface UsersApiApiUsersNearestPlayersCoordinatesGetRequest {
10240
+ /**
10241
+ * Latitude de la position
10242
+ * @type {number}
10243
+ * @memberof UsersApiApiUsersNearestPlayersCoordinatesGet
10244
+ */
10245
+ readonly latitude: number;
10246
+ /**
10247
+ * Longitude de la position
10248
+ * @type {number}
10249
+ * @memberof UsersApiApiUsersNearestPlayersCoordinatesGet
10250
+ */
10251
+ readonly longitude: number;
10252
+ /**
10253
+ * Rayon de recherche en kilomètres
10254
+ * @type {number}
10255
+ * @memberof UsersApiApiUsersNearestPlayersCoordinatesGet
10256
+ */
10257
+ readonly radiusInKm?: number;
10258
+ /**
10259
+ * Nombre maximum de résultats
10260
+ * @type {number}
10261
+ * @memberof UsersApiApiUsersNearestPlayersCoordinatesGet
10262
+ */
10263
+ readonly limit?: number;
10264
+ }
10265
+ /**
10266
+ * UsersApi - object-oriented interface
10267
+ * @export
10268
+ * @class UsersApi
10269
+ * @extends {BaseAPI}
10270
+ */
10271
+ export declare class UsersApi extends BaseAPI {
10272
+ /**
10273
+ *
10274
+ * @summary Récupère les clubs proches de l’utilisateur connecté
10275
+ * @param {UsersApiApiUsersMeNearestClubsGetRequest} requestParameters Request parameters.
10276
+ * @param {*} [options] Override http request option.
10277
+ * @throws {RequiredError}
10278
+ * @memberof UsersApi
10279
+ */
10280
+ apiUsersMeNearestClubsGet(requestParameters?: UsersApiApiUsersMeNearestClubsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Club[], any>>;
10281
+ /**
10282
+ *
10283
+ * @summary Récupère les utilisateurs proches de l’utilisateur connecté
10284
+ * @param {UsersApiApiUsersMeNearestPlayersGetRequest} requestParameters Request parameters.
10285
+ * @param {*} [options] Override http request option.
10286
+ * @throws {RequiredError}
10287
+ * @memberof UsersApi
10288
+ */
10289
+ apiUsersMeNearestPlayersGet(requestParameters?: UsersApiApiUsersMeNearestPlayersGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserResponse[], any>>;
10290
+ /**
10291
+ *
10292
+ * @summary Récupère les clubs proches d’une position donnée
10293
+ * @param {UsersApiApiUsersNearestClubsCoordinatesGetRequest} requestParameters Request parameters.
10294
+ * @param {*} [options] Override http request option.
10295
+ * @throws {RequiredError}
10296
+ * @memberof UsersApi
10297
+ */
10298
+ apiUsersNearestClubsCoordinatesGet(requestParameters: UsersApiApiUsersNearestClubsCoordinatesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Club[], any>>;
10299
+ /**
10300
+ *
10301
+ * @summary Récupère les utilisateurs proches d’une position donnée
10302
+ * @param {UsersApiApiUsersNearestPlayersCoordinatesGetRequest} requestParameters Request parameters.
10303
+ * @param {*} [options] Override http request option.
10304
+ * @throws {RequiredError}
10305
+ * @memberof UsersApi
10306
+ */
10307
+ apiUsersNearestPlayersCoordinatesGet(requestParameters: UsersApiApiUsersNearestPlayersCoordinatesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserResponse[], any>>;
10308
+ }