@tennac-booking/sdk 1.0.10 → 1.0.12

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 (66) hide show
  1. package/.openapi-generator/FILES +56 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +95 -4
  4. package/api.ts +6129 -367
  5. package/common.ts +4 -4
  6. package/dist/api.d.ts +4124 -295
  7. package/dist/api.js +3318 -58
  8. package/dist/esm/api.d.ts +4124 -295
  9. package/dist/esm/api.js +3282 -58
  10. package/docs/AddClubMemberRequest.md +22 -0
  11. package/docs/AddClubMemberResponse.md +22 -0
  12. package/docs/BlockSlotResponse.md +22 -0
  13. package/docs/BookingResponse.md +28 -0
  14. package/docs/BookingsApi.md +120 -0
  15. package/docs/Club.md +46 -0
  16. package/docs/ClubCourtsApi.md +118 -0
  17. package/docs/ClubInfoResponse.md +46 -0
  18. package/docs/ClubListResponse.md +22 -0
  19. package/docs/ClubMember.md +34 -0
  20. package/docs/ClubMembersResponse.md +22 -0
  21. package/docs/ClubResponse.md +46 -0
  22. package/docs/ClubRole.md +30 -0
  23. package/docs/ClubRoleResponse.md +30 -0
  24. package/docs/ClubRolesApi.md +268 -0
  25. package/docs/ClubRolesResponse.md +22 -0
  26. package/docs/ClubSettings.md +28 -0
  27. package/docs/ClubSettingsApi.md +227 -0
  28. package/docs/ClubSlotsApi.md +300 -0
  29. package/docs/ClubSportsApi.md +118 -0
  30. package/docs/ClubSubscriptionsApi.md +408 -0
  31. package/docs/ClubsApi.md +432 -0
  32. package/docs/CourtResponse.md +44 -0
  33. package/docs/CourtsResponse.md +22 -0
  34. package/docs/CreateBookingRequest.md +28 -0
  35. package/docs/CreateClubRequest.md +38 -0
  36. package/docs/CreateClubRoleRequestBody.md +24 -0
  37. package/docs/CreateCourtRequest.md +34 -0
  38. package/docs/CreatePriceRequest.md +26 -0
  39. package/docs/CreateSportRequest.md +22 -0
  40. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  41. package/docs/DeleteClub200Response.md +20 -0
  42. package/docs/DeleteClubRole200Response.md +20 -0
  43. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  44. package/docs/GenerateSlotsForNextThreeWeeks201Response.md +20 -0
  45. package/docs/GetAllSportsRequest.md +20 -0
  46. package/docs/GetClubSettingsRequest.md +20 -0
  47. package/docs/GetUserRolesInClubs200Response.md +20 -0
  48. package/docs/PaymentMethod.md +11 -0
  49. package/docs/PlayerWithPaymentMethod.md +22 -0
  50. package/docs/PriceResponse.md +38 -0
  51. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  52. package/docs/SlotResponse.md +40 -0
  53. package/docs/SlotsResponse.md +22 -0
  54. package/docs/Sport.md +24 -0
  55. package/docs/SportResponse.md +34 -0
  56. package/docs/SportsApi.md +229 -0
  57. package/docs/SportsResponse.md +22 -0
  58. package/docs/SubscriptionPlan.md +36 -0
  59. package/docs/SubscriptionPlanResponse.md +36 -0
  60. package/docs/UpdateClubRequest.md +40 -0
  61. package/docs/UpdateClubRoleRequestBody.md +24 -0
  62. package/docs/UpdateSportRequest.md +20 -0
  63. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  64. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  65. package/docs/UsersApi.md +77 -46
  66. package/package.json +1 -29
@@ -0,0 +1,20 @@
1
+ # DeleteClub200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteClub200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteClub200Response = {
16
+ message,
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)
@@ -0,0 +1,20 @@
1
+ # DeleteClubRole200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteClubRole200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteClubRole200Response = {
16
+ message,
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)
@@ -0,0 +1,20 @@
1
+ # DeleteSlotsByClubInRange200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteSlotsByClubInRange200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: DeleteSlotsByClubInRange200Response = {
16
+ message,
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)
@@ -0,0 +1,20 @@
1
+ # GenerateSlotsForNextThreeWeeks201Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GenerateSlotsForNextThreeWeeks201Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GenerateSlotsForNextThreeWeeks201Response = {
16
+ message,
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)
@@ -0,0 +1,20 @@
1
+ # GetAllSportsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clubId** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetAllSportsRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetAllSportsRequest = {
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)
@@ -0,0 +1,20 @@
1
+ # GetClubSettingsRequest
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 { GetClubSettingsRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetClubSettingsRequest = {
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)
@@ -0,0 +1,20 @@
1
+ # GetUserRolesInClubs200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **roles** | [**Array<ClubRole>**](ClubRole.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetUserRolesInClubs200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: GetUserRolesInClubs200Response = {
16
+ roles,
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)
@@ -0,0 +1,11 @@
1
+ # PaymentMethod
2
+
3
+ Méthode de paiement
4
+
5
+ ## Enum
6
+
7
+ * `Online` (value: `'online'`)
8
+
9
+ * `Onsite` (value: `'onsite'`)
10
+
11
+ [[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
+ # PlayerWithPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID du joueur | [default to undefined]
9
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PlayerWithPaymentMethod } from '@tennac-booking/sdk';
15
+
16
+ const instance: PlayerWithPaymentMethod = {
17
+ id,
18
+ paymentMethod,
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,38 @@
1
+ # PriceResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **stripePriceId** | **string** | | [optional] [default to undefined]
10
+ **amount** | **number** | | [optional] [default to undefined]
11
+ **currency** | **string** | | [optional] [default to undefined]
12
+ **interval** | **string** | | [optional] [default to undefined]
13
+ **intervalCount** | **number** | | [optional] [default to undefined]
14
+ **isActive** | **boolean** | | [optional] [default to undefined]
15
+ **productId** | **string** | | [optional] [default to undefined]
16
+ **createdAt** | **string** | | [optional] [default to undefined]
17
+ **updatedAt** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { PriceResponse } from '@tennac-booking/sdk';
23
+
24
+ const instance: PriceResponse = {
25
+ id,
26
+ stripePriceId,
27
+ amount,
28
+ currency,
29
+ interval,
30
+ intervalCount,
31
+ isActive,
32
+ productId,
33
+ createdAt,
34
+ updatedAt,
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,20 @@
1
+ # RestoreSubscriptionPlanForClub200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RestoreSubscriptionPlanForClub200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: RestoreSubscriptionPlanForClub200Response = {
16
+ message,
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)
@@ -0,0 +1,40 @@
1
+ # SlotResponse
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** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **sportId** | **string** | | [optional] [default to undefined]
14
+ **isAvailable** | **boolean** | | [optional] [default to undefined]
15
+ **price** | **number** | | [optional] [default to undefined]
16
+ **court** | [**CourtResponse**](CourtResponse.md) | | [optional] [default to undefined]
17
+ **createdAt** | **string** | | [optional] [default to undefined]
18
+ **updatedAt** | **string** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { SlotResponse } from '@tennac-booking/sdk';
24
+
25
+ const instance: SlotResponse = {
26
+ id,
27
+ startDate,
28
+ endDate,
29
+ courtId,
30
+ clubId,
31
+ sportId,
32
+ isAvailable,
33
+ price,
34
+ court,
35
+ createdAt,
36
+ updatedAt,
37
+ };
38
+ ```
39
+
40
+ [[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
+ # SlotsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slots** | [**Array<SlotResponse>**](SlotResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SlotsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: SlotsResponse = {
17
+ slots,
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)
package/docs/Sport.md ADDED
@@ -0,0 +1,24 @@
1
+ # Sport
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **clubId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { Sport } from '@tennac-booking/sdk';
16
+
17
+ const instance: Sport = {
18
+ _id,
19
+ key,
20
+ clubId,
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
+ # SportResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **isActive** | **boolean** | | [optional] [default to undefined]
14
+ **createdAt** | **string** | | [optional] [default to undefined]
15
+ **updatedAt** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { SportResponse } from '@tennac-booking/sdk';
21
+
22
+ const instance: SportResponse = {
23
+ id,
24
+ key,
25
+ name,
26
+ description,
27
+ clubId,
28
+ isActive,
29
+ createdAt,
30
+ updatedAt,
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,229 @@
1
+ # SportsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createSport**](#createsport) | **POST** /api/sports | Crée un sport dans un club|
8
+ |[**deleteSport**](#deletesport) | **DELETE** /api/sports/{id} | Supprime un sport|
9
+ |[**getAllSports**](#getallsports) | **GET** /api/sports | Récupère la liste des sports d’un club|
10
+ |[**updateSport**](#updatesport) | **PUT** /api/sports/{id} | Met à jour un sport|
11
+
12
+ # **createSport**
13
+ > Sport createSport(createSportRequest)
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ SportsApi,
21
+ Configuration,
22
+ CreateSportRequest
23
+ } from '@tennac-booking/sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new SportsApi(configuration);
27
+
28
+ let createSportRequest: CreateSportRequest; //
29
+
30
+ const { status, data } = await apiInstance.createSport(
31
+ createSportRequest
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **createSportRequest** | **CreateSportRequest**| | |
40
+
41
+
42
+ ### Return type
43
+
44
+ **Sport**
45
+
46
+ ### Authorization
47
+
48
+ [bearerAuth](../README.md#bearerAuth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**201** | Sport créé | - |
60
+ |**400** | Requête invalide | - |
61
+ |**401** | Non autorisé | - |
62
+ |**500** | Erreur serveur interne | - |
63
+
64
+ [[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)
65
+
66
+ # **deleteSport**
67
+ > deleteSport()
68
+
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ SportsApi,
75
+ Configuration
76
+ } from '@tennac-booking/sdk';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new SportsApi(configuration);
80
+
81
+ let id: string; //ID du sport (default to undefined)
82
+
83
+ const { status, data } = await apiInstance.deleteSport(
84
+ id
85
+ );
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ |Name | Type | Description | Notes|
91
+ |------------- | ------------- | ------------- | -------------|
92
+ | **id** | [**string**] | ID du sport | defaults to undefined|
93
+
94
+
95
+ ### Return type
96
+
97
+ void (empty response body)
98
+
99
+ ### Authorization
100
+
101
+ [bearerAuth](../README.md#bearerAuth)
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
107
+
108
+
109
+ ### HTTP response details
110
+ | Status code | Description | Response headers |
111
+ |-------------|-------------|------------------|
112
+ |**200** | Sport supprimé | - |
113
+ |**401** | Non autorisé | - |
114
+ |**404** | Sport non trouvé | - |
115
+ |**500** | Erreur serveur interne | - |
116
+
117
+ [[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)
118
+
119
+ # **getAllSports**
120
+ > Array<Sport> getAllSports(getAllSportsRequest)
121
+
122
+
123
+ ### Example
124
+
125
+ ```typescript
126
+ import {
127
+ SportsApi,
128
+ Configuration,
129
+ GetAllSportsRequest
130
+ } from '@tennac-booking/sdk';
131
+
132
+ const configuration = new Configuration();
133
+ const apiInstance = new SportsApi(configuration);
134
+
135
+ let getAllSportsRequest: GetAllSportsRequest; //
136
+
137
+ const { status, data } = await apiInstance.getAllSports(
138
+ getAllSportsRequest
139
+ );
140
+ ```
141
+
142
+ ### Parameters
143
+
144
+ |Name | Type | Description | Notes|
145
+ |------------- | ------------- | ------------- | -------------|
146
+ | **getAllSportsRequest** | **GetAllSportsRequest**| | |
147
+
148
+
149
+ ### Return type
150
+
151
+ **Array<Sport>**
152
+
153
+ ### Authorization
154
+
155
+ [bearerAuth](../README.md#bearerAuth)
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: application/json
160
+ - **Accept**: application/json
161
+
162
+
163
+ ### HTTP response details
164
+ | Status code | Description | Response headers |
165
+ |-------------|-------------|------------------|
166
+ |**200** | Liste des sports | - |
167
+ |**400** | Requête invalide | - |
168
+ |**401** | Non autorisé | - |
169
+ |**500** | Erreur serveur interne | - |
170
+
171
+ [[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)
172
+
173
+ # **updateSport**
174
+ > Sport updateSport(updateSportRequest)
175
+
176
+
177
+ ### Example
178
+
179
+ ```typescript
180
+ import {
181
+ SportsApi,
182
+ Configuration,
183
+ UpdateSportRequest
184
+ } from '@tennac-booking/sdk';
185
+
186
+ const configuration = new Configuration();
187
+ const apiInstance = new SportsApi(configuration);
188
+
189
+ let id: string; //ID du sport (default to undefined)
190
+ let updateSportRequest: UpdateSportRequest; //
191
+
192
+ const { status, data } = await apiInstance.updateSport(
193
+ id,
194
+ updateSportRequest
195
+ );
196
+ ```
197
+
198
+ ### Parameters
199
+
200
+ |Name | Type | Description | Notes|
201
+ |------------- | ------------- | ------------- | -------------|
202
+ | **updateSportRequest** | **UpdateSportRequest**| | |
203
+ | **id** | [**string**] | ID du sport | defaults to undefined|
204
+
205
+
206
+ ### Return type
207
+
208
+ **Sport**
209
+
210
+ ### Authorization
211
+
212
+ [bearerAuth](../README.md#bearerAuth)
213
+
214
+ ### HTTP request headers
215
+
216
+ - **Content-Type**: application/json
217
+ - **Accept**: application/json
218
+
219
+
220
+ ### HTTP response details
221
+ | Status code | Description | Response headers |
222
+ |-------------|-------------|------------------|
223
+ |**200** | Sport mis à jour | - |
224
+ |**401** | Non autorisé | - |
225
+ |**404** | Sport non trouvé | - |
226
+ |**500** | Erreur serveur interne | - |
227
+
228
+ [[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)
229
+
@@ -0,0 +1,22 @@
1
+ # SportsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sports** | [**Array&lt;SportResponse&gt;**](SportResponse.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SportsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: SportsResponse = {
17
+ sports,
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,36 @@
1
+ # SubscriptionPlan
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **stripeProductId** | **string** | | [optional] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **isActive** | **boolean** | | [optional] [default to undefined]
14
+ **createdAt** | **string** | | [optional] [default to undefined]
15
+ **updatedAt** | **string** | | [optional] [default to undefined]
16
+ **prices** | [**Array&lt;PriceResponse&gt;**](PriceResponse.md) | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { SubscriptionPlan } from '@tennac-booking/sdk';
22
+
23
+ const instance: SubscriptionPlan = {
24
+ id,
25
+ stripeProductId,
26
+ name,
27
+ description,
28
+ clubId,
29
+ isActive,
30
+ createdAt,
31
+ updatedAt,
32
+ prices,
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)
@@ -0,0 +1,36 @@
1
+ # SubscriptionPlanResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **stripeProductId** | **string** | | [optional] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **isActive** | **boolean** | | [optional] [default to undefined]
14
+ **createdAt** | **string** | | [optional] [default to undefined]
15
+ **updatedAt** | **string** | | [optional] [default to undefined]
16
+ **prices** | [**Array&lt;PriceResponse&gt;**](PriceResponse.md) | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { SubscriptionPlanResponse } from '@tennac-booking/sdk';
22
+
23
+ const instance: SubscriptionPlanResponse = {
24
+ id,
25
+ stripeProductId,
26
+ name,
27
+ description,
28
+ clubId,
29
+ isActive,
30
+ createdAt,
31
+ updatedAt,
32
+ prices,
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)