@wix/auto_sdk_ecom_catalog 1.0.76 → 1.0.77

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.
@@ -323,6 +323,8 @@ interface ItemData {
323
323
  upsellOptionsAppId?: string | null;
324
324
  /**
325
325
  * Resolved bundle details.
326
+ *
327
+ * Required when `itemType.preset` is `BUNDLE`, and not supported otherwise.
326
328
  * @internal
327
329
  */
328
330
  bundleInfo?: BundleInfo;
@@ -911,7 +913,7 @@ declare enum ChargeType {
911
913
  /** Resolved bundle details. */
912
914
  interface BundleInfo {
913
915
  /**
914
- * The items included in the bundle.
916
+ * The items included in the bundle. Their `quantity` values must add up to at least 2, and each must have a different `catalogReference`.
915
917
  * @minSize 1
916
918
  * @maxSize 10
917
919
  */
@@ -919,7 +921,7 @@ interface BundleInfo {
919
921
  }
920
922
  /** One item included in a bundle. */
921
923
  interface BundledItem {
922
- /** Catalog and item reference of the bundled item. */
924
+ /** __Required.__ Catalog and item reference of the bundled item. */
923
925
  catalogReference?: CatalogReference;
924
926
  /**
925
927
  * Number of units of this item in a single bundle.
@@ -928,13 +930,13 @@ interface BundledItem {
928
930
  */
929
931
  quantity?: number;
930
932
  /**
931
- * The item's own price for 1 unit outside the bundle, with catalog discounts applied.
933
+ * __Required.__ The item's own price for 1 unit outside the bundle, with catalog discounts applied.
932
934
  * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
933
935
  */
934
936
  price?: string;
935
- /** Item name. */
937
+ /** __Required.__ Item name. */
936
938
  productName?: ProductName;
937
- /** Item type. */
939
+ /** __Required.__ Item type. Gift cards and bundles aren't allowed. */
938
940
  itemType?: ItemType;
939
941
  /**
940
942
  * The tax group ID associated with this item.
@@ -1,5 +1,5 @@
1
- import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-catalog-provider.public-bIAQ2q-E.mjs';
2
- export { O as AdditionalFee, a7 as AllItemsDiscountConfig, a2 as BasicItem, v as BillingSettings, Z as BundleInfo, _ as BundledItem, B as BuyerInfo, b as BuyerInfoIdOneOf, a as CatalogReference, C as CatalogReferenceAndQuantity, a6 as CatalogSPIConfig, Y as ChargeType, l as Color, a9 as Context, x as CyclePriceOverride, y as Description, D as DescriptionLine, i as DescriptionLineDescriptionLineValueOneOf, j as DescriptionLineName, m as DescriptionLineType, h as DescriptionLineValueOneOf, o as Dimensions, q as DimensionsUnit, A as FileType, F as FreeTrialPeriod, G as GetCatalogItemsRequest, c as GetCatalogItemsResponse, r as Group, ab as IdentificationData, ac as IdentificationDataIdOneOf, aa as IdentityType, I as Item, d as ItemData, V as ItemModifier, e as ItemType, f as ItemTypeItemTypeDataOneOf, g as ItemTypePreset, R as ModifierGroup, a3 as NumericPropertyRange, a0 as Paging, a5 as PagingMetadata, E as PaymentOptionType, n as PhysicalProperties, k as PlainTextValue, X as PlatformFee, N as Policy, J as PriceDescription, P as ProductName, w as ProductPeriodAlignment, a4 as PurchaseType, $ as QueryCatalogItemsRequest, a1 as QueryCatalogItemsResponse, S as Scope, z as SecuredMedia, H as ServiceProperties, a8 as SpecificItemsDiscountConfig, u as SubscriptionFrequency, s as SubscriptionOptionInfo, t as SubscriptionSettings, Q as TaxDetails, K as TaxableAddress, L as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, T as Title, U as TranslatableString, W as WeightUnit } from './interfaces-ecommerce-v1-catalog-provider.public-bIAQ2q-E.mjs';
1
+ import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-catalog-provider.public-otREpPWh.mjs';
2
+ export { O as AdditionalFee, a7 as AllItemsDiscountConfig, a2 as BasicItem, v as BillingSettings, Z as BundleInfo, _ as BundledItem, B as BuyerInfo, b as BuyerInfoIdOneOf, a as CatalogReference, C as CatalogReferenceAndQuantity, a6 as CatalogSPIConfig, Y as ChargeType, l as Color, a9 as Context, x as CyclePriceOverride, y as Description, D as DescriptionLine, i as DescriptionLineDescriptionLineValueOneOf, j as DescriptionLineName, m as DescriptionLineType, h as DescriptionLineValueOneOf, o as Dimensions, q as DimensionsUnit, A as FileType, F as FreeTrialPeriod, G as GetCatalogItemsRequest, c as GetCatalogItemsResponse, r as Group, ab as IdentificationData, ac as IdentificationDataIdOneOf, aa as IdentityType, I as Item, d as ItemData, V as ItemModifier, e as ItemType, f as ItemTypeItemTypeDataOneOf, g as ItemTypePreset, R as ModifierGroup, a3 as NumericPropertyRange, a0 as Paging, a5 as PagingMetadata, E as PaymentOptionType, n as PhysicalProperties, k as PlainTextValue, X as PlatformFee, N as Policy, J as PriceDescription, P as ProductName, w as ProductPeriodAlignment, a4 as PurchaseType, $ as QueryCatalogItemsRequest, a1 as QueryCatalogItemsResponse, S as Scope, z as SecuredMedia, H as ServiceProperties, a8 as SpecificItemsDiscountConfig, u as SubscriptionFrequency, s as SubscriptionOptionInfo, t as SubscriptionSettings, Q as TaxDetails, K as TaxableAddress, L as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, T as Title, U as TranslatableString, W as WeightUnit } from './interfaces-ecommerce-v1-catalog-provider.public-otREpPWh.mjs';
3
3
  import { BuildServicePluginDefinition } from '@wix/sdk-types';
4
4
 
5
5
  declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1> & typeof provideHandlers$1;
@@ -1,5 +1,5 @@
1
- import { ad as GetCatalogItemsEnvelope, c as GetCatalogItemsResponse } from './interfaces-ecommerce-v1-catalog-provider.public-bIAQ2q-E.mjs';
2
- export { O as AdditionalFee, a7 as AllItemsDiscountConfig, a2 as BasicItem, v as BillingSettings, Z as BundleInfo, _ as BundledItem, B as BuyerInfo, b as BuyerInfoIdOneOf, a as CatalogReference, C as CatalogReferenceAndQuantity, a6 as CatalogSPIConfig, Y as ChargeType, l as Color, a9 as Context, x as CyclePriceOverride, y as Description, D as DescriptionLine, i as DescriptionLineDescriptionLineValueOneOf, j as DescriptionLineName, m as DescriptionLineType, h as DescriptionLineValueOneOf, o as Dimensions, q as DimensionsUnit, A as FileType, F as FreeTrialPeriod, G as GetCatalogItemsRequest, r as Group, ab as IdentificationData, ac as IdentificationDataIdOneOf, aa as IdentityType, I as Item, d as ItemData, V as ItemModifier, e as ItemType, f as ItemTypeItemTypeDataOneOf, g as ItemTypePreset, R as ModifierGroup, a3 as NumericPropertyRange, a0 as Paging, a5 as PagingMetadata, E as PaymentOptionType, n as PhysicalProperties, k as PlainTextValue, X as PlatformFee, N as Policy, J as PriceDescription, P as ProductName, w as ProductPeriodAlignment, a4 as PurchaseType, $ as QueryCatalogItemsRequest, a1 as QueryCatalogItemsResponse, S as Scope, z as SecuredMedia, H as ServiceProperties, a8 as SpecificItemsDiscountConfig, u as SubscriptionFrequency, s as SubscriptionOptionInfo, t as SubscriptionSettings, Q as TaxDetails, K as TaxableAddress, L as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, T as Title, U as TranslatableString, W as WeightUnit } from './interfaces-ecommerce-v1-catalog-provider.public-bIAQ2q-E.mjs';
1
+ import { ad as GetCatalogItemsEnvelope, c as GetCatalogItemsResponse } from './interfaces-ecommerce-v1-catalog-provider.public-otREpPWh.mjs';
2
+ export { O as AdditionalFee, a7 as AllItemsDiscountConfig, a2 as BasicItem, v as BillingSettings, Z as BundleInfo, _ as BundledItem, B as BuyerInfo, b as BuyerInfoIdOneOf, a as CatalogReference, C as CatalogReferenceAndQuantity, a6 as CatalogSPIConfig, Y as ChargeType, l as Color, a9 as Context, x as CyclePriceOverride, y as Description, D as DescriptionLine, i as DescriptionLineDescriptionLineValueOneOf, j as DescriptionLineName, m as DescriptionLineType, h as DescriptionLineValueOneOf, o as Dimensions, q as DimensionsUnit, A as FileType, F as FreeTrialPeriod, G as GetCatalogItemsRequest, r as Group, ab as IdentificationData, ac as IdentificationDataIdOneOf, aa as IdentityType, I as Item, d as ItemData, V as ItemModifier, e as ItemType, f as ItemTypeItemTypeDataOneOf, g as ItemTypePreset, R as ModifierGroup, a3 as NumericPropertyRange, a0 as Paging, a5 as PagingMetadata, E as PaymentOptionType, n as PhysicalProperties, k as PlainTextValue, X as PlatformFee, N as Policy, J as PriceDescription, P as ProductName, w as ProductPeriodAlignment, a4 as PurchaseType, $ as QueryCatalogItemsRequest, a1 as QueryCatalogItemsResponse, S as Scope, z as SecuredMedia, H as ServiceProperties, a8 as SpecificItemsDiscountConfig, u as SubscriptionFrequency, s as SubscriptionOptionInfo, t as SubscriptionSettings, Q as TaxDetails, K as TaxableAddress, L as TaxableAddressTaxableAddressDataOneOf, M as TaxableAddressType, T as Title, U as TranslatableString, W as WeightUnit } from './interfaces-ecommerce-v1-catalog-provider.public-otREpPWh.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /**
@@ -323,6 +323,8 @@ interface ItemData {
323
323
  upsellOptionsAppId?: string | null;
324
324
  /**
325
325
  * Resolved bundle details.
326
+ *
327
+ * Required when `itemType.preset` is `BUNDLE`, and not supported otherwise.
326
328
  * @internal
327
329
  */
328
330
  bundleInfo?: BundleInfo;
@@ -911,7 +913,7 @@ declare enum ChargeType {
911
913
  /** Resolved bundle details. */
912
914
  interface BundleInfo {
913
915
  /**
914
- * The items included in the bundle.
916
+ * The items included in the bundle. Their `quantity` values must add up to at least 2, and each must have a different `catalogReference`.
915
917
  * @minSize 1
916
918
  * @maxSize 10
917
919
  */
@@ -919,7 +921,7 @@ interface BundleInfo {
919
921
  }
920
922
  /** One item included in a bundle. */
921
923
  interface BundledItem {
922
- /** Catalog and item reference of the bundled item. */
924
+ /** __Required.__ Catalog and item reference of the bundled item. */
923
925
  catalogReference?: CatalogReference;
924
926
  /**
925
927
  * Number of units of this item in a single bundle.
@@ -928,13 +930,13 @@ interface BundledItem {
928
930
  */
929
931
  quantity?: number;
930
932
  /**
931
- * The item's own price for 1 unit outside the bundle, with catalog discounts applied.
933
+ * __Required.__ The item's own price for 1 unit outside the bundle, with catalog discounts applied.
932
934
  * @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
933
935
  */
934
936
  price?: string;
935
- /** Item name. */
937
+ /** __Required.__ Item name. */
936
938
  productName?: ProductName;
937
- /** Item type. */
939
+ /** __Required.__ Item type. Gift cards and bundles aren't allowed. */
938
940
  itemType?: ItemType;
939
941
  /**
940
942
  * The tax group ID associated with this item.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_catalog",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
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.catalog_provider"
45
45
  }
46
46
  },
47
- "falconPackageHash": "0c3e6fa65377cbb60e1fc3f947645ca4d5b4ede1e418f957da4d0453"
47
+ "falconPackageHash": "c067334ee3451bed15e9c044352c363423da091194cbb61c23bd911a"
48
48
  }