@connectedxm/client 6.2.6 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -569,6 +569,8 @@ interface BasePassType {
569
569
  maxCouponQuantity: number | null;
570
570
  sortOrder: number;
571
571
  overrideStartDate: string | null;
572
+ taxCode: string | null;
573
+ taxIncluded: boolean;
572
574
  }
573
575
  interface PassType extends BasePassType {
574
576
  visibility: TicketVisibility;
@@ -838,6 +840,9 @@ interface BaseSession {
838
840
  registrationEnd: string | null;
839
841
  price: number | null;
840
842
  access: SessionAccess;
843
+ eventId: string;
844
+ taxCode: string | null;
845
+ taxIncluded: boolean;
841
846
  }
842
847
  interface Session extends BaseSession {
843
848
  longDescription: string | null;
@@ -1250,8 +1255,6 @@ interface BasePayment {
1250
1255
  state: string;
1251
1256
  country: string;
1252
1257
  zip: string;
1253
- salesTax: number;
1254
- salesTaxRate: string | null;
1255
1258
  currency: string;
1256
1259
  last4: string | null;
1257
1260
  stripeId: string | null;
@@ -1296,7 +1299,9 @@ interface BasePaymentLineItem {
1296
1299
  refunded: number;
1297
1300
  discount: number;
1298
1301
  deferred: number;
1299
- taxable: boolean;
1302
+ salesTax: number;
1303
+ taxCode: string | null;
1304
+ taxIncluded: boolean;
1300
1305
  eventId: string | null;
1301
1306
  accountId: string | null;
1302
1307
  addOnId: string | null;
@@ -1621,7 +1626,6 @@ interface BaseInvoice {
1621
1626
  sentDate: string | null;
1622
1627
  dueDate: string;
1623
1628
  status: InvoiceStatus;
1624
- taxable: boolean;
1625
1629
  }
1626
1630
  interface Invoice extends BaseInvoice {
1627
1631
  lineItems: BaseInvoiceLineItem[];
@@ -1658,6 +1662,8 @@ interface BaseEventAddOn {
1658
1662
  supply: number | null;
1659
1663
  price: number;
1660
1664
  pricePerNight: boolean;
1665
+ taxCode: string | null;
1666
+ taxIncluded: boolean;
1661
1667
  sortOrder: number;
1662
1668
  eventId: string;
1663
1669
  image: BaseImage | null;
@@ -1751,8 +1757,6 @@ interface BasePaymentIntent {
1751
1757
  registrationId: string | null;
1752
1758
  invoiceId: string | null;
1753
1759
  bookingId: string | null;
1754
- salesTax: number;
1755
- salesTaxRate: number;
1756
1760
  country: string;
1757
1761
  state: string;
1758
1762
  zip: string;
@@ -2032,6 +2036,8 @@ interface BaseEventRoomType {
2032
2036
  minEnd: string | null;
2033
2037
  defaultEnd: string | null;
2034
2038
  maxEnd: string | null;
2039
+ taxCode: string | null;
2040
+ taxIncluded: boolean;
2035
2041
  sortOrder: number;
2036
2042
  passTypes: BaseEventRoomTypePassTypeDetails[];
2037
2043
  addOns: BaseEventRoomTypeAddOnDetails[];
@@ -2180,6 +2186,8 @@ interface BaseEventPackage {
2180
2186
  passes: BaseEventPackagePass[];
2181
2187
  image: BaseImage | null;
2182
2188
  sortOrder: number;
2189
+ taxCode: string | null;
2190
+ taxIncluded: boolean;
2183
2191
  }
2184
2192
  interface EventPackage extends BaseEventPackage {
2185
2193
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "6.2.6",
3
+ "version": "6.3.0",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",