@connectedxm/client 8.0.3 → 8.0.5
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/dist/index.d.ts +37 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1350,13 +1350,23 @@ interface RegistrationDraftPass {
|
|
|
1350
1350
|
id: string;
|
|
1351
1351
|
alternateId?: number;
|
|
1352
1352
|
passTypeId: string;
|
|
1353
|
-
|
|
1354
|
-
|
|
1353
|
+
addOns: {
|
|
1354
|
+
id: string;
|
|
1355
|
+
price?: number;
|
|
1356
|
+
discount?: number;
|
|
1357
|
+
total?: number;
|
|
1358
|
+
}[];
|
|
1359
|
+
sessions: {
|
|
1360
|
+
id: string;
|
|
1361
|
+
price?: number;
|
|
1362
|
+
discount?: number;
|
|
1363
|
+
total?: number;
|
|
1364
|
+
}[];
|
|
1355
1365
|
coupon: {
|
|
1356
1366
|
id: string;
|
|
1357
1367
|
code: string;
|
|
1358
|
-
|
|
1359
|
-
|
|
1368
|
+
discountAmount: number;
|
|
1369
|
+
discountPercent: number;
|
|
1360
1370
|
applyToPassType: boolean;
|
|
1361
1371
|
applyToAddOns: boolean;
|
|
1362
1372
|
applyToReservation: boolean;
|
|
@@ -1368,6 +1378,9 @@ interface RegistrationDraftPass {
|
|
|
1368
1378
|
value: string;
|
|
1369
1379
|
}[];
|
|
1370
1380
|
createdAt: string;
|
|
1381
|
+
price?: number;
|
|
1382
|
+
discount?: number;
|
|
1383
|
+
total?: number;
|
|
1371
1384
|
}
|
|
1372
1385
|
interface RegistrationDraftReservation {
|
|
1373
1386
|
id: string;
|
|
@@ -1378,15 +1391,28 @@ interface RegistrationDraftReservation {
|
|
|
1378
1391
|
} | null;
|
|
1379
1392
|
start: string | null;
|
|
1380
1393
|
end: string | null;
|
|
1394
|
+
pricePerNight?: number;
|
|
1395
|
+
numberOfNights?: number;
|
|
1396
|
+
includedNights?: number;
|
|
1397
|
+
premiums?: Record<string, number>;
|
|
1398
|
+
price?: number;
|
|
1399
|
+
discount?: number;
|
|
1400
|
+
total?: number;
|
|
1381
1401
|
}
|
|
1382
1402
|
interface RegistrationDraftPackage {
|
|
1383
1403
|
id: string;
|
|
1384
1404
|
packageTypeId: string;
|
|
1405
|
+
price?: number;
|
|
1406
|
+
discount?: number;
|
|
1407
|
+
total?: number;
|
|
1385
1408
|
}
|
|
1386
1409
|
interface RegistrationDraft {
|
|
1387
1410
|
passes: RegistrationDraftPass[];
|
|
1388
1411
|
packages: RegistrationDraftPackage[];
|
|
1389
1412
|
reservation: RegistrationDraftReservation | null;
|
|
1413
|
+
price?: number;
|
|
1414
|
+
discount?: number;
|
|
1415
|
+
total?: number;
|
|
1390
1416
|
}
|
|
1391
1417
|
interface ListingRegistration extends BaseRegistration {
|
|
1392
1418
|
account: BaseAccount & {
|
|
@@ -2846,6 +2872,7 @@ interface EventConfig {
|
|
|
2846
2872
|
price: number;
|
|
2847
2873
|
shortDescription: string;
|
|
2848
2874
|
longDescription: string | null;
|
|
2875
|
+
featured: boolean;
|
|
2849
2876
|
image: {
|
|
2850
2877
|
id: string;
|
|
2851
2878
|
uri: string;
|
|
@@ -2966,6 +2993,12 @@ interface EventConfig {
|
|
|
2966
2993
|
price: number;
|
|
2967
2994
|
startTime: string;
|
|
2968
2995
|
soldout: boolean;
|
|
2996
|
+
image: {
|
|
2997
|
+
id: string;
|
|
2998
|
+
uri: string;
|
|
2999
|
+
width: number;
|
|
3000
|
+
height: number;
|
|
3001
|
+
} | null;
|
|
2969
3002
|
allowedPassTypes: string[];
|
|
2970
3003
|
allowedTiers: string[];
|
|
2971
3004
|
}[];
|