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