@tennac-booking/sdk 1.0.34 → 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.
@@ -83,9 +83,9 @@ docs/FavoritePlayersIdsResponse.md
83
83
  docs/FavoritePlayersResponse.md
84
84
  docs/FrequentlyPlayedWithItem.md
85
85
  docs/FrequentlyVisitedClubItem.md
86
+ docs/GenderPercentage.md
86
87
  docs/GetActiveClubs200Response.md
87
88
  docs/GetClubInfos200Response.md
88
- docs/GetClubPlayers200Response.md
89
89
  docs/GetClubUsersById200Response.md
90
90
  docs/GetCourtsByClubAndSport200Response.md
91
91
  docs/GetLastSixMonthsTurnover200ResponseInner.md
@@ -102,6 +102,7 @@ docs/InvoicesResponse.md
102
102
  docs/InvoicesResponseInvoicesInner.md
103
103
  docs/InvoicesResponsePagination.md
104
104
  docs/LevelBySportsItem.md
105
+ docs/Location.md
105
106
  docs/LoginRequestBody.md
106
107
  docs/LoginResponse.md
107
108
  docs/ManagerBookingsApi.md
@@ -143,7 +144,6 @@ docs/SlotResponse.md
143
144
  docs/SlotsResponse.md
144
145
  docs/Sport.md
145
146
  docs/SportResponse.md
146
- docs/SportsResponse.md
147
147
  docs/StaffClubAnalyticsApi.md
148
148
  docs/StaffClubBookingsApi.md
149
149
  docs/StaffClubsApi.md
@@ -191,6 +191,7 @@ docs/UserProfileApi.md
191
191
  docs/UserResponse.md
192
192
  docs/UserStaffResponse.md
193
193
  docs/UserSubscriptionsApi.md
194
+ docs/UsersApi.md
194
195
  docs/YearlyTurnoverResponse.md
195
196
  docs/YearlyTurnoverResponseMonthlyBreakdownInner.md
196
197
  git_push.sh
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.34
1
+ ## @tennac-booking/sdk@1.0.35
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @tennac-booking/sdk@1.0.34 --save
39
+ npm install @tennac-booking/sdk@1.0.35 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -92,6 +92,7 @@ Class | Method | HTTP request | Description
92
92
  *ManagerSportsApi* | [**deleteSport**](docs/ManagerSportsApi.md#deletesport) | **DELETE** /api/sports/{id} | Supprimer un sport
93
93
  *ManagerSportsApi* | [**updateSport**](docs/ManagerSportsApi.md#updatesport) | **PUT** /api/sports/{id} | Mettre à jour un sport
94
94
  *StaffClubAnalyticsApi* | [**getClubPlayers**](docs/StaffClubAnalyticsApi.md#getclubplayers) | **GET** /api/analytics/players | Récupère la liste des joueurs du club (données staff uniquement)
95
+ *StaffClubAnalyticsApi* | [**getGenderPercentage**](docs/StaffClubAnalyticsApi.md#getgenderpercentage) | **GET** /api/analytics/gender | Récupère le pourcentage de joueurs par genre pour le club courant
95
96
  *StaffClubAnalyticsApi* | [**getLastSixMonthsTurnover**](docs/StaffClubAnalyticsApi.md#getlastsixmonthsturnover) | **GET** /api/analytics/lastSixMonthsTurnover | Get monthly turnover for the last six months (club courant)
96
97
  *StaffClubAnalyticsApi* | [**getNumberOfClubUsers**](docs/StaffClubAnalyticsApi.md#getnumberofclubusers) | **GET** /api/analytics/user-count | Get number of users subscribed to the club
97
98
  *StaffClubBookingsApi* | [**getTenNextBookings**](docs/StaffClubBookingsApi.md#gettennextbookings) | **GET** /api/analytics/next-bookings | Get the ten next bookings for the current club
@@ -145,6 +146,10 @@ Class | Method | HTTP request | Description
145
146
  *UserSubscriptionsApi* | [**getUserSubscriptions**](docs/UserSubscriptionsApi.md#getusersubscriptions) | **GET** /api/users/me/subscriptions | Récupère les abonnements de l\'utilisateur connecté
146
147
  *UserSubscriptionsApi* | [**initiateSubscriptionSession**](docs/UserSubscriptionsApi.md#initiatesubscriptionsession) | **POST** /api/users/me/subscription-session | Initie une session d\'abonnement Stripe
147
148
  *UserSubscriptionsApi* | [**resumeSubscription**](docs/UserSubscriptionsApi.md#resumesubscription) | **POST** /api/users/me/subscriptions/{clubId}/{subscriptionId}/resume | Réactive un abonnement utilisateur
149
+ *UsersApi* | [**apiUsersMeNearestClubsGet**](docs/UsersApi.md#apiusersmenearestclubsget) | **GET** /api/users/me/nearest-clubs/ | Récupère les clubs proches de l’utilisateur connecté
150
+ *UsersApi* | [**apiUsersMeNearestPlayersGet**](docs/UsersApi.md#apiusersmenearestplayersget) | **GET** /api/users/me/nearest-players/ | Récupère les utilisateurs proches de l’utilisateur connecté
151
+ *UsersApi* | [**apiUsersNearestClubsCoordinatesGet**](docs/UsersApi.md#apiusersnearestclubscoordinatesget) | **GET** /api/users/nearest-clubs/coordinates | Récupère les clubs proches d’une position donnée
152
+ *UsersApi* | [**apiUsersNearestPlayersCoordinatesGet**](docs/UsersApi.md#apiusersnearestplayerscoordinatesget) | **GET** /api/users/nearest-players/coordinates | Récupère les utilisateurs proches d’une position donnée
148
153
 
149
154
 
150
155
  ### Documentation For Models
@@ -222,9 +227,9 @@ Class | Method | HTTP request | Description
222
227
  - [FavoritePlayersResponse](docs/FavoritePlayersResponse.md)
223
228
  - [FrequentlyPlayedWithItem](docs/FrequentlyPlayedWithItem.md)
224
229
  - [FrequentlyVisitedClubItem](docs/FrequentlyVisitedClubItem.md)
230
+ - [GenderPercentage](docs/GenderPercentage.md)
225
231
  - [GetActiveClubs200Response](docs/GetActiveClubs200Response.md)
226
232
  - [GetClubInfos200Response](docs/GetClubInfos200Response.md)
227
- - [GetClubPlayers200Response](docs/GetClubPlayers200Response.md)
228
233
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
229
234
  - [GetCourtsByClubAndSport200Response](docs/GetCourtsByClubAndSport200Response.md)
230
235
  - [GetLastSixMonthsTurnover200ResponseInner](docs/GetLastSixMonthsTurnover200ResponseInner.md)
@@ -241,6 +246,7 @@ Class | Method | HTTP request | Description
241
246
  - [InvoicesResponseInvoicesInner](docs/InvoicesResponseInvoicesInner.md)
242
247
  - [InvoicesResponsePagination](docs/InvoicesResponsePagination.md)
243
248
  - [LevelBySportsItem](docs/LevelBySportsItem.md)
249
+ - [Location](docs/Location.md)
244
250
  - [LoginRequestBody](docs/LoginRequestBody.md)
245
251
  - [LoginResponse](docs/LoginResponse.md)
246
252
  - [ManagerCancelBookingRequest](docs/ManagerCancelBookingRequest.md)
@@ -274,7 +280,6 @@ Class | Method | HTTP request | Description
274
280
  - [SlotsResponse](docs/SlotsResponse.md)
275
281
  - [Sport](docs/Sport.md)
276
282
  - [SportResponse](docs/SportResponse.md)
277
- - [SportsResponse](docs/SportsResponse.md)
278
283
  - [StaffEventResponse](docs/StaffEventResponse.md)
279
284
  - [StripeStatus](docs/StripeStatus.md)
280
285
  - [SubscribeToClubRequestBody](docs/SubscribeToClubRequestBody.md)