@tennac-booking/sdk 1.0.38 → 1.0.40

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 (80) hide show
  1. package/.openapi-generator/FILES +66 -206
  2. package/README.md +75 -258
  3. package/api.ts +2219 -13121
  4. package/base.ts +3 -3
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +1496 -8954
  8. package/dist/api.js +1015 -7046
  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 +1496 -8954
  16. package/dist/esm/api.js +1011 -6932
  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/LevelBySportEntry.md +22 -0
  52. package/docs/LoginResponse.md +2 -2
  53. package/docs/NotImplementedResponse.md +20 -0
  54. package/docs/PasswordResetRequestBody.md +20 -0
  55. package/docs/PaymentMethodSetupResponse.md +24 -0
  56. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
  57. package/docs/ProfilePictureResponse.md +1 -1
  58. package/docs/ProfilePictureUpdateRequestBody.md +20 -0
  59. package/docs/RefreshTokenResponse.md +6 -2
  60. package/docs/SdkDiagnosticsResponse.md +28 -0
  61. package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
  62. package/docs/SdkDiagnosticsResponseSdk.md +24 -0
  63. package/docs/SetupPaymentMethodRequestBody.md +1 -1
  64. package/docs/SetupPaymentMethodResponse.md +3 -3
  65. package/docs/StaffUserProfileResponse.md +22 -0
  66. package/docs/SubscribeToClubRequestBody.md +3 -3
  67. package/docs/SubscriptionMutationResponse.md +20 -0
  68. package/docs/SubscriptionSessionRequestBody.md +22 -0
  69. package/docs/SubscriptionSessionResponse.md +20 -0
  70. package/docs/UpdateCustomerRequestBody.md +3 -7
  71. package/docs/UpdateCustomerResponse.md +1 -3
  72. package/docs/UpdateLevelBySportsRequestBody.md +1 -1
  73. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +2 -2
  74. package/docs/UserLocationSummary.md +44 -0
  75. package/docs/UserProfileResponse.md +28 -0
  76. package/docs/UserRolesResponse.md +20 -0
  77. package/docs/UserSubscriptionsResponse.md +20 -0
  78. package/docs/UsersApi.md +1721 -76
  79. package/index.ts +2 -2
  80. 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,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,73 @@
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** | **any** | The string version of this documents _id. | [optional] [default to undefined]
10
+ **_id** | **any** | This documents _id. | [default to undefined]
11
+ **username** | **string** | | [optional] [default to undefined]
12
+ **googleId** | **string** | | [optional] [default to undefined]
13
+ **firstName** | **string** | | [default to undefined]
14
+ **lastName** | **string** | | [default to undefined]
15
+ **email** | **string** | | [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** | | [default to undefined]
21
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
22
+ **isAccountVerified** | **boolean** | | [default to undefined]
23
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
24
+ **isAdmin** | **boolean** | | [default to undefined]
25
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
26
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
27
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
28
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
29
+ **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.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** | | [default to undefined]
34
+ **updatedAt** | **string** | | [default to undefined]
35
+ **setupIntentId** | **string** | | [optional] [default to undefined]
36
+
37
+ ## Example
38
+
39
+ ```typescript
40
+ import { PickUserResponseExcludeKeyofUserResponseLocation } from '@tennac-booking/sdk';
41
+
42
+ const instance: PickUserResponseExcludeKeyofUserResponseLocation = {
43
+ id,
44
+ _id,
45
+ username,
46
+ googleId,
47
+ firstName,
48
+ lastName,
49
+ email,
50
+ phone,
51
+ profilePicture,
52
+ description,
53
+ city,
54
+ isProfileVisible,
55
+ gender,
56
+ isAccountVerified,
57
+ isCreditCardRegistered,
58
+ isAdmin,
59
+ isLevelCertified,
60
+ paymentMethodSetupCompleted,
61
+ paymentMethods,
62
+ defaultPaymentMethodId,
63
+ levelBySports,
64
+ favoriteClubs,
65
+ favoritePlayers,
66
+ stripeCustomerId,
67
+ createdAt,
68
+ updatedAt,
69
+ setupIntentId,
70
+ };
71
+ ```
72
+
73
+ [[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
 
@@ -0,0 +1,22 @@
1
+ # StaffUserProfileResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **isSubscribedToMyClub** | **boolean** | | [optional] [default to undefined]
9
+ **creditOnMyClub** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { StaffUserProfileResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: StaffUserProfileResponse = {
17
+ isSubscribedToMyClub,
18
+ creditOnMyClub,
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,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | ID du club | [default to undefined]
9
- **roleId** | **string** | ID du rôle dans le club | [default to undefined]
8
+ **clubId** | **string** | | [default to undefined]
9
+ **priceId** | **string** | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -15,7 +15,7 @@ import { SubscribeToClubRequestBody } from '@tennac-booking/sdk';
15
15
 
16
16
  const instance: SubscribeToClubRequestBody = {
17
17
  clubId,
18
- roleId,
18
+ priceId,
19
19
  };
20
20
  ```
21
21
 
@@ -0,0 +1,20 @@
1
+ # SubscriptionMutationResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscription** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { SubscriptionMutationResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: SubscriptionMutationResponse = {
16
+ subscription,
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,22 @@
1
+ # SubscriptionSessionRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **priceId** | **string** | | [default to undefined]
9
+ **clubId** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SubscriptionSessionRequestBody } from '@tennac-booking/sdk';
15
+
16
+ const instance: SubscriptionSessionRequestBody = {
17
+ priceId,
18
+ clubId,
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,20 @@
1
+ # SubscriptionSessionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sessionUrl** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { SubscriptionSessionResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: SubscriptionSessionResponse = {
16
+ sessionUrl,
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,10 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nom du client | [optional] [default to undefined]
9
- **email** | **string** | Email du client | [optional] [default to undefined]
10
- **phone** | **string** | Téléphone du client | [optional] [default to undefined]
11
- **address** | [**UpdateCustomerRequestBodyAddress**](UpdateCustomerRequestBodyAddress.md) | | [optional] [default to undefined]
8
+ **email** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
12
10
 
13
11
  ## Example
14
12
 
@@ -16,10 +14,8 @@ Name | Type | Description | Notes
16
14
  import { UpdateCustomerRequestBody } from '@tennac-booking/sdk';
17
15
 
18
16
  const instance: UpdateCustomerRequestBody = {
19
- name,
20
17
  email,
21
- phone,
22
- address,
18
+ name,
23
19
  };
24
20
  ```
25
21
 
@@ -5,8 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
9
- **customer** | [**UpdateCustomerResponseCustomer**](UpdateCustomerResponseCustomer.md) | | [optional] [default to undefined]
8
+ **customer** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [default to undefined]
10
9
 
11
10
  ## Example
12
11
 
@@ -14,7 +13,6 @@ Name | Type | Description | Notes
14
13
  import { UpdateCustomerResponse } from '@tennac-booking/sdk';
15
14
 
16
15
  const instance: UpdateCustomerResponse = {
17
- message,
18
16
  customer,
19
17
  };
20
18
  ```
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **levelBySports** | [**Array<LevelBySportsItem>**](LevelBySportsItem.md) | | [default to undefined]
8
+ **levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **sport** | **string** | | [default to undefined]
9
8
  **level** | **string** | | [default to undefined]
9
+ **sport** | **string** | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  import { UpdateUserRequestBodyLevelBySportsInner } from '@tennac-booking/sdk';
15
15
 
16
16
  const instance: UpdateUserRequestBodyLevelBySportsInner = {
17
- sport,
18
17
  level,
18
+ sport,
19
19
  };
20
20
  ```
21
21