@tennac-booking/sdk 1.0.301 → 1.0.303
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 +9 -3
- package/README.md +10 -2
- package/api.ts +596 -35
- package/dist/api.d.ts +500 -40
- package/dist/api.js +170 -2
- package/dist/esm/api.d.ts +500 -40
- package/dist/esm/api.js +164 -0
- package/docs/BookingGuestCheckinResponse.md +26 -0
- package/docs/BookingPopulated.md +4 -0
- package/docs/BookingSummary.md +4 -0
- package/docs/BookingsStaffApi.md +52 -0
- package/docs/ErrorResponse.md +28 -0
- package/docs/EstimateEventPlayerPrice.md +24 -0
- package/docs/EstimateEventPriceRequest.md +12 -6
- package/docs/{EstimateEventPrice200Response.md → EstimateEventPriceResponse.md} +23 -13
- package/docs/{EstimateEventPriceRequestSharesInner.md → EstimateEventPriceShare.md} +5 -5
- package/docs/EventBookingDetailResponseBooking.md +4 -0
- package/docs/EventBookingGuestCheckinResponse.md +26 -0
- package/docs/EventBookingsStaffApi.md +62 -0
- package/docs/EventsApi.md +2 -2
- package/docs/JoinEventRequest.md +2 -0
- package/docs/PaymentCoverageResult.md +40 -0
- package/docs/PaymentDistributionResult.md +32 -0
- package/docs/StaffEventBookingResponse.md +4 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -546,6 +546,39 @@ export interface BookingCourtInfo {
|
|
|
546
546
|
*/
|
|
547
547
|
'name'?: string | null;
|
|
548
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @export
|
|
552
|
+
* @interface BookingGuestCheckinResponse
|
|
553
|
+
*/
|
|
554
|
+
export interface BookingGuestCheckinResponse {
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @type {string}
|
|
558
|
+
* @memberof BookingGuestCheckinResponse
|
|
559
|
+
*/
|
|
560
|
+
'message': string;
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @type {string}
|
|
564
|
+
* @memberof BookingGuestCheckinResponse
|
|
565
|
+
*/
|
|
566
|
+
'bookingId': string;
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {BookingStatus}
|
|
570
|
+
* @memberof BookingGuestCheckinResponse
|
|
571
|
+
*/
|
|
572
|
+
'status': BookingStatus;
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @type {PaymentCoverageResult}
|
|
576
|
+
* @memberof BookingGuestCheckinResponse
|
|
577
|
+
*/
|
|
578
|
+
'financials': PaymentCoverageResult;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
|
|
549
582
|
/**
|
|
550
583
|
*
|
|
551
584
|
* @export
|
|
@@ -1121,12 +1154,24 @@ export interface BookingPopulated {
|
|
|
1121
1154
|
* @memberof BookingPopulated
|
|
1122
1155
|
*/
|
|
1123
1156
|
'playersCount': number;
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @type {number}
|
|
1160
|
+
* @memberof BookingPopulated
|
|
1161
|
+
*/
|
|
1162
|
+
'guestPaymentsCount'?: number;
|
|
1124
1163
|
/**
|
|
1125
1164
|
*
|
|
1126
1165
|
* @type {number}
|
|
1127
1166
|
* @memberof BookingPopulated
|
|
1128
1167
|
*/
|
|
1129
1168
|
'maxPlayersDesired'?: number;
|
|
1169
|
+
/**
|
|
1170
|
+
*
|
|
1171
|
+
* @type {PaymentDistributionResult}
|
|
1172
|
+
* @memberof BookingPopulated
|
|
1173
|
+
*/
|
|
1174
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
1130
1175
|
}
|
|
1131
1176
|
|
|
1132
1177
|
|
|
@@ -1529,6 +1574,12 @@ export interface BookingSummary {
|
|
|
1529
1574
|
* @memberof BookingSummary
|
|
1530
1575
|
*/
|
|
1531
1576
|
'playersCount'?: number | null;
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @type {number}
|
|
1580
|
+
* @memberof BookingSummary
|
|
1581
|
+
*/
|
|
1582
|
+
'guestPaymentsCount'?: number | null;
|
|
1532
1583
|
/**
|
|
1533
1584
|
*
|
|
1534
1585
|
* @type {string}
|
|
@@ -1601,6 +1652,12 @@ export interface BookingSummary {
|
|
|
1601
1652
|
* @memberof BookingSummary
|
|
1602
1653
|
*/
|
|
1603
1654
|
'totalAmount': number;
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @type {PaymentDistributionResult}
|
|
1658
|
+
* @memberof BookingSummary
|
|
1659
|
+
*/
|
|
1660
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
1604
1661
|
/**
|
|
1605
1662
|
*
|
|
1606
1663
|
* @type {string}
|
|
@@ -6585,45 +6642,64 @@ export interface EmailExistsResponse {
|
|
|
6585
6642
|
/**
|
|
6586
6643
|
*
|
|
6587
6644
|
* @export
|
|
6588
|
-
* @interface
|
|
6645
|
+
* @interface ErrorResponse
|
|
6589
6646
|
*/
|
|
6590
|
-
export interface
|
|
6647
|
+
export interface ErrorResponse {
|
|
6591
6648
|
/**
|
|
6592
|
-
*
|
|
6593
|
-
* @type {
|
|
6594
|
-
* @memberof
|
|
6649
|
+
*
|
|
6650
|
+
* @type {string}
|
|
6651
|
+
* @memberof ErrorResponse
|
|
6595
6652
|
*/
|
|
6596
|
-
'
|
|
6653
|
+
'name': string;
|
|
6597
6654
|
/**
|
|
6598
6655
|
*
|
|
6599
|
-
* @type {
|
|
6600
|
-
* @memberof
|
|
6656
|
+
* @type {string}
|
|
6657
|
+
* @memberof ErrorResponse
|
|
6601
6658
|
*/
|
|
6602
|
-
'
|
|
6659
|
+
'message': string;
|
|
6660
|
+
/**
|
|
6661
|
+
*
|
|
6662
|
+
* @type {string}
|
|
6663
|
+
* @memberof ErrorResponse
|
|
6664
|
+
*/
|
|
6665
|
+
'stack'?: string;
|
|
6603
6666
|
/**
|
|
6604
6667
|
*
|
|
6605
6668
|
* @type {number}
|
|
6606
|
-
* @memberof
|
|
6669
|
+
* @memberof ErrorResponse
|
|
6607
6670
|
*/
|
|
6608
|
-
'
|
|
6671
|
+
'statusCode': number;
|
|
6672
|
+
/**
|
|
6673
|
+
*
|
|
6674
|
+
* @type {any}
|
|
6675
|
+
* @memberof ErrorResponse
|
|
6676
|
+
*/
|
|
6677
|
+
'details'?: any;
|
|
6678
|
+
}
|
|
6679
|
+
/**
|
|
6680
|
+
*
|
|
6681
|
+
* @export
|
|
6682
|
+
* @interface EstimateEventPlayerPrice
|
|
6683
|
+
*/
|
|
6684
|
+
export interface EstimateEventPlayerPrice {
|
|
6609
6685
|
/**
|
|
6610
6686
|
*
|
|
6611
6687
|
* @type {string}
|
|
6612
|
-
* @memberof
|
|
6688
|
+
* @memberof EstimateEventPlayerPrice
|
|
6613
6689
|
*/
|
|
6614
|
-
'
|
|
6690
|
+
'playerId': string;
|
|
6615
6691
|
/**
|
|
6616
6692
|
*
|
|
6617
|
-
* @type {
|
|
6618
|
-
* @memberof
|
|
6693
|
+
* @type {string}
|
|
6694
|
+
* @memberof EstimateEventPlayerPrice
|
|
6619
6695
|
*/
|
|
6620
|
-
'
|
|
6696
|
+
'firstName'?: string;
|
|
6621
6697
|
/**
|
|
6622
|
-
*
|
|
6623
|
-
* @type {
|
|
6624
|
-
* @memberof
|
|
6698
|
+
*
|
|
6699
|
+
* @type {number}
|
|
6700
|
+
* @memberof EstimateEventPlayerPrice
|
|
6625
6701
|
*/
|
|
6626
|
-
'
|
|
6702
|
+
'price': number;
|
|
6627
6703
|
}
|
|
6628
6704
|
/**
|
|
6629
6705
|
*
|
|
@@ -6631,49 +6707,144 @@ export interface EstimateEventPrice200Response {
|
|
|
6631
6707
|
* @interface EstimateEventPriceRequest
|
|
6632
6708
|
*/
|
|
6633
6709
|
export interface EstimateEventPriceRequest {
|
|
6710
|
+
/**
|
|
6711
|
+
*
|
|
6712
|
+
* @type {Array<string>}
|
|
6713
|
+
* @memberof EstimateEventPriceRequest
|
|
6714
|
+
*/
|
|
6715
|
+
'playerIds': Array<string>;
|
|
6716
|
+
/**
|
|
6717
|
+
*
|
|
6718
|
+
* @type {Array<EstimateEventPriceShare>}
|
|
6719
|
+
* @memberof EstimateEventPriceRequest
|
|
6720
|
+
*/
|
|
6721
|
+
'shares'?: Array<EstimateEventPriceShare>;
|
|
6722
|
+
/**
|
|
6723
|
+
*
|
|
6724
|
+
* @type {PaymentMethod}
|
|
6725
|
+
* @memberof EstimateEventPriceRequest
|
|
6726
|
+
*/
|
|
6727
|
+
'paymentMethod'?: PaymentMethod;
|
|
6634
6728
|
/**
|
|
6635
6729
|
*
|
|
6636
6730
|
* @type {number}
|
|
6637
6731
|
* @memberof EstimateEventPriceRequest
|
|
6638
6732
|
*/
|
|
6639
|
-
'
|
|
6733
|
+
'playersCount'?: number;
|
|
6640
6734
|
/**
|
|
6641
6735
|
*
|
|
6642
|
-
* @type {
|
|
6736
|
+
* @type {boolean}
|
|
6643
6737
|
* @memberof EstimateEventPriceRequest
|
|
6644
6738
|
*/
|
|
6645
|
-
'
|
|
6739
|
+
'isCreatorPayingAll'?: boolean;
|
|
6646
6740
|
/**
|
|
6647
6741
|
*
|
|
6648
|
-
* @type {
|
|
6742
|
+
* @type {string}
|
|
6649
6743
|
* @memberof EstimateEventPriceRequest
|
|
6650
6744
|
*/
|
|
6651
|
-
'
|
|
6745
|
+
'creatorId'?: string;
|
|
6652
6746
|
/**
|
|
6653
6747
|
*
|
|
6654
|
-
* @type {
|
|
6748
|
+
* @type {number}
|
|
6655
6749
|
* @memberof EstimateEventPriceRequest
|
|
6656
6750
|
*/
|
|
6657
|
-
'
|
|
6751
|
+
'creditToUseInCents'?: number;
|
|
6658
6752
|
}
|
|
6753
|
+
|
|
6754
|
+
|
|
6659
6755
|
/**
|
|
6660
6756
|
*
|
|
6661
6757
|
* @export
|
|
6662
|
-
* @interface
|
|
6758
|
+
* @interface EstimateEventPriceResponse
|
|
6663
6759
|
*/
|
|
6664
|
-
export interface
|
|
6760
|
+
export interface EstimateEventPriceResponse {
|
|
6761
|
+
/**
|
|
6762
|
+
* Construct a type with a set of properties K of type T
|
|
6763
|
+
* @type {{ [key: string]: number; }}
|
|
6764
|
+
* @memberof EstimateEventPriceResponse
|
|
6765
|
+
*/
|
|
6766
|
+
'perPlayer': { [key: string]: number; };
|
|
6665
6767
|
/**
|
|
6666
6768
|
*
|
|
6667
|
-
* @type {Array<
|
|
6668
|
-
* @memberof
|
|
6769
|
+
* @type {Array<EstimateEventPlayerPrice>}
|
|
6770
|
+
* @memberof EstimateEventPriceResponse
|
|
6669
6771
|
*/
|
|
6670
|
-
'
|
|
6772
|
+
'playerPrices': Array<EstimateEventPlayerPrice>;
|
|
6773
|
+
/**
|
|
6774
|
+
* Construct a type with a set of properties K of type T
|
|
6775
|
+
* @type {{ [key: string]: number; }}
|
|
6776
|
+
* @memberof EstimateEventPriceResponse
|
|
6777
|
+
*/
|
|
6778
|
+
'perPayer': { [key: string]: number; };
|
|
6779
|
+
/**
|
|
6780
|
+
*
|
|
6781
|
+
* @type {number}
|
|
6782
|
+
* @memberof EstimateEventPriceResponse
|
|
6783
|
+
*/
|
|
6784
|
+
'total': number;
|
|
6785
|
+
/**
|
|
6786
|
+
*
|
|
6787
|
+
* @type {string}
|
|
6788
|
+
* @memberof EstimateEventPriceResponse
|
|
6789
|
+
*/
|
|
6790
|
+
'currency': string;
|
|
6791
|
+
/**
|
|
6792
|
+
*
|
|
6793
|
+
* @type {PaymentMethod}
|
|
6794
|
+
* @memberof EstimateEventPriceResponse
|
|
6795
|
+
*/
|
|
6796
|
+
'paymentMethod'?: PaymentMethod;
|
|
6797
|
+
/**
|
|
6798
|
+
*
|
|
6799
|
+
* @type {number}
|
|
6800
|
+
* @memberof EstimateEventPriceResponse
|
|
6801
|
+
*/
|
|
6802
|
+
'playersCount'?: number;
|
|
6803
|
+
/**
|
|
6804
|
+
*
|
|
6805
|
+
* @type {number}
|
|
6806
|
+
* @memberof EstimateEventPriceResponse
|
|
6807
|
+
*/
|
|
6808
|
+
'missingParticipantsCount'?: number;
|
|
6809
|
+
/**
|
|
6810
|
+
*
|
|
6811
|
+
* @type {number}
|
|
6812
|
+
* @memberof EstimateEventPriceResponse
|
|
6813
|
+
*/
|
|
6814
|
+
'creditsAppliedInCents'?: number;
|
|
6815
|
+
/**
|
|
6816
|
+
*
|
|
6817
|
+
* @type {number}
|
|
6818
|
+
* @memberof EstimateEventPriceResponse
|
|
6819
|
+
*/
|
|
6820
|
+
'totalAfterCredits'?: number;
|
|
6821
|
+
/**
|
|
6822
|
+
* Construct a type with a set of properties K of type T
|
|
6823
|
+
* @type {{ [key: string]: number; }}
|
|
6824
|
+
* @memberof EstimateEventPriceResponse
|
|
6825
|
+
*/
|
|
6826
|
+
'perPayerAfterCredits'?: { [key: string]: number; };
|
|
6827
|
+
}
|
|
6828
|
+
|
|
6829
|
+
|
|
6830
|
+
/**
|
|
6831
|
+
*
|
|
6832
|
+
* @export
|
|
6833
|
+
* @interface EstimateEventPriceShare
|
|
6834
|
+
*/
|
|
6835
|
+
export interface EstimateEventPriceShare {
|
|
6671
6836
|
/**
|
|
6672
6837
|
*
|
|
6673
6838
|
* @type {string}
|
|
6674
|
-
* @memberof
|
|
6839
|
+
* @memberof EstimateEventPriceShare
|
|
6675
6840
|
*/
|
|
6676
6841
|
'playerId': string;
|
|
6842
|
+
/**
|
|
6843
|
+
*
|
|
6844
|
+
* @type {Array<string>}
|
|
6845
|
+
* @memberof EstimateEventPriceShare
|
|
6846
|
+
*/
|
|
6847
|
+
'paysAlsoFor'?: Array<string>;
|
|
6677
6848
|
}
|
|
6678
6849
|
/**
|
|
6679
6850
|
*
|
|
@@ -6986,6 +7157,18 @@ export interface EventBookingDetailResponse {
|
|
|
6986
7157
|
* @interface EventBookingDetailResponseBooking
|
|
6987
7158
|
*/
|
|
6988
7159
|
export interface EventBookingDetailResponseBooking {
|
|
7160
|
+
/**
|
|
7161
|
+
*
|
|
7162
|
+
* @type {PaymentDistributionResult}
|
|
7163
|
+
* @memberof EventBookingDetailResponseBooking
|
|
7164
|
+
*/
|
|
7165
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
7166
|
+
/**
|
|
7167
|
+
*
|
|
7168
|
+
* @type {number}
|
|
7169
|
+
* @memberof EventBookingDetailResponseBooking
|
|
7170
|
+
*/
|
|
7171
|
+
'guestPaymentsCount'?: number;
|
|
6989
7172
|
/**
|
|
6990
7173
|
*
|
|
6991
7174
|
* @type {number}
|
|
@@ -7231,6 +7414,39 @@ export interface EventBookingDetailSummaryPaymentPerPlayersInner {
|
|
|
7231
7414
|
}
|
|
7232
7415
|
|
|
7233
7416
|
|
|
7417
|
+
/**
|
|
7418
|
+
*
|
|
7419
|
+
* @export
|
|
7420
|
+
* @interface EventBookingGuestCheckinResponse
|
|
7421
|
+
*/
|
|
7422
|
+
export interface EventBookingGuestCheckinResponse {
|
|
7423
|
+
/**
|
|
7424
|
+
*
|
|
7425
|
+
* @type {string}
|
|
7426
|
+
* @memberof EventBookingGuestCheckinResponse
|
|
7427
|
+
*/
|
|
7428
|
+
'message': string;
|
|
7429
|
+
/**
|
|
7430
|
+
*
|
|
7431
|
+
* @type {string}
|
|
7432
|
+
* @memberof EventBookingGuestCheckinResponse
|
|
7433
|
+
*/
|
|
7434
|
+
'eventBookingId': string;
|
|
7435
|
+
/**
|
|
7436
|
+
*
|
|
7437
|
+
* @type {EventBookingStatus}
|
|
7438
|
+
* @memberof EventBookingGuestCheckinResponse
|
|
7439
|
+
*/
|
|
7440
|
+
'status': EventBookingStatus;
|
|
7441
|
+
/**
|
|
7442
|
+
*
|
|
7443
|
+
* @type {PaymentCoverageResult}
|
|
7444
|
+
* @memberof EventBookingGuestCheckinResponse
|
|
7445
|
+
*/
|
|
7446
|
+
'financials': PaymentCoverageResult;
|
|
7447
|
+
}
|
|
7448
|
+
|
|
7449
|
+
|
|
7234
7450
|
/**
|
|
7235
7451
|
*
|
|
7236
7452
|
* @export
|
|
@@ -9718,6 +9934,12 @@ export interface JoinEventRequest {
|
|
|
9718
9934
|
* @memberof JoinEventRequest
|
|
9719
9935
|
*/
|
|
9720
9936
|
'players'?: Array<string>;
|
|
9937
|
+
/**
|
|
9938
|
+
*
|
|
9939
|
+
* @type {number}
|
|
9940
|
+
* @memberof JoinEventRequest
|
|
9941
|
+
*/
|
|
9942
|
+
'playersCount'?: number;
|
|
9721
9943
|
/**
|
|
9722
9944
|
*
|
|
9723
9945
|
* @type {string}
|
|
@@ -12940,6 +13162,128 @@ export interface PaymentByPlayerInfo {
|
|
|
12940
13162
|
*/
|
|
12941
13163
|
'accepted': boolean;
|
|
12942
13164
|
}
|
|
13165
|
+
/**
|
|
13166
|
+
*
|
|
13167
|
+
* @export
|
|
13168
|
+
* @interface PaymentCoverageResult
|
|
13169
|
+
*/
|
|
13170
|
+
export interface PaymentCoverageResult {
|
|
13171
|
+
/**
|
|
13172
|
+
*
|
|
13173
|
+
* @type {number}
|
|
13174
|
+
* @memberof PaymentCoverageResult
|
|
13175
|
+
*/
|
|
13176
|
+
'totalAmount': number;
|
|
13177
|
+
/**
|
|
13178
|
+
*
|
|
13179
|
+
* @type {number}
|
|
13180
|
+
* @memberof PaymentCoverageResult
|
|
13181
|
+
*/
|
|
13182
|
+
'playersCount': number;
|
|
13183
|
+
/**
|
|
13184
|
+
*
|
|
13185
|
+
* @type {number}
|
|
13186
|
+
* @memberof PaymentCoverageResult
|
|
13187
|
+
*/
|
|
13188
|
+
'registeredPlayersCount': number;
|
|
13189
|
+
/**
|
|
13190
|
+
*
|
|
13191
|
+
* @type {number}
|
|
13192
|
+
* @memberof PaymentCoverageResult
|
|
13193
|
+
*/
|
|
13194
|
+
'guestsCount': number;
|
|
13195
|
+
/**
|
|
13196
|
+
*
|
|
13197
|
+
* @type {number}
|
|
13198
|
+
* @memberof PaymentCoverageResult
|
|
13199
|
+
*/
|
|
13200
|
+
'guestPaymentsCount': number;
|
|
13201
|
+
/**
|
|
13202
|
+
*
|
|
13203
|
+
* @type {number}
|
|
13204
|
+
* @memberof PaymentCoverageResult
|
|
13205
|
+
*/
|
|
13206
|
+
'share': number;
|
|
13207
|
+
/**
|
|
13208
|
+
*
|
|
13209
|
+
* @type {number}
|
|
13210
|
+
* @memberof PaymentCoverageResult
|
|
13211
|
+
*/
|
|
13212
|
+
'registeredPaidAmount': number;
|
|
13213
|
+
/**
|
|
13214
|
+
*
|
|
13215
|
+
* @type {number}
|
|
13216
|
+
* @memberof PaymentCoverageResult
|
|
13217
|
+
*/
|
|
13218
|
+
'guestPaidAmount': number;
|
|
13219
|
+
/**
|
|
13220
|
+
*
|
|
13221
|
+
* @type {number}
|
|
13222
|
+
* @memberof PaymentCoverageResult
|
|
13223
|
+
*/
|
|
13224
|
+
'totalPaid': number;
|
|
13225
|
+
/**
|
|
13226
|
+
*
|
|
13227
|
+
* @type {number}
|
|
13228
|
+
* @memberof PaymentCoverageResult
|
|
13229
|
+
*/
|
|
13230
|
+
'remainingAmount': number;
|
|
13231
|
+
/**
|
|
13232
|
+
*
|
|
13233
|
+
* @type {boolean}
|
|
13234
|
+
* @memberof PaymentCoverageResult
|
|
13235
|
+
*/
|
|
13236
|
+
'isFullyPaid': boolean;
|
|
13237
|
+
}
|
|
13238
|
+
/**
|
|
13239
|
+
*
|
|
13240
|
+
* @export
|
|
13241
|
+
* @interface PaymentDistributionResult
|
|
13242
|
+
*/
|
|
13243
|
+
export interface PaymentDistributionResult {
|
|
13244
|
+
/**
|
|
13245
|
+
*
|
|
13246
|
+
* @type {number}
|
|
13247
|
+
* @memberof PaymentDistributionResult
|
|
13248
|
+
*/
|
|
13249
|
+
'totalAmount': number;
|
|
13250
|
+
/**
|
|
13251
|
+
*
|
|
13252
|
+
* @type {number}
|
|
13253
|
+
* @memberof PaymentDistributionResult
|
|
13254
|
+
*/
|
|
13255
|
+
'paidAmount': number;
|
|
13256
|
+
/**
|
|
13257
|
+
*
|
|
13258
|
+
* @type {number}
|
|
13259
|
+
* @memberof PaymentDistributionResult
|
|
13260
|
+
*/
|
|
13261
|
+
'remainingAmount': number;
|
|
13262
|
+
/**
|
|
13263
|
+
*
|
|
13264
|
+
* @type {number}
|
|
13265
|
+
* @memberof PaymentDistributionResult
|
|
13266
|
+
*/
|
|
13267
|
+
'playersCount': number;
|
|
13268
|
+
/**
|
|
13269
|
+
*
|
|
13270
|
+
* @type {number}
|
|
13271
|
+
* @memberof PaymentDistributionResult
|
|
13272
|
+
*/
|
|
13273
|
+
'registeredPlayersCount': number;
|
|
13274
|
+
/**
|
|
13275
|
+
*
|
|
13276
|
+
* @type {number}
|
|
13277
|
+
* @memberof PaymentDistributionResult
|
|
13278
|
+
*/
|
|
13279
|
+
'guestsCount': number;
|
|
13280
|
+
/**
|
|
13281
|
+
*
|
|
13282
|
+
* @type {number}
|
|
13283
|
+
* @memberof PaymentDistributionResult
|
|
13284
|
+
*/
|
|
13285
|
+
'guestShare': number;
|
|
13286
|
+
}
|
|
12943
13287
|
/**
|
|
12944
13288
|
*
|
|
12945
13289
|
* @export
|
|
@@ -15693,6 +16037,18 @@ export interface StaffEventBookingResponse {
|
|
|
15693
16037
|
* @memberof StaffEventBookingResponse
|
|
15694
16038
|
*/
|
|
15695
16039
|
'amount'?: number;
|
|
16040
|
+
/**
|
|
16041
|
+
*
|
|
16042
|
+
* @type {number}
|
|
16043
|
+
* @memberof StaffEventBookingResponse
|
|
16044
|
+
*/
|
|
16045
|
+
'guestPaymentsCount'?: number;
|
|
16046
|
+
/**
|
|
16047
|
+
*
|
|
16048
|
+
* @type {PaymentDistributionResult}
|
|
16049
|
+
* @memberof StaffEventBookingResponse
|
|
16050
|
+
*/
|
|
16051
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
15696
16052
|
/**
|
|
15697
16053
|
*
|
|
15698
16054
|
* @type {string}
|
|
@@ -21219,6 +21575,43 @@ export class BookingsManagerApi extends BaseAPI {
|
|
|
21219
21575
|
*/
|
|
21220
21576
|
export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
21221
21577
|
return {
|
|
21578
|
+
/**
|
|
21579
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
21580
|
+
* @param {string} bookingId
|
|
21581
|
+
* @param {*} [options] Override http request option.
|
|
21582
|
+
* @throws {RequiredError}
|
|
21583
|
+
*/
|
|
21584
|
+
bookingGuestCheckin: async (bookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21585
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
21586
|
+
assertParamExists('bookingGuestCheckin', 'bookingId', bookingId)
|
|
21587
|
+
const localVarPath = `/api/bookings/{bookingId}/guest-checkin`
|
|
21588
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
21589
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21590
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21591
|
+
let baseOptions;
|
|
21592
|
+
if (configuration) {
|
|
21593
|
+
baseOptions = configuration.baseOptions;
|
|
21594
|
+
}
|
|
21595
|
+
|
|
21596
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21597
|
+
const localVarHeaderParameter = {} as any;
|
|
21598
|
+
const localVarQueryParameter = {} as any;
|
|
21599
|
+
|
|
21600
|
+
// authentication bearerAuth required
|
|
21601
|
+
// http bearer authentication required
|
|
21602
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21603
|
+
|
|
21604
|
+
|
|
21605
|
+
|
|
21606
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21608
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21609
|
+
|
|
21610
|
+
return {
|
|
21611
|
+
url: toPathString(localVarUrlObj),
|
|
21612
|
+
options: localVarRequestOptions,
|
|
21613
|
+
};
|
|
21614
|
+
},
|
|
21222
21615
|
/**
|
|
21223
21616
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
21224
21617
|
* @param {string} bookingId
|
|
@@ -21671,6 +22064,18 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
21671
22064
|
export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
21672
22065
|
const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
|
|
21673
22066
|
return {
|
|
22067
|
+
/**
|
|
22068
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
22069
|
+
* @param {string} bookingId
|
|
22070
|
+
* @param {*} [options] Override http request option.
|
|
22071
|
+
* @throws {RequiredError}
|
|
22072
|
+
*/
|
|
22073
|
+
async bookingGuestCheckin(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingGuestCheckinResponse>> {
|
|
22074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingGuestCheckin(bookingId, options);
|
|
22075
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22076
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.bookingGuestCheckin']?.[localVarOperationServerIndex]?.url;
|
|
22077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22078
|
+
},
|
|
21674
22079
|
/**
|
|
21675
22080
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
21676
22081
|
* @param {string} bookingId
|
|
@@ -21819,6 +22224,15 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
21819
22224
|
export const BookingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
21820
22225
|
const localVarFp = BookingsStaffApiFp(configuration)
|
|
21821
22226
|
return {
|
|
22227
|
+
/**
|
|
22228
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
22229
|
+
* @param {BookingsStaffApiBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
22230
|
+
* @param {*} [options] Override http request option.
|
|
22231
|
+
* @throws {RequiredError}
|
|
22232
|
+
*/
|
|
22233
|
+
bookingGuestCheckin(requestParameters: BookingsStaffApiBookingGuestCheckinRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingGuestCheckinResponse> {
|
|
22234
|
+
return localVarFp.bookingGuestCheckin(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
22235
|
+
},
|
|
21822
22236
|
/**
|
|
21823
22237
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
21824
22238
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
@@ -21921,6 +22335,20 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
21921
22335
|
};
|
|
21922
22336
|
};
|
|
21923
22337
|
|
|
22338
|
+
/**
|
|
22339
|
+
* Request parameters for bookingGuestCheckin operation in BookingsStaffApi.
|
|
22340
|
+
* @export
|
|
22341
|
+
* @interface BookingsStaffApiBookingGuestCheckinRequest
|
|
22342
|
+
*/
|
|
22343
|
+
export interface BookingsStaffApiBookingGuestCheckinRequest {
|
|
22344
|
+
/**
|
|
22345
|
+
*
|
|
22346
|
+
* @type {string}
|
|
22347
|
+
* @memberof BookingsStaffApiBookingGuestCheckin
|
|
22348
|
+
*/
|
|
22349
|
+
readonly bookingId: string
|
|
22350
|
+
}
|
|
22351
|
+
|
|
21924
22352
|
/**
|
|
21925
22353
|
* Request parameters for checkInPlayer operation in BookingsStaffApi.
|
|
21926
22354
|
* @export
|
|
@@ -22124,6 +22552,17 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
22124
22552
|
* @extends {BaseAPI}
|
|
22125
22553
|
*/
|
|
22126
22554
|
export class BookingsStaffApi extends BaseAPI {
|
|
22555
|
+
/**
|
|
22556
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
22557
|
+
* @param {BookingsStaffApiBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
22558
|
+
* @param {*} [options] Override http request option.
|
|
22559
|
+
* @throws {RequiredError}
|
|
22560
|
+
* @memberof BookingsStaffApi
|
|
22561
|
+
*/
|
|
22562
|
+
public bookingGuestCheckin(requestParameters: BookingsStaffApiBookingGuestCheckinRequest, options?: RawAxiosRequestConfig) {
|
|
22563
|
+
return BookingsStaffApiFp(this.configuration).bookingGuestCheckin(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
22564
|
+
}
|
|
22565
|
+
|
|
22127
22566
|
/**
|
|
22128
22567
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
22129
22568
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
@@ -32177,6 +32616,128 @@ export class DefaultApi extends BaseAPI {
|
|
|
32177
32616
|
|
|
32178
32617
|
|
|
32179
32618
|
|
|
32619
|
+
/**
|
|
32620
|
+
* EventBookingsStaffApi - axios parameter creator
|
|
32621
|
+
* @export
|
|
32622
|
+
*/
|
|
32623
|
+
export const EventBookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32624
|
+
return {
|
|
32625
|
+
/**
|
|
32626
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
32627
|
+
* @param {string} eventBookingId
|
|
32628
|
+
* @param {*} [options] Override http request option.
|
|
32629
|
+
* @throws {RequiredError}
|
|
32630
|
+
*/
|
|
32631
|
+
eventBookingGuestCheckin: async (eventBookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32632
|
+
// verify required parameter 'eventBookingId' is not null or undefined
|
|
32633
|
+
assertParamExists('eventBookingGuestCheckin', 'eventBookingId', eventBookingId)
|
|
32634
|
+
const localVarPath = `/api/event-bookings/{eventBookingId}/guest-checkin`
|
|
32635
|
+
.replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
|
|
32636
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32637
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32638
|
+
let baseOptions;
|
|
32639
|
+
if (configuration) {
|
|
32640
|
+
baseOptions = configuration.baseOptions;
|
|
32641
|
+
}
|
|
32642
|
+
|
|
32643
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32644
|
+
const localVarHeaderParameter = {} as any;
|
|
32645
|
+
const localVarQueryParameter = {} as any;
|
|
32646
|
+
|
|
32647
|
+
// authentication bearerAuth required
|
|
32648
|
+
// http bearer authentication required
|
|
32649
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32650
|
+
|
|
32651
|
+
|
|
32652
|
+
|
|
32653
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32655
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32656
|
+
|
|
32657
|
+
return {
|
|
32658
|
+
url: toPathString(localVarUrlObj),
|
|
32659
|
+
options: localVarRequestOptions,
|
|
32660
|
+
};
|
|
32661
|
+
},
|
|
32662
|
+
}
|
|
32663
|
+
};
|
|
32664
|
+
|
|
32665
|
+
/**
|
|
32666
|
+
* EventBookingsStaffApi - functional programming interface
|
|
32667
|
+
* @export
|
|
32668
|
+
*/
|
|
32669
|
+
export const EventBookingsStaffApiFp = function(configuration?: Configuration) {
|
|
32670
|
+
const localVarAxiosParamCreator = EventBookingsStaffApiAxiosParamCreator(configuration)
|
|
32671
|
+
return {
|
|
32672
|
+
/**
|
|
32673
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
32674
|
+
* @param {string} eventBookingId
|
|
32675
|
+
* @param {*} [options] Override http request option.
|
|
32676
|
+
* @throws {RequiredError}
|
|
32677
|
+
*/
|
|
32678
|
+
async eventBookingGuestCheckin(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventBookingGuestCheckinResponse>> {
|
|
32679
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventBookingGuestCheckin(eventBookingId, options);
|
|
32680
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32681
|
+
const localVarOperationServerBasePath = operationServerMap['EventBookingsStaffApi.eventBookingGuestCheckin']?.[localVarOperationServerIndex]?.url;
|
|
32682
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32683
|
+
},
|
|
32684
|
+
}
|
|
32685
|
+
};
|
|
32686
|
+
|
|
32687
|
+
/**
|
|
32688
|
+
* EventBookingsStaffApi - factory interface
|
|
32689
|
+
* @export
|
|
32690
|
+
*/
|
|
32691
|
+
export const EventBookingsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32692
|
+
const localVarFp = EventBookingsStaffApiFp(configuration)
|
|
32693
|
+
return {
|
|
32694
|
+
/**
|
|
32695
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
32696
|
+
* @param {EventBookingsStaffApiEventBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
32697
|
+
* @param {*} [options] Override http request option.
|
|
32698
|
+
* @throws {RequiredError}
|
|
32699
|
+
*/
|
|
32700
|
+
eventBookingGuestCheckin(requestParameters: EventBookingsStaffApiEventBookingGuestCheckinRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventBookingGuestCheckinResponse> {
|
|
32701
|
+
return localVarFp.eventBookingGuestCheckin(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
|
|
32702
|
+
},
|
|
32703
|
+
};
|
|
32704
|
+
};
|
|
32705
|
+
|
|
32706
|
+
/**
|
|
32707
|
+
* Request parameters for eventBookingGuestCheckin operation in EventBookingsStaffApi.
|
|
32708
|
+
* @export
|
|
32709
|
+
* @interface EventBookingsStaffApiEventBookingGuestCheckinRequest
|
|
32710
|
+
*/
|
|
32711
|
+
export interface EventBookingsStaffApiEventBookingGuestCheckinRequest {
|
|
32712
|
+
/**
|
|
32713
|
+
*
|
|
32714
|
+
* @type {string}
|
|
32715
|
+
* @memberof EventBookingsStaffApiEventBookingGuestCheckin
|
|
32716
|
+
*/
|
|
32717
|
+
readonly eventBookingId: string
|
|
32718
|
+
}
|
|
32719
|
+
|
|
32720
|
+
/**
|
|
32721
|
+
* EventBookingsStaffApi - object-oriented interface
|
|
32722
|
+
* @export
|
|
32723
|
+
* @class EventBookingsStaffApi
|
|
32724
|
+
* @extends {BaseAPI}
|
|
32725
|
+
*/
|
|
32726
|
+
export class EventBookingsStaffApi extends BaseAPI {
|
|
32727
|
+
/**
|
|
32728
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
32729
|
+
* @param {EventBookingsStaffApiEventBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
32730
|
+
* @param {*} [options] Override http request option.
|
|
32731
|
+
* @throws {RequiredError}
|
|
32732
|
+
* @memberof EventBookingsStaffApi
|
|
32733
|
+
*/
|
|
32734
|
+
public eventBookingGuestCheckin(requestParameters: EventBookingsStaffApiEventBookingGuestCheckinRequest, options?: RawAxiosRequestConfig) {
|
|
32735
|
+
return EventBookingsStaffApiFp(this.configuration).eventBookingGuestCheckin(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
|
|
32736
|
+
}
|
|
32737
|
+
}
|
|
32738
|
+
|
|
32739
|
+
|
|
32740
|
+
|
|
32180
32741
|
/**
|
|
32181
32742
|
* EventsApi - axios parameter creator
|
|
32182
32743
|
* @export
|
|
@@ -32817,7 +33378,7 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
32817
33378
|
* @param {*} [options] Override http request option.
|
|
32818
33379
|
* @throws {RequiredError}
|
|
32819
33380
|
*/
|
|
32820
|
-
async estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
33381
|
+
async estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPriceResponse>> {
|
|
32821
33382
|
const localVarAxiosArgs = await localVarAxiosParamCreator.estimateEventPrice(eventId, estimateEventPriceRequest, options);
|
|
32822
33383
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32823
33384
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.estimateEventPrice']?.[localVarOperationServerIndex]?.url;
|
|
@@ -33015,7 +33576,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
33015
33576
|
* @param {*} [options] Override http request option.
|
|
33016
33577
|
* @throws {RequiredError}
|
|
33017
33578
|
*/
|
|
33018
|
-
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
33579
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPriceResponse> {
|
|
33019
33580
|
return localVarFp.estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(axios, basePath));
|
|
33020
33581
|
},
|
|
33021
33582
|
/**
|