@tennac-booking/sdk 1.0.62 → 1.0.64
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 +4 -1
- package/README.md +9 -3
- package/api.ts +514 -95
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +400 -96
- package/dist/api.js +189 -5
- 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 +400 -96
- package/dist/esm/api.js +188 -4
- 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/AddOrganizationRequest.md +22 -0
- package/docs/ClubsApi.md +46 -0
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
- package/docs/IUserAttributes.md +10 -0
- package/docs/IUserAttributesOrganizationsInner.md +28 -0
- package/docs/RegisterRequestBody.md +6 -0
- package/docs/{UpdateUserRequestBodyLocation.md → RegisterRequestBodyLocation.md} +3 -3
- package/docs/StaffUserProfileResponse.md +10 -0
- package/docs/UpdateUserRequestBody.md +1 -1
- package/docs/UserProfileResponse.md +10 -0
- package/docs/UsersApi.md +104 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -8,6 +8,7 @@ common.ts
|
|
|
8
8
|
configuration.ts
|
|
9
9
|
docs/AddClubMember201Response.md
|
|
10
10
|
docs/AddClubMemberRequest.md
|
|
11
|
+
docs/AddOrganizationRequest.md
|
|
11
12
|
docs/AddPaymentMethodRequestBody.md
|
|
12
13
|
docs/BookingAnalyticsResponse.md
|
|
13
14
|
docs/BookingDetailResponse.md
|
|
@@ -102,6 +103,7 @@ docs/GetAvailableSlotsBySports200Response.md
|
|
|
102
103
|
docs/GetClubMembers200Response.md
|
|
103
104
|
docs/GetClubRoles200Response.md
|
|
104
105
|
docs/GetClubUsersById200Response.md
|
|
106
|
+
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
105
107
|
docs/GetCourtsByClubAndSportById200Response.md
|
|
106
108
|
docs/GetInfillPercentagePerPeriod200Response.md
|
|
107
109
|
docs/GetSlotsByClubById200Response.md
|
|
@@ -112,6 +114,7 @@ docs/GoogleAuthResponseUser.md
|
|
|
112
114
|
docs/ICourtData.md
|
|
113
115
|
docs/ILevelBySports.md
|
|
114
116
|
docs/IUserAttributes.md
|
|
117
|
+
docs/IUserAttributesOrganizationsInner.md
|
|
115
118
|
docs/IUserLocation.md
|
|
116
119
|
docs/InvoiceInfo.md
|
|
117
120
|
docs/LastSixMonthsTurnoverItem.md
|
|
@@ -142,6 +145,7 @@ docs/PublishEventResponse.md
|
|
|
142
145
|
docs/RefreshTokenRequestBody.md
|
|
143
146
|
docs/RefreshTokenResponse.md
|
|
144
147
|
docs/RegisterRequestBody.md
|
|
148
|
+
docs/RegisterRequestBodyLocation.md
|
|
145
149
|
docs/RequestPasswordReset200Response.md
|
|
146
150
|
docs/ResetPasswordRequest.md
|
|
147
151
|
docs/SetupPaymentMethodRequestBody.md
|
|
@@ -203,7 +207,6 @@ docs/UpdateSportRequest.md
|
|
|
203
207
|
docs/UpdateSubscriptionPlanForClub200Response.md
|
|
204
208
|
docs/UpdateUserRequestBody.md
|
|
205
209
|
docs/UpdateUserRequestBodyLevelBySportsInner.md
|
|
206
|
-
docs/UpdateUserRequestBodyLocation.md
|
|
207
210
|
docs/UserClubSubscription.md
|
|
208
211
|
docs/UserInfo.md
|
|
209
212
|
docs/UserLocationSummary.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.63
|
|
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.63 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -91,6 +91,7 @@ Class | Method | HTTP request | Description
|
|
|
91
91
|
*ClubsApi* | [**getAvailableSlotsBySportsAndDay**](docs/ClubsApi.md#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} |
|
|
92
92
|
*ClubsApi* | [**getClubInfo**](docs/ClubsApi.md#getclubinfo) | **GET** /api/clubs/info |
|
|
93
93
|
*ClubsApi* | [**getClubUsersById**](docs/ClubsApi.md#getclubusersbyid) | **GET** /api/clubs/{id}/users |
|
|
94
|
+
*ClubsApi* | [**getClubsWithVerificationDomains**](docs/ClubsApi.md#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains |
|
|
94
95
|
*ClubsApi* | [**getCourtsByClubAndSportById**](docs/ClubsApi.md#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts |
|
|
95
96
|
*ClubsApi* | [**getPublishedActualities**](docs/ClubsApi.md#getpublishedactualities) | **GET** /api/clubs/{id}/actualities |
|
|
96
97
|
*ClubsApi* | [**getSlotsByClubById**](docs/ClubsApi.md#getslotsbyclubbyid) | **GET** /api/clubs/{id}/slots |
|
|
@@ -143,6 +144,7 @@ Class | Method | HTTP request | Description
|
|
|
143
144
|
*SubscriptionsUserApi* | [**subscribe**](docs/SubscriptionsUserApi.md#subscribe) | **POST** /api/subscriptions/subscribe |
|
|
144
145
|
*UsersApi* | [**addFavoriteClub**](docs/UsersApi.md#addfavoriteclub) | **POST** /api/users/me/favorite-clubs |
|
|
145
146
|
*UsersApi* | [**addFavoritePlayer**](docs/UsersApi.md#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers |
|
|
147
|
+
*UsersApi* | [**addOrganization**](docs/UsersApi.md#addorganization) | **POST** /api/users/me/add-organization |
|
|
146
148
|
*UsersApi* | [**addPaymentMethodSetup**](docs/UsersApi.md#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup |
|
|
147
149
|
*UsersApi* | [**changePassword**](docs/UsersApi.md#changepassword) | **PUT** /api/users/me/password |
|
|
148
150
|
*UsersApi* | [**confirmPaymentMethodSetup**](docs/UsersApi.md#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup |
|
|
@@ -174,12 +176,14 @@ Class | Method | HTTP request | Description
|
|
|
174
176
|
*UsersApi* | [**updateMe**](docs/UsersApi.md#updateme) | **PUT** /api/users/me |
|
|
175
177
|
*UsersApi* | [**updateProfilePicture**](docs/UsersApi.md#updateprofilepicture) | **PUT** /api/users/me/profile-picture |
|
|
176
178
|
*UsersApi* | [**verifyEmail**](docs/UsersApi.md#verifyemail) | **POST** /api/users/verify-email |
|
|
179
|
+
*UsersApi* | [**verifyOrganization**](docs/UsersApi.md#verifyorganization) | **POST** /api/users/verify-organization |
|
|
177
180
|
|
|
178
181
|
|
|
179
182
|
### Documentation For Models
|
|
180
183
|
|
|
181
184
|
- [AddClubMember201Response](docs/AddClubMember201Response.md)
|
|
182
185
|
- [AddClubMemberRequest](docs/AddClubMemberRequest.md)
|
|
186
|
+
- [AddOrganizationRequest](docs/AddOrganizationRequest.md)
|
|
183
187
|
- [AddPaymentMethodRequestBody](docs/AddPaymentMethodRequestBody.md)
|
|
184
188
|
- [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
|
|
185
189
|
- [BookingDetailResponse](docs/BookingDetailResponse.md)
|
|
@@ -258,6 +262,7 @@ Class | Method | HTTP request | Description
|
|
|
258
262
|
- [GetClubMembers200Response](docs/GetClubMembers200Response.md)
|
|
259
263
|
- [GetClubRoles200Response](docs/GetClubRoles200Response.md)
|
|
260
264
|
- [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
|
|
265
|
+
- [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
|
|
261
266
|
- [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
|
|
262
267
|
- [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
|
|
263
268
|
- [GetSlotsByClubById200Response](docs/GetSlotsByClubById200Response.md)
|
|
@@ -268,6 +273,7 @@ Class | Method | HTTP request | Description
|
|
|
268
273
|
- [ICourtData](docs/ICourtData.md)
|
|
269
274
|
- [ILevelBySports](docs/ILevelBySports.md)
|
|
270
275
|
- [IUserAttributes](docs/IUserAttributes.md)
|
|
276
|
+
- [IUserAttributesOrganizationsInner](docs/IUserAttributesOrganizationsInner.md)
|
|
271
277
|
- [IUserLocation](docs/IUserLocation.md)
|
|
272
278
|
- [InvoiceInfo](docs/InvoiceInfo.md)
|
|
273
279
|
- [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
|
|
@@ -298,6 +304,7 @@ Class | Method | HTTP request | Description
|
|
|
298
304
|
- [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
|
|
299
305
|
- [RefreshTokenResponse](docs/RefreshTokenResponse.md)
|
|
300
306
|
- [RegisterRequestBody](docs/RegisterRequestBody.md)
|
|
307
|
+
- [RegisterRequestBodyLocation](docs/RegisterRequestBodyLocation.md)
|
|
301
308
|
- [RequestPasswordReset200Response](docs/RequestPasswordReset200Response.md)
|
|
302
309
|
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
303
310
|
- [SetupPaymentMethodRequestBody](docs/SetupPaymentMethodRequestBody.md)
|
|
@@ -353,7 +360,6 @@ Class | Method | HTTP request | Description
|
|
|
353
360
|
- [UpdateSubscriptionPlanForClub200Response](docs/UpdateSubscriptionPlanForClub200Response.md)
|
|
354
361
|
- [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
|
|
355
362
|
- [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
|
|
356
|
-
- [UpdateUserRequestBodyLocation](docs/UpdateUserRequestBodyLocation.md)
|
|
357
363
|
- [UserClubSubscription](docs/UserClubSubscription.md)
|
|
358
364
|
- [UserInfo](docs/UserInfo.md)
|
|
359
365
|
- [UserLocationSummary](docs/UserLocationSummary.md)
|