@tennac-booking/sdk 1.0.18 → 1.0.19
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 +14 -0
- package/README.md +17 -0
- package/api.ts +1043 -52
- package/dist/api.d.ts +764 -29
- package/dist/api.js +454 -3
- package/dist/esm/api.d.ts +764 -29
- package/dist/esm/api.js +443 -0
- package/docs/BookingPaymentStatusResponse.md +24 -0
- package/docs/BookingPaymentStatusResponseBooking.md +26 -0
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
- package/docs/BookingPaymentStatusResponseSummary.md +28 -0
- package/docs/BookingsApi.md +68 -0
- package/docs/CancelBookingRequest.md +20 -0
- package/docs/CancelBookingResponse.md +2 -2
- package/docs/CancelBookingResponseBooking.md +6 -6
- package/docs/CheckInPlayersRequest.md +20 -0
- package/docs/CheckInPlayersResponse.md +30 -0
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
- package/docs/ClubInfoResponse.md +2 -0
- package/docs/ManagerBookingsApi.md +243 -0
- package/docs/ManagerCancelBookingRequest.md +20 -0
- package/docs/ManagerCancelBookingResponse.md +2 -2
- package/docs/ManagerCancelBookingResponseBooking.md +6 -6
- package/docs/NoShowFeeResponse.md +30 -0
- package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
- package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -170,6 +170,165 @@ export interface Booking {
|
|
|
170
170
|
*/
|
|
171
171
|
'slotId': string;
|
|
172
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @export
|
|
176
|
+
* @interface BookingPaymentStatusResponse
|
|
177
|
+
*/
|
|
178
|
+
export interface BookingPaymentStatusResponse {
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {BookingPaymentStatusResponseBooking}
|
|
182
|
+
* @memberof BookingPaymentStatusResponse
|
|
183
|
+
*/
|
|
184
|
+
'booking'?: BookingPaymentStatusResponseBooking;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {Array<BookingPaymentStatusResponsePaymentStatusInner>}
|
|
188
|
+
* @memberof BookingPaymentStatusResponse
|
|
189
|
+
*/
|
|
190
|
+
'paymentStatus'?: Array<BookingPaymentStatusResponsePaymentStatusInner>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {BookingPaymentStatusResponseSummary}
|
|
194
|
+
* @memberof BookingPaymentStatusResponse
|
|
195
|
+
*/
|
|
196
|
+
'summary'?: BookingPaymentStatusResponseSummary;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @export
|
|
201
|
+
* @interface BookingPaymentStatusResponseBooking
|
|
202
|
+
*/
|
|
203
|
+
export interface BookingPaymentStatusResponseBooking {
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof BookingPaymentStatusResponseBooking
|
|
208
|
+
*/
|
|
209
|
+
'id'?: string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof BookingPaymentStatusResponseBooking
|
|
214
|
+
*/
|
|
215
|
+
'status'?: string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {boolean}
|
|
219
|
+
* @memberof BookingPaymentStatusResponseBooking
|
|
220
|
+
*/
|
|
221
|
+
'isCreatorPayingAll'?: boolean;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {number}
|
|
225
|
+
* @memberof BookingPaymentStatusResponseBooking
|
|
226
|
+
*/
|
|
227
|
+
'totalPrice'?: number;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @export
|
|
232
|
+
* @interface BookingPaymentStatusResponsePaymentStatusInner
|
|
233
|
+
*/
|
|
234
|
+
export interface BookingPaymentStatusResponsePaymentStatusInner {
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
239
|
+
*/
|
|
240
|
+
'playerId'?: string;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
245
|
+
*/
|
|
246
|
+
'playerName'?: string;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
251
|
+
*/
|
|
252
|
+
'playerEmail'?: string;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {number}
|
|
256
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
257
|
+
*/
|
|
258
|
+
'amount'?: number;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
263
|
+
*/
|
|
264
|
+
'paymentMethod'?: BookingPaymentStatusResponsePaymentStatusInnerPaymentMethodEnum;
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
269
|
+
*/
|
|
270
|
+
'status'?: string;
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {boolean}
|
|
274
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
275
|
+
*/
|
|
276
|
+
'accepted'?: boolean;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {boolean}
|
|
280
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
281
|
+
*/
|
|
282
|
+
'hasPaid'?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* Indique si le joueur a besoin d\'être enregistré (paiement sur place en attente)
|
|
285
|
+
* @type {boolean}
|
|
286
|
+
* @memberof BookingPaymentStatusResponsePaymentStatusInner
|
|
287
|
+
*/
|
|
288
|
+
'needsCheckIn'?: boolean;
|
|
289
|
+
}
|
|
290
|
+
export declare const BookingPaymentStatusResponsePaymentStatusInnerPaymentMethodEnum: {
|
|
291
|
+
readonly Stripe: "stripe";
|
|
292
|
+
readonly Onsite: "onsite";
|
|
293
|
+
};
|
|
294
|
+
export type BookingPaymentStatusResponsePaymentStatusInnerPaymentMethodEnum = typeof BookingPaymentStatusResponsePaymentStatusInnerPaymentMethodEnum[keyof typeof BookingPaymentStatusResponsePaymentStatusInnerPaymentMethodEnum];
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @export
|
|
298
|
+
* @interface BookingPaymentStatusResponseSummary
|
|
299
|
+
*/
|
|
300
|
+
export interface BookingPaymentStatusResponseSummary {
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {number}
|
|
304
|
+
* @memberof BookingPaymentStatusResponseSummary
|
|
305
|
+
*/
|
|
306
|
+
'totalPlayers'?: number;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {number}
|
|
310
|
+
* @memberof BookingPaymentStatusResponseSummary
|
|
311
|
+
*/
|
|
312
|
+
'playersWhoHavePaid'?: number;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {number}
|
|
316
|
+
* @memberof BookingPaymentStatusResponseSummary
|
|
317
|
+
*/
|
|
318
|
+
'playersNeedingCheckIn'?: number;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {number}
|
|
322
|
+
* @memberof BookingPaymentStatusResponseSummary
|
|
323
|
+
*/
|
|
324
|
+
'totalAmount'?: number;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {number}
|
|
328
|
+
* @memberof BookingPaymentStatusResponseSummary
|
|
329
|
+
*/
|
|
330
|
+
'paidAmount'?: number;
|
|
331
|
+
}
|
|
173
332
|
/**
|
|
174
333
|
*
|
|
175
334
|
* @export
|
|
@@ -217,6 +376,19 @@ export declare const BookingStatus: {
|
|
|
217
376
|
readonly Inactive: "inactive";
|
|
218
377
|
};
|
|
219
378
|
export type BookingStatus = typeof BookingStatus[keyof typeof BookingStatus];
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @export
|
|
382
|
+
* @interface CancelBookingRequest
|
|
383
|
+
*/
|
|
384
|
+
export interface CancelBookingRequest {
|
|
385
|
+
/**
|
|
386
|
+
* ID de l\'utilisateur créateur pour vérification
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof CancelBookingRequest
|
|
389
|
+
*/
|
|
390
|
+
'userId': string;
|
|
391
|
+
}
|
|
220
392
|
/**
|
|
221
393
|
*
|
|
222
394
|
* @export
|
|
@@ -224,17 +396,17 @@ export type BookingStatus = typeof BookingStatus[keyof typeof BookingStatus];
|
|
|
224
396
|
*/
|
|
225
397
|
export interface CancelBookingResponse {
|
|
226
398
|
/**
|
|
227
|
-
*
|
|
399
|
+
*
|
|
228
400
|
* @type {string}
|
|
229
401
|
* @memberof CancelBookingResponse
|
|
230
402
|
*/
|
|
231
|
-
'message'
|
|
403
|
+
'message'?: string;
|
|
232
404
|
/**
|
|
233
405
|
*
|
|
234
406
|
* @type {CancelBookingResponseBooking}
|
|
235
407
|
* @memberof CancelBookingResponse
|
|
236
408
|
*/
|
|
237
|
-
'booking'
|
|
409
|
+
'booking'?: CancelBookingResponseBooking;
|
|
238
410
|
}
|
|
239
411
|
/**
|
|
240
412
|
*
|
|
@@ -243,37 +415,37 @@ export interface CancelBookingResponse {
|
|
|
243
415
|
*/
|
|
244
416
|
export interface CancelBookingResponseBooking {
|
|
245
417
|
/**
|
|
246
|
-
*
|
|
418
|
+
*
|
|
247
419
|
* @type {string}
|
|
248
420
|
* @memberof CancelBookingResponseBooking
|
|
249
421
|
*/
|
|
250
|
-
'id'
|
|
422
|
+
'id'?: string;
|
|
251
423
|
/**
|
|
252
|
-
*
|
|
424
|
+
*
|
|
253
425
|
* @type {string}
|
|
254
426
|
* @memberof CancelBookingResponseBooking
|
|
255
427
|
*/
|
|
256
|
-
'status'
|
|
428
|
+
'status'?: CancelBookingResponseBookingStatusEnum;
|
|
257
429
|
/**
|
|
258
|
-
*
|
|
430
|
+
*
|
|
259
431
|
* @type {string}
|
|
260
432
|
* @memberof CancelBookingResponseBooking
|
|
261
433
|
*/
|
|
262
|
-
'cancelledAt'
|
|
434
|
+
'cancelledAt'?: string;
|
|
263
435
|
/**
|
|
264
|
-
*
|
|
436
|
+
*
|
|
265
437
|
* @type {string}
|
|
266
438
|
* @memberof CancelBookingResponseBooking
|
|
267
439
|
*/
|
|
268
|
-
'cancelledBy'
|
|
440
|
+
'cancelledBy'?: string;
|
|
269
441
|
/**
|
|
270
|
-
*
|
|
442
|
+
*
|
|
271
443
|
* @type {boolean}
|
|
272
444
|
* @memberof CancelBookingResponseBooking
|
|
273
445
|
*/
|
|
274
|
-
'cancelledByManager'
|
|
446
|
+
'cancelledByManager'?: boolean;
|
|
275
447
|
/**
|
|
276
|
-
*
|
|
448
|
+
*
|
|
277
449
|
* @type {string}
|
|
278
450
|
* @memberof CancelBookingResponseBooking
|
|
279
451
|
*/
|
|
@@ -315,6 +487,117 @@ export interface ChangePasswordResponse {
|
|
|
315
487
|
*/
|
|
316
488
|
'message'?: string;
|
|
317
489
|
}
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @export
|
|
493
|
+
* @interface CheckInPlayersRequest
|
|
494
|
+
*/
|
|
495
|
+
export interface CheckInPlayersRequest {
|
|
496
|
+
/**
|
|
497
|
+
* Liste des IDs des joueurs qui ont payé/sont arrivés
|
|
498
|
+
* @type {Array<string>}
|
|
499
|
+
* @memberof CheckInPlayersRequest
|
|
500
|
+
*/
|
|
501
|
+
'playerIds': Array<string>;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @export
|
|
506
|
+
* @interface CheckInPlayersResponse
|
|
507
|
+
*/
|
|
508
|
+
export interface CheckInPlayersResponse {
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof CheckInPlayersResponse
|
|
513
|
+
*/
|
|
514
|
+
'message'?: string;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {Array<CheckInPlayersResponseCheckedInPlayersInner>}
|
|
518
|
+
* @memberof CheckInPlayersResponse
|
|
519
|
+
*/
|
|
520
|
+
'checkedInPlayers'?: Array<CheckInPlayersResponseCheckedInPlayersInner>;
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @type {Array<string>}
|
|
524
|
+
* @memberof CheckInPlayersResponse
|
|
525
|
+
*/
|
|
526
|
+
'notFoundPlayers'?: Array<string>;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {boolean}
|
|
530
|
+
* @memberof CheckInPlayersResponse
|
|
531
|
+
*/
|
|
532
|
+
'allPlayersCheckedIn'?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {boolean}
|
|
536
|
+
* @memberof CheckInPlayersResponse
|
|
537
|
+
*/
|
|
538
|
+
'bookingFullyPaid'?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {number}
|
|
542
|
+
* @memberof CheckInPlayersResponse
|
|
543
|
+
*/
|
|
544
|
+
'totalPlayers'?: number;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @export
|
|
549
|
+
* @interface CheckInPlayersResponseCheckedInPlayersInner
|
|
550
|
+
*/
|
|
551
|
+
export interface CheckInPlayersResponseCheckedInPlayersInner {
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {string}
|
|
555
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
556
|
+
*/
|
|
557
|
+
'playerId'?: string;
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {string}
|
|
561
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
562
|
+
*/
|
|
563
|
+
'invoiceId'?: string;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {number}
|
|
567
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
568
|
+
*/
|
|
569
|
+
'amount'?: number;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {string}
|
|
573
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
574
|
+
*/
|
|
575
|
+
'previousStatus'?: string;
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
580
|
+
*/
|
|
581
|
+
'newStatus'?: string;
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
586
|
+
*/
|
|
587
|
+
'status'?: string;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {string}
|
|
591
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
592
|
+
*/
|
|
593
|
+
'paymentMethod'?: string;
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {string}
|
|
597
|
+
* @memberof CheckInPlayersResponseCheckedInPlayersInner
|
|
598
|
+
*/
|
|
599
|
+
'note'?: string;
|
|
600
|
+
}
|
|
318
601
|
/**
|
|
319
602
|
*
|
|
320
603
|
* @export
|
|
@@ -466,6 +749,12 @@ export interface ClubInfoResponse {
|
|
|
466
749
|
* @memberof ClubInfoResponse
|
|
467
750
|
*/
|
|
468
751
|
'website'?: string;
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof ClubInfoResponse
|
|
756
|
+
*/
|
|
757
|
+
'rib'?: string;
|
|
469
758
|
/**
|
|
470
759
|
*
|
|
471
760
|
* @type {string}
|
|
@@ -1836,6 +2125,19 @@ export interface LoginResponse {
|
|
|
1836
2125
|
*/
|
|
1837
2126
|
'sessionEnd': number;
|
|
1838
2127
|
}
|
|
2128
|
+
/**
|
|
2129
|
+
*
|
|
2130
|
+
* @export
|
|
2131
|
+
* @interface ManagerCancelBookingRequest
|
|
2132
|
+
*/
|
|
2133
|
+
export interface ManagerCancelBookingRequest {
|
|
2134
|
+
/**
|
|
2135
|
+
* Raison obligatoire de l\'annulation par le gestionnaire
|
|
2136
|
+
* @type {string}
|
|
2137
|
+
* @memberof ManagerCancelBookingRequest
|
|
2138
|
+
*/
|
|
2139
|
+
'reason': string;
|
|
2140
|
+
}
|
|
1839
2141
|
/**
|
|
1840
2142
|
*
|
|
1841
2143
|
* @export
|
|
@@ -1843,17 +2145,17 @@ export interface LoginResponse {
|
|
|
1843
2145
|
*/
|
|
1844
2146
|
export interface ManagerCancelBookingResponse {
|
|
1845
2147
|
/**
|
|
1846
|
-
*
|
|
2148
|
+
*
|
|
1847
2149
|
* @type {string}
|
|
1848
2150
|
* @memberof ManagerCancelBookingResponse
|
|
1849
2151
|
*/
|
|
1850
|
-
'message'
|
|
2152
|
+
'message'?: string;
|
|
1851
2153
|
/**
|
|
1852
2154
|
*
|
|
1853
2155
|
* @type {ManagerCancelBookingResponseBooking}
|
|
1854
2156
|
* @memberof ManagerCancelBookingResponse
|
|
1855
2157
|
*/
|
|
1856
|
-
'booking'
|
|
2158
|
+
'booking'?: ManagerCancelBookingResponseBooking;
|
|
1857
2159
|
}
|
|
1858
2160
|
/**
|
|
1859
2161
|
*
|
|
@@ -1862,46 +2164,173 @@ export interface ManagerCancelBookingResponse {
|
|
|
1862
2164
|
*/
|
|
1863
2165
|
export interface ManagerCancelBookingResponseBooking {
|
|
1864
2166
|
/**
|
|
1865
|
-
*
|
|
2167
|
+
*
|
|
1866
2168
|
* @type {string}
|
|
1867
2169
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1868
2170
|
*/
|
|
1869
|
-
'id'
|
|
2171
|
+
'id'?: string;
|
|
1870
2172
|
/**
|
|
1871
|
-
*
|
|
2173
|
+
*
|
|
1872
2174
|
* @type {string}
|
|
1873
2175
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1874
2176
|
*/
|
|
1875
|
-
'status'
|
|
2177
|
+
'status'?: ManagerCancelBookingResponseBookingStatusEnum;
|
|
1876
2178
|
/**
|
|
1877
|
-
*
|
|
2179
|
+
*
|
|
1878
2180
|
* @type {string}
|
|
1879
2181
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1880
2182
|
*/
|
|
1881
|
-
'cancellationReason'
|
|
2183
|
+
'cancellationReason'?: string;
|
|
1882
2184
|
/**
|
|
1883
|
-
*
|
|
2185
|
+
*
|
|
1884
2186
|
* @type {string}
|
|
1885
2187
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1886
2188
|
*/
|
|
1887
|
-
'cancelledAt'
|
|
2189
|
+
'cancelledAt'?: string;
|
|
1888
2190
|
/**
|
|
1889
|
-
*
|
|
2191
|
+
*
|
|
1890
2192
|
* @type {string}
|
|
1891
2193
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1892
2194
|
*/
|
|
1893
|
-
'cancelledBy'
|
|
2195
|
+
'cancelledBy'?: string;
|
|
1894
2196
|
/**
|
|
1895
|
-
*
|
|
2197
|
+
*
|
|
1896
2198
|
* @type {boolean}
|
|
1897
2199
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1898
2200
|
*/
|
|
1899
|
-
'cancelledByManager'
|
|
2201
|
+
'cancelledByManager'?: boolean;
|
|
1900
2202
|
}
|
|
1901
2203
|
export declare const ManagerCancelBookingResponseBookingStatusEnum: {
|
|
1902
2204
|
readonly Cancelled: "cancelled";
|
|
1903
2205
|
};
|
|
1904
2206
|
export type ManagerCancelBookingResponseBookingStatusEnum = typeof ManagerCancelBookingResponseBookingStatusEnum[keyof typeof ManagerCancelBookingResponseBookingStatusEnum];
|
|
2207
|
+
/**
|
|
2208
|
+
*
|
|
2209
|
+
* @export
|
|
2210
|
+
* @interface NoShowFeeResponse
|
|
2211
|
+
*/
|
|
2212
|
+
export interface NoShowFeeResponse {
|
|
2213
|
+
/**
|
|
2214
|
+
*
|
|
2215
|
+
* @type {string}
|
|
2216
|
+
* @memberof NoShowFeeResponse
|
|
2217
|
+
*/
|
|
2218
|
+
'message'?: string;
|
|
2219
|
+
/**
|
|
2220
|
+
*
|
|
2221
|
+
* @type {number}
|
|
2222
|
+
* @memberof NoShowFeeResponse
|
|
2223
|
+
*/
|
|
2224
|
+
'totalExpected'?: number;
|
|
2225
|
+
/**
|
|
2226
|
+
*
|
|
2227
|
+
* @type {number}
|
|
2228
|
+
* @memberof NoShowFeeResponse
|
|
2229
|
+
*/
|
|
2230
|
+
'totalCaptured'?: number;
|
|
2231
|
+
/**
|
|
2232
|
+
*
|
|
2233
|
+
* @type {number}
|
|
2234
|
+
* @memberof NoShowFeeResponse
|
|
2235
|
+
*/
|
|
2236
|
+
'missingAmount'?: number;
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* @type {Array<NoShowFeeResponseCaptureResultsInner>}
|
|
2240
|
+
* @memberof NoShowFeeResponse
|
|
2241
|
+
*/
|
|
2242
|
+
'captureResults'?: Array<NoShowFeeResponseCaptureResultsInner>;
|
|
2243
|
+
/**
|
|
2244
|
+
*
|
|
2245
|
+
* @type {NoShowFeeResponseCreatorChargeResult}
|
|
2246
|
+
* @memberof NoShowFeeResponse
|
|
2247
|
+
*/
|
|
2248
|
+
'creatorChargeResult'?: NoShowFeeResponseCreatorChargeResult;
|
|
2249
|
+
}
|
|
2250
|
+
/**
|
|
2251
|
+
*
|
|
2252
|
+
* @export
|
|
2253
|
+
* @interface NoShowFeeResponseCaptureResultsInner
|
|
2254
|
+
*/
|
|
2255
|
+
export interface NoShowFeeResponseCaptureResultsInner {
|
|
2256
|
+
/**
|
|
2257
|
+
*
|
|
2258
|
+
* @type {string}
|
|
2259
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2260
|
+
*/
|
|
2261
|
+
'type'?: NoShowFeeResponseCaptureResultsInnerTypeEnum;
|
|
2262
|
+
/**
|
|
2263
|
+
*
|
|
2264
|
+
* @type {string}
|
|
2265
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2266
|
+
*/
|
|
2267
|
+
'playerId'?: string;
|
|
2268
|
+
/**
|
|
2269
|
+
*
|
|
2270
|
+
* @type {string}
|
|
2271
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2272
|
+
*/
|
|
2273
|
+
'paymentIntentId'?: string;
|
|
2274
|
+
/**
|
|
2275
|
+
*
|
|
2276
|
+
* @type {number}
|
|
2277
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2278
|
+
*/
|
|
2279
|
+
'amount'?: number;
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @type {string}
|
|
2283
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2284
|
+
*/
|
|
2285
|
+
'status'?: NoShowFeeResponseCaptureResultsInnerStatusEnum;
|
|
2286
|
+
/**
|
|
2287
|
+
*
|
|
2288
|
+
* @type {string}
|
|
2289
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2290
|
+
*/
|
|
2291
|
+
'error'?: string;
|
|
2292
|
+
}
|
|
2293
|
+
export declare const NoShowFeeResponseCaptureResultsInnerTypeEnum: {
|
|
2294
|
+
readonly CreatorPayment: "creator_payment";
|
|
2295
|
+
readonly PlayerPayment: "player_payment";
|
|
2296
|
+
};
|
|
2297
|
+
export type NoShowFeeResponseCaptureResultsInnerTypeEnum = typeof NoShowFeeResponseCaptureResultsInnerTypeEnum[keyof typeof NoShowFeeResponseCaptureResultsInnerTypeEnum];
|
|
2298
|
+
export declare const NoShowFeeResponseCaptureResultsInnerStatusEnum: {
|
|
2299
|
+
readonly Captured: "captured";
|
|
2300
|
+
readonly Failed: "failed";
|
|
2301
|
+
};
|
|
2302
|
+
export type NoShowFeeResponseCaptureResultsInnerStatusEnum = typeof NoShowFeeResponseCaptureResultsInnerStatusEnum[keyof typeof NoShowFeeResponseCaptureResultsInnerStatusEnum];
|
|
2303
|
+
/**
|
|
2304
|
+
*
|
|
2305
|
+
* @export
|
|
2306
|
+
* @interface NoShowFeeResponseCreatorChargeResult
|
|
2307
|
+
*/
|
|
2308
|
+
export interface NoShowFeeResponseCreatorChargeResult {
|
|
2309
|
+
/**
|
|
2310
|
+
*
|
|
2311
|
+
* @type {boolean}
|
|
2312
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2313
|
+
*/
|
|
2314
|
+
'success'?: boolean;
|
|
2315
|
+
/**
|
|
2316
|
+
*
|
|
2317
|
+
* @type {string}
|
|
2318
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2319
|
+
*/
|
|
2320
|
+
'paymentIntentId'?: string;
|
|
2321
|
+
/**
|
|
2322
|
+
*
|
|
2323
|
+
* @type {number}
|
|
2324
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2325
|
+
*/
|
|
2326
|
+
'amount'?: number;
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @type {string}
|
|
2330
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2331
|
+
*/
|
|
2332
|
+
'error'?: string;
|
|
2333
|
+
}
|
|
1905
2334
|
/**
|
|
1906
2335
|
* Méthode de paiement
|
|
1907
2336
|
* @export
|
|
@@ -3281,6 +3710,312 @@ export declare class AdminClubsApi extends BaseAPI {
|
|
|
3281
3710
|
*/
|
|
3282
3711
|
getAllClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubsResponse, any>>;
|
|
3283
3712
|
}
|
|
3713
|
+
/**
|
|
3714
|
+
* BookingsApi - axios parameter creator
|
|
3715
|
+
* @export
|
|
3716
|
+
*/
|
|
3717
|
+
export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3718
|
+
/**
|
|
3719
|
+
* Permet au créateur d\'une réservation de l\'annuler. Rouvre automatiquement le créneau et envoie des emails de notification à tous les participants.
|
|
3720
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3721
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
3722
|
+
* @param {CancelBookingRequest} cancelBookingRequest
|
|
3723
|
+
* @param {*} [options] Override http request option.
|
|
3724
|
+
* @throws {RequiredError}
|
|
3725
|
+
*/
|
|
3726
|
+
cancelBooking: (bookingId: string, cancelBookingRequest: CancelBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3727
|
+
};
|
|
3728
|
+
/**
|
|
3729
|
+
* BookingsApi - functional programming interface
|
|
3730
|
+
* @export
|
|
3731
|
+
*/
|
|
3732
|
+
export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
3733
|
+
/**
|
|
3734
|
+
* Permet au créateur d\'une réservation de l\'annuler. Rouvre automatiquement le créneau et envoie des emails de notification à tous les participants.
|
|
3735
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3736
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
3737
|
+
* @param {CancelBookingRequest} cancelBookingRequest
|
|
3738
|
+
* @param {*} [options] Override http request option.
|
|
3739
|
+
* @throws {RequiredError}
|
|
3740
|
+
*/
|
|
3741
|
+
cancelBooking(bookingId: string, cancelBookingRequest: CancelBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
|
|
3742
|
+
};
|
|
3743
|
+
/**
|
|
3744
|
+
* BookingsApi - factory interface
|
|
3745
|
+
* @export
|
|
3746
|
+
*/
|
|
3747
|
+
export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3748
|
+
/**
|
|
3749
|
+
* Permet au créateur d\'une réservation de l\'annuler. Rouvre automatiquement le créneau et envoie des emails de notification à tous les participants.
|
|
3750
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3751
|
+
* @param {BookingsApiCancelBookingRequest} requestParameters Request parameters.
|
|
3752
|
+
* @param {*} [options] Override http request option.
|
|
3753
|
+
* @throws {RequiredError}
|
|
3754
|
+
*/
|
|
3755
|
+
cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
|
|
3756
|
+
};
|
|
3757
|
+
/**
|
|
3758
|
+
* Request parameters for cancelBooking operation in BookingsApi.
|
|
3759
|
+
* @export
|
|
3760
|
+
* @interface BookingsApiCancelBookingRequest
|
|
3761
|
+
*/
|
|
3762
|
+
export interface BookingsApiCancelBookingRequest {
|
|
3763
|
+
/**
|
|
3764
|
+
* ID MongoDB de la réservation à annuler
|
|
3765
|
+
* @type {string}
|
|
3766
|
+
* @memberof BookingsApiCancelBooking
|
|
3767
|
+
*/
|
|
3768
|
+
readonly bookingId: string;
|
|
3769
|
+
/**
|
|
3770
|
+
*
|
|
3771
|
+
* @type {CancelBookingRequest}
|
|
3772
|
+
* @memberof BookingsApiCancelBooking
|
|
3773
|
+
*/
|
|
3774
|
+
readonly cancelBookingRequest: CancelBookingRequest;
|
|
3775
|
+
}
|
|
3776
|
+
/**
|
|
3777
|
+
* BookingsApi - object-oriented interface
|
|
3778
|
+
* @export
|
|
3779
|
+
* @class BookingsApi
|
|
3780
|
+
* @extends {BaseAPI}
|
|
3781
|
+
*/
|
|
3782
|
+
export declare class BookingsApi extends BaseAPI {
|
|
3783
|
+
/**
|
|
3784
|
+
* Permet au créateur d\'une réservation de l\'annuler. Rouvre automatiquement le créneau et envoie des emails de notification à tous les participants.
|
|
3785
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3786
|
+
* @param {BookingsApiCancelBookingRequest} requestParameters Request parameters.
|
|
3787
|
+
* @param {*} [options] Override http request option.
|
|
3788
|
+
* @throws {RequiredError}
|
|
3789
|
+
* @memberof BookingsApi
|
|
3790
|
+
*/
|
|
3791
|
+
cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any>>;
|
|
3792
|
+
}
|
|
3793
|
+
/**
|
|
3794
|
+
* ManagerBookingsApi - axios parameter creator
|
|
3795
|
+
* @export
|
|
3796
|
+
*/
|
|
3797
|
+
export declare const ManagerBookingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3798
|
+
/**
|
|
3799
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
3800
|
+
* @summary Appliquer les frais de no-show
|
|
3801
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3802
|
+
* @param {*} [options] Override http request option.
|
|
3803
|
+
* @throws {RequiredError}
|
|
3804
|
+
*/
|
|
3805
|
+
applyNoShowFee: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3806
|
+
/**
|
|
3807
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
3808
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
3809
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3810
|
+
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
3811
|
+
* @param {*} [options] Override http request option.
|
|
3812
|
+
* @throws {RequiredError}
|
|
3813
|
+
*/
|
|
3814
|
+
checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3815
|
+
/**
|
|
3816
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
3817
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
3818
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3819
|
+
* @param {*} [options] Override http request option.
|
|
3820
|
+
* @throws {RequiredError}
|
|
3821
|
+
*/
|
|
3822
|
+
getBookingPaymentStatus: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3823
|
+
/**
|
|
3824
|
+
* Permet à un gestionnaire d\'annuler n\'importe quelle réservation avec une raison obligatoire. Effectue un remboursement automatique si le paiement a été fait en ligne.
|
|
3825
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
3826
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
3827
|
+
* @param {ManagerCancelBookingRequest} managerCancelBookingRequest
|
|
3828
|
+
* @param {*} [options] Override http request option.
|
|
3829
|
+
* @throws {RequiredError}
|
|
3830
|
+
*/
|
|
3831
|
+
managerCancelBooking: (bookingId: string, managerCancelBookingRequest: ManagerCancelBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3832
|
+
};
|
|
3833
|
+
/**
|
|
3834
|
+
* ManagerBookingsApi - functional programming interface
|
|
3835
|
+
* @export
|
|
3836
|
+
*/
|
|
3837
|
+
export declare const ManagerBookingsApiFp: (configuration?: Configuration) => {
|
|
3838
|
+
/**
|
|
3839
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
3840
|
+
* @summary Appliquer les frais de no-show
|
|
3841
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3842
|
+
* @param {*} [options] Override http request option.
|
|
3843
|
+
* @throws {RequiredError}
|
|
3844
|
+
*/
|
|
3845
|
+
applyNoShowFee(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoShowFeeResponse>>;
|
|
3846
|
+
/**
|
|
3847
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
3848
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
3849
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3850
|
+
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
3851
|
+
* @param {*} [options] Override http request option.
|
|
3852
|
+
* @throws {RequiredError}
|
|
3853
|
+
*/
|
|
3854
|
+
checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
|
|
3855
|
+
/**
|
|
3856
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
3857
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
3858
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3859
|
+
* @param {*} [options] Override http request option.
|
|
3860
|
+
* @throws {RequiredError}
|
|
3861
|
+
*/
|
|
3862
|
+
getBookingPaymentStatus(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPaymentStatusResponse>>;
|
|
3863
|
+
/**
|
|
3864
|
+
* Permet à un gestionnaire d\'annuler n\'importe quelle réservation avec une raison obligatoire. Effectue un remboursement automatique si le paiement a été fait en ligne.
|
|
3865
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
3866
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
3867
|
+
* @param {ManagerCancelBookingRequest} managerCancelBookingRequest
|
|
3868
|
+
* @param {*} [options] Override http request option.
|
|
3869
|
+
* @throws {RequiredError}
|
|
3870
|
+
*/
|
|
3871
|
+
managerCancelBooking(bookingId: string, managerCancelBookingRequest: ManagerCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerCancelBookingResponse>>;
|
|
3872
|
+
};
|
|
3873
|
+
/**
|
|
3874
|
+
* ManagerBookingsApi - factory interface
|
|
3875
|
+
* @export
|
|
3876
|
+
*/
|
|
3877
|
+
export declare const ManagerBookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3878
|
+
/**
|
|
3879
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
3880
|
+
* @summary Appliquer les frais de no-show
|
|
3881
|
+
* @param {ManagerBookingsApiApplyNoShowFeeRequest} requestParameters Request parameters.
|
|
3882
|
+
* @param {*} [options] Override http request option.
|
|
3883
|
+
* @throws {RequiredError}
|
|
3884
|
+
*/
|
|
3885
|
+
applyNoShowFee(requestParameters: ManagerBookingsApiApplyNoShowFeeRequest, options?: RawAxiosRequestConfig): AxiosPromise<NoShowFeeResponse>;
|
|
3886
|
+
/**
|
|
3887
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
3888
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
3889
|
+
* @param {ManagerBookingsApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
3890
|
+
* @param {*} [options] Override http request option.
|
|
3891
|
+
* @throws {RequiredError}
|
|
3892
|
+
*/
|
|
3893
|
+
checkInPlayers(requestParameters: ManagerBookingsApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
|
|
3894
|
+
/**
|
|
3895
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
3896
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
3897
|
+
* @param {ManagerBookingsApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
3898
|
+
* @param {*} [options] Override http request option.
|
|
3899
|
+
* @throws {RequiredError}
|
|
3900
|
+
*/
|
|
3901
|
+
getBookingPaymentStatus(requestParameters: ManagerBookingsApiGetBookingPaymentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentStatusResponse>;
|
|
3902
|
+
/**
|
|
3903
|
+
* Permet à un gestionnaire d\'annuler n\'importe quelle réservation avec une raison obligatoire. Effectue un remboursement automatique si le paiement a été fait en ligne.
|
|
3904
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
3905
|
+
* @param {ManagerBookingsApiManagerCancelBookingRequest} requestParameters Request parameters.
|
|
3906
|
+
* @param {*} [options] Override http request option.
|
|
3907
|
+
* @throws {RequiredError}
|
|
3908
|
+
*/
|
|
3909
|
+
managerCancelBooking(requestParameters: ManagerBookingsApiManagerCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerCancelBookingResponse>;
|
|
3910
|
+
};
|
|
3911
|
+
/**
|
|
3912
|
+
* Request parameters for applyNoShowFee operation in ManagerBookingsApi.
|
|
3913
|
+
* @export
|
|
3914
|
+
* @interface ManagerBookingsApiApplyNoShowFeeRequest
|
|
3915
|
+
*/
|
|
3916
|
+
export interface ManagerBookingsApiApplyNoShowFeeRequest {
|
|
3917
|
+
/**
|
|
3918
|
+
* ID MongoDB de la réservation
|
|
3919
|
+
* @type {string}
|
|
3920
|
+
* @memberof ManagerBookingsApiApplyNoShowFee
|
|
3921
|
+
*/
|
|
3922
|
+
readonly bookingId: string;
|
|
3923
|
+
}
|
|
3924
|
+
/**
|
|
3925
|
+
* Request parameters for checkInPlayers operation in ManagerBookingsApi.
|
|
3926
|
+
* @export
|
|
3927
|
+
* @interface ManagerBookingsApiCheckInPlayersRequest
|
|
3928
|
+
*/
|
|
3929
|
+
export interface ManagerBookingsApiCheckInPlayersRequest {
|
|
3930
|
+
/**
|
|
3931
|
+
* ID MongoDB de la réservation
|
|
3932
|
+
* @type {string}
|
|
3933
|
+
* @memberof ManagerBookingsApiCheckInPlayers
|
|
3934
|
+
*/
|
|
3935
|
+
readonly bookingId: string;
|
|
3936
|
+
/**
|
|
3937
|
+
*
|
|
3938
|
+
* @type {CheckInPlayersRequest}
|
|
3939
|
+
* @memberof ManagerBookingsApiCheckInPlayers
|
|
3940
|
+
*/
|
|
3941
|
+
readonly checkInPlayersRequest: CheckInPlayersRequest;
|
|
3942
|
+
}
|
|
3943
|
+
/**
|
|
3944
|
+
* Request parameters for getBookingPaymentStatus operation in ManagerBookingsApi.
|
|
3945
|
+
* @export
|
|
3946
|
+
* @interface ManagerBookingsApiGetBookingPaymentStatusRequest
|
|
3947
|
+
*/
|
|
3948
|
+
export interface ManagerBookingsApiGetBookingPaymentStatusRequest {
|
|
3949
|
+
/**
|
|
3950
|
+
* ID MongoDB de la réservation
|
|
3951
|
+
* @type {string}
|
|
3952
|
+
* @memberof ManagerBookingsApiGetBookingPaymentStatus
|
|
3953
|
+
*/
|
|
3954
|
+
readonly bookingId: string;
|
|
3955
|
+
}
|
|
3956
|
+
/**
|
|
3957
|
+
* Request parameters for managerCancelBooking operation in ManagerBookingsApi.
|
|
3958
|
+
* @export
|
|
3959
|
+
* @interface ManagerBookingsApiManagerCancelBookingRequest
|
|
3960
|
+
*/
|
|
3961
|
+
export interface ManagerBookingsApiManagerCancelBookingRequest {
|
|
3962
|
+
/**
|
|
3963
|
+
* ID MongoDB de la réservation à annuler
|
|
3964
|
+
* @type {string}
|
|
3965
|
+
* @memberof ManagerBookingsApiManagerCancelBooking
|
|
3966
|
+
*/
|
|
3967
|
+
readonly bookingId: string;
|
|
3968
|
+
/**
|
|
3969
|
+
*
|
|
3970
|
+
* @type {ManagerCancelBookingRequest}
|
|
3971
|
+
* @memberof ManagerBookingsApiManagerCancelBooking
|
|
3972
|
+
*/
|
|
3973
|
+
readonly managerCancelBookingRequest: ManagerCancelBookingRequest;
|
|
3974
|
+
}
|
|
3975
|
+
/**
|
|
3976
|
+
* ManagerBookingsApi - object-oriented interface
|
|
3977
|
+
* @export
|
|
3978
|
+
* @class ManagerBookingsApi
|
|
3979
|
+
* @extends {BaseAPI}
|
|
3980
|
+
*/
|
|
3981
|
+
export declare class ManagerBookingsApi extends BaseAPI {
|
|
3982
|
+
/**
|
|
3983
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
3984
|
+
* @summary Appliquer les frais de no-show
|
|
3985
|
+
* @param {ManagerBookingsApiApplyNoShowFeeRequest} requestParameters Request parameters.
|
|
3986
|
+
* @param {*} [options] Override http request option.
|
|
3987
|
+
* @throws {RequiredError}
|
|
3988
|
+
* @memberof ManagerBookingsApi
|
|
3989
|
+
*/
|
|
3990
|
+
applyNoShowFee(requestParameters: ManagerBookingsApiApplyNoShowFeeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NoShowFeeResponse, any>>;
|
|
3991
|
+
/**
|
|
3992
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
3993
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
3994
|
+
* @param {ManagerBookingsApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
3995
|
+
* @param {*} [options] Override http request option.
|
|
3996
|
+
* @throws {RequiredError}
|
|
3997
|
+
* @memberof ManagerBookingsApi
|
|
3998
|
+
*/
|
|
3999
|
+
checkInPlayers(requestParameters: ManagerBookingsApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any>>;
|
|
4000
|
+
/**
|
|
4001
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
4002
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
4003
|
+
* @param {ManagerBookingsApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
4004
|
+
* @param {*} [options] Override http request option.
|
|
4005
|
+
* @throws {RequiredError}
|
|
4006
|
+
* @memberof ManagerBookingsApi
|
|
4007
|
+
*/
|
|
4008
|
+
getBookingPaymentStatus(requestParameters: ManagerBookingsApiGetBookingPaymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPaymentStatusResponse, any>>;
|
|
4009
|
+
/**
|
|
4010
|
+
* Permet à un gestionnaire d\'annuler n\'importe quelle réservation avec une raison obligatoire. Effectue un remboursement automatique si le paiement a été fait en ligne.
|
|
4011
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
4012
|
+
* @param {ManagerBookingsApiManagerCancelBookingRequest} requestParameters Request parameters.
|
|
4013
|
+
* @param {*} [options] Override http request option.
|
|
4014
|
+
* @throws {RequiredError}
|
|
4015
|
+
* @memberof ManagerBookingsApi
|
|
4016
|
+
*/
|
|
4017
|
+
managerCancelBooking(requestParameters: ManagerBookingsApiManagerCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerCancelBookingResponse, any>>;
|
|
4018
|
+
}
|
|
3284
4019
|
/**
|
|
3285
4020
|
* ManagerClubCourtsApi - axios parameter creator
|
|
3286
4021
|
* @export
|