@tennac-booking/sdk 1.0.19 → 1.0.21

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.
@@ -31,6 +31,7 @@ docs/CheckInPlayersRequest.md
31
31
  docs/CheckInPlayersResponse.md
32
32
  docs/CheckInPlayersResponseCheckedInPlayersInner.md
33
33
  docs/Club.md
34
+ docs/ClubAnalyticsApi.md
34
35
  docs/ClubInfoResponse.md
35
36
  docs/ClubListResponse.md
36
37
  docs/ClubMember.md
@@ -55,6 +56,7 @@ docs/CreateCourtRequest.md
55
56
  docs/CreatePriceRequest.md
56
57
  docs/CreateSportRequest.md
57
58
  docs/CreateSubscriptionPlanRequest.md
59
+ docs/DailyTurnoverResponse.md
58
60
  docs/DeleteClubRole200Response.md
59
61
  docs/DeleteClubSettingsRequest.md
60
62
  docs/DeleteSlotsByClubInRange200Response.md
@@ -75,6 +77,9 @@ docs/GoogleSignInRequestBody.md
75
77
  docs/GoogleSignInResponse.md
76
78
  docs/InitiateSubscriptionSessionRequestBody.md
77
79
  docs/InitiateSubscriptionSessionResponse.md
80
+ docs/InvoicesResponse.md
81
+ docs/InvoicesResponseInvoicesInner.md
82
+ docs/InvoicesResponsePagination.md
78
83
  docs/LoginRequestBody.md
79
84
  docs/LoginResponse.md
80
85
  docs/ManagerBookingsApi.md
@@ -87,6 +92,7 @@ docs/ManagerClubSlotsApi.md
87
92
  docs/ManagerClubSubscriptionsApi.md
88
93
  docs/ManagerClubsApi.md
89
94
  docs/ManagerSportsApi.md
95
+ docs/MonthlyTurnoverResponse.md
90
96
  docs/NoShowFeeResponse.md
91
97
  docs/NoShowFeeResponseCaptureResultsInner.md
92
98
  docs/NoShowFeeResponseCreatorChargeResult.md
@@ -141,6 +147,8 @@ docs/UserProfileApi.md
141
147
  docs/UserResponse.md
142
148
  docs/UserSubscriptionsApi.md
143
149
  docs/UsersResponse.md
150
+ docs/YearlyTurnoverResponse.md
151
+ docs/YearlyTurnoverResponseMonthlyBreakdownInner.md
144
152
  git_push.sh
145
153
  index.ts
146
154
  package.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.17
1
+ ## @tennac-booking/sdk@1.0.21
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.17 --save
39
+ npm install @tennac-booking/sdk@1.0.21 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -55,6 +55,10 @@ Class | Method | HTTP request | Description
55
55
  *AdminClubsApi* | [**createClub**](docs/AdminClubsApi.md#createclub) | **POST** /api/clubs | Créer un nouveau club (Admin uniquement)
56
56
  *AdminClubsApi* | [**getAllClubs**](docs/AdminClubsApi.md#getallclubs) | **GET** /api/clubs | Récupérer tous les clubs (Admin uniquement)
57
57
  *BookingsApi* | [**cancelBooking**](docs/BookingsApi.md#cancelbooking) | **DELETE** /api/bookings/{bookingId}/cancel | Annuler une réservation (créateur uniquement)
58
+ *ClubAnalyticsApi* | [**getDailyTurnOver**](docs/ClubAnalyticsApi.md#getdailyturnover) | **GET** /api/clubs/{id}/turnover/daily | Chiffre d\'affaires quotidien
59
+ *ClubAnalyticsApi* | [**getInvoices**](docs/ClubAnalyticsApi.md#getinvoices) | **GET** /api/clubs/{id}/invoices | Récupérer les factures du club
60
+ *ClubAnalyticsApi* | [**getMonthlyTurnOver**](docs/ClubAnalyticsApi.md#getmonthlyturnover) | **GET** /api/clubs/{id}/turnover/monthly | Chiffre d\'affaires mensuel
61
+ *ClubAnalyticsApi* | [**getYearlyTurnOver**](docs/ClubAnalyticsApi.md#getyearlyturnover) | **GET** /api/clubs/{id}/turnover/yearly | Chiffre d\'affaires annuel
58
62
  *ManagerBookingsApi* | [**applyNoShowFee**](docs/ManagerBookingsApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/apply-noshow-fee | Appliquer les frais de no-show
59
63
  *ManagerBookingsApi* | [**checkInPlayers**](docs/ManagerBookingsApi.md#checkinplayers) | **POST** /api/bookings/{bookingId}/checkin-players | Enregistrer l\'arrivée des joueurs
60
64
  *ManagerBookingsApi* | [**getBookingPaymentStatus**](docs/ManagerBookingsApi.md#getbookingpaymentstatus) | **GET** /api/bookings/{bookingId}/payment-status | Obtenir le statut des paiements d\'une réservation
@@ -83,7 +87,7 @@ Class | Method | HTTP request | Description
83
87
  *ManagerSportsApi* | [**deleteSport**](docs/ManagerSportsApi.md#deletesport) | **DELETE** /api/sports/{id} | Supprimer un sport
84
88
  *ManagerSportsApi* | [**updateSport**](docs/ManagerSportsApi.md#updatesport) | **PUT** /api/sports/{id} | Mettre à jour un sport
85
89
  *StaffClubAnalyticsApi* | [**getLastSixMonthsTurnover**](docs/StaffClubAnalyticsApi.md#getlastsixmonthsturnover) | **GET** /api/clubs/{id}/turnover | Get monthly turnover for the last six months
86
- *StaffClubAnalyticsApi* | [**getNumberOfClubUsers**](docs/StaffClubAnalyticsApi.md#getnumberofclubusers) | **GET** /api/clubs/{id}/user-count | Get number of users subscribed to the club
90
+ *StaffClubAnalyticsApi* | [**getNumberOfClubUsers**](docs/StaffClubAnalyticsApi.md#getnumberofclubusers) | **GET** /api/clubs/user-count | Get number of users subscribed to the club
87
91
  *StaffClubBookingsApi* | [**getTenNextBookings**](docs/StaffClubBookingsApi.md#gettennextbookings) | **GET** /api/clubs/{id}/next-bookings | Get the ten next bookings for the club
88
92
  *StaffClubSettingsApi* | [**getClubSettings**](docs/StaffClubSettingsApi.md#getclubsettings) | **GET** /api/club-settings | Récupère les paramètres d\'un club
89
93
  *StaffClubsApi* | [**getClubInfos**](docs/StaffClubsApi.md#getclubinfos) | **GET** /api/clubs/{id}/infos | Get club information (name, address, email, etc.)
@@ -163,6 +167,7 @@ Class | Method | HTTP request | Description
163
167
  - [CreatePriceRequest](docs/CreatePriceRequest.md)
164
168
  - [CreateSportRequest](docs/CreateSportRequest.md)
165
169
  - [CreateSubscriptionPlanRequest](docs/CreateSubscriptionPlanRequest.md)
170
+ - [DailyTurnoverResponse](docs/DailyTurnoverResponse.md)
166
171
  - [DeleteClubRole200Response](docs/DeleteClubRole200Response.md)
167
172
  - [DeleteClubSettingsRequest](docs/DeleteClubSettingsRequest.md)
168
173
  - [DeleteSlotsByClubInRange200Response](docs/DeleteSlotsByClubInRange200Response.md)
@@ -183,11 +188,15 @@ Class | Method | HTTP request | Description
183
188
  - [GoogleSignInResponse](docs/GoogleSignInResponse.md)
184
189
  - [InitiateSubscriptionSessionRequestBody](docs/InitiateSubscriptionSessionRequestBody.md)
185
190
  - [InitiateSubscriptionSessionResponse](docs/InitiateSubscriptionSessionResponse.md)
191
+ - [InvoicesResponse](docs/InvoicesResponse.md)
192
+ - [InvoicesResponseInvoicesInner](docs/InvoicesResponseInvoicesInner.md)
193
+ - [InvoicesResponsePagination](docs/InvoicesResponsePagination.md)
186
194
  - [LoginRequestBody](docs/LoginRequestBody.md)
187
195
  - [LoginResponse](docs/LoginResponse.md)
188
196
  - [ManagerCancelBookingRequest](docs/ManagerCancelBookingRequest.md)
189
197
  - [ManagerCancelBookingResponse](docs/ManagerCancelBookingResponse.md)
190
198
  - [ManagerCancelBookingResponseBooking](docs/ManagerCancelBookingResponseBooking.md)
199
+ - [MonthlyTurnoverResponse](docs/MonthlyTurnoverResponse.md)
191
200
  - [NoShowFeeResponse](docs/NoShowFeeResponse.md)
192
201
  - [NoShowFeeResponseCaptureResultsInner](docs/NoShowFeeResponseCaptureResultsInner.md)
193
202
  - [NoShowFeeResponseCreatorChargeResult](docs/NoShowFeeResponseCreatorChargeResult.md)
@@ -226,6 +235,8 @@ Class | Method | HTTP request | Description
226
235
  - [User](docs/User.md)
227
236
  - [UserResponse](docs/UserResponse.md)
228
237
  - [UsersResponse](docs/UsersResponse.md)
238
+ - [YearlyTurnoverResponse](docs/YearlyTurnoverResponse.md)
239
+ - [YearlyTurnoverResponseMonthlyBreakdownInner](docs/YearlyTurnoverResponseMonthlyBreakdownInner.md)
229
240
 
230
241
 
231
242
  <a id="documentation-for-authorization"></a>