@tennac-booking/sdk 1.0.297 → 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 +14 -9
- package/dist/api.d.ts +14 -9
- package/dist/esm/api.d.ts +14 -9
- package/docs/BookingPriceBody.md +3 -1
- package/docs/OpenBookingPriceBody.md +3 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1153,7 +1153,13 @@ export interface BookingPriceBody {
|
|
|
1153
1153
|
* @type {PaymentMethod}
|
|
1154
1154
|
* @memberof BookingPriceBody
|
|
1155
1155
|
*/
|
|
1156
|
-
'paymentMethod'
|
|
1156
|
+
'paymentMethod': PaymentMethod;
|
|
1157
|
+
/**
|
|
1158
|
+
* Nombre maximal de joueurs visé après les joins
|
|
1159
|
+
* @type {number}
|
|
1160
|
+
* @memberof BookingPriceBody
|
|
1161
|
+
*/
|
|
1162
|
+
'maxPlayersDesired': number;
|
|
1157
1163
|
/**
|
|
1158
1164
|
*
|
|
1159
1165
|
* @type {Array<PlayerShare>}
|
|
@@ -12406,26 +12412,25 @@ export interface OpenBookingPriceBody {
|
|
|
12406
12412
|
* @type {PaymentMethod}
|
|
12407
12413
|
* @memberof OpenBookingPriceBody
|
|
12408
12414
|
*/
|
|
12409
|
-
'paymentMethod'
|
|
12415
|
+
'paymentMethod': PaymentMethod;
|
|
12410
12416
|
/**
|
|
12411
|
-
*
|
|
12412
|
-
* @type {
|
|
12417
|
+
* Nombre maximal de joueurs visé après les joins
|
|
12418
|
+
* @type {number}
|
|
12413
12419
|
* @memberof OpenBookingPriceBody
|
|
12414
12420
|
*/
|
|
12415
|
-
'
|
|
12421
|
+
'maxPlayersDesired': number;
|
|
12416
12422
|
/**
|
|
12417
12423
|
*
|
|
12418
|
-
* @type {
|
|
12424
|
+
* @type {Array<PlayerShare>}
|
|
12419
12425
|
* @memberof OpenBookingPriceBody
|
|
12420
12426
|
*/
|
|
12421
|
-
'
|
|
12427
|
+
'playerShares'?: Array<PlayerShare>;
|
|
12422
12428
|
/**
|
|
12423
12429
|
*
|
|
12424
12430
|
* @type {number}
|
|
12425
12431
|
* @memberof OpenBookingPriceBody
|
|
12426
|
-
* @deprecated
|
|
12427
12432
|
*/
|
|
12428
|
-
'
|
|
12433
|
+
'creditToUseInCents'?: number;
|
|
12429
12434
|
}
|
|
12430
12435
|
|
|
12431
12436
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1126,7 +1126,13 @@ export interface BookingPriceBody {
|
|
|
1126
1126
|
* @type {PaymentMethod}
|
|
1127
1127
|
* @memberof BookingPriceBody
|
|
1128
1128
|
*/
|
|
1129
|
-
'paymentMethod'
|
|
1129
|
+
'paymentMethod': PaymentMethod;
|
|
1130
|
+
/**
|
|
1131
|
+
* Nombre maximal de joueurs visé après les joins
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof BookingPriceBody
|
|
1134
|
+
*/
|
|
1135
|
+
'maxPlayersDesired': number;
|
|
1130
1136
|
/**
|
|
1131
1137
|
*
|
|
1132
1138
|
* @type {Array<PlayerShare>}
|
|
@@ -12232,26 +12238,25 @@ export interface OpenBookingPriceBody {
|
|
|
12232
12238
|
* @type {PaymentMethod}
|
|
12233
12239
|
* @memberof OpenBookingPriceBody
|
|
12234
12240
|
*/
|
|
12235
|
-
'paymentMethod'
|
|
12241
|
+
'paymentMethod': PaymentMethod;
|
|
12236
12242
|
/**
|
|
12237
|
-
*
|
|
12238
|
-
* @type {
|
|
12243
|
+
* Nombre maximal de joueurs visé après les joins
|
|
12244
|
+
* @type {number}
|
|
12239
12245
|
* @memberof OpenBookingPriceBody
|
|
12240
12246
|
*/
|
|
12241
|
-
'
|
|
12247
|
+
'maxPlayersDesired': number;
|
|
12242
12248
|
/**
|
|
12243
12249
|
*
|
|
12244
|
-
* @type {
|
|
12250
|
+
* @type {Array<PlayerShare>}
|
|
12245
12251
|
* @memberof OpenBookingPriceBody
|
|
12246
12252
|
*/
|
|
12247
|
-
'
|
|
12253
|
+
'playerShares'?: Array<PlayerShare>;
|
|
12248
12254
|
/**
|
|
12249
12255
|
*
|
|
12250
12256
|
* @type {number}
|
|
12251
12257
|
* @memberof OpenBookingPriceBody
|
|
12252
|
-
* @deprecated
|
|
12253
12258
|
*/
|
|
12254
|
-
'
|
|
12259
|
+
'creditToUseInCents'?: number;
|
|
12255
12260
|
}
|
|
12256
12261
|
/**
|
|
12257
12262
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1126,7 +1126,13 @@ export interface BookingPriceBody {
|
|
|
1126
1126
|
* @type {PaymentMethod}
|
|
1127
1127
|
* @memberof BookingPriceBody
|
|
1128
1128
|
*/
|
|
1129
|
-
'paymentMethod'
|
|
1129
|
+
'paymentMethod': PaymentMethod;
|
|
1130
|
+
/**
|
|
1131
|
+
* Nombre maximal de joueurs visé après les joins
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof BookingPriceBody
|
|
1134
|
+
*/
|
|
1135
|
+
'maxPlayersDesired': number;
|
|
1130
1136
|
/**
|
|
1131
1137
|
*
|
|
1132
1138
|
* @type {Array<PlayerShare>}
|
|
@@ -12232,26 +12238,25 @@ export interface OpenBookingPriceBody {
|
|
|
12232
12238
|
* @type {PaymentMethod}
|
|
12233
12239
|
* @memberof OpenBookingPriceBody
|
|
12234
12240
|
*/
|
|
12235
|
-
'paymentMethod'
|
|
12241
|
+
'paymentMethod': PaymentMethod;
|
|
12236
12242
|
/**
|
|
12237
|
-
*
|
|
12238
|
-
* @type {
|
|
12243
|
+
* Nombre maximal de joueurs visé après les joins
|
|
12244
|
+
* @type {number}
|
|
12239
12245
|
* @memberof OpenBookingPriceBody
|
|
12240
12246
|
*/
|
|
12241
|
-
'
|
|
12247
|
+
'maxPlayersDesired': number;
|
|
12242
12248
|
/**
|
|
12243
12249
|
*
|
|
12244
|
-
* @type {
|
|
12250
|
+
* @type {Array<PlayerShare>}
|
|
12245
12251
|
* @memberof OpenBookingPriceBody
|
|
12246
12252
|
*/
|
|
12247
|
-
'
|
|
12253
|
+
'playerShares'?: Array<PlayerShare>;
|
|
12248
12254
|
/**
|
|
12249
12255
|
*
|
|
12250
12256
|
* @type {number}
|
|
12251
12257
|
* @memberof OpenBookingPriceBody
|
|
12252
|
-
* @deprecated
|
|
12253
12258
|
*/
|
|
12254
|
-
'
|
|
12259
|
+
'creditToUseInCents'?: number;
|
|
12255
12260
|
}
|
|
12256
12261
|
/**
|
|
12257
12262
|
*
|
package/docs/BookingPriceBody.md
CHANGED
|
@@ -7,7 +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) | | [
|
|
10
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
11
|
+
**maxPlayersDesired** | **number** | Nombre maximal de joueurs visé après les joins | [default to undefined]
|
|
11
12
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
12
13
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
13
14
|
|
|
@@ -20,6 +21,7 @@ const instance: BookingPriceBody = {
|
|
|
20
21
|
slotIds,
|
|
21
22
|
playersCount,
|
|
22
23
|
paymentMethod,
|
|
24
|
+
maxPlayersDesired,
|
|
23
25
|
playerShares,
|
|
24
26
|
creditToUseInCents,
|
|
25
27
|
};
|
|
@@ -7,10 +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) | | [
|
|
10
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
11
|
+
**maxPlayersDesired** | **number** | Nombre maximal de joueurs visé après les joins | [default to undefined]
|
|
11
12
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
12
13
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
13
|
-
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -21,9 +21,9 @@ const instance: OpenBookingPriceBody = {
|
|
|
21
21
|
slotIds,
|
|
22
22
|
playersCount,
|
|
23
23
|
paymentMethod,
|
|
24
|
+
maxPlayersDesired,
|
|
24
25
|
playerShares,
|
|
25
26
|
creditToUseInCents,
|
|
26
|
-
maxPlayersDesired,
|
|
27
27
|
};
|
|
28
28
|
```
|
|
29
29
|
|