@tennac-booking/sdk 1.0.296 → 1.0.297
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 +16 -0
- package/dist/api.d.ts +12 -0
- package/dist/esm/api.d.ts +12 -0
- package/docs/BookingPriceBody.md +2 -0
- package/docs/OpenBookingPriceBody.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1148,6 +1148,12 @@ 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;
|
|
1151
1157
|
/**
|
|
1152
1158
|
*
|
|
1153
1159
|
* @type {Array<PlayerShare>}
|
|
@@ -1161,6 +1167,8 @@ export interface BookingPriceBody {
|
|
|
1161
1167
|
*/
|
|
1162
1168
|
'creditToUseInCents'?: number;
|
|
1163
1169
|
}
|
|
1170
|
+
|
|
1171
|
+
|
|
1164
1172
|
/**
|
|
1165
1173
|
*
|
|
1166
1174
|
* @export
|
|
@@ -12393,6 +12401,12 @@ export interface OpenBookingPriceBody {
|
|
|
12393
12401
|
* @memberof OpenBookingPriceBody
|
|
12394
12402
|
*/
|
|
12395
12403
|
'playersCount': number;
|
|
12404
|
+
/**
|
|
12405
|
+
*
|
|
12406
|
+
* @type {PaymentMethod}
|
|
12407
|
+
* @memberof OpenBookingPriceBody
|
|
12408
|
+
*/
|
|
12409
|
+
'paymentMethod'?: PaymentMethod;
|
|
12396
12410
|
/**
|
|
12397
12411
|
*
|
|
12398
12412
|
* @type {Array<PlayerShare>}
|
|
@@ -12413,6 +12427,8 @@ export interface OpenBookingPriceBody {
|
|
|
12413
12427
|
*/
|
|
12414
12428
|
'maxPlayersDesired'?: number;
|
|
12415
12429
|
}
|
|
12430
|
+
|
|
12431
|
+
|
|
12416
12432
|
/**
|
|
12417
12433
|
*
|
|
12418
12434
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1121,6 +1121,12 @@ 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;
|
|
1124
1130
|
/**
|
|
1125
1131
|
*
|
|
1126
1132
|
* @type {Array<PlayerShare>}
|
|
@@ -12221,6 +12227,12 @@ export interface OpenBookingPriceBody {
|
|
|
12221
12227
|
* @memberof OpenBookingPriceBody
|
|
12222
12228
|
*/
|
|
12223
12229
|
'playersCount': number;
|
|
12230
|
+
/**
|
|
12231
|
+
*
|
|
12232
|
+
* @type {PaymentMethod}
|
|
12233
|
+
* @memberof OpenBookingPriceBody
|
|
12234
|
+
*/
|
|
12235
|
+
'paymentMethod'?: PaymentMethod;
|
|
12224
12236
|
/**
|
|
12225
12237
|
*
|
|
12226
12238
|
* @type {Array<PlayerShare>}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1121,6 +1121,12 @@ 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;
|
|
1124
1130
|
/**
|
|
1125
1131
|
*
|
|
1126
1132
|
* @type {Array<PlayerShare>}
|
|
@@ -12221,6 +12227,12 @@ export interface OpenBookingPriceBody {
|
|
|
12221
12227
|
* @memberof OpenBookingPriceBody
|
|
12222
12228
|
*/
|
|
12223
12229
|
'playersCount': number;
|
|
12230
|
+
/**
|
|
12231
|
+
*
|
|
12232
|
+
* @type {PaymentMethod}
|
|
12233
|
+
* @memberof OpenBookingPriceBody
|
|
12234
|
+
*/
|
|
12235
|
+
'paymentMethod'?: PaymentMethod;
|
|
12224
12236
|
/**
|
|
12225
12237
|
*
|
|
12226
12238
|
* @type {Array<PlayerShare>}
|
package/docs/BookingPriceBody.md
CHANGED
|
@@ -7,6 +7,7 @@ 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) | | [optional] [default to undefined]
|
|
10
11
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
11
12
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
12
13
|
|
|
@@ -18,6 +19,7 @@ import { BookingPriceBody } from '@tennac-booking/sdk';
|
|
|
18
19
|
const instance: BookingPriceBody = {
|
|
19
20
|
slotIds,
|
|
20
21
|
playersCount,
|
|
22
|
+
paymentMethod,
|
|
21
23
|
playerShares,
|
|
22
24
|
creditToUseInCents,
|
|
23
25
|
};
|
|
@@ -7,6 +7,7 @@ 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) | | [optional] [default to undefined]
|
|
10
11
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
11
12
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
12
13
|
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
|
|
@@ -19,6 +20,7 @@ import { OpenBookingPriceBody } from '@tennac-booking/sdk';
|
|
|
19
20
|
const instance: OpenBookingPriceBody = {
|
|
20
21
|
slotIds,
|
|
21
22
|
playersCount,
|
|
23
|
+
paymentMethod,
|
|
22
24
|
playerShares,
|
|
23
25
|
creditToUseInCents,
|
|
24
26
|
maxPlayersDesired,
|