@platfformx/proto-contracts 1.2.15 → 1.2.16

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.
@@ -5,6 +5,7 @@ export interface CreateProductRequest {
5
5
  categoryId: string;
6
6
  description?: string | undefined;
7
7
  price: string;
8
+ images: string[];
8
9
  }
9
10
  export interface GetProductRequest {
10
11
  productId?: string | undefined;
@@ -24,6 +25,7 @@ export interface UpdateProductRequest {
24
25
  price?: string | undefined;
25
26
  description?: string | undefined;
26
27
  categoryId?: string | undefined;
28
+ images: string[];
27
29
  }
28
30
  export interface DeleteProductRequest {
29
31
  productId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,7 +24,8 @@ message CreateProductRequest{
24
24
  string category_id = 2;
25
25
  optional string description = 3;
26
26
  string price = 4;
27
- }
27
+ repeated string images = 5;
28
+ }
28
29
 
29
30
  message GetProductRequest {
30
31
  oneof identifier {
@@ -48,6 +49,7 @@ message UpdateProductRequest {
48
49
  optional string price = 3;
49
50
  optional string description = 4;
50
51
  optional string category_id = 6;
52
+ repeated string images = 7;
51
53
  }
52
54
 
53
55
  message DeleteProductRequest {