@wix/auto_sdk_stores_read-only-variants-v-3 1.0.48 → 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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +29 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BmO0mCp5.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DDymOH93.d.ts} +28 -19
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +29 -20
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BmO0mCp5.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DDymOH93.d.mts} +28 -19
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +29 -20
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DK8tu3gS.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DxKHqgOx.d.ts} +28 -19
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +29 -20
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DK8tu3gS.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DxKHqgOx.d.mts} +28 -19
- package/package.json +2 -2
|
@@ -1750,7 +1750,7 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1750
1750
|
* > **Note:** Always `false` for `productType: DIGITAL`.
|
|
1751
1751
|
*/
|
|
1752
1752
|
visibleInPos?: boolean | null;
|
|
1753
|
-
/** Product media items. */
|
|
1753
|
+
/** 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). */
|
|
1754
1754
|
media?: Media;
|
|
1755
1755
|
/** Product SEO data. */
|
|
1756
1756
|
seoData?: SeoSchema;
|
|
@@ -1760,18 +1760,20 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1760
1760
|
*/
|
|
1761
1761
|
taxGroupId?: string | null;
|
|
1762
1762
|
/**
|
|
1763
|
-
* Product options
|
|
1763
|
+
* Product options, such as "Size" or "Color". Options define the ways a product can vary.
|
|
1764
1764
|
*
|
|
1765
|
-
* When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option.
|
|
1766
|
-
*
|
|
1765
|
+
* 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).
|
|
1766
|
+
*
|
|
1767
|
+
* 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.
|
|
1767
1768
|
* @maxSize 6
|
|
1768
1769
|
*/
|
|
1769
1770
|
options?: ConnectedOption[];
|
|
1770
1771
|
/**
|
|
1771
1772
|
* Product modifiers. Collect additional information from customers without creating variants.
|
|
1772
1773
|
*
|
|
1773
|
-
* Unlike options, modifiers don't affect inventory or create additional variants. Use them for
|
|
1774
|
-
*
|
|
1774
|
+
* 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).
|
|
1775
|
+
*
|
|
1776
|
+
* 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.
|
|
1775
1777
|
* @maxSize 10
|
|
1776
1778
|
*/
|
|
1777
1779
|
modifiers?: ConnectedModifier[];
|
|
@@ -1886,8 +1888,12 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1886
1888
|
*/
|
|
1887
1889
|
inventoryAppId?: string | null;
|
|
1888
1890
|
/**
|
|
1889
|
-
* Product variants. Each variant
|
|
1890
|
-
*
|
|
1891
|
+
* Product variants. Each variant represents a specific purchasable version of a product defined by option choices.
|
|
1892
|
+
*
|
|
1893
|
+
* Each variant must reference all product options via its `choices` array, using `optionChoiceNames` in requests.
|
|
1894
|
+
* You must explicitly provide each variant when creating products with options.
|
|
1895
|
+
*
|
|
1896
|
+
* 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).
|
|
1891
1897
|
*/
|
|
1892
1898
|
variantsInfo?: VariantsInfo;
|
|
1893
1899
|
/**
|
|
@@ -3825,12 +3831,12 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
|
|
|
3825
3831
|
*/
|
|
3826
3832
|
url?: string;
|
|
3827
3833
|
/**
|
|
3828
|
-
*
|
|
3834
|
+
* 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`.
|
|
3829
3835
|
* @readonly
|
|
3830
3836
|
*/
|
|
3831
3837
|
image?: string;
|
|
3832
3838
|
/**
|
|
3833
|
-
*
|
|
3839
|
+
* Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
|
|
3834
3840
|
* @readonly
|
|
3835
3841
|
*/
|
|
3836
3842
|
video?: string;
|
|
@@ -3842,7 +3848,8 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
|
|
|
3842
3848
|
altText?: string | null;
|
|
3843
3849
|
/**
|
|
3844
3850
|
* Media display name.
|
|
3845
|
-
*
|
|
3851
|
+
*
|
|
3852
|
+
* Overrides the default media name. Can be passed only when the media is set by a URL in `setBy``.
|
|
3846
3853
|
* @maxLength 80
|
|
3847
3854
|
*/
|
|
3848
3855
|
displayName?: string | null;
|
|
@@ -3880,12 +3887,12 @@ interface ProductMediaSetByOneOf {
|
|
|
3880
3887
|
/** @oneof */
|
|
3881
3888
|
interface ProductMediaMediaOneOf {
|
|
3882
3889
|
/**
|
|
3883
|
-
*
|
|
3890
|
+
* 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`.
|
|
3884
3891
|
* @readonly
|
|
3885
3892
|
*/
|
|
3886
3893
|
image?: string;
|
|
3887
3894
|
/**
|
|
3888
|
-
*
|
|
3895
|
+
* Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
|
|
3889
3896
|
* @readonly
|
|
3890
3897
|
*/
|
|
3891
3898
|
video?: string;
|
|
@@ -3934,7 +3941,9 @@ interface Thumbnail {
|
|
|
3934
3941
|
}
|
|
3935
3942
|
interface MediaItemsInfo {
|
|
3936
3943
|
/**
|
|
3937
|
-
* All media items
|
|
3944
|
+
* All media items associated with this product.
|
|
3945
|
+
*
|
|
3946
|
+
* The first item in the array is automatically set as the product's main media.
|
|
3938
3947
|
* @maxSize 15
|
|
3939
3948
|
*/
|
|
3940
3949
|
items?: ProductMedia[];
|
|
@@ -4057,7 +4066,7 @@ interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
|
|
|
4057
4066
|
* When not empty, only these images are shown when a customer selects this choice. Otherwise, all product images are shown.
|
|
4058
4067
|
* When multiple choices from different options are selected, only media present in `linkedMedia` of ALL selected choices are shown.
|
|
4059
4068
|
* For example, if `Color: Red` has images 1, 2, 3 and `Material: Silk` has images 2, 3, 5, then only images 2 and 3 are shown when both are selected.
|
|
4060
|
-
* @maxSize
|
|
4069
|
+
* @maxSize 15
|
|
4061
4070
|
*/
|
|
4062
4071
|
linkedMedia?: ProductMedia[];
|
|
4063
4072
|
/** Choice type. */
|
|
@@ -4195,7 +4204,7 @@ interface ConnectedModifierChoice extends ConnectedModifierChoiceValueOneOf {
|
|
|
4195
4204
|
choiceId?: string | null;
|
|
4196
4205
|
/**
|
|
4197
4206
|
* Product media.
|
|
4198
|
-
* @maxSize
|
|
4207
|
+
* @maxSize 15
|
|
4199
4208
|
*/
|
|
4200
4209
|
linkedMedia?: ProductMedia[];
|
|
4201
4210
|
/** Choice type. */
|
|
@@ -4557,9 +4566,9 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
4557
4566
|
/**
|
|
4558
4567
|
* List of choices that define this variant. Each variant must have exactly one choice for each product option.
|
|
4559
4568
|
*
|
|
4560
|
-
*
|
|
4569
|
+
* Use `optionChoiceNames` in all requests where this field is required. For products without options, this array is empty, representing a single "default variant".
|
|
4561
4570
|
*
|
|
4562
|
-
* For
|
|
4571
|
+
* 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).
|
|
4563
4572
|
* @maxSize 6
|
|
4564
4573
|
* @immutable
|
|
4565
4574
|
*/
|
|
@@ -4634,7 +4643,7 @@ interface OptionChoiceNames {
|
|
|
4634
4643
|
* @minLength 1
|
|
4635
4644
|
*/
|
|
4636
4645
|
choiceName?: string;
|
|
4637
|
-
/** Render type. */
|
|
4646
|
+
/** Render type of the option. Required when using `optionChoiceNames`. Must match the `optionRenderType` of the referenced option. */
|
|
4638
4647
|
renderType?: ProductOptionRenderTypeWithLiterals;
|
|
4639
4648
|
}
|
|
4640
4649
|
interface PriceInfo {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_stores_read-only-variants-v-3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.stores.catalog.v3.read_only_variant"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "43e16f0b80705e4cf963b0fc3852ce0887f97af1c4bdec1e384dfba1"
|
|
54
54
|
}
|