@tennac-booking/sdk 1.0.296 → 1.0.298
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 +27 -6
- package/dist/api.d.ts +23 -6
- package/dist/esm/api.d.ts +23 -6
- package/docs/BookingPriceBody.md +4 -0
- package/docs/OpenBookingPriceBody.md +4 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1148,6 +1148,18 @@ export interface BookingPriceBody {
|
|
|
1148
1148
|
* @memberof BookingPriceBody
|
|
1149
1149
|
*/
|
|
1150
1150
|
'playersCount': number;
|
|
1151
|
+
/**
|
|
1152
|
+
*
|
|
1153
|
+
* @type {PaymentMethod}
|
|
1154
|
+
* @memberof BookingPriceBody
|
|
1155
|
+
*/
|
|
1156
|
+
'paymentMethod': PaymentMethod;
|
|
1157
|
+
/**
|
|
1158
|
+
* Nombre maximal de joueurs visé après les joins
|
|
1159
|
+
* @type {number}
|
|
1160
|
+
* @memberof BookingPriceBody
|
|
1161
|
+
*/
|
|
1162
|
+
'maxPlayersDesired': number;
|
|
1151
1163
|
/**
|
|
1152
1164
|
*
|
|
1153
1165
|
* @type {Array<PlayerShare>}
|
|
@@ -1161,6 +1173,8 @@ export interface BookingPriceBody {
|
|
|
1161
1173
|
*/
|
|
1162
1174
|
'creditToUseInCents'?: number;
|
|
1163
1175
|
}
|
|
1176
|
+
|
|
1177
|
+
|
|
1164
1178
|
/**
|
|
1165
1179
|
*
|
|
1166
1180
|
* @export
|
|
@@ -12395,24 +12409,31 @@ export interface OpenBookingPriceBody {
|
|
|
12395
12409
|
'playersCount': number;
|
|
12396
12410
|
/**
|
|
12397
12411
|
*
|
|
12398
|
-
* @type {
|
|
12412
|
+
* @type {PaymentMethod}
|
|
12399
12413
|
* @memberof OpenBookingPriceBody
|
|
12400
12414
|
*/
|
|
12401
|
-
'
|
|
12415
|
+
'paymentMethod': PaymentMethod;
|
|
12402
12416
|
/**
|
|
12403
|
-
*
|
|
12417
|
+
* Nombre maximal de joueurs visé après les joins
|
|
12404
12418
|
* @type {number}
|
|
12405
12419
|
* @memberof OpenBookingPriceBody
|
|
12406
12420
|
*/
|
|
12407
|
-
'
|
|
12421
|
+
'maxPlayersDesired': number;
|
|
12422
|
+
/**
|
|
12423
|
+
*
|
|
12424
|
+
* @type {Array<PlayerShare>}
|
|
12425
|
+
* @memberof OpenBookingPriceBody
|
|
12426
|
+
*/
|
|
12427
|
+
'playerShares'?: Array<PlayerShare>;
|
|
12408
12428
|
/**
|
|
12409
12429
|
*
|
|
12410
12430
|
* @type {number}
|
|
12411
12431
|
* @memberof OpenBookingPriceBody
|
|
12412
|
-
* @deprecated
|
|
12413
12432
|
*/
|
|
12414
|
-
'
|
|
12433
|
+
'creditToUseInCents'?: number;
|
|
12415
12434
|
}
|
|
12435
|
+
|
|
12436
|
+
|
|
12416
12437
|
/**
|
|
12417
12438
|
*
|
|
12418
12439
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1121,6 +1121,18 @@ export interface BookingPriceBody {
|
|
|
1121
1121
|
* @memberof BookingPriceBody
|
|
1122
1122
|
*/
|
|
1123
1123
|
'playersCount': number;
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {PaymentMethod}
|
|
1127
|
+
* @memberof BookingPriceBody
|
|
1128
|
+
*/
|
|
1129
|
+
'paymentMethod': PaymentMethod;
|
|
1130
|
+
/**
|
|
1131
|
+
* Nombre maximal de joueurs visé après les joins
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof BookingPriceBody
|
|
1134
|
+
*/
|
|
1135
|
+
'maxPlayersDesired': number;
|
|
1124
1136
|
/**
|
|
1125
1137
|
*
|
|
1126
1138
|
* @type {Array<PlayerShare>}
|
|
@@ -12223,23 +12235,28 @@ export interface OpenBookingPriceBody {
|
|
|
12223
12235
|
'playersCount': number;
|
|
12224
12236
|
/**
|
|
12225
12237
|
*
|
|
12226
|
-
* @type {
|
|
12238
|
+
* @type {PaymentMethod}
|
|
12227
12239
|
* @memberof OpenBookingPriceBody
|
|
12228
12240
|
*/
|
|
12229
|
-
'
|
|
12241
|
+
'paymentMethod': PaymentMethod;
|
|
12230
12242
|
/**
|
|
12231
|
-
*
|
|
12243
|
+
* Nombre maximal de joueurs visé après les joins
|
|
12232
12244
|
* @type {number}
|
|
12233
12245
|
* @memberof OpenBookingPriceBody
|
|
12234
12246
|
*/
|
|
12235
|
-
'
|
|
12247
|
+
'maxPlayersDesired': number;
|
|
12248
|
+
/**
|
|
12249
|
+
*
|
|
12250
|
+
* @type {Array<PlayerShare>}
|
|
12251
|
+
* @memberof OpenBookingPriceBody
|
|
12252
|
+
*/
|
|
12253
|
+
'playerShares'?: Array<PlayerShare>;
|
|
12236
12254
|
/**
|
|
12237
12255
|
*
|
|
12238
12256
|
* @type {number}
|
|
12239
12257
|
* @memberof OpenBookingPriceBody
|
|
12240
|
-
* @deprecated
|
|
12241
12258
|
*/
|
|
12242
|
-
'
|
|
12259
|
+
'creditToUseInCents'?: number;
|
|
12243
12260
|
}
|
|
12244
12261
|
/**
|
|
12245
12262
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1121,6 +1121,18 @@ export interface BookingPriceBody {
|
|
|
1121
1121
|
* @memberof BookingPriceBody
|
|
1122
1122
|
*/
|
|
1123
1123
|
'playersCount': number;
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {PaymentMethod}
|
|
1127
|
+
* @memberof BookingPriceBody
|
|
1128
|
+
*/
|
|
1129
|
+
'paymentMethod': PaymentMethod;
|
|
1130
|
+
/**
|
|
1131
|
+
* Nombre maximal de joueurs visé après les joins
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof BookingPriceBody
|
|
1134
|
+
*/
|
|
1135
|
+
'maxPlayersDesired': number;
|
|
1124
1136
|
/**
|
|
1125
1137
|
*
|
|
1126
1138
|
* @type {Array<PlayerShare>}
|
|
@@ -12223,23 +12235,28 @@ export interface OpenBookingPriceBody {
|
|
|
12223
12235
|
'playersCount': number;
|
|
12224
12236
|
/**
|
|
12225
12237
|
*
|
|
12226
|
-
* @type {
|
|
12238
|
+
* @type {PaymentMethod}
|
|
12227
12239
|
* @memberof OpenBookingPriceBody
|
|
12228
12240
|
*/
|
|
12229
|
-
'
|
|
12241
|
+
'paymentMethod': PaymentMethod;
|
|
12230
12242
|
/**
|
|
12231
|
-
*
|
|
12243
|
+
* Nombre maximal de joueurs visé après les joins
|
|
12232
12244
|
* @type {number}
|
|
12233
12245
|
* @memberof OpenBookingPriceBody
|
|
12234
12246
|
*/
|
|
12235
|
-
'
|
|
12247
|
+
'maxPlayersDesired': number;
|
|
12248
|
+
/**
|
|
12249
|
+
*
|
|
12250
|
+
* @type {Array<PlayerShare>}
|
|
12251
|
+
* @memberof OpenBookingPriceBody
|
|
12252
|
+
*/
|
|
12253
|
+
'playerShares'?: Array<PlayerShare>;
|
|
12236
12254
|
/**
|
|
12237
12255
|
*
|
|
12238
12256
|
* @type {number}
|
|
12239
12257
|
* @memberof OpenBookingPriceBody
|
|
12240
|
-
* @deprecated
|
|
12241
12258
|
*/
|
|
12242
|
-
'
|
|
12259
|
+
'creditToUseInCents'?: number;
|
|
12243
12260
|
}
|
|
12244
12261
|
/**
|
|
12245
12262
|
*
|
package/docs/BookingPriceBody.md
CHANGED
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | | [default to undefined]
|
|
9
9
|
**playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus) | [default to undefined]
|
|
10
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
11
|
+
**maxPlayersDesired** | **number** | Nombre maximal de joueurs visé après les joins | [default to undefined]
|
|
10
12
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
11
13
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
12
14
|
|
|
@@ -18,6 +20,8 @@ import { BookingPriceBody } from '@tennac-booking/sdk';
|
|
|
18
20
|
const instance: BookingPriceBody = {
|
|
19
21
|
slotIds,
|
|
20
22
|
playersCount,
|
|
23
|
+
paymentMethod,
|
|
24
|
+
maxPlayersDesired,
|
|
21
25
|
playerShares,
|
|
22
26
|
creditToUseInCents,
|
|
23
27
|
};
|
|
@@ -7,9 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | | [default to undefined]
|
|
9
9
|
**playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus) | [default to undefined]
|
|
10
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
11
|
+
**maxPlayersDesired** | **number** | Nombre maximal de joueurs visé après les joins | [default to undefined]
|
|
10
12
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
11
13
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
12
|
-
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -19,9 +20,10 @@ import { OpenBookingPriceBody } from '@tennac-booking/sdk';
|
|
|
19
20
|
const instance: OpenBookingPriceBody = {
|
|
20
21
|
slotIds,
|
|
21
22
|
playersCount,
|
|
23
|
+
paymentMethod,
|
|
24
|
+
maxPlayersDesired,
|
|
22
25
|
playerShares,
|
|
23
26
|
creditToUseInCents,
|
|
24
|
-
maxPlayersDesired,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|