@tennac-booking/sdk 1.0.40 → 1.0.42

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.
Files changed (67) hide show
  1. package/.openapi-generator/FILES +178 -3
  2. package/README.md +261 -4
  3. package/api.ts +16205 -858
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +11286 -855
  8. package/dist/api.js +8543 -31
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +11286 -855
  16. package/dist/esm/api.js +8425 -27
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BaseUser.md +13 -13
  28. package/docs/BookingsApi.md +1 -1
  29. package/docs/ClubAnalyticsApi.md +1 -1
  30. package/docs/ClubsApi.md +1 -1
  31. package/docs/DiagnosticsApi.md +45 -0
  32. package/docs/EventsApi.md +1 -1
  33. package/docs/FavoritePlayersResponse.md +1 -1
  34. package/docs/IUserAttributes.md +74 -0
  35. package/docs/IUserAttributesFavoritePlayersInner.md +18 -0
  36. package/docs/IUserLocation.md +44 -0
  37. package/docs/ManagerBookingsApi.md +1 -1
  38. package/docs/ManagerClubCourtsApi.md +1 -1
  39. package/docs/ManagerClubRolesApi.md +1 -1
  40. package/docs/ManagerClubSlotsApi.md +1 -1
  41. package/docs/ManagerClubSubscriptionsApi.md +1 -1
  42. package/docs/ManagerClubsApi.md +1 -1
  43. package/docs/ManagerEventsApi.md +1 -1
  44. package/docs/ManagerSportsApi.md +1 -1
  45. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +15 -13
  46. package/docs/PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner.md +22 -0
  47. package/docs/StaffBookingsApi.md +1 -1
  48. package/docs/StaffClubAnalyticsApi.md +1 -1
  49. package/docs/StaffClubBookingsApi.md +1 -1
  50. package/docs/StaffClubsApi.md +1 -1
  51. package/docs/StaffEventsApi.md +1 -1
  52. package/docs/StaffProfileApi.md +1 -1
  53. package/docs/StaffUserProfileResponse.md +56 -0
  54. package/docs/UserApi.md +1 -1
  55. package/docs/UserAuthenticationApi.md +1 -1
  56. package/docs/UserBookingsApi.md +1 -1
  57. package/docs/UserClubCourtsApi.md +1 -1
  58. package/docs/UserClubSlotsApi.md +1 -1
  59. package/docs/UserClubSportsApi.md +1 -1
  60. package/docs/UserClubsApi.md +1 -1
  61. package/docs/UserPaymentApi.md +1 -1
  62. package/docs/UserProfileApi.md +1 -1
  63. package/docs/UserProfileResponse.md +56 -0
  64. package/docs/UserSubscriptionsApi.md +1 -1
  65. package/docs/UsersApi.md +244 -8
  66. package/index.ts +1 -1
  67. package/package.json +1 -1
@@ -5,6 +5,34 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [optional] [default to undefined]
9
+ **googleId** | **string** | | [optional] [default to undefined]
10
+ **firstName** | **string** | | [default to undefined]
11
+ **lastName** | **string** | | [default to undefined]
12
+ **email** | **string** | | [default to undefined]
13
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
+ **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
+ **isAccountVerified** | **boolean** | | [default to undefined]
16
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
17
+ **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
18
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
19
+ **phone** | **string** | | [optional] [default to undefined]
20
+ **password** | **string** | | [optional] [default to undefined]
21
+ **profilePicture** | **string** | | [optional] [default to undefined]
22
+ **isAdmin** | **boolean** | | [default to undefined]
23
+ **createdAt** | **string** | | [default to undefined]
24
+ **updatedAt** | **string** | | [default to undefined]
25
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
26
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
27
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
28
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
29
+ **setupIntentId** | **string** | | [optional] [default to undefined]
30
+ **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
31
+ **description** | **string** | | [optional] [default to undefined]
32
+ **city** | **string** | | [optional] [default to undefined]
33
+ **isProfileVisible** | **boolean** | | [default to undefined]
34
+ **favoritePlayers** | **Array<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]
8
36
  **isSubscribedToMyClub** | **boolean** | | [optional] [default to undefined]
9
37
  **creditOnMyClub** | **number** | | [optional] [default to undefined]
10
38
 
@@ -14,6 +42,34 @@ Name | Type | Description | Notes
14
42
  import { StaffUserProfileResponse } from '@tennac-booking/sdk';
15
43
 
16
44
  const instance: StaffUserProfileResponse = {
45
+ username,
46
+ googleId,
47
+ firstName,
48
+ lastName,
49
+ email,
50
+ gender,
51
+ location,
52
+ isAccountVerified,
53
+ isCreditCardRegistered,
54
+ levelBySports,
55
+ stripeCustomerId,
56
+ phone,
57
+ password,
58
+ profilePicture,
59
+ isAdmin,
60
+ createdAt,
61
+ updatedAt,
62
+ isLevelCertified,
63
+ paymentMethods,
64
+ defaultPaymentMethodId,
65
+ paymentMethodSetupCompleted,
66
+ setupIntentId,
67
+ favoriteClubs,
68
+ description,
69
+ city,
70
+ isProfileVisible,
71
+ favoritePlayers,
72
+ sports,
17
73
  isSubscribedToMyClub,
18
74
  creditOnMyClub,
19
75
  };
package/docs/UserApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # UserApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserAuthenticationApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserBookingsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubCourtsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubSlotsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubSportsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserPaymentApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserProfileApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -5,6 +5,34 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [optional] [default to undefined]
9
+ **googleId** | **string** | | [optional] [default to undefined]
10
+ **firstName** | **string** | | [default to undefined]
11
+ **lastName** | **string** | | [default to undefined]
12
+ **email** | **string** | | [default to undefined]
13
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
+ **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
+ **isAccountVerified** | **boolean** | | [default to undefined]
16
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
17
+ **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
18
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
19
+ **phone** | **string** | | [optional] [default to undefined]
20
+ **password** | **string** | | [optional] [default to undefined]
21
+ **profilePicture** | **string** | | [optional] [default to undefined]
22
+ **isAdmin** | **boolean** | | [default to undefined]
23
+ **createdAt** | **string** | | [default to undefined]
24
+ **updatedAt** | **string** | | [default to undefined]
25
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
26
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
27
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
28
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
29
+ **setupIntentId** | **string** | | [optional] [default to undefined]
30
+ **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
31
+ **description** | **string** | | [optional] [default to undefined]
32
+ **city** | **string** | | [optional] [default to undefined]
33
+ **isProfileVisible** | **boolean** | | [default to undefined]
34
+ **favoritePlayers** | **Array<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]
8
36
  **upcomingBookingsCount** | **number** | | [optional] [default to undefined]
9
37
  **subscriptionsCount** | **number** | | [optional] [default to undefined]
10
38
  **frequentlyVisitedClubs** | [**Array<FrequentClub>**](FrequentClub.md) | | [optional] [default to undefined]
@@ -17,6 +45,34 @@ Name | Type | Description | Notes
17
45
  import { UserProfileResponse } from '@tennac-booking/sdk';
18
46
 
19
47
  const instance: UserProfileResponse = {
48
+ username,
49
+ googleId,
50
+ firstName,
51
+ lastName,
52
+ email,
53
+ gender,
54
+ location,
55
+ isAccountVerified,
56
+ isCreditCardRegistered,
57
+ levelBySports,
58
+ stripeCustomerId,
59
+ phone,
60
+ password,
61
+ profilePicture,
62
+ isAdmin,
63
+ createdAt,
64
+ updatedAt,
65
+ isLevelCertified,
66
+ paymentMethods,
67
+ defaultPaymentMethodId,
68
+ paymentMethodSetupCompleted,
69
+ setupIntentId,
70
+ favoriteClubs,
71
+ description,
72
+ city,
73
+ isProfileVisible,
74
+ favoritePlayers,
75
+ sports,
20
76
  upcomingBookingsCount,
21
77
  subscriptionsCount,
22
78
  frequentlyVisitedClubs,
@@ -1,6 +1,6 @@
1
1
  # UserSubscriptionsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/UsersApi.md CHANGED
@@ -7,6 +7,10 @@ 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|
10
14
  |[**cancelSubscription**](#cancelsubscription) | **DELETE** /users/me/subscriptions/{clubId}/{subscriptionId} | |
11
15
  |[**changePassword**](#changepassword) | **PUT** /users/me/password | |
12
16
  |[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /users/confirmPaymentMethodSetup | |
@@ -195,6 +199,238 @@ No authorization required
195
199
 
196
200
  [[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)
197
201
 
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
+
198
434
  # **cancelSubscription**
199
435
  > SubscriptionMutationResponse cancelSubscription()
200
436
 
@@ -351,7 +587,7 @@ No authorization required
351
587
  [[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)
352
588
 
353
589
  # **getAllUsers**
354
- > Array<BaseUser> getAllUsers()
590
+ > Array<IUserAttributes> getAllUsers()
355
591
 
356
592
 
357
593
  ### Example
@@ -374,7 +610,7 @@ This endpoint does not have any parameters.
374
610
 
375
611
  ### Return type
376
612
 
377
- **Array<BaseUser>**
613
+ **Array<IUserAttributes>**
378
614
 
379
615
  ### Authorization
380
616
 
@@ -936,7 +1172,7 @@ No authorization required
936
1172
  [[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)
937
1173
 
938
1174
  # **getUserProfileById**
939
- > BaseUser getUserProfileById()
1175
+ > IUserAttributes getUserProfileById()
940
1176
 
941
1177
 
942
1178
  ### Example
@@ -966,7 +1202,7 @@ const { status, data } = await apiInstance.getUserProfileById(
966
1202
 
967
1203
  ### Return type
968
1204
 
969
- **BaseUser**
1205
+ **IUserAttributes**
970
1206
 
971
1207
  ### Authorization
972
1208
 
@@ -1275,7 +1511,7 @@ No authorization required
1275
1511
  [[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)
1276
1512
 
1277
1513
  # **register**
1278
- > BaseUser register(registerRequestBody)
1514
+ > IUserAttributes register(registerRequestBody)
1279
1515
 
1280
1516
 
1281
1517
  ### Example
@@ -1306,7 +1542,7 @@ const { status, data } = await apiInstance.register(
1306
1542
 
1307
1543
  ### Return type
1308
1544
 
1309
- **BaseUser**
1545
+ **IUserAttributes**
1310
1546
 
1311
1547
  ### Authorization
1312
1548
 
@@ -1734,7 +1970,7 @@ No authorization required
1734
1970
  [[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)
1735
1971
 
1736
1972
  # **updateLevelBySports**
1737
- > BaseUser updateLevelBySports(updateLevelBySportsRequestBody)
1973
+ > IUserAttributes updateLevelBySports(updateLevelBySportsRequestBody)
1738
1974
 
1739
1975
 
1740
1976
  ### Example
@@ -1765,7 +2001,7 @@ const { status, data } = await apiInstance.updateLevelBySports(
1765
2001
 
1766
2002
  ### Return type
1767
2003
 
1768
- **BaseUser**
2004
+ **IUserAttributes**
1769
2005
 
1770
2006
  ### Authorization
1771
2007
 
package/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * booking_api
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * API for managing pickle ball games and players
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {