@tennac-booking/sdk 1.0.186 → 1.0.187

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.
@@ -0,0 +1,26 @@
1
+ # UserNextBookingSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **date** | **string** | | [default to undefined]
10
+ **slots** | [**Array<BookingSlotInfo>**](BookingSlotInfo.md) | | [default to undefined]
11
+ **club** | [**BookingClubInfo**](BookingClubInfo.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { UserNextBookingSummary } from '@tennac-booking/sdk';
17
+
18
+ const instance: UserNextBookingSummary = {
19
+ id,
20
+ date,
21
+ slots,
22
+ club,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -39,6 +39,7 @@ Name | Type | Description | Notes
39
39
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
40
40
  **stripeCustomerId** | **string** | | [optional] [default to undefined]
41
41
  **upcomingBookingsCount** | **number** | | [optional] [default to undefined]
42
+ **nextBooking** | [**UserNextBookingSummary**](UserNextBookingSummary.md) | | [optional] [default to undefined]
42
43
  **subscriptionsCount** | **number** | | [optional] [default to undefined]
43
44
  **subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [optional] [default to undefined]
44
45
  **clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [optional] [default to undefined]
@@ -89,6 +90,7 @@ const instance: UserProfileResponse = {
89
90
  sports,
90
91
  stripeCustomerId,
91
92
  upcomingBookingsCount,
93
+ nextBooking,
92
94
  subscriptionsCount,
93
95
  subscriptions,
94
96
  clubs,
package/docs/UsersApi.md CHANGED
@@ -36,6 +36,7 @@ All URIs are relative to *http://localhost*
36
36
  |[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
37
37
  |[**removeOrganization**](#removeorganization) | **POST** /api/users/me/remove-organization | |
38
38
  |[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
39
+ |[**requestOrganizationCode**](#requestorganizationcode) | **POST** /api/users/me/request-organization-code | |
39
40
  |[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
40
41
  |[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
41
42
  |[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
@@ -45,6 +46,7 @@ All URIs are relative to *http://localhost*
45
46
  |[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | |
46
47
  |[**verifyEmail**](#verifyemail) | **POST** /api/users/verify-email | |
47
48
  |[**verifyOrganization**](#verifyorganization) | **POST** /api/users/verify-organization | |
49
+ |[**verifyOrganizationCode**](#verifyorganizationcode) | **POST** /api/users/me/verify-organization-code | |
48
50
 
49
51
  # **addFavoriteClub**
50
52
  > FavoriteClubMutationResponse addFavoriteClub(favoriteClubRequestBody)
@@ -1650,6 +1652,57 @@ This endpoint does not have any parameters.
1650
1652
  - **Accept**: application/json
1651
1653
 
1652
1654
 
1655
+ ### HTTP response details
1656
+ | Status code | Description | Response headers |
1657
+ |-------------|-------------|------------------|
1658
+ |**200** | Ok | - |
1659
+
1660
+ [[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)
1661
+
1662
+ # **requestOrganizationCode**
1663
+ > RequestOrganizationEmailCodeResponse requestOrganizationCode(requestOrganizationEmailCodeBody)
1664
+
1665
+
1666
+ ### Example
1667
+
1668
+ ```typescript
1669
+ import {
1670
+ UsersApi,
1671
+ Configuration,
1672
+ RequestOrganizationEmailCodeBody
1673
+ } from '@tennac-booking/sdk';
1674
+
1675
+ const configuration = new Configuration();
1676
+ const apiInstance = new UsersApi(configuration);
1677
+
1678
+ let requestOrganizationEmailCodeBody: RequestOrganizationEmailCodeBody; //
1679
+
1680
+ const { status, data } = await apiInstance.requestOrganizationCode(
1681
+ requestOrganizationEmailCodeBody
1682
+ );
1683
+ ```
1684
+
1685
+ ### Parameters
1686
+
1687
+ |Name | Type | Description | Notes|
1688
+ |------------- | ------------- | ------------- | -------------|
1689
+ | **requestOrganizationEmailCodeBody** | **RequestOrganizationEmailCodeBody**| | |
1690
+
1691
+
1692
+ ### Return type
1693
+
1694
+ **RequestOrganizationEmailCodeResponse**
1695
+
1696
+ ### Authorization
1697
+
1698
+ [bearerAuth](../README.md#bearerAuth)
1699
+
1700
+ ### HTTP request headers
1701
+
1702
+ - **Content-Type**: application/json
1703
+ - **Accept**: application/json
1704
+
1705
+
1653
1706
  ### HTTP response details
1654
1707
  | Status code | Description | Response headers |
1655
1708
  |-------------|-------------|------------------|
@@ -2116,3 +2169,54 @@ No authorization required
2116
2169
 
2117
2170
  [[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)
2118
2171
 
2172
+ # **verifyOrganizationCode**
2173
+ > VerifyOrganizationEmailCodeResponse verifyOrganizationCode(verifyOrganizationEmailCodeBody)
2174
+
2175
+
2176
+ ### Example
2177
+
2178
+ ```typescript
2179
+ import {
2180
+ UsersApi,
2181
+ Configuration,
2182
+ VerifyOrganizationEmailCodeBody
2183
+ } from '@tennac-booking/sdk';
2184
+
2185
+ const configuration = new Configuration();
2186
+ const apiInstance = new UsersApi(configuration);
2187
+
2188
+ let verifyOrganizationEmailCodeBody: VerifyOrganizationEmailCodeBody; //
2189
+
2190
+ const { status, data } = await apiInstance.verifyOrganizationCode(
2191
+ verifyOrganizationEmailCodeBody
2192
+ );
2193
+ ```
2194
+
2195
+ ### Parameters
2196
+
2197
+ |Name | Type | Description | Notes|
2198
+ |------------- | ------------- | ------------- | -------------|
2199
+ | **verifyOrganizationEmailCodeBody** | **VerifyOrganizationEmailCodeBody**| | |
2200
+
2201
+
2202
+ ### Return type
2203
+
2204
+ **VerifyOrganizationEmailCodeResponse**
2205
+
2206
+ ### Authorization
2207
+
2208
+ [bearerAuth](../README.md#bearerAuth)
2209
+
2210
+ ### HTTP request headers
2211
+
2212
+ - **Content-Type**: application/json
2213
+ - **Accept**: application/json
2214
+
2215
+
2216
+ ### HTTP response details
2217
+ | Status code | Description | Response headers |
2218
+ |-------------|-------------|------------------|
2219
+ |**200** | Ok | - |
2220
+
2221
+ [[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)
2222
+
@@ -0,0 +1,24 @@
1
+ # VerifyOrganizationEmailCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **organizationId** | **string** | | [default to undefined]
9
+ **organizationEmail** | **string** | | [default to undefined]
10
+ **code** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { VerifyOrganizationEmailCodeBody } from '@tennac-booking/sdk';
16
+
17
+ const instance: VerifyOrganizationEmailCodeBody = {
18
+ organizationId,
19
+ organizationEmail,
20
+ code,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # VerifyOrganizationEmailCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **verified** | **boolean** | | [default to undefined]
9
+ **alreadyVerified** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VerifyOrganizationEmailCodeResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: VerifyOrganizationEmailCodeResponse = {
17
+ verified,
18
+ alreadyVerified,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # VerifyVerificationCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [default to undefined]
9
+ **code** | **string** | | [default to undefined]
10
+ **context** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { VerifyVerificationCodeBody } from '@tennac-booking/sdk';
16
+
17
+ const instance: VerifyVerificationCodeBody = {
18
+ email,
19
+ code,
20
+ context,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # VerifyVerificationCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **verified** | **boolean** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { VerifyVerificationCodeResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: VerifyVerificationCodeResponse = {
16
+ verified,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.186",
3
+ "version": "1.0.187",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {