@wix/auto_sdk_stores_read-only-variants-v-3 1.0.49 → 1.0.50

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.
Files changed (29) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +27 -18
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/{internal/cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D0gGexcp.d.ts → cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DDymOH93.d.ts} +26 -36
  8. package/build/es/index.d.mts +2 -2
  9. package/build/es/index.mjs.map +1 -1
  10. package/build/es/index.typings.d.mts +2 -2
  11. package/build/es/index.typings.mjs.map +1 -1
  12. package/build/es/meta.d.mts +27 -18
  13. package/build/es/meta.mjs.map +1 -1
  14. package/build/{internal/es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D0gGexcp.d.mts → es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DDymOH93.d.mts} +26 -36
  15. package/build/internal/cjs/index.d.ts +2 -2
  16. package/build/internal/cjs/index.js.map +1 -1
  17. package/build/internal/cjs/index.typings.d.ts +2 -2
  18. package/build/internal/cjs/index.typings.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +27 -18
  20. package/build/internal/cjs/meta.js.map +1 -1
  21. package/build/{cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Ca7Lx1yV.d.ts → internal/cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DxKHqgOx.d.ts} +45 -17
  22. package/build/internal/es/index.d.mts +2 -2
  23. package/build/internal/es/index.mjs.map +1 -1
  24. package/build/internal/es/index.typings.d.mts +2 -2
  25. package/build/internal/es/index.typings.mjs.map +1 -1
  26. package/build/internal/es/meta.d.mts +27 -18
  27. package/build/internal/es/meta.mjs.map +1 -1
  28. package/build/{es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Ca7Lx1yV.d.mts → internal/es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DxKHqgOx.d.mts} +45 -17
  29. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { aX as QueryVariantsRequest$1, b0 as QueryVariantsResponse$1, b3 as SearchVariantsRequest$1, a as SearchVariantsResponse$1 } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Ca7Lx1yV.js';
1
+ import { aX as QueryVariantsRequest$1, b0 as QueryVariantsResponse$1, b3 as SearchVariantsRequest$1, a as SearchVariantsResponse$1 } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DDymOH93.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -1803,7 +1803,7 @@ interface Product extends ProductTypedPropertiesOneOf {
1803
1803
  * > **Note:** Always `false` for `productType: DIGITAL`.
1804
1804
  */
1805
1805
  visibleInPos?: boolean | null;
1806
- /** Product media items. */
1806
+ /** Product media items. For a detailed explanation of product media, see [About Product Media](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/products-v3/about-product-media). */
1807
1807
  media?: Media;
1808
1808
  /** Product SEO data. */
1809
1809
  seoData?: SeoSchema;
@@ -1813,18 +1813,20 @@ interface Product extends ProductTypedPropertiesOneOf {
1813
1813
  */
1814
1814
  taxGroupId?: string | null;
1815
1815
  /**
1816
- * Product options. Each option (like "Size" or "Color") creates variants when combined with other options.
1816
+ * Product options, such as "Size" or "Color". Options define the ways a product can vary.
1817
1817
  *
1818
- * When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option.
1819
- * To use existing [customizations](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction), pass their IDs. Otherwise, new customization entities are automatically created.
1818
+ * When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option. For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
1819
+ *
1820
+ * Options are stored as reusable [customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction) entities. Pass an existing customization's ID to reuse it, or define options inline and new customization entities are created automatically.
1820
1821
  * @maxSize 6
1821
1822
  */
1822
1823
  options?: ConnectedOption[];
1823
1824
  /**
1824
1825
  * Product modifiers. Collect additional information from customers without creating variants.
1825
1826
  *
1826
- * Unlike options, modifiers don't affect inventory or create additional variants. Use them for customizations like gift messages or engraving text.
1827
- * To use existing [customizations](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction), pass their IDs. Otherwise, new customization entities are automatically created.
1827
+ * Unlike options, modifiers don't affect inventory or create additional variants. Use them for things like gift messages or engraving text. For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
1828
+ *
1829
+ * Modifiers are stored as reusable [customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction) entities. Pass an existing customization's ID to reuse it, or define modifiers inline and new customization entities are created automatically.
1828
1830
  * @maxSize 10
1829
1831
  */
1830
1832
  modifiers?: ConnectedModifier[];
@@ -1927,8 +1929,12 @@ interface Product extends ProductTypedPropertiesOneOf {
1927
1929
  */
1928
1930
  compareAtPriceRange?: PriceRange;
1929
1931
  /**
1930
- * Product variants. Each variant must reference all product options via its `choices` array.
1931
- * Each choice references an option using `optionChoiceNames` for all requests.
1932
+ * Product variants. Each variant represents a specific purchasable version of a product defined by option choices.
1933
+ *
1934
+ * Each variant must reference all product options via its `choices` array, using `optionChoiceNames` in requests.
1935
+ * You must explicitly provide each variant when creating products with options.
1936
+ *
1937
+ * For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
1932
1938
  */
1933
1939
  variantsInfo?: VariantsInfo;
1934
1940
  /**
@@ -3872,12 +3878,12 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
3872
3878
  */
3873
3879
  url?: string;
3874
3880
  /**
3875
- * Product image.
3881
+ * Image details. Populated when you provide a [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager) file ID in `set_by`.
3876
3882
  * @readonly
3877
3883
  */
3878
3884
  image?: Image;
3879
3885
  /**
3880
- * Product video.
3886
+ * Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
3881
3887
  * @readonly
3882
3888
  */
3883
3889
  video?: VideoV2;
@@ -3889,7 +3895,8 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
3889
3895
  altText?: string | null;
3890
3896
  /**
3891
3897
  * Media display name.
3892
- * Allows to override the default media name. Can be passed only when `setBy: url`.
3898
+ *
3899
+ * Overrides the default media name. Can be passed only when the media is set by a URL in `setBy``.
3893
3900
  * @maxLength 80
3894
3901
  */
3895
3902
  displayName?: string | null;
@@ -3927,12 +3934,12 @@ interface ProductMediaSetByOneOf {
3927
3934
  /** @oneof */
3928
3935
  interface ProductMediaMediaOneOf {
3929
3936
  /**
3930
- * Product image.
3937
+ * Image details. Populated when you provide a [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager) file ID in `set_by`.
3931
3938
  * @readonly
3932
3939
  */
3933
3940
  image?: Image;
3934
3941
  /**
3935
- * Product video.
3942
+ * Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
3936
3943
  * @readonly
3937
3944
  */
3938
3945
  video?: VideoV2;
@@ -4033,7 +4040,9 @@ interface Thumbnail {
4033
4040
  }
4034
4041
  interface MediaItemsInfo {
4035
4042
  /**
4036
- * All media items (images, videos etc) associated with this product.
4043
+ * All media items associated with this product.
4044
+ *
4045
+ * The first item in the array is automatically set as the product's main media.
4037
4046
  * @maxSize 15
4038
4047
  */
4039
4048
  items?: ProductMedia[];
@@ -4656,9 +4665,9 @@ interface Variant extends VariantTypedPropertiesOneOf {
4656
4665
  /**
4657
4666
  * List of choices that define this variant. Each variant must have exactly one choice for each product option.
4658
4667
  *
4659
- * Must use `optionChoiceNames` in all requests this field is required.
4668
+ * Use `optionChoiceNames` in all requests where this field is required. For products without options, this array is empty, representing a single "default variant".
4660
4669
  *
4661
- * For products without options, this array is empty, representing a single "default variant".
4670
+ * For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
4662
4671
  * @maxSize 6
4663
4672
  * @immutable
4664
4673
  */
@@ -4733,7 +4742,7 @@ interface OptionChoiceNames {
4733
4742
  * @minLength 1
4734
4743
  */
4735
4744
  choiceName?: string;
4736
- /** Render type. */
4745
+ /** Render type of the option. Required when using `optionChoiceNames`. Must match the `optionRenderType` of the referenced option. */
4737
4746
  renderType?: ProductOptionRenderTypeWithLiterals;
4738
4747
  }
4739
4748
  interface PriceInfo {