@alexochihua/protos 1.0.44 → 1.0.46

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.
@@ -7,6 +7,7 @@ option go_package = "kapital/products/v1;productsv1";
7
7
  import "kapital/common/v1/meta.proto";
8
8
  import "kapital/common/v1/pagination.proto";
9
9
  import "kapital/products/v1/products_types.proto";
10
+ import "google/protobuf/struct.proto";
10
11
 
11
12
  service ProductsService {
12
13
  rpc GetProducts(GetProductsRequest) returns (GetProductsResponse);
@@ -70,7 +71,8 @@ message CreateProductRequest {
70
71
  string created_by = 19;
71
72
  repeated string offers = 20;
72
73
  string prefix = 21;
73
-
74
+ google.protobuf.ListValue structure = 22;
75
+ google.protobuf.Struct rule = 23;
74
76
  }
75
77
 
76
78
  message CreateProductResponse {
@@ -104,7 +106,8 @@ message UpdateProductRequest {
104
106
  string product_key = 23;
105
107
  string currency_bin = 24;
106
108
  string prefix = 25;
107
-
109
+ google.protobuf.ListValue structure = 26;
110
+ google.protobuf.Struct rule = 27;
108
111
  }
109
112
 
110
113
  message UpdateProductResponse {
@@ -4,6 +4,8 @@ package kapital.products.v1;
4
4
 
5
5
  option go_package = "kapital/products/v1;productsv1";
6
6
 
7
+ import "google/protobuf/struct.proto";
8
+
7
9
  // ============================================================================
8
10
  // Product Entity
9
11
  // ============================================================================
@@ -153,5 +155,6 @@ message Product {
153
155
  string updated_at = 27;
154
156
  repeated string offers = 28;
155
157
  string prefix = 29;
156
-
158
+ google.protobuf.ListValue structure = 30;
159
+ google.protobuf.Struct rule = 31;
157
160
  }