@tennac-booking/sdk 1.0.70 → 1.0.72

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 (57) hide show
  1. package/.openapi-generator/FILES +239 -230
  2. package/README.md +18 -5
  3. package/api.ts +1187 -155
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1097 -274
  8. package/dist/api.js +413 -50
  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 +1097 -274
  16. package/dist/esm/api.js +410 -47
  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/BookingPriceBody.md +22 -0
  28. package/docs/BookingStatus.md +2 -0
  29. package/docs/BookingsApi.md +52 -0
  30. package/docs/BookingsStaffApi.md +1 -1
  31. package/docs/CheckInPlayersResponse.md +2 -10
  32. package/docs/ClubResponse.md +8 -0
  33. package/docs/ClubsApi.md +2 -2
  34. package/docs/CreateEventRequest.md +26 -0
  35. package/docs/CreateSportForClubRequest.md +6 -0
  36. package/docs/CreateSportRequest.md +8 -2
  37. package/docs/EventResponse.md +26 -0
  38. package/docs/EventsApi.md +131 -12
  39. package/docs/EventsManagerApi.md +59 -0
  40. package/docs/JoinEventRequest.md +22 -0
  41. package/docs/JoinEventResponse.md +22 -0
  42. package/docs/PartialClubResponse.md +8 -0
  43. package/docs/PlayerPrice.md +30 -0
  44. package/docs/SportKey.md +14 -0
  45. package/docs/SportLevel.md +22 -0
  46. package/docs/SportResponse.md +10 -5
  47. package/docs/SportWithLevels.md +30 -0
  48. package/docs/SportsManagerApi.md +6 -3
  49. package/docs/SportsStaffApi.md +3 -3
  50. package/docs/SubscriberPrice.md +22 -0
  51. package/docs/SubscriptionInfo.md +24 -0
  52. package/docs/{GetSportsByClubById200Response.md → Team.md} +7 -5
  53. package/docs/UpdateEventRequest.md +54 -0
  54. package/docs/UpdateSportRequest.md +9 -1
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
  57. package/docs/SportWithAnalytics.md +0 -36
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost*
8
8
  |[**deleteEvent**](#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} | |
9
9
  |[**publishEvent**](#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} | |
10
10
  |[**unpublishEvent**](#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} | |
11
+ |[**updateEvent**](#updateevent) | **PUT** /api/events/manager/updateEvent/{eventId} | |
11
12
 
12
13
  # **createEvent**
13
14
  > PublishEventResponse createEvent(createEventRequest)
@@ -223,3 +224,61 @@ const { status, data } = await apiInstance.unpublishEvent(
223
224
 
224
225
  [[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)
225
226
 
227
+ # **updateEvent**
228
+ > PublishEventResponse updateEvent(updateEventRequest)
229
+
230
+ Update an event (manager)
231
+
232
+ ### Example
233
+
234
+ ```typescript
235
+ import {
236
+ EventsManagerApi,
237
+ Configuration,
238
+ UpdateEventRequest
239
+ } from '@tennac-booking/sdk';
240
+
241
+ const configuration = new Configuration();
242
+ const apiInstance = new EventsManagerApi(configuration);
243
+
244
+ let eventId: string; // (default to undefined)
245
+ let updateEventRequest: UpdateEventRequest; //
246
+
247
+ const { status, data } = await apiInstance.updateEvent(
248
+ eventId,
249
+ updateEventRequest
250
+ );
251
+ ```
252
+
253
+ ### Parameters
254
+
255
+ |Name | Type | Description | Notes|
256
+ |------------- | ------------- | ------------- | -------------|
257
+ | **updateEventRequest** | **UpdateEventRequest**| | |
258
+ | **eventId** | [**string**] | | defaults to undefined|
259
+
260
+
261
+ ### Return type
262
+
263
+ **PublishEventResponse**
264
+
265
+ ### Authorization
266
+
267
+ [bearerAuth](../README.md#bearerAuth)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json
272
+ - **Accept**: application/json
273
+
274
+
275
+ ### HTTP response details
276
+ | Status code | Description | Response headers |
277
+ |-------------|-------------|------------------|
278
+ |**200** | Event updated | - |
279
+ |**400** | Bad Request | - |
280
+ |**404** | Not Found | - |
281
+ |**500** | Server Error | - |
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
+
@@ -0,0 +1,22 @@
1
+ # JoinEventRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **teamName** | **string** | | [optional] [default to undefined]
9
+ **players** | **Array<string>** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { JoinEventRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: JoinEventRequest = {
17
+ teamName,
18
+ players,
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
+ # JoinEventResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { JoinEventResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: JoinEventResponse = {
17
+ message,
18
+ event,
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)
@@ -20,6 +20,10 @@ Name | Type | Description | Notes
20
20
  **clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
21
21
  **isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
22
22
  **sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
23
+ **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
24
+ **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées (même créneau) | [optional] [default to undefined]
25
+ **cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
26
+ **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
23
27
  **createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
24
28
  **updatedAt** | [**ClubResponseUpdatedAt**](ClubResponseUpdatedAt.md) | | [optional] [default to undefined]
25
29
 
@@ -43,6 +47,10 @@ const instance: PartialClubResponse = {
43
47
  clubDashBoardUrl,
44
48
  isNoShowEnabled,
45
49
  sports,
50
+ allowMultipleBookingsAtTheSameTime,
51
+ sameTimeBookingsLimit,
52
+ cancellationLimitHours,
53
+ maxWeeklyBookings,
46
54
  createdAt,
47
55
  updatedAt,
48
56
  };
@@ -0,0 +1,30 @@
1
+ # PlayerPrice
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **playerId** | **string** | | [default to undefined]
9
+ **firstName** | **string** | | [optional] [default to undefined]
10
+ **lastName** | **string** | | [optional] [default to undefined]
11
+ **subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [default to undefined]
12
+ **creditAvailablesInCents** | **number** | | [optional] [default to undefined]
13
+ **price** | **number** | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PlayerPrice } from '@tennac-booking/sdk';
19
+
20
+ const instance: PlayerPrice = {
21
+ playerId,
22
+ firstName,
23
+ lastName,
24
+ subscriptions,
25
+ creditAvailablesInCents,
26
+ price,
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,14 @@
1
+ # SportKey
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Padel` (value: `'Padel'`)
7
+
8
+ * `Tennis` (value: `'Tennis'`)
9
+
10
+ * `Pickleball` (value: `'Pickleball'`)
11
+
12
+ * `Autres` (value: `'Autres'`)
13
+
14
+ [[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
+ # SportLevel
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Nom du niveau (ex: Débutant, Intermédiaire, Avancé) | [default to undefined]
9
+ **order** | **number** | Ordre du niveau, du plus faible (petit) au plus fort (grand) | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SportLevel } from '@tennac-booking/sdk';
15
+
16
+ const instance: SportLevel = {
17
+ name,
18
+ order,
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)
@@ -1,16 +1,18 @@
1
1
  # SportResponse
2
2
 
3
- Types TSOA pour les sports - alignés sur la documentation Swagger existante
4
3
 
5
4
  ## Properties
6
5
 
7
6
  Name | Type | Description | Notes
8
7
  ------------ | ------------- | ------------- | -------------
9
8
  **id** | **string** | ID unique du sport | [default to undefined]
10
- **key** | **string** | Clé/nom du sport | [default to undefined]
11
- **name** | **string** | Nom du sport | [optional] [default to undefined]
9
+ **key** | [**SportKey**](SportKey.md) | | [default to undefined]
10
+ **name** | **string** | Nom affiché du sport | [default to undefined]
12
11
  **description** | **string** | Description du sport | [optional] [default to undefined]
13
- **clubId** | **string** | ID du club auquel appartient le sport | [default to undefined]
12
+ **levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
13
+ **logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
14
+ **createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
15
+ **verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
14
16
  **createdAt** | **string** | Date de création | [default to undefined]
15
17
  **updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
16
18
 
@@ -24,7 +26,10 @@ const instance: SportResponse = {
24
26
  key,
25
27
  name,
26
28
  description,
27
- clubId,
29
+ levels,
30
+ logos,
31
+ createdBy,
32
+ verified,
28
33
  createdAt,
29
34
  updatedAt,
30
35
  };
@@ -0,0 +1,30 @@
1
+ # SportWithLevels
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **key** | **string** | | [default to undefined]
10
+ **name** | **string** | | [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **levels** | [**Array<SportLevel>**](SportLevel.md) | | [optional] [default to undefined]
13
+ **logos** | **Array<string>** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { SportWithLevels } from '@tennac-booking/sdk';
19
+
20
+ const instance: SportWithLevels = {
21
+ id,
22
+ key,
23
+ name,
24
+ description,
25
+ levels,
26
+ logos,
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)
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
11
11
  # **createSport**
12
12
  > SportResponse createSport(createSportRequest)
13
13
 
14
- Crée un sport dans un club
14
+ Crée un sport (global) avec createdBy = clubId de l\'utilisateur
15
15
 
16
16
  ### Example
17
17
 
@@ -59,6 +59,7 @@ const { status, data } = await apiInstance.createSport(
59
59
  |**201** | Sport créé | - |
60
60
  |**400** | Bad Request | - |
61
61
  |**401** | Unauthorized | - |
62
+ |**409** | Conflict | - |
62
63
  |**500** | Server Error | - |
63
64
 
64
65
  [[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)
@@ -66,7 +67,7 @@ const { status, data } = await apiInstance.createSport(
66
67
  # **deleteSport**
67
68
  > DeleteSportResponse deleteSport()
68
69
 
69
- Supprime un sport
70
+ Supprime un sport (interdit si vérifié)
70
71
 
71
72
  ### Example
72
73
 
@@ -112,6 +113,7 @@ const { status, data } = await apiInstance.deleteSport(
112
113
  |-------------|-------------|------------------|
113
114
  |**200** | Sport supprimé | - |
114
115
  |**401** | Unauthorized | - |
116
+ |**403** | Forbidden - Sport vérifié non supprimable | - |
115
117
  |**404** | Sport non trouvé | - |
116
118
  |**500** | Server Error | - |
117
119
 
@@ -120,7 +122,7 @@ const { status, data } = await apiInstance.deleteSport(
120
122
  # **updateSport**
121
123
  > SportResponse updateSport(updateSportRequest)
122
124
 
123
- Met à jour un sport
125
+ Met à jour un sport (interdit si vérifié)
124
126
 
125
127
  ### Example
126
128
 
@@ -170,6 +172,7 @@ const { status, data } = await apiInstance.updateSport(
170
172
  |-------------|-------------|------------------|
171
173
  |**200** | Sport mis à jour | - |
172
174
  |**401** | Unauthorized | - |
175
+ |**403** | Forbidden - Sport vérifié non modifiable | - |
173
176
  |**404** | Sport non trouvé | - |
174
177
  |**500** | Server Error | - |
175
178
 
@@ -7,9 +7,9 @@ All URIs are relative to *http://localhost*
7
7
  |[**getAllSports**](#getallsports) | **GET** /api/sports | |
8
8
 
9
9
  # **getAllSports**
10
- > Array<SportWithAnalytics> getAllSports()
10
+ > Array<SportResponse> getAllSports()
11
11
 
12
- Récupère la liste des sports d\'un club
12
+ Récupère la liste des sports (vérifiés + créés par le club de l\'utilisateur)
13
13
 
14
14
  ### Example
15
15
 
@@ -31,7 +31,7 @@ This endpoint does not have any parameters.
31
31
 
32
32
  ### Return type
33
33
 
34
- **Array<SportWithAnalytics>**
34
+ **Array<SportResponse>**
35
35
 
36
36
  ### Authorization
37
37
 
@@ -0,0 +1,22 @@
1
+ # SubscriberPrice
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscriptionPlanId** | **string** | | [default to undefined]
9
+ **amount** | **number** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SubscriberPrice } from '@tennac-booking/sdk';
15
+
16
+ const instance: SubscriberPrice = {
17
+ subscriptionPlanId,
18
+ amount,
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
+ # SubscriptionInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscriptionPlanName** | **string** | | [optional] [default to undefined]
9
+ **subscriptionDescription** | **string** | | [optional] [default to undefined]
10
+ **reducedAmountInCents** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SubscriptionInfo } from '@tennac-booking/sdk';
16
+
17
+ const instance: SubscriptionInfo = {
18
+ subscriptionPlanName,
19
+ subscriptionDescription,
20
+ reducedAmountInCents,
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,19 +1,21 @@
1
- # GetSportsByClubById200Response
1
+ # Team
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **sports** | **Array&lt;any&gt;** | | [default to undefined]
8
+ **name** | **string** | | [default to undefined]
9
+ **players** | **Array&lt;string&gt;** | | [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { GetSportsByClubById200Response } from '@tennac-booking/sdk';
14
+ import { Team } from '@tennac-booking/sdk';
14
15
 
15
- const instance: GetSportsByClubById200Response = {
16
- sports,
16
+ const instance: Team = {
17
+ name,
18
+ players,
17
19
  };
18
20
  ```
19
21
 
@@ -0,0 +1,54 @@
1
+ # UpdateEventRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **photoUrl** | **string** | | [optional] [default to undefined]
12
+ **startDate** | **string** | | [optional] [default to undefined]
13
+ **endDate** | **string** | | [optional] [default to undefined]
14
+ **courts** | [**Array&lt;EventResponseCourtsInner&gt;**](EventResponseCourtsInner.md) | | [optional] [default to undefined]
15
+ **sports** | **Array&lt;string&gt;** | | [optional] [default to undefined]
16
+ **recurringType** | **string** | | [optional] [default to undefined]
17
+ **recurrenceEndDate** | **string** | | [optional] [default to undefined]
18
+ **participationType** | **string** | | [optional] [default to undefined]
19
+ **participants** | **Array&lt;string&gt;** | | [optional] [default to undefined]
20
+ **teams** | [**Array&lt;Team&gt;**](Team.md) | | [optional] [default to undefined]
21
+ **playerLimit** | **number** | | [optional] [default to undefined]
22
+ **teamLimit** | **number** | | [optional] [default to undefined]
23
+ **price** | **number** | | [optional] [default to undefined]
24
+ **subscriberPrices** | [**Array&lt;SubscriberPrice&gt;**](SubscriberPrice.md) | | [optional] [default to undefined]
25
+ **visibilityType** | **string** | | [optional] [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { UpdateEventRequest } from '@tennac-booking/sdk';
31
+
32
+ const instance: UpdateEventRequest = {
33
+ type,
34
+ title,
35
+ description,
36
+ photoUrl,
37
+ startDate,
38
+ endDate,
39
+ courts,
40
+ sports,
41
+ recurringType,
42
+ recurrenceEndDate,
43
+ participationType,
44
+ participants,
45
+ teams,
46
+ playerLimit,
47
+ teamLimit,
48
+ price,
49
+ subscriberPrices,
50
+ visibilityType,
51
+ };
52
+ ```
53
+
54
+ [[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,11 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **key** | **string** | Clé/nom du sport | [optional] [default to undefined]
8
+ **key** | [**SportKey**](SportKey.md) | | [optional] [default to undefined]
9
+ **name** | **string** | Nom affiché du sport | [optional] [default to undefined]
10
+ **description** | **string** | Description du sport | [optional] [default to undefined]
11
+ **levels** | [**Array&lt;SportLevel&gt;**](SportLevel.md) | Niveaux associés | [optional] [default to undefined]
12
+ **logos** | **Array&lt;string&gt;** | URLs de logos/images | [optional] [default to undefined]
9
13
 
10
14
  ## Example
11
15
 
@@ -14,6 +18,10 @@ import { UpdateSportRequest } from '@tennac-booking/sdk';
14
18
 
15
19
  const instance: UpdateSportRequest = {
16
20
  key,
21
+ name,
22
+ description,
23
+ levels,
24
+ logos,
17
25
  };
18
26
  ```
19
27
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.68
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.70",
3
+ "version": "1.0.72",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,36 +0,0 @@
1
- # SportWithAnalytics
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | ID unique du sport | [default to undefined]
9
- **key** | **string** | Clé/nom du sport | [default to undefined]
10
- **name** | **string** | Nom du sport | [optional] [default to undefined]
11
- **description** | **string** | Description du sport | [optional] [default to undefined]
12
- **clubId** | **string** | ID du club auquel appartient le sport | [default to undefined]
13
- **createdAt** | **string** | Date de création | [default to undefined]
14
- **updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
15
- **courtsCount** | **number** | Nombre de terrains pour ce sport | [default to undefined]
16
- **bookingsCount** | **number** | Nombre de réservations actives/en attente pour ce sport | [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { SportWithAnalytics } from '@tennac-booking/sdk';
22
-
23
- const instance: SportWithAnalytics = {
24
- id,
25
- key,
26
- name,
27
- description,
28
- clubId,
29
- createdAt,
30
- updatedAt,
31
- courtsCount,
32
- bookingsCount,
33
- };
34
- ```
35
-
36
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)