@wix/auto_sdk_ecom_cart 1.0.81 → 1.0.82

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.
@@ -267,6 +267,12 @@ interface LineItem {
267
267
  savePaymentMethod?: boolean;
268
268
  /** Address to use for tax calculation purposes. */
269
269
  taxableAddress?: TaxableAddress;
270
+ /**
271
+ * Custom extended fields for the line item object.
272
+ *
273
+ * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured using the 'Checkout & Orders - Line Items Schema Plugin' in the app dashboard before they can be accessed with API calls.
274
+ */
275
+ extendedFields?: ExtendedFields;
270
276
  /**
271
277
  * Policies to be displayed to the customer on the checkout page.
272
278
  * @readonly
@@ -641,6 +647,17 @@ declare enum TaxableAddressType {
641
647
  }
642
648
  /** @enumType */
643
649
  type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS' | 'BUSINESS' | 'BILLING' | 'SHIPPING';
650
+ interface ExtendedFields {
651
+ /**
652
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
653
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
654
+ *
655
+ * You can only access fields for which you have the appropriate permissions.
656
+ *
657
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
658
+ */
659
+ namespaces?: Record<string, Record<string, any>>;
660
+ }
644
661
  interface Policy {
645
662
  /**
646
663
  * Policy title - should be translated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_cart",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.cart"
51
51
  }
52
52
  },
53
- "falconPackageHash": "5cd943e993c6b83419e17c8116fc5345328c6ef4f3b169b0eaf95833"
53
+ "falconPackageHash": "d9f6c8af6000bfd6ba1b4d2733e198c565d497a92a4d3a80d1de2ac1"
54
54
  }