@tennac-booking/sdk 1.0.38 → 1.0.41

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 (84) hide show
  1. package/.openapi-generator/FILES +65 -206
  2. package/README.md +74 -258
  3. package/api.ts +2400 -13132
  4. package/base.ts +3 -3
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +1546 -8835
  8. package/dist/api.js +1017 -7045
  9. package/dist/base.d.ts +2 -2
  10. package/dist/base.js +3 -3
  11. package/dist/common.d.ts +2 -2
  12. package/dist/common.js +2 -2
  13. package/dist/configuration.d.ts +2 -2
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +1546 -8835
  16. package/dist/esm/api.js +1012 -6930
  17. package/dist/esm/base.d.ts +2 -2
  18. package/dist/esm/base.js +3 -3
  19. package/dist/esm/common.d.ts +2 -2
  20. package/dist/esm/common.js +2 -2
  21. package/dist/esm/configuration.d.ts +2 -2
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +2 -2
  24. package/dist/esm/index.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +2 -2
  27. package/docs/AddPaymentMethodRequestBody.md +20 -0
  28. package/docs/BaseUser.md +76 -0
  29. package/docs/BookingDetailResponse.md +46 -0
  30. package/docs/BookingSummary.md +44 -0
  31. package/docs/BookingSummaryBookingHistory.md +18 -0
  32. package/docs/BookingSummaryClubAddress.md +18 -0
  33. package/docs/ChangePasswordResponse.md +1 -1
  34. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  35. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  36. package/docs/DiagnosticsApi.md +52 -0
  37. package/docs/DiagnosticsResponse.md +24 -0
  38. package/docs/FavoriteClubMutationResponse.md +22 -0
  39. package/docs/FavoriteClubRequestBody.md +20 -0
  40. package/docs/FavoriteClubsResponse.md +20 -0
  41. package/docs/FavoritePlayerMutationResponse.md +22 -0
  42. package/docs/FavoritePlayerRequestBody.md +20 -0
  43. package/docs/FavoritePlayersResponse.md +1 -1
  44. package/docs/FrequentClub.md +24 -0
  45. package/docs/FrequentPlayer.md +28 -0
  46. package/docs/Gender.md +12 -0
  47. package/docs/GoogleAuthRequestBody.md +20 -0
  48. package/docs/GoogleAuthResponse.md +30 -0
  49. package/docs/GoogleAuthResponseUser.md +26 -0
  50. package/docs/ILevelBySports.md +22 -0
  51. package/docs/IUserAttributes.md +74 -0
  52. package/docs/IUserAttributesFavoritePlayersInner.md +18 -0
  53. package/docs/IUserLocation.md +44 -0
  54. package/docs/LevelBySportEntry.md +22 -0
  55. package/docs/LoginResponse.md +2 -2
  56. package/docs/NotImplementedResponse.md +20 -0
  57. package/docs/PasswordResetRequestBody.md +20 -0
  58. package/docs/PaymentMethodSetupResponse.md +24 -0
  59. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +75 -0
  60. package/docs/PickUserResponseExcludeKeyofUserResponseLocationLevelBySportsInner.md +22 -0
  61. package/docs/ProfilePictureResponse.md +1 -1
  62. package/docs/ProfilePictureUpdateRequestBody.md +20 -0
  63. package/docs/RefreshTokenResponse.md +6 -2
  64. package/docs/SdkDiagnosticsResponse.md +28 -0
  65. package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
  66. package/docs/SdkDiagnosticsResponseSdk.md +24 -0
  67. package/docs/SetupPaymentMethodRequestBody.md +1 -1
  68. package/docs/SetupPaymentMethodResponse.md +3 -3
  69. package/docs/StaffUserProfileResponse.md +78 -0
  70. package/docs/SubscribeToClubRequestBody.md +3 -3
  71. package/docs/SubscriptionMutationResponse.md +20 -0
  72. package/docs/SubscriptionSessionRequestBody.md +22 -0
  73. package/docs/SubscriptionSessionResponse.md +20 -0
  74. package/docs/UpdateCustomerRequestBody.md +3 -7
  75. package/docs/UpdateCustomerResponse.md +1 -3
  76. package/docs/UpdateLevelBySportsRequestBody.md +1 -1
  77. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +2 -2
  78. package/docs/UserLocationSummary.md +44 -0
  79. package/docs/UserProfileResponse.md +84 -0
  80. package/docs/UserRolesResponse.md +20 -0
  81. package/docs/UserSubscriptionsResponse.md +20 -0
  82. package/docs/UsersApi.md +1721 -76
  83. package/index.ts +2 -2
  84. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ # GoogleAuthRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id_token** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GoogleAuthRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: GoogleAuthRequestBody = {
16
+ id_token,
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)
@@ -0,0 +1,30 @@
1
+ # GoogleAuthResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **token** | **string** | | [default to undefined]
9
+ **refreshToken** | **string** | | [default to undefined]
10
+ **sessionDuration** | **number** | | [default to undefined]
11
+ **sessionEnd** | **number** | | [default to undefined]
12
+ **role** | **string** | | [default to undefined]
13
+ **user** | [**GoogleAuthResponseUser**](GoogleAuthResponseUser.md) | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { GoogleAuthResponse } from '@tennac-booking/sdk';
19
+
20
+ const instance: GoogleAuthResponse = {
21
+ token,
22
+ refreshToken,
23
+ sessionDuration,
24
+ sessionEnd,
25
+ role,
26
+ user,
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)
@@ -0,0 +1,26 @@
1
+ # GoogleAuthResponseUser
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **lastName** | **string** | | [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **email** | **string** | | [default to undefined]
11
+ **id** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GoogleAuthResponseUser } from '@tennac-booking/sdk';
17
+
18
+ const instance: GoogleAuthResponseUser = {
19
+ lastName,
20
+ firstName,
21
+ email,
22
+ id,
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
+ # ILevelBySports
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sport** | **string** | | [default to undefined]
9
+ **level** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ILevelBySports } from '@tennac-booking/sdk';
15
+
16
+ const instance: ILevelBySports = {
17
+ sport,
18
+ level,
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,74 @@
1
+ # IUserAttributes
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
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]
36
+
37
+ ## Example
38
+
39
+ ```typescript
40
+ import { IUserAttributes } from '@tennac-booking/sdk';
41
+
42
+ const instance: IUserAttributes = {
43
+ username,
44
+ googleId,
45
+ firstName,
46
+ lastName,
47
+ email,
48
+ gender,
49
+ location,
50
+ isAccountVerified,
51
+ isCreditCardRegistered,
52
+ levelBySports,
53
+ stripeCustomerId,
54
+ phone,
55
+ password,
56
+ profilePicture,
57
+ isAdmin,
58
+ createdAt,
59
+ updatedAt,
60
+ isLevelCertified,
61
+ paymentMethods,
62
+ defaultPaymentMethodId,
63
+ paymentMethodSetupCompleted,
64
+ setupIntentId,
65
+ favoriteClubs,
66
+ description,
67
+ city,
68
+ isProfileVisible,
69
+ favoritePlayers,
70
+ sports,
71
+ };
72
+ ```
73
+
74
+ [[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,18 @@
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)
@@ -0,0 +1,44 @@
1
+ # IUserLocation
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [default to undefined]
9
+ **coordinates** | **Array<number>** | | [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 { IUserLocation } from '@tennac-booking/sdk';
26
+
27
+ const instance: IUserLocation = {
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)
@@ -0,0 +1,22 @@
1
+ # LevelBySportEntry
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 { LevelBySportEntry } from '@tennac-booking/sdk';
15
+
16
+ const instance: LevelBySportEntry = {
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)
@@ -6,10 +6,10 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **token** | **string** | | [default to undefined]
9
- **role** | **string** | | [optional] [default to undefined]
10
9
  **refreshToken** | **string** | | [default to undefined]
11
10
  **sessionDuration** | **number** | | [default to undefined]
12
11
  **sessionEnd** | **number** | | [default to undefined]
12
+ **role** | **string** | | [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -18,10 +18,10 @@ import { LoginResponse } from '@tennac-booking/sdk';
18
18
 
19
19
  const instance: LoginResponse = {
20
20
  token,
21
- role,
22
21
  refreshToken,
23
22
  sessionDuration,
24
23
  sessionEnd,
24
+ role,
25
25
  };
26
26
  ```
27
27
 
@@ -0,0 +1,20 @@
1
+ # NotImplementedResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { NotImplementedResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: NotImplementedResponse = {
16
+ message,
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)
@@ -0,0 +1,20 @@
1
+ # PasswordResetRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PasswordResetRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: PasswordResetRequestBody = {
16
+ email,
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)
@@ -0,0 +1,24 @@
1
+ # PaymentMethodSetupResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **paymentMethods** | **Array<string>** | | [default to undefined]
10
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PaymentMethodSetupResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: PaymentMethodSetupResponse = {
18
+ message,
19
+ paymentMethods,
20
+ defaultPaymentMethodId,
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,75 @@
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)
@@ -0,0 +1,22 @@
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)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **profilePicture** | **string** | URL de la photo de profil | [optional] [default to undefined]
8
+ **profilePicture** | **string** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,20 @@
1
+ # ProfilePictureUpdateRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **profilePicture** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ProfilePictureUpdateRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: ProfilePictureUpdateRequestBody = {
16
+ profilePicture,
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)
@@ -5,8 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **token** | **string** | | [optional] [default to undefined]
9
- **refreshToken** | **string** | | [optional] [default to undefined]
8
+ **token** | **string** | | [default to undefined]
9
+ **refreshToken** | **string** | | [default to undefined]
10
+ **sessionDuration** | **number** | | [default to undefined]
11
+ **sessionEnd** | **number** | | [default to undefined]
10
12
 
11
13
  ## Example
12
14
 
@@ -16,6 +18,8 @@ import { RefreshTokenResponse } from '@tennac-booking/sdk';
16
18
  const instance: RefreshTokenResponse = {
17
19
  token,
18
20
  refreshToken,
21
+ sessionDuration,
22
+ sessionEnd,
19
23
  };
20
24
  ```
21
25
 
@@ -0,0 +1,28 @@
1
+ # SdkDiagnosticsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | Etat de la vérification (\'ok\' si tout s\'est bien passé) | [default to undefined]
9
+ **apiVersion** | **string** | Version courante définie dans package.json | [default to undefined]
10
+ **openapi** | [**SdkDiagnosticsResponseOpenapi**](SdkDiagnosticsResponseOpenapi.md) | | [default to undefined]
11
+ **sdk** | [**SdkDiagnosticsResponseSdk**](SdkDiagnosticsResponseSdk.md) | | [default to undefined]
12
+ **matchesApiVersion** | **boolean** | true si openapi.json et le SDK sont alignés avec la version de l\'API | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { SdkDiagnosticsResponse } from '@tennac-booking/sdk';
18
+
19
+ const instance: SdkDiagnosticsResponse = {
20
+ status,
21
+ apiVersion,
22
+ openapi,
23
+ sdk,
24
+ matchesApiVersion,
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)
@@ -0,0 +1,24 @@
1
+ # SdkDiagnosticsResponseOpenapi
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **exists** | **boolean** | | [optional] [default to undefined]
9
+ **version** | **string** | Version trouvée dans openapi.json | [optional] [default to undefined]
10
+ **path** | **string** | Chemin relatif vers openapi.json | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SdkDiagnosticsResponseOpenapi } from '@tennac-booking/sdk';
16
+
17
+ const instance: SdkDiagnosticsResponseOpenapi = {
18
+ exists,
19
+ version,
20
+ path,
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,24 @@
1
+ # SdkDiagnosticsResponseSdk
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **exists** | **boolean** | | [optional] [default to undefined]
9
+ **version** | **string** | Version du package SDK généré | [optional] [default to undefined]
10
+ **path** | **string** | Chemin relatif vers sdk/package.json | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SdkDiagnosticsResponseSdk } from '@tennac-booking/sdk';
16
+
17
+ const instance: SdkDiagnosticsResponseSdk = {
18
+ exists,
19
+ version,
20
+ path,
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)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | ID du club | [default to undefined]
8
+ **clubId** | **string** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **setupIntentId** | **string** | ID du Setup Intent Stripe | [optional] [default to undefined]
9
- **clientSecret** | **string** | Client secret pour la configuration côté client | [optional] [default to undefined]
10
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
8
+ **setupIntentId** | **string** | | [default to undefined]
9
+ **clientSecret** | **string** | | [default to undefined]
10
+ **message** | **string** | | [default to undefined]
11
11
 
12
12
  ## Example
13
13