@tennac-booking/sdk 1.0.22 → 1.0.24

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 (64) hide show
  1. package/.openapi-generator/FILES +15 -6
  2. package/README.md +61 -37
  3. package/api.ts +2800 -1354
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1679 -845
  8. package/dist/api.js +1955 -989
  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 +1679 -845
  16. package/dist/esm/api.js +1932 -962
  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/AddPaymentMethodSetupRequestBody.md +20 -0
  28. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  29. package/docs/AdminClubAnalyticsApi.md +249 -0
  30. package/docs/AdminClubSlotsApi.md +120 -0
  31. package/docs/AdminClubSubscriptionsApi.md +394 -0
  32. package/docs/AdminClubsApi.md +82 -20
  33. package/docs/BlockSlotResponse.md +1 -1
  34. package/docs/BookingPopulated.md +28 -0
  35. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  36. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  37. package/docs/BookingPopulatedSlotId.md +26 -0
  38. package/docs/BookingPopulatedSlotIdCourtId.md +22 -0
  39. package/docs/BookingPopulatedUserId.md +24 -0
  40. package/docs/ClubAnalyticsApi.md +4 -16
  41. package/docs/ClubSettings.md +14 -8
  42. package/docs/{GetAllSportsRequest.md → DeleteClub200Response.md} +5 -5
  43. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +3 -5
  44. package/docs/{CancelBookingRequest.md → LevelBySportsItem.md} +7 -5
  45. package/docs/ManagerBookingsApi.md +0 -118
  46. package/docs/ManagerClubCourtsApi.md +4 -14
  47. package/docs/ManagerClubSlotsApi.md +2 -8
  48. package/docs/ManagerClubSubscriptionsApi.md +7 -28
  49. package/docs/ManagerClubsApi.md +14 -41
  50. package/docs/ManagerSportsApi.md +55 -0
  51. package/docs/{CheckInPlayersRequest.md → ProfilePictureResponse.md} +5 -5
  52. package/docs/StaffClubAnalyticsApi.md +14 -14
  53. package/docs/StaffClubBookingsApi.md +5 -12
  54. package/docs/StaffClubsApi.md +57 -8
  55. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  56. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  57. package/docs/UserApi.md +0 -56
  58. package/docs/UserPaymentApi.md +55 -0
  59. package/docs/UserProfileApi.md +158 -0
  60. package/index.ts +1 -1
  61. package/package.json +1 -1
  62. package/docs/BookingsApi.md +0 -68
  63. package/docs/StaffClubSettingsApi.md +0 -54
  64. package/docs/StaffSportsApi.md +0 -62
@@ -0,0 +1,394 @@
1
+ # AdminClubSubscriptionsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**archivePriceForSubscriptionPlanAdmin**](#archivepriceforsubscriptionplanadmin) | **DELETE** /api/clubs/{id}/subscription-plans/{priceId}/archive-price | Archiver un prix (Admin)|
8
+ |[**createPriceForSubscriptionPlanAdmin**](#createpriceforsubscriptionplanadmin) | **POST** /api/clubs/{id}/subscription-plans/{productId}/prices | Créer un prix pour un plan (Admin)|
9
+ |[**createSubscriptionPlanForClubAdmin**](#createsubscriptionplanforclubadmin) | **POST** /api/clubs/{id}/subscription-plans | Créer un plan d\'abonnement pour un club (Admin)|
10
+ |[**deleteSubscriptionPlanForClubAdmin**](#deletesubscriptionplanforclubadmin) | **DELETE** /api/clubs/{id}/subscription-plans/{productId} | Supprimer un plan (Admin)|
11
+ |[**restoreSubscriptionPlanForClubAdmin**](#restoresubscriptionplanforclubadmin) | **POST** /api/clubs/{id}/subscription-plans/{productId}/restore | Réactiver un plan (Admin)|
12
+ |[**restoreSubscriptionPriceForClubAdmin**](#restoresubscriptionpriceforclubadmin) | **POST** /api/clubs/{id}/subscription-plans/{priceId}/restore-price | Réactiver un prix (Admin)|
13
+ |[**updateSubscriptionPlanForClubAdmin**](#updatesubscriptionplanforclubadmin) | **PUT** /api/clubs/{id}/subscription-plans/{priceId} | Mettre à jour un plan (Admin)|
14
+
15
+ # **archivePriceForSubscriptionPlanAdmin**
16
+ > archivePriceForSubscriptionPlanAdmin()
17
+
18
+
19
+ ### Example
20
+
21
+ ```typescript
22
+ import {
23
+ AdminClubSubscriptionsApi,
24
+ Configuration
25
+ } from '@tennac-booking/sdk';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
29
+
30
+ let id: string; // (default to undefined)
31
+ let priceId: string; // (default to undefined)
32
+
33
+ const { status, data } = await apiInstance.archivePriceForSubscriptionPlanAdmin(
34
+ id,
35
+ priceId
36
+ );
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ |Name | Type | Description | Notes|
42
+ |------------- | ------------- | ------------- | -------------|
43
+ | **id** | [**string**] | | defaults to undefined|
44
+ | **priceId** | [**string**] | | defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ void (empty response body)
50
+
51
+ ### Authorization
52
+
53
+ [bearerAuth](../README.md#bearerAuth)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: Not defined
58
+ - **Accept**: Not defined
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**200** | Archivé | - |
65
+
66
+ [[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)
67
+
68
+ # **createPriceForSubscriptionPlanAdmin**
69
+ > PriceResponse createPriceForSubscriptionPlanAdmin(createPriceRequest)
70
+
71
+
72
+ ### Example
73
+
74
+ ```typescript
75
+ import {
76
+ AdminClubSubscriptionsApi,
77
+ Configuration,
78
+ CreatePriceRequest
79
+ } from '@tennac-booking/sdk';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
83
+
84
+ let id: string; // (default to undefined)
85
+ let productId: string; // (default to undefined)
86
+ let createPriceRequest: CreatePriceRequest; //
87
+
88
+ const { status, data } = await apiInstance.createPriceForSubscriptionPlanAdmin(
89
+ id,
90
+ productId,
91
+ createPriceRequest
92
+ );
93
+ ```
94
+
95
+ ### Parameters
96
+
97
+ |Name | Type | Description | Notes|
98
+ |------------- | ------------- | ------------- | -------------|
99
+ | **createPriceRequest** | **CreatePriceRequest**| | |
100
+ | **id** | [**string**] | | defaults to undefined|
101
+ | **productId** | [**string**] | | defaults to undefined|
102
+
103
+
104
+ ### Return type
105
+
106
+ **PriceResponse**
107
+
108
+ ### Authorization
109
+
110
+ [bearerAuth](../README.md#bearerAuth)
111
+
112
+ ### HTTP request headers
113
+
114
+ - **Content-Type**: application/json
115
+ - **Accept**: application/json
116
+
117
+
118
+ ### HTTP response details
119
+ | Status code | Description | Response headers |
120
+ |-------------|-------------|------------------|
121
+ |**201** | Prix créé | - |
122
+
123
+ [[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)
124
+
125
+ # **createSubscriptionPlanForClubAdmin**
126
+ > SubscriptionPlanResponse createSubscriptionPlanForClubAdmin(createSubscriptionPlanRequest)
127
+
128
+
129
+ ### Example
130
+
131
+ ```typescript
132
+ import {
133
+ AdminClubSubscriptionsApi,
134
+ Configuration,
135
+ CreateSubscriptionPlanRequest
136
+ } from '@tennac-booking/sdk';
137
+
138
+ const configuration = new Configuration();
139
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
140
+
141
+ let id: string; // (default to undefined)
142
+ let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
143
+
144
+ const { status, data } = await apiInstance.createSubscriptionPlanForClubAdmin(
145
+ id,
146
+ createSubscriptionPlanRequest
147
+ );
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ |Name | Type | Description | Notes|
153
+ |------------- | ------------- | ------------- | -------------|
154
+ | **createSubscriptionPlanRequest** | **CreateSubscriptionPlanRequest**| | |
155
+ | **id** | [**string**] | | defaults to undefined|
156
+
157
+
158
+ ### Return type
159
+
160
+ **SubscriptionPlanResponse**
161
+
162
+ ### Authorization
163
+
164
+ [bearerAuth](../README.md#bearerAuth)
165
+
166
+ ### HTTP request headers
167
+
168
+ - **Content-Type**: application/json
169
+ - **Accept**: application/json
170
+
171
+
172
+ ### HTTP response details
173
+ | Status code | Description | Response headers |
174
+ |-------------|-------------|------------------|
175
+ |**201** | Créé | - |
176
+
177
+ [[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)
178
+
179
+ # **deleteSubscriptionPlanForClubAdmin**
180
+ > deleteSubscriptionPlanForClubAdmin()
181
+
182
+
183
+ ### Example
184
+
185
+ ```typescript
186
+ import {
187
+ AdminClubSubscriptionsApi,
188
+ Configuration
189
+ } from '@tennac-booking/sdk';
190
+
191
+ const configuration = new Configuration();
192
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
193
+
194
+ let id: string; // (default to undefined)
195
+ let productId: string; // (default to undefined)
196
+
197
+ const { status, data } = await apiInstance.deleteSubscriptionPlanForClubAdmin(
198
+ id,
199
+ productId
200
+ );
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ |Name | Type | Description | Notes|
206
+ |------------- | ------------- | ------------- | -------------|
207
+ | **id** | [**string**] | | defaults to undefined|
208
+ | **productId** | [**string**] | | defaults to undefined|
209
+
210
+
211
+ ### Return type
212
+
213
+ void (empty response body)
214
+
215
+ ### Authorization
216
+
217
+ [bearerAuth](../README.md#bearerAuth)
218
+
219
+ ### HTTP request headers
220
+
221
+ - **Content-Type**: Not defined
222
+ - **Accept**: Not defined
223
+
224
+
225
+ ### HTTP response details
226
+ | Status code | Description | Response headers |
227
+ |-------------|-------------|------------------|
228
+ |**204** | Supprimé | - |
229
+
230
+ [[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)
231
+
232
+ # **restoreSubscriptionPlanForClubAdmin**
233
+ > restoreSubscriptionPlanForClubAdmin()
234
+
235
+
236
+ ### Example
237
+
238
+ ```typescript
239
+ import {
240
+ AdminClubSubscriptionsApi,
241
+ Configuration
242
+ } from '@tennac-booking/sdk';
243
+
244
+ const configuration = new Configuration();
245
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
246
+
247
+ let id: string; // (default to undefined)
248
+ let productId: string; // (default to undefined)
249
+
250
+ const { status, data } = await apiInstance.restoreSubscriptionPlanForClubAdmin(
251
+ id,
252
+ productId
253
+ );
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ |Name | Type | Description | Notes|
259
+ |------------- | ------------- | ------------- | -------------|
260
+ | **id** | [**string**] | | defaults to undefined|
261
+ | **productId** | [**string**] | | defaults to undefined|
262
+
263
+
264
+ ### Return type
265
+
266
+ void (empty response body)
267
+
268
+ ### Authorization
269
+
270
+ [bearerAuth](../README.md#bearerAuth)
271
+
272
+ ### HTTP request headers
273
+
274
+ - **Content-Type**: Not defined
275
+ - **Accept**: Not defined
276
+
277
+
278
+ ### HTTP response details
279
+ | Status code | Description | Response headers |
280
+ |-------------|-------------|------------------|
281
+ |**200** | Réactivé | - |
282
+
283
+ [[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)
284
+
285
+ # **restoreSubscriptionPriceForClubAdmin**
286
+ > restoreSubscriptionPriceForClubAdmin()
287
+
288
+
289
+ ### Example
290
+
291
+ ```typescript
292
+ import {
293
+ AdminClubSubscriptionsApi,
294
+ Configuration
295
+ } from '@tennac-booking/sdk';
296
+
297
+ const configuration = new Configuration();
298
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
299
+
300
+ let id: string; // (default to undefined)
301
+ let priceId: string; // (default to undefined)
302
+
303
+ const { status, data } = await apiInstance.restoreSubscriptionPriceForClubAdmin(
304
+ id,
305
+ priceId
306
+ );
307
+ ```
308
+
309
+ ### Parameters
310
+
311
+ |Name | Type | Description | Notes|
312
+ |------------- | ------------- | ------------- | -------------|
313
+ | **id** | [**string**] | | defaults to undefined|
314
+ | **priceId** | [**string**] | | defaults to undefined|
315
+
316
+
317
+ ### Return type
318
+
319
+ void (empty response body)
320
+
321
+ ### Authorization
322
+
323
+ [bearerAuth](../README.md#bearerAuth)
324
+
325
+ ### HTTP request headers
326
+
327
+ - **Content-Type**: Not defined
328
+ - **Accept**: Not defined
329
+
330
+
331
+ ### HTTP response details
332
+ | Status code | Description | Response headers |
333
+ |-------------|-------------|------------------|
334
+ |**200** | Réactivé | - |
335
+
336
+ [[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)
337
+
338
+ # **updateSubscriptionPlanForClubAdmin**
339
+ > updateSubscriptionPlanForClubAdmin(updateSubscriptionPlanRequest)
340
+
341
+
342
+ ### Example
343
+
344
+ ```typescript
345
+ import {
346
+ AdminClubSubscriptionsApi,
347
+ Configuration,
348
+ UpdateSubscriptionPlanRequest
349
+ } from '@tennac-booking/sdk';
350
+
351
+ const configuration = new Configuration();
352
+ const apiInstance = new AdminClubSubscriptionsApi(configuration);
353
+
354
+ let id: string; // (default to undefined)
355
+ let priceId: string; // (default to undefined)
356
+ let updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest; //
357
+
358
+ const { status, data } = await apiInstance.updateSubscriptionPlanForClubAdmin(
359
+ id,
360
+ priceId,
361
+ updateSubscriptionPlanRequest
362
+ );
363
+ ```
364
+
365
+ ### Parameters
366
+
367
+ |Name | Type | Description | Notes|
368
+ |------------- | ------------- | ------------- | -------------|
369
+ | **updateSubscriptionPlanRequest** | **UpdateSubscriptionPlanRequest**| | |
370
+ | **id** | [**string**] | | defaults to undefined|
371
+ | **priceId** | [**string**] | | defaults to undefined|
372
+
373
+
374
+ ### Return type
375
+
376
+ void (empty response body)
377
+
378
+ ### Authorization
379
+
380
+ [bearerAuth](../README.md#bearerAuth)
381
+
382
+ ### HTTP request headers
383
+
384
+ - **Content-Type**: application/json
385
+ - **Accept**: Not defined
386
+
387
+
388
+ ### HTTP response details
389
+ | Status code | Description | Response headers |
390
+ |-------------|-------------|------------------|
391
+ |**200** | Mis à jour | - |
392
+
393
+ [[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)
394
+
@@ -4,11 +4,12 @@ All URIs are relative to *https://api.mon-domaine.com*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**createClub**](#createclub) | **POST** /api/clubs | Créer un nouveau club (Admin uniquement)|
8
- |[**getAllClubs**](#getallclubs) | **GET** /api/clubs | Récupérer tous les clubs (Admin uniquement)|
7
+ |[**deleteClub**](#deleteclub) | **DELETE** /api/clubs/{id} | Supprimer un club (Admin uniquement)|
8
+ |[**getClubInfosAdmin**](#getclubinfosadmin) | **GET** /api/clubs/{id}/infos | Obtenir les infos d\'un club (Admin)|
9
+ |[**updateClubInfosAdmin**](#updateclubinfosadmin) | **PUT** /api/clubs/{id}/infos | Mettre à jour les infos d\'un club (Admin)|
9
10
 
10
- # **createClub**
11
- > ClubResponse createClub(createClubRequest)
11
+ # **deleteClub**
12
+ > DeleteClub200Response deleteClub()
12
13
 
13
14
 
14
15
  ### Example
@@ -16,17 +17,16 @@ All URIs are relative to *https://api.mon-domaine.com*
16
17
  ```typescript
17
18
  import {
18
19
  AdminClubsApi,
19
- Configuration,
20
- CreateClubRequest
20
+ Configuration
21
21
  } from '@tennac-booking/sdk';
22
22
 
23
23
  const configuration = new Configuration();
24
24
  const apiInstance = new AdminClubsApi(configuration);
25
25
 
26
- let createClubRequest: CreateClubRequest; //
26
+ let id: string; //ID du club (default to undefined)
27
27
 
28
- const { status, data } = await apiInstance.createClub(
29
- createClubRequest
28
+ const { status, data } = await apiInstance.deleteClub(
29
+ id
30
30
  );
31
31
  ```
32
32
 
@@ -34,12 +34,12 @@ const { status, data } = await apiInstance.createClub(
34
34
 
35
35
  |Name | Type | Description | Notes|
36
36
  |------------- | ------------- | ------------- | -------------|
37
- | **createClubRequest** | **CreateClubRequest**| | |
37
+ | **id** | [**string**] | ID du club | defaults to undefined|
38
38
 
39
39
 
40
40
  ### Return type
41
41
 
42
- **ClubResponse**
42
+ **DeleteClub200Response**
43
43
 
44
44
  ### Authorization
45
45
 
@@ -47,22 +47,22 @@ const { status, data } = await apiInstance.createClub(
47
47
 
48
48
  ### HTTP request headers
49
49
 
50
- - **Content-Type**: application/json
50
+ - **Content-Type**: Not defined
51
51
  - **Accept**: application/json
52
52
 
53
53
 
54
54
  ### HTTP response details
55
55
  | Status code | Description | Response headers |
56
56
  |-------------|-------------|------------------|
57
- |**201** | Club créé avec succès | - |
58
- |**400** | Requête invalide | - |
57
+ |**200** | Club supprimé avec succès | - |
59
58
  |**401** | Non autorisé | - |
59
+ |**404** | Ressource non trouvée | - |
60
60
  |**500** | Erreur serveur interne | - |
61
61
 
62
62
  [[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)
63
63
 
64
- # **getAllClubs**
65
- > ClubsResponse getAllClubs()
64
+ # **getClubInfosAdmin**
65
+ > object getClubInfosAdmin()
66
66
 
67
67
 
68
68
  ### Example
@@ -76,16 +76,23 @@ import {
76
76
  const configuration = new Configuration();
77
77
  const apiInstance = new AdminClubsApi(configuration);
78
78
 
79
- const { status, data } = await apiInstance.getAllClubs();
79
+ let id: string; // (default to undefined)
80
+
81
+ const { status, data } = await apiInstance.getClubInfosAdmin(
82
+ id
83
+ );
80
84
  ```
81
85
 
82
86
  ### Parameters
83
- This endpoint does not have any parameters.
87
+
88
+ |Name | Type | Description | Notes|
89
+ |------------- | ------------- | ------------- | -------------|
90
+ | **id** | [**string**] | | defaults to undefined|
84
91
 
85
92
 
86
93
  ### Return type
87
94
 
88
- **ClubsResponse**
95
+ **object**
89
96
 
90
97
  ### Authorization
91
98
 
@@ -100,7 +107,62 @@ This endpoint does not have any parameters.
100
107
  ### HTTP response details
101
108
  | Status code | Description | Response headers |
102
109
  |-------------|-------------|------------------|
103
- |**200** | Liste de tous les clubs | - |
110
+ |**200** | Infos du club | - |
111
+ |**401** | Non autorisé | - |
112
+ |**500** | Erreur serveur interne | - |
113
+
114
+ [[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)
115
+
116
+ # **updateClubInfosAdmin**
117
+ > object updateClubInfosAdmin(body)
118
+
119
+
120
+ ### Example
121
+
122
+ ```typescript
123
+ import {
124
+ AdminClubsApi,
125
+ Configuration
126
+ } from '@tennac-booking/sdk';
127
+
128
+ const configuration = new Configuration();
129
+ const apiInstance = new AdminClubsApi(configuration);
130
+
131
+ let id: string; // (default to undefined)
132
+ let body: object; //
133
+
134
+ const { status, data } = await apiInstance.updateClubInfosAdmin(
135
+ id,
136
+ body
137
+ );
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ |Name | Type | Description | Notes|
143
+ |------------- | ------------- | ------------- | -------------|
144
+ | **body** | **object**| | |
145
+ | **id** | [**string**] | | defaults to undefined|
146
+
147
+
148
+ ### Return type
149
+
150
+ **object**
151
+
152
+ ### Authorization
153
+
154
+ [bearerAuth](../README.md#bearerAuth)
155
+
156
+ ### HTTP request headers
157
+
158
+ - **Content-Type**: application/json
159
+ - **Accept**: application/json
160
+
161
+
162
+ ### HTTP response details
163
+ | Status code | Description | Response headers |
164
+ |-------------|-------------|------------------|
165
+ |**200** | Infos mises à jour | - |
104
166
  |**401** | Non autorisé | - |
105
167
  |**500** | Erreur serveur interne | - |
106
168
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
9
  **slot** | [**Slot**](Slot.md) | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -0,0 +1,28 @@
1
+ # BookingPopulated
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+ **userId** | [**BookingPopulatedUserId**](BookingPopulatedUserId.md) | | [optional] [default to undefined]
11
+ **slotId** | [**BookingPopulatedSlotId**](BookingPopulatedSlotId.md) | | [optional] [default to undefined]
12
+ **paymentByPlayersStatus** | [**Array<BookingPopulatedPaymentByPlayersStatusInner>**](BookingPopulatedPaymentByPlayersStatusInner.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BookingPopulated } from '@tennac-booking/sdk';
18
+
19
+ const instance: BookingPopulated = {
20
+ id,
21
+ status,
22
+ userId,
23
+ slotId,
24
+ paymentByPlayersStatus,
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,22 @@
1
+ # BookingPopulatedPaymentByPlayersStatusInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **user** | [**BookingPopulatedUserId**](BookingPopulatedUserId.md) | | [optional] [default to undefined]
9
+ **invoices** | [**Array<BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner>**](BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingPopulatedPaymentByPlayersStatusInner } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingPopulatedPaymentByPlayersStatusInner = {
17
+ user,
18
+ invoices,
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
+ # BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **amount** | **number** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner } from '@tennac-booking/sdk';
16
+
17
+ const instance: BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner = {
18
+ id,
19
+ amount,
20
+ status,
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,26 @@
1
+ # BookingPopulatedSlotId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **startDate** | **string** | | [optional] [default to undefined]
10
+ **endDate** | **string** | | [optional] [default to undefined]
11
+ **courtId** | [**BookingPopulatedSlotIdCourtId**](BookingPopulatedSlotIdCourtId.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BookingPopulatedSlotId } from '@tennac-booking/sdk';
17
+
18
+ const instance: BookingPopulatedSlotId = {
19
+ id,
20
+ startDate,
21
+ endDate,
22
+ courtId,
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
+ # BookingPopulatedSlotIdCourtId
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingPopulatedSlotIdCourtId } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingPopulatedSlotIdCourtId = {
17
+ id,
18
+ name,
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)