@tennac-booking/sdk 1.0.291 → 1.0.293
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 +149 -3
- package/dist/api.d.ts +149 -3
- package/dist/esm/api.d.ts +149 -3
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingPriceBody.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/CreateBookingRequest.md +2 -0
- package/docs/CreateOpenBookingRequest.md +3 -1
- package/docs/CreateSportForClubRequest.md +4 -0
- package/docs/CreateSportRequest.md +4 -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/OpenBookingPriceBody.md +3 -1
- 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/docs/SportResponse.md +2 -0
- package/docs/UpdateSportRequest.md +4 -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>}
|
|
@@ -1124,6 +1130,12 @@ export interface BookingPriceBody {
|
|
|
1124
1130
|
* @memberof BookingPriceBody
|
|
1125
1131
|
*/
|
|
1126
1132
|
'slotIds': Array<string>;
|
|
1133
|
+
/**
|
|
1134
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
1135
|
+
* @type {number}
|
|
1136
|
+
* @memberof BookingPriceBody
|
|
1137
|
+
*/
|
|
1138
|
+
'playersCount': number;
|
|
1127
1139
|
/**
|
|
1128
1140
|
*
|
|
1129
1141
|
* @type {Array<PlayerShare>}
|
|
@@ -1822,6 +1834,12 @@ export interface CaptureResult {
|
|
|
1822
1834
|
* @memberof CaptureResult
|
|
1823
1835
|
*/
|
|
1824
1836
|
'amount'?: number;
|
|
1837
|
+
/**
|
|
1838
|
+
* URL de reçu Stripe
|
|
1839
|
+
* @type {string}
|
|
1840
|
+
* @memberof CaptureResult
|
|
1841
|
+
*/
|
|
1842
|
+
'receiptUrl'?: string;
|
|
1825
1843
|
/**
|
|
1826
1844
|
* Statut de la capture
|
|
1827
1845
|
* @type {string}
|
|
@@ -3601,6 +3619,12 @@ export interface ClubPageResponse {
|
|
|
3601
3619
|
* @memberof ClubPageResponse
|
|
3602
3620
|
*/
|
|
3603
3621
|
'isNoShowEnabled'?: boolean;
|
|
3622
|
+
/**
|
|
3623
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3624
|
+
* @type {boolean}
|
|
3625
|
+
* @memberof ClubPageResponse
|
|
3626
|
+
*/
|
|
3627
|
+
'isBookingEnabled'?: boolean;
|
|
3604
3628
|
/**
|
|
3605
3629
|
*
|
|
3606
3630
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4056,6 +4080,12 @@ export interface ClubPlayerResponse {
|
|
|
4056
4080
|
* @memberof ClubPlayerResponse
|
|
4057
4081
|
*/
|
|
4058
4082
|
'profilePicture'?: string;
|
|
4083
|
+
/**
|
|
4084
|
+
* Avatar (alias de profilePicture)
|
|
4085
|
+
* @type {string}
|
|
4086
|
+
* @memberof ClubPlayerResponse
|
|
4087
|
+
*/
|
|
4088
|
+
'avatar'?: string;
|
|
4059
4089
|
/**
|
|
4060
4090
|
* Compte vérifié
|
|
4061
4091
|
* @type {boolean}
|
|
@@ -4677,6 +4707,12 @@ export interface ClubResponse {
|
|
|
4677
4707
|
* @memberof ClubResponse
|
|
4678
4708
|
*/
|
|
4679
4709
|
'isNoShowEnabled'?: boolean;
|
|
4710
|
+
/**
|
|
4711
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4712
|
+
* @type {boolean}
|
|
4713
|
+
* @memberof ClubResponse
|
|
4714
|
+
*/
|
|
4715
|
+
'isBookingEnabled'?: boolean;
|
|
4680
4716
|
/**
|
|
4681
4717
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4682
4718
|
* @type {Array<string>}
|
|
@@ -5440,6 +5476,12 @@ export interface CreateBookingRequest {
|
|
|
5440
5476
|
* @memberof CreateBookingRequest
|
|
5441
5477
|
*/
|
|
5442
5478
|
'slotIds': Array<string>;
|
|
5479
|
+
/**
|
|
5480
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5481
|
+
* @type {number}
|
|
5482
|
+
* @memberof CreateBookingRequest
|
|
5483
|
+
*/
|
|
5484
|
+
'playersCount': number;
|
|
5443
5485
|
/**
|
|
5444
5486
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5445
5487
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5984,6 +6026,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5984
6026
|
* @memberof CreateOpenBookingRequest
|
|
5985
6027
|
*/
|
|
5986
6028
|
'slotIds': Array<string>;
|
|
6029
|
+
/**
|
|
6030
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
6031
|
+
* @type {number}
|
|
6032
|
+
* @memberof CreateOpenBookingRequest
|
|
6033
|
+
*/
|
|
6034
|
+
'playersCount': number;
|
|
5987
6035
|
/**
|
|
5988
6036
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5989
6037
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -6015,11 +6063,12 @@ export interface CreateOpenBookingRequest {
|
|
|
6015
6063
|
*/
|
|
6016
6064
|
'creditToUseInCents'?: number;
|
|
6017
6065
|
/**
|
|
6018
|
-
*
|
|
6066
|
+
*
|
|
6019
6067
|
* @type {number}
|
|
6020
6068
|
* @memberof CreateOpenBookingRequest
|
|
6069
|
+
* @deprecated
|
|
6021
6070
|
*/
|
|
6022
|
-
'maxPlayersDesired'
|
|
6071
|
+
'maxPlayersDesired'?: number;
|
|
6023
6072
|
/**
|
|
6024
6073
|
* Description de la réservation ouverte
|
|
6025
6074
|
* @type {string}
|
|
@@ -6079,6 +6128,18 @@ export interface CreateSportForClub201Response {
|
|
|
6079
6128
|
* @interface CreateSportForClubRequest
|
|
6080
6129
|
*/
|
|
6081
6130
|
export interface CreateSportForClubRequest {
|
|
6131
|
+
/**
|
|
6132
|
+
*
|
|
6133
|
+
* @type {number}
|
|
6134
|
+
* @memberof CreateSportForClubRequest
|
|
6135
|
+
*/
|
|
6136
|
+
'maxPlayers'?: number;
|
|
6137
|
+
/**
|
|
6138
|
+
*
|
|
6139
|
+
* @type {number}
|
|
6140
|
+
* @memberof CreateSportForClubRequest
|
|
6141
|
+
*/
|
|
6142
|
+
'minPlayers'?: number;
|
|
6082
6143
|
/**
|
|
6083
6144
|
*
|
|
6084
6145
|
* @type {Array<string>}
|
|
@@ -6116,6 +6177,18 @@ export interface CreateSportRequest {
|
|
|
6116
6177
|
* @memberof CreateSportRequest
|
|
6117
6178
|
*/
|
|
6118
6179
|
'name'?: string;
|
|
6180
|
+
/**
|
|
6181
|
+
* Nombre minimal de joueurs
|
|
6182
|
+
* @type {number}
|
|
6183
|
+
* @memberof CreateSportRequest
|
|
6184
|
+
*/
|
|
6185
|
+
'minPlayers': number;
|
|
6186
|
+
/**
|
|
6187
|
+
* Nombre maximal de joueurs
|
|
6188
|
+
* @type {number}
|
|
6189
|
+
* @memberof CreateSportRequest
|
|
6190
|
+
*/
|
|
6191
|
+
'maxPlayers'?: number;
|
|
6119
6192
|
/**
|
|
6120
6193
|
* Description du sport
|
|
6121
6194
|
* @type {string}
|
|
@@ -7156,6 +7229,12 @@ export interface EventBookingResponse {
|
|
|
7156
7229
|
* @memberof EventBookingResponse
|
|
7157
7230
|
*/
|
|
7158
7231
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7232
|
+
/**
|
|
7233
|
+
*
|
|
7234
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7235
|
+
* @memberof EventBookingResponse
|
|
7236
|
+
*/
|
|
7237
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7159
7238
|
/**
|
|
7160
7239
|
*
|
|
7161
7240
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7282,6 +7361,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7282
7361
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7283
7362
|
*/
|
|
7284
7363
|
'photo'?: string | null;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {string}
|
|
7367
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7368
|
+
*/
|
|
7369
|
+
'username'?: string | null;
|
|
7285
7370
|
/**
|
|
7286
7371
|
*
|
|
7287
7372
|
* @type {string}
|
|
@@ -7319,6 +7404,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7319
7404
|
* @memberof EventBookingResponsePlayersInner
|
|
7320
7405
|
*/
|
|
7321
7406
|
'profilePicture'?: string | null;
|
|
7407
|
+
/**
|
|
7408
|
+
*
|
|
7409
|
+
* @type {string}
|
|
7410
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7411
|
+
*/
|
|
7412
|
+
'username'?: string | null;
|
|
7322
7413
|
/**
|
|
7323
7414
|
*
|
|
7324
7415
|
* @type {string}
|
|
@@ -8592,6 +8683,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8592
8683
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8593
8684
|
*/
|
|
8594
8685
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8686
|
+
/**
|
|
8687
|
+
*
|
|
8688
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8689
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8690
|
+
*/
|
|
8691
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8595
8692
|
/**
|
|
8596
8693
|
*
|
|
8597
8694
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12272,6 +12369,12 @@ export interface OpenBookingPriceBody {
|
|
|
12272
12369
|
* @memberof OpenBookingPriceBody
|
|
12273
12370
|
*/
|
|
12274
12371
|
'slotIds': Array<string>;
|
|
12372
|
+
/**
|
|
12373
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
12374
|
+
* @type {number}
|
|
12375
|
+
* @memberof OpenBookingPriceBody
|
|
12376
|
+
*/
|
|
12377
|
+
'playersCount': number;
|
|
12275
12378
|
/**
|
|
12276
12379
|
*
|
|
12277
12380
|
* @type {Array<PlayerShare>}
|
|
@@ -12288,8 +12391,9 @@ export interface OpenBookingPriceBody {
|
|
|
12288
12391
|
*
|
|
12289
12392
|
* @type {number}
|
|
12290
12393
|
* @memberof OpenBookingPriceBody
|
|
12394
|
+
* @deprecated
|
|
12291
12395
|
*/
|
|
12292
|
-
'maxPlayersDesired'
|
|
12396
|
+
'maxPlayersDesired'?: number;
|
|
12293
12397
|
}
|
|
12294
12398
|
/**
|
|
12295
12399
|
*
|
|
@@ -12402,6 +12506,12 @@ export interface PartialClubActiveResponse {
|
|
|
12402
12506
|
* @memberof PartialClubActiveResponse
|
|
12403
12507
|
*/
|
|
12404
12508
|
'isNoShowEnabled'?: boolean;
|
|
12509
|
+
/**
|
|
12510
|
+
*
|
|
12511
|
+
* @type {boolean}
|
|
12512
|
+
* @memberof PartialClubActiveResponse
|
|
12513
|
+
*/
|
|
12514
|
+
'isBookingEnabled'?: boolean;
|
|
12405
12515
|
/**
|
|
12406
12516
|
*
|
|
12407
12517
|
* @type {Array<string>}
|
|
@@ -12513,6 +12623,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12513
12623
|
* @memberof PartialPaymentRequirementsSettings
|
|
12514
12624
|
*/
|
|
12515
12625
|
'isNoShowEnabled'?: boolean;
|
|
12626
|
+
/**
|
|
12627
|
+
*
|
|
12628
|
+
* @type {boolean}
|
|
12629
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12630
|
+
*/
|
|
12631
|
+
'isBookingEnabled'?: boolean;
|
|
12516
12632
|
/**
|
|
12517
12633
|
*
|
|
12518
12634
|
* @type {boolean}
|
|
@@ -12855,6 +12971,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12855
12971
|
* @memberof PaymentRequirementsSettings
|
|
12856
12972
|
*/
|
|
12857
12973
|
'isNoShowEnabled': boolean;
|
|
12974
|
+
/**
|
|
12975
|
+
*
|
|
12976
|
+
* @type {boolean}
|
|
12977
|
+
* @memberof PaymentRequirementsSettings
|
|
12978
|
+
*/
|
|
12979
|
+
'isBookingEnabled': boolean;
|
|
12858
12980
|
/**
|
|
12859
12981
|
*
|
|
12860
12982
|
* @type {boolean}
|
|
@@ -13300,6 +13422,12 @@ export interface PlayerSummary {
|
|
|
13300
13422
|
* @memberof PlayerSummary
|
|
13301
13423
|
*/
|
|
13302
13424
|
'profilePicture'?: string | null;
|
|
13425
|
+
/**
|
|
13426
|
+
*
|
|
13427
|
+
* @type {string}
|
|
13428
|
+
* @memberof PlayerSummary
|
|
13429
|
+
*/
|
|
13430
|
+
'avatar'?: string | null;
|
|
13303
13431
|
/**
|
|
13304
13432
|
*
|
|
13305
13433
|
* @type {Gender}
|
|
@@ -14824,6 +14952,12 @@ export interface SportResponse {
|
|
|
14824
14952
|
* @memberof SportResponse
|
|
14825
14953
|
*/
|
|
14826
14954
|
'logos'?: Array<string>;
|
|
14955
|
+
/**
|
|
14956
|
+
*
|
|
14957
|
+
* @type {number}
|
|
14958
|
+
* @memberof SportResponse
|
|
14959
|
+
*/
|
|
14960
|
+
'minPlayers': number;
|
|
14827
14961
|
/**
|
|
14828
14962
|
*
|
|
14829
14963
|
* @type {number}
|
|
@@ -17823,6 +17957,18 @@ export interface UpdateSportRequest {
|
|
|
17823
17957
|
* @memberof UpdateSportRequest
|
|
17824
17958
|
*/
|
|
17825
17959
|
'name'?: string;
|
|
17960
|
+
/**
|
|
17961
|
+
* Nombre minimal de joueurs
|
|
17962
|
+
* @type {number}
|
|
17963
|
+
* @memberof UpdateSportRequest
|
|
17964
|
+
*/
|
|
17965
|
+
'minPlayers'?: number;
|
|
17966
|
+
/**
|
|
17967
|
+
* Nombre maximal de joueurs
|
|
17968
|
+
* @type {number}
|
|
17969
|
+
* @memberof UpdateSportRequest
|
|
17970
|
+
*/
|
|
17971
|
+
'maxPlayers'?: number;
|
|
17826
17972
|
/**
|
|
17827
17973
|
* Description du sport
|
|
17828
17974
|
* @type {string}
|
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>}
|
|
@@ -1097,6 +1103,12 @@ export interface BookingPriceBody {
|
|
|
1097
1103
|
* @memberof BookingPriceBody
|
|
1098
1104
|
*/
|
|
1099
1105
|
'slotIds': Array<string>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
1108
|
+
* @type {number}
|
|
1109
|
+
* @memberof BookingPriceBody
|
|
1110
|
+
*/
|
|
1111
|
+
'playersCount': number;
|
|
1100
1112
|
/**
|
|
1101
1113
|
*
|
|
1102
1114
|
* @type {Array<PlayerShare>}
|
|
@@ -1788,6 +1800,12 @@ export interface CaptureResult {
|
|
|
1788
1800
|
* @memberof CaptureResult
|
|
1789
1801
|
*/
|
|
1790
1802
|
'amount'?: number;
|
|
1803
|
+
/**
|
|
1804
|
+
* URL de reçu Stripe
|
|
1805
|
+
* @type {string}
|
|
1806
|
+
* @memberof CaptureResult
|
|
1807
|
+
*/
|
|
1808
|
+
'receiptUrl'?: string;
|
|
1791
1809
|
/**
|
|
1792
1810
|
* Statut de la capture
|
|
1793
1811
|
* @type {string}
|
|
@@ -3535,6 +3553,12 @@ export interface ClubPageResponse {
|
|
|
3535
3553
|
* @memberof ClubPageResponse
|
|
3536
3554
|
*/
|
|
3537
3555
|
'isNoShowEnabled'?: boolean;
|
|
3556
|
+
/**
|
|
3557
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3558
|
+
* @type {boolean}
|
|
3559
|
+
* @memberof ClubPageResponse
|
|
3560
|
+
*/
|
|
3561
|
+
'isBookingEnabled'?: boolean;
|
|
3538
3562
|
/**
|
|
3539
3563
|
*
|
|
3540
3564
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4000,6 +4024,12 @@ export interface ClubPlayerResponse {
|
|
|
4000
4024
|
* @memberof ClubPlayerResponse
|
|
4001
4025
|
*/
|
|
4002
4026
|
'profilePicture'?: string;
|
|
4027
|
+
/**
|
|
4028
|
+
* Avatar (alias de profilePicture)
|
|
4029
|
+
* @type {string}
|
|
4030
|
+
* @memberof ClubPlayerResponse
|
|
4031
|
+
*/
|
|
4032
|
+
'avatar'?: string;
|
|
4003
4033
|
/**
|
|
4004
4034
|
* Compte vérifié
|
|
4005
4035
|
* @type {boolean}
|
|
@@ -4623,6 +4653,12 @@ export interface ClubResponse {
|
|
|
4623
4653
|
* @memberof ClubResponse
|
|
4624
4654
|
*/
|
|
4625
4655
|
'isNoShowEnabled'?: boolean;
|
|
4656
|
+
/**
|
|
4657
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4658
|
+
* @type {boolean}
|
|
4659
|
+
* @memberof ClubResponse
|
|
4660
|
+
*/
|
|
4661
|
+
'isBookingEnabled'?: boolean;
|
|
4626
4662
|
/**
|
|
4627
4663
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4628
4664
|
* @type {Array<string>}
|
|
@@ -5370,6 +5406,12 @@ export interface CreateBookingRequest {
|
|
|
5370
5406
|
* @memberof CreateBookingRequest
|
|
5371
5407
|
*/
|
|
5372
5408
|
'slotIds': Array<string>;
|
|
5409
|
+
/**
|
|
5410
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5411
|
+
* @type {number}
|
|
5412
|
+
* @memberof CreateBookingRequest
|
|
5413
|
+
*/
|
|
5414
|
+
'playersCount': number;
|
|
5373
5415
|
/**
|
|
5374
5416
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5375
5417
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5895,6 +5937,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5895
5937
|
* @memberof CreateOpenBookingRequest
|
|
5896
5938
|
*/
|
|
5897
5939
|
'slotIds': Array<string>;
|
|
5940
|
+
/**
|
|
5941
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5942
|
+
* @type {number}
|
|
5943
|
+
* @memberof CreateOpenBookingRequest
|
|
5944
|
+
*/
|
|
5945
|
+
'playersCount': number;
|
|
5898
5946
|
/**
|
|
5899
5947
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5900
5948
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5926,11 +5974,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5926
5974
|
*/
|
|
5927
5975
|
'creditToUseInCents'?: number;
|
|
5928
5976
|
/**
|
|
5929
|
-
*
|
|
5977
|
+
*
|
|
5930
5978
|
* @type {number}
|
|
5931
5979
|
* @memberof CreateOpenBookingRequest
|
|
5980
|
+
* @deprecated
|
|
5932
5981
|
*/
|
|
5933
|
-
'maxPlayersDesired'
|
|
5982
|
+
'maxPlayersDesired'?: number;
|
|
5934
5983
|
/**
|
|
5935
5984
|
* Description de la réservation ouverte
|
|
5936
5985
|
* @type {string}
|
|
@@ -5988,6 +6037,18 @@ export interface CreateSportForClub201Response {
|
|
|
5988
6037
|
* @interface CreateSportForClubRequest
|
|
5989
6038
|
*/
|
|
5990
6039
|
export interface CreateSportForClubRequest {
|
|
6040
|
+
/**
|
|
6041
|
+
*
|
|
6042
|
+
* @type {number}
|
|
6043
|
+
* @memberof CreateSportForClubRequest
|
|
6044
|
+
*/
|
|
6045
|
+
'maxPlayers'?: number;
|
|
6046
|
+
/**
|
|
6047
|
+
*
|
|
6048
|
+
* @type {number}
|
|
6049
|
+
* @memberof CreateSportForClubRequest
|
|
6050
|
+
*/
|
|
6051
|
+
'minPlayers'?: number;
|
|
5991
6052
|
/**
|
|
5992
6053
|
*
|
|
5993
6054
|
* @type {Array<string>}
|
|
@@ -6025,6 +6086,18 @@ export interface CreateSportRequest {
|
|
|
6025
6086
|
* @memberof CreateSportRequest
|
|
6026
6087
|
*/
|
|
6027
6088
|
'name'?: string;
|
|
6089
|
+
/**
|
|
6090
|
+
* Nombre minimal de joueurs
|
|
6091
|
+
* @type {number}
|
|
6092
|
+
* @memberof CreateSportRequest
|
|
6093
|
+
*/
|
|
6094
|
+
'minPlayers': number;
|
|
6095
|
+
/**
|
|
6096
|
+
* Nombre maximal de joueurs
|
|
6097
|
+
* @type {number}
|
|
6098
|
+
* @memberof CreateSportRequest
|
|
6099
|
+
*/
|
|
6100
|
+
'maxPlayers'?: number;
|
|
6028
6101
|
/**
|
|
6029
6102
|
* Description du sport
|
|
6030
6103
|
* @type {string}
|
|
@@ -7047,6 +7120,12 @@ export interface EventBookingResponse {
|
|
|
7047
7120
|
* @memberof EventBookingResponse
|
|
7048
7121
|
*/
|
|
7049
7122
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7123
|
+
/**
|
|
7124
|
+
*
|
|
7125
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7126
|
+
* @memberof EventBookingResponse
|
|
7127
|
+
*/
|
|
7128
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7050
7129
|
/**
|
|
7051
7130
|
*
|
|
7052
7131
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7171,6 +7250,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7171
7250
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7172
7251
|
*/
|
|
7173
7252
|
'photo'?: string | null;
|
|
7253
|
+
/**
|
|
7254
|
+
*
|
|
7255
|
+
* @type {string}
|
|
7256
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7257
|
+
*/
|
|
7258
|
+
'username'?: string | null;
|
|
7174
7259
|
/**
|
|
7175
7260
|
*
|
|
7176
7261
|
* @type {string}
|
|
@@ -7208,6 +7293,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7208
7293
|
* @memberof EventBookingResponsePlayersInner
|
|
7209
7294
|
*/
|
|
7210
7295
|
'profilePicture'?: string | null;
|
|
7296
|
+
/**
|
|
7297
|
+
*
|
|
7298
|
+
* @type {string}
|
|
7299
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7300
|
+
*/
|
|
7301
|
+
'username'?: string | null;
|
|
7211
7302
|
/**
|
|
7212
7303
|
*
|
|
7213
7304
|
* @type {string}
|
|
@@ -8465,6 +8556,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8465
8556
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8466
8557
|
*/
|
|
8467
8558
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8559
|
+
/**
|
|
8560
|
+
*
|
|
8561
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8562
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8563
|
+
*/
|
|
8564
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8468
8565
|
/**
|
|
8469
8566
|
*
|
|
8470
8567
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12100,6 +12197,12 @@ export interface OpenBookingPriceBody {
|
|
|
12100
12197
|
* @memberof OpenBookingPriceBody
|
|
12101
12198
|
*/
|
|
12102
12199
|
'slotIds': Array<string>;
|
|
12200
|
+
/**
|
|
12201
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
12202
|
+
* @type {number}
|
|
12203
|
+
* @memberof OpenBookingPriceBody
|
|
12204
|
+
*/
|
|
12205
|
+
'playersCount': number;
|
|
12103
12206
|
/**
|
|
12104
12207
|
*
|
|
12105
12208
|
* @type {Array<PlayerShare>}
|
|
@@ -12116,8 +12219,9 @@ export interface OpenBookingPriceBody {
|
|
|
12116
12219
|
*
|
|
12117
12220
|
* @type {number}
|
|
12118
12221
|
* @memberof OpenBookingPriceBody
|
|
12222
|
+
* @deprecated
|
|
12119
12223
|
*/
|
|
12120
|
-
'maxPlayersDesired'
|
|
12224
|
+
'maxPlayersDesired'?: number;
|
|
12121
12225
|
}
|
|
12122
12226
|
/**
|
|
12123
12227
|
*
|
|
@@ -12230,6 +12334,12 @@ export interface PartialClubActiveResponse {
|
|
|
12230
12334
|
* @memberof PartialClubActiveResponse
|
|
12231
12335
|
*/
|
|
12232
12336
|
'isNoShowEnabled'?: boolean;
|
|
12337
|
+
/**
|
|
12338
|
+
*
|
|
12339
|
+
* @type {boolean}
|
|
12340
|
+
* @memberof PartialClubActiveResponse
|
|
12341
|
+
*/
|
|
12342
|
+
'isBookingEnabled'?: boolean;
|
|
12233
12343
|
/**
|
|
12234
12344
|
*
|
|
12235
12345
|
* @type {Array<string>}
|
|
@@ -12341,6 +12451,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12341
12451
|
* @memberof PartialPaymentRequirementsSettings
|
|
12342
12452
|
*/
|
|
12343
12453
|
'isNoShowEnabled'?: boolean;
|
|
12454
|
+
/**
|
|
12455
|
+
*
|
|
12456
|
+
* @type {boolean}
|
|
12457
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12458
|
+
*/
|
|
12459
|
+
'isBookingEnabled'?: boolean;
|
|
12344
12460
|
/**
|
|
12345
12461
|
*
|
|
12346
12462
|
* @type {boolean}
|
|
@@ -12666,6 +12782,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12666
12782
|
* @memberof PaymentRequirementsSettings
|
|
12667
12783
|
*/
|
|
12668
12784
|
'isNoShowEnabled': boolean;
|
|
12785
|
+
/**
|
|
12786
|
+
*
|
|
12787
|
+
* @type {boolean}
|
|
12788
|
+
* @memberof PaymentRequirementsSettings
|
|
12789
|
+
*/
|
|
12790
|
+
'isBookingEnabled': boolean;
|
|
12669
12791
|
/**
|
|
12670
12792
|
*
|
|
12671
12793
|
* @type {boolean}
|
|
@@ -13095,6 +13217,12 @@ export interface PlayerSummary {
|
|
|
13095
13217
|
* @memberof PlayerSummary
|
|
13096
13218
|
*/
|
|
13097
13219
|
'profilePicture'?: string | null;
|
|
13220
|
+
/**
|
|
13221
|
+
*
|
|
13222
|
+
* @type {string}
|
|
13223
|
+
* @memberof PlayerSummary
|
|
13224
|
+
*/
|
|
13225
|
+
'avatar'?: string | null;
|
|
13098
13226
|
/**
|
|
13099
13227
|
*
|
|
13100
13228
|
* @type {Gender}
|
|
@@ -14594,6 +14722,12 @@ export interface SportResponse {
|
|
|
14594
14722
|
* @memberof SportResponse
|
|
14595
14723
|
*/
|
|
14596
14724
|
'logos'?: Array<string>;
|
|
14725
|
+
/**
|
|
14726
|
+
*
|
|
14727
|
+
* @type {number}
|
|
14728
|
+
* @memberof SportResponse
|
|
14729
|
+
*/
|
|
14730
|
+
'minPlayers': number;
|
|
14597
14731
|
/**
|
|
14598
14732
|
*
|
|
14599
14733
|
* @type {number}
|
|
@@ -17551,6 +17685,18 @@ export interface UpdateSportRequest {
|
|
|
17551
17685
|
* @memberof UpdateSportRequest
|
|
17552
17686
|
*/
|
|
17553
17687
|
'name'?: string;
|
|
17688
|
+
/**
|
|
17689
|
+
* Nombre minimal de joueurs
|
|
17690
|
+
* @type {number}
|
|
17691
|
+
* @memberof UpdateSportRequest
|
|
17692
|
+
*/
|
|
17693
|
+
'minPlayers'?: number;
|
|
17694
|
+
/**
|
|
17695
|
+
* Nombre maximal de joueurs
|
|
17696
|
+
* @type {number}
|
|
17697
|
+
* @memberof UpdateSportRequest
|
|
17698
|
+
*/
|
|
17699
|
+
'maxPlayers'?: number;
|
|
17554
17700
|
/**
|
|
17555
17701
|
* Description du sport
|
|
17556
17702
|
* @type {string}
|
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>}
|
|
@@ -1097,6 +1103,12 @@ export interface BookingPriceBody {
|
|
|
1097
1103
|
* @memberof BookingPriceBody
|
|
1098
1104
|
*/
|
|
1099
1105
|
'slotIds': Array<string>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
1108
|
+
* @type {number}
|
|
1109
|
+
* @memberof BookingPriceBody
|
|
1110
|
+
*/
|
|
1111
|
+
'playersCount': number;
|
|
1100
1112
|
/**
|
|
1101
1113
|
*
|
|
1102
1114
|
* @type {Array<PlayerShare>}
|
|
@@ -1788,6 +1800,12 @@ export interface CaptureResult {
|
|
|
1788
1800
|
* @memberof CaptureResult
|
|
1789
1801
|
*/
|
|
1790
1802
|
'amount'?: number;
|
|
1803
|
+
/**
|
|
1804
|
+
* URL de reçu Stripe
|
|
1805
|
+
* @type {string}
|
|
1806
|
+
* @memberof CaptureResult
|
|
1807
|
+
*/
|
|
1808
|
+
'receiptUrl'?: string;
|
|
1791
1809
|
/**
|
|
1792
1810
|
* Statut de la capture
|
|
1793
1811
|
* @type {string}
|
|
@@ -3535,6 +3553,12 @@ export interface ClubPageResponse {
|
|
|
3535
3553
|
* @memberof ClubPageResponse
|
|
3536
3554
|
*/
|
|
3537
3555
|
'isNoShowEnabled'?: boolean;
|
|
3556
|
+
/**
|
|
3557
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3558
|
+
* @type {boolean}
|
|
3559
|
+
* @memberof ClubPageResponse
|
|
3560
|
+
*/
|
|
3561
|
+
'isBookingEnabled'?: boolean;
|
|
3538
3562
|
/**
|
|
3539
3563
|
*
|
|
3540
3564
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4000,6 +4024,12 @@ export interface ClubPlayerResponse {
|
|
|
4000
4024
|
* @memberof ClubPlayerResponse
|
|
4001
4025
|
*/
|
|
4002
4026
|
'profilePicture'?: string;
|
|
4027
|
+
/**
|
|
4028
|
+
* Avatar (alias de profilePicture)
|
|
4029
|
+
* @type {string}
|
|
4030
|
+
* @memberof ClubPlayerResponse
|
|
4031
|
+
*/
|
|
4032
|
+
'avatar'?: string;
|
|
4003
4033
|
/**
|
|
4004
4034
|
* Compte vérifié
|
|
4005
4035
|
* @type {boolean}
|
|
@@ -4623,6 +4653,12 @@ export interface ClubResponse {
|
|
|
4623
4653
|
* @memberof ClubResponse
|
|
4624
4654
|
*/
|
|
4625
4655
|
'isNoShowEnabled'?: boolean;
|
|
4656
|
+
/**
|
|
4657
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4658
|
+
* @type {boolean}
|
|
4659
|
+
* @memberof ClubResponse
|
|
4660
|
+
*/
|
|
4661
|
+
'isBookingEnabled'?: boolean;
|
|
4626
4662
|
/**
|
|
4627
4663
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4628
4664
|
* @type {Array<string>}
|
|
@@ -5370,6 +5406,12 @@ export interface CreateBookingRequest {
|
|
|
5370
5406
|
* @memberof CreateBookingRequest
|
|
5371
5407
|
*/
|
|
5372
5408
|
'slotIds': Array<string>;
|
|
5409
|
+
/**
|
|
5410
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5411
|
+
* @type {number}
|
|
5412
|
+
* @memberof CreateBookingRequest
|
|
5413
|
+
*/
|
|
5414
|
+
'playersCount': number;
|
|
5373
5415
|
/**
|
|
5374
5416
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5375
5417
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5895,6 +5937,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5895
5937
|
* @memberof CreateOpenBookingRequest
|
|
5896
5938
|
*/
|
|
5897
5939
|
'slotIds': Array<string>;
|
|
5940
|
+
/**
|
|
5941
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5942
|
+
* @type {number}
|
|
5943
|
+
* @memberof CreateOpenBookingRequest
|
|
5944
|
+
*/
|
|
5945
|
+
'playersCount': number;
|
|
5898
5946
|
/**
|
|
5899
5947
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5900
5948
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5926,11 +5974,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5926
5974
|
*/
|
|
5927
5975
|
'creditToUseInCents'?: number;
|
|
5928
5976
|
/**
|
|
5929
|
-
*
|
|
5977
|
+
*
|
|
5930
5978
|
* @type {number}
|
|
5931
5979
|
* @memberof CreateOpenBookingRequest
|
|
5980
|
+
* @deprecated
|
|
5932
5981
|
*/
|
|
5933
|
-
'maxPlayersDesired'
|
|
5982
|
+
'maxPlayersDesired'?: number;
|
|
5934
5983
|
/**
|
|
5935
5984
|
* Description de la réservation ouverte
|
|
5936
5985
|
* @type {string}
|
|
@@ -5988,6 +6037,18 @@ export interface CreateSportForClub201Response {
|
|
|
5988
6037
|
* @interface CreateSportForClubRequest
|
|
5989
6038
|
*/
|
|
5990
6039
|
export interface CreateSportForClubRequest {
|
|
6040
|
+
/**
|
|
6041
|
+
*
|
|
6042
|
+
* @type {number}
|
|
6043
|
+
* @memberof CreateSportForClubRequest
|
|
6044
|
+
*/
|
|
6045
|
+
'maxPlayers'?: number;
|
|
6046
|
+
/**
|
|
6047
|
+
*
|
|
6048
|
+
* @type {number}
|
|
6049
|
+
* @memberof CreateSportForClubRequest
|
|
6050
|
+
*/
|
|
6051
|
+
'minPlayers'?: number;
|
|
5991
6052
|
/**
|
|
5992
6053
|
*
|
|
5993
6054
|
* @type {Array<string>}
|
|
@@ -6025,6 +6086,18 @@ export interface CreateSportRequest {
|
|
|
6025
6086
|
* @memberof CreateSportRequest
|
|
6026
6087
|
*/
|
|
6027
6088
|
'name'?: string;
|
|
6089
|
+
/**
|
|
6090
|
+
* Nombre minimal de joueurs
|
|
6091
|
+
* @type {number}
|
|
6092
|
+
* @memberof CreateSportRequest
|
|
6093
|
+
*/
|
|
6094
|
+
'minPlayers': number;
|
|
6095
|
+
/**
|
|
6096
|
+
* Nombre maximal de joueurs
|
|
6097
|
+
* @type {number}
|
|
6098
|
+
* @memberof CreateSportRequest
|
|
6099
|
+
*/
|
|
6100
|
+
'maxPlayers'?: number;
|
|
6028
6101
|
/**
|
|
6029
6102
|
* Description du sport
|
|
6030
6103
|
* @type {string}
|
|
@@ -7047,6 +7120,12 @@ export interface EventBookingResponse {
|
|
|
7047
7120
|
* @memberof EventBookingResponse
|
|
7048
7121
|
*/
|
|
7049
7122
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7123
|
+
/**
|
|
7124
|
+
*
|
|
7125
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7126
|
+
* @memberof EventBookingResponse
|
|
7127
|
+
*/
|
|
7128
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7050
7129
|
/**
|
|
7051
7130
|
*
|
|
7052
7131
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7171,6 +7250,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7171
7250
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7172
7251
|
*/
|
|
7173
7252
|
'photo'?: string | null;
|
|
7253
|
+
/**
|
|
7254
|
+
*
|
|
7255
|
+
* @type {string}
|
|
7256
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7257
|
+
*/
|
|
7258
|
+
'username'?: string | null;
|
|
7174
7259
|
/**
|
|
7175
7260
|
*
|
|
7176
7261
|
* @type {string}
|
|
@@ -7208,6 +7293,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7208
7293
|
* @memberof EventBookingResponsePlayersInner
|
|
7209
7294
|
*/
|
|
7210
7295
|
'profilePicture'?: string | null;
|
|
7296
|
+
/**
|
|
7297
|
+
*
|
|
7298
|
+
* @type {string}
|
|
7299
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7300
|
+
*/
|
|
7301
|
+
'username'?: string | null;
|
|
7211
7302
|
/**
|
|
7212
7303
|
*
|
|
7213
7304
|
* @type {string}
|
|
@@ -8465,6 +8556,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8465
8556
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8466
8557
|
*/
|
|
8467
8558
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8559
|
+
/**
|
|
8560
|
+
*
|
|
8561
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8562
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8563
|
+
*/
|
|
8564
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8468
8565
|
/**
|
|
8469
8566
|
*
|
|
8470
8567
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12100,6 +12197,12 @@ export interface OpenBookingPriceBody {
|
|
|
12100
12197
|
* @memberof OpenBookingPriceBody
|
|
12101
12198
|
*/
|
|
12102
12199
|
'slotIds': Array<string>;
|
|
12200
|
+
/**
|
|
12201
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
12202
|
+
* @type {number}
|
|
12203
|
+
* @memberof OpenBookingPriceBody
|
|
12204
|
+
*/
|
|
12205
|
+
'playersCount': number;
|
|
12103
12206
|
/**
|
|
12104
12207
|
*
|
|
12105
12208
|
* @type {Array<PlayerShare>}
|
|
@@ -12116,8 +12219,9 @@ export interface OpenBookingPriceBody {
|
|
|
12116
12219
|
*
|
|
12117
12220
|
* @type {number}
|
|
12118
12221
|
* @memberof OpenBookingPriceBody
|
|
12222
|
+
* @deprecated
|
|
12119
12223
|
*/
|
|
12120
|
-
'maxPlayersDesired'
|
|
12224
|
+
'maxPlayersDesired'?: number;
|
|
12121
12225
|
}
|
|
12122
12226
|
/**
|
|
12123
12227
|
*
|
|
@@ -12230,6 +12334,12 @@ export interface PartialClubActiveResponse {
|
|
|
12230
12334
|
* @memberof PartialClubActiveResponse
|
|
12231
12335
|
*/
|
|
12232
12336
|
'isNoShowEnabled'?: boolean;
|
|
12337
|
+
/**
|
|
12338
|
+
*
|
|
12339
|
+
* @type {boolean}
|
|
12340
|
+
* @memberof PartialClubActiveResponse
|
|
12341
|
+
*/
|
|
12342
|
+
'isBookingEnabled'?: boolean;
|
|
12233
12343
|
/**
|
|
12234
12344
|
*
|
|
12235
12345
|
* @type {Array<string>}
|
|
@@ -12341,6 +12451,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12341
12451
|
* @memberof PartialPaymentRequirementsSettings
|
|
12342
12452
|
*/
|
|
12343
12453
|
'isNoShowEnabled'?: boolean;
|
|
12454
|
+
/**
|
|
12455
|
+
*
|
|
12456
|
+
* @type {boolean}
|
|
12457
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12458
|
+
*/
|
|
12459
|
+
'isBookingEnabled'?: boolean;
|
|
12344
12460
|
/**
|
|
12345
12461
|
*
|
|
12346
12462
|
* @type {boolean}
|
|
@@ -12666,6 +12782,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12666
12782
|
* @memberof PaymentRequirementsSettings
|
|
12667
12783
|
*/
|
|
12668
12784
|
'isNoShowEnabled': boolean;
|
|
12785
|
+
/**
|
|
12786
|
+
*
|
|
12787
|
+
* @type {boolean}
|
|
12788
|
+
* @memberof PaymentRequirementsSettings
|
|
12789
|
+
*/
|
|
12790
|
+
'isBookingEnabled': boolean;
|
|
12669
12791
|
/**
|
|
12670
12792
|
*
|
|
12671
12793
|
* @type {boolean}
|
|
@@ -13095,6 +13217,12 @@ export interface PlayerSummary {
|
|
|
13095
13217
|
* @memberof PlayerSummary
|
|
13096
13218
|
*/
|
|
13097
13219
|
'profilePicture'?: string | null;
|
|
13220
|
+
/**
|
|
13221
|
+
*
|
|
13222
|
+
* @type {string}
|
|
13223
|
+
* @memberof PlayerSummary
|
|
13224
|
+
*/
|
|
13225
|
+
'avatar'?: string | null;
|
|
13098
13226
|
/**
|
|
13099
13227
|
*
|
|
13100
13228
|
* @type {Gender}
|
|
@@ -14594,6 +14722,12 @@ export interface SportResponse {
|
|
|
14594
14722
|
* @memberof SportResponse
|
|
14595
14723
|
*/
|
|
14596
14724
|
'logos'?: Array<string>;
|
|
14725
|
+
/**
|
|
14726
|
+
*
|
|
14727
|
+
* @type {number}
|
|
14728
|
+
* @memberof SportResponse
|
|
14729
|
+
*/
|
|
14730
|
+
'minPlayers': number;
|
|
14597
14731
|
/**
|
|
14598
14732
|
*
|
|
14599
14733
|
* @type {number}
|
|
@@ -17551,6 +17685,18 @@ export interface UpdateSportRequest {
|
|
|
17551
17685
|
* @memberof UpdateSportRequest
|
|
17552
17686
|
*/
|
|
17553
17687
|
'name'?: string;
|
|
17688
|
+
/**
|
|
17689
|
+
* Nombre minimal de joueurs
|
|
17690
|
+
* @type {number}
|
|
17691
|
+
* @memberof UpdateSportRequest
|
|
17692
|
+
*/
|
|
17693
|
+
'minPlayers'?: number;
|
|
17694
|
+
/**
|
|
17695
|
+
* Nombre maximal de joueurs
|
|
17696
|
+
* @type {number}
|
|
17697
|
+
* @memberof UpdateSportRequest
|
|
17698
|
+
*/
|
|
17699
|
+
'maxPlayers'?: number;
|
|
17554
17700
|
/**
|
|
17555
17701
|
* Description du sport
|
|
17556
17702
|
* @type {string}
|
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/BookingPriceBody.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus) | [default to undefined]
|
|
9
10
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
10
11
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
11
12
|
|
|
@@ -16,6 +17,7 @@ import { BookingPriceBody } from '@tennac-booking/sdk';
|
|
|
16
17
|
|
|
17
18
|
const instance: BookingPriceBody = {
|
|
18
19
|
slotIds,
|
|
20
|
+
playersCount,
|
|
19
21
|
playerShares,
|
|
20
22
|
creditToUseInCents,
|
|
21
23
|
};
|
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,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés. | [default to undefined]
|
|
9
10
|
**players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR) | [default to undefined]
|
|
10
11
|
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to undefined]
|
|
11
12
|
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
@@ -19,6 +20,7 @@ import { CreateBookingRequest } from '@tennac-booking/sdk';
|
|
|
19
20
|
|
|
20
21
|
const instance: CreateBookingRequest = {
|
|
21
22
|
slotIds,
|
|
23
|
+
playersCount,
|
|
22
24
|
players,
|
|
23
25
|
isCreatorPayingAll,
|
|
24
26
|
paymentMethod,
|
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés. | [default to undefined]
|
|
9
10
|
**players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR) | [default to undefined]
|
|
10
11
|
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to undefined]
|
|
11
12
|
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
12
13
|
**useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined]
|
|
13
14
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
14
|
-
**maxPlayersDesired** | **number** |
|
|
15
|
+
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
|
|
15
16
|
**description** | **string** | Description de la réservation ouverte | [optional] [default to undefined]
|
|
16
17
|
**minLevel** | **string** | Niveau minimal souhaité pour rejoindre | [optional] [default to undefined]
|
|
17
18
|
|
|
@@ -22,6 +23,7 @@ import { CreateOpenBookingRequest } from '@tennac-booking/sdk';
|
|
|
22
23
|
|
|
23
24
|
const instance: CreateOpenBookingRequest = {
|
|
24
25
|
slotIds,
|
|
26
|
+
playersCount,
|
|
25
27
|
players,
|
|
26
28
|
isCreatorPayingAll,
|
|
27
29
|
paymentMethod,
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**maxPlayers** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**minPlayers** | **number** | | [optional] [default to undefined]
|
|
8
10
|
**logos** | **Array<string>** | | [optional] [default to undefined]
|
|
9
11
|
**description** | **string** | | [optional] [default to undefined]
|
|
10
12
|
**name** | **string** | | [optional] [default to undefined]
|
|
@@ -16,6 +18,8 @@ Name | Type | Description | Notes
|
|
|
16
18
|
import { CreateSportForClubRequest } from '@tennac-booking/sdk';
|
|
17
19
|
|
|
18
20
|
const instance: CreateSportForClubRequest = {
|
|
21
|
+
maxPlayers,
|
|
22
|
+
minPlayers,
|
|
19
23
|
logos,
|
|
20
24
|
description,
|
|
21
25
|
name,
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**name** | **string** | Nom affiché du sport | [optional] [default to undefined]
|
|
9
|
+
**minPlayers** | **number** | Nombre minimal de joueurs | [default to undefined]
|
|
10
|
+
**maxPlayers** | **number** | Nombre maximal de joueurs | [optional] [default to undefined]
|
|
9
11
|
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
10
12
|
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés | [optional] [default to undefined]
|
|
11
13
|
**logos** | **Array<string>** | URLs de logos/images | [optional] [default to undefined]
|
|
@@ -17,6 +19,8 @@ import { CreateSportRequest } from '@tennac-booking/sdk';
|
|
|
17
19
|
|
|
18
20
|
const instance: CreateSportRequest = {
|
|
19
21
|
name,
|
|
22
|
+
minPlayers,
|
|
23
|
+
maxPlayers,
|
|
20
24
|
description,
|
|
21
25
|
levels,
|
|
22
26
|
logos,
|
|
@@ -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,
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus) | [default to undefined]
|
|
9
10
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
10
11
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**maxPlayersDesired** | **number** | | [default to undefined]
|
|
12
|
+
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -17,6 +18,7 @@ import { OpenBookingPriceBody } from '@tennac-booking/sdk';
|
|
|
17
18
|
|
|
18
19
|
const instance: OpenBookingPriceBody = {
|
|
19
20
|
slotIds,
|
|
21
|
+
playersCount,
|
|
20
22
|
playerShares,
|
|
21
23
|
creditToUseInCents,
|
|
22
24
|
maxPlayersDesired,
|
|
@@ -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,
|
package/docs/SportResponse.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
12
12
|
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
|
|
13
13
|
**logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
|
|
14
|
+
**minPlayers** | **number** | | [default to undefined]
|
|
14
15
|
**maxPlayers** | **number** | | [optional] [default to undefined]
|
|
15
16
|
**slotDurations** | **Array<number>** | Durées de créneaux disponibles sur les terrains de ce sport (en minutes) | [optional] [default to undefined]
|
|
16
17
|
**surface** | **Array<string>** | Types de surface pour le sport | [optional] [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: SportResponse = {
|
|
|
31
32
|
description,
|
|
32
33
|
levels,
|
|
33
34
|
logos,
|
|
35
|
+
minPlayers,
|
|
34
36
|
maxPlayers,
|
|
35
37
|
slotDurations,
|
|
36
38
|
surface,
|
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**key** | [**SportKey**](SportKey.md) | | [optional] [default to undefined]
|
|
9
9
|
**name** | **string** | Nom affiché du sport | [optional] [default to undefined]
|
|
10
|
+
**minPlayers** | **number** | Nombre minimal de joueurs | [optional] [default to undefined]
|
|
11
|
+
**maxPlayers** | **number** | Nombre maximal de joueurs | [optional] [default to undefined]
|
|
10
12
|
**description** | **string** | Description du sport | [optional] [default to undefined]
|
|
11
13
|
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés | [optional] [default to undefined]
|
|
12
14
|
**logos** | **Array<string>** | URLs de logos/images | [optional] [default to undefined]
|
|
@@ -19,6 +21,8 @@ import { UpdateSportRequest } from '@tennac-booking/sdk';
|
|
|
19
21
|
const instance: UpdateSportRequest = {
|
|
20
22
|
key,
|
|
21
23
|
name,
|
|
24
|
+
minPlayers,
|
|
25
|
+
maxPlayers,
|
|
22
26
|
description,
|
|
23
27
|
levels,
|
|
24
28
|
logos,
|