@tennac-booking/sdk 1.0.38 → 1.0.40
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.
- package/.openapi-generator/FILES +66 -206
- package/README.md +75 -258
- package/api.ts +2219 -13121
- package/base.ts +3 -3
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1496 -8954
- package/dist/api.js +1015 -7046
- package/dist/base.d.ts +2 -2
- package/dist/base.js +3 -3
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +1496 -8954
- package/dist/esm/api.js +1011 -6932
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/AddPaymentMethodRequestBody.md +20 -0
- package/docs/BaseUser.md +76 -0
- package/docs/BookingDetailResponse.md +46 -0
- package/docs/BookingSummary.md +44 -0
- package/docs/BookingSummaryBookingHistory.md +18 -0
- package/docs/BookingSummaryClubAddress.md +18 -0
- package/docs/ChangePasswordResponse.md +1 -1
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/DiagnosticsApi.md +52 -0
- package/docs/DiagnosticsResponse.md +24 -0
- package/docs/FavoriteClubMutationResponse.md +22 -0
- package/docs/FavoriteClubRequestBody.md +20 -0
- package/docs/FavoriteClubsResponse.md +20 -0
- package/docs/FavoritePlayerMutationResponse.md +22 -0
- package/docs/FavoritePlayerRequestBody.md +20 -0
- package/docs/FavoritePlayersResponse.md +1 -1
- package/docs/FrequentClub.md +24 -0
- package/docs/FrequentPlayer.md +28 -0
- package/docs/Gender.md +12 -0
- package/docs/GoogleAuthRequestBody.md +20 -0
- package/docs/GoogleAuthResponse.md +30 -0
- package/docs/GoogleAuthResponseUser.md +26 -0
- package/docs/ILevelBySports.md +22 -0
- package/docs/LevelBySportEntry.md +22 -0
- package/docs/LoginResponse.md +2 -2
- package/docs/NotImplementedResponse.md +20 -0
- package/docs/PasswordResetRequestBody.md +20 -0
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
- package/docs/ProfilePictureResponse.md +1 -1
- package/docs/ProfilePictureUpdateRequestBody.md +20 -0
- package/docs/RefreshTokenResponse.md +6 -2
- package/docs/SdkDiagnosticsResponse.md +28 -0
- package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
- package/docs/SdkDiagnosticsResponseSdk.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +1 -1
- package/docs/SetupPaymentMethodResponse.md +3 -3
- package/docs/StaffUserProfileResponse.md +22 -0
- package/docs/SubscribeToClubRequestBody.md +3 -3
- package/docs/SubscriptionMutationResponse.md +20 -0
- package/docs/SubscriptionSessionRequestBody.md +22 -0
- package/docs/SubscriptionSessionResponse.md +20 -0
- package/docs/UpdateCustomerRequestBody.md +3 -7
- package/docs/UpdateCustomerResponse.md +1 -3
- package/docs/UpdateLevelBySportsRequestBody.md +1 -1
- package/docs/UpdateUserRequestBodyLevelBySportsInner.md +2 -2
- package/docs/UserLocationSummary.md +44 -0
- package/docs/UserProfileResponse.md +28 -0
- package/docs/UserRolesResponse.md +20 -0
- package/docs/UserSubscriptionsResponse.md +20 -0
- package/docs/UsersApi.md +1721 -76
- package/index.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,291 +47,108 @@ npm install PATH_TO_GENERATED_PACKAGE --save
|
|
|
47
47
|
|
|
48
48
|
### Documentation for API Endpoints
|
|
49
49
|
|
|
50
|
-
All URIs are relative to
|
|
50
|
+
All URIs are relative to */api*
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*ManagerSportsApi* | [**deleteSport**](docs/ManagerSportsApi.md#deletesport) | **DELETE** /api/sports/{id} | Supprimer un sport
|
|
93
|
-
*ManagerSportsApi* | [**updateSport**](docs/ManagerSportsApi.md#updatesport) | **PUT** /api/sports/{id} | Mettre à jour un sport
|
|
94
|
-
*StaffBookingsApi* | [**getBookingByIdStaff**](docs/StaffBookingsApi.md#getbookingbyidstaff) | **GET** /api/bookings/staff/:bookingId | Récupère une réservation par son ID avec les joueurs et terrains (incluant le sport) peuplés.
|
|
95
|
-
*StaffClubAnalyticsApi* | [**getClubPlayers**](docs/StaffClubAnalyticsApi.md#getclubplayers) | **GET** /api/analytics/players | Récupère la liste des joueurs du club (données staff uniquement)
|
|
96
|
-
*StaffClubAnalyticsApi* | [**getGenderPercentage**](docs/StaffClubAnalyticsApi.md#getgenderpercentage) | **GET** /api/analytics/gender | Récupère le pourcentage de joueurs par genre pour le club courant
|
|
97
|
-
*StaffClubAnalyticsApi* | [**getInfillPercentagePerPeriod**](docs/StaffClubAnalyticsApi.md#getinfillpercentageperperiod) | **GET** /api/analytics/infill-percentage | Taux de remplissage des créneaux pour une période donnée (club courant)
|
|
98
|
-
*StaffClubAnalyticsApi* | [**getLastSixMonthsTurnover**](docs/StaffClubAnalyticsApi.md#getlastsixmonthsturnover) | **GET** /api/analytics/lastSixMonthsTurnover | Get monthly turnover for the last six months (club courant)
|
|
99
|
-
*StaffClubAnalyticsApi* | [**getNumberOfClubUsers**](docs/StaffClubAnalyticsApi.md#getnumberofclubusers) | **GET** /api/analytics/user-count | Get number of users subscribed to the club
|
|
100
|
-
*StaffClubBookingsApi* | [**getTenNextBookings**](docs/StaffClubBookingsApi.md#gettennextbookings) | **GET** /api/analytics/next-bookings | Get the ten next bookings for the current club
|
|
101
|
-
*StaffClubsApi* | [**getClubInfos**](docs/StaffClubsApi.md#getclubinfos) | **GET** /api/clubs/infos | Get current club information
|
|
102
|
-
*StaffClubsApi* | [**getClubSettings**](docs/StaffClubsApi.md#getclubsettings) | **GET** /api/club-settings | Récupère les paramètres d’un club
|
|
103
|
-
*StaffClubsApi* | [**getSports**](docs/StaffClubsApi.md#getsports) | **GET** /api/sports | Récupère la liste des sports du club courant
|
|
104
|
-
*StaffEventsApi* | [**getEventsByClub**](docs/StaffEventsApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents | Get all events for current club (including unpublished)
|
|
105
|
-
*StaffProfileApi* | [**getUserProfileStaff**](docs/StaffProfileApi.md#getuserprofilestaff) | **GET** /api/users/staff/profile/:id | Récupère le profil d\'un utilisateur par son ID (données staff uniquement)
|
|
106
|
-
*StaffProfileApi* | [**getUserRolesInClubs**](docs/StaffProfileApi.md#getuserrolesinclubs) | **GET** /api/users/me/roles | Récupère les rôles de l\'utilisateur dans les clubs
|
|
107
|
-
*UserApi* | [**updateCustomer**](docs/UserApi.md#updatecustomer) | **PUT** /api/users/me/customer | Met à jour le Customer Stripe de l\'utilisateur
|
|
108
|
-
*UserAuthenticationApi* | [**login**](docs/UserAuthenticationApi.md#login) | **POST** /api/users/login | Authentifie un utilisateur
|
|
109
|
-
*UserAuthenticationApi* | [**refreshToken**](docs/UserAuthenticationApi.md#refreshtoken) | **POST** /api/users/refresh-token | Rafraîchit le token d\'accès
|
|
110
|
-
*UserAuthenticationApi* | [**register**](docs/UserAuthenticationApi.md#register) | **POST** /api/users | Crée un nouvel utilisateur
|
|
111
|
-
*UserAuthenticationApi* | [**signInOrSignUpWithGoogle**](docs/UserAuthenticationApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | Authentifie ou crée un utilisateur via Google OAuth
|
|
112
|
-
*UserBookingsApi* | [**blockSlot**](docs/UserBookingsApi.md#blockslot) | **PATCH** /api/bookings/pre-book/{slotId} | Bloquer un créneau
|
|
113
|
-
*UserBookingsApi* | [**createBooking**](docs/UserBookingsApi.md#createbooking) | **POST** /api/bookings | Créer une réservation
|
|
114
|
-
*UserBookingsApi* | [**getBookingHistory**](docs/UserBookingsApi.md#getbookinghistory) | **GET** /api/users/me/booking-history | Récupère l\'historique des réservations de l\'utilisateur connecté
|
|
115
|
-
*UserClubCourtsApi* | [**getCourtsByClubAndSport**](docs/UserClubCourtsApi.md#getcourtsbyclubandsport) | **GET** /api/clubs/{id}/sports/{sportId}/courts | Récupérer les terrains d\'un club pour un sport spécifique
|
|
116
|
-
*UserClubSlotsApi* | [**getAvailableSlotsByClub**](docs/UserClubSlotsApi.md#getavailableslotsbyclub) | **GET** /api/clubs/{clubID}/availableSlots | Obtenir tous les créneaux disponibles pour un club
|
|
117
|
-
*UserClubSlotsApi* | [**getAvailableSlotsBySports**](docs/UserClubSlotsApi.md#getavailableslotsbysports) | **GET** /api/clubs/{id}/sports/{sportId}/slots | Obtenir tous les slots disponibles pour un sport dans un club
|
|
118
|
-
*UserClubSlotsApi* | [**getAvailableSlotsBySportsAndDay**](docs/UserClubSlotsApi.md#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} | Obtenir les slots disponibles pour un jour donné
|
|
119
|
-
*UserClubSportsApi* | [**getSportsByClub**](docs/UserClubSportsApi.md#getsportsbyclub) | **GET** /api/clubs/{id}/sports | Récupérer tous les sports pour un club
|
|
120
|
-
*UserClubsApi* | [**getActiveClubs**](docs/UserClubsApi.md#getactiveclubs) | **GET** /api/clubs/activeClubs | Obtenir la liste des clubs actifs (seulement id et nom)
|
|
121
|
-
*UserClubsApi* | [**getMostLikedClub**](docs/UserClubsApi.md#getmostlikedclub) | **GET** /api/analytics/most-liked | Retrieve the list of most visited clubs (max 10)
|
|
122
|
-
*UserClubsApi* | [**getPopularClubs**](docs/UserClubsApi.md#getpopularclubs) | **GET** /api/analytics/popular | Retrieve the list of most liked clubs (max 10)
|
|
123
|
-
*UserPaymentApi* | [**addPaymentMethodSetup**](docs/UserPaymentApi.md#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | Ajoute une méthode de paiement Stripe à la liste de l\'utilisateur
|
|
124
|
-
*UserPaymentApi* | [**confirmPaymentMethodSetup**](docs/UserPaymentApi.md#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | Confirme la configuration d\'une méthode de paiement
|
|
125
|
-
*UserPaymentApi* | [**setupPaymentMethod**](docs/UserPaymentApi.md#setuppaymentmethod) | **POST** /api/users/setupPaymentMethod | Configure une méthode de paiement pour un utilisateur
|
|
126
|
-
*UserProfileApi* | [**addFavoriteClub**](docs/UserProfileApi.md#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | Add a club to the user\'s favorite list
|
|
127
|
-
*UserProfileApi* | [**addFavoritePlayer**](docs/UserProfileApi.md#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | Ajoute un joueur aux favoris de l\'utilisateur connecté
|
|
128
|
-
*UserProfileApi* | [**changePassword**](docs/UserProfileApi.md#changepassword) | **PUT** /api/users/me/password | Modifie le mot de passe de l\'utilisateur connecté
|
|
129
|
-
*UserProfileApi* | [**getAllUsers**](docs/UserProfileApi.md#getallusers) | **GET** /api/users | Récupère la liste des utilisateurs avec filtres et pagination
|
|
130
|
-
*UserProfileApi* | [**getFavoriteClubs**](docs/UserProfileApi.md#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs | Retrieve the list of favorite clubs for the logged-in user
|
|
131
|
-
*UserProfileApi* | [**getFavoritesPlayers**](docs/UserProfileApi.md#getfavoritesplayers) | **GET** /api/users/me/favoritesPlayers | Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
|
|
132
|
-
*UserProfileApi* | [**getFrequentlyPlayedWith**](docs/UserProfileApi.md#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
133
|
-
*UserProfileApi* | [**getFrequentlyVisitedClub**](docs/UserProfileApi.md#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | Clubs les plus fréquemment visités par l\'utilisateur connecté
|
|
134
|
-
*UserProfileApi* | [**getProfilePicture**](docs/UserProfileApi.md#getprofilepicture) | **GET** /api/users/me/profile-picture | Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
135
|
-
*UserProfileApi* | [**getPublicUserProfile**](docs/UserProfileApi.md#getpublicuserprofile) | **GET** /api/users/profile/{id} | Récupère le profil public d\'un utilisateur par son ID
|
|
136
|
-
*UserProfileApi* | [**getUserBookingDetail**](docs/UserProfileApi.md#getuserbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} | Récupère le detéail d\'une réservation
|
|
137
|
-
*UserProfileApi* | [**getUserBookings**](docs/UserProfileApi.md#getuserbookings) | **GET** /api/users/me/bookings | Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
138
|
-
*UserProfileApi* | [**getUserCity**](docs/UserProfileApi.md#getusercity) | **GET** /api/users/me/city | Récupère la ville de l\'utilisateur connecté
|
|
139
|
-
*UserProfileApi* | [**getUserDescription**](docs/UserProfileApi.md#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté
|
|
140
|
-
*UserProfileApi* | [**getUserInfo**](docs/UserProfileApi.md#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté
|
|
141
|
-
*UserProfileApi* | [**getUserProfileVisibility**](docs/UserProfileApi.md#getuserprofilevisibility) | **GET** /api/users/me/profile-visibility | Récupère la visibilité du profil de l\'utilisateur connecté
|
|
142
|
-
*UserProfileApi* | [**removeFavoriteClub**](docs/UserProfileApi.md#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | Remove a club from the user\'s favorite list
|
|
143
|
-
*UserProfileApi* | [**removeFavoritePlayer**](docs/UserProfileApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | Retire un joueur des favoris de l\'utilisateur connecté
|
|
144
|
-
*UserProfileApi* | [**updateLevelBySports**](docs/UserProfileApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
145
|
-
*UserProfileApi* | [**updateProfilePicture**](docs/UserProfileApi.md#updateprofilepicture) | **PUT** /api/users/me/profile-picture | Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
146
|
-
*UserProfileApi* | [**updateProfileVisibility**](docs/UserProfileApi.md#updateprofilevisibility) | **PUT** /api/users/me/profile-visibility | Met à jour la visibilité du profil de l\'utilisateur connecté
|
|
147
|
-
*UserProfileApi* | [**updateUser**](docs/UserProfileApi.md#updateuser) | **PUT** /api/users/me | Met à jour les données de l\'utilisateur connecté
|
|
148
|
-
*UserProfileApi* | [**updateUserCity**](docs/UserProfileApi.md#updateusercity) | **PUT** /api/users/me/city | Met à jour la ville de l\'utilisateur connecté
|
|
149
|
-
*UserProfileApi* | [**updateUserDescription**](docs/UserProfileApi.md#updateuserdescription) | **PUT** /api/users/me/description | Met à jour la description de l\'utilisateur connecté
|
|
150
|
-
*UserSubscriptionsApi* | [**cancelSubscription**](docs/UserSubscriptionsApi.md#cancelsubscription) | **DELETE** /api/users/me/subscriptions/{clubId}/{subscriptionId} | Annule un abonnement utilisateur
|
|
151
|
-
*UserSubscriptionsApi* | [**getUserSubscriptions**](docs/UserSubscriptionsApi.md#getusersubscriptions) | **GET** /api/users/me/subscriptions | Récupère les abonnements de l\'utilisateur connecté
|
|
152
|
-
*UserSubscriptionsApi* | [**initiateSubscriptionSession**](docs/UserSubscriptionsApi.md#initiatesubscriptionsession) | **POST** /api/users/me/subscription-session | Initie une session d\'abonnement Stripe
|
|
153
|
-
*UserSubscriptionsApi* | [**resumeSubscription**](docs/UserSubscriptionsApi.md#resumesubscription) | **POST** /api/users/me/subscriptions/{clubId}/{subscriptionId}/resume | Réactive un abonnement utilisateur
|
|
154
|
-
*UsersApi* | [**apiUsersMeNearestClubsGet**](docs/UsersApi.md#apiusersmenearestclubsget) | **GET** /api/users/me/nearest-clubs/ | Récupère les clubs proches de l’utilisateur connecté
|
|
155
|
-
*UsersApi* | [**apiUsersMeNearestPlayersGet**](docs/UsersApi.md#apiusersmenearestplayersget) | **GET** /api/users/me/nearest-players/ | Récupère les utilisateurs proches de l’utilisateur connecté
|
|
156
|
-
*UsersApi* | [**apiUsersNearestClubsCoordinatesGet**](docs/UsersApi.md#apiusersnearestclubscoordinatesget) | **GET** /api/users/nearest-clubs/coordinates | Récupère les clubs proches d’une position donnée
|
|
157
|
-
*UsersApi* | [**apiUsersNearestPlayersCoordinatesGet**](docs/UsersApi.md#apiusersnearestplayerscoordinatesget) | **GET** /api/users/nearest-players/coordinates | Récupère les utilisateurs proches d’une position donnée
|
|
54
|
+
*DiagnosticsApi* | [**ping**](docs/DiagnosticsApi.md#ping) | **GET** /tsoa-test/ping |
|
|
55
|
+
*UsersApi* | [**addFavoriteClub**](docs/UsersApi.md#addfavoriteclub) | **POST** /users/me/favorite-clubs |
|
|
56
|
+
*UsersApi* | [**addFavoritePlayer**](docs/UsersApi.md#addfavoriteplayer) | **POST** /users/me/favoritesPlayers |
|
|
57
|
+
*UsersApi* | [**addPaymentMethodSetup**](docs/UsersApi.md#addpaymentmethodsetup) | **POST** /users/addPaymentMethodSetup |
|
|
58
|
+
*UsersApi* | [**cancelSubscription**](docs/UsersApi.md#cancelsubscription) | **DELETE** /users/me/subscriptions/{clubId}/{subscriptionId} |
|
|
59
|
+
*UsersApi* | [**changePassword**](docs/UsersApi.md#changepassword) | **PUT** /users/me/password |
|
|
60
|
+
*UsersApi* | [**confirmPaymentMethodSetup**](docs/UsersApi.md#confirmpaymentmethodsetup) | **POST** /users/confirmPaymentMethodSetup |
|
|
61
|
+
*UsersApi* | [**getAllUsers**](docs/UsersApi.md#getallusers) | **GET** /users |
|
|
62
|
+
*UsersApi* | [**getBookingDetail**](docs/UsersApi.md#getbookingdetail) | **GET** /users/me/booking-detail/{bookingId} |
|
|
63
|
+
*UsersApi* | [**getFavoriteClubs**](docs/UsersApi.md#getfavoriteclubs) | **GET** /users/me/favorite-clubs |
|
|
64
|
+
*UsersApi* | [**getFavoritesPlayers**](docs/UsersApi.md#getfavoritesplayers) | **GET** /users/me/favoritesPlayers |
|
|
65
|
+
*UsersApi* | [**getFrequentlyPlayedWith**](docs/UsersApi.md#getfrequentlyplayedwith) | **GET** /users/me/frequentlyPlayedWith |
|
|
66
|
+
*UsersApi* | [**getFrequentlyVisitedClub**](docs/UsersApi.md#getfrequentlyvisitedclub) | **GET** /users/me/frequentlyVisitedClub |
|
|
67
|
+
*UsersApi* | [**getMe**](docs/UsersApi.md#getme) | **GET** /users/me |
|
|
68
|
+
*UsersApi* | [**getNearestClubs**](docs/UsersApi.md#getnearestclubs) | **GET** /users/me/nearest-clubs |
|
|
69
|
+
*UsersApi* | [**getNearestClubsFromCoordinates**](docs/UsersApi.md#getnearestclubsfromcoordinates) | **GET** /users/nearest-clubs/coordinates |
|
|
70
|
+
*UsersApi* | [**getNearestUsers**](docs/UsersApi.md#getnearestusers) | **GET** /users/me/nearest-players |
|
|
71
|
+
*UsersApi* | [**getNearestUsersFromCoordinates**](docs/UsersApi.md#getnearestusersfromcoordinates) | **GET** /users/nearest-players/coordinates |
|
|
72
|
+
*UsersApi* | [**getUserBookings**](docs/UsersApi.md#getuserbookings) | **GET** /users/me/bookings |
|
|
73
|
+
*UsersApi* | [**getUserProfileById**](docs/UsersApi.md#getuserprofilebyid) | **GET** /users/profile/{id} |
|
|
74
|
+
*UsersApi* | [**getUserProfileStaff**](docs/UsersApi.md#getuserprofilestaff) | **GET** /users/staff/profile/{id} |
|
|
75
|
+
*UsersApi* | [**getUserRolesInClubs**](docs/UsersApi.md#getuserrolesinclubs) | **GET** /users/me/roles |
|
|
76
|
+
*UsersApi* | [**getUserSubscriptions**](docs/UsersApi.md#getusersubscriptions) | **GET** /users/me/subscriptions |
|
|
77
|
+
*UsersApi* | [**initiateSubscriptionSession**](docs/UsersApi.md#initiatesubscriptionsession) | **POST** /users/me/subscription-session |
|
|
78
|
+
*UsersApi* | [**login**](docs/UsersApi.md#login) | **POST** /users/login |
|
|
79
|
+
*UsersApi* | [**refreshToken**](docs/UsersApi.md#refreshtoken) | **POST** /users/refresh-token |
|
|
80
|
+
*UsersApi* | [**register**](docs/UsersApi.md#register) | **POST** /users |
|
|
81
|
+
*UsersApi* | [**removeFavoriteClub**](docs/UsersApi.md#removefavoriteclub) | **DELETE** /users/me/favorite-clubs/{clubId} |
|
|
82
|
+
*UsersApi* | [**removeFavoritePlayer**](docs/UsersApi.md#removefavoriteplayer) | **DELETE** /users/me/favoritesPlayers/{favoritePlayerId} |
|
|
83
|
+
*UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /users/me/request-password-rest |
|
|
84
|
+
*UsersApi* | [**resumeSubscription**](docs/UsersApi.md#resumesubscription) | **POST** /users/me/subscriptions/{clubId}/{subscriptionId}/resume |
|
|
85
|
+
*UsersApi* | [**setupPaymentMethod**](docs/UsersApi.md#setuppaymentmethod) | **POST** /users/setupPaymentMethod |
|
|
86
|
+
*UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /users/googleSignin |
|
|
87
|
+
*UsersApi* | [**subscribeToClub**](docs/UsersApi.md#subscribetoclub) | **POST** /users/me/subscribe |
|
|
88
|
+
*UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /users/me/customer |
|
|
89
|
+
*UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /users/me/level-by-sports |
|
|
90
|
+
*UsersApi* | [**updateMe**](docs/UsersApi.md#updateme) | **PUT** /users/me |
|
|
91
|
+
*UsersApi* | [**updateProfilePicture**](docs/UsersApi.md#updateprofilepicture) | **PUT** /users/me/profile-picture |
|
|
158
92
|
|
|
159
93
|
|
|
160
94
|
### Documentation For Models
|
|
161
95
|
|
|
162
|
-
- [
|
|
163
|
-
- [
|
|
164
|
-
- [
|
|
165
|
-
- [
|
|
166
|
-
- [
|
|
167
|
-
- [
|
|
168
|
-
- [AddPaymentMethodSetupRequestBody](docs/AddPaymentMethodSetupRequestBody.md)
|
|
169
|
-
- [AddPaymentMethodSetupResponse](docs/AddPaymentMethodSetupResponse.md)
|
|
170
|
-
- [ApiErrorResponse](docs/ApiErrorResponse.md)
|
|
171
|
-
- [BlockSlotResponse](docs/BlockSlotResponse.md)
|
|
172
|
-
- [Booking](docs/Booking.md)
|
|
173
|
-
- [BookingHistoryResponse](docs/BookingHistoryResponse.md)
|
|
174
|
-
- [BookingHistoryResponseHistoryInner](docs/BookingHistoryResponseHistoryInner.md)
|
|
175
|
-
- [BookingPaymentStatusResponse](docs/BookingPaymentStatusResponse.md)
|
|
176
|
-
- [BookingPaymentStatusResponseBooking](docs/BookingPaymentStatusResponseBooking.md)
|
|
177
|
-
- [BookingPaymentStatusResponsePaymentStatusInner](docs/BookingPaymentStatusResponsePaymentStatusInner.md)
|
|
178
|
-
- [BookingPaymentStatusResponseSummary](docs/BookingPaymentStatusResponseSummary.md)
|
|
179
|
-
- [BookingPopulated](docs/BookingPopulated.md)
|
|
180
|
-
- [BookingPopulatedPaymentByPlayersStatusInner](docs/BookingPopulatedPaymentByPlayersStatusInner.md)
|
|
181
|
-
- [BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner](docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md)
|
|
182
|
-
- [BookingPopulatedSlotId](docs/BookingPopulatedSlotId.md)
|
|
183
|
-
- [BookingPopulatedSlotIdCourtId](docs/BookingPopulatedSlotIdCourtId.md)
|
|
184
|
-
- [BookingPopulatedSlotIdCourtIdSportId](docs/BookingPopulatedSlotIdCourtIdSportId.md)
|
|
185
|
-
- [BookingPopulatedUserId](docs/BookingPopulatedUserId.md)
|
|
186
|
-
- [BookingResponse](docs/BookingResponse.md)
|
|
187
|
-
- [BookingStatus](docs/BookingStatus.md)
|
|
188
|
-
- [BookingsStaffWeeklyWeekIdGet200Response](docs/BookingsStaffWeeklyWeekIdGet200Response.md)
|
|
189
|
-
- [CancelBookingResponse](docs/CancelBookingResponse.md)
|
|
190
|
-
- [CancelBookingResponseBooking](docs/CancelBookingResponseBooking.md)
|
|
96
|
+
- [AddPaymentMethodRequestBody](docs/AddPaymentMethodRequestBody.md)
|
|
97
|
+
- [BaseUser](docs/BaseUser.md)
|
|
98
|
+
- [BookingDetailResponse](docs/BookingDetailResponse.md)
|
|
99
|
+
- [BookingSummary](docs/BookingSummary.md)
|
|
100
|
+
- [BookingSummaryBookingHistory](docs/BookingSummaryBookingHistory.md)
|
|
101
|
+
- [BookingSummaryClubAddress](docs/BookingSummaryClubAddress.md)
|
|
191
102
|
- [ChangePasswordRequestBody](docs/ChangePasswordRequestBody.md)
|
|
192
103
|
- [ChangePasswordResponse](docs/ChangePasswordResponse.md)
|
|
193
|
-
- [
|
|
194
|
-
- [
|
|
195
|
-
- [
|
|
196
|
-
- [
|
|
197
|
-
- [
|
|
198
|
-
- [
|
|
199
|
-
- [
|
|
200
|
-
- [
|
|
201
|
-
- [ClubRole](docs/ClubRole.md)
|
|
202
|
-
- [ClubRoleResponse](docs/ClubRoleResponse.md)
|
|
203
|
-
- [ClubRolesResponse](docs/ClubRolesResponse.md)
|
|
204
|
-
- [ClubSettings](docs/ClubSettings.md)
|
|
205
|
-
- [ClubStaffResponse](docs/ClubStaffResponse.md)
|
|
206
|
-
- [ConfirmPaymentMethodSetupRequestBody](docs/ConfirmPaymentMethodSetupRequestBody.md)
|
|
207
|
-
- [ConfirmPaymentMethodSetupResponse](docs/ConfirmPaymentMethodSetupResponse.md)
|
|
208
|
-
- [Court](docs/Court.md)
|
|
209
|
-
- [CourtDeleteResponse](docs/CourtDeleteResponse.md)
|
|
210
|
-
- [CourtResponse](docs/CourtResponse.md)
|
|
211
|
-
- [CourtStatus](docs/CourtStatus.md)
|
|
212
|
-
- [CourtWithNameResponse](docs/CourtWithNameResponse.md)
|
|
213
|
-
- [CourtsResponse](docs/CourtsResponse.md)
|
|
214
|
-
- [CourtsWithNameResponse](docs/CourtsWithNameResponse.md)
|
|
215
|
-
- [CreateBookingRequest](docs/CreateBookingRequest.md)
|
|
216
|
-
- [CreateClubRoleRequestBody](docs/CreateClubRoleRequestBody.md)
|
|
217
|
-
- [CreateCourtRequest](docs/CreateCourtRequest.md)
|
|
218
|
-
- [CreateEventRequest](docs/CreateEventRequest.md)
|
|
219
|
-
- [CreatePriceRequest](docs/CreatePriceRequest.md)
|
|
220
|
-
- [CreateSportRequest](docs/CreateSportRequest.md)
|
|
221
|
-
- [CreateSubscriptionPlanRequest](docs/CreateSubscriptionPlanRequest.md)
|
|
222
|
-
- [DailyTurnoverResponse](docs/DailyTurnoverResponse.md)
|
|
223
|
-
- [DeleteClubRole200Response](docs/DeleteClubRole200Response.md)
|
|
224
|
-
- [DeleteEvent200Response](docs/DeleteEvent200Response.md)
|
|
225
|
-
- [DeleteSlotsByClubInRange200Response](docs/DeleteSlotsByClubInRange200Response.md)
|
|
226
|
-
- [DeleteSport200Response](docs/DeleteSport200Response.md)
|
|
227
|
-
- [Event](docs/Event.md)
|
|
228
|
-
- [EventBooking](docs/EventBooking.md)
|
|
229
|
-
- [EventRegistrationRequest](docs/EventRegistrationRequest.md)
|
|
230
|
-
- [FavoriteClubItem](docs/FavoriteClubItem.md)
|
|
231
|
-
- [FavoriteClubResponse](docs/FavoriteClubResponse.md)
|
|
232
|
-
- [FavoritePlayerPublic](docs/FavoritePlayerPublic.md)
|
|
233
|
-
- [FavoritePlayersIdsResponse](docs/FavoritePlayersIdsResponse.md)
|
|
104
|
+
- [ConfirmPaymentMethodRequestBody](docs/ConfirmPaymentMethodRequestBody.md)
|
|
105
|
+
- [ConfirmPaymentMethodResponse](docs/ConfirmPaymentMethodResponse.md)
|
|
106
|
+
- [DiagnosticsResponse](docs/DiagnosticsResponse.md)
|
|
107
|
+
- [FavoriteClubMutationResponse](docs/FavoriteClubMutationResponse.md)
|
|
108
|
+
- [FavoriteClubRequestBody](docs/FavoriteClubRequestBody.md)
|
|
109
|
+
- [FavoriteClubsResponse](docs/FavoriteClubsResponse.md)
|
|
110
|
+
- [FavoritePlayerMutationResponse](docs/FavoritePlayerMutationResponse.md)
|
|
111
|
+
- [FavoritePlayerRequestBody](docs/FavoritePlayerRequestBody.md)
|
|
234
112
|
- [FavoritePlayersResponse](docs/FavoritePlayersResponse.md)
|
|
235
|
-
- [
|
|
236
|
-
- [
|
|
237
|
-
- [
|
|
238
|
-
- [
|
|
239
|
-
- [
|
|
240
|
-
- [
|
|
241
|
-
- [
|
|
242
|
-
- [
|
|
243
|
-
- [GetLastSixMonthsTurnover200ResponseInner](docs/GetLastSixMonthsTurnover200ResponseInner.md)
|
|
244
|
-
- [GetNumberOfClubUsers200Response](docs/GetNumberOfClubUsers200Response.md)
|
|
245
|
-
- [GetPublishedEventsByClubId200Response](docs/GetPublishedEventsByClubId200Response.md)
|
|
246
|
-
- [GetUserRolesResponse](docs/GetUserRolesResponse.md)
|
|
247
|
-
- [GetUserRolesResponseRolesInner](docs/GetUserRolesResponseRolesInner.md)
|
|
248
|
-
- [GetUserSubscriptionsResponse](docs/GetUserSubscriptionsResponse.md)
|
|
249
|
-
- [GoogleSignInRequestBody](docs/GoogleSignInRequestBody.md)
|
|
250
|
-
- [GoogleSignInResponse](docs/GoogleSignInResponse.md)
|
|
251
|
-
- [InitiateSubscriptionSessionRequestBody](docs/InitiateSubscriptionSessionRequestBody.md)
|
|
252
|
-
- [InitiateSubscriptionSessionResponse](docs/InitiateSubscriptionSessionResponse.md)
|
|
253
|
-
- [InvoicesResponse](docs/InvoicesResponse.md)
|
|
254
|
-
- [InvoicesResponseInvoicesInner](docs/InvoicesResponseInvoicesInner.md)
|
|
255
|
-
- [InvoicesResponsePagination](docs/InvoicesResponsePagination.md)
|
|
256
|
-
- [LevelBySportsItem](docs/LevelBySportsItem.md)
|
|
257
|
-
- [Location](docs/Location.md)
|
|
113
|
+
- [FrequentClub](docs/FrequentClub.md)
|
|
114
|
+
- [FrequentPlayer](docs/FrequentPlayer.md)
|
|
115
|
+
- [Gender](docs/Gender.md)
|
|
116
|
+
- [GoogleAuthRequestBody](docs/GoogleAuthRequestBody.md)
|
|
117
|
+
- [GoogleAuthResponse](docs/GoogleAuthResponse.md)
|
|
118
|
+
- [GoogleAuthResponseUser](docs/GoogleAuthResponseUser.md)
|
|
119
|
+
- [ILevelBySports](docs/ILevelBySports.md)
|
|
120
|
+
- [LevelBySportEntry](docs/LevelBySportEntry.md)
|
|
258
121
|
- [LoginRequestBody](docs/LoginRequestBody.md)
|
|
259
122
|
- [LoginResponse](docs/LoginResponse.md)
|
|
260
|
-
- [
|
|
261
|
-
- [
|
|
262
|
-
- [
|
|
263
|
-
- [
|
|
264
|
-
- [MonthlyTurnoverResponse](docs/MonthlyTurnoverResponse.md)
|
|
265
|
-
- [NoShowFeeResponse](docs/NoShowFeeResponse.md)
|
|
266
|
-
- [NoShowFeeResponseCaptureResultsInner](docs/NoShowFeeResponseCaptureResultsInner.md)
|
|
267
|
-
- [NoShowFeeResponseCreatorChargeResult](docs/NoShowFeeResponseCreatorChargeResult.md)
|
|
268
|
-
- [PaymentMethod](docs/PaymentMethod.md)
|
|
269
|
-
- [PaymentStatus](docs/PaymentStatus.md)
|
|
270
|
-
- [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
|
|
271
|
-
- [PriceResponse](docs/PriceResponse.md)
|
|
123
|
+
- [NotImplementedResponse](docs/NotImplementedResponse.md)
|
|
124
|
+
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
125
|
+
- [PaymentMethodSetupResponse](docs/PaymentMethodSetupResponse.md)
|
|
126
|
+
- [PickUserResponseExcludeKeyofUserResponseLocation](docs/PickUserResponseExcludeKeyofUserResponseLocation.md)
|
|
272
127
|
- [ProfilePictureResponse](docs/ProfilePictureResponse.md)
|
|
273
|
-
- [
|
|
274
|
-
- [PublicClubUser](docs/PublicClubUser.md)
|
|
275
|
-
- [PublicClubUserFrequentlyPlayedWithInner](docs/PublicClubUserFrequentlyPlayedWithInner.md)
|
|
276
|
-
- [PublicClubUserFrequentlyVisitedClubsInner](docs/PublicClubUserFrequentlyVisitedClubsInner.md)
|
|
277
|
-
- [PublicClubUserLevelBySportsInner](docs/PublicClubUserLevelBySportsInner.md)
|
|
128
|
+
- [ProfilePictureUpdateRequestBody](docs/ProfilePictureUpdateRequestBody.md)
|
|
278
129
|
- [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
|
|
279
130
|
- [RefreshTokenResponse](docs/RefreshTokenResponse.md)
|
|
280
|
-
- [RegisterForEvent201Response](docs/RegisterForEvent201Response.md)
|
|
281
131
|
- [RegisterRequestBody](docs/RegisterRequestBody.md)
|
|
282
|
-
- [RestoreSubscriptionPlanForClub200Response](docs/RestoreSubscriptionPlanForClub200Response.md)
|
|
283
132
|
- [SetupPaymentMethodRequestBody](docs/SetupPaymentMethodRequestBody.md)
|
|
284
133
|
- [SetupPaymentMethodResponse](docs/SetupPaymentMethodResponse.md)
|
|
285
|
-
- [
|
|
286
|
-
- [SlotException](docs/SlotException.md)
|
|
287
|
-
- [SlotResponse](docs/SlotResponse.md)
|
|
288
|
-
- [SlotsResponse](docs/SlotsResponse.md)
|
|
289
|
-
- [Sport](docs/Sport.md)
|
|
290
|
-
- [SportResponse](docs/SportResponse.md)
|
|
291
|
-
- [StaffEventResponse](docs/StaffEventResponse.md)
|
|
292
|
-
- [StripeLink](docs/StripeLink.md)
|
|
293
|
-
- [StripeStatus](docs/StripeStatus.md)
|
|
134
|
+
- [StaffUserProfileResponse](docs/StaffUserProfileResponse.md)
|
|
294
135
|
- [SubscribeToClubRequestBody](docs/SubscribeToClubRequestBody.md)
|
|
295
|
-
- [
|
|
296
|
-
- [
|
|
297
|
-
- [
|
|
298
|
-
- [UpdateClubRequest](docs/UpdateClubRequest.md)
|
|
299
|
-
- [UpdateClubRoleRequestBody](docs/UpdateClubRoleRequestBody.md)
|
|
300
|
-
- [UpdateClubSettingsRequest](docs/UpdateClubSettingsRequest.md)
|
|
301
|
-
- [UpdateCourtRequest](docs/UpdateCourtRequest.md)
|
|
136
|
+
- [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
|
|
137
|
+
- [SubscriptionSessionRequestBody](docs/SubscriptionSessionRequestBody.md)
|
|
138
|
+
- [SubscriptionSessionResponse](docs/SubscriptionSessionResponse.md)
|
|
302
139
|
- [UpdateCustomerRequestBody](docs/UpdateCustomerRequestBody.md)
|
|
303
|
-
- [UpdateCustomerRequestBodyAddress](docs/UpdateCustomerRequestBodyAddress.md)
|
|
304
140
|
- [UpdateCustomerResponse](docs/UpdateCustomerResponse.md)
|
|
305
|
-
- [UpdateCustomerResponseCustomer](docs/UpdateCustomerResponseCustomer.md)
|
|
306
141
|
- [UpdateLevelBySportsRequestBody](docs/UpdateLevelBySportsRequestBody.md)
|
|
307
|
-
- [UpdateProfilePictureRequestBody](docs/UpdateProfilePictureRequestBody.md)
|
|
308
|
-
- [UpdateProfileVisibilityRequestBody](docs/UpdateProfileVisibilityRequestBody.md)
|
|
309
|
-
- [UpdateSportRequest](docs/UpdateSportRequest.md)
|
|
310
|
-
- [UpdateSubscriptionPlanRequest](docs/UpdateSubscriptionPlanRequest.md)
|
|
311
|
-
- [UpdateSubscriptionPlanResponse](docs/UpdateSubscriptionPlanResponse.md)
|
|
312
|
-
- [UpdateUserCityRequestBody](docs/UpdateUserCityRequestBody.md)
|
|
313
|
-
- [UpdateUserDescriptionRequestBody](docs/UpdateUserDescriptionRequestBody.md)
|
|
314
142
|
- [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
|
|
315
143
|
- [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
|
|
316
|
-
- [
|
|
317
|
-
- [
|
|
318
|
-
- [
|
|
319
|
-
- [
|
|
320
|
-
- [UserFavoriteClubsResponse](docs/UserFavoriteClubsResponse.md)
|
|
321
|
-
- [UserInfoStaff](docs/UserInfoStaff.md)
|
|
322
|
-
- [UserResponse](docs/UserResponse.md)
|
|
323
|
-
- [UserStaffResponse](docs/UserStaffResponse.md)
|
|
324
|
-
- [YearlyTurnoverResponse](docs/YearlyTurnoverResponse.md)
|
|
325
|
-
- [YearlyTurnoverResponseMonthlyBreakdownInner](docs/YearlyTurnoverResponseMonthlyBreakdownInner.md)
|
|
144
|
+
- [UserLocationSummary](docs/UserLocationSummary.md)
|
|
145
|
+
- [UserProfileResponse](docs/UserProfileResponse.md)
|
|
146
|
+
- [UserRolesResponse](docs/UserRolesResponse.md)
|
|
147
|
+
- [UserSubscriptionsResponse](docs/UserSubscriptionsResponse.md)
|
|
326
148
|
|
|
327
149
|
|
|
328
150
|
<a id="documentation-for-authorization"></a>
|
|
329
151
|
## Documentation For Authorization
|
|
330
152
|
|
|
331
|
-
|
|
332
|
-
Authentication schemes defined for the API:
|
|
333
|
-
<a id="bearerAuth"></a>
|
|
334
|
-
### bearerAuth
|
|
335
|
-
|
|
336
|
-
- **Type**: Bearer authentication (JWT)
|
|
153
|
+
Endpoints do not require authorization.
|
|
337
154
|
|