@wix/auto_sdk_ecom_cart 1.0.88 → 1.0.90
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.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +3 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +3 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +9 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +9 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -345,7 +345,7 @@ interface CatalogReference {
|
|
|
345
345
|
/**
|
|
346
346
|
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
347
347
|
*
|
|
348
|
-
* For products and variants from a Wix Stores catalog, learn more about eCommerce integration
|
|
348
|
+
* For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
|
|
349
349
|
*/
|
|
350
350
|
options?: Record<string, any> | null;
|
|
351
351
|
}
|
|
@@ -1504,7 +1504,7 @@ interface EstimateTotalsResponse {
|
|
|
1504
1504
|
*/
|
|
1505
1505
|
additionalFees?: AdditionalFee[];
|
|
1506
1506
|
/**
|
|
1507
|
-
* List of validation violations raised by the Validations service plugin
|
|
1507
|
+
* List of validation violations raised by the [Validations service plugin](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/validations-integration-service-plugin/introduction).
|
|
1508
1508
|
* @readonly
|
|
1509
1509
|
*/
|
|
1510
1510
|
violations?: Violation[];
|
|
@@ -1754,6 +1754,12 @@ interface TaxSummary {
|
|
|
1754
1754
|
* @readonly
|
|
1755
1755
|
*/
|
|
1756
1756
|
totalExempt?: MultiCurrencyPrice;
|
|
1757
|
+
/**
|
|
1758
|
+
* Default name of the tax that was calculated.
|
|
1759
|
+
* @internal
|
|
1760
|
+
* @maxLength 200
|
|
1761
|
+
*/
|
|
1762
|
+
taxName?: string | null;
|
|
1757
1763
|
}
|
|
1758
1764
|
interface TaxCalculationDetails extends TaxCalculationDetailsCalculationDetailsOneOf {
|
|
1759
1765
|
/** Reason the manual calculation was used. */
|
|
@@ -3359,7 +3365,7 @@ declare function getCart(_id: string): Promise<NonNullablePaths<Cart, `lineItems
|
|
|
3359
3365
|
*/
|
|
3360
3366
|
declare function getCartByCheckoutId(_id: string): Promise<NonNullablePaths<GetCartByCheckoutIdResponse, `cart.lineItems` | `cart.lineItems.${number}.quantity` | `cart.lineItems.${number}.catalogReference.catalogItemId` | `cart.lineItems.${number}.catalogReference.appId` | `cart.lineItems.${number}.productName.original` | `cart.lineItems.${number}.price.amount` | `cart.lineItems.${number}.price.convertedAmount` | `cart.lineItems.${number}.price.formattedAmount` | `cart.lineItems.${number}.price.formattedConvertedAmount` | `cart.lineItems.${number}.availability.status` | `cart.lineItems.${number}.physicalProperties.shippable` | `cart.lineItems.${number}.itemType.preset` | `cart.lineItems.${number}.itemType.custom` | `cart.lineItems.${number}.paymentOption` | `cart.lineItems.${number}.priceDescription.original` | `cart.lineItems.${number}.selectedMembership._id` | `cart.lineItems.${number}.selectedMembership.appId` | `cart.lineItems.${number}.customLineItem` | `cart.lineItems.${number}.priceUndetermined` | `cart.lineItems.${number}.fixedQuantity` | `cart.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `cart.lineItems.${number}.savePaymentMethod` | `cart.lineItems.${number}.taxableAddress.addressType` | `cart.lineItems.${number}.membersOnly` | `cart.buyerInfo.visitorId` | `cart.buyerInfo.memberId` | `cart.buyerInfo.userId` | `cart.currency` | `cart.conversionCurrency` | `cart.weightUnit` | `cart.appliedDiscounts` | `cart.appliedDiscounts.${number}.coupon._id` | `cart.appliedDiscounts.${number}.coupon.code` | `cart.contactInfo.address.streetAddress.number` | `cart.contactInfo.address.streetAddress.name` | `cart.contactInfo.contactDetails.vatId._id` | `cart.contactInfo.contactDetails.vatId.type` | `cart.selectedShippingOption.code` | `cart.paymentCurrency`, 7>>;
|
|
3361
3367
|
/**
|
|
3362
|
-
* Adds
|
|
3368
|
+
* Adds [catalog](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration) line items to a cart.
|
|
3363
3369
|
*
|
|
3364
3370
|
* >**Notes:**
|
|
3365
3371
|
* > + When adding catalog line items to a cart, the `lineItems.catalogReference.appId` and `lineItems.catalogReference.catalogItemId` fields are required.
|