@tennac-booking/sdk 1.0.72 → 1.0.74
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 +1 -6
- package/README.md +3 -11
- package/api.ts +132 -482
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +86 -353
- package/dist/api.js +95 -200
- 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 +86 -353
- package/dist/esm/api.js +90 -199
- 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/BookingInfo.md +2 -2
- package/docs/ClubSettingsResponse.md +0 -2
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/IUserAttributes.md +2 -12
- package/docs/SportsPublicApi.md +53 -0
- package/docs/StaffUserProfileResponse.md +2 -12
- package/docs/SubscribeRequestBody.md +2 -0
- package/docs/UserProfileResponse.md +4 -12
- package/docs/UsersApi.md +0 -156
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AddPaymentMethodRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodResponse.md +0 -22
- package/docs/PaymentMethodSetupResponse.md +0 -24
- package/docs/SetupPaymentMethodRequestBody.md +0 -20
- package/docs/SetupPaymentMethodResponse.md +0 -24
package/.openapi-generator/FILES
CHANGED
|
@@ -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
|
|
@@ -56,8 +55,6 @@ docs/ClubUserCountResponse.md
|
|
|
56
55
|
docs/ClubsApi.md
|
|
57
56
|
docs/ClubsManagerApi.md
|
|
58
57
|
docs/ClubsStaffApi.md
|
|
59
|
-
docs/ConfirmPaymentMethodRequestBody.md
|
|
60
|
-
docs/ConfirmPaymentMethodResponse.md
|
|
61
58
|
docs/CourtInfo.md
|
|
62
59
|
docs/CourtResponse.md
|
|
63
60
|
docs/CourtStatus.md
|
|
@@ -132,7 +129,6 @@ docs/PartialClubResponse.md
|
|
|
132
129
|
docs/PasswordResetRequestBody.md
|
|
133
130
|
docs/PaymentByPlayerInfo.md
|
|
134
131
|
docs/PaymentMethod.md
|
|
135
|
-
docs/PaymentMethodSetupResponse.md
|
|
136
132
|
docs/PickIUserLocationExcludeKeyofIUserLocationType.md
|
|
137
133
|
docs/PlanInterval.md
|
|
138
134
|
docs/PlayerCategoriesResponse.md
|
|
@@ -158,8 +154,6 @@ docs/RegisterRequestBody.md
|
|
|
158
154
|
docs/RegisterRequestBodyLocation.md
|
|
159
155
|
docs/RequestPasswordReset200Response.md
|
|
160
156
|
docs/ResetPasswordRequest.md
|
|
161
|
-
docs/SetupPaymentMethodRequestBody.md
|
|
162
|
-
docs/SetupPaymentMethodResponse.md
|
|
163
157
|
docs/SlotInfo.md
|
|
164
158
|
docs/SportAnalyticsResponse.md
|
|
165
159
|
docs/SportInfo.md
|
|
@@ -168,6 +162,7 @@ docs/SportLevel.md
|
|
|
168
162
|
docs/SportResponse.md
|
|
169
163
|
docs/SportWithLevels.md
|
|
170
164
|
docs/SportsManagerApi.md
|
|
165
|
+
docs/SportsPublicApi.md
|
|
171
166
|
docs/SportsStaffApi.md
|
|
172
167
|
docs/StaffUserProfileResponse.md
|
|
173
168
|
docs/StripeStripeDeletedProduct.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.74
|
|
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.74 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -137,6 +137,7 @@ Class | Method | HTTP request | Description
|
|
|
137
137
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
138
138
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
139
139
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
140
|
+
*SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
|
|
140
141
|
*SportsStaffApi* | [**getAllSports**](docs/SportsStaffApi.md#getallsports) | **GET** /api/sports |
|
|
141
142
|
*SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
|
|
142
143
|
*SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
|
|
@@ -150,9 +151,7 @@ Class | Method | HTTP request | Description
|
|
|
150
151
|
*UsersApi* | [**addFavoriteClub**](docs/UsersApi.md#addfavoriteclub) | **POST** /api/users/me/favorite-clubs |
|
|
151
152
|
*UsersApi* | [**addFavoritePlayer**](docs/UsersApi.md#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers |
|
|
152
153
|
*UsersApi* | [**addOrganization**](docs/UsersApi.md#addorganization) | **POST** /api/users/me/add-organization |
|
|
153
|
-
*UsersApi* | [**addPaymentMethodSetup**](docs/UsersApi.md#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup |
|
|
154
154
|
*UsersApi* | [**changePassword**](docs/UsersApi.md#changepassword) | **PUT** /api/users/me/password |
|
|
155
|
-
*UsersApi* | [**confirmPaymentMethodSetup**](docs/UsersApi.md#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup |
|
|
156
155
|
*UsersApi* | [**getAllUsers**](docs/UsersApi.md#getallusers) | **GET** /api/users |
|
|
157
156
|
*UsersApi* | [**getBookingDetail**](docs/UsersApi.md#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} |
|
|
158
157
|
*UsersApi* | [**getFavoriteClubs**](docs/UsersApi.md#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs |
|
|
@@ -177,7 +176,6 @@ Class | Method | HTTP request | Description
|
|
|
177
176
|
*UsersApi* | [**requestEmailVerification**](docs/UsersApi.md#requestemailverification) | **POST** /api/users/me/request-email-verification |
|
|
178
177
|
*UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
|
|
179
178
|
*UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
|
|
180
|
-
*UsersApi* | [**setupOffSessionPaymentMethod**](docs/UsersApi.md#setupoffsessionpaymentmethod) | **POST** /api/users/setupOffSessionPaymentMethod |
|
|
181
179
|
*UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
|
|
182
180
|
*UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /api/users/me/customer |
|
|
183
181
|
*UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports |
|
|
@@ -192,7 +190,6 @@ Class | Method | HTTP request | Description
|
|
|
192
190
|
- [AddClubMember201Response](docs/AddClubMember201Response.md)
|
|
193
191
|
- [AddClubMemberRequest](docs/AddClubMemberRequest.md)
|
|
194
192
|
- [AddOrganizationRequest](docs/AddOrganizationRequest.md)
|
|
195
|
-
- [AddPaymentMethodRequestBody](docs/AddPaymentMethodRequestBody.md)
|
|
196
193
|
- [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
|
|
197
194
|
- [BookingDetailResponse](docs/BookingDetailResponse.md)
|
|
198
195
|
- [BookingHistoryPopulated](docs/BookingHistoryPopulated.md)
|
|
@@ -227,8 +224,6 @@ Class | Method | HTTP request | Description
|
|
|
227
224
|
- [ClubSubscriptions](docs/ClubSubscriptions.md)
|
|
228
225
|
- [ClubSummary](docs/ClubSummary.md)
|
|
229
226
|
- [ClubUserCountResponse](docs/ClubUserCountResponse.md)
|
|
230
|
-
- [ConfirmPaymentMethodRequestBody](docs/ConfirmPaymentMethodRequestBody.md)
|
|
231
|
-
- [ConfirmPaymentMethodResponse](docs/ConfirmPaymentMethodResponse.md)
|
|
232
227
|
- [CourtInfo](docs/CourtInfo.md)
|
|
233
228
|
- [CourtResponse](docs/CourtResponse.md)
|
|
234
229
|
- [CourtStatus](docs/CourtStatus.md)
|
|
@@ -299,7 +294,6 @@ Class | Method | HTTP request | Description
|
|
|
299
294
|
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
300
295
|
- [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
|
|
301
296
|
- [PaymentMethod](docs/PaymentMethod.md)
|
|
302
|
-
- [PaymentMethodSetupResponse](docs/PaymentMethodSetupResponse.md)
|
|
303
297
|
- [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
|
|
304
298
|
- [PlanInterval](docs/PlanInterval.md)
|
|
305
299
|
- [PlayerCategoriesResponse](docs/PlayerCategoriesResponse.md)
|
|
@@ -325,8 +319,6 @@ Class | Method | HTTP request | Description
|
|
|
325
319
|
- [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
|
|
326
320
|
- [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
|
|
327
321
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
328
|
-
- [SetupPaymentMethodRequestBody](docs/SetupPaymentMethodRequestBody.md)
|
|
329
|
-
- [SetupPaymentMethodResponse](docs/SetupPaymentMethodResponse.md)
|
|
330
322
|
- [SlotInfo](docs/SlotInfo.md)
|
|
331
323
|
- [SportAnalyticsResponse](docs/SportAnalyticsResponse.md)
|
|
332
324
|
- [SportInfo](docs/SportInfo.md)
|