@mamindom/contracts 1.0.84 → 1.0.85
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/dist/gen/product.d.ts +1 -0
- package/dist/proto/product.proto +7 -5
- package/gen/product.ts +1 -0
- package/package.json +1 -1
- package/proto/product.proto +7 -5
package/dist/gen/product.d.ts
CHANGED
|
@@ -281,6 +281,7 @@ export interface GetProductsRequest {
|
|
|
281
281
|
priceMin?: number | undefined;
|
|
282
282
|
priceMax?: number | undefined;
|
|
283
283
|
sortBy?: string | undefined;
|
|
284
|
+
attributeValueIds: string[];
|
|
284
285
|
}
|
|
285
286
|
export interface GetProductsResponse {
|
|
286
287
|
items: ProductListItemResponse[];
|
package/dist/proto/product.proto
CHANGED
|
@@ -257,17 +257,19 @@ message ProductStickerResponse {
|
|
|
257
257
|
|
|
258
258
|
message GetProductsRequest {
|
|
259
259
|
PaginationRequest pagination = 1;
|
|
260
|
-
|
|
261
|
-
optional string search = 2;
|
|
260
|
+
|
|
261
|
+
optional string search = 2;
|
|
262
262
|
optional string category_id = 3;
|
|
263
263
|
optional string brand_id = 4;
|
|
264
264
|
optional ProductStatus status = 5;
|
|
265
|
-
optional bool in_stock = 6;
|
|
266
|
-
|
|
265
|
+
optional bool in_stock = 6;
|
|
266
|
+
|
|
267
267
|
optional double price_min = 7;
|
|
268
268
|
optional double price_max = 8;
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
optional string sort_by = 9;
|
|
271
|
+
|
|
272
|
+
repeated string attribute_value_ids = 10;
|
|
271
273
|
}
|
|
272
274
|
|
|
273
275
|
message GetProductsResponse {
|
package/gen/product.ts
CHANGED
package/package.json
CHANGED
package/proto/product.proto
CHANGED
|
@@ -257,17 +257,19 @@ message ProductStickerResponse {
|
|
|
257
257
|
|
|
258
258
|
message GetProductsRequest {
|
|
259
259
|
PaginationRequest pagination = 1;
|
|
260
|
-
|
|
261
|
-
optional string search = 2;
|
|
260
|
+
|
|
261
|
+
optional string search = 2;
|
|
262
262
|
optional string category_id = 3;
|
|
263
263
|
optional string brand_id = 4;
|
|
264
264
|
optional ProductStatus status = 5;
|
|
265
|
-
optional bool in_stock = 6;
|
|
266
|
-
|
|
265
|
+
optional bool in_stock = 6;
|
|
266
|
+
|
|
267
267
|
optional double price_min = 7;
|
|
268
268
|
optional double price_max = 8;
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
optional string sort_by = 9;
|
|
271
|
+
|
|
272
|
+
repeated string attribute_value_ids = 10;
|
|
271
273
|
}
|
|
272
274
|
|
|
273
275
|
message GetProductsResponse {
|