@wix/stores 1.0.73 → 1.0.74
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/src/stores-catalog-v1-product.types.d.ts +1 -1
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +2 -2
- package/build/cjs/src/stores-catalog-v1-product.universal.js +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +1 -1
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +2 -2
- package/build/es/src/stores-catalog-v1-product.universal.js +1 -1
- package/package.json +2 -2
|
@@ -1164,7 +1164,7 @@ export interface GetCollectionBySlugResponse {
|
|
|
1164
1164
|
export interface ProductOptionsAvailabilityRequest {
|
|
1165
1165
|
/** Requested product ID. */
|
|
1166
1166
|
id: string;
|
|
1167
|
-
/** Set of key-value pairs. Array containing the selected options
|
|
1167
|
+
/** Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`. */
|
|
1168
1168
|
options?: Record<string, string>;
|
|
1169
1169
|
}
|
|
1170
1170
|
export interface ProductOptionsAvailabilityResponse {
|
|
@@ -1166,7 +1166,7 @@ export interface GetCollectionBySlugResponse {
|
|
|
1166
1166
|
export interface ProductOptionsAvailabilityRequest {
|
|
1167
1167
|
/** Requested product ID. */
|
|
1168
1168
|
_id: string;
|
|
1169
|
-
/** Set of key-value pairs. Array containing the selected options
|
|
1169
|
+
/** Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`. */
|
|
1170
1170
|
options?: Record<string, string>;
|
|
1171
1171
|
}
|
|
1172
1172
|
export interface ProductOptionsAvailabilityResponse {
|
|
@@ -1907,7 +1907,7 @@ export declare function getCollectionBySlug(slug: string): Promise<GetCollection
|
|
|
1907
1907
|
/**
|
|
1908
1908
|
* Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example.
|
|
1909
1909
|
* @param _id - Requested product ID.
|
|
1910
|
-
* @param options - Set of key-value pairs. Array containing the selected options
|
|
1910
|
+
* @param options - Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`.
|
|
1911
1911
|
* @public
|
|
1912
1912
|
* @requiredField _id
|
|
1913
1913
|
* @requiredField options
|
|
@@ -1429,7 +1429,7 @@ exports.getCollectionBySlug = getCollectionBySlug;
|
|
|
1429
1429
|
/**
|
|
1430
1430
|
* Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example.
|
|
1431
1431
|
* @param _id - Requested product ID.
|
|
1432
|
-
* @param options - Set of key-value pairs. Array containing the selected options
|
|
1432
|
+
* @param options - Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`.
|
|
1433
1433
|
* @public
|
|
1434
1434
|
* @requiredField _id
|
|
1435
1435
|
* @requiredField options
|
|
@@ -1164,7 +1164,7 @@ export interface GetCollectionBySlugResponse {
|
|
|
1164
1164
|
export interface ProductOptionsAvailabilityRequest {
|
|
1165
1165
|
/** Requested product ID. */
|
|
1166
1166
|
id: string;
|
|
1167
|
-
/** Set of key-value pairs. Array containing the selected options
|
|
1167
|
+
/** Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`. */
|
|
1168
1168
|
options?: Record<string, string>;
|
|
1169
1169
|
}
|
|
1170
1170
|
export interface ProductOptionsAvailabilityResponse {
|
|
@@ -1166,7 +1166,7 @@ export interface GetCollectionBySlugResponse {
|
|
|
1166
1166
|
export interface ProductOptionsAvailabilityRequest {
|
|
1167
1167
|
/** Requested product ID. */
|
|
1168
1168
|
_id: string;
|
|
1169
|
-
/** Set of key-value pairs. Array containing the selected options
|
|
1169
|
+
/** Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`. */
|
|
1170
1170
|
options?: Record<string, string>;
|
|
1171
1171
|
}
|
|
1172
1172
|
export interface ProductOptionsAvailabilityResponse {
|
|
@@ -1907,7 +1907,7 @@ export declare function getCollectionBySlug(slug: string): Promise<GetCollection
|
|
|
1907
1907
|
/**
|
|
1908
1908
|
* Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example.
|
|
1909
1909
|
* @param _id - Requested product ID.
|
|
1910
|
-
* @param options - Set of key-value pairs. Array containing the selected options
|
|
1910
|
+
* @param options - Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`.
|
|
1911
1911
|
* @public
|
|
1912
1912
|
* @requiredField _id
|
|
1913
1913
|
* @requiredField options
|
|
@@ -1385,7 +1385,7 @@ export function getCollectionBySlug(slug) {
|
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example.
|
|
1387
1387
|
* @param _id - Requested product ID.
|
|
1388
|
-
* @param options - Set of key-value pairs. Array containing the selected options
|
|
1388
|
+
* @param options - Set of key-value pairs. Array containing the selected options. For example, `["color": "Blue", "size": "Large"]`.
|
|
1389
1389
|
* @public
|
|
1390
1390
|
* @requiredField _id
|
|
1391
1391
|
* @requiredField options
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "82d2edf0d9698f696480c6bc2c06e2befa41a5034e31a0a668f5fead"
|
|
37
37
|
}
|