@tennac-booking/sdk 1.0.43 → 1.0.45
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 +0 -24
- package/README.md +0 -61
- package/api.ts +525 -4885
- package/dist/api.d.ts +365 -2819
- package/dist/api.js +389 -3591
- package/dist/esm/api.d.ts +365 -2819
- package/dist/esm/api.js +369 -3547
- package/docs/ClubMember.md +1 -1
- package/docs/UserBookingsApi.md +0 -46
- package/docs/UsersApi.md +0 -236
- package/package.json +1 -1
- package/docs/BaseUser.md +0 -76
- package/docs/IUserAttributesFavoritePlayersInner.md +0 -18
- package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +0 -75
- package/docs/PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner.md +0 -22
- package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
- package/docs/UpdateCustomerResponseCustomer.md +0 -28
- package/docs/UserLocationSummary.md +0 -44
package/docs/ClubMember.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**user** | [**
|
|
8
|
+
**user** | [**IUserAttributes**](IUserAttributes.md) | | [optional] [default to undefined]
|
|
9
9
|
**role** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**rights** | **Array<string>** | | [optional] [default to undefined]
|
|
11
11
|
|
package/docs/UserBookingsApi.md
CHANGED
|
@@ -6,7 +6,6 @@ All URIs are relative to */api*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**blockSlot**](#blockslot) | **PATCH** /api/bookings/pre-book/{slotId} | Bloquer un créneau|
|
|
8
8
|
|[**createBooking**](#createbooking) | **POST** /api/bookings | Créer une réservation|
|
|
9
|
-
|[**getBookingHistory**](#getbookinghistory) | **GET** /api/users/me/booking-history | Récupère l\'historique des réservations de l\'utilisateur connecté|
|
|
10
9
|
|
|
11
10
|
# **blockSlot**
|
|
12
11
|
> BlockSlotResponse blockSlot()
|
|
@@ -119,48 +118,3 @@ const { status, data } = await apiInstance.createBooking(
|
|
|
119
118
|
|
|
120
119
|
[[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
120
|
|
|
122
|
-
# **getBookingHistory**
|
|
123
|
-
> Array<UserBookingItem> getBookingHistory()
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### Example
|
|
127
|
-
|
|
128
|
-
```typescript
|
|
129
|
-
import {
|
|
130
|
-
UserBookingsApi,
|
|
131
|
-
Configuration
|
|
132
|
-
} from '@tennac-booking/sdk';
|
|
133
|
-
|
|
134
|
-
const configuration = new Configuration();
|
|
135
|
-
const apiInstance = new UserBookingsApi(configuration);
|
|
136
|
-
|
|
137
|
-
const { status, data } = await apiInstance.getBookingHistory();
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Parameters
|
|
141
|
-
This endpoint does not have any parameters.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### Return type
|
|
145
|
-
|
|
146
|
-
**Array<UserBookingItem>**
|
|
147
|
-
|
|
148
|
-
### Authorization
|
|
149
|
-
|
|
150
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
151
|
-
|
|
152
|
-
### HTTP request headers
|
|
153
|
-
|
|
154
|
-
- **Content-Type**: Not defined
|
|
155
|
-
- **Accept**: application/json
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
### HTTP response details
|
|
159
|
-
| Status code | Description | Response headers |
|
|
160
|
-
|-------------|-------------|------------------|
|
|
161
|
-
|**200** | Historique des réservations | - |
|
|
162
|
-
|**401** | Non autorisé | - |
|
|
163
|
-
|**500** | Erreur serveur interne | - |
|
|
164
|
-
|
|
165
|
-
[[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)
|
|
166
|
-
|
package/docs/UsersApi.md
CHANGED
|
@@ -7,10 +7,6 @@ All URIs are relative to */api*
|
|
|
7
7
|
|[**addFavoriteClub**](#addfavoriteclub) | **POST** /users/me/favorite-clubs | |
|
|
8
8
|
|[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /users/me/favoritesPlayers | |
|
|
9
9
|
|[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /users/addPaymentMethodSetup | |
|
|
10
|
-
|[**apiUsersMeNearestClubsGet**](#apiusersmenearestclubsget) | **GET** /api/users/me/nearest-clubs/ | Récupère les clubs proches de l’utilisateur connecté|
|
|
11
|
-
|[**apiUsersMeNearestPlayersGet**](#apiusersmenearestplayersget) | **GET** /api/users/me/nearest-players/ | Récupère les utilisateurs proches de l’utilisateur connecté|
|
|
12
|
-
|[**apiUsersNearestClubsCoordinatesGet**](#apiusersnearestclubscoordinatesget) | **GET** /api/users/nearest-clubs/coordinates | Récupère les clubs proches d’une position donnée|
|
|
13
|
-
|[**apiUsersNearestPlayersCoordinatesGet**](#apiusersnearestplayerscoordinatesget) | **GET** /api/users/nearest-players/coordinates | Récupère les utilisateurs proches d’une position donnée|
|
|
14
10
|
|[**cancelSubscription**](#cancelsubscription) | **DELETE** /users/me/subscriptions/{clubId}/{subscriptionId} | |
|
|
15
11
|
|[**changePassword**](#changepassword) | **PUT** /users/me/password | |
|
|
16
12
|
|[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /users/confirmPaymentMethodSetup | |
|
|
@@ -199,238 +195,6 @@ No authorization required
|
|
|
199
195
|
|
|
200
196
|
[[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)
|
|
201
197
|
|
|
202
|
-
# **apiUsersMeNearestClubsGet**
|
|
203
|
-
> Array<Club> apiUsersMeNearestClubsGet()
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
### Example
|
|
207
|
-
|
|
208
|
-
```typescript
|
|
209
|
-
import {
|
|
210
|
-
UsersApi,
|
|
211
|
-
Configuration
|
|
212
|
-
} from '@tennac-booking/sdk';
|
|
213
|
-
|
|
214
|
-
const configuration = new Configuration();
|
|
215
|
-
const apiInstance = new UsersApi(configuration);
|
|
216
|
-
|
|
217
|
-
let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
|
|
218
|
-
let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
|
|
219
|
-
|
|
220
|
-
const { status, data } = await apiInstance.apiUsersMeNearestClubsGet(
|
|
221
|
-
radiusInKm,
|
|
222
|
-
limit
|
|
223
|
-
);
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### Parameters
|
|
227
|
-
|
|
228
|
-
|Name | Type | Description | Notes|
|
|
229
|
-
|------------- | ------------- | ------------- | -------------|
|
|
230
|
-
| **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
|
|
231
|
-
| **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
### Return type
|
|
235
|
-
|
|
236
|
-
**Array<Club>**
|
|
237
|
-
|
|
238
|
-
### Authorization
|
|
239
|
-
|
|
240
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
241
|
-
|
|
242
|
-
### HTTP request headers
|
|
243
|
-
|
|
244
|
-
- **Content-Type**: Not defined
|
|
245
|
-
- **Accept**: application/json
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
### HTTP response details
|
|
249
|
-
| Status code | Description | Response headers |
|
|
250
|
-
|-------------|-------------|------------------|
|
|
251
|
-
|**200** | Liste des clubs à proximité | - |
|
|
252
|
-
|**401** | Non autorisé | - |
|
|
253
|
-
|**500** | Erreur serveur interne | - |
|
|
254
|
-
|
|
255
|
-
[[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)
|
|
256
|
-
|
|
257
|
-
# **apiUsersMeNearestPlayersGet**
|
|
258
|
-
> Array<UserResponse> apiUsersMeNearestPlayersGet()
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
### Example
|
|
262
|
-
|
|
263
|
-
```typescript
|
|
264
|
-
import {
|
|
265
|
-
UsersApi,
|
|
266
|
-
Configuration
|
|
267
|
-
} from '@tennac-booking/sdk';
|
|
268
|
-
|
|
269
|
-
const configuration = new Configuration();
|
|
270
|
-
const apiInstance = new UsersApi(configuration);
|
|
271
|
-
|
|
272
|
-
let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
|
|
273
|
-
let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
|
|
274
|
-
|
|
275
|
-
const { status, data } = await apiInstance.apiUsersMeNearestPlayersGet(
|
|
276
|
-
radiusInKm,
|
|
277
|
-
limit
|
|
278
|
-
);
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
### Parameters
|
|
282
|
-
|
|
283
|
-
|Name | Type | Description | Notes|
|
|
284
|
-
|------------- | ------------- | ------------- | -------------|
|
|
285
|
-
| **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
|
|
286
|
-
| **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
### Return type
|
|
290
|
-
|
|
291
|
-
**Array<UserResponse>**
|
|
292
|
-
|
|
293
|
-
### Authorization
|
|
294
|
-
|
|
295
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
296
|
-
|
|
297
|
-
### HTTP request headers
|
|
298
|
-
|
|
299
|
-
- **Content-Type**: Not defined
|
|
300
|
-
- **Accept**: application/json
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
### HTTP response details
|
|
304
|
-
| Status code | Description | Response headers |
|
|
305
|
-
|-------------|-------------|------------------|
|
|
306
|
-
|**200** | Liste des utilisateurs à proximité | - |
|
|
307
|
-
|**401** | Non autorisé | - |
|
|
308
|
-
|**500** | Erreur serveur interne | - |
|
|
309
|
-
|
|
310
|
-
[[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)
|
|
311
|
-
|
|
312
|
-
# **apiUsersNearestClubsCoordinatesGet**
|
|
313
|
-
> Array<Club> apiUsersNearestClubsCoordinatesGet()
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
### Example
|
|
317
|
-
|
|
318
|
-
```typescript
|
|
319
|
-
import {
|
|
320
|
-
UsersApi,
|
|
321
|
-
Configuration
|
|
322
|
-
} from '@tennac-booking/sdk';
|
|
323
|
-
|
|
324
|
-
const configuration = new Configuration();
|
|
325
|
-
const apiInstance = new UsersApi(configuration);
|
|
326
|
-
|
|
327
|
-
let latitude: number; //Latitude de la position (default to undefined)
|
|
328
|
-
let longitude: number; //Longitude de la position (default to undefined)
|
|
329
|
-
let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
|
|
330
|
-
let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
|
|
331
|
-
|
|
332
|
-
const { status, data } = await apiInstance.apiUsersNearestClubsCoordinatesGet(
|
|
333
|
-
latitude,
|
|
334
|
-
longitude,
|
|
335
|
-
radiusInKm,
|
|
336
|
-
limit
|
|
337
|
-
);
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
### Parameters
|
|
341
|
-
|
|
342
|
-
|Name | Type | Description | Notes|
|
|
343
|
-
|------------- | ------------- | ------------- | -------------|
|
|
344
|
-
| **latitude** | [**number**] | Latitude de la position | defaults to undefined|
|
|
345
|
-
| **longitude** | [**number**] | Longitude de la position | defaults to undefined|
|
|
346
|
-
| **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
|
|
347
|
-
| **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
### Return type
|
|
351
|
-
|
|
352
|
-
**Array<Club>**
|
|
353
|
-
|
|
354
|
-
### Authorization
|
|
355
|
-
|
|
356
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
357
|
-
|
|
358
|
-
### HTTP request headers
|
|
359
|
-
|
|
360
|
-
- **Content-Type**: Not defined
|
|
361
|
-
- **Accept**: application/json
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
### HTTP response details
|
|
365
|
-
| Status code | Description | Response headers |
|
|
366
|
-
|-------------|-------------|------------------|
|
|
367
|
-
|**200** | Liste des clubs à proximité | - |
|
|
368
|
-
|**400** | Requête invalide | - |
|
|
369
|
-
|**500** | Erreur serveur interne | - |
|
|
370
|
-
|
|
371
|
-
[[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)
|
|
372
|
-
|
|
373
|
-
# **apiUsersNearestPlayersCoordinatesGet**
|
|
374
|
-
> Array<UserResponse> apiUsersNearestPlayersCoordinatesGet()
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
### Example
|
|
378
|
-
|
|
379
|
-
```typescript
|
|
380
|
-
import {
|
|
381
|
-
UsersApi,
|
|
382
|
-
Configuration
|
|
383
|
-
} from '@tennac-booking/sdk';
|
|
384
|
-
|
|
385
|
-
const configuration = new Configuration();
|
|
386
|
-
const apiInstance = new UsersApi(configuration);
|
|
387
|
-
|
|
388
|
-
let latitude: number; //Latitude de la position (default to undefined)
|
|
389
|
-
let longitude: number; //Longitude de la position (default to undefined)
|
|
390
|
-
let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
|
|
391
|
-
let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
|
|
392
|
-
|
|
393
|
-
const { status, data } = await apiInstance.apiUsersNearestPlayersCoordinatesGet(
|
|
394
|
-
latitude,
|
|
395
|
-
longitude,
|
|
396
|
-
radiusInKm,
|
|
397
|
-
limit
|
|
398
|
-
);
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
### Parameters
|
|
402
|
-
|
|
403
|
-
|Name | Type | Description | Notes|
|
|
404
|
-
|------------- | ------------- | ------------- | -------------|
|
|
405
|
-
| **latitude** | [**number**] | Latitude de la position | defaults to undefined|
|
|
406
|
-
| **longitude** | [**number**] | Longitude de la position | defaults to undefined|
|
|
407
|
-
| **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
|
|
408
|
-
| **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
### Return type
|
|
412
|
-
|
|
413
|
-
**Array<UserResponse>**
|
|
414
|
-
|
|
415
|
-
### Authorization
|
|
416
|
-
|
|
417
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
418
|
-
|
|
419
|
-
### HTTP request headers
|
|
420
|
-
|
|
421
|
-
- **Content-Type**: Not defined
|
|
422
|
-
- **Accept**: application/json
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
### HTTP response details
|
|
426
|
-
| Status code | Description | Response headers |
|
|
427
|
-
|-------------|-------------|------------------|
|
|
428
|
-
|**200** | Liste des utilisateurs à proximité | - |
|
|
429
|
-
|**400** | Requête invalide | - |
|
|
430
|
-
|**500** | Erreur serveur interne | - |
|
|
431
|
-
|
|
432
|
-
[[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)
|
|
433
|
-
|
|
434
198
|
# **cancelSubscription**
|
|
435
199
|
> SubscriptionMutationResponse cancelSubscription()
|
|
436
200
|
|
package/package.json
CHANGED
package/docs/BaseUser.md
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# BaseUser
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**_id** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**username** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**googleId** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**isProfileVisible** | **boolean** | | [optional] [default to undefined]
|
|
20
|
-
**gender** | **string** | | [optional] [default to undefined]
|
|
21
|
-
**isAccountVerified** | **boolean** | | [optional] [default to undefined]
|
|
22
|
-
**isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
|
|
23
|
-
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
24
|
-
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
25
|
-
**paymentMethodSetupCompleted** | **boolean** | | [optional] [default to undefined]
|
|
26
|
-
**paymentMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
27
|
-
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
28
|
-
**levelBySports** | [**Array<PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner>**](PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner.md) | | [optional] [default to undefined]
|
|
29
|
-
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
30
|
-
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
31
|
-
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
32
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
33
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
34
|
-
**setupIntentId** | **string** | | [optional] [default to undefined]
|
|
35
|
-
**sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
36
|
-
**location** | [**UserLocationSummary**](UserLocationSummary.md) | | [optional] [default to undefined]
|
|
37
|
-
|
|
38
|
-
## Example
|
|
39
|
-
|
|
40
|
-
```typescript
|
|
41
|
-
import { BaseUser } from '@tennac-booking/sdk';
|
|
42
|
-
|
|
43
|
-
const instance: BaseUser = {
|
|
44
|
-
id,
|
|
45
|
-
_id,
|
|
46
|
-
username,
|
|
47
|
-
googleId,
|
|
48
|
-
firstName,
|
|
49
|
-
lastName,
|
|
50
|
-
email,
|
|
51
|
-
phone,
|
|
52
|
-
profilePicture,
|
|
53
|
-
description,
|
|
54
|
-
city,
|
|
55
|
-
isProfileVisible,
|
|
56
|
-
gender,
|
|
57
|
-
isAccountVerified,
|
|
58
|
-
isCreditCardRegistered,
|
|
59
|
-
isAdmin,
|
|
60
|
-
isLevelCertified,
|
|
61
|
-
paymentMethodSetupCompleted,
|
|
62
|
-
paymentMethods,
|
|
63
|
-
defaultPaymentMethodId,
|
|
64
|
-
levelBySports,
|
|
65
|
-
favoriteClubs,
|
|
66
|
-
favoritePlayers,
|
|
67
|
-
stripeCustomerId,
|
|
68
|
-
createdAt,
|
|
69
|
-
updatedAt,
|
|
70
|
-
setupIntentId,
|
|
71
|
-
sports,
|
|
72
|
-
location,
|
|
73
|
-
};
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
[[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,18 +0,0 @@
|
|
|
1
|
-
# IUserAttributesFavoritePlayersInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
import { IUserAttributesFavoritePlayersInner } from '@tennac-booking/sdk';
|
|
13
|
-
|
|
14
|
-
const instance: IUserAttributesFavoritePlayersInner = {
|
|
15
|
-
};
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
[[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,75 +0,0 @@
|
|
|
1
|
-
# PickUserResponseExcludeKeyofUserResponseLocation
|
|
2
|
-
|
|
3
|
-
From T, pick a set of properties whose keys are in the union K
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**_id** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**username** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**googleId** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**isProfileVisible** | **boolean** | | [optional] [default to undefined]
|
|
21
|
-
**gender** | **string** | | [optional] [default to undefined]
|
|
22
|
-
**isAccountVerified** | **boolean** | | [optional] [default to undefined]
|
|
23
|
-
**isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
|
|
24
|
-
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
25
|
-
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
26
|
-
**paymentMethodSetupCompleted** | **boolean** | | [optional] [default to undefined]
|
|
27
|
-
**paymentMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
28
|
-
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
29
|
-
**levelBySports** | [**Array<PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner>**](PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner.md) | | [optional] [default to undefined]
|
|
30
|
-
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
31
|
-
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
32
|
-
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
33
|
-
**createdAt** | **string** | | [optional] [default to undefined]
|
|
34
|
-
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
35
|
-
**setupIntentId** | **string** | | [optional] [default to undefined]
|
|
36
|
-
**sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
37
|
-
|
|
38
|
-
## Example
|
|
39
|
-
|
|
40
|
-
```typescript
|
|
41
|
-
import { PickUserResponseExcludeKeyofUserResponseLocation } from '@tennac-booking/sdk';
|
|
42
|
-
|
|
43
|
-
const instance: PickUserResponseExcludeKeyofUserResponseLocation = {
|
|
44
|
-
id,
|
|
45
|
-
_id,
|
|
46
|
-
username,
|
|
47
|
-
googleId,
|
|
48
|
-
firstName,
|
|
49
|
-
lastName,
|
|
50
|
-
email,
|
|
51
|
-
phone,
|
|
52
|
-
profilePicture,
|
|
53
|
-
description,
|
|
54
|
-
city,
|
|
55
|
-
isProfileVisible,
|
|
56
|
-
gender,
|
|
57
|
-
isAccountVerified,
|
|
58
|
-
isCreditCardRegistered,
|
|
59
|
-
isAdmin,
|
|
60
|
-
isLevelCertified,
|
|
61
|
-
paymentMethodSetupCompleted,
|
|
62
|
-
paymentMethods,
|
|
63
|
-
defaultPaymentMethodId,
|
|
64
|
-
levelBySports,
|
|
65
|
-
favoriteClubs,
|
|
66
|
-
favoritePlayers,
|
|
67
|
-
stripeCustomerId,
|
|
68
|
-
createdAt,
|
|
69
|
-
updatedAt,
|
|
70
|
-
setupIntentId,
|
|
71
|
-
sports,
|
|
72
|
-
};
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
[[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,22 +0,0 @@
|
|
|
1
|
-
# PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**level** | **string** | | [default to undefined]
|
|
9
|
-
**sport** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner = {
|
|
17
|
-
level,
|
|
18
|
-
sport,
|
|
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)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# UpdateCustomerRequestBodyAddress
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**line1** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**line2** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**state** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**postal_code** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**country** | **string** | | [optional] [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { UpdateCustomerRequestBodyAddress } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: UpdateCustomerRequestBodyAddress = {
|
|
21
|
-
line1,
|
|
22
|
-
line2,
|
|
23
|
-
city,
|
|
24
|
-
state,
|
|
25
|
-
postal_code,
|
|
26
|
-
country,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[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,28 +0,0 @@
|
|
|
1
|
-
# UpdateCustomerResponseCustomer
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**address** | **object** | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { UpdateCustomerResponseCustomer } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: UpdateCustomerResponseCustomer = {
|
|
20
|
-
id,
|
|
21
|
-
name,
|
|
22
|
-
email,
|
|
23
|
-
phone,
|
|
24
|
-
address,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[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,44 +0,0 @@
|
|
|
1
|
-
# UserLocationSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**coordinates** | **Array<number>** | | [optional] [default to undefined]
|
|
10
|
-
**mapboxId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**mapboxPlaceType** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
-
**mapboxPlaceName** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**mapboxAddress** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**mapboxContext** | **Array<{ [key: string]: any; }>** | | [optional] [default to undefined]
|
|
15
|
-
**mapboxRaw** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
16
|
-
**city** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**country** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**postalCode** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**state** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**address** | **string** | | [optional] [default to undefined]
|
|
21
|
-
|
|
22
|
-
## Example
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { UserLocationSummary } from '@tennac-booking/sdk';
|
|
26
|
-
|
|
27
|
-
const instance: UserLocationSummary = {
|
|
28
|
-
type,
|
|
29
|
-
coordinates,
|
|
30
|
-
mapboxId,
|
|
31
|
-
mapboxPlaceType,
|
|
32
|
-
mapboxPlaceName,
|
|
33
|
-
mapboxAddress,
|
|
34
|
-
mapboxContext,
|
|
35
|
-
mapboxRaw,
|
|
36
|
-
city,
|
|
37
|
-
country,
|
|
38
|
-
postalCode,
|
|
39
|
-
state,
|
|
40
|
-
address,
|
|
41
|
-
};
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|