@tennac-booking/sdk 1.0.14 → 1.0.16

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.
@@ -0,0 +1,22 @@
1
+ # CancelBookingResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | Message de confirmation | [default to undefined]
9
+ **booking** | [**CancelBookingResponseBooking**](CancelBookingResponseBooking.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CancelBookingResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: CancelBookingResponse = {
17
+ message,
18
+ booking,
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,30 @@
1
+ # CancelBookingResponseBooking
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID de la réservation | [default to undefined]
9
+ **status** | **string** | Nouveau statut de la réservation | [default to undefined]
10
+ **cancelledAt** | **string** | Date et heure d\'annulation | [default to undefined]
11
+ **cancelledBy** | **string** | ID de l\'utilisateur qui a annulé | [default to undefined]
12
+ **cancelledByManager** | **boolean** | Indique si annulé par un gestionnaire | [default to undefined]
13
+ **cancellationReason** | **string** | Raison de l\'annulation (si fournie) | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { CancelBookingResponseBooking } from '@tennac-booking/sdk';
19
+
20
+ const instance: CancelBookingResponseBooking = {
21
+ id,
22
+ status,
23
+ cancelledAt,
24
+ cancelledBy,
25
+ cancelledByManager,
26
+ cancellationReason,
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,22 @@
1
+ # ConfirmPaymentMethodSetupRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | ID de l\'utilisateur | [default to undefined]
9
+ **setupIntentId** | **string** | ID du Setup Intent à confirmer | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ConfirmPaymentMethodSetupRequestBody } from '@tennac-booking/sdk';
15
+
16
+ const instance: ConfirmPaymentMethodSetupRequestBody = {
17
+ userId,
18
+ setupIntentId,
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
+ # ConfirmPaymentMethodSetupResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | Message de confirmation | [optional] [default to undefined]
9
+ **paymentMethodId** | **string** | ID de la méthode de paiement configurée | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ConfirmPaymentMethodSetupResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ConfirmPaymentMethodSetupResponse = {
17
+ message,
18
+ paymentMethodId,
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)
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **slotDefaultDuration** | **number** | | [optional] [default to undefined]
13
13
  **startTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
14
14
  **endTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
15
+ **pricePerSlotInCents** | **number** | | [optional] [default to undefined]
15
16
  **sportId** | **string** | | [optional] [default to undefined]
16
17
  **clubId** | **string** | | [optional] [default to undefined]
17
18
  **surface** | **string** | | [optional] [default to undefined]
@@ -32,6 +33,7 @@ const instance: CourtResponse = {
32
33
  slotDefaultDuration,
33
34
  startTimeInTheDayInMinutes,
34
35
  endTimeInTheDayInMinutes,
36
+ pricePerSlotInCents,
35
37
  sportId,
36
38
  clubId,
37
39
  surface,
@@ -0,0 +1,22 @@
1
+ # ManagerCancelBookingResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | Message de confirmation | [default to undefined]
9
+ **booking** | [**ManagerCancelBookingResponseBooking**](ManagerCancelBookingResponseBooking.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ManagerCancelBookingResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ManagerCancelBookingResponse = {
17
+ message,
18
+ booking,
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,30 @@
1
+ # ManagerCancelBookingResponseBooking
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID de la réservation | [default to undefined]
9
+ **status** | **string** | Nouveau statut de la réservation | [default to undefined]
10
+ **cancellationReason** | **string** | Raison de l\'annulation par le gestionnaire | [default to undefined]
11
+ **cancelledAt** | **string** | Date et heure d\'annulation | [default to undefined]
12
+ **cancelledBy** | **string** | ID du gestionnaire qui a annulé | [default to undefined]
13
+ **cancelledByManager** | **boolean** | Toujours true pour les annulations par gestionnaire | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ManagerCancelBookingResponseBooking } from '@tennac-booking/sdk';
19
+
20
+ const instance: ManagerCancelBookingResponseBooking = {
21
+ id,
22
+ status,
23
+ cancellationReason,
24
+ cancelledAt,
25
+ cancelledBy,
26
+ cancelledByManager,
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,4 +1,4 @@
1
- # ClubRolesApi
1
+ # ManagerClubRolesApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -18,13 +18,13 @@ All URIs are relative to *https://api.mon-domaine.com*
18
18
 
19
19
  ```typescript
20
20
  import {
21
- ClubRolesApi,
21
+ ManagerClubRolesApi,
22
22
  Configuration,
23
23
  CreateClubRoleRequestBody
24
24
  } from '@tennac-booking/sdk';
25
25
 
26
26
  const configuration = new Configuration();
27
- const apiInstance = new ClubRolesApi(configuration);
27
+ const apiInstance = new ManagerClubRolesApi(configuration);
28
28
 
29
29
  let createClubRoleRequestBody: CreateClubRoleRequestBody; //
30
30
 
@@ -70,12 +70,12 @@ const { status, data } = await apiInstance.createClubRole(
70
70
 
71
71
  ```typescript
72
72
  import {
73
- ClubRolesApi,
73
+ ManagerClubRolesApi,
74
74
  Configuration
75
75
  } from '@tennac-booking/sdk';
76
76
 
77
77
  const configuration = new Configuration();
78
- const apiInstance = new ClubRolesApi(configuration);
78
+ const apiInstance = new ManagerClubRolesApi(configuration);
79
79
 
80
80
  let id: string; //ID du rôle de club (default to undefined)
81
81
 
@@ -122,12 +122,12 @@ const { status, data } = await apiInstance.deleteClubRole(
122
122
 
123
123
  ```typescript
124
124
  import {
125
- ClubRolesApi,
125
+ ManagerClubRolesApi,
126
126
  Configuration
127
127
  } from '@tennac-booking/sdk';
128
128
 
129
129
  const configuration = new Configuration();
130
- const apiInstance = new ClubRolesApi(configuration);
130
+ const apiInstance = new ManagerClubRolesApi(configuration);
131
131
 
132
132
  const { status, data } = await apiInstance.getAllClubRoles();
133
133
  ```
@@ -166,12 +166,12 @@ This endpoint does not have any parameters.
166
166
 
167
167
  ```typescript
168
168
  import {
169
- ClubRolesApi,
169
+ ManagerClubRolesApi,
170
170
  Configuration
171
171
  } from '@tennac-booking/sdk';
172
172
 
173
173
  const configuration = new Configuration();
174
- const apiInstance = new ClubRolesApi(configuration);
174
+ const apiInstance = new ManagerClubRolesApi(configuration);
175
175
 
176
176
  let id: string; //ID du rôle de club (default to undefined)
177
177
 
@@ -218,13 +218,13 @@ const { status, data } = await apiInstance.getClubRoleById(
218
218
 
219
219
  ```typescript
220
220
  import {
221
- ClubRolesApi,
221
+ ManagerClubRolesApi,
222
222
  Configuration,
223
223
  UpdateClubRoleRequestBody
224
224
  } from '@tennac-booking/sdk';
225
225
 
226
226
  const configuration = new Configuration();
227
- const apiInstance = new ClubRolesApi(configuration);
227
+ const apiInstance = new ManagerClubRolesApi(configuration);
228
228
 
229
229
  let id: string; //ID du rôle de club (default to undefined)
230
230
  let updateClubRoleRequestBody: UpdateClubRoleRequestBody; //
@@ -1,4 +1,4 @@
1
- # ClubSubscriptionsApi
1
+ # ManagerClubSubscriptionsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -20,12 +20,12 @@ All URIs are relative to *https://api.mon-domaine.com*
20
20
 
21
21
  ```typescript
22
22
  import {
23
- ClubSubscriptionsApi,
23
+ ManagerClubSubscriptionsApi,
24
24
  Configuration
25
25
  } from '@tennac-booking/sdk';
26
26
 
27
27
  const configuration = new Configuration();
28
- const apiInstance = new ClubSubscriptionsApi(configuration);
28
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
29
29
 
30
30
  let id: string; //ID du club (default to undefined)
31
31
  let priceId: string; //ID du prix Stripe (default to undefined)
@@ -75,13 +75,13 @@ const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
75
75
 
76
76
  ```typescript
77
77
  import {
78
- ClubSubscriptionsApi,
78
+ ManagerClubSubscriptionsApi,
79
79
  Configuration,
80
80
  CreatePriceRequest
81
81
  } from '@tennac-booking/sdk';
82
82
 
83
83
  const configuration = new Configuration();
84
- const apiInstance = new ClubSubscriptionsApi(configuration);
84
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
85
85
 
86
86
  let id: string; //ID du club (default to undefined)
87
87
  let productId: string; //ID du produit Stripe (default to undefined)
@@ -134,13 +134,13 @@ const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
134
134
 
135
135
  ```typescript
136
136
  import {
137
- ClubSubscriptionsApi,
137
+ ManagerClubSubscriptionsApi,
138
138
  Configuration,
139
139
  CreateSubscriptionPlanRequest
140
140
  } from '@tennac-booking/sdk';
141
141
 
142
142
  const configuration = new Configuration();
143
- const apiInstance = new ClubSubscriptionsApi(configuration);
143
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
144
144
 
145
145
  let id: string; //ID du club (default to undefined)
146
146
  let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
@@ -190,12 +190,12 @@ const { status, data } = await apiInstance.createSubscriptionPlanForClub(
190
190
 
191
191
  ```typescript
192
192
  import {
193
- ClubSubscriptionsApi,
193
+ ManagerClubSubscriptionsApi,
194
194
  Configuration
195
195
  } from '@tennac-booking/sdk';
196
196
 
197
197
  const configuration = new Configuration();
198
- const apiInstance = new ClubSubscriptionsApi(configuration);
198
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
199
199
 
200
200
  let id: string; //ID du club (default to undefined)
201
201
  let productId: string; //ID du produit Stripe (default to undefined)
@@ -245,12 +245,12 @@ void (empty response body)
245
245
 
246
246
  ```typescript
247
247
  import {
248
- ClubSubscriptionsApi,
248
+ ManagerClubSubscriptionsApi,
249
249
  Configuration
250
250
  } from '@tennac-booking/sdk';
251
251
 
252
252
  const configuration = new Configuration();
253
- const apiInstance = new ClubSubscriptionsApi(configuration);
253
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
254
254
 
255
255
  let id: string; //ID du club (default to undefined)
256
256
  let productId: string; //ID du produit Stripe (default to undefined)
@@ -300,12 +300,12 @@ const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
300
300
 
301
301
  ```typescript
302
302
  import {
303
- ClubSubscriptionsApi,
303
+ ManagerClubSubscriptionsApi,
304
304
  Configuration
305
305
  } from '@tennac-booking/sdk';
306
306
 
307
307
  const configuration = new Configuration();
308
- const apiInstance = new ClubSubscriptionsApi(configuration);
308
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
309
309
 
310
310
  let id: string; //ID du club (default to undefined)
311
311
  let priceId: string; //ID du prix Stripe (default to undefined)
@@ -355,13 +355,13 @@ const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
355
355
 
356
356
  ```typescript
357
357
  import {
358
- ClubSubscriptionsApi,
358
+ ManagerClubSubscriptionsApi,
359
359
  Configuration,
360
360
  UpdateSubscriptionPlanRequest
361
361
  } from '@tennac-booking/sdk';
362
362
 
363
363
  const configuration = new Configuration();
364
- const apiInstance = new ClubSubscriptionsApi(configuration);
364
+ const apiInstance = new ManagerClubSubscriptionsApi(configuration);
365
365
 
366
366
  let id: string; //ID du club (default to undefined)
367
367
  let priceId: string; //ID du prix Stripe (default to undefined)
@@ -1,4 +1,4 @@
1
- # SportsApi
1
+ # ManagerSportsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -15,12 +15,12 @@ All URIs are relative to *https://api.mon-domaine.com*
15
15
 
16
16
  ```typescript
17
17
  import {
18
- SportsApi,
18
+ ManagerSportsApi,
19
19
  Configuration
20
20
  } from '@tennac-booking/sdk';
21
21
 
22
22
  const configuration = new Configuration();
23
- const apiInstance = new SportsApi(configuration);
23
+ const apiInstance = new ManagerSportsApi(configuration);
24
24
 
25
25
  let id: string; //ID du sport (default to undefined)
26
26
 
@@ -68,13 +68,13 @@ const { status, data } = await apiInstance.deleteSport(
68
68
 
69
69
  ```typescript
70
70
  import {
71
- SportsApi,
71
+ ManagerSportsApi,
72
72
  Configuration,
73
73
  UpdateSportRequest
74
74
  } from '@tennac-booking/sdk';
75
75
 
76
76
  const configuration = new Configuration();
77
- const apiInstance = new SportsApi(configuration);
77
+ const apiInstance = new ManagerSportsApi(configuration);
78
78
 
79
79
  let id: string; //ID du sport (default to undefined)
80
80
  let updateSportRequest: UpdateSportRequest; //
@@ -0,0 +1,22 @@
1
+ # SetupPaymentMethodRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | ID de l\'utilisateur | [default to undefined]
9
+ **clubId** | **string** | ID du club | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SetupPaymentMethodRequestBody } from '@tennac-booking/sdk';
15
+
16
+ const instance: SetupPaymentMethodRequestBody = {
17
+ userId,
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,24 @@
1
+ # SetupPaymentMethodResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
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]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SetupPaymentMethodResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: SetupPaymentMethodResponse = {
18
+ setupIntentId,
19
+ clientSecret,
20
+ message,
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)
@@ -1,4 +1,4 @@
1
- # ClubAnalyticsApi
1
+ # StaffClubAnalyticsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -15,12 +15,12 @@ All URIs are relative to *https://api.mon-domaine.com*
15
15
 
16
16
  ```typescript
17
17
  import {
18
- ClubAnalyticsApi,
18
+ StaffClubAnalyticsApi,
19
19
  Configuration
20
20
  } from '@tennac-booking/sdk';
21
21
 
22
22
  const configuration = new Configuration();
23
- const apiInstance = new ClubAnalyticsApi(configuration);
23
+ const apiInstance = new StaffClubAnalyticsApi(configuration);
24
24
 
25
25
  let id: string; //ID du club (default to undefined)
26
26
 
@@ -66,12 +66,12 @@ const { status, data } = await apiInstance.getLastSixMonthsTurnover(
66
66
 
67
67
  ```typescript
68
68
  import {
69
- ClubAnalyticsApi,
69
+ StaffClubAnalyticsApi,
70
70
  Configuration
71
71
  } from '@tennac-booking/sdk';
72
72
 
73
73
  const configuration = new Configuration();
74
- const apiInstance = new ClubAnalyticsApi(configuration);
74
+ const apiInstance = new StaffClubAnalyticsApi(configuration);
75
75
 
76
76
  let id: string; //ID du club (default to undefined)
77
77
 
@@ -1,4 +1,4 @@
1
- # ClubBookingsApi
1
+ # StaffClubBookingsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -14,12 +14,12 @@ All URIs are relative to *https://api.mon-domaine.com*
14
14
 
15
15
  ```typescript
16
16
  import {
17
- ClubBookingsApi,
17
+ StaffClubBookingsApi,
18
18
  Configuration
19
19
  } from '@tennac-booking/sdk';
20
20
 
21
21
  const configuration = new Configuration();
22
- const apiInstance = new ClubBookingsApi(configuration);
22
+ const apiInstance = new StaffClubBookingsApi(configuration);
23
23
 
24
24
  let id: string; //ID du club (default to undefined)
25
25
 
@@ -1,4 +1,4 @@
1
- # ClubsApi
1
+ # StaffClubsApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -14,12 +14,12 @@ All URIs are relative to *https://api.mon-domaine.com*
14
14
 
15
15
  ```typescript
16
16
  import {
17
- ClubsApi,
17
+ StaffClubsApi,
18
18
  Configuration
19
19
  } from '@tennac-booking/sdk';
20
20
 
21
21
  const configuration = new Configuration();
22
- const apiInstance = new ClubsApi(configuration);
22
+ const apiInstance = new StaffClubsApi(configuration);
23
23
 
24
24
  let id: string; //ID du club (default to undefined)
25
25
 
@@ -0,0 +1,54 @@
1
+ # StaffProfileApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getUserRolesInClubs**](#getuserrolesinclubs) | **GET** /api/users/me/roles | Récupère les rôles de l\'utilisateur dans les clubs|
8
+
9
+ # **getUserRolesInClubs**
10
+ > GetUserRolesResponse getUserRolesInClubs()
11
+
12
+
13
+ ### Example
14
+
15
+ ```typescript
16
+ import {
17
+ StaffProfileApi,
18
+ Configuration
19
+ } from '@tennac-booking/sdk';
20
+
21
+ const configuration = new Configuration();
22
+ const apiInstance = new StaffProfileApi(configuration);
23
+
24
+ const { status, data } = await apiInstance.getUserRolesInClubs();
25
+ ```
26
+
27
+ ### Parameters
28
+ This endpoint does not have any parameters.
29
+
30
+
31
+ ### Return type
32
+
33
+ **GetUserRolesResponse**
34
+
35
+ ### Authorization
36
+
37
+ [bearerAuth](../README.md#bearerAuth)
38
+
39
+ ### HTTP request headers
40
+
41
+ - **Content-Type**: Not defined
42
+ - **Accept**: application/json
43
+
44
+
45
+ ### HTTP response details
46
+ | Status code | Description | Response headers |
47
+ |-------------|-------------|------------------|
48
+ |**200** | Liste des rôles dans les clubs | - |
49
+ |**400** | Requête invalide | - |
50
+ |**401** | Non autorisé | - |
51
+ |**500** | Erreur serveur interne | - |
52
+
53
+ [[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)
54
+
@@ -1,4 +1,4 @@
1
- # UsersApi
1
+ # UserApi
2
2
 
3
3
  All URIs are relative to *https://api.mon-domaine.com*
4
4
 
@@ -15,13 +15,13 @@ All URIs are relative to *https://api.mon-domaine.com*
15
15
 
16
16
  ```typescript
17
17
  import {
18
- UsersApi,
18
+ UserApi,
19
19
  Configuration,
20
20
  SubscribeToClubRequestBody
21
21
  } from '@tennac-booking/sdk';
22
22
 
23
23
  const configuration = new Configuration();
24
- const apiInstance = new UsersApi(configuration);
24
+ const apiInstance = new UserApi(configuration);
25
25
 
26
26
  let subscribeToClubRequestBody: SubscribeToClubRequestBody; //
27
27
 
@@ -70,13 +70,13 @@ const { status, data } = await apiInstance.subscribeToClub(
70
70
 
71
71
  ```typescript
72
72
  import {
73
- UsersApi,
73
+ UserApi,
74
74
  Configuration,
75
75
  UpdateCustomerRequestBody
76
76
  } from '@tennac-booking/sdk';
77
77
 
78
78
  const configuration = new Configuration();
79
- const apiInstance = new UsersApi(configuration);
79
+ const apiInstance = new UserApi(configuration);
80
80
 
81
81
  let updateCustomerRequestBody: UpdateCustomerRequestBody; //
82
82