@wix/auto_sdk_ecom_cart 1.0.87 → 1.0.89

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.
@@ -116,6 +116,11 @@ interface Cart {
116
116
  * @format CURRENCY
117
117
  */
118
118
  paymentCurrency?: string;
119
+ /**
120
+ * Revision number, which increments by 1 each time the Cart is updated.
121
+ * @readonly
122
+ */
123
+ revision?: string | null;
119
124
  }
120
125
  interface LineItem {
121
126
  /**
@@ -1749,6 +1754,12 @@ interface TaxSummary {
1749
1754
  * @readonly
1750
1755
  */
1751
1756
  totalExempt?: MultiCurrencyPrice;
1757
+ /**
1758
+ * Default name of the tax that was calculated.
1759
+ * @internal
1760
+ * @maxLength 200
1761
+ */
1762
+ taxName?: string | null;
1752
1763
  }
1753
1764
  interface TaxCalculationDetails extends TaxCalculationDetailsCalculationDetailsOneOf {
1754
1765
  /** Reason the manual calculation was used. */
@@ -3116,7 +3127,9 @@ declare function onCartCreated(handler: (event: CartCreatedEnvelope) => void | P
3116
3127
  /**
3117
3128
  * Creates a cart.
3118
3129
  *
3119
- * > **Note:** When adding catalog line items, the `lineItems.catalogReference.appId` and `lineItems.catalogReference.catalogItemId` fields are required.
3130
+ * > **Notes:**
3131
+ * > + When adding catalog line items, the `lineItems.catalogReference.appId` and `lineItems.catalogReference.catalogItemId` fields are required.
3132
+ * > + This method requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
3120
3133
  * @public
3121
3134
  * @requiredField options.customLineItems.itemType
3122
3135
  * @requiredField options.customLineItems.price
@@ -3300,6 +3313,11 @@ interface UpdateCartOptions {
3300
3313
  * @format CURRENCY
3301
3314
  */
3302
3315
  paymentCurrency?: string;
3316
+ /**
3317
+ * Revision number, which increments by 1 each time the Cart is updated.
3318
+ * @readonly
3319
+ */
3320
+ revision?: string | null;
3303
3321
  };
3304
3322
  /** Coupon code. For more information, see the Coupons API. */
3305
3323
  couponCode?: string | null;