@tennac-booking/sdk 1.0.11 → 1.0.13

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 (81) hide show
  1. package/.openapi-generator/FILES +71 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +111 -1
  4. package/api.ts +7434 -279
  5. package/common.ts +4 -4
  6. package/dist/api.d.ts +5034 -236
  7. package/dist/api.js +4004 -49
  8. package/dist/esm/api.d.ts +5034 -236
  9. package/dist/esm/api.js +3967 -48
  10. package/docs/ActiveClub.md +22 -0
  11. package/docs/ActiveClubListResponse.md +20 -0
  12. package/docs/AddClubMemberRequest.md +22 -0
  13. package/docs/AddClubMemberResponse.md +22 -0
  14. package/docs/BlockSlotResponse.md +22 -0
  15. package/docs/BookingResponse.md +28 -0
  16. package/docs/BookingsApi.md +120 -0
  17. package/docs/Club.md +46 -0
  18. package/docs/ClubCourtsApi.md +118 -0
  19. package/docs/ClubInfoResponse.md +46 -0
  20. package/docs/ClubListResponse.md +22 -0
  21. package/docs/ClubMember.md +34 -0
  22. package/docs/ClubMembersResponse.md +22 -0
  23. package/docs/ClubResponse.md +46 -0
  24. package/docs/ClubRole.md +30 -0
  25. package/docs/ClubRoleResponse.md +30 -0
  26. package/docs/ClubRolesApi.md +268 -0
  27. package/docs/ClubRolesResponse.md +22 -0
  28. package/docs/ClubSettings.md +28 -0
  29. package/docs/ClubSettingsApi.md +227 -0
  30. package/docs/ClubSlotsApi.md +353 -0
  31. package/docs/ClubSportsApi.md +118 -0
  32. package/docs/ClubSubscriptionsApi.md +408 -0
  33. package/docs/ClubsApi.md +478 -0
  34. package/docs/CourtResponse.md +44 -0
  35. package/docs/CourtsResponse.md +22 -0
  36. package/docs/CreateBookingRequest.md +28 -0
  37. package/docs/CreateClubRequest.md +38 -0
  38. package/docs/CreateClubRoleRequestBody.md +24 -0
  39. package/docs/CreateCourtRequest.md +34 -0
  40. package/docs/CreatePriceRequest.md +26 -0
  41. package/docs/CreateSportRequest.md +22 -0
  42. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  43. package/docs/DeleteClub200Response.md +20 -0
  44. package/docs/DeleteClubRole200Response.md +20 -0
  45. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  46. package/docs/GenerateSlotsForNextThreeWeeks201Response.md +20 -0
  47. package/docs/GetActiveClubs200Response.md +20 -0
  48. package/docs/GetAllSportsRequest.md +20 -0
  49. package/docs/GetClubSettingsRequest.md +20 -0
  50. package/docs/GetUserRolesResponse.md +20 -0
  51. package/docs/GetUserRolesResponseRolesInner.md +28 -0
  52. package/docs/GetUserSubscriptionsResponse.md +22 -0
  53. package/docs/GoogleSignInRequestBody.md +20 -0
  54. package/docs/GoogleSignInResponse.md +30 -0
  55. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  56. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  57. package/docs/PaymentMethod.md +11 -0
  58. package/docs/PlayerWithPaymentMethod.md +22 -0
  59. package/docs/PriceResponse.md +38 -0
  60. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  61. package/docs/SlotResponse.md +40 -0
  62. package/docs/SlotsResponse.md +22 -0
  63. package/docs/Sport.md +24 -0
  64. package/docs/SportResponse.md +34 -0
  65. package/docs/SportsApi.md +229 -0
  66. package/docs/SportsResponse.md +22 -0
  67. package/docs/SubscribeToClubRequestBody.md +22 -0
  68. package/docs/SubscriptionPlan.md +36 -0
  69. package/docs/SubscriptionPlanResponse.md +36 -0
  70. package/docs/SubscriptionResponse.md +36 -0
  71. package/docs/UpdateClubRequest.md +40 -0
  72. package/docs/UpdateClubRoleRequestBody.md +24 -0
  73. package/docs/UpdateCustomerRequestBody.md +26 -0
  74. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  75. package/docs/UpdateCustomerResponse.md +22 -0
  76. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  77. package/docs/UpdateSportRequest.md +20 -0
  78. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  79. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  80. package/docs/UsersApi.md +491 -21
  81. package/package.json +1 -33
@@ -0,0 +1,478 @@
1
+ # ClubsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**addClubMember**](#addclubmember) | **PUT** /api/clubs/{id}/add_members | Ajouter un membre à un club|
8
+ |[**createClub**](#createclub) | **POST** /api/clubs | Créer un nouveau club|
9
+ |[**deleteClub**](#deleteclub) | **DELETE** /api/clubs/{id} | Supprimer un club|
10
+ |[**getActiveClubs**](#getactiveclubs) | **GET** /api/clubs/activeClubs/ | Obtenir la liste des clubs actifs (seulement id et nom)|
11
+ |[**getAllClubs**](#getallclubs) | **GET** /api/clubs | Récupérer tous les clubs|
12
+ |[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/{id} | Récupérer les informations d\'un club|
13
+ |[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/{id}/members | Récupérer les membres d\'un club|
14
+ |[**getClubRoles**](#getclubroles) | **GET** /api/clubs/{id}/roles | Récupérer les rôles d\'un club|
15
+ |[**updateClub**](#updateclub) | **PUT** /api/clubs/{id} | Mettre à jour un club existant|
16
+
17
+ # **addClubMember**
18
+ > AddClubMemberResponse addClubMember(addClubMemberRequest)
19
+
20
+
21
+ ### Example
22
+
23
+ ```typescript
24
+ import {
25
+ ClubsApi,
26
+ Configuration,
27
+ AddClubMemberRequest
28
+ } from '@tennac-booking/sdk';
29
+
30
+ const configuration = new Configuration();
31
+ const apiInstance = new ClubsApi(configuration);
32
+
33
+ let id: string; //ID du club (default to undefined)
34
+ let addClubMemberRequest: AddClubMemberRequest; //
35
+
36
+ const { status, data } = await apiInstance.addClubMember(
37
+ id,
38
+ addClubMemberRequest
39
+ );
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ |Name | Type | Description | Notes|
45
+ |------------- | ------------- | ------------- | -------------|
46
+ | **addClubMemberRequest** | **AddClubMemberRequest**| | |
47
+ | **id** | [**string**] | ID du club | defaults to undefined|
48
+
49
+
50
+ ### Return type
51
+
52
+ **AddClubMemberResponse**
53
+
54
+ ### Authorization
55
+
56
+ [bearerAuth](../README.md#bearerAuth)
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: application/json
61
+ - **Accept**: application/json
62
+
63
+
64
+ ### HTTP response details
65
+ | Status code | Description | Response headers |
66
+ |-------------|-------------|------------------|
67
+ |**201** | Membre ajouté avec succès | - |
68
+ |**400** | Requête invalide | - |
69
+ |**404** | Ressource non trouvée | - |
70
+ |**500** | Erreur serveur interne | - |
71
+
72
+ [[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)
73
+
74
+ # **createClub**
75
+ > ClubResponse createClub(createClubRequest)
76
+
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ ClubsApi,
83
+ Configuration,
84
+ CreateClubRequest
85
+ } from '@tennac-booking/sdk';
86
+
87
+ const configuration = new Configuration();
88
+ const apiInstance = new ClubsApi(configuration);
89
+
90
+ let createClubRequest: CreateClubRequest; //
91
+
92
+ const { status, data } = await apiInstance.createClub(
93
+ createClubRequest
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **createClubRequest** | **CreateClubRequest**| | |
102
+
103
+
104
+ ### Return type
105
+
106
+ **ClubResponse**
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** | Club créé avec succès | - |
122
+ |**400** | Requête invalide | - |
123
+ |**500** | Erreur serveur interne | - |
124
+
125
+ [[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)
126
+
127
+ # **deleteClub**
128
+ > DeleteClub200Response deleteClub()
129
+
130
+
131
+ ### Example
132
+
133
+ ```typescript
134
+ import {
135
+ ClubsApi,
136
+ Configuration
137
+ } from '@tennac-booking/sdk';
138
+
139
+ const configuration = new Configuration();
140
+ const apiInstance = new ClubsApi(configuration);
141
+
142
+ let id: string; //ID du club (default to undefined)
143
+
144
+ const { status, data } = await apiInstance.deleteClub(
145
+ id
146
+ );
147
+ ```
148
+
149
+ ### Parameters
150
+
151
+ |Name | Type | Description | Notes|
152
+ |------------- | ------------- | ------------- | -------------|
153
+ | **id** | [**string**] | ID du club | defaults to undefined|
154
+
155
+
156
+ ### Return type
157
+
158
+ **DeleteClub200Response**
159
+
160
+ ### Authorization
161
+
162
+ [bearerAuth](../README.md#bearerAuth)
163
+
164
+ ### HTTP request headers
165
+
166
+ - **Content-Type**: Not defined
167
+ - **Accept**: application/json
168
+
169
+
170
+ ### HTTP response details
171
+ | Status code | Description | Response headers |
172
+ |-------------|-------------|------------------|
173
+ |**200** | Club supprimé avec succès | - |
174
+ |**404** | Ressource non trouvée | - |
175
+ |**500** | Erreur serveur interne | - |
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
+ # **getActiveClubs**
180
+ > GetActiveClubs200Response getActiveClubs()
181
+
182
+ Retourne une liste des clubs dont la propriété `isActive` est `true`. Chaque club contient uniquement son `id` et son `name`.
183
+
184
+ ### Example
185
+
186
+ ```typescript
187
+ import {
188
+ ClubsApi,
189
+ Configuration
190
+ } from '@tennac-booking/sdk';
191
+
192
+ const configuration = new Configuration();
193
+ const apiInstance = new ClubsApi(configuration);
194
+
195
+ const { status, data } = await apiInstance.getActiveClubs();
196
+ ```
197
+
198
+ ### Parameters
199
+ This endpoint does not have any parameters.
200
+
201
+
202
+ ### Return type
203
+
204
+ **GetActiveClubs200Response**
205
+
206
+ ### Authorization
207
+
208
+ [bearerAuth](../README.md#bearerAuth)
209
+
210
+ ### HTTP request headers
211
+
212
+ - **Content-Type**: Not defined
213
+ - **Accept**: application/json
214
+
215
+
216
+ ### HTTP response details
217
+ | Status code | Description | Response headers |
218
+ |-------------|-------------|------------------|
219
+ |**200** | Liste des clubs actifs | - |
220
+ |**500** | Erreur serveur interne | - |
221
+
222
+ [[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)
223
+
224
+ # **getAllClubs**
225
+ > ClubListResponse getAllClubs()
226
+
227
+
228
+ ### Example
229
+
230
+ ```typescript
231
+ import {
232
+ ClubsApi,
233
+ Configuration
234
+ } from '@tennac-booking/sdk';
235
+
236
+ const configuration = new Configuration();
237
+ const apiInstance = new ClubsApi(configuration);
238
+
239
+ const { status, data } = await apiInstance.getAllClubs();
240
+ ```
241
+
242
+ ### Parameters
243
+ This endpoint does not have any parameters.
244
+
245
+
246
+ ### Return type
247
+
248
+ **ClubListResponse**
249
+
250
+ ### Authorization
251
+
252
+ [bearerAuth](../README.md#bearerAuth)
253
+
254
+ ### HTTP request headers
255
+
256
+ - **Content-Type**: Not defined
257
+ - **Accept**: application/json
258
+
259
+
260
+ ### HTTP response details
261
+ | Status code | Description | Response headers |
262
+ |-------------|-------------|------------------|
263
+ |**200** | Liste des clubs | - |
264
+ |**500** | Erreur serveur interne | - |
265
+
266
+ [[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)
267
+
268
+ # **getClubInfo**
269
+ > ClubInfoResponse getClubInfo()
270
+
271
+
272
+ ### Example
273
+
274
+ ```typescript
275
+ import {
276
+ ClubsApi,
277
+ Configuration
278
+ } from '@tennac-booking/sdk';
279
+
280
+ const configuration = new Configuration();
281
+ const apiInstance = new ClubsApi(configuration);
282
+
283
+ let id: string; //ID du club (default to undefined)
284
+
285
+ const { status, data } = await apiInstance.getClubInfo(
286
+ id
287
+ );
288
+ ```
289
+
290
+ ### Parameters
291
+
292
+ |Name | Type | Description | Notes|
293
+ |------------- | ------------- | ------------- | -------------|
294
+ | **id** | [**string**] | ID du club | defaults to undefined|
295
+
296
+
297
+ ### Return type
298
+
299
+ **ClubInfoResponse**
300
+
301
+ ### Authorization
302
+
303
+ [bearerAuth](../README.md#bearerAuth)
304
+
305
+ ### HTTP request headers
306
+
307
+ - **Content-Type**: Not defined
308
+ - **Accept**: application/json
309
+
310
+
311
+ ### HTTP response details
312
+ | Status code | Description | Response headers |
313
+ |-------------|-------------|------------------|
314
+ |**200** | Informations du club | - |
315
+ |**404** | Ressource non trouvée | - |
316
+ |**500** | Erreur serveur interne | - |
317
+
318
+ [[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)
319
+
320
+ # **getClubMembers**
321
+ > ClubMembersResponse getClubMembers()
322
+
323
+
324
+ ### Example
325
+
326
+ ```typescript
327
+ import {
328
+ ClubsApi,
329
+ Configuration
330
+ } from '@tennac-booking/sdk';
331
+
332
+ const configuration = new Configuration();
333
+ const apiInstance = new ClubsApi(configuration);
334
+
335
+ let id: string; //ID du club (default to undefined)
336
+
337
+ const { status, data } = await apiInstance.getClubMembers(
338
+ id
339
+ );
340
+ ```
341
+
342
+ ### Parameters
343
+
344
+ |Name | Type | Description | Notes|
345
+ |------------- | ------------- | ------------- | -------------|
346
+ | **id** | [**string**] | ID du club | defaults to undefined|
347
+
348
+
349
+ ### Return type
350
+
351
+ **ClubMembersResponse**
352
+
353
+ ### Authorization
354
+
355
+ [bearerAuth](../README.md#bearerAuth)
356
+
357
+ ### HTTP request headers
358
+
359
+ - **Content-Type**: Not defined
360
+ - **Accept**: application/json
361
+
362
+
363
+ ### HTTP response details
364
+ | Status code | Description | Response headers |
365
+ |-------------|-------------|------------------|
366
+ |**200** | Liste des membres du club | - |
367
+ |**500** | Erreur serveur interne | - |
368
+
369
+ [[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)
370
+
371
+ # **getClubRoles**
372
+ > ClubRolesResponse getClubRoles()
373
+
374
+
375
+ ### Example
376
+
377
+ ```typescript
378
+ import {
379
+ ClubsApi,
380
+ Configuration
381
+ } from '@tennac-booking/sdk';
382
+
383
+ const configuration = new Configuration();
384
+ const apiInstance = new ClubsApi(configuration);
385
+
386
+ let id: string; //ID du club (default to undefined)
387
+
388
+ const { status, data } = await apiInstance.getClubRoles(
389
+ id
390
+ );
391
+ ```
392
+
393
+ ### Parameters
394
+
395
+ |Name | Type | Description | Notes|
396
+ |------------- | ------------- | ------------- | -------------|
397
+ | **id** | [**string**] | ID du club | defaults to undefined|
398
+
399
+
400
+ ### Return type
401
+
402
+ **ClubRolesResponse**
403
+
404
+ ### Authorization
405
+
406
+ [bearerAuth](../README.md#bearerAuth)
407
+
408
+ ### HTTP request headers
409
+
410
+ - **Content-Type**: Not defined
411
+ - **Accept**: application/json
412
+
413
+
414
+ ### HTTP response details
415
+ | Status code | Description | Response headers |
416
+ |-------------|-------------|------------------|
417
+ |**200** | Liste des rôles du club | - |
418
+ |**500** | Erreur serveur interne | - |
419
+
420
+ [[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)
421
+
422
+ # **updateClub**
423
+ > ClubResponse updateClub(updateClubRequest)
424
+
425
+
426
+ ### Example
427
+
428
+ ```typescript
429
+ import {
430
+ ClubsApi,
431
+ Configuration,
432
+ UpdateClubRequest
433
+ } from '@tennac-booking/sdk';
434
+
435
+ const configuration = new Configuration();
436
+ const apiInstance = new ClubsApi(configuration);
437
+
438
+ let id: string; //ID du club (default to undefined)
439
+ let updateClubRequest: UpdateClubRequest; //
440
+
441
+ const { status, data } = await apiInstance.updateClub(
442
+ id,
443
+ updateClubRequest
444
+ );
445
+ ```
446
+
447
+ ### Parameters
448
+
449
+ |Name | Type | Description | Notes|
450
+ |------------- | ------------- | ------------- | -------------|
451
+ | **updateClubRequest** | **UpdateClubRequest**| | |
452
+ | **id** | [**string**] | ID du club | defaults to undefined|
453
+
454
+
455
+ ### Return type
456
+
457
+ **ClubResponse**
458
+
459
+ ### Authorization
460
+
461
+ [bearerAuth](../README.md#bearerAuth)
462
+
463
+ ### HTTP request headers
464
+
465
+ - **Content-Type**: application/json
466
+ - **Accept**: application/json
467
+
468
+
469
+ ### HTTP response details
470
+ | Status code | Description | Response headers |
471
+ |-------------|-------------|------------------|
472
+ |**200** | Club mis à jour avec succès | - |
473
+ |**400** | Requête invalide | - |
474
+ |**404** | Ressource non trouvée | - |
475
+ |**500** | Erreur serveur interne | - |
476
+
477
+ [[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)
478
+
@@ -0,0 +1,44 @@
1
+ # CourtResponse
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
+ **status** | [**CourtStatus**](CourtStatus.md) | | [optional] [default to undefined]
11
+ **comments** | **string** | | [optional] [default to undefined]
12
+ **pricePerSlot** | **number** | | [optional] [default to undefined]
13
+ **slotDefaultDuration** | **number** | | [optional] [default to undefined]
14
+ **startTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
15
+ **endTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
16
+ **clubId** | **string** | | [optional] [default to undefined]
17
+ **sportId** | **string** | | [optional] [default to undefined]
18
+ **isActive** | **boolean** | | [optional] [default to undefined]
19
+ **createdAt** | **string** | | [optional] [default to undefined]
20
+ **updatedAt** | **string** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { CourtResponse } from '@tennac-booking/sdk';
26
+
27
+ const instance: CourtResponse = {
28
+ id,
29
+ name,
30
+ status,
31
+ comments,
32
+ pricePerSlot,
33
+ slotDefaultDuration,
34
+ startTimeInTheDayInMinutes,
35
+ endTimeInTheDayInMinutes,
36
+ clubId,
37
+ sportId,
38
+ isActive,
39
+ createdAt,
40
+ updatedAt,
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
+ # CourtsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **courts** | [**Array<CourtResponse>**](CourtResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CourtsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: CourtsResponse = {
17
+ courts,
18
+ total,
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,28 @@
1
+ # CreateBookingRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | ID de l\'utilisateur créateur de la réservation | [default to undefined]
9
+ **slotId** | **string** | ID du créneau à réserver | [default to undefined]
10
+ **players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste des joueurs avec leurs méthodes de paiement | [default to undefined]
11
+ **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to false]
12
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { CreateBookingRequest } from '@tennac-booking/sdk';
18
+
19
+ const instance: CreateBookingRequest = {
20
+ userId,
21
+ slotId,
22
+ players,
23
+ isCreatorPayingAll,
24
+ paymentMethod,
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,38 @@
1
+ # CreateClubRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **address** | **string** | | [default to undefined]
10
+ **city** | **string** | | [default to undefined]
11
+ **zipCode** | **string** | | [default to undefined]
12
+ **country** | **string** | | [default to undefined]
13
+ **phone** | **string** | | [optional] [default to undefined]
14
+ **email** | **string** | | [optional] [default to undefined]
15
+ **website** | **string** | | [optional] [default to undefined]
16
+ **description** | **string** | | [optional] [default to undefined]
17
+ **logo** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { CreateClubRequest } from '@tennac-booking/sdk';
23
+
24
+ const instance: CreateClubRequest = {
25
+ name,
26
+ address,
27
+ city,
28
+ zipCode,
29
+ country,
30
+ phone,
31
+ email,
32
+ website,
33
+ description,
34
+ logo,
35
+ };
36
+ ```
37
+
38
+ [[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
+ # CreateClubRoleRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Nom du rôle à créer (ex: joueur, coach, admin) | [default to undefined]
9
+ **description** | **string** | Description du rôle | [default to undefined]
10
+ **permissions** | **Array<string>** | Permissions associées à ce rôle | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateClubRoleRequestBody } from '@tennac-booking/sdk';
16
+
17
+ const instance: CreateClubRoleRequestBody = {
18
+ name,
19
+ description,
20
+ permissions,
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,34 @@
1
+ # CreateCourtRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **status** | [**CourtStatus**](CourtStatus.md) | | [default to undefined]
10
+ **comments** | **string** | | [optional] [default to undefined]
11
+ **pricePerSlot** | **number** | | [default to undefined]
12
+ **slotDefaultDuration** | **number** | | [default to undefined]
13
+ **startTimeInTheDayInMinutes** | **number** | | [default to undefined]
14
+ **endTimeInTheDayInMinutes** | **number** | | [default to undefined]
15
+ **sportId** | **string** | | [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { CreateCourtRequest } from '@tennac-booking/sdk';
21
+
22
+ const instance: CreateCourtRequest = {
23
+ name,
24
+ status,
25
+ comments,
26
+ pricePerSlot,
27
+ slotDefaultDuration,
28
+ startTimeInTheDayInMinutes,
29
+ endTimeInTheDayInMinutes,
30
+ sportId,
31
+ };
32
+ ```
33
+
34
+ [[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
+ # CreatePriceRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **amount** | **number** | | [default to undefined]
9
+ **currency** | **string** | | [default to 'eur']
10
+ **interval** | **string** | | [default to undefined]
11
+ **intervalCount** | **number** | | [optional] [default to 1]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { CreatePriceRequest } from '@tennac-booking/sdk';
17
+
18
+ const instance: CreatePriceRequest = {
19
+ amount,
20
+ currency,
21
+ interval,
22
+ intervalCount,
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)