@tennac-booking/sdk 1.0.292 → 1.0.294
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 +83 -3
- package/dist/api.d.ts +83 -3
- package/dist/esm/api.d.ts +83 -3
- package/docs/BookingAnalyticsResponse.md +2 -0
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingPriceBody.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/OpenBookingPriceBody.md +3 -1
- package/docs/SportResponse.md +2 -0
- package/docs/UpdateSportRequest.md +4 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -434,6 +434,12 @@ export interface BookingAnalyticsResponse {
|
|
|
434
434
|
* @memberof BookingAnalyticsResponse
|
|
435
435
|
*/
|
|
436
436
|
'playersIds': Array<string>;
|
|
437
|
+
/**
|
|
438
|
+
* Nombre total réel de joueurs pour la réservation (créateur inclus)
|
|
439
|
+
* @type {number}
|
|
440
|
+
* @memberof BookingAnalyticsResponse
|
|
441
|
+
*/
|
|
442
|
+
'playersCount': number;
|
|
437
443
|
/**
|
|
438
444
|
* Utilisateur qui a fait la réservation
|
|
439
445
|
* @type {any}
|
|
@@ -1109,6 +1115,12 @@ export interface BookingPopulated {
|
|
|
1109
1115
|
* @memberof BookingPopulated
|
|
1110
1116
|
*/
|
|
1111
1117
|
'minLevel'?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Nombre total réel de joueurs attendu (créateur inclus)
|
|
1120
|
+
* @type {number}
|
|
1121
|
+
* @memberof BookingPopulated
|
|
1122
|
+
*/
|
|
1123
|
+
'playersCount': number;
|
|
1112
1124
|
/**
|
|
1113
1125
|
*
|
|
1114
1126
|
* @type {number}
|
|
@@ -1130,6 +1142,12 @@ export interface BookingPriceBody {
|
|
|
1130
1142
|
* @memberof BookingPriceBody
|
|
1131
1143
|
*/
|
|
1132
1144
|
'slotIds': Array<string>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
1147
|
+
* @type {number}
|
|
1148
|
+
* @memberof BookingPriceBody
|
|
1149
|
+
*/
|
|
1150
|
+
'playersCount': number;
|
|
1133
1151
|
/**
|
|
1134
1152
|
*
|
|
1135
1153
|
* @type {Array<PlayerShare>}
|
|
@@ -5470,6 +5488,12 @@ export interface CreateBookingRequest {
|
|
|
5470
5488
|
* @memberof CreateBookingRequest
|
|
5471
5489
|
*/
|
|
5472
5490
|
'slotIds': Array<string>;
|
|
5491
|
+
/**
|
|
5492
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5493
|
+
* @type {number}
|
|
5494
|
+
* @memberof CreateBookingRequest
|
|
5495
|
+
*/
|
|
5496
|
+
'playersCount': number;
|
|
5473
5497
|
/**
|
|
5474
5498
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5475
5499
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -6014,6 +6038,12 @@ export interface CreateOpenBookingRequest {
|
|
|
6014
6038
|
* @memberof CreateOpenBookingRequest
|
|
6015
6039
|
*/
|
|
6016
6040
|
'slotIds': Array<string>;
|
|
6041
|
+
/**
|
|
6042
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
6043
|
+
* @type {number}
|
|
6044
|
+
* @memberof CreateOpenBookingRequest
|
|
6045
|
+
*/
|
|
6046
|
+
'playersCount': number;
|
|
6017
6047
|
/**
|
|
6018
6048
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
6019
6049
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -6045,11 +6075,12 @@ export interface CreateOpenBookingRequest {
|
|
|
6045
6075
|
*/
|
|
6046
6076
|
'creditToUseInCents'?: number;
|
|
6047
6077
|
/**
|
|
6048
|
-
*
|
|
6078
|
+
*
|
|
6049
6079
|
* @type {number}
|
|
6050
6080
|
* @memberof CreateOpenBookingRequest
|
|
6081
|
+
* @deprecated
|
|
6051
6082
|
*/
|
|
6052
|
-
'maxPlayersDesired'
|
|
6083
|
+
'maxPlayersDesired'?: number;
|
|
6053
6084
|
/**
|
|
6054
6085
|
* Description de la réservation ouverte
|
|
6055
6086
|
* @type {string}
|
|
@@ -6109,6 +6140,18 @@ export interface CreateSportForClub201Response {
|
|
|
6109
6140
|
* @interface CreateSportForClubRequest
|
|
6110
6141
|
*/
|
|
6111
6142
|
export interface CreateSportForClubRequest {
|
|
6143
|
+
/**
|
|
6144
|
+
*
|
|
6145
|
+
* @type {number}
|
|
6146
|
+
* @memberof CreateSportForClubRequest
|
|
6147
|
+
*/
|
|
6148
|
+
'maxPlayers'?: number;
|
|
6149
|
+
/**
|
|
6150
|
+
*
|
|
6151
|
+
* @type {number}
|
|
6152
|
+
* @memberof CreateSportForClubRequest
|
|
6153
|
+
*/
|
|
6154
|
+
'minPlayers'?: number;
|
|
6112
6155
|
/**
|
|
6113
6156
|
*
|
|
6114
6157
|
* @type {Array<string>}
|
|
@@ -6146,6 +6189,18 @@ export interface CreateSportRequest {
|
|
|
6146
6189
|
* @memberof CreateSportRequest
|
|
6147
6190
|
*/
|
|
6148
6191
|
'name'?: string;
|
|
6192
|
+
/**
|
|
6193
|
+
* Nombre minimal de joueurs
|
|
6194
|
+
* @type {number}
|
|
6195
|
+
* @memberof CreateSportRequest
|
|
6196
|
+
*/
|
|
6197
|
+
'minPlayers': number;
|
|
6198
|
+
/**
|
|
6199
|
+
* Nombre maximal de joueurs
|
|
6200
|
+
* @type {number}
|
|
6201
|
+
* @memberof CreateSportRequest
|
|
6202
|
+
*/
|
|
6203
|
+
'maxPlayers'?: number;
|
|
6149
6204
|
/**
|
|
6150
6205
|
* Description du sport
|
|
6151
6206
|
* @type {string}
|
|
@@ -12326,6 +12381,12 @@ export interface OpenBookingPriceBody {
|
|
|
12326
12381
|
* @memberof OpenBookingPriceBody
|
|
12327
12382
|
*/
|
|
12328
12383
|
'slotIds': Array<string>;
|
|
12384
|
+
/**
|
|
12385
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
12386
|
+
* @type {number}
|
|
12387
|
+
* @memberof OpenBookingPriceBody
|
|
12388
|
+
*/
|
|
12389
|
+
'playersCount': number;
|
|
12329
12390
|
/**
|
|
12330
12391
|
*
|
|
12331
12392
|
* @type {Array<PlayerShare>}
|
|
@@ -12342,8 +12403,9 @@ export interface OpenBookingPriceBody {
|
|
|
12342
12403
|
*
|
|
12343
12404
|
* @type {number}
|
|
12344
12405
|
* @memberof OpenBookingPriceBody
|
|
12406
|
+
* @deprecated
|
|
12345
12407
|
*/
|
|
12346
|
-
'maxPlayersDesired'
|
|
12408
|
+
'maxPlayersDesired'?: number;
|
|
12347
12409
|
}
|
|
12348
12410
|
/**
|
|
12349
12411
|
*
|
|
@@ -14902,6 +14964,12 @@ export interface SportResponse {
|
|
|
14902
14964
|
* @memberof SportResponse
|
|
14903
14965
|
*/
|
|
14904
14966
|
'logos'?: Array<string>;
|
|
14967
|
+
/**
|
|
14968
|
+
*
|
|
14969
|
+
* @type {number}
|
|
14970
|
+
* @memberof SportResponse
|
|
14971
|
+
*/
|
|
14972
|
+
'minPlayers': number;
|
|
14905
14973
|
/**
|
|
14906
14974
|
*
|
|
14907
14975
|
* @type {number}
|
|
@@ -17901,6 +17969,18 @@ export interface UpdateSportRequest {
|
|
|
17901
17969
|
* @memberof UpdateSportRequest
|
|
17902
17970
|
*/
|
|
17903
17971
|
'name'?: string;
|
|
17972
|
+
/**
|
|
17973
|
+
* Nombre minimal de joueurs
|
|
17974
|
+
* @type {number}
|
|
17975
|
+
* @memberof UpdateSportRequest
|
|
17976
|
+
*/
|
|
17977
|
+
'minPlayers'?: number;
|
|
17978
|
+
/**
|
|
17979
|
+
* Nombre maximal de joueurs
|
|
17980
|
+
* @type {number}
|
|
17981
|
+
* @memberof UpdateSportRequest
|
|
17982
|
+
*/
|
|
17983
|
+
'maxPlayers'?: number;
|
|
17904
17984
|
/**
|
|
17905
17985
|
* Description du sport
|
|
17906
17986
|
* @type {string}
|
package/dist/api.d.ts
CHANGED
|
@@ -422,6 +422,12 @@ export interface BookingAnalyticsResponse {
|
|
|
422
422
|
* @memberof BookingAnalyticsResponse
|
|
423
423
|
*/
|
|
424
424
|
'playersIds': Array<string>;
|
|
425
|
+
/**
|
|
426
|
+
* Nombre total réel de joueurs pour la réservation (créateur inclus)
|
|
427
|
+
* @type {number}
|
|
428
|
+
* @memberof BookingAnalyticsResponse
|
|
429
|
+
*/
|
|
430
|
+
'playersCount': number;
|
|
425
431
|
/**
|
|
426
432
|
* Utilisateur qui a fait la réservation
|
|
427
433
|
* @type {any}
|
|
@@ -1084,6 +1090,12 @@ export interface BookingPopulated {
|
|
|
1084
1090
|
* @memberof BookingPopulated
|
|
1085
1091
|
*/
|
|
1086
1092
|
'minLevel'?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Nombre total réel de joueurs attendu (créateur inclus)
|
|
1095
|
+
* @type {number}
|
|
1096
|
+
* @memberof BookingPopulated
|
|
1097
|
+
*/
|
|
1098
|
+
'playersCount': number;
|
|
1087
1099
|
/**
|
|
1088
1100
|
*
|
|
1089
1101
|
* @type {number}
|
|
@@ -1103,6 +1115,12 @@ export interface BookingPriceBody {
|
|
|
1103
1115
|
* @memberof BookingPriceBody
|
|
1104
1116
|
*/
|
|
1105
1117
|
'slotIds': Array<string>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
1120
|
+
* @type {number}
|
|
1121
|
+
* @memberof BookingPriceBody
|
|
1122
|
+
*/
|
|
1123
|
+
'playersCount': number;
|
|
1106
1124
|
/**
|
|
1107
1125
|
*
|
|
1108
1126
|
* @type {Array<PlayerShare>}
|
|
@@ -5400,6 +5418,12 @@ export interface CreateBookingRequest {
|
|
|
5400
5418
|
* @memberof CreateBookingRequest
|
|
5401
5419
|
*/
|
|
5402
5420
|
'slotIds': Array<string>;
|
|
5421
|
+
/**
|
|
5422
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5423
|
+
* @type {number}
|
|
5424
|
+
* @memberof CreateBookingRequest
|
|
5425
|
+
*/
|
|
5426
|
+
'playersCount': number;
|
|
5403
5427
|
/**
|
|
5404
5428
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5405
5429
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5925,6 +5949,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5925
5949
|
* @memberof CreateOpenBookingRequest
|
|
5926
5950
|
*/
|
|
5927
5951
|
'slotIds': Array<string>;
|
|
5952
|
+
/**
|
|
5953
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5954
|
+
* @type {number}
|
|
5955
|
+
* @memberof CreateOpenBookingRequest
|
|
5956
|
+
*/
|
|
5957
|
+
'playersCount': number;
|
|
5928
5958
|
/**
|
|
5929
5959
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5930
5960
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5956,11 +5986,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5956
5986
|
*/
|
|
5957
5987
|
'creditToUseInCents'?: number;
|
|
5958
5988
|
/**
|
|
5959
|
-
*
|
|
5989
|
+
*
|
|
5960
5990
|
* @type {number}
|
|
5961
5991
|
* @memberof CreateOpenBookingRequest
|
|
5992
|
+
* @deprecated
|
|
5962
5993
|
*/
|
|
5963
|
-
'maxPlayersDesired'
|
|
5994
|
+
'maxPlayersDesired'?: number;
|
|
5964
5995
|
/**
|
|
5965
5996
|
* Description de la réservation ouverte
|
|
5966
5997
|
* @type {string}
|
|
@@ -6018,6 +6049,18 @@ export interface CreateSportForClub201Response {
|
|
|
6018
6049
|
* @interface CreateSportForClubRequest
|
|
6019
6050
|
*/
|
|
6020
6051
|
export interface CreateSportForClubRequest {
|
|
6052
|
+
/**
|
|
6053
|
+
*
|
|
6054
|
+
* @type {number}
|
|
6055
|
+
* @memberof CreateSportForClubRequest
|
|
6056
|
+
*/
|
|
6057
|
+
'maxPlayers'?: number;
|
|
6058
|
+
/**
|
|
6059
|
+
*
|
|
6060
|
+
* @type {number}
|
|
6061
|
+
* @memberof CreateSportForClubRequest
|
|
6062
|
+
*/
|
|
6063
|
+
'minPlayers'?: number;
|
|
6021
6064
|
/**
|
|
6022
6065
|
*
|
|
6023
6066
|
* @type {Array<string>}
|
|
@@ -6055,6 +6098,18 @@ export interface CreateSportRequest {
|
|
|
6055
6098
|
* @memberof CreateSportRequest
|
|
6056
6099
|
*/
|
|
6057
6100
|
'name'?: string;
|
|
6101
|
+
/**
|
|
6102
|
+
* Nombre minimal de joueurs
|
|
6103
|
+
* @type {number}
|
|
6104
|
+
* @memberof CreateSportRequest
|
|
6105
|
+
*/
|
|
6106
|
+
'minPlayers': number;
|
|
6107
|
+
/**
|
|
6108
|
+
* Nombre maximal de joueurs
|
|
6109
|
+
* @type {number}
|
|
6110
|
+
* @memberof CreateSportRequest
|
|
6111
|
+
*/
|
|
6112
|
+
'maxPlayers'?: number;
|
|
6058
6113
|
/**
|
|
6059
6114
|
* Description du sport
|
|
6060
6115
|
* @type {string}
|
|
@@ -12154,6 +12209,12 @@ export interface OpenBookingPriceBody {
|
|
|
12154
12209
|
* @memberof OpenBookingPriceBody
|
|
12155
12210
|
*/
|
|
12156
12211
|
'slotIds': Array<string>;
|
|
12212
|
+
/**
|
|
12213
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
12214
|
+
* @type {number}
|
|
12215
|
+
* @memberof OpenBookingPriceBody
|
|
12216
|
+
*/
|
|
12217
|
+
'playersCount': number;
|
|
12157
12218
|
/**
|
|
12158
12219
|
*
|
|
12159
12220
|
* @type {Array<PlayerShare>}
|
|
@@ -12170,8 +12231,9 @@ export interface OpenBookingPriceBody {
|
|
|
12170
12231
|
*
|
|
12171
12232
|
* @type {number}
|
|
12172
12233
|
* @memberof OpenBookingPriceBody
|
|
12234
|
+
* @deprecated
|
|
12173
12235
|
*/
|
|
12174
|
-
'maxPlayersDesired'
|
|
12236
|
+
'maxPlayersDesired'?: number;
|
|
12175
12237
|
}
|
|
12176
12238
|
/**
|
|
12177
12239
|
*
|
|
@@ -14672,6 +14734,12 @@ export interface SportResponse {
|
|
|
14672
14734
|
* @memberof SportResponse
|
|
14673
14735
|
*/
|
|
14674
14736
|
'logos'?: Array<string>;
|
|
14737
|
+
/**
|
|
14738
|
+
*
|
|
14739
|
+
* @type {number}
|
|
14740
|
+
* @memberof SportResponse
|
|
14741
|
+
*/
|
|
14742
|
+
'minPlayers': number;
|
|
14675
14743
|
/**
|
|
14676
14744
|
*
|
|
14677
14745
|
* @type {number}
|
|
@@ -17629,6 +17697,18 @@ export interface UpdateSportRequest {
|
|
|
17629
17697
|
* @memberof UpdateSportRequest
|
|
17630
17698
|
*/
|
|
17631
17699
|
'name'?: string;
|
|
17700
|
+
/**
|
|
17701
|
+
* Nombre minimal de joueurs
|
|
17702
|
+
* @type {number}
|
|
17703
|
+
* @memberof UpdateSportRequest
|
|
17704
|
+
*/
|
|
17705
|
+
'minPlayers'?: number;
|
|
17706
|
+
/**
|
|
17707
|
+
* Nombre maximal de joueurs
|
|
17708
|
+
* @type {number}
|
|
17709
|
+
* @memberof UpdateSportRequest
|
|
17710
|
+
*/
|
|
17711
|
+
'maxPlayers'?: number;
|
|
17632
17712
|
/**
|
|
17633
17713
|
* Description du sport
|
|
17634
17714
|
* @type {string}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -422,6 +422,12 @@ export interface BookingAnalyticsResponse {
|
|
|
422
422
|
* @memberof BookingAnalyticsResponse
|
|
423
423
|
*/
|
|
424
424
|
'playersIds': Array<string>;
|
|
425
|
+
/**
|
|
426
|
+
* Nombre total réel de joueurs pour la réservation (créateur inclus)
|
|
427
|
+
* @type {number}
|
|
428
|
+
* @memberof BookingAnalyticsResponse
|
|
429
|
+
*/
|
|
430
|
+
'playersCount': number;
|
|
425
431
|
/**
|
|
426
432
|
* Utilisateur qui a fait la réservation
|
|
427
433
|
* @type {any}
|
|
@@ -1084,6 +1090,12 @@ export interface BookingPopulated {
|
|
|
1084
1090
|
* @memberof BookingPopulated
|
|
1085
1091
|
*/
|
|
1086
1092
|
'minLevel'?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Nombre total réel de joueurs attendu (créateur inclus)
|
|
1095
|
+
* @type {number}
|
|
1096
|
+
* @memberof BookingPopulated
|
|
1097
|
+
*/
|
|
1098
|
+
'playersCount': number;
|
|
1087
1099
|
/**
|
|
1088
1100
|
*
|
|
1089
1101
|
* @type {number}
|
|
@@ -1103,6 +1115,12 @@ export interface BookingPriceBody {
|
|
|
1103
1115
|
* @memberof BookingPriceBody
|
|
1104
1116
|
*/
|
|
1105
1117
|
'slotIds': Array<string>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
1120
|
+
* @type {number}
|
|
1121
|
+
* @memberof BookingPriceBody
|
|
1122
|
+
*/
|
|
1123
|
+
'playersCount': number;
|
|
1106
1124
|
/**
|
|
1107
1125
|
*
|
|
1108
1126
|
* @type {Array<PlayerShare>}
|
|
@@ -5400,6 +5418,12 @@ export interface CreateBookingRequest {
|
|
|
5400
5418
|
* @memberof CreateBookingRequest
|
|
5401
5419
|
*/
|
|
5402
5420
|
'slotIds': Array<string>;
|
|
5421
|
+
/**
|
|
5422
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5423
|
+
* @type {number}
|
|
5424
|
+
* @memberof CreateBookingRequest
|
|
5425
|
+
*/
|
|
5426
|
+
'playersCount': number;
|
|
5403
5427
|
/**
|
|
5404
5428
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5405
5429
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5925,6 +5949,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5925
5949
|
* @memberof CreateOpenBookingRequest
|
|
5926
5950
|
*/
|
|
5927
5951
|
'slotIds': Array<string>;
|
|
5952
|
+
/**
|
|
5953
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés.
|
|
5954
|
+
* @type {number}
|
|
5955
|
+
* @memberof CreateOpenBookingRequest
|
|
5956
|
+
*/
|
|
5957
|
+
'playersCount': number;
|
|
5928
5958
|
/**
|
|
5929
5959
|
* Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
5930
5960
|
* @type {Array<PlayerWithPaymentMethod>}
|
|
@@ -5956,11 +5986,12 @@ export interface CreateOpenBookingRequest {
|
|
|
5956
5986
|
*/
|
|
5957
5987
|
'creditToUseInCents'?: number;
|
|
5958
5988
|
/**
|
|
5959
|
-
*
|
|
5989
|
+
*
|
|
5960
5990
|
* @type {number}
|
|
5961
5991
|
* @memberof CreateOpenBookingRequest
|
|
5992
|
+
* @deprecated
|
|
5962
5993
|
*/
|
|
5963
|
-
'maxPlayersDesired'
|
|
5994
|
+
'maxPlayersDesired'?: number;
|
|
5964
5995
|
/**
|
|
5965
5996
|
* Description de la réservation ouverte
|
|
5966
5997
|
* @type {string}
|
|
@@ -6018,6 +6049,18 @@ export interface CreateSportForClub201Response {
|
|
|
6018
6049
|
* @interface CreateSportForClubRequest
|
|
6019
6050
|
*/
|
|
6020
6051
|
export interface CreateSportForClubRequest {
|
|
6052
|
+
/**
|
|
6053
|
+
*
|
|
6054
|
+
* @type {number}
|
|
6055
|
+
* @memberof CreateSportForClubRequest
|
|
6056
|
+
*/
|
|
6057
|
+
'maxPlayers'?: number;
|
|
6058
|
+
/**
|
|
6059
|
+
*
|
|
6060
|
+
* @type {number}
|
|
6061
|
+
* @memberof CreateSportForClubRequest
|
|
6062
|
+
*/
|
|
6063
|
+
'minPlayers'?: number;
|
|
6021
6064
|
/**
|
|
6022
6065
|
*
|
|
6023
6066
|
* @type {Array<string>}
|
|
@@ -6055,6 +6098,18 @@ export interface CreateSportRequest {
|
|
|
6055
6098
|
* @memberof CreateSportRequest
|
|
6056
6099
|
*/
|
|
6057
6100
|
'name'?: string;
|
|
6101
|
+
/**
|
|
6102
|
+
* Nombre minimal de joueurs
|
|
6103
|
+
* @type {number}
|
|
6104
|
+
* @memberof CreateSportRequest
|
|
6105
|
+
*/
|
|
6106
|
+
'minPlayers': number;
|
|
6107
|
+
/**
|
|
6108
|
+
* Nombre maximal de joueurs
|
|
6109
|
+
* @type {number}
|
|
6110
|
+
* @memberof CreateSportRequest
|
|
6111
|
+
*/
|
|
6112
|
+
'maxPlayers'?: number;
|
|
6058
6113
|
/**
|
|
6059
6114
|
* Description du sport
|
|
6060
6115
|
* @type {string}
|
|
@@ -12154,6 +12209,12 @@ export interface OpenBookingPriceBody {
|
|
|
12154
12209
|
* @memberof OpenBookingPriceBody
|
|
12155
12210
|
*/
|
|
12156
12211
|
'slotIds': Array<string>;
|
|
12212
|
+
/**
|
|
12213
|
+
* Nombre total réel de joueurs participant à la réservation (créateur inclus)
|
|
12214
|
+
* @type {number}
|
|
12215
|
+
* @memberof OpenBookingPriceBody
|
|
12216
|
+
*/
|
|
12217
|
+
'playersCount': number;
|
|
12157
12218
|
/**
|
|
12158
12219
|
*
|
|
12159
12220
|
* @type {Array<PlayerShare>}
|
|
@@ -12170,8 +12231,9 @@ export interface OpenBookingPriceBody {
|
|
|
12170
12231
|
*
|
|
12171
12232
|
* @type {number}
|
|
12172
12233
|
* @memberof OpenBookingPriceBody
|
|
12234
|
+
* @deprecated
|
|
12173
12235
|
*/
|
|
12174
|
-
'maxPlayersDesired'
|
|
12236
|
+
'maxPlayersDesired'?: number;
|
|
12175
12237
|
}
|
|
12176
12238
|
/**
|
|
12177
12239
|
*
|
|
@@ -14672,6 +14734,12 @@ export interface SportResponse {
|
|
|
14672
14734
|
* @memberof SportResponse
|
|
14673
14735
|
*/
|
|
14674
14736
|
'logos'?: Array<string>;
|
|
14737
|
+
/**
|
|
14738
|
+
*
|
|
14739
|
+
* @type {number}
|
|
14740
|
+
* @memberof SportResponse
|
|
14741
|
+
*/
|
|
14742
|
+
'minPlayers': number;
|
|
14675
14743
|
/**
|
|
14676
14744
|
*
|
|
14677
14745
|
* @type {number}
|
|
@@ -17629,6 +17697,18 @@ export interface UpdateSportRequest {
|
|
|
17629
17697
|
* @memberof UpdateSportRequest
|
|
17630
17698
|
*/
|
|
17631
17699
|
'name'?: string;
|
|
17700
|
+
/**
|
|
17701
|
+
* Nombre minimal de joueurs
|
|
17702
|
+
* @type {number}
|
|
17703
|
+
* @memberof UpdateSportRequest
|
|
17704
|
+
*/
|
|
17705
|
+
'minPlayers'?: number;
|
|
17706
|
+
/**
|
|
17707
|
+
* Nombre maximal de joueurs
|
|
17708
|
+
* @type {number}
|
|
17709
|
+
* @memberof UpdateSportRequest
|
|
17710
|
+
*/
|
|
17711
|
+
'maxPlayers'?: number;
|
|
17632
17712
|
/**
|
|
17633
17713
|
* Description du sport
|
|
17634
17714
|
* @type {string}
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**clubId** | **string** | ID du club | [default to undefined]
|
|
11
11
|
**sportId** | **string** | ID du sport | [default to undefined]
|
|
12
12
|
**playersIds** | **Array<string>** | IDs des joueurs | [default to undefined]
|
|
13
|
+
**playersCount** | **number** | Nombre total réel de joueurs pour la réservation (créateur inclus) | [default to undefined]
|
|
13
14
|
**userId** | **any** | Utilisateur qui a fait la réservation | [default to undefined]
|
|
14
15
|
**slotId** | **any** | Créneau réservé | [default to undefined]
|
|
15
16
|
**paymentByPlayersStatus** | **Array<any>** | Statut de paiement par joueur | [default to undefined]
|
|
@@ -25,6 +26,7 @@ const instance: BookingAnalyticsResponse = {
|
|
|
25
26
|
clubId,
|
|
26
27
|
sportId,
|
|
27
28
|
playersIds,
|
|
29
|
+
playersCount,
|
|
28
30
|
userId,
|
|
29
31
|
slotId,
|
|
30
32
|
paymentByPlayersStatus,
|
package/docs/BookingPopulated.md
CHANGED
|
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**isOpen** | **boolean** | | [default to undefined]
|
|
26
26
|
**description** | **string** | | [optional] [default to undefined]
|
|
27
27
|
**minLevel** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**playersCount** | **number** | Nombre total réel de joueurs attendu (créateur inclus) | [default to undefined]
|
|
28
29
|
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
|
|
29
30
|
|
|
30
31
|
## Example
|
|
@@ -53,6 +54,7 @@ const instance: BookingPopulated = {
|
|
|
53
54
|
isOpen,
|
|
54
55
|
description,
|
|
55
56
|
minLevel,
|
|
57
|
+
playersCount,
|
|
56
58
|
maxPlayersDesired,
|
|
57
59
|
};
|
|
58
60
|
```
|
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
|
};
|
|
@@ -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,
|
|
@@ -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,
|
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,
|