@connectedxm/client 6.2.5 → 6.3.0
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 +20 -9
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -420,7 +420,8 @@ declare enum RegistrationQuestionType {
|
|
|
420
420
|
radio = "radio",
|
|
421
421
|
checkbox = "checkbox",
|
|
422
422
|
search = "search",
|
|
423
|
-
file = "file"
|
|
423
|
+
file = "file",
|
|
424
|
+
location = "location"
|
|
424
425
|
}
|
|
425
426
|
interface BaseRegistrationQuestion {
|
|
426
427
|
id: string;
|
|
@@ -568,6 +569,8 @@ interface BasePassType {
|
|
|
568
569
|
maxCouponQuantity: number | null;
|
|
569
570
|
sortOrder: number;
|
|
570
571
|
overrideStartDate: string | null;
|
|
572
|
+
taxCode: string | null;
|
|
573
|
+
taxIncluded: boolean;
|
|
571
574
|
}
|
|
572
575
|
interface PassType extends BasePassType {
|
|
573
576
|
visibility: TicketVisibility;
|
|
@@ -837,6 +840,9 @@ interface BaseSession {
|
|
|
837
840
|
registrationEnd: string | null;
|
|
838
841
|
price: number | null;
|
|
839
842
|
access: SessionAccess;
|
|
843
|
+
eventId: string;
|
|
844
|
+
taxCode: string | null;
|
|
845
|
+
taxIncluded: boolean;
|
|
840
846
|
}
|
|
841
847
|
interface Session extends BaseSession {
|
|
842
848
|
longDescription: string | null;
|
|
@@ -902,7 +908,8 @@ declare enum EventSessionQuestionType {
|
|
|
902
908
|
checkbox = "checkbox",
|
|
903
909
|
search = "search",
|
|
904
910
|
file = "file",
|
|
905
|
-
quantity = "quantity"
|
|
911
|
+
quantity = "quantity",
|
|
912
|
+
location = "location"
|
|
906
913
|
}
|
|
907
914
|
interface BaseEventSessionQuestion {
|
|
908
915
|
id: string;
|
|
@@ -1248,8 +1255,6 @@ interface BasePayment {
|
|
|
1248
1255
|
state: string;
|
|
1249
1256
|
country: string;
|
|
1250
1257
|
zip: string;
|
|
1251
|
-
salesTax: number;
|
|
1252
|
-
salesTaxRate: string | null;
|
|
1253
1258
|
currency: string;
|
|
1254
1259
|
last4: string | null;
|
|
1255
1260
|
stripeId: string | null;
|
|
@@ -1294,7 +1299,9 @@ interface BasePaymentLineItem {
|
|
|
1294
1299
|
refunded: number;
|
|
1295
1300
|
discount: number;
|
|
1296
1301
|
deferred: number;
|
|
1297
|
-
|
|
1302
|
+
salesTax: number;
|
|
1303
|
+
taxCode: string | null;
|
|
1304
|
+
taxIncluded: boolean;
|
|
1298
1305
|
eventId: string | null;
|
|
1299
1306
|
accountId: string | null;
|
|
1300
1307
|
addOnId: string | null;
|
|
@@ -1619,7 +1626,6 @@ interface BaseInvoice {
|
|
|
1619
1626
|
sentDate: string | null;
|
|
1620
1627
|
dueDate: string;
|
|
1621
1628
|
status: InvoiceStatus;
|
|
1622
|
-
taxable: boolean;
|
|
1623
1629
|
}
|
|
1624
1630
|
interface Invoice extends BaseInvoice {
|
|
1625
1631
|
lineItems: BaseInvoiceLineItem[];
|
|
@@ -1656,6 +1662,8 @@ interface BaseEventAddOn {
|
|
|
1656
1662
|
supply: number | null;
|
|
1657
1663
|
price: number;
|
|
1658
1664
|
pricePerNight: boolean;
|
|
1665
|
+
taxCode: string | null;
|
|
1666
|
+
taxIncluded: boolean;
|
|
1659
1667
|
sortOrder: number;
|
|
1660
1668
|
eventId: string;
|
|
1661
1669
|
image: BaseImage | null;
|
|
@@ -1749,8 +1757,6 @@ interface BasePaymentIntent {
|
|
|
1749
1757
|
registrationId: string | null;
|
|
1750
1758
|
invoiceId: string | null;
|
|
1751
1759
|
bookingId: string | null;
|
|
1752
|
-
salesTax: number;
|
|
1753
|
-
salesTaxRate: number;
|
|
1754
1760
|
country: string;
|
|
1755
1761
|
state: string;
|
|
1756
1762
|
zip: string;
|
|
@@ -2030,6 +2036,8 @@ interface BaseEventRoomType {
|
|
|
2030
2036
|
minEnd: string | null;
|
|
2031
2037
|
defaultEnd: string | null;
|
|
2032
2038
|
maxEnd: string | null;
|
|
2039
|
+
taxCode: string | null;
|
|
2040
|
+
taxIncluded: boolean;
|
|
2033
2041
|
sortOrder: number;
|
|
2034
2042
|
passTypes: BaseEventRoomTypePassTypeDetails[];
|
|
2035
2043
|
addOns: BaseEventRoomTypeAddOnDetails[];
|
|
@@ -2178,6 +2186,8 @@ interface BaseEventPackage {
|
|
|
2178
2186
|
passes: BaseEventPackagePass[];
|
|
2179
2187
|
image: BaseImage | null;
|
|
2180
2188
|
sortOrder: number;
|
|
2189
|
+
taxCode: string | null;
|
|
2190
|
+
taxIncluded: boolean;
|
|
2181
2191
|
}
|
|
2182
2192
|
interface EventPackage extends BaseEventPackage {
|
|
2183
2193
|
createdAt: string;
|
|
@@ -2260,7 +2270,8 @@ declare enum SurveyQuestionType {
|
|
|
2260
2270
|
radio = "radio",
|
|
2261
2271
|
checkbox = "checkbox",
|
|
2262
2272
|
search = "search",
|
|
2263
|
-
file = "file"
|
|
2273
|
+
file = "file",
|
|
2274
|
+
location = "location"
|
|
2264
2275
|
}
|
|
2265
2276
|
interface BaseSurveyQuestion {
|
|
2266
2277
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -7574,6 +7574,7 @@ var RegistrationQuestionType = /* @__PURE__ */ ((RegistrationQuestionType2) => {
|
|
|
7574
7574
|
RegistrationQuestionType2["checkbox"] = "checkbox";
|
|
7575
7575
|
RegistrationQuestionType2["search"] = "search";
|
|
7576
7576
|
RegistrationQuestionType2["file"] = "file";
|
|
7577
|
+
RegistrationQuestionType2["location"] = "location";
|
|
7577
7578
|
return RegistrationQuestionType2;
|
|
7578
7579
|
})(RegistrationQuestionType || {});
|
|
7579
7580
|
var isRegistrationQuestion = (question) => {
|
|
@@ -7660,6 +7661,7 @@ var EventSessionQuestionType = /* @__PURE__ */ ((EventSessionQuestionType2) => {
|
|
|
7660
7661
|
EventSessionQuestionType2["search"] = "search";
|
|
7661
7662
|
EventSessionQuestionType2["file"] = "file";
|
|
7662
7663
|
EventSessionQuestionType2["quantity"] = "quantity";
|
|
7664
|
+
EventSessionQuestionType2["location"] = "location";
|
|
7663
7665
|
return EventSessionQuestionType2;
|
|
7664
7666
|
})(EventSessionQuestionType || {});
|
|
7665
7667
|
var isTypeEventPage = (page) => {
|
|
@@ -7889,6 +7891,7 @@ var SurveyQuestionType = /* @__PURE__ */ ((SurveyQuestionType2) => {
|
|
|
7889
7891
|
SurveyQuestionType2["checkbox"] = "checkbox";
|
|
7890
7892
|
SurveyQuestionType2["search"] = "search";
|
|
7891
7893
|
SurveyQuestionType2["file"] = "file";
|
|
7894
|
+
SurveyQuestionType2["location"] = "location";
|
|
7892
7895
|
return SurveyQuestionType2;
|
|
7893
7896
|
})(SurveyQuestionType || {});
|
|
7894
7897
|
|