@wix/stores 1.0.318 → 1.0.320
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.320",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@wix/stores_customizations-v-3": "1.0.32",
|
|
28
28
|
"@wix/stores_info-sections-v-3": "1.0.31",
|
|
29
29
|
"@wix/stores_inventory": "1.0.68",
|
|
30
|
-
"@wix/stores_inventory-items-v-3": "1.0.
|
|
30
|
+
"@wix/stores_inventory-items-v-3": "1.0.38",
|
|
31
31
|
"@wix/stores_products": "1.0.93",
|
|
32
|
-
"@wix/stores_products-v-3": "1.0.
|
|
32
|
+
"@wix/stores_products-v-3": "1.0.84",
|
|
33
33
|
"@wix/stores_ribbons-v-3": "1.0.26",
|
|
34
34
|
"@wix/stores_stores-locations-v-3": "1.0.32",
|
|
35
35
|
"@wix/stores_subscription-options": "1.0.50",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"fqdn": ""
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"falconPackageHash": "
|
|
61
|
+
"falconPackageHash": "a8c0b201a4e9673dd36044c5aef4efbbf68f58c65d91c95fb800a011"
|
|
62
62
|
}
|
|
@@ -9900,12 +9900,12 @@ interface InventoryItemsQueryBuilder {
|
|
|
9900
9900
|
* @param value - Value to compare against.
|
|
9901
9901
|
* @documentationMaturity preview
|
|
9902
9902
|
*/
|
|
9903
|
-
eq: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any) => InventoryItemsQueryBuilder;
|
|
9903
|
+
eq: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any) => InventoryItemsQueryBuilder;
|
|
9904
9904
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
9905
9905
|
* @param value - Value to compare against.
|
|
9906
9906
|
* @documentationMaturity preview
|
|
9907
9907
|
*/
|
|
9908
|
-
ne: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any) => InventoryItemsQueryBuilder;
|
|
9908
|
+
ne: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any) => InventoryItemsQueryBuilder;
|
|
9909
9909
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
9910
9910
|
* @param value - Value to compare against.
|
|
9911
9911
|
* @documentationMaturity preview
|
|
@@ -9930,24 +9930,29 @@ interface InventoryItemsQueryBuilder {
|
|
|
9930
9930
|
* @param string - String to compare against. Case-insensitive.
|
|
9931
9931
|
* @documentationMaturity preview
|
|
9932
9932
|
*/
|
|
9933
|
-
startsWith: (propertyName: '_id' | 'variantId' | 'locationId' | 'productId', value: string) => InventoryItemsQueryBuilder;
|
|
9933
|
+
startsWith: (propertyName: '_id' | 'variantId' | 'locationId' | 'productId' | 'product.name' | 'product.variantName' | 'product.variantSku', value: string) => InventoryItemsQueryBuilder;
|
|
9934
9934
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
9935
9935
|
* @param values - List of values to compare against.
|
|
9936
9936
|
* @documentationMaturity preview
|
|
9937
9937
|
*/
|
|
9938
|
-
hasSome: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any[]) => InventoryItemsQueryBuilder;
|
|
9938
|
+
hasSome: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any[]) => InventoryItemsQueryBuilder;
|
|
9939
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
9940
|
+
* @param values - List of values to compare against.
|
|
9941
|
+
* @documentationMaturity preview
|
|
9942
|
+
*/
|
|
9943
|
+
hasAll: (propertyName: 'product.directCategoryIds', value: any[]) => InventoryItemsQueryBuilder;
|
|
9939
9944
|
/** @documentationMaturity preview */
|
|
9940
|
-
in: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any) => InventoryItemsQueryBuilder;
|
|
9945
|
+
in: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any) => InventoryItemsQueryBuilder;
|
|
9941
9946
|
/** @documentationMaturity preview */
|
|
9942
|
-
exists: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: boolean) => InventoryItemsQueryBuilder;
|
|
9947
|
+
exists: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: boolean) => InventoryItemsQueryBuilder;
|
|
9943
9948
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
9944
9949
|
* @documentationMaturity preview
|
|
9945
9950
|
*/
|
|
9946
|
-
ascending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'preorderInfo.enabled'>) => InventoryItemsQueryBuilder;
|
|
9951
|
+
ascending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku'>) => InventoryItemsQueryBuilder;
|
|
9947
9952
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
9948
9953
|
* @documentationMaturity preview
|
|
9949
9954
|
*/
|
|
9950
|
-
descending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'preorderInfo.enabled'>) => InventoryItemsQueryBuilder;
|
|
9955
|
+
descending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku'>) => InventoryItemsQueryBuilder;
|
|
9951
9956
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
9952
9957
|
* @documentationMaturity preview
|
|
9953
9958
|
*/
|
|
@@ -14535,6 +14540,8 @@ interface SearchProductsRequest {
|
|
|
14535
14540
|
* For example, if you have 2 variants: one visible with price 10 and another one not visible with price 20, when inside $matchItems you specify `visible:true` and `price > 15` nothing will be returned because there are no variants which satisfy both conditions.
|
|
14536
14541
|
* You still can use `$isEmpty` and `$exists` operators for fields listed above.
|
|
14537
14542
|
* See examples to understand supported capabilities.
|
|
14543
|
+
* This endpoint does not return variants-info, even though it is part of the entity, as including it would result in overly large response objects.
|
|
14544
|
+
* If you need variants-info, you can retrieve it for a specific product using the getProduct endpoint.
|
|
14538
14545
|
*/
|
|
14539
14546
|
search?: CursorSearch;
|
|
14540
14547
|
/** A list of requested fields to be included in the response. */
|
|
@@ -9900,12 +9900,12 @@ interface InventoryItemsQueryBuilder {
|
|
|
9900
9900
|
* @param value - Value to compare against.
|
|
9901
9901
|
* @documentationMaturity preview
|
|
9902
9902
|
*/
|
|
9903
|
-
eq: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any) => InventoryItemsQueryBuilder;
|
|
9903
|
+
eq: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any) => InventoryItemsQueryBuilder;
|
|
9904
9904
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
9905
9905
|
* @param value - Value to compare against.
|
|
9906
9906
|
* @documentationMaturity preview
|
|
9907
9907
|
*/
|
|
9908
|
-
ne: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any) => InventoryItemsQueryBuilder;
|
|
9908
|
+
ne: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any) => InventoryItemsQueryBuilder;
|
|
9909
9909
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
9910
9910
|
* @param value - Value to compare against.
|
|
9911
9911
|
* @documentationMaturity preview
|
|
@@ -9930,24 +9930,29 @@ interface InventoryItemsQueryBuilder {
|
|
|
9930
9930
|
* @param string - String to compare against. Case-insensitive.
|
|
9931
9931
|
* @documentationMaturity preview
|
|
9932
9932
|
*/
|
|
9933
|
-
startsWith: (propertyName: '_id' | 'variantId' | 'locationId' | 'productId', value: string) => InventoryItemsQueryBuilder;
|
|
9933
|
+
startsWith: (propertyName: '_id' | 'variantId' | 'locationId' | 'productId' | 'product.name' | 'product.variantName' | 'product.variantSku', value: string) => InventoryItemsQueryBuilder;
|
|
9934
9934
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
9935
9935
|
* @param values - List of values to compare against.
|
|
9936
9936
|
* @documentationMaturity preview
|
|
9937
9937
|
*/
|
|
9938
|
-
hasSome: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any[]) => InventoryItemsQueryBuilder;
|
|
9938
|
+
hasSome: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any[]) => InventoryItemsQueryBuilder;
|
|
9939
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
9940
|
+
* @param values - List of values to compare against.
|
|
9941
|
+
* @documentationMaturity preview
|
|
9942
|
+
*/
|
|
9943
|
+
hasAll: (propertyName: 'product.directCategoryIds', value: any[]) => InventoryItemsQueryBuilder;
|
|
9939
9944
|
/** @documentationMaturity preview */
|
|
9940
|
-
in: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: any) => InventoryItemsQueryBuilder;
|
|
9945
|
+
in: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: any) => InventoryItemsQueryBuilder;
|
|
9941
9946
|
/** @documentationMaturity preview */
|
|
9942
|
-
exists: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'preorderInfo.enabled', value: boolean) => InventoryItemsQueryBuilder;
|
|
9947
|
+
exists: (propertyName: 'inStock' | 'quantity' | '_id' | '_createdDate' | '_updatedDate' | 'variantId' | 'locationId' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku', value: boolean) => InventoryItemsQueryBuilder;
|
|
9943
9948
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
9944
9949
|
* @documentationMaturity preview
|
|
9945
9950
|
*/
|
|
9946
|
-
ascending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'preorderInfo.enabled'>) => InventoryItemsQueryBuilder;
|
|
9951
|
+
ascending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku'>) => InventoryItemsQueryBuilder;
|
|
9947
9952
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
9948
9953
|
* @documentationMaturity preview
|
|
9949
9954
|
*/
|
|
9950
|
-
descending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'preorderInfo.enabled'>) => InventoryItemsQueryBuilder;
|
|
9955
|
+
descending: (...propertyNames: Array<'inStock' | 'quantity' | '_createdDate' | '_updatedDate' | 'productId' | 'trackQuantity' | 'availabilityStatus' | 'preorderInfo.enabled' | 'product.name' | 'product.directCategoryIds' | 'product.variantName' | 'product.variantSku'>) => InventoryItemsQueryBuilder;
|
|
9951
9956
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
9952
9957
|
* @documentationMaturity preview
|
|
9953
9958
|
*/
|
|
@@ -14535,6 +14540,8 @@ interface SearchProductsRequest {
|
|
|
14535
14540
|
* For example, if you have 2 variants: one visible with price 10 and another one not visible with price 20, when inside $matchItems you specify `visible:true` and `price > 15` nothing will be returned because there are no variants which satisfy both conditions.
|
|
14536
14541
|
* You still can use `$isEmpty` and `$exists` operators for fields listed above.
|
|
14537
14542
|
* See examples to understand supported capabilities.
|
|
14543
|
+
* This endpoint does not return variants-info, even though it is part of the entity, as including it would result in overly large response objects.
|
|
14544
|
+
* If you need variants-info, you can retrieve it for a specific product using the getProduct endpoint.
|
|
14538
14545
|
*/
|
|
14539
14546
|
search?: CursorSearch;
|
|
14540
14547
|
/** A list of requested fields to be included in the response. */
|