@wix/auto_sdk_ecom_cart 1.0.87 → 1.0.88

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
  /**
@@ -2982,7 +2987,9 @@ declare function onCartCreated(handler: (event: CartCreatedEnvelope) => void | P
2982
2987
  /**
2983
2988
  * Creates a cart.
2984
2989
  *
2985
- * > **Note:** When adding catalog line items, the `lineItems.catalogReference.appId` and `lineItems.catalogReference.catalogItemId` fields are required.
2990
+ * > **Notes:**
2991
+ * > + When adding catalog line items, the `lineItems.catalogReference.appId` and `lineItems.catalogReference.catalogItemId` fields are required.
2992
+ * > + This method requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).
2986
2993
  * @public
2987
2994
  * @requiredField options.customLineItems.itemType
2988
2995
  * @requiredField options.customLineItems.price
@@ -3166,6 +3173,11 @@ interface UpdateCartOptions {
3166
3173
  * @format CURRENCY
3167
3174
  */
3168
3175
  paymentCurrency?: string;
3176
+ /**
3177
+ * Revision number, which increments by 1 each time the Cart is updated.
3178
+ * @readonly
3179
+ */
3180
+ revision?: string | null;
3169
3181
  };
3170
3182
  /** Coupon code. For more information, see the Coupons API. */
3171
3183
  couponCode?: string | null;