@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
|
@@ -1826,6 +1826,8 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1826
1826
|
costRange?: PriceRange;
|
|
1827
1827
|
/**
|
|
1828
1828
|
* Product inventory info.
|
|
1829
|
+
*
|
|
1830
|
+
* > **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.
|
|
1829
1831
|
* @readonly
|
|
1830
1832
|
*/
|
|
1831
1833
|
inventory?: Inventory;
|
|
@@ -1839,12 +1841,19 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1839
1841
|
/**
|
|
1840
1842
|
* A unique human-friendly identifier for the product.
|
|
1841
1843
|
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
1842
|
-
*
|
|
1844
|
+
* This is particularly useful when re-importing products from other systems, as it provides a stable identifier.
|
|
1845
|
+
* If no handle is provided, one is automatically generated.
|
|
1843
1846
|
* @minLength 1
|
|
1844
1847
|
* @maxLength 100
|
|
1845
1848
|
* @readonly
|
|
1846
1849
|
*/
|
|
1847
1850
|
handle?: string | null;
|
|
1851
|
+
/**
|
|
1852
|
+
* ID of the last import job that affected the product.
|
|
1853
|
+
* @internal
|
|
1854
|
+
* @format GUID
|
|
1855
|
+
*/
|
|
1856
|
+
importId?: string | null;
|
|
1848
1857
|
/**
|
|
1849
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.
|
|
1850
1859
|
*
|
|
@@ -1870,6 +1879,12 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1870
1879
|
* @readonly
|
|
1871
1880
|
*/
|
|
1872
1881
|
compareAtPriceRange?: PriceRange;
|
|
1882
|
+
/**
|
|
1883
|
+
* Optional - ID of the app that manages the inventory for this product.
|
|
1884
|
+
* @internal
|
|
1885
|
+
* @format GUID
|
|
1886
|
+
*/
|
|
1887
|
+
inventoryAppId?: string | null;
|
|
1873
1888
|
/**
|
|
1874
1889
|
* Product variants. Each variant must reference all product options via its `choices` array.
|
|
1875
1890
|
* Each choice references an option using `optionChoiceNames` for all requests.
|
|
@@ -1878,10 +1893,14 @@ interface Product extends ProductTypedPropertiesOneOf {
|
|
|
1878
1893
|
/**
|
|
1879
1894
|
* Custom extended fields for the product object.
|
|
1880
1895
|
*
|
|
1881
|
-
* [Extended fields](https://dev.wix.com/docs/
|
|
1896
|
+
* [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.
|
|
1882
1897
|
*/
|
|
1883
1898
|
extendedFields?: ExtendedFields;
|
|
1884
|
-
/**
|
|
1899
|
+
/**
|
|
1900
|
+
* Product subscriptions.
|
|
1901
|
+
*
|
|
1902
|
+
* 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.
|
|
1903
|
+
*/
|
|
1885
1904
|
subscriptionDetails?: SubscriptionDetails;
|
|
1886
1905
|
/**
|
|
1887
1906
|
* The total number of variants for the product.
|
|
@@ -3783,6 +3802,7 @@ interface TextNodeStyle {
|
|
|
3783
3802
|
interface Media {
|
|
3784
3803
|
/**
|
|
3785
3804
|
* Main media (image, video, etc.) associated with this product.
|
|
3805
|
+
* Automatically set to the first item in the media list.
|
|
3786
3806
|
* @readonly
|
|
3787
3807
|
*/
|
|
3788
3808
|
main?: ProductMedia;
|
|
@@ -4288,7 +4308,7 @@ interface ProductCategory {
|
|
|
4288
4308
|
*/
|
|
4289
4309
|
_id?: string;
|
|
4290
4310
|
/**
|
|
4291
|
-
* 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/
|
|
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.
|
|
4292
4312
|
* @max 200
|
|
4293
4313
|
*/
|
|
4294
4314
|
index?: number | null;
|
|
@@ -4537,7 +4557,8 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
4537
4557
|
/**
|
|
4538
4558
|
* List of choices that define the product's variant, which requires exactly one choice per product option.
|
|
4539
4559
|
* Must use `optionChoiceNames` in all requests this field is required.
|
|
4540
|
-
*
|
|
4560
|
+
*
|
|
4561
|
+
* For products without options (simple products), this array is empty. These products have a single "default variant" that represents the product itself.
|
|
4541
4562
|
* @maxSize 6
|
|
4542
4563
|
* @immutable
|
|
4543
4564
|
*/
|
|
@@ -4673,7 +4694,10 @@ interface PricePerUnit {
|
|
|
4673
4694
|
description?: string | null;
|
|
4674
4695
|
}
|
|
4675
4696
|
interface VariantDigitalProperties {
|
|
4676
|
-
/**
|
|
4697
|
+
/**
|
|
4698
|
+
* Digital file which will be downloaded by the buyer after successful purchase.
|
|
4699
|
+
* Each variant can have a different digital file, allowing you to offer different content per variant.
|
|
4700
|
+
*/
|
|
4677
4701
|
digitalFile?: SecuredMedia;
|
|
4678
4702
|
}
|
|
4679
4703
|
interface SecuredMedia {
|
|
@@ -4791,6 +4815,13 @@ interface SubscriptionDetails {
|
|
|
4791
4815
|
* Default: `false`
|
|
4792
4816
|
*/
|
|
4793
4817
|
allowOneTimePurchases?: boolean | null;
|
|
4818
|
+
/**
|
|
4819
|
+
* Whether to add a 'Cancel subscription' button to the My Subscriptions tab of the [Members Area page](https://support.wix.com/en/article/site-members-about-the-members-area).
|
|
4820
|
+
*
|
|
4821
|
+
* Default: `false`
|
|
4822
|
+
* @internal
|
|
4823
|
+
*/
|
|
4824
|
+
enableCustomerCancellation?: boolean | null;
|
|
4794
4825
|
}
|
|
4795
4826
|
interface Subscription extends SubscriptionCyclesOneOf {
|
|
4796
4827
|
/** Whether subscription is renewed automatically at the end of each period. Cannot be `false`, instead set `billingCycles`. */
|
|
@@ -5101,6 +5132,12 @@ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYM
|
|
|
5101
5132
|
* For complex queries with free-text search and aggregations, use Search Variants instead.
|
|
5102
5133
|
*
|
|
5103
5134
|
* Up to 1,000 variants can be returned per request.
|
|
5135
|
+
*
|
|
5136
|
+
* To learn about working with _Query_ endpoints, see
|
|
5137
|
+
* [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),
|
|
5138
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
5139
|
+
*
|
|
5140
|
+
* Learn more about the differences between [_Query_ and _Search_](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-search-query-and-list-methods) methods.
|
|
5104
5141
|
* @public
|
|
5105
5142
|
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ
|
|
5106
5143
|
* @permissionId WIX_STORES.READ_ONLY_VARIANT_READ_HIDDEN
|
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.45",
|
|
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": "66906f797fb62f4630122215d35f2c8013a360d4997b893d4d73f283"
|
|
54
54
|
}
|