@tennac-booking/sdk 1.0.13 → 1.0.15

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 (90) hide show
  1. package/.openapi-generator/FILES +35 -12
  2. package/README.md +69 -60
  3. package/api.ts +3550 -3065
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2164 -1751
  8. package/dist/api.js +2523 -2150
  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 +2164 -1751
  16. package/dist/esm/api.js +2429 -2109
  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/AdminClubSlotsApi.md +62 -0
  28. package/docs/AdminClubsApi.md +108 -0
  29. package/docs/ApiErrorResponse.md +1 -1
  30. package/docs/ChangePasswordResponse.md +1 -1
  31. package/docs/ClubInfoResponse.md +6 -6
  32. package/docs/ClubResponse.md +6 -6
  33. package/docs/ClubRoleResponse.md +6 -6
  34. package/docs/ClubSettings.md +7 -1
  35. package/docs/ClubsResponse.md +22 -0
  36. package/docs/CourtResponse.md +7 -7
  37. package/docs/CourtStatus.md +5 -2
  38. package/docs/CreateClubRequest.md +12 -10
  39. package/docs/CreateClubSettingsRequest.md +28 -0
  40. package/docs/CreateCourtRequest.md +2 -0
  41. package/docs/CreatePriceRequest.md +4 -4
  42. package/docs/CreateSportRequest.md +4 -0
  43. package/docs/CreateSubscriptionPlanRequest.md +3 -3
  44. package/docs/DeleteClubSettingsRequest.md +20 -0
  45. package/docs/{DeleteClub200Response.md → DeleteSlotsResponse.md} +3 -3
  46. package/docs/{GenerateSlotsForNextThreeWeeks201Response.md → DeleteSport200Response.md} +3 -3
  47. package/docs/GenerateSlotsResponse.md +20 -0
  48. package/docs/GetClubInfos200Response.md +30 -0
  49. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  50. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +24 -0
  51. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  52. package/docs/GetUserRolesResponseRolesInner.md +4 -6
  53. package/docs/GoogleSignInRequestBody.md +2 -2
  54. package/docs/GoogleSignInResponse.md +2 -8
  55. package/docs/{ClubCourtsApi.md → ManagerClubCourtsApi.md} +5 -5
  56. package/docs/{ClubRolesApi.md → ManagerClubRolesApi.md} +19 -19
  57. package/docs/ManagerClubSlotsApi.md +125 -0
  58. package/docs/{ClubSubscriptionsApi.md → ManagerClubSubscriptionsApi.md} +15 -15
  59. package/docs/{ClubsApi.md → ManagerClubsApi.md} +11 -209
  60. package/docs/ManagerSportsApi.md +119 -0
  61. package/docs/PriceResponse.md +2 -8
  62. package/docs/RefreshTokenResponse.md +2 -6
  63. package/docs/SlotResponse.md +2 -8
  64. package/docs/SportResponse.md +0 -2
  65. package/docs/{ClubSportsApi.md → StaffClubAnalyticsApi.md} +20 -27
  66. package/docs/StaffClubBookingsApi.md +59 -0
  67. package/docs/StaffClubSettingsApi.md +62 -0
  68. package/docs/StaffClubsApi.md +59 -0
  69. package/docs/StaffProfileApi.md +54 -0
  70. package/docs/StaffSportsApi.md +62 -0
  71. package/docs/SubscriptionPlanResponse.md +4 -8
  72. package/docs/UpdateClubSettingsRequest.md +28 -0
  73. package/docs/UpdateSportRequest.md +4 -0
  74. package/docs/UpdateSubscriptionPlanRequest.md +3 -3
  75. package/docs/UpdateSubscriptionPlanResponse.md +2 -2
  76. package/docs/UserApi.md +119 -0
  77. package/docs/{SportsApi.md → UserAuthenticationApi.md} +54 -57
  78. package/docs/{BookingsApi.md → UserBookingsApi.md} +32 -32
  79. package/docs/UserClubCourtsApi.md +64 -0
  80. package/docs/UserClubSlotsApi.md +181 -0
  81. package/docs/UserClubSportsApi.md +60 -0
  82. package/docs/UserClubsApi.md +53 -0
  83. package/docs/{ClubSettingsApi.md → UserProfileApi.md} +59 -62
  84. package/docs/UserResponse.md +8 -14
  85. package/docs/UserSubscriptionsApi.md +222 -0
  86. package/docs/UsersResponse.md +22 -0
  87. package/index.ts +1 -1
  88. package/package.json +32 -1
  89. package/docs/ClubSlotsApi.md +0 -353
  90. package/docs/UsersApi.md +0 -844
@@ -2,7 +2,7 @@
2
2
  * Pickle Ball API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.14
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickle Ball API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.14
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickle Ball API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.14
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pickle Ball API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.14
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickle Ball API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.14
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pickle Ball API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.14
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickle Ball API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.14
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickle Ball API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.14
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickle Ball API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.14
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickle Ball API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 1.0.14
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,62 @@
1
+ # AdminClubSlotsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**generateSlotsForNextThreeWeeks**](#generateslotsfornextthreeweeks) | **POST** /api/clubs/{id}/generate-slots | Générer les créneaux pour les 3 semaines à venir (Admin uniquement)|
8
+
9
+ # **generateSlotsForNextThreeWeeks**
10
+ > GenerateSlotsResponse generateSlotsForNextThreeWeeks()
11
+
12
+
13
+ ### Example
14
+
15
+ ```typescript
16
+ import {
17
+ AdminClubSlotsApi,
18
+ Configuration
19
+ } from '@tennac-booking/sdk';
20
+
21
+ const configuration = new Configuration();
22
+ const apiInstance = new AdminClubSlotsApi(configuration);
23
+
24
+ let id: string; //ID du club (default to undefined)
25
+
26
+ const { status, data } = await apiInstance.generateSlotsForNextThreeWeeks(
27
+ id
28
+ );
29
+ ```
30
+
31
+ ### Parameters
32
+
33
+ |Name | Type | Description | Notes|
34
+ |------------- | ------------- | ------------- | -------------|
35
+ | **id** | [**string**] | ID du club | defaults to undefined|
36
+
37
+
38
+ ### Return type
39
+
40
+ **GenerateSlotsResponse**
41
+
42
+ ### Authorization
43
+
44
+ [bearerAuth](../README.md#bearerAuth)
45
+
46
+ ### HTTP request headers
47
+
48
+ - **Content-Type**: Not defined
49
+ - **Accept**: application/json
50
+
51
+
52
+ ### HTTP response details
53
+ | Status code | Description | Response headers |
54
+ |-------------|-------------|------------------|
55
+ |**201** | Créneaux générés avec succès | - |
56
+ |**400** | Requête invalide | - |
57
+ |**401** | Non autorisé | - |
58
+ |**404** | Ressource non trouvée | - |
59
+ |**500** | Erreur serveur interne | - |
60
+
61
+ [[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)
62
+
@@ -0,0 +1,108 @@
1
+ # AdminClubsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
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)|
9
+
10
+ # **createClub**
11
+ > ClubResponse createClub(createClubRequest)
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ AdminClubsApi,
19
+ Configuration,
20
+ CreateClubRequest
21
+ } from '@tennac-booking/sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new AdminClubsApi(configuration);
25
+
26
+ let createClubRequest: CreateClubRequest; //
27
+
28
+ const { status, data } = await apiInstance.createClub(
29
+ createClubRequest
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **createClubRequest** | **CreateClubRequest**| | |
38
+
39
+
40
+ ### Return type
41
+
42
+ **ClubResponse**
43
+
44
+ ### Authorization
45
+
46
+ [bearerAuth](../README.md#bearerAuth)
47
+
48
+ ### HTTP request headers
49
+
50
+ - **Content-Type**: application/json
51
+ - **Accept**: application/json
52
+
53
+
54
+ ### HTTP response details
55
+ | Status code | Description | Response headers |
56
+ |-------------|-------------|------------------|
57
+ |**201** | Club créé avec succès | - |
58
+ |**400** | Requête invalide | - |
59
+ |**401** | Non autorisé | - |
60
+ |**500** | Erreur serveur interne | - |
61
+
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
+
64
+ # **getAllClubs**
65
+ > ClubsResponse getAllClubs()
66
+
67
+
68
+ ### Example
69
+
70
+ ```typescript
71
+ import {
72
+ AdminClubsApi,
73
+ Configuration
74
+ } from '@tennac-booking/sdk';
75
+
76
+ const configuration = new Configuration();
77
+ const apiInstance = new AdminClubsApi(configuration);
78
+
79
+ const { status, data } = await apiInstance.getAllClubs();
80
+ ```
81
+
82
+ ### Parameters
83
+ This endpoint does not have any parameters.
84
+
85
+
86
+ ### Return type
87
+
88
+ **ClubsResponse**
89
+
90
+ ### Authorization
91
+
92
+ [bearerAuth](../README.md#bearerAuth)
93
+
94
+ ### HTTP request headers
95
+
96
+ - **Content-Type**: Not defined
97
+ - **Accept**: application/json
98
+
99
+
100
+ ### HTTP response details
101
+ | Status code | Description | Response headers |
102
+ |-------------|-------------|------------------|
103
+ |**200** | Liste de tous les clubs | - |
104
+ |**401** | Non autorisé | - |
105
+ |**500** | Erreur serveur interne | - |
106
+
107
+ [[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)
108
+
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
9
  **error** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -6,17 +6,17 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [default to undefined]
10
- **address** | **string** | | [default to undefined]
11
- **city** | **string** | | [default to undefined]
12
- **zipCode** | **string** | | [default to undefined]
13
- **country** | **string** | | [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **address** | **string** | | [optional] [default to undefined]
11
+ **city** | **string** | | [optional] [default to undefined]
12
+ **zipCode** | **string** | | [optional] [default to undefined]
13
+ **country** | **string** | | [optional] [default to undefined]
14
14
  **phone** | **string** | | [optional] [default to undefined]
15
15
  **email** | **string** | | [optional] [default to undefined]
16
16
  **website** | **string** | | [optional] [default to undefined]
17
17
  **description** | **string** | | [optional] [default to undefined]
18
18
  **logo** | **string** | | [optional] [default to undefined]
19
- **isActive** | **boolean** | | [optional] [default to true]
19
+ **isActive** | **boolean** | | [optional] [default to undefined]
20
20
  **createdAt** | **string** | | [optional] [default to undefined]
21
21
  **updatedAt** | **string** | | [optional] [default to undefined]
22
22
 
@@ -6,17 +6,17 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [default to undefined]
10
- **address** | **string** | | [default to undefined]
11
- **city** | **string** | | [default to undefined]
12
- **zipCode** | **string** | | [default to undefined]
13
- **country** | **string** | | [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **address** | **string** | | [optional] [default to undefined]
11
+ **city** | **string** | | [optional] [default to undefined]
12
+ **zipCode** | **string** | | [optional] [default to undefined]
13
+ **country** | **string** | | [optional] [default to undefined]
14
14
  **phone** | **string** | | [optional] [default to undefined]
15
15
  **email** | **string** | | [optional] [default to undefined]
16
16
  **website** | **string** | | [optional] [default to undefined]
17
17
  **description** | **string** | | [optional] [default to undefined]
18
18
  **logo** | **string** | | [optional] [default to undefined]
19
- **isActive** | **boolean** | | [optional] [default to true]
19
+ **isActive** | **boolean** | | [optional] [default to undefined]
20
20
  **createdAt** | **string** | | [optional] [default to undefined]
21
21
  **updatedAt** | **string** | | [optional] [default to undefined]
22
22
 
@@ -5,12 +5,12 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | Identifiant unique du rôle dans le club | [default to undefined]
9
- **name** | **string** | Nom du rôle (ex: joueur, coach, admin) | [default to undefined]
10
- **description** | **string** | Description textuelle du rôle | [default to undefined]
11
- **permissions** | **Array<string>** | Liste des permissions associées à ce rôle | [optional] [default to undefined]
12
- **createdAt** | **string** | Date de création du rôle | [default to undefined]
13
- **updatedAt** | **string** | Date de dernière mise à jour du rôle | [default to undefined]
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **permissions** | **Array<string>** | | [optional] [default to undefined]
12
+ **createdAt** | **string** | | [optional] [default to undefined]
13
+ **updatedAt** | **string** | | [optional] [default to undefined]
14
14
 
15
15
  ## Example
16
16
 
@@ -5,11 +5,14 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [default to undefined]
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **clubId** | **string** | | [optional] [default to undefined]
9
10
  **reservationStartTime** | **string** | | [optional] [default to undefined]
10
11
  **reservationEndTime** | **string** | | [optional] [default to undefined]
11
12
  **maxSimultaneousReservations** | **number** | | [optional] [default to undefined]
12
13
  **allowWeekendReservations** | **boolean** | | [optional] [default to undefined]
14
+ **createdAt** | **string** | | [optional] [default to undefined]
15
+ **updatedAt** | **string** | | [optional] [default to undefined]
13
16
 
14
17
  ## Example
15
18
 
@@ -17,11 +20,14 @@ Name | Type | Description | Notes
17
20
  import { ClubSettings } from '@tennac-booking/sdk';
18
21
 
19
22
  const instance: ClubSettings = {
23
+ id,
20
24
  clubId,
21
25
  reservationStartTime,
22
26
  reservationEndTime,
23
27
  maxSimultaneousReservations,
24
28
  allowWeekendReservations,
29
+ createdAt,
30
+ updatedAt,
25
31
  };
26
32
  ```
27
33
 
@@ -0,0 +1,22 @@
1
+ # ClubsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubs** | [**Array<ClubResponse>**](ClubResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ClubsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ClubsResponse = {
17
+ clubs,
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)
@@ -7,15 +7,15 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
9
  **name** | **string** | | [optional] [default to undefined]
10
- **status** | [**CourtStatus**](CourtStatus.md) | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
11
  **comments** | **string** | | [optional] [default to undefined]
12
- **pricePerSlot** | **number** | | [optional] [default to undefined]
13
12
  **slotDefaultDuration** | **number** | | [optional] [default to undefined]
14
13
  **startTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
15
14
  **endTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
16
- **clubId** | **string** | | [optional] [default to undefined]
17
15
  **sportId** | **string** | | [optional] [default to undefined]
18
- **isActive** | **boolean** | | [optional] [default to undefined]
16
+ **clubId** | **string** | | [optional] [default to undefined]
17
+ **surface** | **string** | | [optional] [default to undefined]
18
+ **isIndoor** | **boolean** | Indique si le terrain est en intérieur ou extérieur | [optional] [default to undefined]
19
19
  **createdAt** | **string** | | [optional] [default to undefined]
20
20
  **updatedAt** | **string** | | [optional] [default to undefined]
21
21
 
@@ -29,13 +29,13 @@ const instance: CourtResponse = {
29
29
  name,
30
30
  status,
31
31
  comments,
32
- pricePerSlot,
33
32
  slotDefaultDuration,
34
33
  startTimeInTheDayInMinutes,
35
34
  endTimeInTheDayInMinutes,
36
- clubId,
37
35
  sportId,
38
- isActive,
36
+ clubId,
37
+ surface,
38
+ isIndoor,
39
39
  createdAt,
40
40
  updatedAt,
41
41
  };
@@ -1,10 +1,13 @@
1
1
  # CourtStatus
2
2
 
3
+ Statut du terrain
3
4
 
4
5
  ## Enum
5
6
 
6
- * `Available` (value: `'available'`)
7
+ * `Active` (value: `'active'`)
7
8
 
8
- * `Unavailable` (value: `'unavailable'`)
9
+ * `Maintenance` (value: `'maintenance'`)
10
+
11
+ * `Inactive` (value: `'inactive'`)
9
12
 
10
13
  [[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,16 +5,17 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
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]
8
+ **name** | **string** | Nom du club | [default to undefined]
9
+ **address** | **string** | Adresse du club | [default to undefined]
10
+ **city** | **string** | Ville du club | [default to undefined]
11
+ **zipCode** | **string** | Code postal du club | [default to undefined]
12
+ **country** | **string** | Pays du club | [default to undefined]
13
+ **phone** | **string** | Téléphone du club | [default to undefined]
14
+ **email** | **string** | Email du club | [default to undefined]
15
+ **website** | **string** | Site web du club | [optional] [default to undefined]
16
+ **description** | **string** | Description du club | [optional] [default to undefined]
17
+ **logo** | **string** | Logo du club | [optional] [default to undefined]
18
+ **isActive** | **boolean** | Statut actif du club | [optional] [default to true]
18
19
 
19
20
  ## Example
20
21
 
@@ -32,6 +33,7 @@ const instance: CreateClubRequest = {
32
33
  website,
33
34
  description,
34
35
  logo,
36
+ isActive,
35
37
  };
36
38
  ```
37
39
 
@@ -0,0 +1,28 @@
1
+ # CreateClubSettingsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [default to undefined]
9
+ **reservationStartTime** | **string** | | [optional] [default to undefined]
10
+ **reservationEndTime** | **string** | | [optional] [default to undefined]
11
+ **maxSimultaneousReservations** | **number** | | [optional] [default to undefined]
12
+ **allowWeekendReservations** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { CreateClubSettingsRequest } from '@tennac-booking/sdk';
18
+
19
+ const instance: CreateClubSettingsRequest = {
20
+ clubId,
21
+ reservationStartTime,
22
+ reservationEndTime,
23
+ maxSimultaneousReservations,
24
+ allowWeekendReservations,
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)
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **startTimeInTheDayInMinutes** | **number** | | [default to undefined]
14
14
  **endTimeInTheDayInMinutes** | **number** | | [default to undefined]
15
15
  **sportId** | **string** | | [default to undefined]
16
+ **isIndoor** | **boolean** | Indique si le terrain est en intérieur ou extérieur | [default to undefined]
16
17
 
17
18
  ## Example
18
19
 
@@ -28,6 +29,7 @@ const instance: CreateCourtRequest = {
28
29
  startTimeInTheDayInMinutes,
29
30
  endTimeInTheDayInMinutes,
30
31
  sportId,
32
+ isIndoor,
31
33
  };
32
34
  ```
33
35
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
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]
8
+ **amount** | **number** | Montant en centimes (ex: 2000 pour 20€) | [default to undefined]
9
+ **currency** | **string** | Devise | [default to 'eur']
10
+ **interval** | **string** | Intervalle de facturation | [default to undefined]
11
+ **intervalCount** | **number** | Nombre d\'intervalles entre chaque facturation | [optional] [default to 1]
12
12
 
13
13
  ## Example
14
14
 
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **clubId** | **string** | | [default to undefined]
9
9
  **key** | **string** | | [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
10
12
 
11
13
  ## Example
12
14
 
@@ -16,6 +18,8 @@ import { CreateSportRequest } from '@tennac-booking/sdk';
16
18
  const instance: CreateSportRequest = {
17
19
  clubId,
18
20
  key,
21
+ name,
22
+ description,
19
23
  };
20
24
  ```
21
25
 
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [default to undefined]
9
- **description** | **string** | | [default to undefined]
10
- **metadata** | **object** | | [optional] [default to undefined]
8
+ **name** | **string** | Nom du plan d\'abonnement | [default to undefined]
9
+ **description** | **string** | Description du plan d\'abonnement | [default to undefined]
10
+ **metadata** | **object** | Métadonnées additionnelles pour le plan | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -0,0 +1,20 @@
1
+ # DeleteClubSettingsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteClubSettingsRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteClubSettingsRequest = {
16
+ clubId,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,4 +1,4 @@
1
- # DeleteClub200Response
1
+ # DeleteSlotsResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { DeleteClub200Response } from '@tennac-booking/sdk';
13
+ import { DeleteSlotsResponse } from '@tennac-booking/sdk';
14
14
 
15
- const instance: DeleteClub200Response = {
15
+ const instance: DeleteSlotsResponse = {
16
16
  message,
17
17
  };
18
18
  ```
@@ -1,4 +1,4 @@
1
- # GenerateSlotsForNextThreeWeeks201Response
1
+ # DeleteSport200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { GenerateSlotsForNextThreeWeeks201Response } from '@tennac-booking/sdk';
13
+ import { DeleteSport200Response } from '@tennac-booking/sdk';
14
14
 
15
- const instance: GenerateSlotsForNextThreeWeeks201Response = {
15
+ const instance: DeleteSport200Response = {
16
16
  message,
17
17
  };
18
18
  ```