@wix/auto_sdk_stores_read-only-variants-v-3 1.0.45 → 1.0.47
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 +35 -34
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BNZPBN80.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Ca7Lx1yV.d.ts} +34 -33
- 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 +35 -34
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BNZPBN80.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Ca7Lx1yV.d.mts} +34 -33
- 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 +35 -34
- 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-DIjkz6cb.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D0gGexcp.d.ts} +34 -33
- 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 +35 -34
- 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-DIjkz6cb.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D0gGexcp.d.mts} +34 -33
- package/package.json +2 -2
|
@@ -1731,14 +1731,14 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1731
1731
|
/**
|
|
1732
1732
|
* Product description in HTML.
|
|
1733
1733
|
*
|
|
1734
|
-
* + When provided on create/update, this string must be
|
|
1735
|
-
* + `plainDescription` is ignored when value is also passed to the `description` field.
|
|
1734
|
+
* + When provided on create/update, this string must be valid HTML. It's then converted to rich content.
|
|
1735
|
+
* + `plainDescription` is ignored when a value is also passed to the `description` field.
|
|
1736
1736
|
* > **Note:** Returned only when you pass `"PLAIN_DESCRIPTION"` to the `fields` array in Products API requests.
|
|
1737
1737
|
* @maxLength 16000
|
|
1738
1738
|
*/
|
|
1739
1739
|
plainDescription?: string | null;
|
|
1740
1740
|
/**
|
|
1741
|
-
* Whether the product is visible to site visitors
|
|
1741
|
+
* Whether the product is visible to site visitors.
|
|
1742
1742
|
*
|
|
1743
1743
|
* Default: `true`
|
|
1744
1744
|
*/
|
|
@@ -1755,34 +1755,35 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1755
1755
|
/** Product SEO data. */
|
|
1756
1756
|
seoData?: SeoSchema;
|
|
1757
1757
|
/**
|
|
1758
|
-
* Tax group ID.
|
|
1758
|
+
* [Tax group ID](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-groups/introduction). Used to apply specific tax rates to products.
|
|
1759
1759
|
* @format GUID
|
|
1760
1760
|
*/
|
|
1761
1761
|
taxGroupId?: string | null;
|
|
1762
1762
|
/**
|
|
1763
|
-
* Product options.
|
|
1763
|
+
* Product options. Each option (like "Size" or "Color") creates variants when combined with other options.
|
|
1764
1764
|
*
|
|
1765
|
-
*
|
|
1766
|
-
*
|
|
1765
|
+
* When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option.
|
|
1766
|
+
* 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.
|
|
1767
1767
|
* @maxSize 6
|
|
1768
1768
|
*/
|
|
1769
1769
|
options?: ConnectedOption[];
|
|
1770
1770
|
/**
|
|
1771
|
-
* Product modifiers.
|
|
1771
|
+
* Product modifiers. Collect additional information from customers without creating variants.
|
|
1772
1772
|
*
|
|
1773
|
-
*
|
|
1773
|
+
* Unlike options, modifiers don't affect inventory or create additional variants. Use them for customizations like gift messages or engraving text.
|
|
1774
|
+
* 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.
|
|
1774
1775
|
* @maxSize 10
|
|
1775
1776
|
*/
|
|
1776
1777
|
modifiers?: ConnectedModifier[];
|
|
1777
1778
|
/**
|
|
1778
|
-
* Product brand.
|
|
1779
|
+
* Product [brand](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/brands-v3/introduction).
|
|
1779
1780
|
*
|
|
1780
1781
|
* + Pass `brand.name` to add a new brand while creating a product.
|
|
1781
1782
|
* + Pass an existing brand's `id` to assign that brand to the product.
|
|
1782
1783
|
*/
|
|
1783
1784
|
brand?: Brand;
|
|
1784
1785
|
/**
|
|
1785
|
-
* Product info section.
|
|
1786
|
+
* Product [info section](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/info-sections-v3/introduction).
|
|
1786
1787
|
*
|
|
1787
1788
|
* + Pass `infoSection.uniqueName`, `infoSection.title`, and `infoSection.description` to add a new info section while creating a product.
|
|
1788
1789
|
* + Pass an existing info section's `id` or `uniqueName` to assign that info section to the product.
|
|
@@ -1790,14 +1791,14 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1790
1791
|
*/
|
|
1791
1792
|
infoSections?: InfoSection[];
|
|
1792
1793
|
/**
|
|
1793
|
-
* Product ribbon.
|
|
1794
|
+
* Product [ribbon](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/ribbons-v3/introduction).
|
|
1794
1795
|
*
|
|
1795
1796
|
* + Pass `ribbon.name` to add a new ribbon while creating a product.
|
|
1796
1797
|
* + Pass an existing ribbon's `id` or `name` to assign that ribbon to the product.
|
|
1797
1798
|
*/
|
|
1798
1799
|
ribbon?: Ribbon;
|
|
1799
1800
|
/**
|
|
1800
|
-
* List of categories that directly contain this product.
|
|
1801
|
+
* List of [categories](https://dev.wix.com/docs/api-reference/business-management/categories/introduction) that directly contain this product.
|
|
1801
1802
|
*
|
|
1802
1803
|
* Updated automatically when a product is added/removed from a category, when an item is moved within a category, or when a category is deleted.
|
|
1803
1804
|
* > **Note:** Returned only when you pass `"DIRECT_CATEGORIES_INFO"` to the `fields` array in Products API requests.
|
|
@@ -1805,13 +1806,13 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1805
1806
|
*/
|
|
1806
1807
|
directCategoriesInfo?: ProductCategoriesInfo;
|
|
1807
1808
|
/**
|
|
1808
|
-
* List of categories that directly contain this product, as well as their parent categories.
|
|
1809
|
+
* List of [categories](https://dev.wix.com/docs/api-reference/business-management/categories/introduction) that directly contain this product, as well as their parent categories.
|
|
1809
1810
|
* > **Note:** Returned only when you pass `"ALL_CATEGORIES_INFO"` to the `fields` array in Products API requests.
|
|
1810
1811
|
* @readonly
|
|
1811
1812
|
*/
|
|
1812
1813
|
allCategoriesInfo?: ProductCategoriesInfo;
|
|
1813
1814
|
/**
|
|
1814
|
-
* The ID of the product's primary direct category, which defines the product’s breadcrumbs path. For example, if the product's main category is "T-Shirts" (which is a subcategory of "Clothing"), the breadcrumbs path will be "Clothing > T-Shirts".
|
|
1815
|
+
* The ID of the product's primary direct [category](https://dev.wix.com/docs/api-reference/business-management/categories/introduction), which defines the product’s breadcrumbs path. For example, if the product's main category is "T-Shirts" (which is a subcategory of "Clothing"), the breadcrumbs path will be "Clothing > T-Shirts".
|
|
1815
1816
|
* @format GUID
|
|
1816
1817
|
*/
|
|
1817
1818
|
mainCategoryId?: string | null;
|
|
@@ -1832,17 +1833,16 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1832
1833
|
*/
|
|
1833
1834
|
inventory?: Inventory;
|
|
1834
1835
|
/**
|
|
1835
|
-
* Product type.
|
|
1836
|
+
* Product type: `PHYSICAL` for tangible goods that require shipping, or `DIGITAL` for downloadable content.
|
|
1836
1837
|
*
|
|
1837
|
-
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
1838
|
+
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`. When passing `productType: DIGITAL`, you can optionally pass `digitalProperties` in each variant.
|
|
1838
1839
|
* @immutable
|
|
1839
1840
|
*/
|
|
1840
1841
|
productType?: ProductTypeWithLiterals;
|
|
1841
1842
|
/**
|
|
1842
1843
|
* A unique human-friendly identifier for the product.
|
|
1843
|
-
*
|
|
1844
|
-
* This is
|
|
1845
|
-
* If no handle is provided, one is automatically generated.
|
|
1844
|
+
*
|
|
1845
|
+
* Unlike the auto-generated `id`, the handle can be set when creating a product. This is useful when re-importing products from other systems, as it provides a stable identifier across platforms. If not provided during creation, one is automatically generated. Can't be changed after creation.
|
|
1846
1846
|
* @minLength 1
|
|
1847
1847
|
* @maxLength 100
|
|
1848
1848
|
* @readonly
|
|
@@ -1857,25 +1857,25 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Currency used for the pricing of this product, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
|
|
1859
1859
|
*
|
|
1860
|
-
* Defaults to the currency defined in the site settings, unless specified in `x-wix-currency` header.
|
|
1860
|
+
* Defaults to the currency defined in the site settings, unless specified in the request's `x-wix-currency` header.
|
|
1861
1861
|
* > **Note:** Returned only when you pass `"CURRENCY"` to the `fields` array in Products API requests.
|
|
1862
1862
|
* @format CURRENCY
|
|
1863
1863
|
* @readonly
|
|
1864
1864
|
*/
|
|
1865
1865
|
currency?: string | null;
|
|
1866
1866
|
/**
|
|
1867
|
-
* Breadcrumbs of the `mainCategoryId`. Used to navigate to parent categories.
|
|
1867
|
+
* Breadcrumbs of the `mainCategoryId`. Used to navigate to parent [categories](https://dev.wix.com/docs/api-reference/business-management/categories/introduction).
|
|
1868
1868
|
* > **Note:** Returned only when you pass `"BREADCRUMBS_INFO"` to the `fields` array in Products API requests.
|
|
1869
1869
|
* @readonly
|
|
1870
1870
|
*/
|
|
1871
1871
|
breadcrumbsInfo?: BreadcrumbsInfo;
|
|
1872
1872
|
/**
|
|
1873
|
-
*
|
|
1873
|
+
* Minimum and maximum current selling prices across all product variants.
|
|
1874
1874
|
* @readonly
|
|
1875
1875
|
*/
|
|
1876
1876
|
actualPriceRange?: PriceRange;
|
|
1877
1877
|
/**
|
|
1878
|
-
*
|
|
1878
|
+
* Minimum and maximum compare-at prices (original prices before discounts) across all product variants. Used to show savings to customers.
|
|
1879
1879
|
* @readonly
|
|
1880
1880
|
*/
|
|
1881
1881
|
compareAtPriceRange?: PriceRange;
|
|
@@ -4057,7 +4057,7 @@ interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
|
|
|
4057
4057
|
* When not empty, only these images are shown when a customer selects this choice. Otherwise, all product images are shown.
|
|
4058
4058
|
* When multiple choices from different options are selected, only media present in `linkedMedia` of ALL selected choices are shown.
|
|
4059
4059
|
* 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
|
|
4060
|
+
* @maxSize 15
|
|
4061
4061
|
*/
|
|
4062
4062
|
linkedMedia?: ProductMedia[];
|
|
4063
4063
|
/** Choice type. */
|
|
@@ -4195,7 +4195,7 @@ interface ConnectedModifierChoice extends ConnectedModifierChoiceValueOneOf {
|
|
|
4195
4195
|
choiceId?: string | null;
|
|
4196
4196
|
/**
|
|
4197
4197
|
* Product media.
|
|
4198
|
-
* @maxSize
|
|
4198
|
+
* @maxSize 15
|
|
4199
4199
|
*/
|
|
4200
4200
|
linkedMedia?: ProductMedia[];
|
|
4201
4201
|
/** Choice type. */
|
|
@@ -4295,7 +4295,7 @@ interface Ribbon {
|
|
|
4295
4295
|
}
|
|
4296
4296
|
interface ProductCategoriesInfo {
|
|
4297
4297
|
/**
|
|
4298
|
-
* A list of categories related to product.
|
|
4298
|
+
* A list of categories related to the product.
|
|
4299
4299
|
* @readonly
|
|
4300
4300
|
* @maxSize 2000
|
|
4301
4301
|
*/
|
|
@@ -4308,14 +4308,14 @@ interface ProductCategory {
|
|
|
4308
4308
|
*/
|
|
4309
4309
|
_id?: string;
|
|
4310
4310
|
/**
|
|
4311
|
-
* Index location of the product within the category, which can be utilized for sorting products in a specific category. For detailed instructions on how to set this up, refer to the [Add and arrange products in category](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/products-v3/sample-use-cases-and-flows#add-and-arrange-products-in-category) sample flow.
|
|
4311
|
+
* Index location of the product within the category, which can be utilized for sorting products in a specific category. For detailed instructions on how to set this up, refer to the [Add and arrange products in a category](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/products-v3/sample-use-cases-and-flows#add-and-arrange-products-in-a-category) sample flow.
|
|
4312
4312
|
* @max 200
|
|
4313
4313
|
*/
|
|
4314
4314
|
index?: number | null;
|
|
4315
4315
|
}
|
|
4316
4316
|
interface ProductCategoryIdsInfo {
|
|
4317
4317
|
/**
|
|
4318
|
-
* A list of category ids related to product.
|
|
4318
|
+
* A list of category ids related to the product.
|
|
4319
4319
|
* @readonly
|
|
4320
4320
|
* @maxSize 2000
|
|
4321
4321
|
* @format GUID
|
|
@@ -4555,10 +4555,11 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
4555
4555
|
*/
|
|
4556
4556
|
barcode?: string | null;
|
|
4557
4557
|
/**
|
|
4558
|
-
* List of choices that define
|
|
4558
|
+
* List of choices that define this variant. Each variant must have exactly one choice for each product option.
|
|
4559
|
+
*
|
|
4559
4560
|
* Must use `optionChoiceNames` in all requests this field is required.
|
|
4560
4561
|
*
|
|
4561
|
-
* For products without options
|
|
4562
|
+
* For products without options, this array is empty, representing a single "default variant".
|
|
4562
4563
|
* @maxSize 6
|
|
4563
4564
|
* @immutable
|
|
4564
4565
|
*/
|
|
@@ -4637,9 +4638,9 @@ interface OptionChoiceNames {
|
|
|
4637
4638
|
renderType?: ProductOptionRenderTypeWithLiterals;
|
|
4638
4639
|
}
|
|
4639
4640
|
interface PriceInfo {
|
|
4640
|
-
/** Variant price. Must be greater or equal to 0. */
|
|
4641
|
+
/** Variant's current selling price. Must be greater than or equal to 0. */
|
|
4641
4642
|
actualPrice?: FixedMonetaryAmount;
|
|
4642
|
-
/**
|
|
4643
|
+
/** Original price before any discount, shown with a strikethrough in the UI of Wix sites. Only set this if a discount applies. When set, it should be higher than `actualPrice` to reflect savings. */
|
|
4643
4644
|
compareAtPrice?: FixedMonetaryAmount;
|
|
4644
4645
|
}
|
|
4645
4646
|
interface RevenueDetails {
|
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.47",
|
|
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": "0d7bf10dc94e43873291ef41226236f87c3a3f6115ad8715e78120ba"
|
|
54
54
|
}
|