@mamindom/contracts 1.0.159 → 1.0.161

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.
@@ -103,6 +103,7 @@ export interface ProductListItemResponse {
103
103
  stickers: ProductStickerResponse[];
104
104
  activePromo?: ProductPromoInfo | undefined;
105
105
  weightKg: number;
106
+ updatedAt: string;
106
107
  }
107
108
  export interface ProductListItemResponse_NameEntry {
108
109
  key: string;
@@ -30,7 +30,7 @@ message PickupPointResponse {
30
30
  optional double lat = 6;
31
31
  optional double lng = 7;
32
32
  bool is_active = 8;
33
- optional string code_1c = 9;
33
+ optional string code1c = 9;
34
34
  optional string schedule = 10;
35
35
  bool show_on_contacts = 11;
36
36
  }
@@ -57,7 +57,7 @@ message CreatePickupPointRequest {
57
57
  optional double lat = 5;
58
58
  optional double lng = 6;
59
59
  optional bool is_active = 7;
60
- optional string code_1c = 8;
60
+ optional string code1c = 8;
61
61
  optional string schedule = 9;
62
62
  optional bool show_on_contacts = 10;
63
63
  }
@@ -71,7 +71,7 @@ message UpdatePickupPointRequest {
71
71
  optional double lat = 6;
72
72
  optional double lng = 7;
73
73
  optional bool is_active = 8;
74
- optional string code_1c = 9;
74
+ optional string code1c = 9;
75
75
  optional string schedule = 10;
76
76
  optional bool show_on_contacts = 11;
77
77
  }
@@ -126,7 +126,7 @@ message BulkSyncFromOnecRequest {
126
126
  }
127
127
 
128
128
  message OnecStockEntry {
129
- string code_1c = 1;
129
+ string code1c = 1;
130
130
  string product_guid = 2;
131
131
  optional string variant_guid = 3;
132
132
  int32 qty = 4;
@@ -180,8 +180,10 @@ message ProductListItemResponse {
180
180
  int32 review_count = 21;
181
181
  repeated ProductStickerResponse stickers = 22;
182
182
  optional ProductPromoInfo active_promo = 23;
183
-
183
+
184
184
  double weight_kg = 24;
185
+
186
+ string updated_at = 25;
185
187
  }
186
188
 
187
189
 
package/gen/product.ts CHANGED
@@ -124,6 +124,7 @@ export interface ProductListItemResponse {
124
124
  stickers: ProductStickerResponse[];
125
125
  activePromo?: ProductPromoInfo | undefined;
126
126
  weightKg: number;
127
+ updatedAt: string;
127
128
  }
128
129
 
129
130
  export interface ProductListItemResponse_NameEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.159",
4
+ "version": "1.0.161",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -30,7 +30,7 @@ message PickupPointResponse {
30
30
  optional double lat = 6;
31
31
  optional double lng = 7;
32
32
  bool is_active = 8;
33
- optional string code_1c = 9;
33
+ optional string code1c = 9;
34
34
  optional string schedule = 10;
35
35
  bool show_on_contacts = 11;
36
36
  }
@@ -57,7 +57,7 @@ message CreatePickupPointRequest {
57
57
  optional double lat = 5;
58
58
  optional double lng = 6;
59
59
  optional bool is_active = 7;
60
- optional string code_1c = 8;
60
+ optional string code1c = 8;
61
61
  optional string schedule = 9;
62
62
  optional bool show_on_contacts = 10;
63
63
  }
@@ -71,7 +71,7 @@ message UpdatePickupPointRequest {
71
71
  optional double lat = 6;
72
72
  optional double lng = 7;
73
73
  optional bool is_active = 8;
74
- optional string code_1c = 9;
74
+ optional string code1c = 9;
75
75
  optional string schedule = 10;
76
76
  optional bool show_on_contacts = 11;
77
77
  }
@@ -126,7 +126,7 @@ message BulkSyncFromOnecRequest {
126
126
  }
127
127
 
128
128
  message OnecStockEntry {
129
- string code_1c = 1;
129
+ string code1c = 1;
130
130
  string product_guid = 2;
131
131
  optional string variant_guid = 3;
132
132
  int32 qty = 4;
@@ -180,8 +180,10 @@ message ProductListItemResponse {
180
180
  int32 review_count = 21;
181
181
  repeated ProductStickerResponse stickers = 22;
182
182
  optional ProductPromoInfo active_promo = 23;
183
-
183
+
184
184
  double weight_kg = 24;
185
+
186
+ string updated_at = 25;
185
187
  }
186
188
 
187
189