@wix/auto_sdk_stores_read-only-variants-v-3 1.0.44 → 1.0.45
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 +8 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +19 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-11ZHjQPT.d.ts → cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BNZPBN80.d.ts} +24 -25
- package/build/es/index.d.mts +8 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +19 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/{internal/es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-11ZHjQPT.d.mts → es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BNZPBN80.d.mts} +24 -25
- package/build/internal/cjs/index.d.ts +8 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +19 -7
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D4WyK7_Y.d.ts → internal/cjs/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DIjkz6cb.d.ts} +43 -6
- package/build/internal/es/index.d.mts +8 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +19 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/{es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-D4WyK7_Y.d.mts → internal/es/stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DIjkz6cb.d.mts} +43 -6
- 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-
|
|
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-DIjkz6cb.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1879,6 +1879,8 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1879
1879
|
costRange?: PriceRange;
|
|
1880
1880
|
/**
|
|
1881
1881
|
* Product inventory info.
|
|
1882
|
+
*
|
|
1883
|
+
* > **Note:** This field reflects the aggregated inventory status from the default location only. Use the [Inventory Items API](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/inventory-items-v3/introduction) to manage inventory for specific locations.
|
|
1882
1884
|
* @readonly
|
|
1883
1885
|
*/
|
|
1884
1886
|
inventory?: Inventory;
|
|
@@ -1892,7 +1894,8 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1892
1894
|
/**
|
|
1893
1895
|
* A unique human-friendly identifier for the product.
|
|
1894
1896
|
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
1895
|
-
*
|
|
1897
|
+
* This is particularly useful when re-importing products from other systems, as it provides a stable identifier.
|
|
1898
|
+
* If no handle is provided, one is automatically generated.
|
|
1896
1899
|
* @minLength 1
|
|
1897
1900
|
* @maxLength 100
|
|
1898
1901
|
* @readonly
|
|
@@ -1931,10 +1934,14 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1931
1934
|
/**
|
|
1932
1935
|
* Custom extended fields for the product object.
|
|
1933
1936
|
*
|
|
1934
|
-
* [Extended fields](https://dev.wix.com/docs/
|
|
1937
|
+
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
1935
1938
|
*/
|
|
1936
1939
|
extendedFields?: ExtendedFields;
|
|
1937
|
-
/**
|
|
1940
|
+
/**
|
|
1941
|
+
* Product subscriptions.
|
|
1942
|
+
*
|
|
1943
|
+
* Subscription discounts are defined at the product level but apply to each variant's `actualPrice`. This means the final subscription price varies per variant based on the variant's base price.
|
|
1944
|
+
*/
|
|
1938
1945
|
subscriptionDetails?: SubscriptionDetails;
|
|
1939
1946
|
/**
|
|
1940
1947
|
* The total number of variants for the product.
|
|
@@ -3842,6 +3849,7 @@ interface TextNodeStyle {
|
|
|
3842
3849
|
interface Media {
|
|
3843
3850
|
/**
|
|
3844
3851
|
* Main media (image, video, etc.) associated with this product.
|
|
3852
|
+
* Automatically set to the first item in the media list.
|
|
3845
3853
|
* @readonly
|
|
3846
3854
|
*/
|
|
3847
3855
|
main?: ProductMedia;
|
|
@@ -4399,7 +4407,7 @@ interface ProductCategory {
|
|
|
4399
4407
|
*/
|
|
4400
4408
|
id?: string;
|
|
4401
4409
|
/**
|
|
4402
|
-
* 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/
|
|
4410
|
+
* 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.
|
|
4403
4411
|
* @max 200
|
|
4404
4412
|
*/
|
|
4405
4413
|
index?: number | null;
|
|
@@ -4648,7 +4656,8 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
4648
4656
|
/**
|
|
4649
4657
|
* List of choices that define the product's variant, which requires exactly one choice per product option.
|
|
4650
4658
|
* Must use `optionChoiceNames` in all requests this field is required.
|
|
4651
|
-
*
|
|
4659
|
+
*
|
|
4660
|
+
* For products without options (simple products), this array is empty. These products have a single "default variant" that represents the product itself.
|
|
4652
4661
|
* @maxSize 6
|
|
4653
4662
|
* @immutable
|
|
4654
4663
|
*/
|
|
@@ -4784,7 +4793,10 @@ interface PricePerUnit {
|
|
|
4784
4793
|
description?: string | null;
|
|
4785
4794
|
}
|
|
4786
4795
|
interface VariantDigitalProperties {
|
|
4787
|
-
/**
|
|
4796
|
+
/**
|
|
4797
|
+
* Digital file which will be downloaded by the buyer after successful purchase.
|
|
4798
|
+
* Each variant can have a different digital file, allowing you to offer different content per variant.
|
|
4799
|
+
*/
|
|
4788
4800
|
digitalFile?: SecuredMedia;
|
|
4789
4801
|
}
|
|
4790
4802
|
interface SecuredMedia {
|