@tennac-booking/sdk 1.0.291 → 1.0.292
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/api.ts +78 -0
- package/dist/api.d.ts +78 -0
- package/dist/esm/api.d.ts +78 -0
- package/docs/BookingPopulated.md +2 -0
- package/docs/CaptureResult.md +2 -0
- package/docs/ClubPageResponse.md +2 -0
- package/docs/ClubPlayerResponse.md +2 -0
- package/docs/ClubResponse.md +2 -0
- package/docs/EventBookingResponse.md +2 -0
- package/docs/EventBookingResponsePaymentPerPlayersInner.md +2 -0
- package/docs/EventBookingResponsePlayersInner.md +2 -0
- package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +2 -0
- package/docs/PartialClubActiveResponse.md +2 -0
- package/docs/PartialPaymentRequirementsSettings.md +2 -0
- package/docs/PaymentRequirementsSettings.md +2 -0
- package/docs/PlayerSummary.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1025,6 +1025,12 @@ export interface BookingPopulated {
|
|
|
1025
1025
|
* @memberof BookingPopulated
|
|
1026
1026
|
*/
|
|
1027
1027
|
'initialPlayers'?: Array<UserInfo>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Joueurs ayant rejoint après la création (pour les créneaux ouverts)
|
|
1030
|
+
* @type {Array<UserInfo>}
|
|
1031
|
+
* @memberof BookingPopulated
|
|
1032
|
+
*/
|
|
1033
|
+
'joinedPlayers'?: Array<UserInfo>;
|
|
1028
1034
|
/**
|
|
1029
1035
|
* Statut des paiements par joueur
|
|
1030
1036
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -1822,6 +1828,12 @@ export interface CaptureResult {
|
|
|
1822
1828
|
* @memberof CaptureResult
|
|
1823
1829
|
*/
|
|
1824
1830
|
'amount'?: number;
|
|
1831
|
+
/**
|
|
1832
|
+
* URL de reçu Stripe
|
|
1833
|
+
* @type {string}
|
|
1834
|
+
* @memberof CaptureResult
|
|
1835
|
+
*/
|
|
1836
|
+
'receiptUrl'?: string;
|
|
1825
1837
|
/**
|
|
1826
1838
|
* Statut de la capture
|
|
1827
1839
|
* @type {string}
|
|
@@ -3601,6 +3613,12 @@ export interface ClubPageResponse {
|
|
|
3601
3613
|
* @memberof ClubPageResponse
|
|
3602
3614
|
*/
|
|
3603
3615
|
'isNoShowEnabled'?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3618
|
+
* @type {boolean}
|
|
3619
|
+
* @memberof ClubPageResponse
|
|
3620
|
+
*/
|
|
3621
|
+
'isBookingEnabled'?: boolean;
|
|
3604
3622
|
/**
|
|
3605
3623
|
*
|
|
3606
3624
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4056,6 +4074,12 @@ export interface ClubPlayerResponse {
|
|
|
4056
4074
|
* @memberof ClubPlayerResponse
|
|
4057
4075
|
*/
|
|
4058
4076
|
'profilePicture'?: string;
|
|
4077
|
+
/**
|
|
4078
|
+
* Avatar (alias de profilePicture)
|
|
4079
|
+
* @type {string}
|
|
4080
|
+
* @memberof ClubPlayerResponse
|
|
4081
|
+
*/
|
|
4082
|
+
'avatar'?: string;
|
|
4059
4083
|
/**
|
|
4060
4084
|
* Compte vérifié
|
|
4061
4085
|
* @type {boolean}
|
|
@@ -4677,6 +4701,12 @@ export interface ClubResponse {
|
|
|
4677
4701
|
* @memberof ClubResponse
|
|
4678
4702
|
*/
|
|
4679
4703
|
'isNoShowEnabled'?: boolean;
|
|
4704
|
+
/**
|
|
4705
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4706
|
+
* @type {boolean}
|
|
4707
|
+
* @memberof ClubResponse
|
|
4708
|
+
*/
|
|
4709
|
+
'isBookingEnabled'?: boolean;
|
|
4680
4710
|
/**
|
|
4681
4711
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4682
4712
|
* @type {Array<string>}
|
|
@@ -7156,6 +7186,12 @@ export interface EventBookingResponse {
|
|
|
7156
7186
|
* @memberof EventBookingResponse
|
|
7157
7187
|
*/
|
|
7158
7188
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7189
|
+
/**
|
|
7190
|
+
*
|
|
7191
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7192
|
+
* @memberof EventBookingResponse
|
|
7193
|
+
*/
|
|
7194
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7159
7195
|
/**
|
|
7160
7196
|
*
|
|
7161
7197
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7282,6 +7318,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7282
7318
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7283
7319
|
*/
|
|
7284
7320
|
'photo'?: string | null;
|
|
7321
|
+
/**
|
|
7322
|
+
*
|
|
7323
|
+
* @type {string}
|
|
7324
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7325
|
+
*/
|
|
7326
|
+
'username'?: string | null;
|
|
7285
7327
|
/**
|
|
7286
7328
|
*
|
|
7287
7329
|
* @type {string}
|
|
@@ -7319,6 +7361,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7319
7361
|
* @memberof EventBookingResponsePlayersInner
|
|
7320
7362
|
*/
|
|
7321
7363
|
'profilePicture'?: string | null;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {string}
|
|
7367
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7368
|
+
*/
|
|
7369
|
+
'username'?: string | null;
|
|
7322
7370
|
/**
|
|
7323
7371
|
*
|
|
7324
7372
|
* @type {string}
|
|
@@ -8592,6 +8640,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8592
8640
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8593
8641
|
*/
|
|
8594
8642
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8643
|
+
/**
|
|
8644
|
+
*
|
|
8645
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8646
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8647
|
+
*/
|
|
8648
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8595
8649
|
/**
|
|
8596
8650
|
*
|
|
8597
8651
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12402,6 +12456,12 @@ export interface PartialClubActiveResponse {
|
|
|
12402
12456
|
* @memberof PartialClubActiveResponse
|
|
12403
12457
|
*/
|
|
12404
12458
|
'isNoShowEnabled'?: boolean;
|
|
12459
|
+
/**
|
|
12460
|
+
*
|
|
12461
|
+
* @type {boolean}
|
|
12462
|
+
* @memberof PartialClubActiveResponse
|
|
12463
|
+
*/
|
|
12464
|
+
'isBookingEnabled'?: boolean;
|
|
12405
12465
|
/**
|
|
12406
12466
|
*
|
|
12407
12467
|
* @type {Array<string>}
|
|
@@ -12513,6 +12573,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12513
12573
|
* @memberof PartialPaymentRequirementsSettings
|
|
12514
12574
|
*/
|
|
12515
12575
|
'isNoShowEnabled'?: boolean;
|
|
12576
|
+
/**
|
|
12577
|
+
*
|
|
12578
|
+
* @type {boolean}
|
|
12579
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12580
|
+
*/
|
|
12581
|
+
'isBookingEnabled'?: boolean;
|
|
12516
12582
|
/**
|
|
12517
12583
|
*
|
|
12518
12584
|
* @type {boolean}
|
|
@@ -12855,6 +12921,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12855
12921
|
* @memberof PaymentRequirementsSettings
|
|
12856
12922
|
*/
|
|
12857
12923
|
'isNoShowEnabled': boolean;
|
|
12924
|
+
/**
|
|
12925
|
+
*
|
|
12926
|
+
* @type {boolean}
|
|
12927
|
+
* @memberof PaymentRequirementsSettings
|
|
12928
|
+
*/
|
|
12929
|
+
'isBookingEnabled': boolean;
|
|
12858
12930
|
/**
|
|
12859
12931
|
*
|
|
12860
12932
|
* @type {boolean}
|
|
@@ -13300,6 +13372,12 @@ export interface PlayerSummary {
|
|
|
13300
13372
|
* @memberof PlayerSummary
|
|
13301
13373
|
*/
|
|
13302
13374
|
'profilePicture'?: string | null;
|
|
13375
|
+
/**
|
|
13376
|
+
*
|
|
13377
|
+
* @type {string}
|
|
13378
|
+
* @memberof PlayerSummary
|
|
13379
|
+
*/
|
|
13380
|
+
'avatar'?: string | null;
|
|
13303
13381
|
/**
|
|
13304
13382
|
*
|
|
13305
13383
|
* @type {Gender}
|
package/dist/api.d.ts
CHANGED
|
@@ -1000,6 +1000,12 @@ export interface BookingPopulated {
|
|
|
1000
1000
|
* @memberof BookingPopulated
|
|
1001
1001
|
*/
|
|
1002
1002
|
'initialPlayers'?: Array<UserInfo>;
|
|
1003
|
+
/**
|
|
1004
|
+
* Joueurs ayant rejoint après la création (pour les créneaux ouverts)
|
|
1005
|
+
* @type {Array<UserInfo>}
|
|
1006
|
+
* @memberof BookingPopulated
|
|
1007
|
+
*/
|
|
1008
|
+
'joinedPlayers'?: Array<UserInfo>;
|
|
1003
1009
|
/**
|
|
1004
1010
|
* Statut des paiements par joueur
|
|
1005
1011
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -1788,6 +1794,12 @@ export interface CaptureResult {
|
|
|
1788
1794
|
* @memberof CaptureResult
|
|
1789
1795
|
*/
|
|
1790
1796
|
'amount'?: number;
|
|
1797
|
+
/**
|
|
1798
|
+
* URL de reçu Stripe
|
|
1799
|
+
* @type {string}
|
|
1800
|
+
* @memberof CaptureResult
|
|
1801
|
+
*/
|
|
1802
|
+
'receiptUrl'?: string;
|
|
1791
1803
|
/**
|
|
1792
1804
|
* Statut de la capture
|
|
1793
1805
|
* @type {string}
|
|
@@ -3535,6 +3547,12 @@ export interface ClubPageResponse {
|
|
|
3535
3547
|
* @memberof ClubPageResponse
|
|
3536
3548
|
*/
|
|
3537
3549
|
'isNoShowEnabled'?: boolean;
|
|
3550
|
+
/**
|
|
3551
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3552
|
+
* @type {boolean}
|
|
3553
|
+
* @memberof ClubPageResponse
|
|
3554
|
+
*/
|
|
3555
|
+
'isBookingEnabled'?: boolean;
|
|
3538
3556
|
/**
|
|
3539
3557
|
*
|
|
3540
3558
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4000,6 +4018,12 @@ export interface ClubPlayerResponse {
|
|
|
4000
4018
|
* @memberof ClubPlayerResponse
|
|
4001
4019
|
*/
|
|
4002
4020
|
'profilePicture'?: string;
|
|
4021
|
+
/**
|
|
4022
|
+
* Avatar (alias de profilePicture)
|
|
4023
|
+
* @type {string}
|
|
4024
|
+
* @memberof ClubPlayerResponse
|
|
4025
|
+
*/
|
|
4026
|
+
'avatar'?: string;
|
|
4003
4027
|
/**
|
|
4004
4028
|
* Compte vérifié
|
|
4005
4029
|
* @type {boolean}
|
|
@@ -4623,6 +4647,12 @@ export interface ClubResponse {
|
|
|
4623
4647
|
* @memberof ClubResponse
|
|
4624
4648
|
*/
|
|
4625
4649
|
'isNoShowEnabled'?: boolean;
|
|
4650
|
+
/**
|
|
4651
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4652
|
+
* @type {boolean}
|
|
4653
|
+
* @memberof ClubResponse
|
|
4654
|
+
*/
|
|
4655
|
+
'isBookingEnabled'?: boolean;
|
|
4626
4656
|
/**
|
|
4627
4657
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4628
4658
|
* @type {Array<string>}
|
|
@@ -7047,6 +7077,12 @@ export interface EventBookingResponse {
|
|
|
7047
7077
|
* @memberof EventBookingResponse
|
|
7048
7078
|
*/
|
|
7049
7079
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7080
|
+
/**
|
|
7081
|
+
*
|
|
7082
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7083
|
+
* @memberof EventBookingResponse
|
|
7084
|
+
*/
|
|
7085
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7050
7086
|
/**
|
|
7051
7087
|
*
|
|
7052
7088
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7171,6 +7207,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7171
7207
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7172
7208
|
*/
|
|
7173
7209
|
'photo'?: string | null;
|
|
7210
|
+
/**
|
|
7211
|
+
*
|
|
7212
|
+
* @type {string}
|
|
7213
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7214
|
+
*/
|
|
7215
|
+
'username'?: string | null;
|
|
7174
7216
|
/**
|
|
7175
7217
|
*
|
|
7176
7218
|
* @type {string}
|
|
@@ -7208,6 +7250,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7208
7250
|
* @memberof EventBookingResponsePlayersInner
|
|
7209
7251
|
*/
|
|
7210
7252
|
'profilePicture'?: string | null;
|
|
7253
|
+
/**
|
|
7254
|
+
*
|
|
7255
|
+
* @type {string}
|
|
7256
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7257
|
+
*/
|
|
7258
|
+
'username'?: string | null;
|
|
7211
7259
|
/**
|
|
7212
7260
|
*
|
|
7213
7261
|
* @type {string}
|
|
@@ -8465,6 +8513,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8465
8513
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8466
8514
|
*/
|
|
8467
8515
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8516
|
+
/**
|
|
8517
|
+
*
|
|
8518
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8519
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8520
|
+
*/
|
|
8521
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8468
8522
|
/**
|
|
8469
8523
|
*
|
|
8470
8524
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12230,6 +12284,12 @@ export interface PartialClubActiveResponse {
|
|
|
12230
12284
|
* @memberof PartialClubActiveResponse
|
|
12231
12285
|
*/
|
|
12232
12286
|
'isNoShowEnabled'?: boolean;
|
|
12287
|
+
/**
|
|
12288
|
+
*
|
|
12289
|
+
* @type {boolean}
|
|
12290
|
+
* @memberof PartialClubActiveResponse
|
|
12291
|
+
*/
|
|
12292
|
+
'isBookingEnabled'?: boolean;
|
|
12233
12293
|
/**
|
|
12234
12294
|
*
|
|
12235
12295
|
* @type {Array<string>}
|
|
@@ -12341,6 +12401,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12341
12401
|
* @memberof PartialPaymentRequirementsSettings
|
|
12342
12402
|
*/
|
|
12343
12403
|
'isNoShowEnabled'?: boolean;
|
|
12404
|
+
/**
|
|
12405
|
+
*
|
|
12406
|
+
* @type {boolean}
|
|
12407
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12408
|
+
*/
|
|
12409
|
+
'isBookingEnabled'?: boolean;
|
|
12344
12410
|
/**
|
|
12345
12411
|
*
|
|
12346
12412
|
* @type {boolean}
|
|
@@ -12666,6 +12732,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12666
12732
|
* @memberof PaymentRequirementsSettings
|
|
12667
12733
|
*/
|
|
12668
12734
|
'isNoShowEnabled': boolean;
|
|
12735
|
+
/**
|
|
12736
|
+
*
|
|
12737
|
+
* @type {boolean}
|
|
12738
|
+
* @memberof PaymentRequirementsSettings
|
|
12739
|
+
*/
|
|
12740
|
+
'isBookingEnabled': boolean;
|
|
12669
12741
|
/**
|
|
12670
12742
|
*
|
|
12671
12743
|
* @type {boolean}
|
|
@@ -13095,6 +13167,12 @@ export interface PlayerSummary {
|
|
|
13095
13167
|
* @memberof PlayerSummary
|
|
13096
13168
|
*/
|
|
13097
13169
|
'profilePicture'?: string | null;
|
|
13170
|
+
/**
|
|
13171
|
+
*
|
|
13172
|
+
* @type {string}
|
|
13173
|
+
* @memberof PlayerSummary
|
|
13174
|
+
*/
|
|
13175
|
+
'avatar'?: string | null;
|
|
13098
13176
|
/**
|
|
13099
13177
|
*
|
|
13100
13178
|
* @type {Gender}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1000,6 +1000,12 @@ export interface BookingPopulated {
|
|
|
1000
1000
|
* @memberof BookingPopulated
|
|
1001
1001
|
*/
|
|
1002
1002
|
'initialPlayers'?: Array<UserInfo>;
|
|
1003
|
+
/**
|
|
1004
|
+
* Joueurs ayant rejoint après la création (pour les créneaux ouverts)
|
|
1005
|
+
* @type {Array<UserInfo>}
|
|
1006
|
+
* @memberof BookingPopulated
|
|
1007
|
+
*/
|
|
1008
|
+
'joinedPlayers'?: Array<UserInfo>;
|
|
1003
1009
|
/**
|
|
1004
1010
|
* Statut des paiements par joueur
|
|
1005
1011
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -1788,6 +1794,12 @@ export interface CaptureResult {
|
|
|
1788
1794
|
* @memberof CaptureResult
|
|
1789
1795
|
*/
|
|
1790
1796
|
'amount'?: number;
|
|
1797
|
+
/**
|
|
1798
|
+
* URL de reçu Stripe
|
|
1799
|
+
* @type {string}
|
|
1800
|
+
* @memberof CaptureResult
|
|
1801
|
+
*/
|
|
1802
|
+
'receiptUrl'?: string;
|
|
1791
1803
|
/**
|
|
1792
1804
|
* Statut de la capture
|
|
1793
1805
|
* @type {string}
|
|
@@ -3535,6 +3547,12 @@ export interface ClubPageResponse {
|
|
|
3535
3547
|
* @memberof ClubPageResponse
|
|
3536
3548
|
*/
|
|
3537
3549
|
'isNoShowEnabled'?: boolean;
|
|
3550
|
+
/**
|
|
3551
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3552
|
+
* @type {boolean}
|
|
3553
|
+
* @memberof ClubPageResponse
|
|
3554
|
+
*/
|
|
3555
|
+
'isBookingEnabled'?: boolean;
|
|
3538
3556
|
/**
|
|
3539
3557
|
*
|
|
3540
3558
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4000,6 +4018,12 @@ export interface ClubPlayerResponse {
|
|
|
4000
4018
|
* @memberof ClubPlayerResponse
|
|
4001
4019
|
*/
|
|
4002
4020
|
'profilePicture'?: string;
|
|
4021
|
+
/**
|
|
4022
|
+
* Avatar (alias de profilePicture)
|
|
4023
|
+
* @type {string}
|
|
4024
|
+
* @memberof ClubPlayerResponse
|
|
4025
|
+
*/
|
|
4026
|
+
'avatar'?: string;
|
|
4003
4027
|
/**
|
|
4004
4028
|
* Compte vérifié
|
|
4005
4029
|
* @type {boolean}
|
|
@@ -4623,6 +4647,12 @@ export interface ClubResponse {
|
|
|
4623
4647
|
* @memberof ClubResponse
|
|
4624
4648
|
*/
|
|
4625
4649
|
'isNoShowEnabled'?: boolean;
|
|
4650
|
+
/**
|
|
4651
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4652
|
+
* @type {boolean}
|
|
4653
|
+
* @memberof ClubResponse
|
|
4654
|
+
*/
|
|
4655
|
+
'isBookingEnabled'?: boolean;
|
|
4626
4656
|
/**
|
|
4627
4657
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4628
4658
|
* @type {Array<string>}
|
|
@@ -7047,6 +7077,12 @@ export interface EventBookingResponse {
|
|
|
7047
7077
|
* @memberof EventBookingResponse
|
|
7048
7078
|
*/
|
|
7049
7079
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7080
|
+
/**
|
|
7081
|
+
*
|
|
7082
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7083
|
+
* @memberof EventBookingResponse
|
|
7084
|
+
*/
|
|
7085
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7050
7086
|
/**
|
|
7051
7087
|
*
|
|
7052
7088
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7171,6 +7207,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7171
7207
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7172
7208
|
*/
|
|
7173
7209
|
'photo'?: string | null;
|
|
7210
|
+
/**
|
|
7211
|
+
*
|
|
7212
|
+
* @type {string}
|
|
7213
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7214
|
+
*/
|
|
7215
|
+
'username'?: string | null;
|
|
7174
7216
|
/**
|
|
7175
7217
|
*
|
|
7176
7218
|
* @type {string}
|
|
@@ -7208,6 +7250,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7208
7250
|
* @memberof EventBookingResponsePlayersInner
|
|
7209
7251
|
*/
|
|
7210
7252
|
'profilePicture'?: string | null;
|
|
7253
|
+
/**
|
|
7254
|
+
*
|
|
7255
|
+
* @type {string}
|
|
7256
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7257
|
+
*/
|
|
7258
|
+
'username'?: string | null;
|
|
7211
7259
|
/**
|
|
7212
7260
|
*
|
|
7213
7261
|
* @type {string}
|
|
@@ -8465,6 +8513,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8465
8513
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8466
8514
|
*/
|
|
8467
8515
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8516
|
+
/**
|
|
8517
|
+
*
|
|
8518
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8519
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8520
|
+
*/
|
|
8521
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8468
8522
|
/**
|
|
8469
8523
|
*
|
|
8470
8524
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12230,6 +12284,12 @@ export interface PartialClubActiveResponse {
|
|
|
12230
12284
|
* @memberof PartialClubActiveResponse
|
|
12231
12285
|
*/
|
|
12232
12286
|
'isNoShowEnabled'?: boolean;
|
|
12287
|
+
/**
|
|
12288
|
+
*
|
|
12289
|
+
* @type {boolean}
|
|
12290
|
+
* @memberof PartialClubActiveResponse
|
|
12291
|
+
*/
|
|
12292
|
+
'isBookingEnabled'?: boolean;
|
|
12233
12293
|
/**
|
|
12234
12294
|
*
|
|
12235
12295
|
* @type {Array<string>}
|
|
@@ -12341,6 +12401,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12341
12401
|
* @memberof PartialPaymentRequirementsSettings
|
|
12342
12402
|
*/
|
|
12343
12403
|
'isNoShowEnabled'?: boolean;
|
|
12404
|
+
/**
|
|
12405
|
+
*
|
|
12406
|
+
* @type {boolean}
|
|
12407
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12408
|
+
*/
|
|
12409
|
+
'isBookingEnabled'?: boolean;
|
|
12344
12410
|
/**
|
|
12345
12411
|
*
|
|
12346
12412
|
* @type {boolean}
|
|
@@ -12666,6 +12732,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12666
12732
|
* @memberof PaymentRequirementsSettings
|
|
12667
12733
|
*/
|
|
12668
12734
|
'isNoShowEnabled': boolean;
|
|
12735
|
+
/**
|
|
12736
|
+
*
|
|
12737
|
+
* @type {boolean}
|
|
12738
|
+
* @memberof PaymentRequirementsSettings
|
|
12739
|
+
*/
|
|
12740
|
+
'isBookingEnabled': boolean;
|
|
12669
12741
|
/**
|
|
12670
12742
|
*
|
|
12671
12743
|
* @type {boolean}
|
|
@@ -13095,6 +13167,12 @@ export interface PlayerSummary {
|
|
|
13095
13167
|
* @memberof PlayerSummary
|
|
13096
13168
|
*/
|
|
13097
13169
|
'profilePicture'?: string | null;
|
|
13170
|
+
/**
|
|
13171
|
+
*
|
|
13172
|
+
* @type {string}
|
|
13173
|
+
* @memberof PlayerSummary
|
|
13174
|
+
*/
|
|
13175
|
+
'avatar'?: string | null;
|
|
13098
13176
|
/**
|
|
13099
13177
|
*
|
|
13100
13178
|
* @type {Gender}
|
package/docs/BookingPopulated.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**slotInfos** | [**Array<SlotInfo>**](SlotInfo.md) | Informations des slots | [default to undefined]
|
|
12
12
|
**players** | [**Array<UserInfo>**](UserInfo.md) | | [default to undefined]
|
|
13
13
|
**initialPlayers** | [**Array<UserInfo>**](UserInfo.md) | Joueurs inclus à la création de la réservation (pour les créneaux ouverts) | [optional] [default to undefined]
|
|
14
|
+
**joinedPlayers** | [**Array<UserInfo>**](UserInfo.md) | Joueurs ayant rejoint après la création (pour les créneaux ouverts) | [optional] [default to undefined]
|
|
14
15
|
**paymentByPlayers** | [**Array<PaymentByPlayerInfo>**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
|
|
15
16
|
**noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
**noShowChargeAmount** | **number** | | [optional] [default to undefined]
|
|
@@ -38,6 +39,7 @@ const instance: BookingPopulated = {
|
|
|
38
39
|
slotInfos,
|
|
39
40
|
players,
|
|
40
41
|
initialPlayers,
|
|
42
|
+
joinedPlayers,
|
|
41
43
|
paymentByPlayers,
|
|
42
44
|
noShowChargeApplied,
|
|
43
45
|
noShowChargeAmount,
|
package/docs/CaptureResult.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**playerId** | **string** | ID du joueur (optionnel) | [optional] [default to undefined]
|
|
10
10
|
**paymentIntentId** | **string** | ID du PaymentIntent Stripe | [default to undefined]
|
|
11
11
|
**amount** | **number** | Montant capturé | [optional] [default to undefined]
|
|
12
|
+
**receiptUrl** | **string** | URL de reçu Stripe | [optional] [default to undefined]
|
|
12
13
|
**status** | **string** | Statut de la capture | [default to undefined]
|
|
13
14
|
**error** | **string** | Erreur (si échoué) | [optional] [default to undefined]
|
|
14
15
|
|
|
@@ -22,6 +23,7 @@ const instance: CaptureResult = {
|
|
|
22
23
|
playerId,
|
|
23
24
|
paymentIntentId,
|
|
24
25
|
amount,
|
|
26
|
+
receiptUrl,
|
|
25
27
|
status,
|
|
26
28
|
error,
|
|
27
29
|
};
|
package/docs/ClubPageResponse.md
CHANGED
|
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|
|
19
19
|
**paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
|
|
20
20
|
**hasActiveSubscriptions** | **boolean** | Indique si le club propose au moins un abonnement actif | [default to undefined]
|
|
21
21
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
22
|
+
**isBookingEnabled** | **boolean** | Indique si les réservations (booking/open booking/event registration) sont activées | [optional] [default to undefined]
|
|
22
23
|
**clubCustomerStatus** | [**ClubPageResponseClubCustomerStatus**](ClubPageResponseClubCustomerStatus.md) | | [optional] [default to undefined]
|
|
23
24
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
24
25
|
**sportsIdsLookup** | [**ClubPageResponseSportsIdsLookup**](ClubPageResponseSportsIdsLookup.md) | | [optional] [default to undefined]
|
|
@@ -56,6 +57,7 @@ const instance: ClubPageResponse = {
|
|
|
56
57
|
paymentFeature,
|
|
57
58
|
hasActiveSubscriptions,
|
|
58
59
|
isNoShowEnabled,
|
|
60
|
+
isBookingEnabled,
|
|
59
61
|
clubCustomerStatus,
|
|
60
62
|
sports,
|
|
61
63
|
sportsIdsLookup,
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**gender** | **string** | Genre | [optional] [default to undefined]
|
|
12
12
|
**email** | **string** | Email | [default to undefined]
|
|
13
13
|
**profilePicture** | **string** | Photo de profil | [optional] [default to undefined]
|
|
14
|
+
**avatar** | **string** | Avatar (alias de profilePicture) | [optional] [default to undefined]
|
|
14
15
|
**isAccountVerified** | **boolean** | Compte vérifié | [default to undefined]
|
|
15
16
|
**isProfileVisible** | **boolean** | Profil visible | [default to undefined]
|
|
16
17
|
**isSubscribedToClub** | **boolean** | Abonné au club | [default to undefined]
|
|
@@ -28,6 +29,7 @@ const instance: ClubPlayerResponse = {
|
|
|
28
29
|
gender,
|
|
29
30
|
email,
|
|
30
31
|
profilePicture,
|
|
32
|
+
avatar,
|
|
31
33
|
isAccountVerified,
|
|
32
34
|
isProfileVisible,
|
|
33
35
|
isSubscribedToClub,
|
package/docs/ClubResponse.md
CHANGED
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**stripeAccountId** | **string** | ID du compte Stripe du club | [optional] [default to undefined]
|
|
22
22
|
**clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
|
|
23
23
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
24
|
+
**isBookingEnabled** | **boolean** | Indique si les réservations (booking/open booking/event registration) sont activées | [optional] [default to undefined]
|
|
24
25
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
25
26
|
**courtsCount** | **number** | Nombre total de terrains du club | [optional] [default to undefined]
|
|
26
27
|
**courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
@@ -56,6 +57,7 @@ const instance: ClubResponse = {
|
|
|
56
57
|
stripeAccountId,
|
|
57
58
|
clubDashBoardUrl,
|
|
58
59
|
isNoShowEnabled,
|
|
60
|
+
isBookingEnabled,
|
|
59
61
|
sports,
|
|
60
62
|
courtsCount,
|
|
61
63
|
courtsCountBySport,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**invoices** | [**Array<EventBookingResponseInvoicesInner>**](EventBookingResponseInvoicesInner.md) | | [optional] [default to undefined]
|
|
12
12
|
**players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
|
|
13
|
+
**initialPlayers** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [optional] [default to undefined]
|
|
13
14
|
**paymentPerPlayers** | [**Array<EventBookingResponsePaymentPerPlayersInner>**](EventBookingResponsePaymentPerPlayersInner.md) | | [optional] [default to undefined]
|
|
14
15
|
**setupLimitDate** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**cancellationLimitDate** | **string** | | [optional] [default to undefined]
|
|
@@ -30,6 +31,7 @@ const instance: EventBookingResponse = {
|
|
|
30
31
|
teamName,
|
|
31
32
|
invoices,
|
|
32
33
|
players,
|
|
34
|
+
initialPlayers,
|
|
33
35
|
paymentPerPlayers,
|
|
34
36
|
setupLimitDate,
|
|
35
37
|
cancellationLimitDate,
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**amount** | **number** | | [optional] [default to undefined]
|
|
9
9
|
**status** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
|
|
10
10
|
**photo** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**id** | **string** | | [default to undefined]
|
|
@@ -21,6 +22,7 @@ const instance: EventBookingResponsePaymentPerPlayersInner = {
|
|
|
21
22
|
amount,
|
|
22
23
|
status,
|
|
23
24
|
photo,
|
|
25
|
+
username,
|
|
24
26
|
lastName,
|
|
25
27
|
firstName,
|
|
26
28
|
id,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**invoiceStatus** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
|
|
9
9
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
10
11
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**id** | **string** | | [default to undefined]
|
|
@@ -19,6 +20,7 @@ import { EventBookingResponsePlayersInner } from '@tennac-booking/sdk';
|
|
|
19
20
|
const instance: EventBookingResponsePlayersInner = {
|
|
20
21
|
invoiceStatus,
|
|
21
22
|
profilePicture,
|
|
23
|
+
username,
|
|
22
24
|
lastName,
|
|
23
25
|
firstName,
|
|
24
26
|
id,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**invoices** | [**Array<EventBookingResponseInvoicesInner>**](EventBookingResponseInvoicesInner.md) | | [optional] [default to undefined]
|
|
12
12
|
**players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
|
|
13
|
+
**initialPlayers** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [optional] [default to undefined]
|
|
13
14
|
**paymentPerPlayers** | [**Array<EventBookingResponsePaymentPerPlayersInner>**](EventBookingResponsePaymentPerPlayersInner.md) | | [optional] [default to undefined]
|
|
14
15
|
**setupLimitDate** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**cancellationLimitDate** | **string** | | [optional] [default to undefined]
|
|
@@ -33,6 +34,7 @@ const instance: GetOpenEventBookingsBySport200ResponseEventBookingsInner = {
|
|
|
33
34
|
teamName,
|
|
34
35
|
invoices,
|
|
35
36
|
players,
|
|
37
|
+
initialPlayers,
|
|
36
38
|
paymentPerPlayers,
|
|
37
39
|
setupLimitDate,
|
|
38
40
|
cancellationLimitDate,
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**picture** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**paymentFeature** | **boolean** | | [optional] [default to undefined]
|
|
13
13
|
**isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**isBookingEnabled** | **boolean** | | [optional] [default to undefined]
|
|
14
15
|
**bannerPictures** | **Array<string>** | | [optional] [default to undefined]
|
|
15
16
|
**galleryPictures** | **Array<string>** | | [optional] [default to undefined]
|
|
16
17
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
@@ -28,6 +29,7 @@ const instance: PartialClubActiveResponse = {
|
|
|
28
29
|
picture,
|
|
29
30
|
paymentFeature,
|
|
30
31
|
isNoShowEnabled,
|
|
32
|
+
isBookingEnabled,
|
|
31
33
|
bannerPictures,
|
|
32
34
|
galleryPictures,
|
|
33
35
|
tags,
|
|
@@ -7,6 +7,7 @@ Make all properties in T optional
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**isBookingEnabled** | **boolean** | | [optional] [default to undefined]
|
|
10
11
|
**requireOnlinePayment** | **boolean** | | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
@@ -16,6 +17,7 @@ import { PartialPaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
|
16
17
|
|
|
17
18
|
const instance: PartialPaymentRequirementsSettings = {
|
|
18
19
|
isNoShowEnabled,
|
|
20
|
+
isBookingEnabled,
|
|
19
21
|
requireOnlinePayment,
|
|
20
22
|
};
|
|
21
23
|
```
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**isNoShowEnabled** | **boolean** | | [default to undefined]
|
|
9
|
+
**isBookingEnabled** | **boolean** | | [default to undefined]
|
|
9
10
|
**requireOnlinePayment** | **boolean** | | [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
@@ -15,6 +16,7 @@ import { PaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
|
15
16
|
|
|
16
17
|
const instance: PaymentRequirementsSettings = {
|
|
17
18
|
isNoShowEnabled,
|
|
19
|
+
isBookingEnabled,
|
|
18
20
|
requireOnlinePayment,
|
|
19
21
|
};
|
|
20
22
|
```
|
package/docs/PlayerSummary.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
12
|
**description** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**avatar** | **string** | | [optional] [default to undefined]
|
|
14
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
15
16
|
**levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [optional] [default to undefined]
|
|
16
17
|
**characteristics** | [**Array<CharacteristicEntry>**](CharacteristicEntry.md) | | [optional] [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: PlayerSummary = {
|
|
|
31
32
|
lastName,
|
|
32
33
|
description,
|
|
33
34
|
profilePicture,
|
|
35
|
+
avatar,
|
|
34
36
|
gender,
|
|
35
37
|
levelBySports,
|
|
36
38
|
characteristics,
|