@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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -2
- package/build/internal/cjs/meta.d.ts +12 -2
- package/build/internal/es/index.typings.d.mts +12 -2
- package/build/internal/es/meta.d.mts +12 -2
- package/package.json +2 -2
|
@@ -3214,11 +3214,21 @@ interface InsufficientInventoryErrorData {
|
|
|
3214
3214
|
invalidItems?: InsufficientInventoryEntry[];
|
|
3215
3215
|
}
|
|
3216
3216
|
interface InsufficientInventoryEntry {
|
|
3217
|
-
/**
|
|
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
|
-
/**
|
|
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 {
|