@tennac-booking/sdk 1.0.218 → 1.0.219
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 +24 -41
- package/README.md +38 -64
- package/api.ts +1733 -3004
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1419 -2447
- package/dist/api.js +932 -1382
- 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 +1419 -2447
- package/dist/esm/api.js +915 -1369
- 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/AgendaBooking.md +0 -2
- package/docs/BookingPopulated.md +1 -9
- package/docs/BookingSummary.md +0 -4
- package/docs/BookingsApi.md +79 -25
- package/docs/BookingsStaffApi.md +57 -1
- package/docs/BookingsUserApi.md +6 -6
- package/docs/CheckInPlayerSumupRequest.md +22 -0
- package/docs/CheckInPlayerSumupResponse.md +24 -0
- package/docs/CheckInSumupPaymentInfo.md +26 -0
- package/docs/ClubPageResponse.md +0 -14
- package/docs/ClubPricingPeriodResponse.md +6 -6
- package/docs/ClubReservationSettingsResponse.md +2 -2
- package/docs/ClubResponse.md +2 -12
- package/docs/ClubSummary.md +0 -6
- package/docs/CreateOpenBookingRequest.md +2 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -4
- package/docs/EventBookingDetailSummary.md +0 -2
- package/docs/EventBookingResponse.md +0 -2
- package/docs/EventResponse.md +0 -2
- package/docs/EventsApi.md +0 -58
- package/docs/EventsStaffApi.md +25 -119
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +0 -2
- package/docs/GetOpenBookingPrice200Response.md +24 -0
- package/docs/GetOpenBookingPriceRequest.md +26 -0
- package/docs/IUserAttributes.md +0 -4
- package/docs/JoinPriceEstimateResponse.md +38 -0
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
- package/docs/MyClubInfosResponse.md +2 -0
- package/docs/OpenBookingInfo.md +2 -4
- package/docs/OpenBookingSlotInfo.md +24 -0
- package/docs/PaymentIntentResult.md +28 -0
- package/docs/{SupportedLanguage.md → PaymentProviderType.md} +3 -3
- package/docs/{CourtEnvironment.md → PaymentStatus.md} +7 -3
- package/docs/PaymentsStaffApi.md +124 -0
- package/docs/PublicEmailApi.md +4 -4
- package/docs/QuickReservationClubSummary.md +0 -12
- package/docs/SportResponse.md +0 -2
- package/docs/StaffEventBookingResponse.md +0 -2
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/docs/StaffUserProfileResponse.md +0 -4
- package/docs/SubscriptionPlanDiscountResponse.md +0 -2
- package/docs/SubscriptionPlanDiscountUpdateRequest.md +0 -2
- package/docs/SumUpApi.md +63 -0
- package/docs/SumUpManagerApi.md +332 -0
- package/docs/SumupAccountStatusResponse.md +32 -0
- package/docs/{VerifyVerificationCodeResponse.md → SumupCancelPaymentRequest.md} +5 -5
- package/docs/{RequestVerificationCodeResponse.md → SumupConnectUrlResponse.md} +5 -5
- package/docs/SumupCreatePaymentRequest.md +32 -0
- package/docs/SumupOAuthCallbackResponse.md +24 -0
- package/docs/SumupPairReaderRequest.md +22 -0
- package/docs/{MarkNotificationsReadResponse.md → SumupPairReaderResponse.md} +5 -5
- package/docs/SumupReaderInfo.md +34 -0
- package/docs/{Health200Response.md → SumupReadersResponse.md} +5 -7
- package/docs/UpdateClubHoursSettingsRequest.md +1 -1
- package/docs/UpdateClubReservationSettingsRequest.md +2 -2
- package/docs/UserClubMembership.md +0 -2
- package/docs/UserProfileResponse.md +0 -12
- package/docs/UsersApi.md +0 -273
- package/docs/WaitListStaffApi.md +0 -55
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AuthApi.md +0 -113
- package/docs/ClubPageResponseClubCustomerStatus.md +0 -27
- package/docs/ClubPricingPeriodPayload.md +0 -32
- package/docs/ComingEventsPageResponse.md +0 -22
- package/docs/EstimateOpenBookingJoinRequest.md +0 -24
- package/docs/JobResult.md +0 -24
- package/docs/JobsApi.md +0 -367
- package/docs/JoinOpenBookingRequest.md +0 -28
- package/docs/MarkNotificationsReadRequest.md +0 -22
- package/docs/NotificationData.md +0 -22
- package/docs/NotificationParticipantPreview.md +0 -22
- package/docs/NotificationPreview.md +0 -60
- package/docs/NotificationResponse.md +0 -36
- package/docs/NotificationType.md +0 -26
- package/docs/OpenBookingBasePriceResponse.md +0 -24
- package/docs/OpenBookingJoinEstimateResponse.md +0 -26
- package/docs/OpenBookingPriceBody.md +0 -26
- package/docs/PartnerSearchItem.md +0 -28
- package/docs/PartnerSearchResponse.md +0 -22
- package/docs/PartnerSearchResponseMeta.md +0 -26
- package/docs/PricingPeriodDiscount.md +0 -24
- package/docs/QuickReservationCourtType.md +0 -10
- package/docs/RequestOrganizationEmailCodeBody.md +0 -22
- package/docs/RequestOrganizationEmailCodeResponse.md +0 -22
- package/docs/RequestVerificationCodeBody.md +0 -26
- package/docs/StaffEventsPageResponse.md +0 -22
- package/docs/UserNextBookingSummary.md +0 -26
- package/docs/UserNotificationsResponse.md +0 -22
- package/docs/UserNotificationsResponseMeta.md +0 -28
- package/docs/VerifyOrganizationEmailCodeBody.md +0 -24
- package/docs/VerifyOrganizationEmailCodeResponse.md +0 -22
- package/docs/VerifyVerificationCodeBody.md +0 -24
- package/docs/WaitListEntryWithPlayer.md +0 -44
- package/docs/WaitListPlayer.md +0 -28
- package/docs/WaitListPlayersListResponse.md +0 -22
package/docs/JobsApi.md
DELETED
|
@@ -1,367 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# JoinOpenBookingRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | Liste des parts de paiement par joueur (utiliser ceci OU isCreatorPayingAll) | [optional] [default to undefined]
|
|
9
|
-
**isCreatorPayingAll** | **boolean** | Indique si le joueur qui rejoint paie pour tous les joueurs qu\'il ajoute (incompatible avec playerShares) | [optional] [default to undefined]
|
|
10
|
-
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
11
|
-
**useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined]
|
|
12
|
-
**creditToUseInCents** | **number** | Crédit à utiliser en centimes | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { JoinOpenBookingRequest } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: JoinOpenBookingRequest = {
|
|
20
|
-
playerShares,
|
|
21
|
-
isCreatorPayingAll,
|
|
22
|
-
paymentMethod,
|
|
23
|
-
useDefaultPaymentMethod,
|
|
24
|
-
creditToUseInCents,
|
|
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,22 +0,0 @@
|
|
|
1
|
-
# MarkNotificationsReadRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**notificationIds** | **Array<string>** | | [optional] [default to undefined]
|
|
9
|
-
**readAll** | **boolean** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { MarkNotificationsReadRequest } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: MarkNotificationsReadRequest = {
|
|
17
|
-
notificationIds,
|
|
18
|
-
readAll,
|
|
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/NotificationData.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# NotificationData
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**pathname** | **string** | | [default to undefined]
|
|
9
|
-
**params** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { NotificationData } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: NotificationData = {
|
|
17
|
-
pathname,
|
|
18
|
-
params,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# NotificationParticipantPreview
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { NotificationParticipantPreview } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: NotificationParticipantPreview = {
|
|
17
|
-
id,
|
|
18
|
-
name,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# NotificationPreview
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookingId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**eventId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**eventBookingId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**clubName** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**clubPicture** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**courtName** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**eventName** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**startDate** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**endDate** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**reminderDelayHours** | **number** | | [optional] [default to undefined]
|
|
19
|
-
**reason** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**joinerId** | **string** | | [optional] [default to undefined]
|
|
21
|
-
**joinerName** | **string** | | [optional] [default to undefined]
|
|
22
|
-
**targetLabel** | **string** | | [optional] [default to undefined]
|
|
23
|
-
**targetType** | **string** | | [optional] [default to undefined]
|
|
24
|
-
**targetId** | **string** | | [optional] [default to undefined]
|
|
25
|
-
**priceInCents** | **number** | | [optional] [default to undefined]
|
|
26
|
-
**expiresAt** | **string** | | [optional] [default to undefined]
|
|
27
|
-
**waitingListPaymentHoldDuration** | **number** | | [optional] [default to undefined]
|
|
28
|
-
**participants** | [**Array<NotificationParticipantPreview>**](NotificationParticipantPreview.md) | | [optional] [default to undefined]
|
|
29
|
-
|
|
30
|
-
## Example
|
|
31
|
-
|
|
32
|
-
```typescript
|
|
33
|
-
import { NotificationPreview } from '@tennac-booking/sdk';
|
|
34
|
-
|
|
35
|
-
const instance: NotificationPreview = {
|
|
36
|
-
bookingId,
|
|
37
|
-
eventId,
|
|
38
|
-
eventBookingId,
|
|
39
|
-
clubId,
|
|
40
|
-
clubName,
|
|
41
|
-
clubPicture,
|
|
42
|
-
courtName,
|
|
43
|
-
eventName,
|
|
44
|
-
startDate,
|
|
45
|
-
endDate,
|
|
46
|
-
reminderDelayHours,
|
|
47
|
-
reason,
|
|
48
|
-
joinerId,
|
|
49
|
-
joinerName,
|
|
50
|
-
targetLabel,
|
|
51
|
-
targetType,
|
|
52
|
-
targetId,
|
|
53
|
-
priceInCents,
|
|
54
|
-
expiresAt,
|
|
55
|
-
waitingListPaymentHoldDuration,
|
|
56
|
-
participants,
|
|
57
|
-
};
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
[[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,36 +0,0 @@
|
|
|
1
|
-
# NotificationResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**type** | [**NotificationType**](NotificationType.md) | | [default to undefined]
|
|
10
|
-
**title** | **string** | | [default to undefined]
|
|
11
|
-
**message** | **string** | | [default to undefined]
|
|
12
|
-
**data** | [**NotificationData**](NotificationData.md) | | [optional] [default to undefined]
|
|
13
|
-
**preview** | [**NotificationPreview**](NotificationPreview.md) | | [optional] [default to undefined]
|
|
14
|
-
**createdAt** | **string** | | [default to undefined]
|
|
15
|
-
**readAt** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**isRead** | **boolean** | | [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { NotificationResponse } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: NotificationResponse = {
|
|
24
|
-
id,
|
|
25
|
-
type,
|
|
26
|
-
title,
|
|
27
|
-
message,
|
|
28
|
-
data,
|
|
29
|
-
preview,
|
|
30
|
-
createdAt,
|
|
31
|
-
readAt,
|
|
32
|
-
isRead,
|
|
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)
|
package/docs/NotificationType.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# NotificationType
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `BookingCreated` (value: `'booking_created'`)
|
|
7
|
-
|
|
8
|
-
* `BookingSetupRequired` (value: `'booking_setup_required'`)
|
|
9
|
-
|
|
10
|
-
* `BookingCancelled` (value: `'booking_cancelled'`)
|
|
11
|
-
|
|
12
|
-
* `BookingReminder` (value: `'booking_reminder'`)
|
|
13
|
-
|
|
14
|
-
* `EventRegistrationConfirmed` (value: `'event_registration_confirmed'`)
|
|
15
|
-
|
|
16
|
-
* `EventReminder` (value: `'event_reminder'`)
|
|
17
|
-
|
|
18
|
-
* `OpenBookingJoined` (value: `'open_booking_joined'`)
|
|
19
|
-
|
|
20
|
-
* `OpenBookingJoinConfirmed` (value: `'open_booking_join_confirmed'`)
|
|
21
|
-
|
|
22
|
-
* `WaitlistSpotAvailable` (value: `'waitlist_spot_available'`)
|
|
23
|
-
|
|
24
|
-
* `WaitlistConfirmed` (value: `'waitlist_confirmed'`)
|
|
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)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpenBookingBasePriceResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**basePricePerPlayer** | **number** | Prix de base par joueur (en centimes) pour rejoindre | [default to undefined]
|
|
9
|
-
**totalBasePrice** | **number** | Prix total de base de la réservation (en centimes) | [default to undefined]
|
|
10
|
-
**availableSlots** | **number** | Nombre de places restantes | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { OpenBookingBasePriceResponse } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: OpenBookingBasePriceResponse = {
|
|
18
|
-
basePricePerPlayer,
|
|
19
|
-
totalBasePrice,
|
|
20
|
-
availableSlots,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# OpenBookingJoinEstimateResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**basePricePerPlayer** | **number** | Prix de base par joueur (en centimes) | [default to undefined]
|
|
9
|
-
**playersPrices** | [**Array<PlayerPrice>**](PlayerPrice.md) | Détails de prix pour chaque joueur qui rejoint | [default to undefined]
|
|
10
|
-
**availableCreditsInCents** | **number** | Crédits disponibles pour l\'utilisateur qui demande à rejoindre (en centimes) | [default to undefined]
|
|
11
|
-
**availableSlots** | **number** | Nombre de places restantes | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { OpenBookingJoinEstimateResponse } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: OpenBookingJoinEstimateResponse = {
|
|
19
|
-
basePricePerPlayer,
|
|
20
|
-
playersPrices,
|
|
21
|
-
availableCreditsInCents,
|
|
22
|
-
availableSlots,
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# OpenBookingPriceBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**slotIds** | **Array<string>** | | [default to undefined]
|
|
9
|
-
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
10
|
-
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**maxPlayersDesired** | **number** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { OpenBookingPriceBody } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: OpenBookingPriceBody = {
|
|
19
|
-
slotIds,
|
|
20
|
-
playerShares,
|
|
21
|
-
creditToUseInCents,
|
|
22
|
-
maxPlayersDesired,
|
|
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)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# PartnerSearchItem
|
|
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
|
-
**profilePicture** | **string** | | [default to undefined]
|
|
12
|
-
**isFavorite** | **boolean** | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { PartnerSearchItem } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: PartnerSearchItem = {
|
|
20
|
-
id,
|
|
21
|
-
firstName,
|
|
22
|
-
lastName,
|
|
23
|
-
profilePicture,
|
|
24
|
-
isFavorite,
|
|
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)
|