@tennac-booking/sdk 1.0.88 → 1.0.90

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 (61) hide show
  1. package/.openapi-generator/FILES +16 -7
  2. package/README.md +19 -12
  3. package/api.ts +1053 -620
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +844 -443
  8. package/dist/api.js +296 -209
  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 +844 -443
  16. package/dist/esm/api.js +284 -206
  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/BookingClubInfo.md +28 -0
  28. package/docs/{SetupPaymentMethodRequestBody.md → BookingCourtInfo.md} +7 -5
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPaymentStatus.md +24 -0
  31. package/docs/BookingPlayerPaymentSummary.md +34 -0
  32. package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  33. package/docs/BookingPriceResponse.md +22 -0
  34. package/docs/BookingResponse.md +2 -0
  35. package/docs/BookingSlotInfo.md +30 -0
  36. package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
  37. package/docs/BookingSummary.md +54 -2
  38. package/docs/BookingsApi.md +55 -0
  39. package/docs/ClubResponse.md +8 -0
  40. package/docs/ClubsApi.md +1 -1
  41. package/docs/CreateBookingRequest.md +4 -2
  42. package/docs/IUserAttributes.md +2 -12
  43. package/docs/InvoiceStatus.md +22 -0
  44. package/docs/MyClubInfosResponse.md +26 -0
  45. package/docs/PartialClubResponse.md +8 -0
  46. package/docs/PlayerPrice.md +30 -0
  47. package/docs/{ConfirmPaymentMethodResponse.md → QuickReservationClubSport.md} +7 -7
  48. package/docs/QuickReservationClubSummary.md +4 -0
  49. package/docs/SportsPublicApi.md +53 -0
  50. package/docs/StaffUserProfileResponse.md +2 -12
  51. package/docs/SubscribeRequestBody.md +2 -0
  52. package/docs/SubscriptionInfo.md +24 -0
  53. package/docs/UserApi.md +60 -0
  54. package/docs/UserBookingsResponse.md +28 -0
  55. package/docs/UserProfileResponse.md +4 -12
  56. package/docs/UsersApi.md +4 -160
  57. package/index.ts +1 -1
  58. package/package.json +1 -1
  59. package/docs/BookingDetailResponse.md +0 -46
  60. package/docs/PaymentMethodSetupResponse.md +0 -24
  61. package/docs/SetupPaymentMethodResponse.md +0 -24
@@ -9,17 +9,23 @@ 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
- docs/BookingDetailResponse.md
13
+ docs/BookingClubInfo.md
14
+ docs/BookingCourtInfo.md
15
15
  docs/BookingHistoryPopulated.md
16
16
  docs/BookingInfo.md
17
+ docs/BookingPaymentStatus.md
17
18
  docs/BookingPaymentStatusResponse.md
18
19
  docs/BookingPaymentStatusResponseBooking.md
19
20
  docs/BookingPaymentStatusResponseSummary.md
21
+ docs/BookingPlayerPaymentSummary.md
20
22
  docs/BookingPopulated.md
23
+ docs/BookingPriceBody.md
24
+ docs/BookingPriceResponse.md
21
25
  docs/BookingResponse.md
22
26
  docs/BookingResponseOnsitePaymentsInner.md
27
+ docs/BookingSlotInfo.md
28
+ docs/BookingSportInfo.md
23
29
  docs/BookingStatus.md
24
30
  docs/BookingSummary.md
25
31
  docs/BookingSummaryClubAddress.md
@@ -74,8 +80,6 @@ docs/ClubWeeklySchedule.md
74
80
  docs/ClubsApi.md
75
81
  docs/ClubsManagerApi.md
76
82
  docs/ClubsStaffApi.md
77
- docs/ConfirmPaymentMethodRequestBody.md
78
- docs/ConfirmPaymentMethodResponse.md
79
83
  docs/CourtInfo.md
80
84
  docs/CourtResponse.md
81
85
  docs/CourtStatus.md
@@ -131,6 +135,7 @@ docs/IUserAttributes.md
131
135
  docs/IUserAttributesOrganizationsInner.md
132
136
  docs/IUserLocation.md
133
137
  docs/InvoiceInfo.md
138
+ docs/InvoiceStatus.md
134
139
  docs/JoinEventRequest.md
135
140
  docs/JoinEventResponse.md
136
141
  docs/LastSixMonthsTurnoverItem.md
@@ -141,6 +146,7 @@ docs/ManagerCancelBookingRequest.md
141
146
  docs/ManagerCancelBookingResponse.md
142
147
  docs/MonthlyBreakdown.md
143
148
  docs/MonthlyTurnoverResponse.md
149
+ docs/MyClubInfosResponse.md
144
150
  docs/NoShowFeeResponse.md
145
151
  docs/OffPeakRule.md
146
152
  docs/PartialClubResponse.md
@@ -148,7 +154,6 @@ docs/PartialClubWeeklySchedule.md
148
154
  docs/PasswordResetRequestBody.md
149
155
  docs/PaymentByPlayerInfo.md
150
156
  docs/PaymentMethod.md
151
- docs/PaymentMethodSetupResponse.md
152
157
  docs/PickIUserLocationExcludeKeyofIUserLocationType.md
153
158
  docs/PlanInterval.md
154
159
  docs/PlayerCategoriesResponse.md
@@ -156,6 +161,7 @@ docs/PlayerCategory.md
156
161
  docs/PlayerCategoryId.md
157
162
  docs/PlayerListResponse.md
158
163
  docs/PlayerPaymentInfo.md
164
+ docs/PlayerPrice.md
159
165
  docs/PlayerSummary.md
160
166
  docs/PlayerWithPaymentMethod.md
161
167
  docs/ProfilePictureResponse.md
@@ -163,6 +169,7 @@ docs/ProfilePictureUpdateRequestBody.md
163
169
  docs/PublicSubscriptionPlanResponse.md
164
170
  docs/PublicUserProfileResponse.md
165
171
  docs/PublishEventResponse.md
172
+ docs/QuickReservationClubSport.md
166
173
  docs/QuickReservationClubSummary.md
167
174
  docs/QuickReservationClubSummaryLocation.md
168
175
  docs/QuickReservationResponse.md
@@ -173,8 +180,6 @@ docs/RegisterRequestBody.md
173
180
  docs/RegisterRequestBodyLocation.md
174
181
  docs/RequestPasswordReset200Response.md
175
182
  docs/ResetPasswordRequest.md
176
- docs/SetupPaymentMethodRequestBody.md
177
- docs/SetupPaymentMethodResponse.md
178
183
  docs/SlotInfo.md
179
184
  docs/SportAnalyticsResponse.md
180
185
  docs/SportInfo.md
@@ -183,6 +188,7 @@ docs/SportLevel.md
183
188
  docs/SportResponse.md
184
189
  docs/SportWithLevels.md
185
190
  docs/SportsManagerApi.md
191
+ docs/SportsPublicApi.md
186
192
  docs/SportsStaffApi.md
187
193
  docs/StaffUserProfileResponse.md
188
194
  docs/StripeStripeDeletedProduct.md
@@ -214,6 +220,7 @@ docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
214
220
  docs/StripeStripeTaxCode.md
215
221
  docs/SubscribeRequestBody.md
216
222
  docs/SubscriberPrice.md
223
+ docs/SubscriptionInfo.md
217
224
  docs/SubscriptionMutationResponse.md
218
225
  docs/SubscriptionPlanResponse.md
219
226
  docs/SubscriptionsManagerApi.md
@@ -240,6 +247,8 @@ docs/UpdateSportRequest.md
240
247
  docs/UpdateSubscriptionPlanForClub200Response.md
241
248
  docs/UpdateUserRequestBody.md
242
249
  docs/UpdateUserRequestBodyLevelBySportsInner.md
250
+ docs/UserApi.md
251
+ docs/UserBookingsResponse.md
243
252
  docs/UserClubSubscription.md
244
253
  docs/UserInfo.md
245
254
  docs/UserLocationSummary.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.77
1
+ ## @tennac-booking/sdk@1.0.89
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.89 --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 |
@@ -145,6 +146,7 @@ Class | Method | HTTP request | Description
145
146
  *SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
146
147
  *SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
147
148
  *SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
149
+ *SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
148
150
  *SportsStaffApi* | [**getAllSports**](docs/SportsStaffApi.md#getallsports) | **GET** /api/sports |
149
151
  *SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
150
152
  *SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
@@ -155,12 +157,11 @@ Class | Method | HTTP request | Description
155
157
  *SubscriptionsUserApi* | [**mySubscriptions**](docs/SubscriptionsUserApi.md#mysubscriptions) | **GET** /api/subscriptions/me |
156
158
  *SubscriptionsUserApi* | [**resume**](docs/SubscriptionsUserApi.md#resume) | **POST** /api/subscriptions/{clubId}/{subscriptionId}/resume |
157
159
  *SubscriptionsUserApi* | [**subscribe**](docs/SubscriptionsUserApi.md#subscribe) | **POST** /api/subscriptions/subscribe |
160
+ *UserApi* | [**getMyClubInfos**](docs/UserApi.md#getmyclubinfos) | **GET** /api/users/me/club-infos |
158
161
  *UsersApi* | [**addFavoriteClub**](docs/UsersApi.md#addfavoriteclub) | **POST** /api/users/me/favorite-clubs |
159
162
  *UsersApi* | [**addFavoritePlayer**](docs/UsersApi.md#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers |
160
163
  *UsersApi* | [**addOrganization**](docs/UsersApi.md#addorganization) | **POST** /api/users/me/add-organization |
161
- *UsersApi* | [**addPaymentMethodSetup**](docs/UsersApi.md#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup |
162
164
  *UsersApi* | [**changePassword**](docs/UsersApi.md#changepassword) | **PUT** /api/users/me/password |
163
- *UsersApi* | [**confirmPaymentMethodSetup**](docs/UsersApi.md#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup |
164
165
  *UsersApi* | [**getAllUsers**](docs/UsersApi.md#getallusers) | **GET** /api/users |
165
166
  *UsersApi* | [**getBookingDetail**](docs/UsersApi.md#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} |
166
167
  *UsersApi* | [**getFavoriteClubs**](docs/UsersApi.md#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs |
@@ -185,7 +186,6 @@ Class | Method | HTTP request | Description
185
186
  *UsersApi* | [**requestEmailVerification**](docs/UsersApi.md#requestemailverification) | **POST** /api/users/me/request-email-verification |
186
187
  *UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
187
188
  *UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
188
- *UsersApi* | [**setupOffSessionPaymentMethod**](docs/UsersApi.md#setupoffsessionpaymentmethod) | **POST** /api/users/setupOffSessionPaymentMethod |
189
189
  *UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
190
190
  *UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /api/users/me/customer |
191
191
  *UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports |
@@ -200,17 +200,23 @@ Class | Method | HTTP request | Description
200
200
  - [AddClubMember201Response](docs/AddClubMember201Response.md)
201
201
  - [AddClubMemberRequest](docs/AddClubMemberRequest.md)
202
202
  - [AddOrganizationRequest](docs/AddOrganizationRequest.md)
203
- - [AddPaymentMethodRequestBody](docs/AddPaymentMethodRequestBody.md)
204
203
  - [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
205
- - [BookingDetailResponse](docs/BookingDetailResponse.md)
204
+ - [BookingClubInfo](docs/BookingClubInfo.md)
205
+ - [BookingCourtInfo](docs/BookingCourtInfo.md)
206
206
  - [BookingHistoryPopulated](docs/BookingHistoryPopulated.md)
207
207
  - [BookingInfo](docs/BookingInfo.md)
208
+ - [BookingPaymentStatus](docs/BookingPaymentStatus.md)
208
209
  - [BookingPaymentStatusResponse](docs/BookingPaymentStatusResponse.md)
209
210
  - [BookingPaymentStatusResponseBooking](docs/BookingPaymentStatusResponseBooking.md)
210
211
  - [BookingPaymentStatusResponseSummary](docs/BookingPaymentStatusResponseSummary.md)
212
+ - [BookingPlayerPaymentSummary](docs/BookingPlayerPaymentSummary.md)
211
213
  - [BookingPopulated](docs/BookingPopulated.md)
214
+ - [BookingPriceBody](docs/BookingPriceBody.md)
215
+ - [BookingPriceResponse](docs/BookingPriceResponse.md)
212
216
  - [BookingResponse](docs/BookingResponse.md)
213
217
  - [BookingResponseOnsitePaymentsInner](docs/BookingResponseOnsitePaymentsInner.md)
218
+ - [BookingSlotInfo](docs/BookingSlotInfo.md)
219
+ - [BookingSportInfo](docs/BookingSportInfo.md)
214
220
  - [BookingStatus](docs/BookingStatus.md)
215
221
  - [BookingSummary](docs/BookingSummary.md)
216
222
  - [BookingSummaryClubAddress](docs/BookingSummaryClubAddress.md)
@@ -252,8 +258,6 @@ Class | Method | HTTP request | Description
252
258
  - [ClubSummary](docs/ClubSummary.md)
253
259
  - [ClubUserCountResponse](docs/ClubUserCountResponse.md)
254
260
  - [ClubWeeklySchedule](docs/ClubWeeklySchedule.md)
255
- - [ConfirmPaymentMethodRequestBody](docs/ConfirmPaymentMethodRequestBody.md)
256
- - [ConfirmPaymentMethodResponse](docs/ConfirmPaymentMethodResponse.md)
257
261
  - [CourtInfo](docs/CourtInfo.md)
258
262
  - [CourtResponse](docs/CourtResponse.md)
259
263
  - [CourtStatus](docs/CourtStatus.md)
@@ -305,6 +309,7 @@ Class | Method | HTTP request | Description
305
309
  - [IUserAttributesOrganizationsInner](docs/IUserAttributesOrganizationsInner.md)
306
310
  - [IUserLocation](docs/IUserLocation.md)
307
311
  - [InvoiceInfo](docs/InvoiceInfo.md)
312
+ - [InvoiceStatus](docs/InvoiceStatus.md)
308
313
  - [JoinEventRequest](docs/JoinEventRequest.md)
309
314
  - [JoinEventResponse](docs/JoinEventResponse.md)
310
315
  - [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
@@ -315,6 +320,7 @@ Class | Method | HTTP request | Description
315
320
  - [ManagerCancelBookingResponse](docs/ManagerCancelBookingResponse.md)
316
321
  - [MonthlyBreakdown](docs/MonthlyBreakdown.md)
317
322
  - [MonthlyTurnoverResponse](docs/MonthlyTurnoverResponse.md)
323
+ - [MyClubInfosResponse](docs/MyClubInfosResponse.md)
318
324
  - [NoShowFeeResponse](docs/NoShowFeeResponse.md)
319
325
  - [OffPeakRule](docs/OffPeakRule.md)
320
326
  - [PartialClubResponse](docs/PartialClubResponse.md)
@@ -322,7 +328,6 @@ Class | Method | HTTP request | Description
322
328
  - [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
323
329
  - [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
324
330
  - [PaymentMethod](docs/PaymentMethod.md)
325
- - [PaymentMethodSetupResponse](docs/PaymentMethodSetupResponse.md)
326
331
  - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
327
332
  - [PlanInterval](docs/PlanInterval.md)
328
333
  - [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
@@ -330,6 +335,7 @@ Class | Method | HTTP request | Description
330
335
  - [PlayerCategoryId](docs/PlayerCategoryId.md)
331
336
  - [PlayerListResponse](docs/PlayerListResponse.md)
332
337
  - [PlayerPaymentInfo](docs/PlayerPaymentInfo.md)
338
+ - [PlayerPrice](docs/PlayerPrice.md)
333
339
  - [PlayerSummary](docs/PlayerSummary.md)
334
340
  - [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
335
341
  - [ProfilePictureResponse](docs/ProfilePictureResponse.md)
@@ -337,6 +343,7 @@ Class | Method | HTTP request | Description
337
343
  - [PublicSubscriptionPlanResponse](docs/PublicSubscriptionPlanResponse.md)
338
344
  - [PublicUserProfileResponse](docs/PublicUserProfileResponse.md)
339
345
  - [PublishEventResponse](docs/PublishEventResponse.md)
346
+ - [QuickReservationClubSport](docs/QuickReservationClubSport.md)
340
347
  - [QuickReservationClubSummary](docs/QuickReservationClubSummary.md)
341
348
  - [QuickReservationClubSummaryLocation](docs/QuickReservationClubSummaryLocation.md)
342
349
  - [QuickReservationResponse](docs/QuickReservationResponse.md)
@@ -347,8 +354,6 @@ Class | Method | HTTP request | Description
347
354
  - [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
348
355
  - [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
349
356
  - [ResetPasswordRequest](docs/ResetPasswordRequest.md)
350
- - [SetupPaymentMethodRequestBody](docs/SetupPaymentMethodRequestBody.md)
351
- - [SetupPaymentMethodResponse](docs/SetupPaymentMethodResponse.md)
352
357
  - [SlotInfo](docs/SlotInfo.md)
353
358
  - [SportAnalyticsResponse](docs/SportAnalyticsResponse.md)
354
359
  - [SportInfo](docs/SportInfo.md)
@@ -386,6 +391,7 @@ Class | Method | HTTP request | Description
386
391
  - [StripeStripeTaxCode](docs/StripeStripeTaxCode.md)
387
392
  - [SubscribeRequestBody](docs/SubscribeRequestBody.md)
388
393
  - [SubscriberPrice](docs/SubscriberPrice.md)
394
+ - [SubscriptionInfo](docs/SubscriptionInfo.md)
389
395
  - [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
390
396
  - [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
391
397
  - [SurfaceType](docs/SurfaceType.md)
@@ -408,6 +414,7 @@ Class | Method | HTTP request | Description
408
414
  - [UpdateSubscriptionPlanForClub200Response](docs/UpdateSubscriptionPlanForClub200Response.md)
409
415
  - [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
410
416
  - [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
417
+ - [UserBookingsResponse](docs/UserBookingsResponse.md)
411
418
  - [UserClubSubscription](docs/UserClubSubscription.md)
412
419
  - [UserInfo](docs/UserInfo.md)
413
420
  - [UserLocationSummary](docs/UserLocationSummary.md)