@mamindom/contracts 1.0.27 → 1.0.28
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 +1 -1
- package/proto/product.proto +8 -10
package/package.json
CHANGED
package/proto/product.proto
CHANGED
|
@@ -21,16 +21,6 @@ service ProductService {
|
|
|
21
21
|
rpc BulkUpdateDiscount (BulkUpdateDiscountRequest) returns (SuccessResponse);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
enum ProductStatus {
|
|
26
|
-
PRODUCT_STATUS_UNSPECIFIED = 0;
|
|
27
|
-
PRODUCT_STATUS_DRAFT = 1;
|
|
28
|
-
PRODUCT_STATUS_ACTIVE = 2;
|
|
29
|
-
PRODUCT_STATUS_INACTIVE = 3;
|
|
30
|
-
PRODUCT_STATUS_ARCHIVED = 4;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
24
|
message ProductListItemResponse {
|
|
35
25
|
string id = 1;
|
|
36
26
|
string sku = 2;
|
|
@@ -212,4 +202,12 @@ message BulkUpdateCategoryRequest {
|
|
|
212
202
|
message BulkUpdateDiscountRequest {
|
|
213
203
|
repeated string product_ids = 1;
|
|
214
204
|
double discount_percentage = 2;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
enum ProductStatus {
|
|
208
|
+
PRODUCT_STATUS_UNSPECIFIED = 0;
|
|
209
|
+
PRODUCT_STATUS_DRAFT = 1;
|
|
210
|
+
PRODUCT_STATUS_ACTIVE = 2;
|
|
211
|
+
PRODUCT_STATUS_INACTIVE = 3;
|
|
212
|
+
PRODUCT_STATUS_ARCHIVED = 4;
|
|
215
213
|
}
|