@wix/auto_sdk_ecom_current-cart-v-2 1.0.232 → 1.0.233

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.
@@ -3214,11 +3214,21 @@ interface InsufficientInventoryErrorData {
3214
3214
  invalidItems?: InsufficientInventoryEntry[];
3215
3215
  }
3216
3216
  interface InsufficientInventoryEntry {
3217
- /** Line item with low stock. */
3217
+ /**
3218
+ * Line item whose requested quantity exceeds the quantity available.
3219
+ *
3220
+ * Identified by `catalogReference` when the line item has one, otherwise by `lineItemId`.
3221
+ * For Create Cart and Add Line Items, and their Current Cart equivalents, `lineItemId` is
3222
+ * provisional: the request is rejected before the new line items are saved, so the ID doesn't
3223
+ * match any line item you can retrieve.
3224
+ */
3218
3225
  _id?: LineItemIdentifier;
3219
3226
  /** Requested quantity, including what's already on the cart. */
3220
3227
  requestedQuantity?: number;
3221
- /** Quantity in stock. */
3228
+ /**
3229
+ * Quantity available.
3230
+ * For a custom line item, the value set in `quantityInfo.availableQuantity`.
3231
+ */
3222
3232
  availableQuantity?: number;
3223
3233
  }
3224
3234
  interface MaxLineItemsExceededErrorData {