@tennac-booking/sdk 1.0.18 → 1.0.20
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 +22 -0
- package/README.md +31 -3
- package/api.ts +1983 -271
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1472 -245
- package/dist/api.js +944 -116
- 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 +1472 -245
- package/dist/esm/api.js +927 -111
- 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/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/ClubAnalyticsApi.md +253 -0
- package/docs/ClubInfoResponse.md +2 -0
- package/docs/DailyTurnoverResponse.md +24 -0
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +1 -1
- package/docs/InvoicesResponse.md +22 -0
- package/docs/InvoicesResponseInvoicesInner.md +34 -0
- package/docs/InvoicesResponsePagination.md +26 -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/MonthlyTurnoverResponse.md +28 -0
- package/docs/NoShowFeeResponse.md +30 -0
- package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
- package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
- package/docs/StaffClubAnalyticsApi.md +3 -10
- package/docs/StaffClubSettingsApi.md +5 -13
- package/docs/YearlyTurnoverResponse.md +26 -0
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickle Ball API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.19
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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}
|
|
@@ -1406,6 +1695,31 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
1406
1695
|
*/
|
|
1407
1696
|
'metadata'?: object;
|
|
1408
1697
|
}
|
|
1698
|
+
/**
|
|
1699
|
+
*
|
|
1700
|
+
* @export
|
|
1701
|
+
* @interface DailyTurnoverResponse
|
|
1702
|
+
*/
|
|
1703
|
+
export interface DailyTurnoverResponse {
|
|
1704
|
+
/**
|
|
1705
|
+
*
|
|
1706
|
+
* @type {string}
|
|
1707
|
+
* @memberof DailyTurnoverResponse
|
|
1708
|
+
*/
|
|
1709
|
+
'date'?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @type {number}
|
|
1713
|
+
* @memberof DailyTurnoverResponse
|
|
1714
|
+
*/
|
|
1715
|
+
'totalTurnover'?: number;
|
|
1716
|
+
/**
|
|
1717
|
+
*
|
|
1718
|
+
* @type {number}
|
|
1719
|
+
* @memberof DailyTurnoverResponse
|
|
1720
|
+
*/
|
|
1721
|
+
'invoiceCount'?: number;
|
|
1722
|
+
}
|
|
1409
1723
|
/**
|
|
1410
1724
|
*
|
|
1411
1725
|
* @export
|
|
@@ -1611,10 +1925,10 @@ export interface GetLastSixMonthsTurnover200ResponseInner {
|
|
|
1611
1925
|
'year'?: number;
|
|
1612
1926
|
/**
|
|
1613
1927
|
*
|
|
1614
|
-
* @type {
|
|
1928
|
+
* @type {string}
|
|
1615
1929
|
* @memberof GetLastSixMonthsTurnover200ResponseInner
|
|
1616
1930
|
*/
|
|
1617
|
-
'month'?:
|
|
1931
|
+
'month'?: string;
|
|
1618
1932
|
/**
|
|
1619
1933
|
*
|
|
1620
1934
|
* @type {number}
|
|
@@ -1789,71 +2103,198 @@ export interface InitiateSubscriptionSessionResponse {
|
|
|
1789
2103
|
/**
|
|
1790
2104
|
*
|
|
1791
2105
|
* @export
|
|
1792
|
-
* @interface
|
|
2106
|
+
* @interface InvoicesResponse
|
|
1793
2107
|
*/
|
|
1794
|
-
export interface
|
|
2108
|
+
export interface InvoicesResponse {
|
|
1795
2109
|
/**
|
|
1796
2110
|
*
|
|
1797
|
-
* @type {
|
|
1798
|
-
* @memberof
|
|
2111
|
+
* @type {Array<InvoicesResponseInvoicesInner>}
|
|
2112
|
+
* @memberof InvoicesResponse
|
|
1799
2113
|
*/
|
|
1800
|
-
'
|
|
2114
|
+
'invoices'?: Array<InvoicesResponseInvoicesInner>;
|
|
1801
2115
|
/**
|
|
1802
2116
|
*
|
|
1803
|
-
* @type {
|
|
1804
|
-
* @memberof
|
|
2117
|
+
* @type {InvoicesResponsePagination}
|
|
2118
|
+
* @memberof InvoicesResponse
|
|
1805
2119
|
*/
|
|
1806
|
-
'
|
|
2120
|
+
'pagination'?: InvoicesResponsePagination;
|
|
1807
2121
|
}
|
|
1808
2122
|
/**
|
|
1809
2123
|
*
|
|
1810
2124
|
* @export
|
|
1811
|
-
* @interface
|
|
2125
|
+
* @interface InvoicesResponseInvoicesInner
|
|
1812
2126
|
*/
|
|
1813
|
-
export interface
|
|
2127
|
+
export interface InvoicesResponseInvoicesInner {
|
|
1814
2128
|
/**
|
|
1815
2129
|
*
|
|
1816
2130
|
* @type {string}
|
|
1817
|
-
* @memberof
|
|
2131
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
1818
2132
|
*/
|
|
1819
|
-
'
|
|
2133
|
+
'billNumber'?: string;
|
|
1820
2134
|
/**
|
|
1821
2135
|
*
|
|
1822
2136
|
* @type {string}
|
|
1823
|
-
* @memberof
|
|
2137
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
1824
2138
|
*/
|
|
1825
|
-
'
|
|
2139
|
+
'date'?: string;
|
|
1826
2140
|
/**
|
|
1827
2141
|
*
|
|
1828
|
-
* @type {
|
|
1829
|
-
* @memberof
|
|
2142
|
+
* @type {string}
|
|
2143
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
1830
2144
|
*/
|
|
1831
|
-
'
|
|
2145
|
+
'clientFirstName'?: string;
|
|
1832
2146
|
/**
|
|
1833
2147
|
*
|
|
1834
|
-
* @type {
|
|
1835
|
-
* @memberof
|
|
2148
|
+
* @type {string}
|
|
2149
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
1836
2150
|
*/
|
|
1837
|
-
'
|
|
1838
|
-
}
|
|
1839
|
-
/**
|
|
1840
|
-
*
|
|
1841
|
-
* @export
|
|
1842
|
-
* @interface ManagerCancelBookingResponse
|
|
1843
|
-
*/
|
|
1844
|
-
export interface ManagerCancelBookingResponse {
|
|
2151
|
+
'clientLastName'?: string;
|
|
1845
2152
|
/**
|
|
1846
|
-
*
|
|
2153
|
+
*
|
|
2154
|
+
* @type {string}
|
|
2155
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2156
|
+
*/
|
|
2157
|
+
'clientEmail'?: string;
|
|
2158
|
+
/**
|
|
2159
|
+
*
|
|
2160
|
+
* @type {number}
|
|
2161
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2162
|
+
*/
|
|
2163
|
+
'totalCost'?: number;
|
|
2164
|
+
/**
|
|
2165
|
+
*
|
|
2166
|
+
* @type {string}
|
|
2167
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2168
|
+
*/
|
|
2169
|
+
'status'?: InvoicesResponseInvoicesInnerStatusEnum;
|
|
2170
|
+
/**
|
|
2171
|
+
*
|
|
2172
|
+
* @type {string}
|
|
2173
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2174
|
+
*/
|
|
2175
|
+
'linkToInvoicePDF'?: string | null;
|
|
2176
|
+
}
|
|
2177
|
+
export declare const InvoicesResponseInvoicesInnerStatusEnum: {
|
|
2178
|
+
readonly Pending: "pending";
|
|
2179
|
+
readonly Paid: "paid";
|
|
2180
|
+
readonly Failed: "failed";
|
|
2181
|
+
readonly Authorized: "authorized";
|
|
2182
|
+
readonly Canceled: "canceled";
|
|
2183
|
+
readonly Expired: "expired";
|
|
2184
|
+
};
|
|
2185
|
+
export type InvoicesResponseInvoicesInnerStatusEnum = typeof InvoicesResponseInvoicesInnerStatusEnum[keyof typeof InvoicesResponseInvoicesInnerStatusEnum];
|
|
2186
|
+
/**
|
|
2187
|
+
*
|
|
2188
|
+
* @export
|
|
2189
|
+
* @interface InvoicesResponsePagination
|
|
2190
|
+
*/
|
|
2191
|
+
export interface InvoicesResponsePagination {
|
|
2192
|
+
/**
|
|
2193
|
+
*
|
|
2194
|
+
* @type {number}
|
|
2195
|
+
* @memberof InvoicesResponsePagination
|
|
2196
|
+
*/
|
|
2197
|
+
'total'?: number;
|
|
2198
|
+
/**
|
|
2199
|
+
*
|
|
2200
|
+
* @type {number}
|
|
2201
|
+
* @memberof InvoicesResponsePagination
|
|
2202
|
+
*/
|
|
2203
|
+
'page'?: number;
|
|
2204
|
+
/**
|
|
2205
|
+
*
|
|
2206
|
+
* @type {number}
|
|
2207
|
+
* @memberof InvoicesResponsePagination
|
|
2208
|
+
*/
|
|
2209
|
+
'limit'?: number;
|
|
2210
|
+
/**
|
|
2211
|
+
*
|
|
2212
|
+
* @type {number}
|
|
2213
|
+
* @memberof InvoicesResponsePagination
|
|
2214
|
+
*/
|
|
2215
|
+
'totalPages'?: number;
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @export
|
|
2220
|
+
* @interface LoginRequestBody
|
|
2221
|
+
*/
|
|
2222
|
+
export interface LoginRequestBody {
|
|
2223
|
+
/**
|
|
2224
|
+
*
|
|
2225
|
+
* @type {string}
|
|
2226
|
+
* @memberof LoginRequestBody
|
|
2227
|
+
*/
|
|
2228
|
+
'email': string;
|
|
2229
|
+
/**
|
|
2230
|
+
*
|
|
2231
|
+
* @type {string}
|
|
2232
|
+
* @memberof LoginRequestBody
|
|
2233
|
+
*/
|
|
2234
|
+
'password': string;
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
*
|
|
2238
|
+
* @export
|
|
2239
|
+
* @interface LoginResponse
|
|
2240
|
+
*/
|
|
2241
|
+
export interface LoginResponse {
|
|
2242
|
+
/**
|
|
2243
|
+
*
|
|
2244
|
+
* @type {string}
|
|
2245
|
+
* @memberof LoginResponse
|
|
2246
|
+
*/
|
|
2247
|
+
'token': string;
|
|
2248
|
+
/**
|
|
2249
|
+
*
|
|
2250
|
+
* @type {string}
|
|
2251
|
+
* @memberof LoginResponse
|
|
2252
|
+
*/
|
|
2253
|
+
'refreshToken': string;
|
|
2254
|
+
/**
|
|
2255
|
+
*
|
|
2256
|
+
* @type {number}
|
|
2257
|
+
* @memberof LoginResponse
|
|
2258
|
+
*/
|
|
2259
|
+
'sessionDuration': number;
|
|
2260
|
+
/**
|
|
2261
|
+
*
|
|
2262
|
+
* @type {number}
|
|
2263
|
+
* @memberof LoginResponse
|
|
2264
|
+
*/
|
|
2265
|
+
'sessionEnd': number;
|
|
2266
|
+
}
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @export
|
|
2270
|
+
* @interface ManagerCancelBookingRequest
|
|
2271
|
+
*/
|
|
2272
|
+
export interface ManagerCancelBookingRequest {
|
|
2273
|
+
/**
|
|
2274
|
+
* Raison obligatoire de l\'annulation par le gestionnaire
|
|
2275
|
+
* @type {string}
|
|
2276
|
+
* @memberof ManagerCancelBookingRequest
|
|
2277
|
+
*/
|
|
2278
|
+
'reason': string;
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @export
|
|
2283
|
+
* @interface ManagerCancelBookingResponse
|
|
2284
|
+
*/
|
|
2285
|
+
export interface ManagerCancelBookingResponse {
|
|
2286
|
+
/**
|
|
2287
|
+
*
|
|
1847
2288
|
* @type {string}
|
|
1848
2289
|
* @memberof ManagerCancelBookingResponse
|
|
1849
2290
|
*/
|
|
1850
|
-
'message'
|
|
2291
|
+
'message'?: string;
|
|
1851
2292
|
/**
|
|
1852
2293
|
*
|
|
1853
2294
|
* @type {ManagerCancelBookingResponseBooking}
|
|
1854
2295
|
* @memberof ManagerCancelBookingResponse
|
|
1855
2296
|
*/
|
|
1856
|
-
'booking'
|
|
2297
|
+
'booking'?: ManagerCancelBookingResponseBooking;
|
|
1857
2298
|
}
|
|
1858
2299
|
/**
|
|
1859
2300
|
*
|
|
@@ -1862,46 +2303,210 @@ export interface ManagerCancelBookingResponse {
|
|
|
1862
2303
|
*/
|
|
1863
2304
|
export interface ManagerCancelBookingResponseBooking {
|
|
1864
2305
|
/**
|
|
1865
|
-
*
|
|
2306
|
+
*
|
|
1866
2307
|
* @type {string}
|
|
1867
2308
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1868
2309
|
*/
|
|
1869
|
-
'id'
|
|
2310
|
+
'id'?: string;
|
|
1870
2311
|
/**
|
|
1871
|
-
*
|
|
2312
|
+
*
|
|
1872
2313
|
* @type {string}
|
|
1873
2314
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1874
2315
|
*/
|
|
1875
|
-
'status'
|
|
2316
|
+
'status'?: ManagerCancelBookingResponseBookingStatusEnum;
|
|
1876
2317
|
/**
|
|
1877
|
-
*
|
|
2318
|
+
*
|
|
1878
2319
|
* @type {string}
|
|
1879
2320
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1880
2321
|
*/
|
|
1881
|
-
'cancellationReason'
|
|
2322
|
+
'cancellationReason'?: string;
|
|
1882
2323
|
/**
|
|
1883
|
-
*
|
|
2324
|
+
*
|
|
1884
2325
|
* @type {string}
|
|
1885
2326
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1886
2327
|
*/
|
|
1887
|
-
'cancelledAt'
|
|
2328
|
+
'cancelledAt'?: string;
|
|
1888
2329
|
/**
|
|
1889
|
-
*
|
|
2330
|
+
*
|
|
1890
2331
|
* @type {string}
|
|
1891
2332
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1892
2333
|
*/
|
|
1893
|
-
'cancelledBy'
|
|
2334
|
+
'cancelledBy'?: string;
|
|
1894
2335
|
/**
|
|
1895
|
-
*
|
|
2336
|
+
*
|
|
1896
2337
|
* @type {boolean}
|
|
1897
2338
|
* @memberof ManagerCancelBookingResponseBooking
|
|
1898
2339
|
*/
|
|
1899
|
-
'cancelledByManager'
|
|
2340
|
+
'cancelledByManager'?: boolean;
|
|
1900
2341
|
}
|
|
1901
2342
|
export declare const ManagerCancelBookingResponseBookingStatusEnum: {
|
|
1902
2343
|
readonly Cancelled: "cancelled";
|
|
1903
2344
|
};
|
|
1904
2345
|
export type ManagerCancelBookingResponseBookingStatusEnum = typeof ManagerCancelBookingResponseBookingStatusEnum[keyof typeof ManagerCancelBookingResponseBookingStatusEnum];
|
|
2346
|
+
/**
|
|
2347
|
+
*
|
|
2348
|
+
* @export
|
|
2349
|
+
* @interface MonthlyTurnoverResponse
|
|
2350
|
+
*/
|
|
2351
|
+
export interface MonthlyTurnoverResponse {
|
|
2352
|
+
/**
|
|
2353
|
+
*
|
|
2354
|
+
* @type {number}
|
|
2355
|
+
* @memberof MonthlyTurnoverResponse
|
|
2356
|
+
*/
|
|
2357
|
+
'year'?: number;
|
|
2358
|
+
/**
|
|
2359
|
+
*
|
|
2360
|
+
* @type {number}
|
|
2361
|
+
* @memberof MonthlyTurnoverResponse
|
|
2362
|
+
*/
|
|
2363
|
+
'month'?: number;
|
|
2364
|
+
/**
|
|
2365
|
+
*
|
|
2366
|
+
* @type {number}
|
|
2367
|
+
* @memberof MonthlyTurnoverResponse
|
|
2368
|
+
*/
|
|
2369
|
+
'totalTurnover'?: number;
|
|
2370
|
+
/**
|
|
2371
|
+
*
|
|
2372
|
+
* @type {number}
|
|
2373
|
+
* @memberof MonthlyTurnoverResponse
|
|
2374
|
+
*/
|
|
2375
|
+
'invoiceCount'?: number;
|
|
2376
|
+
/**
|
|
2377
|
+
*
|
|
2378
|
+
* @type {string}
|
|
2379
|
+
* @memberof MonthlyTurnoverResponse
|
|
2380
|
+
*/
|
|
2381
|
+
'period'?: string;
|
|
2382
|
+
}
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @export
|
|
2386
|
+
* @interface NoShowFeeResponse
|
|
2387
|
+
*/
|
|
2388
|
+
export interface NoShowFeeResponse {
|
|
2389
|
+
/**
|
|
2390
|
+
*
|
|
2391
|
+
* @type {string}
|
|
2392
|
+
* @memberof NoShowFeeResponse
|
|
2393
|
+
*/
|
|
2394
|
+
'message'?: string;
|
|
2395
|
+
/**
|
|
2396
|
+
*
|
|
2397
|
+
* @type {number}
|
|
2398
|
+
* @memberof NoShowFeeResponse
|
|
2399
|
+
*/
|
|
2400
|
+
'totalExpected'?: number;
|
|
2401
|
+
/**
|
|
2402
|
+
*
|
|
2403
|
+
* @type {number}
|
|
2404
|
+
* @memberof NoShowFeeResponse
|
|
2405
|
+
*/
|
|
2406
|
+
'totalCaptured'?: number;
|
|
2407
|
+
/**
|
|
2408
|
+
*
|
|
2409
|
+
* @type {number}
|
|
2410
|
+
* @memberof NoShowFeeResponse
|
|
2411
|
+
*/
|
|
2412
|
+
'missingAmount'?: number;
|
|
2413
|
+
/**
|
|
2414
|
+
*
|
|
2415
|
+
* @type {Array<NoShowFeeResponseCaptureResultsInner>}
|
|
2416
|
+
* @memberof NoShowFeeResponse
|
|
2417
|
+
*/
|
|
2418
|
+
'captureResults'?: Array<NoShowFeeResponseCaptureResultsInner>;
|
|
2419
|
+
/**
|
|
2420
|
+
*
|
|
2421
|
+
* @type {NoShowFeeResponseCreatorChargeResult}
|
|
2422
|
+
* @memberof NoShowFeeResponse
|
|
2423
|
+
*/
|
|
2424
|
+
'creatorChargeResult'?: NoShowFeeResponseCreatorChargeResult;
|
|
2425
|
+
}
|
|
2426
|
+
/**
|
|
2427
|
+
*
|
|
2428
|
+
* @export
|
|
2429
|
+
* @interface NoShowFeeResponseCaptureResultsInner
|
|
2430
|
+
*/
|
|
2431
|
+
export interface NoShowFeeResponseCaptureResultsInner {
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
* @type {string}
|
|
2435
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2436
|
+
*/
|
|
2437
|
+
'type'?: NoShowFeeResponseCaptureResultsInnerTypeEnum;
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
* @type {string}
|
|
2441
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2442
|
+
*/
|
|
2443
|
+
'playerId'?: string;
|
|
2444
|
+
/**
|
|
2445
|
+
*
|
|
2446
|
+
* @type {string}
|
|
2447
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2448
|
+
*/
|
|
2449
|
+
'paymentIntentId'?: string;
|
|
2450
|
+
/**
|
|
2451
|
+
*
|
|
2452
|
+
* @type {number}
|
|
2453
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2454
|
+
*/
|
|
2455
|
+
'amount'?: number;
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @type {string}
|
|
2459
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2460
|
+
*/
|
|
2461
|
+
'status'?: NoShowFeeResponseCaptureResultsInnerStatusEnum;
|
|
2462
|
+
/**
|
|
2463
|
+
*
|
|
2464
|
+
* @type {string}
|
|
2465
|
+
* @memberof NoShowFeeResponseCaptureResultsInner
|
|
2466
|
+
*/
|
|
2467
|
+
'error'?: string;
|
|
2468
|
+
}
|
|
2469
|
+
export declare const NoShowFeeResponseCaptureResultsInnerTypeEnum: {
|
|
2470
|
+
readonly CreatorPayment: "creator_payment";
|
|
2471
|
+
readonly PlayerPayment: "player_payment";
|
|
2472
|
+
};
|
|
2473
|
+
export type NoShowFeeResponseCaptureResultsInnerTypeEnum = typeof NoShowFeeResponseCaptureResultsInnerTypeEnum[keyof typeof NoShowFeeResponseCaptureResultsInnerTypeEnum];
|
|
2474
|
+
export declare const NoShowFeeResponseCaptureResultsInnerStatusEnum: {
|
|
2475
|
+
readonly Captured: "captured";
|
|
2476
|
+
readonly Failed: "failed";
|
|
2477
|
+
};
|
|
2478
|
+
export type NoShowFeeResponseCaptureResultsInnerStatusEnum = typeof NoShowFeeResponseCaptureResultsInnerStatusEnum[keyof typeof NoShowFeeResponseCaptureResultsInnerStatusEnum];
|
|
2479
|
+
/**
|
|
2480
|
+
*
|
|
2481
|
+
* @export
|
|
2482
|
+
* @interface NoShowFeeResponseCreatorChargeResult
|
|
2483
|
+
*/
|
|
2484
|
+
export interface NoShowFeeResponseCreatorChargeResult {
|
|
2485
|
+
/**
|
|
2486
|
+
*
|
|
2487
|
+
* @type {boolean}
|
|
2488
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2489
|
+
*/
|
|
2490
|
+
'success'?: boolean;
|
|
2491
|
+
/**
|
|
2492
|
+
*
|
|
2493
|
+
* @type {string}
|
|
2494
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2495
|
+
*/
|
|
2496
|
+
'paymentIntentId'?: string;
|
|
2497
|
+
/**
|
|
2498
|
+
*
|
|
2499
|
+
* @type {number}
|
|
2500
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2501
|
+
*/
|
|
2502
|
+
'amount'?: number;
|
|
2503
|
+
/**
|
|
2504
|
+
*
|
|
2505
|
+
* @type {string}
|
|
2506
|
+
* @memberof NoShowFeeResponseCreatorChargeResult
|
|
2507
|
+
*/
|
|
2508
|
+
'error'?: string;
|
|
2509
|
+
}
|
|
1905
2510
|
/**
|
|
1906
2511
|
* Méthode de paiement
|
|
1907
2512
|
* @export
|
|
@@ -3014,272 +3619,928 @@ export interface User {
|
|
|
3014
3619
|
* @type {string}
|
|
3015
3620
|
* @memberof User
|
|
3016
3621
|
*/
|
|
3017
|
-
'profilePicture'?: string;
|
|
3622
|
+
'profilePicture'?: string;
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @type {boolean}
|
|
3626
|
+
* @memberof User
|
|
3627
|
+
*/
|
|
3628
|
+
'isAdmin'?: boolean;
|
|
3629
|
+
}
|
|
3630
|
+
/**
|
|
3631
|
+
*
|
|
3632
|
+
* @export
|
|
3633
|
+
* @interface UserResponse
|
|
3634
|
+
*/
|
|
3635
|
+
export interface UserResponse {
|
|
3636
|
+
/**
|
|
3637
|
+
*
|
|
3638
|
+
* @type {string}
|
|
3639
|
+
* @memberof UserResponse
|
|
3640
|
+
*/
|
|
3641
|
+
'id'?: string;
|
|
3642
|
+
/**
|
|
3643
|
+
*
|
|
3644
|
+
* @type {string}
|
|
3645
|
+
* @memberof UserResponse
|
|
3646
|
+
*/
|
|
3647
|
+
'username'?: string;
|
|
3648
|
+
/**
|
|
3649
|
+
*
|
|
3650
|
+
* @type {string}
|
|
3651
|
+
* @memberof UserResponse
|
|
3652
|
+
*/
|
|
3653
|
+
'firstName'?: string;
|
|
3654
|
+
/**
|
|
3655
|
+
*
|
|
3656
|
+
* @type {string}
|
|
3657
|
+
* @memberof UserResponse
|
|
3658
|
+
*/
|
|
3659
|
+
'lastName'?: string;
|
|
3660
|
+
/**
|
|
3661
|
+
*
|
|
3662
|
+
* @type {string}
|
|
3663
|
+
* @memberof UserResponse
|
|
3664
|
+
*/
|
|
3665
|
+
'email'?: string;
|
|
3666
|
+
/**
|
|
3667
|
+
*
|
|
3668
|
+
* @type {string}
|
|
3669
|
+
* @memberof UserResponse
|
|
3670
|
+
*/
|
|
3671
|
+
'phone'?: string;
|
|
3672
|
+
/**
|
|
3673
|
+
*
|
|
3674
|
+
* @type {string}
|
|
3675
|
+
* @memberof UserResponse
|
|
3676
|
+
*/
|
|
3677
|
+
'profilePicture'?: string;
|
|
3678
|
+
/**
|
|
3679
|
+
*
|
|
3680
|
+
* @type {string}
|
|
3681
|
+
* @memberof UserResponse
|
|
3682
|
+
*/
|
|
3683
|
+
'level'?: string;
|
|
3684
|
+
/**
|
|
3685
|
+
*
|
|
3686
|
+
* @type {string}
|
|
3687
|
+
* @memberof UserResponse
|
|
3688
|
+
*/
|
|
3689
|
+
'createdAt'?: string;
|
|
3690
|
+
/**
|
|
3691
|
+
*
|
|
3692
|
+
* @type {string}
|
|
3693
|
+
* @memberof UserResponse
|
|
3694
|
+
*/
|
|
3695
|
+
'updatedAt'?: string;
|
|
3696
|
+
}
|
|
3697
|
+
/**
|
|
3698
|
+
*
|
|
3699
|
+
* @export
|
|
3700
|
+
* @interface UsersResponse
|
|
3701
|
+
*/
|
|
3702
|
+
export interface UsersResponse {
|
|
3703
|
+
/**
|
|
3704
|
+
*
|
|
3705
|
+
* @type {Array<UserResponse>}
|
|
3706
|
+
* @memberof UsersResponse
|
|
3707
|
+
*/
|
|
3708
|
+
'users'?: Array<UserResponse>;
|
|
3709
|
+
/**
|
|
3710
|
+
*
|
|
3711
|
+
* @type {number}
|
|
3712
|
+
* @memberof UsersResponse
|
|
3713
|
+
*/
|
|
3714
|
+
'total'?: number;
|
|
3715
|
+
}
|
|
3716
|
+
/**
|
|
3717
|
+
*
|
|
3718
|
+
* @export
|
|
3719
|
+
* @interface YearlyTurnoverResponse
|
|
3720
|
+
*/
|
|
3721
|
+
export interface YearlyTurnoverResponse {
|
|
3722
|
+
/**
|
|
3723
|
+
*
|
|
3724
|
+
* @type {number}
|
|
3725
|
+
* @memberof YearlyTurnoverResponse
|
|
3726
|
+
*/
|
|
3727
|
+
'year'?: number;
|
|
3728
|
+
/**
|
|
3729
|
+
*
|
|
3730
|
+
* @type {number}
|
|
3731
|
+
* @memberof YearlyTurnoverResponse
|
|
3732
|
+
*/
|
|
3733
|
+
'totalTurnover'?: number;
|
|
3734
|
+
/**
|
|
3735
|
+
*
|
|
3736
|
+
* @type {number}
|
|
3737
|
+
* @memberof YearlyTurnoverResponse
|
|
3738
|
+
*/
|
|
3739
|
+
'totalInvoices'?: number;
|
|
3740
|
+
/**
|
|
3741
|
+
*
|
|
3742
|
+
* @type {Array<YearlyTurnoverResponseMonthlyBreakdownInner>}
|
|
3743
|
+
* @memberof YearlyTurnoverResponse
|
|
3744
|
+
*/
|
|
3745
|
+
'monthlyBreakdown'?: Array<YearlyTurnoverResponseMonthlyBreakdownInner>;
|
|
3746
|
+
}
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @export
|
|
3750
|
+
* @interface YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3751
|
+
*/
|
|
3752
|
+
export interface YearlyTurnoverResponseMonthlyBreakdownInner {
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {number}
|
|
3756
|
+
* @memberof YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3757
|
+
*/
|
|
3758
|
+
'month'?: number;
|
|
3759
|
+
/**
|
|
3760
|
+
*
|
|
3761
|
+
* @type {number}
|
|
3762
|
+
* @memberof YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3763
|
+
*/
|
|
3764
|
+
'monthlyTurnover'?: number;
|
|
3765
|
+
/**
|
|
3766
|
+
*
|
|
3767
|
+
* @type {number}
|
|
3768
|
+
* @memberof YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3769
|
+
*/
|
|
3770
|
+
'invoiceCount'?: number;
|
|
3771
|
+
}
|
|
3772
|
+
/**
|
|
3773
|
+
* AdminClubSlotsApi - axios parameter creator
|
|
3774
|
+
* @export
|
|
3775
|
+
*/
|
|
3776
|
+
export declare const AdminClubSlotsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3777
|
+
/**
|
|
3778
|
+
*
|
|
3779
|
+
* @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
|
|
3780
|
+
* @param {string} id ID du club
|
|
3781
|
+
* @param {*} [options] Override http request option.
|
|
3782
|
+
* @throws {RequiredError}
|
|
3783
|
+
*/
|
|
3784
|
+
generateSlotsForNextThreeWeeks: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3785
|
+
};
|
|
3786
|
+
/**
|
|
3787
|
+
* AdminClubSlotsApi - functional programming interface
|
|
3788
|
+
* @export
|
|
3789
|
+
*/
|
|
3790
|
+
export declare const AdminClubSlotsApiFp: (configuration?: Configuration) => {
|
|
3791
|
+
/**
|
|
3792
|
+
*
|
|
3793
|
+
* @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
|
|
3794
|
+
* @param {string} id ID du club
|
|
3795
|
+
* @param {*} [options] Override http request option.
|
|
3796
|
+
* @throws {RequiredError}
|
|
3797
|
+
*/
|
|
3798
|
+
generateSlotsForNextThreeWeeks(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateSlotsResponse>>;
|
|
3799
|
+
};
|
|
3800
|
+
/**
|
|
3801
|
+
* AdminClubSlotsApi - factory interface
|
|
3802
|
+
* @export
|
|
3803
|
+
*/
|
|
3804
|
+
export declare const AdminClubSlotsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3805
|
+
/**
|
|
3806
|
+
*
|
|
3807
|
+
* @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
|
|
3808
|
+
* @param {AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest} requestParameters Request parameters.
|
|
3809
|
+
* @param {*} [options] Override http request option.
|
|
3810
|
+
* @throws {RequiredError}
|
|
3811
|
+
*/
|
|
3812
|
+
generateSlotsForNextThreeWeeks(requestParameters: AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateSlotsResponse>;
|
|
3813
|
+
};
|
|
3814
|
+
/**
|
|
3815
|
+
* Request parameters for generateSlotsForNextThreeWeeks operation in AdminClubSlotsApi.
|
|
3816
|
+
* @export
|
|
3817
|
+
* @interface AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest
|
|
3818
|
+
*/
|
|
3819
|
+
export interface AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest {
|
|
3820
|
+
/**
|
|
3821
|
+
* ID du club
|
|
3822
|
+
* @type {string}
|
|
3823
|
+
* @memberof AdminClubSlotsApiGenerateSlotsForNextThreeWeeks
|
|
3824
|
+
*/
|
|
3825
|
+
readonly id: string;
|
|
3826
|
+
}
|
|
3827
|
+
/**
|
|
3828
|
+
* AdminClubSlotsApi - object-oriented interface
|
|
3829
|
+
* @export
|
|
3830
|
+
* @class AdminClubSlotsApi
|
|
3831
|
+
* @extends {BaseAPI}
|
|
3832
|
+
*/
|
|
3833
|
+
export declare class AdminClubSlotsApi extends BaseAPI {
|
|
3834
|
+
/**
|
|
3835
|
+
*
|
|
3836
|
+
* @summary Générer les créneaux pour les 3 semaines à venir (Admin uniquement)
|
|
3837
|
+
* @param {AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest} requestParameters Request parameters.
|
|
3838
|
+
* @param {*} [options] Override http request option.
|
|
3839
|
+
* @throws {RequiredError}
|
|
3840
|
+
* @memberof AdminClubSlotsApi
|
|
3841
|
+
*/
|
|
3842
|
+
generateSlotsForNextThreeWeeks(requestParameters: AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateSlotsResponse, any>>;
|
|
3843
|
+
}
|
|
3844
|
+
/**
|
|
3845
|
+
* AdminClubsApi - axios parameter creator
|
|
3846
|
+
* @export
|
|
3847
|
+
*/
|
|
3848
|
+
export declare const AdminClubsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3849
|
+
/**
|
|
3850
|
+
*
|
|
3851
|
+
* @summary Créer un nouveau club (Admin uniquement)
|
|
3852
|
+
* @param {CreateClubRequest} createClubRequest
|
|
3853
|
+
* @param {*} [options] Override http request option.
|
|
3854
|
+
* @throws {RequiredError}
|
|
3855
|
+
*/
|
|
3856
|
+
createClub: (createClubRequest: CreateClubRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3857
|
+
/**
|
|
3858
|
+
*
|
|
3859
|
+
* @summary Récupérer tous les clubs (Admin uniquement)
|
|
3860
|
+
* @param {*} [options] Override http request option.
|
|
3861
|
+
* @throws {RequiredError}
|
|
3862
|
+
*/
|
|
3863
|
+
getAllClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3864
|
+
};
|
|
3865
|
+
/**
|
|
3866
|
+
* AdminClubsApi - functional programming interface
|
|
3867
|
+
* @export
|
|
3868
|
+
*/
|
|
3869
|
+
export declare const AdminClubsApiFp: (configuration?: Configuration) => {
|
|
3870
|
+
/**
|
|
3871
|
+
*
|
|
3872
|
+
* @summary Créer un nouveau club (Admin uniquement)
|
|
3873
|
+
* @param {CreateClubRequest} createClubRequest
|
|
3874
|
+
* @param {*} [options] Override http request option.
|
|
3875
|
+
* @throws {RequiredError}
|
|
3876
|
+
*/
|
|
3877
|
+
createClub(createClubRequest: CreateClubRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>>;
|
|
3878
|
+
/**
|
|
3879
|
+
*
|
|
3880
|
+
* @summary Récupérer tous les clubs (Admin uniquement)
|
|
3881
|
+
* @param {*} [options] Override http request option.
|
|
3882
|
+
* @throws {RequiredError}
|
|
3883
|
+
*/
|
|
3884
|
+
getAllClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubsResponse>>;
|
|
3885
|
+
};
|
|
3886
|
+
/**
|
|
3887
|
+
* AdminClubsApi - factory interface
|
|
3888
|
+
* @export
|
|
3889
|
+
*/
|
|
3890
|
+
export declare const AdminClubsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3891
|
+
/**
|
|
3892
|
+
*
|
|
3893
|
+
* @summary Créer un nouveau club (Admin uniquement)
|
|
3894
|
+
* @param {AdminClubsApiCreateClubRequest} requestParameters Request parameters.
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
createClub(requestParameters: AdminClubsApiCreateClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse>;
|
|
3899
|
+
/**
|
|
3900
|
+
*
|
|
3901
|
+
* @summary Récupérer tous les clubs (Admin uniquement)
|
|
3902
|
+
* @param {*} [options] Override http request option.
|
|
3903
|
+
* @throws {RequiredError}
|
|
3904
|
+
*/
|
|
3905
|
+
getAllClubs(options?: RawAxiosRequestConfig): AxiosPromise<ClubsResponse>;
|
|
3906
|
+
};
|
|
3907
|
+
/**
|
|
3908
|
+
* Request parameters for createClub operation in AdminClubsApi.
|
|
3909
|
+
* @export
|
|
3910
|
+
* @interface AdminClubsApiCreateClubRequest
|
|
3911
|
+
*/
|
|
3912
|
+
export interface AdminClubsApiCreateClubRequest {
|
|
3913
|
+
/**
|
|
3914
|
+
*
|
|
3915
|
+
* @type {CreateClubRequest}
|
|
3916
|
+
* @memberof AdminClubsApiCreateClub
|
|
3917
|
+
*/
|
|
3918
|
+
readonly createClubRequest: CreateClubRequest;
|
|
3919
|
+
}
|
|
3920
|
+
/**
|
|
3921
|
+
* AdminClubsApi - object-oriented interface
|
|
3922
|
+
* @export
|
|
3923
|
+
* @class AdminClubsApi
|
|
3924
|
+
* @extends {BaseAPI}
|
|
3925
|
+
*/
|
|
3926
|
+
export declare class AdminClubsApi extends BaseAPI {
|
|
3927
|
+
/**
|
|
3928
|
+
*
|
|
3929
|
+
* @summary Créer un nouveau club (Admin uniquement)
|
|
3930
|
+
* @param {AdminClubsApiCreateClubRequest} requestParameters Request parameters.
|
|
3931
|
+
* @param {*} [options] Override http request option.
|
|
3932
|
+
* @throws {RequiredError}
|
|
3933
|
+
* @memberof AdminClubsApi
|
|
3934
|
+
*/
|
|
3935
|
+
createClub(requestParameters: AdminClubsApiCreateClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any>>;
|
|
3936
|
+
/**
|
|
3937
|
+
*
|
|
3938
|
+
* @summary Récupérer tous les clubs (Admin uniquement)
|
|
3939
|
+
* @param {*} [options] Override http request option.
|
|
3940
|
+
* @throws {RequiredError}
|
|
3941
|
+
* @memberof AdminClubsApi
|
|
3942
|
+
*/
|
|
3943
|
+
getAllClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubsResponse, any>>;
|
|
3944
|
+
}
|
|
3945
|
+
/**
|
|
3946
|
+
* BookingsApi - axios parameter creator
|
|
3947
|
+
* @export
|
|
3948
|
+
*/
|
|
3949
|
+
export declare const BookingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3950
|
+
/**
|
|
3951
|
+
* 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.
|
|
3952
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3953
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
3954
|
+
* @param {CancelBookingRequest} cancelBookingRequest
|
|
3955
|
+
* @param {*} [options] Override http request option.
|
|
3956
|
+
* @throws {RequiredError}
|
|
3957
|
+
*/
|
|
3958
|
+
cancelBooking: (bookingId: string, cancelBookingRequest: CancelBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3959
|
+
};
|
|
3960
|
+
/**
|
|
3961
|
+
* BookingsApi - functional programming interface
|
|
3962
|
+
* @export
|
|
3963
|
+
*/
|
|
3964
|
+
export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
3965
|
+
/**
|
|
3966
|
+
* 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.
|
|
3967
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3968
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
3969
|
+
* @param {CancelBookingRequest} cancelBookingRequest
|
|
3970
|
+
* @param {*} [options] Override http request option.
|
|
3971
|
+
* @throws {RequiredError}
|
|
3972
|
+
*/
|
|
3973
|
+
cancelBooking(bookingId: string, cancelBookingRequest: CancelBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponse>>;
|
|
3974
|
+
};
|
|
3975
|
+
/**
|
|
3976
|
+
* BookingsApi - factory interface
|
|
3977
|
+
* @export
|
|
3978
|
+
*/
|
|
3979
|
+
export declare const BookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3980
|
+
/**
|
|
3981
|
+
* 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.
|
|
3982
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
3983
|
+
* @param {BookingsApiCancelBookingRequest} requestParameters Request parameters.
|
|
3984
|
+
* @param {*} [options] Override http request option.
|
|
3985
|
+
* @throws {RequiredError}
|
|
3986
|
+
*/
|
|
3987
|
+
cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponse>;
|
|
3988
|
+
};
|
|
3989
|
+
/**
|
|
3990
|
+
* Request parameters for cancelBooking operation in BookingsApi.
|
|
3991
|
+
* @export
|
|
3992
|
+
* @interface BookingsApiCancelBookingRequest
|
|
3993
|
+
*/
|
|
3994
|
+
export interface BookingsApiCancelBookingRequest {
|
|
3995
|
+
/**
|
|
3996
|
+
* ID MongoDB de la réservation à annuler
|
|
3997
|
+
* @type {string}
|
|
3998
|
+
* @memberof BookingsApiCancelBooking
|
|
3999
|
+
*/
|
|
4000
|
+
readonly bookingId: string;
|
|
4001
|
+
/**
|
|
4002
|
+
*
|
|
4003
|
+
* @type {CancelBookingRequest}
|
|
4004
|
+
* @memberof BookingsApiCancelBooking
|
|
4005
|
+
*/
|
|
4006
|
+
readonly cancelBookingRequest: CancelBookingRequest;
|
|
4007
|
+
}
|
|
4008
|
+
/**
|
|
4009
|
+
* BookingsApi - object-oriented interface
|
|
4010
|
+
* @export
|
|
4011
|
+
* @class BookingsApi
|
|
4012
|
+
* @extends {BaseAPI}
|
|
4013
|
+
*/
|
|
4014
|
+
export declare class BookingsApi extends BaseAPI {
|
|
4015
|
+
/**
|
|
4016
|
+
* 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.
|
|
4017
|
+
* @summary Annuler une réservation (créateur uniquement)
|
|
4018
|
+
* @param {BookingsApiCancelBookingRequest} requestParameters Request parameters.
|
|
4019
|
+
* @param {*} [options] Override http request option.
|
|
4020
|
+
* @throws {RequiredError}
|
|
4021
|
+
* @memberof BookingsApi
|
|
4022
|
+
*/
|
|
4023
|
+
cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any>>;
|
|
4024
|
+
}
|
|
4025
|
+
/**
|
|
4026
|
+
* ClubAnalyticsApi - axios parameter creator
|
|
4027
|
+
* @export
|
|
4028
|
+
*/
|
|
4029
|
+
export declare const ClubAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4030
|
+
/**
|
|
4031
|
+
*
|
|
4032
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4033
|
+
* @param {string} id ID du club
|
|
4034
|
+
* @param {string} date Date (format YYYY-MM-DD)
|
|
4035
|
+
* @param {*} [options] Override http request option.
|
|
4036
|
+
* @throws {RequiredError}
|
|
4037
|
+
*/
|
|
4038
|
+
getDailyTurnOver: (id: string, date: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4039
|
+
/**
|
|
4040
|
+
*
|
|
4041
|
+
* @summary Récupérer les factures du club
|
|
4042
|
+
* @param {string} id ID du club
|
|
4043
|
+
* @param {number} [page] Numéro de page
|
|
4044
|
+
* @param {number} [limit] Nombre d\'éléments par page
|
|
4045
|
+
* @param {GetInvoicesStatusEnum} [status] Filtrer par statut
|
|
4046
|
+
* @param {string} [startDate] Date de début (ISO format)
|
|
4047
|
+
* @param {string} [endDate] Date de fin (ISO format)
|
|
4048
|
+
* @param {*} [options] Override http request option.
|
|
4049
|
+
* @throws {RequiredError}
|
|
4050
|
+
*/
|
|
4051
|
+
getInvoices: (id: string, page?: number, limit?: number, status?: GetInvoicesStatusEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4055
|
+
* @param {string} id ID du club
|
|
4056
|
+
* @param {number} year Année
|
|
4057
|
+
* @param {number} month Mois (1-12)
|
|
4058
|
+
* @param {*} [options] Override http request option.
|
|
4059
|
+
* @throws {RequiredError}
|
|
4060
|
+
*/
|
|
4061
|
+
getMonthlyTurnOver: (id: string, year: number, month: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4062
|
+
/**
|
|
4063
|
+
*
|
|
4064
|
+
* @summary Chiffre d\'affaires annuel
|
|
4065
|
+
* @param {string} id ID du club
|
|
4066
|
+
* @param {number} year Année
|
|
4067
|
+
* @param {*} [options] Override http request option.
|
|
4068
|
+
* @throws {RequiredError}
|
|
4069
|
+
*/
|
|
4070
|
+
getYearlyTurnOver: (id: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4071
|
+
};
|
|
4072
|
+
/**
|
|
4073
|
+
* ClubAnalyticsApi - functional programming interface
|
|
4074
|
+
* @export
|
|
4075
|
+
*/
|
|
4076
|
+
export declare const ClubAnalyticsApiFp: (configuration?: Configuration) => {
|
|
4077
|
+
/**
|
|
4078
|
+
*
|
|
4079
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4080
|
+
* @param {string} id ID du club
|
|
4081
|
+
* @param {string} date Date (format YYYY-MM-DD)
|
|
4082
|
+
* @param {*} [options] Override http request option.
|
|
4083
|
+
* @throws {RequiredError}
|
|
4084
|
+
*/
|
|
4085
|
+
getDailyTurnOver(id: string, date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DailyTurnoverResponse>>;
|
|
4086
|
+
/**
|
|
4087
|
+
*
|
|
4088
|
+
* @summary Récupérer les factures du club
|
|
4089
|
+
* @param {string} id ID du club
|
|
4090
|
+
* @param {number} [page] Numéro de page
|
|
4091
|
+
* @param {number} [limit] Nombre d\'éléments par page
|
|
4092
|
+
* @param {GetInvoicesStatusEnum} [status] Filtrer par statut
|
|
4093
|
+
* @param {string} [startDate] Date de début (ISO format)
|
|
4094
|
+
* @param {string} [endDate] Date de fin (ISO format)
|
|
4095
|
+
* @param {*} [options] Override http request option.
|
|
4096
|
+
* @throws {RequiredError}
|
|
4097
|
+
*/
|
|
4098
|
+
getInvoices(id: string, page?: number, limit?: number, status?: GetInvoicesStatusEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoicesResponse>>;
|
|
4099
|
+
/**
|
|
4100
|
+
*
|
|
4101
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4102
|
+
* @param {string} id ID du club
|
|
4103
|
+
* @param {number} year Année
|
|
4104
|
+
* @param {number} month Mois (1-12)
|
|
4105
|
+
* @param {*} [options] Override http request option.
|
|
4106
|
+
* @throws {RequiredError}
|
|
4107
|
+
*/
|
|
4108
|
+
getMonthlyTurnOver(id: string, year: number, month: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MonthlyTurnoverResponse>>;
|
|
4109
|
+
/**
|
|
4110
|
+
*
|
|
4111
|
+
* @summary Chiffre d\'affaires annuel
|
|
4112
|
+
* @param {string} id ID du club
|
|
4113
|
+
* @param {number} year Année
|
|
4114
|
+
* @param {*} [options] Override http request option.
|
|
4115
|
+
* @throws {RequiredError}
|
|
4116
|
+
*/
|
|
4117
|
+
getYearlyTurnOver(id: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YearlyTurnoverResponse>>;
|
|
4118
|
+
};
|
|
4119
|
+
/**
|
|
4120
|
+
* ClubAnalyticsApi - factory interface
|
|
4121
|
+
* @export
|
|
4122
|
+
*/
|
|
4123
|
+
export declare const ClubAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4124
|
+
/**
|
|
4125
|
+
*
|
|
4126
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4127
|
+
* @param {ClubAnalyticsApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
4128
|
+
* @param {*} [options] Override http request option.
|
|
4129
|
+
* @throws {RequiredError}
|
|
4130
|
+
*/
|
|
4131
|
+
getDailyTurnOver(requestParameters: ClubAnalyticsApiGetDailyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<DailyTurnoverResponse>;
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @summary Récupérer les factures du club
|
|
4135
|
+
* @param {ClubAnalyticsApiGetInvoicesRequest} requestParameters Request parameters.
|
|
4136
|
+
* @param {*} [options] Override http request option.
|
|
4137
|
+
* @throws {RequiredError}
|
|
4138
|
+
*/
|
|
4139
|
+
getInvoices(requestParameters: ClubAnalyticsApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoicesResponse>;
|
|
4140
|
+
/**
|
|
4141
|
+
*
|
|
4142
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4143
|
+
* @param {ClubAnalyticsApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
4144
|
+
* @param {*} [options] Override http request option.
|
|
4145
|
+
* @throws {RequiredError}
|
|
4146
|
+
*/
|
|
4147
|
+
getMonthlyTurnOver(requestParameters: ClubAnalyticsApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<MonthlyTurnoverResponse>;
|
|
3018
4148
|
/**
|
|
3019
4149
|
*
|
|
3020
|
-
* @
|
|
3021
|
-
* @
|
|
4150
|
+
* @summary Chiffre d\'affaires annuel
|
|
4151
|
+
* @param {ClubAnalyticsApiGetYearlyTurnOverRequest} requestParameters Request parameters.
|
|
4152
|
+
* @param {*} [options] Override http request option.
|
|
4153
|
+
* @throws {RequiredError}
|
|
3022
4154
|
*/
|
|
3023
|
-
|
|
3024
|
-
}
|
|
4155
|
+
getYearlyTurnOver(requestParameters: ClubAnalyticsApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<YearlyTurnoverResponse>;
|
|
4156
|
+
};
|
|
3025
4157
|
/**
|
|
3026
|
-
*
|
|
4158
|
+
* Request parameters for getDailyTurnOver operation in ClubAnalyticsApi.
|
|
3027
4159
|
* @export
|
|
3028
|
-
* @interface
|
|
4160
|
+
* @interface ClubAnalyticsApiGetDailyTurnOverRequest
|
|
3029
4161
|
*/
|
|
3030
|
-
export interface
|
|
4162
|
+
export interface ClubAnalyticsApiGetDailyTurnOverRequest {
|
|
3031
4163
|
/**
|
|
3032
|
-
*
|
|
4164
|
+
* ID du club
|
|
3033
4165
|
* @type {string}
|
|
3034
|
-
* @memberof
|
|
4166
|
+
* @memberof ClubAnalyticsApiGetDailyTurnOver
|
|
3035
4167
|
*/
|
|
3036
|
-
|
|
4168
|
+
readonly id: string;
|
|
3037
4169
|
/**
|
|
3038
|
-
*
|
|
4170
|
+
* Date (format YYYY-MM-DD)
|
|
3039
4171
|
* @type {string}
|
|
3040
|
-
* @memberof
|
|
4172
|
+
* @memberof ClubAnalyticsApiGetDailyTurnOver
|
|
3041
4173
|
*/
|
|
3042
|
-
|
|
4174
|
+
readonly date: string;
|
|
4175
|
+
}
|
|
4176
|
+
/**
|
|
4177
|
+
* Request parameters for getInvoices operation in ClubAnalyticsApi.
|
|
4178
|
+
* @export
|
|
4179
|
+
* @interface ClubAnalyticsApiGetInvoicesRequest
|
|
4180
|
+
*/
|
|
4181
|
+
export interface ClubAnalyticsApiGetInvoicesRequest {
|
|
3043
4182
|
/**
|
|
3044
|
-
*
|
|
4183
|
+
* ID du club
|
|
3045
4184
|
* @type {string}
|
|
3046
|
-
* @memberof
|
|
4185
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
3047
4186
|
*/
|
|
3048
|
-
|
|
4187
|
+
readonly id: string;
|
|
3049
4188
|
/**
|
|
3050
|
-
*
|
|
3051
|
-
* @type {
|
|
3052
|
-
* @memberof
|
|
4189
|
+
* Numéro de page
|
|
4190
|
+
* @type {number}
|
|
4191
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
3053
4192
|
*/
|
|
3054
|
-
|
|
4193
|
+
readonly page?: number;
|
|
3055
4194
|
/**
|
|
3056
|
-
*
|
|
3057
|
-
* @type {
|
|
3058
|
-
* @memberof
|
|
4195
|
+
* Nombre d\'éléments par page
|
|
4196
|
+
* @type {number}
|
|
4197
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
3059
4198
|
*/
|
|
3060
|
-
|
|
4199
|
+
readonly limit?: number;
|
|
3061
4200
|
/**
|
|
3062
|
-
*
|
|
3063
|
-
* @type {
|
|
3064
|
-
* @memberof
|
|
4201
|
+
* Filtrer par statut
|
|
4202
|
+
* @type {'pending' | 'paid' | 'failed' | 'authorized' | 'canceled' | 'expired'}
|
|
4203
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
3065
4204
|
*/
|
|
3066
|
-
|
|
4205
|
+
readonly status?: GetInvoicesStatusEnum;
|
|
3067
4206
|
/**
|
|
3068
|
-
*
|
|
4207
|
+
* Date de début (ISO format)
|
|
3069
4208
|
* @type {string}
|
|
3070
|
-
* @memberof
|
|
4209
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
3071
4210
|
*/
|
|
3072
|
-
|
|
4211
|
+
readonly startDate?: string;
|
|
3073
4212
|
/**
|
|
3074
|
-
*
|
|
4213
|
+
* Date de fin (ISO format)
|
|
3075
4214
|
* @type {string}
|
|
3076
|
-
* @memberof
|
|
4215
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
3077
4216
|
*/
|
|
3078
|
-
|
|
4217
|
+
readonly endDate?: string;
|
|
4218
|
+
}
|
|
4219
|
+
/**
|
|
4220
|
+
* Request parameters for getMonthlyTurnOver operation in ClubAnalyticsApi.
|
|
4221
|
+
* @export
|
|
4222
|
+
* @interface ClubAnalyticsApiGetMonthlyTurnOverRequest
|
|
4223
|
+
*/
|
|
4224
|
+
export interface ClubAnalyticsApiGetMonthlyTurnOverRequest {
|
|
3079
4225
|
/**
|
|
3080
|
-
*
|
|
4226
|
+
* ID du club
|
|
3081
4227
|
* @type {string}
|
|
3082
|
-
* @memberof
|
|
4228
|
+
* @memberof ClubAnalyticsApiGetMonthlyTurnOver
|
|
3083
4229
|
*/
|
|
3084
|
-
|
|
4230
|
+
readonly id: string;
|
|
3085
4231
|
/**
|
|
3086
|
-
*
|
|
3087
|
-
* @type {
|
|
3088
|
-
* @memberof
|
|
4232
|
+
* Année
|
|
4233
|
+
* @type {number}
|
|
4234
|
+
* @memberof ClubAnalyticsApiGetMonthlyTurnOver
|
|
3089
4235
|
*/
|
|
3090
|
-
|
|
4236
|
+
readonly year: number;
|
|
4237
|
+
/**
|
|
4238
|
+
* Mois (1-12)
|
|
4239
|
+
* @type {number}
|
|
4240
|
+
* @memberof ClubAnalyticsApiGetMonthlyTurnOver
|
|
4241
|
+
*/
|
|
4242
|
+
readonly month: number;
|
|
3091
4243
|
}
|
|
3092
4244
|
/**
|
|
3093
|
-
*
|
|
4245
|
+
* Request parameters for getYearlyTurnOver operation in ClubAnalyticsApi.
|
|
3094
4246
|
* @export
|
|
3095
|
-
* @interface
|
|
4247
|
+
* @interface ClubAnalyticsApiGetYearlyTurnOverRequest
|
|
3096
4248
|
*/
|
|
3097
|
-
export interface
|
|
4249
|
+
export interface ClubAnalyticsApiGetYearlyTurnOverRequest {
|
|
3098
4250
|
/**
|
|
3099
|
-
*
|
|
3100
|
-
* @type {
|
|
3101
|
-
* @memberof
|
|
4251
|
+
* ID du club
|
|
4252
|
+
* @type {string}
|
|
4253
|
+
* @memberof ClubAnalyticsApiGetYearlyTurnOver
|
|
3102
4254
|
*/
|
|
3103
|
-
|
|
4255
|
+
readonly id: string;
|
|
3104
4256
|
/**
|
|
3105
|
-
*
|
|
4257
|
+
* Année
|
|
3106
4258
|
* @type {number}
|
|
3107
|
-
* @memberof
|
|
4259
|
+
* @memberof ClubAnalyticsApiGetYearlyTurnOver
|
|
3108
4260
|
*/
|
|
3109
|
-
|
|
4261
|
+
readonly year: number;
|
|
3110
4262
|
}
|
|
3111
4263
|
/**
|
|
3112
|
-
*
|
|
4264
|
+
* ClubAnalyticsApi - object-oriented interface
|
|
3113
4265
|
* @export
|
|
4266
|
+
* @class ClubAnalyticsApi
|
|
4267
|
+
* @extends {BaseAPI}
|
|
3114
4268
|
*/
|
|
3115
|
-
export declare
|
|
4269
|
+
export declare class ClubAnalyticsApi extends BaseAPI {
|
|
3116
4270
|
/**
|
|
3117
4271
|
*
|
|
3118
|
-
* @summary
|
|
3119
|
-
* @param {
|
|
4272
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4273
|
+
* @param {ClubAnalyticsApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
3120
4274
|
* @param {*} [options] Override http request option.
|
|
3121
4275
|
* @throws {RequiredError}
|
|
4276
|
+
* @memberof ClubAnalyticsApi
|
|
3122
4277
|
*/
|
|
3123
|
-
|
|
3124
|
-
};
|
|
3125
|
-
/**
|
|
3126
|
-
* AdminClubSlotsApi - functional programming interface
|
|
3127
|
-
* @export
|
|
3128
|
-
*/
|
|
3129
|
-
export declare const AdminClubSlotsApiFp: (configuration?: Configuration) => {
|
|
4278
|
+
getDailyTurnOver(requestParameters: ClubAnalyticsApiGetDailyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DailyTurnoverResponse, any>>;
|
|
3130
4279
|
/**
|
|
3131
4280
|
*
|
|
3132
|
-
* @summary
|
|
3133
|
-
* @param {
|
|
4281
|
+
* @summary Récupérer les factures du club
|
|
4282
|
+
* @param {ClubAnalyticsApiGetInvoicesRequest} requestParameters Request parameters.
|
|
3134
4283
|
* @param {*} [options] Override http request option.
|
|
3135
4284
|
* @throws {RequiredError}
|
|
4285
|
+
* @memberof ClubAnalyticsApi
|
|
3136
4286
|
*/
|
|
3137
|
-
|
|
3138
|
-
};
|
|
3139
|
-
/**
|
|
3140
|
-
* AdminClubSlotsApi - factory interface
|
|
3141
|
-
* @export
|
|
3142
|
-
*/
|
|
3143
|
-
export declare const AdminClubSlotsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4287
|
+
getInvoices(requestParameters: ClubAnalyticsApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoicesResponse, any>>;
|
|
3144
4288
|
/**
|
|
3145
4289
|
*
|
|
3146
|
-
* @summary
|
|
3147
|
-
* @param {
|
|
4290
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4291
|
+
* @param {ClubAnalyticsApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
3148
4292
|
* @param {*} [options] Override http request option.
|
|
3149
4293
|
* @throws {RequiredError}
|
|
4294
|
+
* @memberof ClubAnalyticsApi
|
|
3150
4295
|
*/
|
|
3151
|
-
|
|
3152
|
-
};
|
|
3153
|
-
/**
|
|
3154
|
-
* Request parameters for generateSlotsForNextThreeWeeks operation in AdminClubSlotsApi.
|
|
3155
|
-
* @export
|
|
3156
|
-
* @interface AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest
|
|
3157
|
-
*/
|
|
3158
|
-
export interface AdminClubSlotsApiGenerateSlotsForNextThreeWeeksRequest {
|
|
4296
|
+
getMonthlyTurnOver(requestParameters: ClubAnalyticsApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MonthlyTurnoverResponse, any>>;
|
|
3159
4297
|
/**
|
|
3160
|
-
*
|
|
3161
|
-
* @
|
|
3162
|
-
* @
|
|
4298
|
+
*
|
|
4299
|
+
* @summary Chiffre d\'affaires annuel
|
|
4300
|
+
* @param {ClubAnalyticsApiGetYearlyTurnOverRequest} requestParameters Request parameters.
|
|
4301
|
+
* @param {*} [options] Override http request option.
|
|
4302
|
+
* @throws {RequiredError}
|
|
4303
|
+
* @memberof ClubAnalyticsApi
|
|
3163
4304
|
*/
|
|
3164
|
-
|
|
4305
|
+
getYearlyTurnOver(requestParameters: ClubAnalyticsApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YearlyTurnoverResponse, any>>;
|
|
3165
4306
|
}
|
|
3166
4307
|
/**
|
|
3167
|
-
* AdminClubSlotsApi - object-oriented interface
|
|
3168
4308
|
* @export
|
|
3169
|
-
* @class AdminClubSlotsApi
|
|
3170
|
-
* @extends {BaseAPI}
|
|
3171
4309
|
*/
|
|
3172
|
-
export declare
|
|
4310
|
+
export declare const GetInvoicesStatusEnum: {
|
|
4311
|
+
readonly Pending: "pending";
|
|
4312
|
+
readonly Paid: "paid";
|
|
4313
|
+
readonly Failed: "failed";
|
|
4314
|
+
readonly Authorized: "authorized";
|
|
4315
|
+
readonly Canceled: "canceled";
|
|
4316
|
+
readonly Expired: "expired";
|
|
4317
|
+
};
|
|
4318
|
+
export type GetInvoicesStatusEnum = typeof GetInvoicesStatusEnum[keyof typeof GetInvoicesStatusEnum];
|
|
4319
|
+
/**
|
|
4320
|
+
* ManagerBookingsApi - axios parameter creator
|
|
4321
|
+
* @export
|
|
4322
|
+
*/
|
|
4323
|
+
export declare const ManagerBookingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3173
4324
|
/**
|
|
3174
|
-
*
|
|
3175
|
-
* @summary
|
|
3176
|
-
* @param {
|
|
4325
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
4326
|
+
* @summary Appliquer les frais de no-show
|
|
4327
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3177
4328
|
* @param {*} [options] Override http request option.
|
|
3178
4329
|
* @throws {RequiredError}
|
|
3179
|
-
* @memberof AdminClubSlotsApi
|
|
3180
4330
|
*/
|
|
3181
|
-
|
|
3182
|
-
}
|
|
3183
|
-
/**
|
|
3184
|
-
* AdminClubsApi - axios parameter creator
|
|
3185
|
-
* @export
|
|
3186
|
-
*/
|
|
3187
|
-
export declare const AdminClubsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4331
|
+
applyNoShowFee: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3188
4332
|
/**
|
|
3189
|
-
*
|
|
3190
|
-
* @summary
|
|
3191
|
-
* @param {
|
|
4333
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
4334
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
4335
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
4336
|
+
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
3192
4337
|
* @param {*} [options] Override http request option.
|
|
3193
4338
|
* @throws {RequiredError}
|
|
3194
4339
|
*/
|
|
3195
|
-
|
|
4340
|
+
checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3196
4341
|
/**
|
|
3197
|
-
*
|
|
3198
|
-
* @summary
|
|
4342
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
4343
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
4344
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3199
4345
|
* @param {*} [options] Override http request option.
|
|
3200
4346
|
* @throws {RequiredError}
|
|
3201
4347
|
*/
|
|
3202
|
-
|
|
4348
|
+
getBookingPaymentStatus: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4349
|
+
/**
|
|
4350
|
+
* 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.
|
|
4351
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
4352
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
4353
|
+
* @param {ManagerCancelBookingRequest} managerCancelBookingRequest
|
|
4354
|
+
* @param {*} [options] Override http request option.
|
|
4355
|
+
* @throws {RequiredError}
|
|
4356
|
+
*/
|
|
4357
|
+
managerCancelBooking: (bookingId: string, managerCancelBookingRequest: ManagerCancelBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3203
4358
|
};
|
|
3204
4359
|
/**
|
|
3205
|
-
*
|
|
4360
|
+
* ManagerBookingsApi - functional programming interface
|
|
3206
4361
|
* @export
|
|
3207
4362
|
*/
|
|
3208
|
-
export declare const
|
|
4363
|
+
export declare const ManagerBookingsApiFp: (configuration?: Configuration) => {
|
|
3209
4364
|
/**
|
|
3210
|
-
*
|
|
3211
|
-
* @summary
|
|
3212
|
-
* @param {
|
|
4365
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
4366
|
+
* @summary Appliquer les frais de no-show
|
|
4367
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
3213
4368
|
* @param {*} [options] Override http request option.
|
|
3214
4369
|
* @throws {RequiredError}
|
|
3215
4370
|
*/
|
|
3216
|
-
|
|
4371
|
+
applyNoShowFee(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoShowFeeResponse>>;
|
|
3217
4372
|
/**
|
|
3218
|
-
*
|
|
3219
|
-
* @summary
|
|
4373
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
4374
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
4375
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
4376
|
+
* @param {CheckInPlayersRequest} checkInPlayersRequest
|
|
3220
4377
|
* @param {*} [options] Override http request option.
|
|
3221
4378
|
* @throws {RequiredError}
|
|
3222
4379
|
*/
|
|
3223
|
-
|
|
4380
|
+
checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
|
|
4381
|
+
/**
|
|
4382
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
4383
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
4384
|
+
* @param {string} bookingId ID MongoDB de la réservation
|
|
4385
|
+
* @param {*} [options] Override http request option.
|
|
4386
|
+
* @throws {RequiredError}
|
|
4387
|
+
*/
|
|
4388
|
+
getBookingPaymentStatus(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPaymentStatusResponse>>;
|
|
4389
|
+
/**
|
|
4390
|
+
* 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.
|
|
4391
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
4392
|
+
* @param {string} bookingId ID MongoDB de la réservation à annuler
|
|
4393
|
+
* @param {ManagerCancelBookingRequest} managerCancelBookingRequest
|
|
4394
|
+
* @param {*} [options] Override http request option.
|
|
4395
|
+
* @throws {RequiredError}
|
|
4396
|
+
*/
|
|
4397
|
+
managerCancelBooking(bookingId: string, managerCancelBookingRequest: ManagerCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerCancelBookingResponse>>;
|
|
3224
4398
|
};
|
|
3225
4399
|
/**
|
|
3226
|
-
*
|
|
4400
|
+
* ManagerBookingsApi - factory interface
|
|
3227
4401
|
* @export
|
|
3228
4402
|
*/
|
|
3229
|
-
export declare const
|
|
4403
|
+
export declare const ManagerBookingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3230
4404
|
/**
|
|
3231
|
-
*
|
|
3232
|
-
* @summary
|
|
3233
|
-
* @param {
|
|
4405
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
4406
|
+
* @summary Appliquer les frais de no-show
|
|
4407
|
+
* @param {ManagerBookingsApiApplyNoShowFeeRequest} requestParameters Request parameters.
|
|
3234
4408
|
* @param {*} [options] Override http request option.
|
|
3235
4409
|
* @throws {RequiredError}
|
|
3236
4410
|
*/
|
|
3237
|
-
|
|
4411
|
+
applyNoShowFee(requestParameters: ManagerBookingsApiApplyNoShowFeeRequest, options?: RawAxiosRequestConfig): AxiosPromise<NoShowFeeResponse>;
|
|
3238
4412
|
/**
|
|
3239
|
-
*
|
|
3240
|
-
* @summary
|
|
4413
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
4414
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
4415
|
+
* @param {ManagerBookingsApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
3241
4416
|
* @param {*} [options] Override http request option.
|
|
3242
4417
|
* @throws {RequiredError}
|
|
3243
4418
|
*/
|
|
3244
|
-
|
|
4419
|
+
checkInPlayers(requestParameters: ManagerBookingsApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
|
|
4420
|
+
/**
|
|
4421
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
4422
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
4423
|
+
* @param {ManagerBookingsApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
4424
|
+
* @param {*} [options] Override http request option.
|
|
4425
|
+
* @throws {RequiredError}
|
|
4426
|
+
*/
|
|
4427
|
+
getBookingPaymentStatus(requestParameters: ManagerBookingsApiGetBookingPaymentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentStatusResponse>;
|
|
4428
|
+
/**
|
|
4429
|
+
* 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.
|
|
4430
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
4431
|
+
* @param {ManagerBookingsApiManagerCancelBookingRequest} requestParameters Request parameters.
|
|
4432
|
+
* @param {*} [options] Override http request option.
|
|
4433
|
+
* @throws {RequiredError}
|
|
4434
|
+
*/
|
|
4435
|
+
managerCancelBooking(requestParameters: ManagerBookingsApiManagerCancelBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManagerCancelBookingResponse>;
|
|
3245
4436
|
};
|
|
3246
4437
|
/**
|
|
3247
|
-
* Request parameters for
|
|
4438
|
+
* Request parameters for applyNoShowFee operation in ManagerBookingsApi.
|
|
3248
4439
|
* @export
|
|
3249
|
-
* @interface
|
|
4440
|
+
* @interface ManagerBookingsApiApplyNoShowFeeRequest
|
|
3250
4441
|
*/
|
|
3251
|
-
export interface
|
|
4442
|
+
export interface ManagerBookingsApiApplyNoShowFeeRequest {
|
|
4443
|
+
/**
|
|
4444
|
+
* ID MongoDB de la réservation
|
|
4445
|
+
* @type {string}
|
|
4446
|
+
* @memberof ManagerBookingsApiApplyNoShowFee
|
|
4447
|
+
*/
|
|
4448
|
+
readonly bookingId: string;
|
|
4449
|
+
}
|
|
4450
|
+
/**
|
|
4451
|
+
* Request parameters for checkInPlayers operation in ManagerBookingsApi.
|
|
4452
|
+
* @export
|
|
4453
|
+
* @interface ManagerBookingsApiCheckInPlayersRequest
|
|
4454
|
+
*/
|
|
4455
|
+
export interface ManagerBookingsApiCheckInPlayersRequest {
|
|
4456
|
+
/**
|
|
4457
|
+
* ID MongoDB de la réservation
|
|
4458
|
+
* @type {string}
|
|
4459
|
+
* @memberof ManagerBookingsApiCheckInPlayers
|
|
4460
|
+
*/
|
|
4461
|
+
readonly bookingId: string;
|
|
3252
4462
|
/**
|
|
3253
4463
|
*
|
|
3254
|
-
* @type {
|
|
3255
|
-
* @memberof
|
|
4464
|
+
* @type {CheckInPlayersRequest}
|
|
4465
|
+
* @memberof ManagerBookingsApiCheckInPlayers
|
|
3256
4466
|
*/
|
|
3257
|
-
readonly
|
|
4467
|
+
readonly checkInPlayersRequest: CheckInPlayersRequest;
|
|
3258
4468
|
}
|
|
3259
4469
|
/**
|
|
3260
|
-
*
|
|
4470
|
+
* Request parameters for getBookingPaymentStatus operation in ManagerBookingsApi.
|
|
3261
4471
|
* @export
|
|
3262
|
-
* @
|
|
3263
|
-
* @extends {BaseAPI}
|
|
4472
|
+
* @interface ManagerBookingsApiGetBookingPaymentStatusRequest
|
|
3264
4473
|
*/
|
|
3265
|
-
export
|
|
4474
|
+
export interface ManagerBookingsApiGetBookingPaymentStatusRequest {
|
|
4475
|
+
/**
|
|
4476
|
+
* ID MongoDB de la réservation
|
|
4477
|
+
* @type {string}
|
|
4478
|
+
* @memberof ManagerBookingsApiGetBookingPaymentStatus
|
|
4479
|
+
*/
|
|
4480
|
+
readonly bookingId: string;
|
|
4481
|
+
}
|
|
4482
|
+
/**
|
|
4483
|
+
* Request parameters for managerCancelBooking operation in ManagerBookingsApi.
|
|
4484
|
+
* @export
|
|
4485
|
+
* @interface ManagerBookingsApiManagerCancelBookingRequest
|
|
4486
|
+
*/
|
|
4487
|
+
export interface ManagerBookingsApiManagerCancelBookingRequest {
|
|
4488
|
+
/**
|
|
4489
|
+
* ID MongoDB de la réservation à annuler
|
|
4490
|
+
* @type {string}
|
|
4491
|
+
* @memberof ManagerBookingsApiManagerCancelBooking
|
|
4492
|
+
*/
|
|
4493
|
+
readonly bookingId: string;
|
|
3266
4494
|
/**
|
|
3267
4495
|
*
|
|
3268
|
-
* @
|
|
3269
|
-
* @
|
|
4496
|
+
* @type {ManagerCancelBookingRequest}
|
|
4497
|
+
* @memberof ManagerBookingsApiManagerCancelBooking
|
|
4498
|
+
*/
|
|
4499
|
+
readonly managerCancelBookingRequest: ManagerCancelBookingRequest;
|
|
4500
|
+
}
|
|
4501
|
+
/**
|
|
4502
|
+
* ManagerBookingsApi - object-oriented interface
|
|
4503
|
+
* @export
|
|
4504
|
+
* @class ManagerBookingsApi
|
|
4505
|
+
* @extends {BaseAPI}
|
|
4506
|
+
*/
|
|
4507
|
+
export declare class ManagerBookingsApi extends BaseAPI {
|
|
4508
|
+
/**
|
|
4509
|
+
* Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
|
|
4510
|
+
* @summary Appliquer les frais de no-show
|
|
4511
|
+
* @param {ManagerBookingsApiApplyNoShowFeeRequest} requestParameters Request parameters.
|
|
3270
4512
|
* @param {*} [options] Override http request option.
|
|
3271
4513
|
* @throws {RequiredError}
|
|
3272
|
-
* @memberof
|
|
4514
|
+
* @memberof ManagerBookingsApi
|
|
3273
4515
|
*/
|
|
3274
|
-
|
|
4516
|
+
applyNoShowFee(requestParameters: ManagerBookingsApiApplyNoShowFeeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NoShowFeeResponse, any>>;
|
|
3275
4517
|
/**
|
|
3276
|
-
*
|
|
3277
|
-
* @summary
|
|
4518
|
+
* Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
|
|
4519
|
+
* @summary Enregistrer l\'arrivée des joueurs
|
|
4520
|
+
* @param {ManagerBookingsApiCheckInPlayersRequest} requestParameters Request parameters.
|
|
3278
4521
|
* @param {*} [options] Override http request option.
|
|
3279
4522
|
* @throws {RequiredError}
|
|
3280
|
-
* @memberof
|
|
4523
|
+
* @memberof ManagerBookingsApi
|
|
3281
4524
|
*/
|
|
3282
|
-
|
|
4525
|
+
checkInPlayers(requestParameters: ManagerBookingsApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any>>;
|
|
4526
|
+
/**
|
|
4527
|
+
* Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
|
|
4528
|
+
* @summary Obtenir le statut des paiements d\'une réservation
|
|
4529
|
+
* @param {ManagerBookingsApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
4530
|
+
* @param {*} [options] Override http request option.
|
|
4531
|
+
* @throws {RequiredError}
|
|
4532
|
+
* @memberof ManagerBookingsApi
|
|
4533
|
+
*/
|
|
4534
|
+
getBookingPaymentStatus(requestParameters: ManagerBookingsApiGetBookingPaymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPaymentStatusResponse, any>>;
|
|
4535
|
+
/**
|
|
4536
|
+
* 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.
|
|
4537
|
+
* @summary Annuler une réservation (gestionnaire)
|
|
4538
|
+
* @param {ManagerBookingsApiManagerCancelBookingRequest} requestParameters Request parameters.
|
|
4539
|
+
* @param {*} [options] Override http request option.
|
|
4540
|
+
* @throws {RequiredError}
|
|
4541
|
+
* @memberof ManagerBookingsApi
|
|
4542
|
+
*/
|
|
4543
|
+
managerCancelBooking(requestParameters: ManagerBookingsApiManagerCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagerCancelBookingResponse, any>>;
|
|
3283
4544
|
}
|
|
3284
4545
|
/**
|
|
3285
4546
|
* ManagerClubCourtsApi - axios parameter creator
|
|
@@ -4638,11 +5899,10 @@ export declare const StaffClubAnalyticsApiAxiosParamCreator: (configuration?: Co
|
|
|
4638
5899
|
/**
|
|
4639
5900
|
*
|
|
4640
5901
|
* @summary Get number of users subscribed to the club
|
|
4641
|
-
* @param {string} id ID du club
|
|
4642
5902
|
* @param {*} [options] Override http request option.
|
|
4643
5903
|
* @throws {RequiredError}
|
|
4644
5904
|
*/
|
|
4645
|
-
getNumberOfClubUsers: (
|
|
5905
|
+
getNumberOfClubUsers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4646
5906
|
};
|
|
4647
5907
|
/**
|
|
4648
5908
|
* StaffClubAnalyticsApi - functional programming interface
|
|
@@ -4660,11 +5920,10 @@ export declare const StaffClubAnalyticsApiFp: (configuration?: Configuration) =>
|
|
|
4660
5920
|
/**
|
|
4661
5921
|
*
|
|
4662
5922
|
* @summary Get number of users subscribed to the club
|
|
4663
|
-
* @param {string} id ID du club
|
|
4664
5923
|
* @param {*} [options] Override http request option.
|
|
4665
5924
|
* @throws {RequiredError}
|
|
4666
5925
|
*/
|
|
4667
|
-
getNumberOfClubUsers(
|
|
5926
|
+
getNumberOfClubUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNumberOfClubUsers200Response>>;
|
|
4668
5927
|
};
|
|
4669
5928
|
/**
|
|
4670
5929
|
* StaffClubAnalyticsApi - factory interface
|
|
@@ -4682,11 +5941,10 @@ export declare const StaffClubAnalyticsApiFactory: (configuration?: Configuratio
|
|
|
4682
5941
|
/**
|
|
4683
5942
|
*
|
|
4684
5943
|
* @summary Get number of users subscribed to the club
|
|
4685
|
-
* @param {StaffClubAnalyticsApiGetNumberOfClubUsersRequest} requestParameters Request parameters.
|
|
4686
5944
|
* @param {*} [options] Override http request option.
|
|
4687
5945
|
* @throws {RequiredError}
|
|
4688
5946
|
*/
|
|
4689
|
-
getNumberOfClubUsers(
|
|
5947
|
+
getNumberOfClubUsers(options?: RawAxiosRequestConfig): AxiosPromise<GetNumberOfClubUsers200Response>;
|
|
4690
5948
|
};
|
|
4691
5949
|
/**
|
|
4692
5950
|
* Request parameters for getLastSixMonthsTurnover operation in StaffClubAnalyticsApi.
|
|
@@ -4701,19 +5959,6 @@ export interface StaffClubAnalyticsApiGetLastSixMonthsTurnoverRequest {
|
|
|
4701
5959
|
*/
|
|
4702
5960
|
readonly id: string;
|
|
4703
5961
|
}
|
|
4704
|
-
/**
|
|
4705
|
-
* Request parameters for getNumberOfClubUsers operation in StaffClubAnalyticsApi.
|
|
4706
|
-
* @export
|
|
4707
|
-
* @interface StaffClubAnalyticsApiGetNumberOfClubUsersRequest
|
|
4708
|
-
*/
|
|
4709
|
-
export interface StaffClubAnalyticsApiGetNumberOfClubUsersRequest {
|
|
4710
|
-
/**
|
|
4711
|
-
* ID du club
|
|
4712
|
-
* @type {string}
|
|
4713
|
-
* @memberof StaffClubAnalyticsApiGetNumberOfClubUsers
|
|
4714
|
-
*/
|
|
4715
|
-
readonly id: string;
|
|
4716
|
-
}
|
|
4717
5962
|
/**
|
|
4718
5963
|
* StaffClubAnalyticsApi - object-oriented interface
|
|
4719
5964
|
* @export
|
|
@@ -4733,12 +5978,11 @@ export declare class StaffClubAnalyticsApi extends BaseAPI {
|
|
|
4733
5978
|
/**
|
|
4734
5979
|
*
|
|
4735
5980
|
* @summary Get number of users subscribed to the club
|
|
4736
|
-
* @param {StaffClubAnalyticsApiGetNumberOfClubUsersRequest} requestParameters Request parameters.
|
|
4737
5981
|
* @param {*} [options] Override http request option.
|
|
4738
5982
|
* @throws {RequiredError}
|
|
4739
5983
|
* @memberof StaffClubAnalyticsApi
|
|
4740
5984
|
*/
|
|
4741
|
-
getNumberOfClubUsers(
|
|
5985
|
+
getNumberOfClubUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNumberOfClubUsers200Response, any>>;
|
|
4742
5986
|
}
|
|
4743
5987
|
/**
|
|
4744
5988
|
* StaffClubBookingsApi - axios parameter creator
|
|
@@ -4820,11 +6064,10 @@ export declare const StaffClubSettingsApiAxiosParamCreator: (configuration?: Con
|
|
|
4820
6064
|
/**
|
|
4821
6065
|
*
|
|
4822
6066
|
* @summary Récupère les paramètres d\'un club
|
|
4823
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4824
6067
|
* @param {*} [options] Override http request option.
|
|
4825
6068
|
* @throws {RequiredError}
|
|
4826
6069
|
*/
|
|
4827
|
-
getClubSettings: (
|
|
6070
|
+
getClubSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4828
6071
|
};
|
|
4829
6072
|
/**
|
|
4830
6073
|
* StaffClubSettingsApi - functional programming interface
|
|
@@ -4834,11 +6077,10 @@ export declare const StaffClubSettingsApiFp: (configuration?: Configuration) =>
|
|
|
4834
6077
|
/**
|
|
4835
6078
|
*
|
|
4836
6079
|
* @summary Récupère les paramètres d\'un club
|
|
4837
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4838
6080
|
* @param {*} [options] Override http request option.
|
|
4839
6081
|
* @throws {RequiredError}
|
|
4840
6082
|
*/
|
|
4841
|
-
getClubSettings(
|
|
6083
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
|
|
4842
6084
|
};
|
|
4843
6085
|
/**
|
|
4844
6086
|
* StaffClubSettingsApi - factory interface
|
|
@@ -4848,25 +6090,11 @@ export declare const StaffClubSettingsApiFactory: (configuration?: Configuration
|
|
|
4848
6090
|
/**
|
|
4849
6091
|
*
|
|
4850
6092
|
* @summary Récupère les paramètres d\'un club
|
|
4851
|
-
* @param {StaffClubSettingsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
4852
6093
|
* @param {*} [options] Override http request option.
|
|
4853
6094
|
* @throws {RequiredError}
|
|
4854
6095
|
*/
|
|
4855
|
-
getClubSettings(
|
|
6096
|
+
getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
|
|
4856
6097
|
};
|
|
4857
|
-
/**
|
|
4858
|
-
* Request parameters for getClubSettings operation in StaffClubSettingsApi.
|
|
4859
|
-
* @export
|
|
4860
|
-
* @interface StaffClubSettingsApiGetClubSettingsRequest
|
|
4861
|
-
*/
|
|
4862
|
-
export interface StaffClubSettingsApiGetClubSettingsRequest {
|
|
4863
|
-
/**
|
|
4864
|
-
*
|
|
4865
|
-
* @type {GetClubSettingsRequest}
|
|
4866
|
-
* @memberof StaffClubSettingsApiGetClubSettings
|
|
4867
|
-
*/
|
|
4868
|
-
readonly getClubSettingsRequest: GetClubSettingsRequest;
|
|
4869
|
-
}
|
|
4870
6098
|
/**
|
|
4871
6099
|
* StaffClubSettingsApi - object-oriented interface
|
|
4872
6100
|
* @export
|
|
@@ -4877,12 +6105,11 @@ export declare class StaffClubSettingsApi extends BaseAPI {
|
|
|
4877
6105
|
/**
|
|
4878
6106
|
*
|
|
4879
6107
|
* @summary Récupère les paramètres d\'un club
|
|
4880
|
-
* @param {StaffClubSettingsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
4881
6108
|
* @param {*} [options] Override http request option.
|
|
4882
6109
|
* @throws {RequiredError}
|
|
4883
6110
|
* @memberof StaffClubSettingsApi
|
|
4884
6111
|
*/
|
|
4885
|
-
getClubSettings(
|
|
6112
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
|
|
4886
6113
|
}
|
|
4887
6114
|
/**
|
|
4888
6115
|
* StaffClubsApi - axios parameter creator
|