@tennac-booking/sdk 1.0.76 → 1.0.79

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 (44) hide show
  1. package/.openapi-generator/FILES +6 -16
  2. package/README.md +6 -22
  3. package/api.ts +504 -1246
  4. package/dist/api.d.ts +319 -898
  5. package/dist/api.js +161 -395
  6. package/dist/esm/api.d.ts +319 -898
  7. package/dist/esm/api.js +156 -394
  8. package/docs/BookingInfo.md +2 -2
  9. package/docs/BookingPopulated.md +2 -0
  10. package/docs/{AddPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  11. package/docs/BookingResponse.md +2 -0
  12. package/docs/BookingsApi.md +52 -0
  13. package/docs/ClubAnalyticsStaffApi.md +0 -167
  14. package/docs/ClubResponse.md +8 -0
  15. package/docs/ClubSettingsResponse.md +0 -2
  16. package/docs/CreateBookingRequest.md +2 -2
  17. package/docs/CreateEventRequest.md +0 -2
  18. package/docs/IUserAttributes.md +2 -12
  19. package/docs/PartialClubResponse.md +8 -0
  20. package/docs/PlayerPrice.md +30 -0
  21. package/docs/{SetupPaymentMethodRequestBody.md → QuickReservationClubSport.md} +7 -5
  22. package/docs/QuickReservationClubSummary.md +4 -0
  23. package/docs/SlotInfo.md +2 -2
  24. package/docs/SportsPublicApi.md +53 -0
  25. package/docs/StaffUserProfileResponse.md +2 -12
  26. package/docs/SubscribeRequestBody.md +2 -0
  27. package/docs/SubscriptionInfo.md +24 -0
  28. package/docs/UserProfileResponse.md +4 -12
  29. package/docs/UsersApi.md +0 -156
  30. package/package.json +1 -1
  31. package/docs/ClubPlayerBookingItem.md +0 -36
  32. package/docs/ClubPlayerBookingsResponse.md +0 -22
  33. package/docs/ClubPlayerDetailResponse.md +0 -46
  34. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  35. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  36. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  37. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  38. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  39. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  40. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  41. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  42. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  43. package/docs/PaymentMethodSetupResponse.md +0 -24
  44. package/docs/SetupPaymentMethodResponse.md +0 -24
@@ -1,5 +1,6 @@
1
1
  .gitignore
2
2
  .npmignore
3
+ .openapi-generator-ignore
3
4
  README.md
4
5
  api.ts
5
6
  base.ts
@@ -8,7 +9,6 @@ configuration.ts
8
9
  docs/AddClubMember201Response.md
9
10
  docs/AddClubMemberRequest.md
10
11
  docs/AddOrganizationRequest.md
11
- docs/AddPaymentMethodRequestBody.md
12
12
  docs/BookingAnalyticsResponse.md
13
13
  docs/BookingDetailResponse.md
14
14
  docs/BookingHistoryPopulated.md
@@ -17,6 +17,7 @@ docs/BookingPaymentStatusResponse.md
17
17
  docs/BookingPaymentStatusResponseBooking.md
18
18
  docs/BookingPaymentStatusResponseSummary.md
19
19
  docs/BookingPopulated.md
20
+ docs/BookingPriceBody.md
20
21
  docs/BookingResponse.md
21
22
  docs/BookingResponseOnsitePaymentsInner.md
22
23
  docs/BookingStatus.md
@@ -37,17 +38,7 @@ docs/ClubAnalyticsApi.md
37
38
  docs/ClubAnalyticsStaffApi.md
38
39
  docs/ClubMemberResponse.md
39
40
  docs/ClubMemberResponseUser.md
40
- docs/ClubPlayerBookingItem.md
41
- docs/ClubPlayerBookingsResponse.md
42
- docs/ClubPlayerDetailResponse.md
43
- docs/ClubPlayerDetailResponseSportsLevelsInner.md
44
41
  docs/ClubPlayerResponse.md
45
- docs/ClubPlayerStatisticsResponse.md
46
- docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md
47
- docs/ClubPlayerStatisticsResponseFavoriteClub.md
48
- docs/ClubPlayerStatisticsResponseMostPlayedClub.md
49
- docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md
50
- docs/ClubPlayerSubscriptionSummary.md
51
42
  docs/ClubResponse.md
52
43
  docs/ClubResponseCreatedAt.md
53
44
  docs/ClubResponseLocation.md
@@ -64,8 +55,6 @@ docs/ClubUserCountResponse.md
64
55
  docs/ClubsApi.md
65
56
  docs/ClubsManagerApi.md
66
57
  docs/ClubsStaffApi.md
67
- docs/ConfirmPaymentMethodRequestBody.md
68
- docs/ConfirmPaymentMethodResponse.md
69
58
  docs/CourtInfo.md
70
59
  docs/CourtResponse.md
71
60
  docs/CourtStatus.md
@@ -140,7 +129,6 @@ docs/PartialClubResponse.md
140
129
  docs/PasswordResetRequestBody.md
141
130
  docs/PaymentByPlayerInfo.md
142
131
  docs/PaymentMethod.md
143
- docs/PaymentMethodSetupResponse.md
144
132
  docs/PickIUserLocationExcludeKeyofIUserLocationType.md
145
133
  docs/PlanInterval.md
146
134
  docs/PlayerCategoriesResponse.md
@@ -148,6 +136,7 @@ docs/PlayerCategory.md
148
136
  docs/PlayerCategoryId.md
149
137
  docs/PlayerListResponse.md
150
138
  docs/PlayerPaymentInfo.md
139
+ docs/PlayerPrice.md
151
140
  docs/PlayerSummary.md
152
141
  docs/PlayerWithPaymentMethod.md
153
142
  docs/ProfilePictureResponse.md
@@ -155,6 +144,7 @@ docs/ProfilePictureUpdateRequestBody.md
155
144
  docs/PublicSubscriptionPlanResponse.md
156
145
  docs/PublicUserProfileResponse.md
157
146
  docs/PublishEventResponse.md
147
+ docs/QuickReservationClubSport.md
158
148
  docs/QuickReservationClubSummary.md
159
149
  docs/QuickReservationClubSummaryLocation.md
160
150
  docs/QuickReservationResponse.md
@@ -165,8 +155,6 @@ docs/RegisterRequestBody.md
165
155
  docs/RegisterRequestBodyLocation.md
166
156
  docs/RequestPasswordReset200Response.md
167
157
  docs/ResetPasswordRequest.md
168
- docs/SetupPaymentMethodRequestBody.md
169
- docs/SetupPaymentMethodResponse.md
170
158
  docs/SlotInfo.md
171
159
  docs/SportAnalyticsResponse.md
172
160
  docs/SportInfo.md
@@ -175,6 +163,7 @@ docs/SportLevel.md
175
163
  docs/SportResponse.md
176
164
  docs/SportWithLevels.md
177
165
  docs/SportsManagerApi.md
166
+ docs/SportsPublicApi.md
178
167
  docs/SportsStaffApi.md
179
168
  docs/StaffUserProfileResponse.md
180
169
  docs/StripeStripeDeletedProduct.md
@@ -206,6 +195,7 @@ docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
206
195
  docs/StripeStripeTaxCode.md
207
196
  docs/SubscribeRequestBody.md
208
197
  docs/SubscriberPrice.md
198
+ docs/SubscriptionInfo.md
209
199
  docs/SubscriptionMutationResponse.md
210
200
  docs/SubscriptionPlanResponse.md
211
201
  docs/SubscriptionsManagerApi.md
package/README.md CHANGED
@@ -52,6 +52,7 @@ All URIs are relative to *http://localhost*
52
52
  Class | Method | HTTP request | Description
53
53
  ------------ | ------------- | ------------- | -------------
54
54
  *BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
55
+ *BookingsApi* | [**getBookingPrice**](docs/BookingsApi.md#getbookingprice) | **POST** /api/bookings/booking-price |
55
56
  *BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
56
57
  *BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
57
58
  *BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
@@ -66,9 +67,6 @@ Class | Method | HTTP request | Description
66
67
  *ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
67
68
  *ClubAnalyticsApi* | [**getPopularClubs**](docs/ClubAnalyticsApi.md#getpopularclubs) | **GET** /api/club-analytics/popular-clubs |
68
69
  *ClubAnalyticsStaffApi* | [**getAnalyticsBySport**](docs/ClubAnalyticsStaffApi.md#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics |
69
- *ClubAnalyticsStaffApi* | [**getClubPlayerBookingsById**](docs/ClubAnalyticsStaffApi.md#getclubplayerbookingsbyid) | **GET** /api/club-analytics/players/{playerId}/bookings |
70
- *ClubAnalyticsStaffApi* | [**getClubPlayerById**](docs/ClubAnalyticsStaffApi.md#getclubplayerbyid) | **GET** /api/club-analytics/players/{playerId} |
71
- *ClubAnalyticsStaffApi* | [**getClubPlayerStatisticsById**](docs/ClubAnalyticsStaffApi.md#getclubplayerstatisticsbyid) | **GET** /api/club-analytics/players/{playerId}/statistics |
72
70
  *ClubAnalyticsStaffApi* | [**getClubPlayers**](docs/ClubAnalyticsStaffApi.md#getclubplayers) | **GET** /api/club-analytics/players |
73
71
  *ClubAnalyticsStaffApi* | [**getDailyTurnOver**](docs/ClubAnalyticsStaffApi.md#getdailyturnover) | **GET** /api/club-analytics/daily-turnover |
74
72
  *ClubAnalyticsStaffApi* | [**getGenderPercentage**](docs/ClubAnalyticsStaffApi.md#getgenderpercentage) | **GET** /api/club-analytics/gender-percentage |
@@ -139,6 +137,7 @@ Class | Method | HTTP request | Description
139
137
  *SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
140
138
  *SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
141
139
  *SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
140
+ *SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
142
141
  *SportsStaffApi* | [**getAllSports**](docs/SportsStaffApi.md#getallsports) | **GET** /api/sports |
143
142
  *SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
144
143
  *SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
@@ -152,9 +151,7 @@ Class | Method | HTTP request | Description
152
151
  *UsersApi* | [**addFavoriteClub**](docs/UsersApi.md#addfavoriteclub) | **POST** /api/users/me/favorite-clubs |
153
152
  *UsersApi* | [**addFavoritePlayer**](docs/UsersApi.md#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers |
154
153
  *UsersApi* | [**addOrganization**](docs/UsersApi.md#addorganization) | **POST** /api/users/me/add-organization |
155
- *UsersApi* | [**addPaymentMethodSetup**](docs/UsersApi.md#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup |
156
154
  *UsersApi* | [**changePassword**](docs/UsersApi.md#changepassword) | **PUT** /api/users/me/password |
157
- *UsersApi* | [**confirmPaymentMethodSetup**](docs/UsersApi.md#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup |
158
155
  *UsersApi* | [**getAllUsers**](docs/UsersApi.md#getallusers) | **GET** /api/users |
159
156
  *UsersApi* | [**getBookingDetail**](docs/UsersApi.md#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} |
160
157
  *UsersApi* | [**getFavoriteClubs**](docs/UsersApi.md#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs |
@@ -179,7 +176,6 @@ Class | Method | HTTP request | Description
179
176
  *UsersApi* | [**requestEmailVerification**](docs/UsersApi.md#requestemailverification) | **POST** /api/users/me/request-email-verification |
180
177
  *UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
181
178
  *UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
182
- *UsersApi* | [**setupOffSessionPaymentMethod**](docs/UsersApi.md#setupoffsessionpaymentmethod) | **POST** /api/users/setupOffSessionPaymentMethod |
183
179
  *UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
184
180
  *UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /api/users/me/customer |
185
181
  *UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports |
@@ -194,7 +190,6 @@ Class | Method | HTTP request | Description
194
190
  - [AddClubMember201Response](docs/AddClubMember201Response.md)
195
191
  - [AddClubMemberRequest](docs/AddClubMemberRequest.md)
196
192
  - [AddOrganizationRequest](docs/AddOrganizationRequest.md)
197
- - [AddPaymentMethodRequestBody](docs/AddPaymentMethodRequestBody.md)
198
193
  - [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
199
194
  - [BookingDetailResponse](docs/BookingDetailResponse.md)
200
195
  - [BookingHistoryPopulated](docs/BookingHistoryPopulated.md)
@@ -203,6 +198,7 @@ Class | Method | HTTP request | Description
203
198
  - [BookingPaymentStatusResponseBooking](docs/BookingPaymentStatusResponseBooking.md)
204
199
  - [BookingPaymentStatusResponseSummary](docs/BookingPaymentStatusResponseSummary.md)
205
200
  - [BookingPopulated](docs/BookingPopulated.md)
201
+ - [BookingPriceBody](docs/BookingPriceBody.md)
206
202
  - [BookingResponse](docs/BookingResponse.md)
207
203
  - [BookingResponseOnsitePaymentsInner](docs/BookingResponseOnsitePaymentsInner.md)
208
204
  - [BookingStatus](docs/BookingStatus.md)
@@ -217,17 +213,7 @@ Class | Method | HTTP request | Description
217
213
  - [CheckedInPlayer](docs/CheckedInPlayer.md)
218
214
  - [ClubMemberResponse](docs/ClubMemberResponse.md)
219
215
  - [ClubMemberResponseUser](docs/ClubMemberResponseUser.md)
220
- - [ClubPlayerBookingItem](docs/ClubPlayerBookingItem.md)
221
- - [ClubPlayerBookingsResponse](docs/ClubPlayerBookingsResponse.md)
222
- - [ClubPlayerDetailResponse](docs/ClubPlayerDetailResponse.md)
223
- - [ClubPlayerDetailResponseSportsLevelsInner](docs/ClubPlayerDetailResponseSportsLevelsInner.md)
224
216
  - [ClubPlayerResponse](docs/ClubPlayerResponse.md)
225
- - [ClubPlayerStatisticsResponse](docs/ClubPlayerStatisticsResponse.md)
226
- - [ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner](docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md)
227
- - [ClubPlayerStatisticsResponseFavoriteClub](docs/ClubPlayerStatisticsResponseFavoriteClub.md)
228
- - [ClubPlayerStatisticsResponseMostPlayedClub](docs/ClubPlayerStatisticsResponseMostPlayedClub.md)
229
- - [ClubPlayerStatisticsResponseMostPlayedPartnersInner](docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md)
230
- - [ClubPlayerSubscriptionSummary](docs/ClubPlayerSubscriptionSummary.md)
231
217
  - [ClubResponse](docs/ClubResponse.md)
232
218
  - [ClubResponseCreatedAt](docs/ClubResponseCreatedAt.md)
233
219
  - [ClubResponseLocation](docs/ClubResponseLocation.md)
@@ -238,8 +224,6 @@ Class | Method | HTTP request | Description
238
224
  - [ClubSubscriptions](docs/ClubSubscriptions.md)
239
225
  - [ClubSummary](docs/ClubSummary.md)
240
226
  - [ClubUserCountResponse](docs/ClubUserCountResponse.md)
241
- - [ConfirmPaymentMethodRequestBody](docs/ConfirmPaymentMethodRequestBody.md)
242
- - [ConfirmPaymentMethodResponse](docs/ConfirmPaymentMethodResponse.md)
243
227
  - [CourtInfo](docs/CourtInfo.md)
244
228
  - [CourtResponse](docs/CourtResponse.md)
245
229
  - [CourtStatus](docs/CourtStatus.md)
@@ -310,7 +294,6 @@ Class | Method | HTTP request | Description
310
294
  - [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
311
295
  - [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
312
296
  - [PaymentMethod](docs/PaymentMethod.md)
313
- - [PaymentMethodSetupResponse](docs/PaymentMethodSetupResponse.md)
314
297
  - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
315
298
  - [PlanInterval](docs/PlanInterval.md)
316
299
  - [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
@@ -318,6 +301,7 @@ Class | Method | HTTP request | Description
318
301
  - [PlayerCategoryId](docs/PlayerCategoryId.md)
319
302
  - [PlayerListResponse](docs/PlayerListResponse.md)
320
303
  - [PlayerPaymentInfo](docs/PlayerPaymentInfo.md)
304
+ - [PlayerPrice](docs/PlayerPrice.md)
321
305
  - [PlayerSummary](docs/PlayerSummary.md)
322
306
  - [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
323
307
  - [ProfilePictureResponse](docs/ProfilePictureResponse.md)
@@ -325,6 +309,7 @@ Class | Method | HTTP request | Description
325
309
  - [PublicSubscriptionPlanResponse](docs/PublicSubscriptionPlanResponse.md)
326
310
  - [PublicUserProfileResponse](docs/PublicUserProfileResponse.md)
327
311
  - [PublishEventResponse](docs/PublishEventResponse.md)
312
+ - [QuickReservationClubSport](docs/QuickReservationClubSport.md)
328
313
  - [QuickReservationClubSummary](docs/QuickReservationClubSummary.md)
329
314
  - [QuickReservationClubSummaryLocation](docs/QuickReservationClubSummaryLocation.md)
330
315
  - [QuickReservationResponse](docs/QuickReservationResponse.md)
@@ -335,8 +320,6 @@ Class | Method | HTTP request | Description
335
320
  - [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
336
321
  - [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
337
322
  - [ResetPasswordRequest](docs/ResetPasswordRequest.md)
338
- - [SetupPaymentMethodRequestBody](docs/SetupPaymentMethodRequestBody.md)
339
- - [SetupPaymentMethodResponse](docs/SetupPaymentMethodResponse.md)
340
323
  - [SlotInfo](docs/SlotInfo.md)
341
324
  - [SportAnalyticsResponse](docs/SportAnalyticsResponse.md)
342
325
  - [SportInfo](docs/SportInfo.md)
@@ -374,6 +357,7 @@ Class | Method | HTTP request | Description
374
357
  - [StripeStripeTaxCode](docs/StripeStripeTaxCode.md)
375
358
  - [SubscribeRequestBody](docs/SubscribeRequestBody.md)
376
359
  - [SubscriberPrice](docs/SubscriberPrice.md)
360
+ - [SubscriptionInfo](docs/SubscriptionInfo.md)
377
361
  - [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
378
362
  - [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
379
363
  - [SurfaceType](docs/SurfaceType.md)