sizebay-core-sdk 1.7.0 → 1.8.0
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/README.md
CHANGED
|
@@ -123,6 +123,7 @@ Fetch products similar to a reference.
|
|
|
123
123
|
> - `page`: `number` — Current page
|
|
124
124
|
> - `perPage`: `number` — Items per page
|
|
125
125
|
> - `total`: `number` — Total matched items
|
|
126
|
+
> - `invalidPersonaHash: boolean` - If the provided persona hash is invalid
|
|
126
127
|
|
|
127
128
|
#### Example
|
|
128
129
|
|
|
@@ -173,6 +174,7 @@ Retrieve pairs of complementary products.
|
|
|
173
174
|
> - `page`: `number` — Current page
|
|
174
175
|
> - `perPage`: `number` — Items per page
|
|
175
176
|
> - `total`: `number` — Total matched items
|
|
177
|
+
> - `invalidPersonaHash: boolean` - If the provided persona hash is invalid
|
|
176
178
|
|
|
177
179
|
#### Example
|
|
178
180
|
|
|
@@ -226,6 +228,7 @@ Find visually similar items from an uploaded image.
|
|
|
226
228
|
> - `page`: `number`
|
|
227
229
|
> - `perPage`: `number`
|
|
228
230
|
> - `total`: `number`
|
|
231
|
+
> - `invalidPersonaHash: boolean` - If the provided persona hash is invalid
|
|
229
232
|
|
|
230
233
|
#### Example
|
|
231
234
|
|
|
@@ -276,6 +279,7 @@ Get products that complete a look from an image.
|
|
|
276
279
|
> - `page`: `number`
|
|
277
280
|
> - `perPage`: `number`
|
|
278
281
|
> - `total`: `number`
|
|
282
|
+
> - `invalidPersonaHash: boolean` - If the provided persona hash is invalid
|
|
279
283
|
|
|
280
284
|
#### Example
|
|
281
285
|
|
|
@@ -58,6 +58,7 @@ export interface GetSimilarProductsResponse {
|
|
|
58
58
|
page: number;
|
|
59
59
|
perPage: number;
|
|
60
60
|
total: number;
|
|
61
|
+
invalidPersonaHash: boolean;
|
|
61
62
|
}
|
|
62
63
|
export interface GetRecommendedSizeByProductsResponse {
|
|
63
64
|
id: string;
|
|
@@ -71,6 +72,7 @@ export interface ComplementaryPairDto {
|
|
|
71
72
|
export interface GetComplementaryProductsResponse {
|
|
72
73
|
baseProduct: ProductDto;
|
|
73
74
|
complementary: ComplementaryPairDto[];
|
|
75
|
+
invalidPersonaHash: boolean;
|
|
74
76
|
}
|
|
75
77
|
export interface GetSimilarByImageBodyDto {
|
|
76
78
|
image: string;
|
|
@@ -114,4 +116,5 @@ export interface GetComplementaryProductsByImageResponse {
|
|
|
114
116
|
page: number;
|
|
115
117
|
perPage: number;
|
|
116
118
|
total: number;
|
|
119
|
+
invalidPersonaHash: boolean;
|
|
117
120
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sizebay-core-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "A SDK designed for integrating multiple services (such as event tracking, AI services, etc.) into your application.",
|
|
5
5
|
"main": "dist/sizebay-core-sdk.umd.js",
|
|
6
6
|
"module": "dist/sizebay-core-sdk.es.js",
|