@wix/auto_sdk_ecom_validations 1.0.68 → 1.0.70

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.
@@ -1,5 +1,5 @@
1
- import { ak as GetValidationViolationsEnvelope, a4 as GetValidationViolationsResponse } from './interfaces-ecommerce-v1-validations-provider.public-ngtderyI.mjs';
2
- export { s as Address, u as AddressLocation, A as AddressWithContact, af as AiContext, N as ApplicableLineItems, X as AppliedDiscount, Y as AppliedDiscountDiscountSourceOneOf, i as BillingSettings, B as BuyerDetails, K as Carrier, C as CatalogReference, ag as Context, _ as Coupon, U as CustomField, Q as CustomFields, k as CyclePriceOverride, H as DeliveryAllocation, O as DeliveryTimeSlot, l as Description, D as Dimensions, c as DimensionsUnit, a0 as DiscountRule, a1 as DiscountRuleName, Z as DiscountType, a3 as ExtendedFields, a2 as ExternalReference, F as FreeTrialPeriod, v as FullAddressContactDetails, G as GetValidationViolationsRequest, q as GiftCard, ai as IdentificationData, aj as IdentificationDataIdOneOf, ah as IdentityType, n as ItemTaxFullDetails, I as ItemType, d as ItemTypeItemTypeDataOneOf, e as ItemTypePreset, J as JurisdictionType, L as LineItem, m as LineItemPricesData, $ as MerchantDiscount, M as MultiCurrencyPrice, aa as NameInLineItem, a9 as NameInOther, ac as Other, b as PhysicalProperties, r as PriceSummary, P as ProductName, j as ProductPeriodAlignment, R as Region, z as SelectedCarrierServiceOption, E as SelectedCarrierServiceOptionPrices, a6 as Severity, y as ShippingInfo, a as Source, S as SourceInfo, t as StreetAddress, h as SubscriptionFrequency, f as SubscriptionOptionInfo, g as SubscriptionSettings, ab as SuggestedFix, a7 as Target, ad as TargetLineItem, a8 as TargetTargetTypeOneOf, o as TaxBreakdown, T as Title, V as ValidationInfo, ae as ValidationsSPIConfig, w as VatId, x as VatType, a5 as Violation, W as WeightUnit } from './interfaces-ecommerce-v1-validations-provider.public-ngtderyI.mjs';
1
+ import { ak as GetValidationViolationsEnvelope, a4 as GetValidationViolationsResponse } from './interfaces-ecommerce-v1-validations-provider.public-D3TojY5X.mjs';
2
+ export { s as Address, u as AddressLocation, A as AddressWithContact, af as AiContext, N as ApplicableLineItems, X as AppliedDiscount, Y as AppliedDiscountDiscountSourceOneOf, i as BillingSettings, B as BuyerDetails, K as Carrier, C as CatalogReference, ag as Context, _ as Coupon, U as CustomField, Q as CustomFields, k as CyclePriceOverride, H as DeliveryAllocation, O as DeliveryTimeSlot, l as Description, D as Dimensions, c as DimensionsUnit, a0 as DiscountRule, a1 as DiscountRuleName, Z as DiscountType, a3 as ExtendedFields, a2 as ExternalReference, F as FreeTrialPeriod, v as FullAddressContactDetails, G as GetValidationViolationsRequest, q as GiftCard, ai as IdentificationData, aj as IdentificationDataIdOneOf, ah as IdentityType, n as ItemTaxFullDetails, I as ItemType, d as ItemTypeItemTypeDataOneOf, e as ItemTypePreset, J as JurisdictionType, L as LineItem, m as LineItemPricesData, $ as MerchantDiscount, M as MultiCurrencyPrice, aa as NameInLineItem, a9 as NameInOther, ac as Other, b as PhysicalProperties, r as PriceSummary, P as ProductName, j as ProductPeriodAlignment, R as Region, z as SelectedCarrierServiceOption, E as SelectedCarrierServiceOptionPrices, a6 as Severity, y as ShippingInfo, a as Source, S as SourceInfo, t as StreetAddress, h as SubscriptionFrequency, f as SubscriptionOptionInfo, g as SubscriptionSettings, ab as SuggestedFix, a7 as Target, ad as TargetLineItem, a8 as TargetTargetTypeOneOf, o as TaxBreakdown, T as Title, V as ValidationInfo, ae as ValidationsSPIConfig, w as VatId, x as VatType, a5 as Violation, W as WeightUnit } from './interfaces-ecommerce-v1-validations-provider.public-D3TojY5X.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /**
@@ -163,7 +163,7 @@ interface LineItem {
163
163
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
164
164
  interface CatalogReference {
165
165
  /**
166
- * ID of the item within the catalog it belongs to.
166
+ * ID of the item within the catalog it belongs to. For a Wix Stores product, this is the product ID, including when the product has variants.
167
167
  * @minLength 1
168
168
  * @maxLength 36
169
169
  */
@@ -185,6 +185,8 @@ interface CatalogReference {
185
185
  *
186
186
  * Use this optional field for more specificity with item selection. The values of the `options` field differ depending on which catalog is providing the items.
187
187
  *
188
+ * For a Wix Stores product with variants, specify the variant ID in `options.variantId` and the product ID in `catalogItemId`.
189
+ *
188
190
  * For Wix Stores products, learn more about integrating with [Catalog V3](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration)
189
191
  * or [Catalog V1](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/e-commerce-integration), depending on [the version the site uses](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/introduction).
190
192
  */
@@ -361,7 +363,6 @@ interface SubscriptionSettings {
361
363
  * are charged the item's `price`.
362
364
  *
363
365
  * When `billingCycles` is set, every entry must end on or before the last billing cycle.
364
- * @internal
365
366
  * @maxSize 1
366
367
  */
367
368
  cyclePriceOverrides?: CyclePriceOverride[];
@@ -456,13 +457,13 @@ interface LineItemPricesData {
456
457
  totalPriceBeforeTax?: MultiCurrencyPrice;
457
458
  /** Tax details. */
458
459
  taxDetails?: ItemTaxFullDetails;
459
- /** Total discount applied for the line item. */
460
+ /** Total of the discounts whose `discountType` is `GLOBAL` allocated to the line item, such as a coupon with a minimum subtotal and no scope. Doesn't include discounts whose `discountType` is `SPECIFIC_ITEMS`, because they're already subtracted from `price` and `lineItemPrice`. */
460
461
  totalDiscount?: MultiCurrencyPrice;
461
- /** Catalog price **after** catalog-defined discount and automatic discounts. */
462
+ /** Item price after the catalog-defined discount and after the discounts whose `discountType` is `SPECIFIC_ITEMS`, such as automatic discounts, coupons with a scope, and merchant discounts that apply to specific items. Discounts whose `discountType` is `GLOBAL`, such as a coupon with a minimum subtotal and no scope, aren't subtracted. */
462
463
  price?: MultiCurrencyPrice;
463
464
  /** Item price **before** automatic discounts, coupons, and global discounts, **after** catalog-defined discount. Defaults to `price` when not provided. */
464
465
  priceBeforeDiscounts?: MultiCurrencyPrice;
465
- /** Total price **after** catalog-defined discount and automatic discounts, taking line item's quantity into account. */
466
+ /** Total price of the line item, taking its quantity into account, after the catalog-defined discount and after the discounts whose `discountType` is `SPECIFIC_ITEMS`, such as automatic discounts, coupons with a scope, and merchant discounts that apply to specific items. Discounts whose `discountType` is `GLOBAL`, such as a coupon with a minimum subtotal and no scope, aren't subtracted. */
466
467
  lineItemPrice?: MultiCurrencyPrice;
467
468
  /** Item price **before** all discounts. Defaults to `price` when not provided. */
468
469
  fullPrice?: MultiCurrencyPrice;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_validations",
3
- "version": "1.0.68",
3
+ "version": "1.0.70",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -44,5 +44,5 @@
44
44
  "fqdn": "wix.interfaces.ecommerce.v1.validations_provider"
45
45
  }
46
46
  },
47
- "falconPackageHash": "a71b6d6f312f7af1ea249516a2b2d23a18385873580ed3339c209ee1"
47
+ "falconPackageHash": "5bbc4f2ab82fe1bc3b849d942fdd89ade3ac14ad2a36dbcf77ccb820"
48
48
  }