@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/docs/UsersApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**addFavoriteClub**](#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | |
|
|
8
8
|
|[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | |
|
|
9
|
+
|[**addOrganization**](#addorganization) | **POST** /api/users/me/add-organization | |
|
|
9
10
|
|[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | |
|
|
10
11
|
|[**changePassword**](#changepassword) | **PUT** /api/users/me/password | |
|
|
11
12
|
|[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | |
|
|
@@ -37,6 +38,7 @@ All URIs are relative to *http://localhost*
|
|
|
37
38
|
|[**updateMe**](#updateme) | **PUT** /api/users/me | |
|
|
38
39
|
|[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | |
|
|
39
40
|
|[**verifyEmail**](#verifyemail) | **POST** /api/users/verify-email | |
|
|
41
|
+
|[**verifyOrganization**](#verifyorganization) | **POST** /api/users/verify-organization | |
|
|
40
42
|
|
|
41
43
|
# **addFavoriteClub**
|
|
42
44
|
> FavoriteClubMutationResponse addFavoriteClub(favoriteClubRequestBody)
|
|
@@ -133,6 +135,57 @@ const { status, data } = await apiInstance.addFavoritePlayer(
|
|
|
133
135
|
- **Accept**: application/json
|
|
134
136
|
|
|
135
137
|
|
|
138
|
+
### HTTP response details
|
|
139
|
+
| Status code | Description | Response headers |
|
|
140
|
+
|-------------|-------------|------------------|
|
|
141
|
+
|**200** | Ok | - |
|
|
142
|
+
|
|
143
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
144
|
+
|
|
145
|
+
# **addOrganization**
|
|
146
|
+
> RequestPasswordReset200Response addOrganization(addOrganizationRequest)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Example
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
import {
|
|
153
|
+
UsersApi,
|
|
154
|
+
Configuration,
|
|
155
|
+
AddOrganizationRequest
|
|
156
|
+
} from '@tennac-booking/sdk';
|
|
157
|
+
|
|
158
|
+
const configuration = new Configuration();
|
|
159
|
+
const apiInstance = new UsersApi(configuration);
|
|
160
|
+
|
|
161
|
+
let addOrganizationRequest: AddOrganizationRequest; //
|
|
162
|
+
|
|
163
|
+
const { status, data } = await apiInstance.addOrganization(
|
|
164
|
+
addOrganizationRequest
|
|
165
|
+
);
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Parameters
|
|
169
|
+
|
|
170
|
+
|Name | Type | Description | Notes|
|
|
171
|
+
|------------- | ------------- | ------------- | -------------|
|
|
172
|
+
| **addOrganizationRequest** | **AddOrganizationRequest**| | |
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Return type
|
|
176
|
+
|
|
177
|
+
**RequestPasswordReset200Response**
|
|
178
|
+
|
|
179
|
+
### Authorization
|
|
180
|
+
|
|
181
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
182
|
+
|
|
183
|
+
### HTTP request headers
|
|
184
|
+
|
|
185
|
+
- **Content-Type**: application/json
|
|
186
|
+
- **Accept**: application/json
|
|
187
|
+
|
|
188
|
+
|
|
136
189
|
### HTTP response details
|
|
137
190
|
| Status code | Description | Response headers |
|
|
138
191
|
|-------------|-------------|------------------|
|
|
@@ -1683,3 +1736,54 @@ No authorization required
|
|
|
1683
1736
|
|
|
1684
1737
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1685
1738
|
|
|
1739
|
+
# **verifyOrganization**
|
|
1740
|
+
> RequestPasswordReset200Response verifyOrganization(verifyEmailRequest)
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
### Example
|
|
1744
|
+
|
|
1745
|
+
```typescript
|
|
1746
|
+
import {
|
|
1747
|
+
UsersApi,
|
|
1748
|
+
Configuration,
|
|
1749
|
+
VerifyEmailRequest
|
|
1750
|
+
} from '@tennac-booking/sdk';
|
|
1751
|
+
|
|
1752
|
+
const configuration = new Configuration();
|
|
1753
|
+
const apiInstance = new UsersApi(configuration);
|
|
1754
|
+
|
|
1755
|
+
let verifyEmailRequest: VerifyEmailRequest; //
|
|
1756
|
+
|
|
1757
|
+
const { status, data } = await apiInstance.verifyOrganization(
|
|
1758
|
+
verifyEmailRequest
|
|
1759
|
+
);
|
|
1760
|
+
```
|
|
1761
|
+
|
|
1762
|
+
### Parameters
|
|
1763
|
+
|
|
1764
|
+
|Name | Type | Description | Notes|
|
|
1765
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1766
|
+
| **verifyEmailRequest** | **VerifyEmailRequest**| | |
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
### Return type
|
|
1770
|
+
|
|
1771
|
+
**RequestPasswordReset200Response**
|
|
1772
|
+
|
|
1773
|
+
### Authorization
|
|
1774
|
+
|
|
1775
|
+
No authorization required
|
|
1776
|
+
|
|
1777
|
+
### HTTP request headers
|
|
1778
|
+
|
|
1779
|
+
- **Content-Type**: application/json
|
|
1780
|
+
- **Accept**: application/json
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
### HTTP response details
|
|
1784
|
+
| Status code | Description | Response headers |
|
|
1785
|
+
|-------------|-------------|------------------|
|
|
1786
|
+
|**200** | Ok | - |
|
|
1787
|
+
|
|
1788
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1789
|
+
|
package/index.ts
CHANGED