@tennac-booking/sdk 1.0.193 → 1.0.195
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 +430 -425
- package/README.md +16 -2
- package/api.ts +847 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +523 -13
- package/dist/api.js +596 -6
- 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 +523 -13
- package/dist/esm/api.js +587 -1
- 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/BookingSummary.md +4 -0
- package/docs/ClubResponse.md +0 -2
- package/docs/EventBookingDetailSummary.md +2 -0
- package/docs/Health200Response.md +22 -0
- package/docs/JobResult.md +24 -0
- package/docs/JobsApi.md +367 -0
- package/docs/MyClubInfosResponse.md +0 -2
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/docs/WaitListEntryWithPlayer.md +44 -0
- package/docs/WaitListPlayer.md +28 -0
- package/docs/WaitListPlayersListResponse.md +22 -0
- package/docs/WaitListStaffApi.md +55 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/BookingSummary.md
CHANGED
|
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
|
|
|
52
52
|
**court** | [**BookingCourtInfo**](BookingCourtInfo.md) | | [optional] [default to undefined]
|
|
53
53
|
**sport** | [**BookingSportInfo**](BookingSportInfo.md) | | [optional] [default to undefined]
|
|
54
54
|
**players** | [**Array<BookingPlayerPaymentSummary>**](BookingPlayerPaymentSummary.md) | | [default to undefined]
|
|
55
|
+
**userParticipationStatus** | **string** | | [optional] [default to undefined]
|
|
56
|
+
**waitListPosition** | **number** | | [optional] [default to undefined]
|
|
55
57
|
|
|
56
58
|
## Example
|
|
57
59
|
|
|
@@ -106,6 +108,8 @@ const instance: BookingSummary = {
|
|
|
106
108
|
court,
|
|
107
109
|
sport,
|
|
108
110
|
players,
|
|
111
|
+
userParticipationStatus,
|
|
112
|
+
waitListPosition,
|
|
109
113
|
};
|
|
110
114
|
```
|
|
111
115
|
|
package/docs/ClubResponse.md
CHANGED
|
@@ -20,7 +20,6 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
21
21
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
22
22
|
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
23
|
-
**sameTimeBookingsLimit** | **number** | Limite de réservations simultanées (même créneau) | [optional] [default to undefined]
|
|
24
23
|
**maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
|
|
25
24
|
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
26
25
|
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
|
|
@@ -48,7 +47,6 @@ const instance: ClubResponse = {
|
|
|
48
47
|
isNoShowEnabled,
|
|
49
48
|
sports,
|
|
50
49
|
allowMultipleBookingsAtTheSameTime,
|
|
51
|
-
sameTimeBookingsLimit,
|
|
52
50
|
maxSlotsPerBooking,
|
|
53
51
|
cancellationLimitHours,
|
|
54
52
|
maxWeeklyBookings,
|
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
17
17
|
**waitListPosition** | **number** | Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement | [optional] [default to undefined]
|
|
18
|
+
**userParticipationStatus** | **string** | Statut de participation de l\'utilisateur pour cet event booking | [optional] [default to undefined]
|
|
18
19
|
**createdAt** | **string** | | [default to undefined]
|
|
19
20
|
**updatedAt** | **string** | | [default to undefined]
|
|
20
21
|
|
|
@@ -34,6 +35,7 @@ const instance: EventBookingDetailSummary = {
|
|
|
34
35
|
limitSetupDate,
|
|
35
36
|
limitCancellationDate,
|
|
36
37
|
waitListPosition,
|
|
38
|
+
userParticipationStatus,
|
|
37
39
|
createdAt,
|
|
38
40
|
updatedAt,
|
|
39
41
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Health200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**timestamp** | **string** | | [default to undefined]
|
|
9
|
+
**status** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Health200Response } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: Health200Response = {
|
|
17
|
+
timestamp,
|
|
18
|
+
status,
|
|
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
|
+
# JobResult
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**success** | **boolean** | | [default to undefined]
|
|
9
|
+
**job** | **string** | | [default to undefined]
|
|
10
|
+
**timestamp** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { JobResult } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: JobResult = {
|
|
18
|
+
success,
|
|
19
|
+
job,
|
|
20
|
+
timestamp,
|
|
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)
|
package/docs/JobsApi.md
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
# JobsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**captureExpiringAuthorizations**](#captureexpiringauthorizations) | **GET** /api/jobs/capture-expiring-authorizations | Capture les autorisations Stripe qui expirent dans moins de 4h|
|
|
8
|
+
|[**capturePastReservations**](#capturepastreservations) | **GET** /api/jobs/capture-past-reservations | Capture les paiements autorisés pour les réservations passées|
|
|
9
|
+
|[**expireBookingWaitingPayments**](#expirebookingwaitingpayments) | **GET** /api/jobs/expire-booking-waiting-payments | Expire les réservations en attente de paiement|
|
|
10
|
+
|[**expireWaitlistPayments**](#expirewaitlistpayments) | **GET** /api/jobs/expire-waitlist-payments | Expire les paiements en attente sur la waitlist|
|
|
11
|
+
|[**health**](#health) | **GET** /api/jobs/health | Health check pour les jobs|
|
|
12
|
+
|[**maintainSlots**](#maintainslots) | **GET** /api/jobs/maintain-slots | Génère les créneaux futurs et nettoie les anciens|
|
|
13
|
+
|[**releaseOldBookings**](#releaseoldbookings) | **GET** /api/jobs/release-old-bookings | Libère les anciennes réservations terminées|
|
|
14
|
+
|[**sendBookingReminders**](#sendbookingreminders) | **GET** /api/jobs/send-booking-reminders | Envoie des emails de rappel 24h avant les réservations et événements|
|
|
15
|
+
|
|
16
|
+
# **captureExpiringAuthorizations**
|
|
17
|
+
> JobResult captureExpiringAuthorizations()
|
|
18
|
+
|
|
19
|
+
Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
20
|
+
|
|
21
|
+
### Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import {
|
|
25
|
+
JobsApi,
|
|
26
|
+
Configuration
|
|
27
|
+
} from '@tennac-booking/sdk';
|
|
28
|
+
|
|
29
|
+
const configuration = new Configuration();
|
|
30
|
+
const apiInstance = new JobsApi(configuration);
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.captureExpiringAuthorizations();
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
This endpoint does not have any parameters.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**JobResult**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
No authorization required
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: Not defined
|
|
50
|
+
- **Accept**: application/json
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**200** | Job executed successfully | - |
|
|
57
|
+
|
|
58
|
+
[[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)
|
|
59
|
+
|
|
60
|
+
# **capturePastReservations**
|
|
61
|
+
> JobResult capturePastReservations()
|
|
62
|
+
|
|
63
|
+
Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
64
|
+
|
|
65
|
+
### Example
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
import {
|
|
69
|
+
JobsApi,
|
|
70
|
+
Configuration
|
|
71
|
+
} from '@tennac-booking/sdk';
|
|
72
|
+
|
|
73
|
+
const configuration = new Configuration();
|
|
74
|
+
const apiInstance = new JobsApi(configuration);
|
|
75
|
+
|
|
76
|
+
const { status, data } = await apiInstance.capturePastReservations();
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Parameters
|
|
80
|
+
This endpoint does not have any parameters.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Return type
|
|
84
|
+
|
|
85
|
+
**JobResult**
|
|
86
|
+
|
|
87
|
+
### Authorization
|
|
88
|
+
|
|
89
|
+
No authorization required
|
|
90
|
+
|
|
91
|
+
### HTTP request headers
|
|
92
|
+
|
|
93
|
+
- **Content-Type**: Not defined
|
|
94
|
+
- **Accept**: application/json
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### HTTP response details
|
|
98
|
+
| Status code | Description | Response headers |
|
|
99
|
+
|-------------|-------------|------------------|
|
|
100
|
+
|**200** | Job executed successfully | - |
|
|
101
|
+
|
|
102
|
+
[[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)
|
|
103
|
+
|
|
104
|
+
# **expireBookingWaitingPayments**
|
|
105
|
+
> JobResult expireBookingWaitingPayments()
|
|
106
|
+
|
|
107
|
+
Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
108
|
+
|
|
109
|
+
### Example
|
|
110
|
+
|
|
111
|
+
```typescript
|
|
112
|
+
import {
|
|
113
|
+
JobsApi,
|
|
114
|
+
Configuration
|
|
115
|
+
} from '@tennac-booking/sdk';
|
|
116
|
+
|
|
117
|
+
const configuration = new Configuration();
|
|
118
|
+
const apiInstance = new JobsApi(configuration);
|
|
119
|
+
|
|
120
|
+
const { status, data } = await apiInstance.expireBookingWaitingPayments();
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Parameters
|
|
124
|
+
This endpoint does not have any parameters.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Return type
|
|
128
|
+
|
|
129
|
+
**JobResult**
|
|
130
|
+
|
|
131
|
+
### Authorization
|
|
132
|
+
|
|
133
|
+
No authorization required
|
|
134
|
+
|
|
135
|
+
### HTTP request headers
|
|
136
|
+
|
|
137
|
+
- **Content-Type**: Not defined
|
|
138
|
+
- **Accept**: application/json
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### HTTP response details
|
|
142
|
+
| Status code | Description | Response headers |
|
|
143
|
+
|-------------|-------------|------------------|
|
|
144
|
+
|**200** | Job executed successfully | - |
|
|
145
|
+
|
|
146
|
+
[[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)
|
|
147
|
+
|
|
148
|
+
# **expireWaitlistPayments**
|
|
149
|
+
> JobResult expireWaitlistPayments()
|
|
150
|
+
|
|
151
|
+
Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
152
|
+
|
|
153
|
+
### Example
|
|
154
|
+
|
|
155
|
+
```typescript
|
|
156
|
+
import {
|
|
157
|
+
JobsApi,
|
|
158
|
+
Configuration
|
|
159
|
+
} from '@tennac-booking/sdk';
|
|
160
|
+
|
|
161
|
+
const configuration = new Configuration();
|
|
162
|
+
const apiInstance = new JobsApi(configuration);
|
|
163
|
+
|
|
164
|
+
const { status, data } = await apiInstance.expireWaitlistPayments();
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Parameters
|
|
168
|
+
This endpoint does not have any parameters.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Return type
|
|
172
|
+
|
|
173
|
+
**JobResult**
|
|
174
|
+
|
|
175
|
+
### Authorization
|
|
176
|
+
|
|
177
|
+
No authorization required
|
|
178
|
+
|
|
179
|
+
### HTTP request headers
|
|
180
|
+
|
|
181
|
+
- **Content-Type**: Not defined
|
|
182
|
+
- **Accept**: application/json
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### HTTP response details
|
|
186
|
+
| Status code | Description | Response headers |
|
|
187
|
+
|-------------|-------------|------------------|
|
|
188
|
+
|**200** | Job executed successfully | - |
|
|
189
|
+
|
|
190
|
+
[[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)
|
|
191
|
+
|
|
192
|
+
# **health**
|
|
193
|
+
> Health200Response health()
|
|
194
|
+
|
|
195
|
+
Route de santé pour vérifier que le service jobs est opérationnel
|
|
196
|
+
|
|
197
|
+
### Example
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
200
|
+
import {
|
|
201
|
+
JobsApi,
|
|
202
|
+
Configuration
|
|
203
|
+
} from '@tennac-booking/sdk';
|
|
204
|
+
|
|
205
|
+
const configuration = new Configuration();
|
|
206
|
+
const apiInstance = new JobsApi(configuration);
|
|
207
|
+
|
|
208
|
+
const { status, data } = await apiInstance.health();
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Parameters
|
|
212
|
+
This endpoint does not have any parameters.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
### Return type
|
|
216
|
+
|
|
217
|
+
**Health200Response**
|
|
218
|
+
|
|
219
|
+
### Authorization
|
|
220
|
+
|
|
221
|
+
No authorization required
|
|
222
|
+
|
|
223
|
+
### HTTP request headers
|
|
224
|
+
|
|
225
|
+
- **Content-Type**: Not defined
|
|
226
|
+
- **Accept**: application/json
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### HTTP response details
|
|
230
|
+
| Status code | Description | Response headers |
|
|
231
|
+
|-------------|-------------|------------------|
|
|
232
|
+
|**200** | Service is healthy | - |
|
|
233
|
+
|
|
234
|
+
[[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)
|
|
235
|
+
|
|
236
|
+
# **maintainSlots**
|
|
237
|
+
> JobResult maintainSlots()
|
|
238
|
+
|
|
239
|
+
Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
240
|
+
|
|
241
|
+
### Example
|
|
242
|
+
|
|
243
|
+
```typescript
|
|
244
|
+
import {
|
|
245
|
+
JobsApi,
|
|
246
|
+
Configuration
|
|
247
|
+
} from '@tennac-booking/sdk';
|
|
248
|
+
|
|
249
|
+
const configuration = new Configuration();
|
|
250
|
+
const apiInstance = new JobsApi(configuration);
|
|
251
|
+
|
|
252
|
+
const { status, data } = await apiInstance.maintainSlots();
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Parameters
|
|
256
|
+
This endpoint does not have any parameters.
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Return type
|
|
260
|
+
|
|
261
|
+
**JobResult**
|
|
262
|
+
|
|
263
|
+
### Authorization
|
|
264
|
+
|
|
265
|
+
No authorization required
|
|
266
|
+
|
|
267
|
+
### HTTP request headers
|
|
268
|
+
|
|
269
|
+
- **Content-Type**: Not defined
|
|
270
|
+
- **Accept**: application/json
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### HTTP response details
|
|
274
|
+
| Status code | Description | Response headers |
|
|
275
|
+
|-------------|-------------|------------------|
|
|
276
|
+
|**200** | Job executed successfully | - |
|
|
277
|
+
|
|
278
|
+
[[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)
|
|
279
|
+
|
|
280
|
+
# **releaseOldBookings**
|
|
281
|
+
> JobResult releaseOldBookings()
|
|
282
|
+
|
|
283
|
+
Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
284
|
+
|
|
285
|
+
### Example
|
|
286
|
+
|
|
287
|
+
```typescript
|
|
288
|
+
import {
|
|
289
|
+
JobsApi,
|
|
290
|
+
Configuration
|
|
291
|
+
} from '@tennac-booking/sdk';
|
|
292
|
+
|
|
293
|
+
const configuration = new Configuration();
|
|
294
|
+
const apiInstance = new JobsApi(configuration);
|
|
295
|
+
|
|
296
|
+
const { status, data } = await apiInstance.releaseOldBookings();
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### Parameters
|
|
300
|
+
This endpoint does not have any parameters.
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
### Return type
|
|
304
|
+
|
|
305
|
+
**JobResult**
|
|
306
|
+
|
|
307
|
+
### Authorization
|
|
308
|
+
|
|
309
|
+
No authorization required
|
|
310
|
+
|
|
311
|
+
### HTTP request headers
|
|
312
|
+
|
|
313
|
+
- **Content-Type**: Not defined
|
|
314
|
+
- **Accept**: application/json
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### HTTP response details
|
|
318
|
+
| Status code | Description | Response headers |
|
|
319
|
+
|-------------|-------------|------------------|
|
|
320
|
+
|**200** | Job executed successfully | - |
|
|
321
|
+
|
|
322
|
+
[[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)
|
|
323
|
+
|
|
324
|
+
# **sendBookingReminders**
|
|
325
|
+
> JobResult sendBookingReminders()
|
|
326
|
+
|
|
327
|
+
Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
328
|
+
|
|
329
|
+
### Example
|
|
330
|
+
|
|
331
|
+
```typescript
|
|
332
|
+
import {
|
|
333
|
+
JobsApi,
|
|
334
|
+
Configuration
|
|
335
|
+
} from '@tennac-booking/sdk';
|
|
336
|
+
|
|
337
|
+
const configuration = new Configuration();
|
|
338
|
+
const apiInstance = new JobsApi(configuration);
|
|
339
|
+
|
|
340
|
+
const { status, data } = await apiInstance.sendBookingReminders();
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
### Parameters
|
|
344
|
+
This endpoint does not have any parameters.
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
### Return type
|
|
348
|
+
|
|
349
|
+
**JobResult**
|
|
350
|
+
|
|
351
|
+
### Authorization
|
|
352
|
+
|
|
353
|
+
No authorization required
|
|
354
|
+
|
|
355
|
+
### HTTP request headers
|
|
356
|
+
|
|
357
|
+
- **Content-Type**: Not defined
|
|
358
|
+
- **Accept**: application/json
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### HTTP response details
|
|
362
|
+
| Status code | Description | Response headers |
|
|
363
|
+
|-------------|-------------|------------------|
|
|
364
|
+
|**200** | Job executed successfully | - |
|
|
365
|
+
|
|
366
|
+
[[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)
|
|
367
|
+
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**remainingBookings** | **number** | | [default to undefined]
|
|
9
|
-
**sameTimeBookingsLimit** | **number** | | [optional] [default to undefined]
|
|
10
9
|
**availableCredit** | **number** | | [default to undefined]
|
|
11
10
|
**subscriptionPlans** | **Array<any>** | | [optional] [default to undefined]
|
|
12
11
|
|
|
@@ -17,7 +16,6 @@ import { MyClubInfosResponse } from '@tennac-booking/sdk';
|
|
|
17
16
|
|
|
18
17
|
const instance: MyClubInfosResponse = {
|
|
19
18
|
remainingBookings,
|
|
20
|
-
sameTimeBookingsLimit,
|
|
21
19
|
availableCredit,
|
|
22
20
|
subscriptionPlans,
|
|
23
21
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# StaffEventsPaginatedResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**upcoming** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
9
|
+
**past** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
10
|
+
**upcomingPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
11
|
+
**pastPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { StaffEventsPaginatedResponse } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: StaffEventsPaginatedResponse = {
|
|
19
|
+
upcoming,
|
|
20
|
+
past,
|
|
21
|
+
upcomingPagination,
|
|
22
|
+
pastPagination,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# WaitListEntryWithPlayer
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**userId** | **string** | | [default to undefined]
|
|
10
|
+
**clubId** | **string** | | [default to undefined]
|
|
11
|
+
**targetType** | **string** | | [default to undefined]
|
|
12
|
+
**targetId** | **string** | | [default to undefined]
|
|
13
|
+
**status** | **string** | | [default to undefined]
|
|
14
|
+
**position** | **number** | | [default to undefined]
|
|
15
|
+
**priceInCents** | **number** | | [default to undefined]
|
|
16
|
+
**joinedAt** | **string** | | [default to undefined]
|
|
17
|
+
**notifiedAt** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**paymentExpiresAt** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**confirmedAt** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**player** | [**WaitListPlayer**](WaitListPlayer.md) | | [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { WaitListEntryWithPlayer } from '@tennac-booking/sdk';
|
|
26
|
+
|
|
27
|
+
const instance: WaitListEntryWithPlayer = {
|
|
28
|
+
id,
|
|
29
|
+
userId,
|
|
30
|
+
clubId,
|
|
31
|
+
targetType,
|
|
32
|
+
targetId,
|
|
33
|
+
status,
|
|
34
|
+
position,
|
|
35
|
+
priceInCents,
|
|
36
|
+
joinedAt,
|
|
37
|
+
notifiedAt,
|
|
38
|
+
paymentExpiresAt,
|
|
39
|
+
confirmedAt,
|
|
40
|
+
player,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# WaitListPlayer
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [default to undefined]
|
|
11
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WaitListPlayer } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: WaitListPlayer = {
|
|
20
|
+
id,
|
|
21
|
+
firstName,
|
|
22
|
+
lastName,
|
|
23
|
+
username,
|
|
24
|
+
profilePicture,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# WaitListPlayersListResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**waitList** | [**Array<WaitListEntryWithPlayer>**](WaitListEntryWithPlayer.md) | | [default to undefined]
|
|
9
|
+
**total** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { WaitListPlayersListResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: WaitListPlayersListResponse = {
|
|
17
|
+
waitList,
|
|
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)
|