@wix/stores 1.0.201 → 1.0.203
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 +14 -13
- package/build/cjs/index.js +26 -13
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.ts +14 -13
- package/build/es/index.js +14 -13
- package/build/es/index.js.map +1 -1
- package/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +23 -9
- package/type-bundles/index.bundle.d.ts +23 -9
- package/type-bundles/meta.bundle.d.ts +22 -6
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as wishlist from '@wix/stores_wishlist';
|
|
2
|
+
import * as collections from '@wix/stores_collections';
|
|
3
|
+
import * as products from '@wix/stores_products';
|
|
4
|
+
import * as brandsV3 from '@wix/stores_brands-v-3';
|
|
5
|
+
import * as customizationsV3 from '@wix/stores_customizations-v-3';
|
|
6
|
+
import * as infoSectionsV3 from '@wix/stores_info-sections-v-3';
|
|
7
|
+
import * as inventoryItemsV3 from '@wix/stores_inventory-items-v-3';
|
|
8
|
+
import * as productsV3 from '@wix/stores_products-v-3';
|
|
9
|
+
import * as catalogProvision from '@wix/stores_catalog-provision';
|
|
10
|
+
import * as ribbonsV3 from '@wix/stores_ribbons-v-3';
|
|
11
|
+
import * as storesLocationsV3 from '@wix/stores_stores-locations-v-3';
|
|
12
|
+
import * as subscriptionOptions from '@wix/stores_subscription-options';
|
|
13
|
+
import * as inventory from '@wix/stores_inventory';
|
|
14
|
+
export { wishlist, collections, products, brandsV3, customizationsV3, infoSectionsV3, inventoryItemsV3, productsV3, catalogProvision, ribbonsV3, storesLocationsV3, subscriptionOptions, inventory, };
|
package/build/cjs/index.js
CHANGED
|
@@ -24,17 +24,30 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.inventory = exports.subscriptionOptions = exports.storesLocationsV3 = exports.ribbonsV3 = exports.catalogProvision = exports.productsV3 = exports.inventoryItemsV3 = exports.infoSectionsV3 = exports.customizationsV3 = exports.brandsV3 = exports.products = exports.collections = exports.wishlist = void 0;
|
|
27
|
-
|
|
28
|
-
exports.
|
|
29
|
-
|
|
30
|
-
exports.
|
|
31
|
-
|
|
32
|
-
exports.
|
|
33
|
-
|
|
34
|
-
exports.
|
|
35
|
-
|
|
36
|
-
exports.
|
|
37
|
-
|
|
38
|
-
exports.
|
|
39
|
-
|
|
27
|
+
const wishlist = __importStar(require("@wix/stores_wishlist"));
|
|
28
|
+
exports.wishlist = wishlist;
|
|
29
|
+
const collections = __importStar(require("@wix/stores_collections"));
|
|
30
|
+
exports.collections = collections;
|
|
31
|
+
const products = __importStar(require("@wix/stores_products"));
|
|
32
|
+
exports.products = products;
|
|
33
|
+
const brandsV3 = __importStar(require("@wix/stores_brands-v-3"));
|
|
34
|
+
exports.brandsV3 = brandsV3;
|
|
35
|
+
const customizationsV3 = __importStar(require("@wix/stores_customizations-v-3"));
|
|
36
|
+
exports.customizationsV3 = customizationsV3;
|
|
37
|
+
const infoSectionsV3 = __importStar(require("@wix/stores_info-sections-v-3"));
|
|
38
|
+
exports.infoSectionsV3 = infoSectionsV3;
|
|
39
|
+
const inventoryItemsV3 = __importStar(require("@wix/stores_inventory-items-v-3"));
|
|
40
|
+
exports.inventoryItemsV3 = inventoryItemsV3;
|
|
41
|
+
const productsV3 = __importStar(require("@wix/stores_products-v-3"));
|
|
42
|
+
exports.productsV3 = productsV3;
|
|
43
|
+
const catalogProvision = __importStar(require("@wix/stores_catalog-provision"));
|
|
44
|
+
exports.catalogProvision = catalogProvision;
|
|
45
|
+
const ribbonsV3 = __importStar(require("@wix/stores_ribbons-v-3"));
|
|
46
|
+
exports.ribbonsV3 = ribbonsV3;
|
|
47
|
+
const storesLocationsV3 = __importStar(require("@wix/stores_stores-locations-v-3"));
|
|
48
|
+
exports.storesLocationsV3 = storesLocationsV3;
|
|
49
|
+
const subscriptionOptions = __importStar(require("@wix/stores_subscription-options"));
|
|
50
|
+
exports.subscriptionOptions = subscriptionOptions;
|
|
51
|
+
const inventory = __importStar(require("@wix/stores_inventory"));
|
|
52
|
+
exports.inventory = inventory;
|
|
40
53
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAiD;AAe/C,4BAAQ;AAdV,qEAAuD;AAerD,kCAAW;AAdb,+DAAiD;AAe/C,4BAAQ;AAdV,iEAAmD;AAejD,4BAAQ;AAdV,iFAAmE;AAejE,4CAAgB;AAdlB,8EAAgE;AAe9D,wCAAc;AAdhB,kFAAoE;AAelE,4CAAgB;AAdlB,qEAAuD;AAerD,gCAAU;AAdZ,gFAAkE;AAehE,4CAAgB;AAdlB,mEAAqD;AAenD,8BAAS;AAdX,oFAAsE;AAepE,8CAAiB;AAdnB,sFAAwE;AAetE,kDAAmB;AAdrB,iEAAmD;AAejD,8BAAS"}
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as wishlist from '@wix/stores_wishlist';
|
|
2
|
+
import * as collections from '@wix/stores_collections';
|
|
3
|
+
import * as products from '@wix/stores_products';
|
|
4
|
+
import * as brandsV3 from '@wix/stores_brands-v-3';
|
|
5
|
+
import * as customizationsV3 from '@wix/stores_customizations-v-3';
|
|
6
|
+
import * as infoSectionsV3 from '@wix/stores_info-sections-v-3';
|
|
7
|
+
import * as inventoryItemsV3 from '@wix/stores_inventory-items-v-3';
|
|
8
|
+
import * as productsV3 from '@wix/stores_products-v-3';
|
|
9
|
+
import * as catalogProvision from '@wix/stores_catalog-provision';
|
|
10
|
+
import * as ribbonsV3 from '@wix/stores_ribbons-v-3';
|
|
11
|
+
import * as storesLocationsV3 from '@wix/stores_stores-locations-v-3';
|
|
12
|
+
import * as subscriptionOptions from '@wix/stores_subscription-options';
|
|
13
|
+
import * as inventory from '@wix/stores_inventory';
|
|
14
|
+
export { wishlist, collections, products, brandsV3, customizationsV3, infoSectionsV3, inventoryItemsV3, productsV3, catalogProvision, ribbonsV3, storesLocationsV3, subscriptionOptions, inventory, };
|
package/build/es/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as wishlist from '@wix/stores_wishlist';
|
|
2
|
+
import * as collections from '@wix/stores_collections';
|
|
3
|
+
import * as products from '@wix/stores_products';
|
|
4
|
+
import * as brandsV3 from '@wix/stores_brands-v-3';
|
|
5
|
+
import * as customizationsV3 from '@wix/stores_customizations-v-3';
|
|
6
|
+
import * as infoSectionsV3 from '@wix/stores_info-sections-v-3';
|
|
7
|
+
import * as inventoryItemsV3 from '@wix/stores_inventory-items-v-3';
|
|
8
|
+
import * as productsV3 from '@wix/stores_products-v-3';
|
|
9
|
+
import * as catalogProvision from '@wix/stores_catalog-provision';
|
|
10
|
+
import * as ribbonsV3 from '@wix/stores_ribbons-v-3';
|
|
11
|
+
import * as storesLocationsV3 from '@wix/stores_stores-locations-v-3';
|
|
12
|
+
import * as subscriptionOptions from '@wix/stores_subscription-options';
|
|
13
|
+
import * as inventory from '@wix/stores_inventory';
|
|
14
|
+
export { wishlist, collections, products, brandsV3, customizationsV3, infoSectionsV3, inventoryItemsV3, productsV3, catalogProvision, ribbonsV3, storesLocationsV3, subscriptionOptions, inventory, };
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,gBAAgB,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,cAAc,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,iBAAiB,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,mBAAmB,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,gBAAgB,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,cAAc,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,iBAAiB,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,mBAAmB,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,GACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.203",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@wix/stores_inventory": "1.0.34",
|
|
27
27
|
"@wix/stores_inventory-items-v-3": "1.0.9",
|
|
28
28
|
"@wix/stores_products": "1.0.44",
|
|
29
|
-
"@wix/stores_products-v-3": "1.0.
|
|
29
|
+
"@wix/stores_products-v-3": "1.0.23",
|
|
30
30
|
"@wix/stores_ribbons-v-3": "1.0.7",
|
|
31
31
|
"@wix/stores_stores-locations-v-3": "1.0.6",
|
|
32
32
|
"@wix/stores_subscription-options": "1.0.32",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"fqdn": ""
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
"falconPackageHash": "
|
|
58
|
+
"falconPackageHash": "07b9f9c74dee525af20fe6f776fc04314486186e74b7488b7d06cff2"
|
|
59
59
|
}
|
|
@@ -9393,6 +9393,12 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
9393
9393
|
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
9394
9394
|
*/
|
|
9395
9395
|
productType?: ProductType;
|
|
9396
|
+
/**
|
|
9397
|
+
* A unique human-friendly identifier for the product.
|
|
9398
|
+
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
9399
|
+
* In case handle wasn't given, the handle will be automatically generated.
|
|
9400
|
+
*/
|
|
9401
|
+
handle?: string | null;
|
|
9396
9402
|
/**
|
|
9397
9403
|
* 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.
|
|
9398
9404
|
*
|
|
@@ -10958,7 +10964,7 @@ interface InfoSection {
|
|
|
10958
10964
|
title?: string | null;
|
|
10959
10965
|
/**
|
|
10960
10966
|
* Info section description using rich content. Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
|
|
10961
|
-
* > **Note:** Returned only when you pass `"
|
|
10967
|
+
* > **Note:** Returned only when you pass `"INFO_SECTION_DESCRIPTION"` to the `fields` array in Products API requests.
|
|
10962
10968
|
* @readonly
|
|
10963
10969
|
*/
|
|
10964
10970
|
description?: RichContent;
|
|
@@ -11737,7 +11743,8 @@ declare enum SingleEntityOpsRequestedFields {
|
|
|
11737
11743
|
DESCRIPTION = "DESCRIPTION",
|
|
11738
11744
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
11739
11745
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
11740
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
11746
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
11747
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
11741
11748
|
}
|
|
11742
11749
|
interface CreateProductResponse {
|
|
11743
11750
|
/** Created product. */
|
|
@@ -12262,7 +12269,8 @@ declare enum RequestedFields$1 {
|
|
|
12262
12269
|
DESCRIPTION = "DESCRIPTION",
|
|
12263
12270
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
12264
12271
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
12265
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
12272
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
12273
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
12266
12274
|
}
|
|
12267
12275
|
interface BulkCreateProductsResponse {
|
|
12268
12276
|
/** Products created by bulk action. */
|
|
@@ -15366,6 +15374,12 @@ interface UpdateProduct {
|
|
|
15366
15374
|
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
15367
15375
|
*/
|
|
15368
15376
|
productType?: ProductType;
|
|
15377
|
+
/**
|
|
15378
|
+
* A unique human-friendly identifier for the product.
|
|
15379
|
+
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
15380
|
+
* In case handle wasn't given, the handle will be automatically generated.
|
|
15381
|
+
*/
|
|
15382
|
+
handle?: string | null;
|
|
15369
15383
|
/**
|
|
15370
15384
|
* 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.
|
|
15371
15385
|
*
|
|
@@ -15630,12 +15644,12 @@ interface ProductsQueryBuilder {
|
|
|
15630
15644
|
* @param value - Value to compare against.
|
|
15631
15645
|
* @documentationMaturity preview
|
|
15632
15646
|
*/
|
|
15633
|
-
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any) => ProductsQueryBuilder;
|
|
15647
|
+
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any) => ProductsQueryBuilder;
|
|
15634
15648
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
15635
15649
|
* @param value - Value to compare against.
|
|
15636
15650
|
* @documentationMaturity preview
|
|
15637
15651
|
*/
|
|
15638
|
-
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any) => ProductsQueryBuilder;
|
|
15652
|
+
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any) => ProductsQueryBuilder;
|
|
15639
15653
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
15640
15654
|
* @param value - Value to compare against.
|
|
15641
15655
|
* @documentationMaturity preview
|
|
@@ -15660,16 +15674,16 @@ interface ProductsQueryBuilder {
|
|
|
15660
15674
|
* @param string - String to compare against. Case-insensitive.
|
|
15661
15675
|
* @documentationMaturity preview
|
|
15662
15676
|
*/
|
|
15663
|
-
startsWith: (propertyName: '_id' | 'slug' | 'options.id', value: string) => ProductsQueryBuilder;
|
|
15677
|
+
startsWith: (propertyName: '_id' | 'slug' | 'options.id' | 'handle', value: string) => ProductsQueryBuilder;
|
|
15664
15678
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
15665
15679
|
* @param values - List of values to compare against.
|
|
15666
15680
|
* @documentationMaturity preview
|
|
15667
15681
|
*/
|
|
15668
|
-
hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any[]) => ProductsQueryBuilder;
|
|
15682
|
+
hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any[]) => ProductsQueryBuilder;
|
|
15669
15683
|
/** @documentationMaturity preview */
|
|
15670
|
-
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any) => ProductsQueryBuilder;
|
|
15684
|
+
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any) => ProductsQueryBuilder;
|
|
15671
15685
|
/** @documentationMaturity preview */
|
|
15672
|
-
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: boolean) => ProductsQueryBuilder;
|
|
15686
|
+
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: boolean) => ProductsQueryBuilder;
|
|
15673
15687
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
15674
15688
|
* @documentationMaturity preview
|
|
15675
15689
|
*/
|
|
@@ -9393,6 +9393,12 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
9393
9393
|
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
9394
9394
|
*/
|
|
9395
9395
|
productType?: ProductType;
|
|
9396
|
+
/**
|
|
9397
|
+
* A unique human-friendly identifier for the product.
|
|
9398
|
+
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
9399
|
+
* In case handle wasn't given, the handle will be automatically generated.
|
|
9400
|
+
*/
|
|
9401
|
+
handle?: string | null;
|
|
9396
9402
|
/**
|
|
9397
9403
|
* 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.
|
|
9398
9404
|
*
|
|
@@ -10958,7 +10964,7 @@ interface InfoSection {
|
|
|
10958
10964
|
title?: string | null;
|
|
10959
10965
|
/**
|
|
10960
10966
|
* Info section description using rich content. Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
|
|
10961
|
-
* > **Note:** Returned only when you pass `"
|
|
10967
|
+
* > **Note:** Returned only when you pass `"INFO_SECTION_DESCRIPTION"` to the `fields` array in Products API requests.
|
|
10962
10968
|
* @readonly
|
|
10963
10969
|
*/
|
|
10964
10970
|
description?: RichContent;
|
|
@@ -11737,7 +11743,8 @@ declare enum SingleEntityOpsRequestedFields {
|
|
|
11737
11743
|
DESCRIPTION = "DESCRIPTION",
|
|
11738
11744
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
11739
11745
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
11740
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
11746
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
11747
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
11741
11748
|
}
|
|
11742
11749
|
interface CreateProductResponse {
|
|
11743
11750
|
/** Created product. */
|
|
@@ -12262,7 +12269,8 @@ declare enum RequestedFields$1 {
|
|
|
12262
12269
|
DESCRIPTION = "DESCRIPTION",
|
|
12263
12270
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
12264
12271
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
12265
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
12272
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
12273
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
12266
12274
|
}
|
|
12267
12275
|
interface BulkCreateProductsResponse {
|
|
12268
12276
|
/** Products created by bulk action. */
|
|
@@ -15366,6 +15374,12 @@ interface UpdateProduct {
|
|
|
15366
15374
|
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
15367
15375
|
*/
|
|
15368
15376
|
productType?: ProductType;
|
|
15377
|
+
/**
|
|
15378
|
+
* A unique human-friendly identifier for the product.
|
|
15379
|
+
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
15380
|
+
* In case handle wasn't given, the handle will be automatically generated.
|
|
15381
|
+
*/
|
|
15382
|
+
handle?: string | null;
|
|
15369
15383
|
/**
|
|
15370
15384
|
* 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.
|
|
15371
15385
|
*
|
|
@@ -15630,12 +15644,12 @@ interface ProductsQueryBuilder {
|
|
|
15630
15644
|
* @param value - Value to compare against.
|
|
15631
15645
|
* @documentationMaturity preview
|
|
15632
15646
|
*/
|
|
15633
|
-
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any) => ProductsQueryBuilder;
|
|
15647
|
+
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any) => ProductsQueryBuilder;
|
|
15634
15648
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
15635
15649
|
* @param value - Value to compare against.
|
|
15636
15650
|
* @documentationMaturity preview
|
|
15637
15651
|
*/
|
|
15638
|
-
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any) => ProductsQueryBuilder;
|
|
15652
|
+
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any) => ProductsQueryBuilder;
|
|
15639
15653
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
15640
15654
|
* @param value - Value to compare against.
|
|
15641
15655
|
* @documentationMaturity preview
|
|
@@ -15660,16 +15674,16 @@ interface ProductsQueryBuilder {
|
|
|
15660
15674
|
* @param string - String to compare against. Case-insensitive.
|
|
15661
15675
|
* @documentationMaturity preview
|
|
15662
15676
|
*/
|
|
15663
|
-
startsWith: (propertyName: '_id' | 'slug' | 'options.id', value: string) => ProductsQueryBuilder;
|
|
15677
|
+
startsWith: (propertyName: '_id' | 'slug' | 'options.id' | 'handle', value: string) => ProductsQueryBuilder;
|
|
15664
15678
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
15665
15679
|
* @param values - List of values to compare against.
|
|
15666
15680
|
* @documentationMaturity preview
|
|
15667
15681
|
*/
|
|
15668
|
-
hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any[]) => ProductsQueryBuilder;
|
|
15682
|
+
hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any[]) => ProductsQueryBuilder;
|
|
15669
15683
|
/** @documentationMaturity preview */
|
|
15670
|
-
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: any) => ProductsQueryBuilder;
|
|
15684
|
+
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: any) => ProductsQueryBuilder;
|
|
15671
15685
|
/** @documentationMaturity preview */
|
|
15672
|
-
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id', value: boolean) => ProductsQueryBuilder;
|
|
15686
|
+
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'slug' | 'visible' | 'options.id' | 'handle', value: boolean) => ProductsQueryBuilder;
|
|
15673
15687
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
15674
15688
|
* @documentationMaturity preview
|
|
15675
15689
|
*/
|
|
@@ -11332,6 +11332,12 @@ interface V3Product$1 extends V3ProductTypedPropertiesOneOf$1 {
|
|
|
11332
11332
|
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
11333
11333
|
*/
|
|
11334
11334
|
productType?: ProductType$1;
|
|
11335
|
+
/**
|
|
11336
|
+
* A unique human-friendly identifier for the product.
|
|
11337
|
+
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
11338
|
+
* In case handle wasn't given, the handle will be automatically generated.
|
|
11339
|
+
*/
|
|
11340
|
+
handle?: string | null;
|
|
11335
11341
|
/**
|
|
11336
11342
|
* 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.
|
|
11337
11343
|
*
|
|
@@ -12917,7 +12923,7 @@ interface InfoSection$1 {
|
|
|
12917
12923
|
title?: string | null;
|
|
12918
12924
|
/**
|
|
12919
12925
|
* Info section description using rich content. Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
|
|
12920
|
-
* > **Note:** Returned only when you pass `"
|
|
12926
|
+
* > **Note:** Returned only when you pass `"INFO_SECTION_DESCRIPTION"` to the `fields` array in Products API requests.
|
|
12921
12927
|
* @readonly
|
|
12922
12928
|
*/
|
|
12923
12929
|
description?: RichContent$1;
|
|
@@ -13441,7 +13447,8 @@ declare enum SingleEntityOpsRequestedFields$1 {
|
|
|
13441
13447
|
DESCRIPTION = "DESCRIPTION",
|
|
13442
13448
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
13443
13449
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
13444
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
13450
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
13451
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
13445
13452
|
}
|
|
13446
13453
|
interface CreateProductResponse$1 {
|
|
13447
13454
|
/** Created product. */
|
|
@@ -13952,7 +13959,8 @@ declare enum RequestedFields$3 {
|
|
|
13952
13959
|
DESCRIPTION = "DESCRIPTION",
|
|
13953
13960
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
13954
13961
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
13955
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
13962
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
13963
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
13956
13964
|
}
|
|
13957
13965
|
interface BulkCreateProductsResponse$1 {
|
|
13958
13966
|
/** Products created by bulk action. */
|
|
@@ -15695,6 +15703,12 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
15695
15703
|
* When passing `productType: PHYSICAL`, you must also pass `physicalProperties`.
|
|
15696
15704
|
*/
|
|
15697
15705
|
productType?: ProductType;
|
|
15706
|
+
/**
|
|
15707
|
+
* A unique human-friendly identifier for the product.
|
|
15708
|
+
* Unlike the product ID, the handle can be set by the user to ensure consistency across multiple platforms.
|
|
15709
|
+
* In case handle wasn't given, the handle will be automatically generated.
|
|
15710
|
+
*/
|
|
15711
|
+
handle?: string | null;
|
|
15698
15712
|
/**
|
|
15699
15713
|
* 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.
|
|
15700
15714
|
*
|
|
@@ -17223,7 +17237,7 @@ interface InfoSection {
|
|
|
17223
17237
|
title?: string | null;
|
|
17224
17238
|
/**
|
|
17225
17239
|
* Info section description using rich content. Learn more about [Working with Rich Content](https://dev.wix.com/docs/go-headless/tutorials-templates/other-tutorials/working-with-rich-content).
|
|
17226
|
-
* > **Note:** Returned only when you pass `"
|
|
17240
|
+
* > **Note:** Returned only when you pass `"INFO_SECTION_DESCRIPTION"` to the `fields` array in Products API requests.
|
|
17227
17241
|
* @readonly
|
|
17228
17242
|
*/
|
|
17229
17243
|
description?: RichContent;
|
|
@@ -17747,7 +17761,8 @@ declare enum SingleEntityOpsRequestedFields {
|
|
|
17747
17761
|
DESCRIPTION = "DESCRIPTION",
|
|
17748
17762
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
17749
17763
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
17750
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
17764
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
17765
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
17751
17766
|
}
|
|
17752
17767
|
interface CreateProductResponse {
|
|
17753
17768
|
/** Created product. */
|
|
@@ -18258,7 +18273,8 @@ declare enum RequestedFields$2 {
|
|
|
18258
18273
|
DESCRIPTION = "DESCRIPTION",
|
|
18259
18274
|
DIRECT_CATEGORIES_INFO = "DIRECT_CATEGORIES_INFO",
|
|
18260
18275
|
ALL_CATEGORIES_INFO = "ALL_CATEGORIES_INFO",
|
|
18261
|
-
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO"
|
|
18276
|
+
MIN_VARIANT_PRICE_INFO = "MIN_VARIANT_PRICE_INFO",
|
|
18277
|
+
INFO_SECTION_DESCRIPTION = "INFO_SECTION_DESCRIPTION"
|
|
18262
18278
|
}
|
|
18263
18279
|
interface BulkCreateProductsResponse {
|
|
18264
18280
|
/** Products created by bulk action. */
|