@tennac-booking/sdk 1.0.77 → 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 (64) hide show
  1. package/.openapi-generator/FILES +5 -16
  2. package/README.md +8 -24
  3. package/api.ts +505 -1247
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +320 -899
  8. package/dist/api.js +162 -396
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +320 -899
  16. package/dist/esm/api.js +157 -395
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingInfo.md +2 -2
  28. package/docs/BookingPopulated.md +2 -0
  29. package/docs/{AddPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  30. package/docs/BookingResponse.md +2 -0
  31. package/docs/BookingsApi.md +52 -0
  32. package/docs/ClubAnalyticsStaffApi.md +0 -167
  33. package/docs/ClubResponse.md +8 -0
  34. package/docs/ClubSettingsResponse.md +0 -2
  35. package/docs/CreateBookingRequest.md +2 -2
  36. package/docs/CreateEventRequest.md +0 -2
  37. package/docs/IUserAttributes.md +2 -12
  38. package/docs/PartialClubResponse.md +8 -0
  39. package/docs/PlayerPrice.md +30 -0
  40. package/docs/{SetupPaymentMethodRequestBody.md → QuickReservationClubSport.md} +7 -5
  41. package/docs/QuickReservationClubSummary.md +4 -0
  42. package/docs/SlotInfo.md +2 -2
  43. package/docs/SportsPublicApi.md +53 -0
  44. package/docs/StaffUserProfileResponse.md +2 -12
  45. package/docs/SubscribeRequestBody.md +2 -0
  46. package/docs/SubscriptionInfo.md +24 -0
  47. package/docs/UserProfileResponse.md +4 -12
  48. package/docs/UsersApi.md +0 -156
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/ClubPlayerBookingItem.md +0 -36
  52. package/docs/ClubPlayerBookingsResponse.md +0 -22
  53. package/docs/ClubPlayerDetailResponse.md +0 -46
  54. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  55. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  56. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  57. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  58. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  59. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  60. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  61. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  62. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  63. package/docs/PaymentMethodSetupResponse.md +0 -24
  64. package/docs/SetupPaymentMethodResponse.md +0 -24
@@ -9,7 +9,6 @@ configuration.ts
9
9
  docs/AddClubMember201Response.md
10
10
  docs/AddClubMemberRequest.md
11
11
  docs/AddOrganizationRequest.md
12
- docs/AddPaymentMethodRequestBody.md
13
12
  docs/BookingAnalyticsResponse.md
14
13
  docs/BookingDetailResponse.md
15
14
  docs/BookingHistoryPopulated.md
@@ -18,6 +17,7 @@ docs/BookingPaymentStatusResponse.md
18
17
  docs/BookingPaymentStatusResponseBooking.md
19
18
  docs/BookingPaymentStatusResponseSummary.md
20
19
  docs/BookingPopulated.md
20
+ docs/BookingPriceBody.md
21
21
  docs/BookingResponse.md
22
22
  docs/BookingResponseOnsitePaymentsInner.md
23
23
  docs/BookingStatus.md
@@ -38,17 +38,7 @@ docs/ClubAnalyticsApi.md
38
38
  docs/ClubAnalyticsStaffApi.md
39
39
  docs/ClubMemberResponse.md
40
40
  docs/ClubMemberResponseUser.md
41
- docs/ClubPlayerBookingItem.md
42
- docs/ClubPlayerBookingsResponse.md
43
- docs/ClubPlayerDetailResponse.md
44
- docs/ClubPlayerDetailResponseSportsLevelsInner.md
45
41
  docs/ClubPlayerResponse.md
46
- docs/ClubPlayerStatisticsResponse.md
47
- docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md
48
- docs/ClubPlayerStatisticsResponseFavoriteClub.md
49
- docs/ClubPlayerStatisticsResponseMostPlayedClub.md
50
- docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md
51
- docs/ClubPlayerSubscriptionSummary.md
52
42
  docs/ClubResponse.md
53
43
  docs/ClubResponseCreatedAt.md
54
44
  docs/ClubResponseLocation.md
@@ -65,8 +55,6 @@ docs/ClubUserCountResponse.md
65
55
  docs/ClubsApi.md
66
56
  docs/ClubsManagerApi.md
67
57
  docs/ClubsStaffApi.md
68
- docs/ConfirmPaymentMethodRequestBody.md
69
- docs/ConfirmPaymentMethodResponse.md
70
58
  docs/CourtInfo.md
71
59
  docs/CourtResponse.md
72
60
  docs/CourtStatus.md
@@ -141,7 +129,6 @@ docs/PartialClubResponse.md
141
129
  docs/PasswordResetRequestBody.md
142
130
  docs/PaymentByPlayerInfo.md
143
131
  docs/PaymentMethod.md
144
- docs/PaymentMethodSetupResponse.md
145
132
  docs/PickIUserLocationExcludeKeyofIUserLocationType.md
146
133
  docs/PlanInterval.md
147
134
  docs/PlayerCategoriesResponse.md
@@ -149,6 +136,7 @@ docs/PlayerCategory.md
149
136
  docs/PlayerCategoryId.md
150
137
  docs/PlayerListResponse.md
151
138
  docs/PlayerPaymentInfo.md
139
+ docs/PlayerPrice.md
152
140
  docs/PlayerSummary.md
153
141
  docs/PlayerWithPaymentMethod.md
154
142
  docs/ProfilePictureResponse.md
@@ -156,6 +144,7 @@ docs/ProfilePictureUpdateRequestBody.md
156
144
  docs/PublicSubscriptionPlanResponse.md
157
145
  docs/PublicUserProfileResponse.md
158
146
  docs/PublishEventResponse.md
147
+ docs/QuickReservationClubSport.md
159
148
  docs/QuickReservationClubSummary.md
160
149
  docs/QuickReservationClubSummaryLocation.md
161
150
  docs/QuickReservationResponse.md
@@ -166,8 +155,6 @@ docs/RegisterRequestBody.md
166
155
  docs/RegisterRequestBodyLocation.md
167
156
  docs/RequestPasswordReset200Response.md
168
157
  docs/ResetPasswordRequest.md
169
- docs/SetupPaymentMethodRequestBody.md
170
- docs/SetupPaymentMethodResponse.md
171
158
  docs/SlotInfo.md
172
159
  docs/SportAnalyticsResponse.md
173
160
  docs/SportInfo.md
@@ -176,6 +163,7 @@ docs/SportLevel.md
176
163
  docs/SportResponse.md
177
164
  docs/SportWithLevels.md
178
165
  docs/SportsManagerApi.md
166
+ docs/SportsPublicApi.md
179
167
  docs/SportsStaffApi.md
180
168
  docs/StaffUserProfileResponse.md
181
169
  docs/StripeStripeDeletedProduct.md
@@ -207,6 +195,7 @@ docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
207
195
  docs/StripeStripeTaxCode.md
208
196
  docs/SubscribeRequestBody.md
209
197
  docs/SubscriberPrice.md
198
+ docs/SubscriptionInfo.md
210
199
  docs/SubscriptionMutationResponse.md
211
200
  docs/SubscriptionPlanResponse.md
212
201
  docs/SubscriptionsManagerApi.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.77
1
+ ## @tennac-booking/sdk@1.0.75
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.77 --save
39
+ npm install @tennac-booking/sdk@1.0.75 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -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)