@tennac-booking/sdk 1.0.170 → 1.0.172
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 +10 -1
- package/README.md +17 -3
- package/api.ts +1003 -27
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +676 -24
- package/dist/api.js +553 -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 +676 -24
- package/dist/esm/api.js +541 -1
- 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/AppRegisterRequestBody.md +22 -0
- package/docs/CompleteRegisterRequestBody.md +32 -0
- package/docs/{UpdateUserRequestBodyLevelBySportsInner.md → CompleteRegisterRequestBodyLevelBySportsInner.md} +3 -3
- package/docs/EmailExistsResponse.md +2 -0
- package/docs/EventBookingDetailSummary.md +2 -0
- package/docs/EventsWaitListApi.md +175 -0
- package/docs/EventsWaitListStaffApi.md +115 -0
- package/docs/GetUserPosition200Response.md +22 -0
- package/docs/GetWaitListForEvent200Response.md +22 -0
- package/docs/GoogleAuthResponse.md +2 -0
- package/docs/IUserAttributes.md +4 -0
- package/docs/JoinWaitList200Response.md +26 -0
- package/docs/JoinWaitListRequest.md +22 -0
- package/docs/LoginResponse.md +2 -0
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/UpdateUserRequestBody.md +2 -2
- package/docs/UserProfileResponse.md +4 -0
- package/docs/UsersApi.md +104 -0
- package/docs/WaitListResponse.md +38 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AppRegisterRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [default to undefined]
|
|
9
|
+
**password** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AppRegisterRequestBody } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AppRegisterRequestBody = {
|
|
17
|
+
email,
|
|
18
|
+
password,
|
|
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,32 @@
|
|
|
1
|
+
# CompleteRegisterRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**firstName** | **string** | | [default to undefined]
|
|
9
|
+
**lastName** | **string** | | [default to undefined]
|
|
10
|
+
**username** | **string** | | [default to undefined]
|
|
11
|
+
**levelBySports** | [**Array<CompleteRegisterRequestBodyLevelBySportsInner>**](CompleteRegisterRequestBodyLevelBySportsInner.md) | | [default to undefined]
|
|
12
|
+
**city** | **string** | | [default to undefined]
|
|
13
|
+
**organizationId** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**organizationEmail** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { CompleteRegisterRequestBody } from '@tennac-booking/sdk';
|
|
20
|
+
|
|
21
|
+
const instance: CompleteRegisterRequestBody = {
|
|
22
|
+
firstName,
|
|
23
|
+
lastName,
|
|
24
|
+
username,
|
|
25
|
+
levelBySports,
|
|
26
|
+
city,
|
|
27
|
+
organizationId,
|
|
28
|
+
organizationEmail,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CompleteRegisterRequestBodyLevelBySportsInner
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { CompleteRegisterRequestBodyLevelBySportsInner } from '@tennac-booking/sdk';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: CompleteRegisterRequestBodyLevelBySportsInner = {
|
|
17
17
|
level,
|
|
18
18
|
sport,
|
|
19
19
|
};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**exists** | **boolean** | | [default to undefined]
|
|
9
|
+
**verified** | **boolean** | | [default to undefined]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,6 +15,7 @@ import { EmailExistsResponse } from '@tennac-booking/sdk';
|
|
|
14
15
|
|
|
15
16
|
const instance: EmailExistsResponse = {
|
|
16
17
|
exists,
|
|
18
|
+
verified,
|
|
17
19
|
};
|
|
18
20
|
```
|
|
19
21
|
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
15
15
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**waitListPosition** | **number** | Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement | [optional] [default to undefined]
|
|
17
18
|
**createdAt** | **string** | | [default to undefined]
|
|
18
19
|
**updatedAt** | **string** | | [default to undefined]
|
|
19
20
|
|
|
@@ -32,6 +33,7 @@ const instance: EventBookingDetailSummary = {
|
|
|
32
33
|
paymentMethodSetupCompleted,
|
|
33
34
|
limitSetupDate,
|
|
34
35
|
limitCancellationDate,
|
|
36
|
+
waitListPosition,
|
|
35
37
|
createdAt,
|
|
36
38
|
updatedAt,
|
|
37
39
|
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# EventsWaitListApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getUserPosition**](#getuserposition) | **GET** /api/events/waitlist/{eventId}/position | |
|
|
8
|
+
|[**joinWaitList**](#joinwaitlist) | **POST** /api/events/waitlist/{eventId}/join | |
|
|
9
|
+
|[**leaveWaitList**](#leavewaitlist) | **DELETE** /api/events/waitlist/{eventId}/leave | |
|
|
10
|
+
|
|
11
|
+
# **getUserPosition**
|
|
12
|
+
> GetUserPosition200Response getUserPosition()
|
|
13
|
+
|
|
14
|
+
Obtenir la position actuelle dans la file d\'attente
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
EventsWaitListApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@tennac-booking/sdk';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new EventsWaitListApi(configuration);
|
|
26
|
+
|
|
27
|
+
let eventId: string; // (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.getUserPosition(
|
|
30
|
+
eventId
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **eventId** | [**string**] | | defaults to undefined|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**GetUserPosition200Response**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: Not defined
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | Position récupérée avec succès | - |
|
|
59
|
+
|**404** | Non trouvé dans la file d\'attente | - |
|
|
60
|
+
|**500** | Erreur serveur | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|
|
64
|
+
# **joinWaitList**
|
|
65
|
+
> JoinWaitList200Response joinWaitList(joinWaitListRequest)
|
|
66
|
+
|
|
67
|
+
Rejoindre la file d\'attente pour un événement
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
EventsWaitListApi,
|
|
74
|
+
Configuration,
|
|
75
|
+
JoinWaitListRequest
|
|
76
|
+
} from '@tennac-booking/sdk';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new EventsWaitListApi(configuration);
|
|
80
|
+
|
|
81
|
+
let eventId: string; // (default to undefined)
|
|
82
|
+
let joinWaitListRequest: JoinWaitListRequest; //
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.joinWaitList(
|
|
85
|
+
eventId,
|
|
86
|
+
joinWaitListRequest
|
|
87
|
+
);
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Parameters
|
|
91
|
+
|
|
92
|
+
|Name | Type | Description | Notes|
|
|
93
|
+
|------------- | ------------- | ------------- | -------------|
|
|
94
|
+
| **joinWaitListRequest** | **JoinWaitListRequest**| | |
|
|
95
|
+
| **eventId** | [**string**] | | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**JoinWaitList200Response**
|
|
101
|
+
|
|
102
|
+
### Authorization
|
|
103
|
+
|
|
104
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
105
|
+
|
|
106
|
+
### HTTP request headers
|
|
107
|
+
|
|
108
|
+
- **Content-Type**: application/json
|
|
109
|
+
- **Accept**: application/json
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### HTTP response details
|
|
113
|
+
| Status code | Description | Response headers |
|
|
114
|
+
|-------------|-------------|------------------|
|
|
115
|
+
|**200** | Ajouté à la file d\'attente avec succès | - |
|
|
116
|
+
|**400** | Requête invalide | - |
|
|
117
|
+
|**404** | Événement non trouvé | - |
|
|
118
|
+
|**500** | Erreur serveur | - |
|
|
119
|
+
|
|
120
|
+
[[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)
|
|
121
|
+
|
|
122
|
+
# **leaveWaitList**
|
|
123
|
+
> RequestPasswordReset200Response leaveWaitList()
|
|
124
|
+
|
|
125
|
+
Quitter la file d\'attente
|
|
126
|
+
|
|
127
|
+
### Example
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import {
|
|
131
|
+
EventsWaitListApi,
|
|
132
|
+
Configuration
|
|
133
|
+
} from '@tennac-booking/sdk';
|
|
134
|
+
|
|
135
|
+
const configuration = new Configuration();
|
|
136
|
+
const apiInstance = new EventsWaitListApi(configuration);
|
|
137
|
+
|
|
138
|
+
let eventId: string; // (default to undefined)
|
|
139
|
+
|
|
140
|
+
const { status, data } = await apiInstance.leaveWaitList(
|
|
141
|
+
eventId
|
|
142
|
+
);
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Parameters
|
|
146
|
+
|
|
147
|
+
|Name | Type | Description | Notes|
|
|
148
|
+
|------------- | ------------- | ------------- | -------------|
|
|
149
|
+
| **eventId** | [**string**] | | defaults to undefined|
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Return type
|
|
153
|
+
|
|
154
|
+
**RequestPasswordReset200Response**
|
|
155
|
+
|
|
156
|
+
### Authorization
|
|
157
|
+
|
|
158
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
159
|
+
|
|
160
|
+
### HTTP request headers
|
|
161
|
+
|
|
162
|
+
- **Content-Type**: Not defined
|
|
163
|
+
- **Accept**: application/json
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### HTTP response details
|
|
167
|
+
| Status code | Description | Response headers |
|
|
168
|
+
|-------------|-------------|------------------|
|
|
169
|
+
|**200** | Retiré de la file d\'attente avec succès | - |
|
|
170
|
+
|**400** | Requête invalide | - |
|
|
171
|
+
|**404** | Non trouvé dans la file d\'attente | - |
|
|
172
|
+
|**500** | Erreur serveur | - |
|
|
173
|
+
|
|
174
|
+
[[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)
|
|
175
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# EventsWaitListStaffApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getWaitListForEvent**](#getwaitlistforevent) | **GET** /api/events/waitlist/{eventId} | |
|
|
8
|
+
|[**processWaitList**](#processwaitlist) | **POST** /api/events/waitlist/{eventId}/process | |
|
|
9
|
+
|
|
10
|
+
# **getWaitListForEvent**
|
|
11
|
+
> GetWaitListForEvent200Response getWaitListForEvent()
|
|
12
|
+
|
|
13
|
+
Obtenir la liste complète de la file d\'attente (staff only)
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
EventsWaitListStaffApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@tennac-booking/sdk';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new EventsWaitListStaffApi(configuration);
|
|
25
|
+
|
|
26
|
+
let eventId: string; // (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.getWaitListForEvent(
|
|
29
|
+
eventId
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **eventId** | [**string**] | | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**GetWaitListForEvent200Response**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | File d\'attente récupérée avec succès | - |
|
|
58
|
+
|**404** | Événement non trouvé | - |
|
|
59
|
+
|**500** | Erreur serveur | - |
|
|
60
|
+
|
|
61
|
+
[[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)
|
|
62
|
+
|
|
63
|
+
# **processWaitList**
|
|
64
|
+
> RequestPasswordReset200Response processWaitList()
|
|
65
|
+
|
|
66
|
+
Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
67
|
+
|
|
68
|
+
### Example
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
import {
|
|
72
|
+
EventsWaitListStaffApi,
|
|
73
|
+
Configuration
|
|
74
|
+
} from '@tennac-booking/sdk';
|
|
75
|
+
|
|
76
|
+
const configuration = new Configuration();
|
|
77
|
+
const apiInstance = new EventsWaitListStaffApi(configuration);
|
|
78
|
+
|
|
79
|
+
let eventId: string; // (default to undefined)
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.processWaitList(
|
|
82
|
+
eventId
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **eventId** | [**string**] | | defaults to undefined|
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Return type
|
|
94
|
+
|
|
95
|
+
**RequestPasswordReset200Response**
|
|
96
|
+
|
|
97
|
+
### Authorization
|
|
98
|
+
|
|
99
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
100
|
+
|
|
101
|
+
### HTTP request headers
|
|
102
|
+
|
|
103
|
+
- **Content-Type**: Not defined
|
|
104
|
+
- **Accept**: application/json
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### HTTP response details
|
|
108
|
+
| Status code | Description | Response headers |
|
|
109
|
+
|-------------|-------------|------------------|
|
|
110
|
+
|**200** | File d\'attente traitée avec succès | - |
|
|
111
|
+
|**404** | Événement non trouvé | - |
|
|
112
|
+
|**500** | Erreur serveur | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# GetUserPosition200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**position** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { GetUserPosition200Response } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: GetUserPosition200Response = {
|
|
17
|
+
message,
|
|
18
|
+
position,
|
|
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,22 @@
|
|
|
1
|
+
# GetWaitListForEvent200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**total** | **number** | | [default to undefined]
|
|
9
|
+
**waitList** | [**Array<WaitListResponse>**](WaitListResponse.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { GetWaitListForEvent200Response } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: GetWaitListForEvent200Response = {
|
|
17
|
+
total,
|
|
18
|
+
waitList,
|
|
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)
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**sessionDuration** | **number** | | [default to undefined]
|
|
11
11
|
**sessionEnd** | **number** | | [default to undefined]
|
|
12
12
|
**role** | **string** | | [default to undefined]
|
|
13
|
+
**isOnBoardingInAppCompleted** | **boolean** | | [default to undefined]
|
|
13
14
|
**user** | [**GoogleAuthResponseUser**](GoogleAuthResponseUser.md) | | [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -23,6 +24,7 @@ const instance: GoogleAuthResponse = {
|
|
|
23
24
|
sessionDuration,
|
|
24
25
|
sessionEnd,
|
|
25
26
|
role,
|
|
27
|
+
isOnBoardingInAppCompleted,
|
|
26
28
|
user,
|
|
27
29
|
};
|
|
28
30
|
```
|
package/docs/IUserAttributes.md
CHANGED
|
@@ -27,6 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**isGuest** | **boolean** | | [optional] [default to undefined]
|
|
28
28
|
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
29
29
|
**isClient** | **boolean** | | [optional] [default to undefined]
|
|
30
|
+
**isOnBoardingInAppCompleted** | **boolean** | | [optional] [default to undefined]
|
|
31
|
+
**createdFrom** | **string** | | [optional] [default to undefined]
|
|
30
32
|
**createdAt** | **string** | | [optional] [default to undefined]
|
|
31
33
|
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
32
34
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
@@ -65,6 +67,8 @@ const instance: IUserAttributes = {
|
|
|
65
67
|
isGuest,
|
|
66
68
|
isAdmin,
|
|
67
69
|
isClient,
|
|
70
|
+
isOnBoardingInAppCompleted,
|
|
71
|
+
createdFrom,
|
|
68
72
|
createdAt,
|
|
69
73
|
updatedAt,
|
|
70
74
|
isLevelCertified,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# JoinWaitList200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**requiresSetup** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**paymentLink** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**waitList** | [**WaitListResponse**](WaitListResponse.md) | | [default to undefined]
|
|
11
|
+
**message** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { JoinWaitList200Response } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: JoinWaitList200Response = {
|
|
19
|
+
requiresSetup,
|
|
20
|
+
paymentLink,
|
|
21
|
+
waitList,
|
|
22
|
+
message,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# JoinWaitListRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
9
|
+
**useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { JoinWaitListRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: JoinWaitListRequest = {
|
|
17
|
+
paymentMethod,
|
|
18
|
+
useDefaultPaymentMethod,
|
|
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)
|
package/docs/LoginResponse.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**sessionDuration** | **number** | | [default to undefined]
|
|
11
11
|
**sessionEnd** | **number** | | [default to undefined]
|
|
12
12
|
**role** | **string** | | [default to undefined]
|
|
13
|
+
**isOnBoardingInAppCompleted** | **boolean** | | [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: LoginResponse = {
|
|
|
22
23
|
sessionDuration,
|
|
23
24
|
sessionEnd,
|
|
24
25
|
role,
|
|
26
|
+
isOnBoardingInAppCompleted,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -27,6 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**isGuest** | **boolean** | | [optional] [default to undefined]
|
|
28
28
|
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
29
29
|
**isClient** | **boolean** | | [optional] [default to undefined]
|
|
30
|
+
**isOnBoardingInAppCompleted** | **boolean** | | [optional] [default to undefined]
|
|
31
|
+
**createdFrom** | **string** | | [optional] [default to undefined]
|
|
30
32
|
**createdAt** | **string** | | [optional] [default to undefined]
|
|
31
33
|
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
32
34
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
@@ -67,6 +69,8 @@ const instance: StaffUserProfileResponse = {
|
|
|
67
69
|
isGuest,
|
|
68
70
|
isAdmin,
|
|
69
71
|
isClient,
|
|
72
|
+
isOnBoardingInAppCompleted,
|
|
73
|
+
createdFrom,
|
|
70
74
|
createdAt,
|
|
71
75
|
updatedAt,
|
|
72
76
|
isLevelCertified,
|
|
@@ -13,11 +13,11 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
14
|
**birthDate** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**levelBySports** | [**Array<
|
|
16
|
+
**levelBySports** | [**Array<CompleteRegisterRequestBodyLevelBySportsInner>**](CompleteRegisterRequestBodyLevelBySportsInner.md) | | [optional] [default to undefined]
|
|
17
17
|
**characteristics** | [**Array<UpdateUserRequestBodyCharacteristicsInner>**](UpdateUserRequestBodyCharacteristicsInner.md) | | [optional] [default to undefined]
|
|
18
18
|
**isProfileVisible** | **boolean** | | [optional] [default to undefined]
|
|
19
19
|
**description** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**location** | [**
|
|
20
|
+
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
21
21
|
|
|
22
22
|
## Example
|
|
23
23
|
|
|
@@ -27,6 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**isGuest** | **boolean** | | [optional] [default to undefined]
|
|
28
28
|
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
29
29
|
**isClient** | **boolean** | | [optional] [default to undefined]
|
|
30
|
+
**isOnBoardingInAppCompleted** | **boolean** | | [optional] [default to undefined]
|
|
31
|
+
**createdFrom** | **string** | | [optional] [default to undefined]
|
|
30
32
|
**createdAt** | **string** | | [optional] [default to undefined]
|
|
31
33
|
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
32
34
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
@@ -73,6 +75,8 @@ const instance: UserProfileResponse = {
|
|
|
73
75
|
isGuest,
|
|
74
76
|
isAdmin,
|
|
75
77
|
isClient,
|
|
78
|
+
isOnBoardingInAppCompleted,
|
|
79
|
+
createdFrom,
|
|
76
80
|
createdAt,
|
|
77
81
|
updatedAt,
|
|
78
82
|
isLevelCertified,
|