@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.
- package/.openapi-generator/FILES +3 -2
- package/README.md +9 -4
- package/api.ts +692 -55
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +425 -58
- package/dist/api.js +436 -4
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +425 -58
- package/dist/esm/api.js +429 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ActiveClub.md +4 -2
- package/docs/BookingPopulated.md +2 -0
- package/docs/Club.md +2 -2
- package/docs/CourtWithNameResponse.md +2 -0
- package/docs/GenderPercentage.md +26 -0
- package/docs/Location.md +32 -0
- package/docs/Sport.md +0 -2
- package/docs/StaffClubAnalyticsApi.md +49 -2
- package/docs/StaffClubsApi.md +2 -2
- package/docs/UserClubSportsApi.md +2 -2
- package/docs/UsersApi.md +243 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/GetClubPlayers200Response.md +0 -22
- package/docs/SportsResponse.md +0 -22
package/.openapi-generator/FILES
CHANGED
|
@@ -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.
|
|
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.
|
|
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)
|