@mamindom/contracts 1.0.188 → 1.0.190
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 +7 -0
- package/dist/proto/product.proto +22 -2
- package/gen/product.ts +7 -0
- package/package.json +1 -1
- package/proto/product.proto +22 -2
package/dist/gen/product.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ export interface ProductListItemResponse {
|
|
|
104
104
|
activePromo?: ProductPromoInfo | undefined;
|
|
105
105
|
weightKg: number;
|
|
106
106
|
updatedAt: string;
|
|
107
|
+
/** Артикул із 1С. Неунікальний, на відміну від sku, тож зберігається окремо. */
|
|
108
|
+
article1c?: string | undefined;
|
|
107
109
|
}
|
|
108
110
|
export interface ProductListItemResponse_NameEntry {
|
|
109
111
|
key: string;
|
|
@@ -168,6 +170,8 @@ export interface ProductDetailResponse {
|
|
|
168
170
|
activePromo?: ProductPromoInfo | undefined;
|
|
169
171
|
colors: ProductColorResponse[];
|
|
170
172
|
weightKg: number;
|
|
173
|
+
article1c?: string | undefined;
|
|
174
|
+
barcodes: string[];
|
|
171
175
|
}
|
|
172
176
|
export interface ProductDetailResponse_NameEntry {
|
|
173
177
|
key: string;
|
|
@@ -1036,6 +1040,8 @@ export interface ProductSyncItem {
|
|
|
1036
1040
|
characteristicGuids: string[];
|
|
1037
1041
|
categoryGuids: string[];
|
|
1038
1042
|
barcode?: string | undefined;
|
|
1043
|
+
barcodes: string[];
|
|
1044
|
+
article?: string | undefined;
|
|
1039
1045
|
}
|
|
1040
1046
|
export interface ProductSyncItem_NameEntry {
|
|
1041
1047
|
key: string;
|
|
@@ -1046,6 +1052,7 @@ export interface UpsertProductsRequest {
|
|
|
1046
1052
|
syncId: string;
|
|
1047
1053
|
createdBy: string;
|
|
1048
1054
|
colorPropertyGuid: string;
|
|
1055
|
+
variantColorPropertyGuid: string;
|
|
1049
1056
|
}
|
|
1050
1057
|
export interface ProductUpsertResult {
|
|
1051
1058
|
guid: string;
|
package/dist/proto/product.proto
CHANGED
|
@@ -188,6 +188,9 @@ message ProductListItemResponse {
|
|
|
188
188
|
double weight_kg = 24;
|
|
189
189
|
|
|
190
190
|
string updated_at = 25;
|
|
191
|
+
|
|
192
|
+
// Артикул із 1С. Неунікальний, на відміну від sku, тож зберігається окремо.
|
|
193
|
+
optional string article1c = 26;
|
|
191
194
|
}
|
|
192
195
|
|
|
193
196
|
|
|
@@ -239,6 +242,12 @@ message ProductDetailResponse {
|
|
|
239
242
|
repeated ProductColorResponse colors = 39;
|
|
240
243
|
|
|
241
244
|
double weight_kg = 40;
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
optional string article1c = 41;
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
repeated string barcodes = 42;
|
|
242
251
|
}
|
|
243
252
|
|
|
244
253
|
|
|
@@ -927,13 +936,24 @@ message ProductSyncItem {
|
|
|
927
936
|
repeated string characteristic_guids = 6;
|
|
928
937
|
repeated string category_guids = 7;
|
|
929
938
|
optional string barcode = 8;
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
repeated string barcodes = 9;
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
optional string article = 10;
|
|
930
945
|
}
|
|
931
946
|
|
|
932
947
|
message UpsertProductsRequest {
|
|
933
948
|
repeated ProductSyncItem items = 1;
|
|
934
949
|
string sync_id = 2;
|
|
935
|
-
string created_by = 3;
|
|
936
|
-
|
|
950
|
+
string created_by = 3;
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
string color_property_guid = 4;
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
string variant_color_property_guid = 5;
|
|
937
957
|
}
|
|
938
958
|
|
|
939
959
|
message ProductUpsertResult {
|
package/gen/product.ts
CHANGED
|
@@ -125,6 +125,8 @@ export interface ProductListItemResponse {
|
|
|
125
125
|
activePromo?: ProductPromoInfo | undefined;
|
|
126
126
|
weightKg: number;
|
|
127
127
|
updatedAt: string;
|
|
128
|
+
/** Артикул із 1С. Неунікальний, на відміну від sku, тож зберігається окремо. */
|
|
129
|
+
article1c?: string | undefined;
|
|
128
130
|
}
|
|
129
131
|
|
|
130
132
|
export interface ProductListItemResponse_NameEntry {
|
|
@@ -173,6 +175,8 @@ export interface ProductDetailResponse {
|
|
|
173
175
|
activePromo?: ProductPromoInfo | undefined;
|
|
174
176
|
colors: ProductColorResponse[];
|
|
175
177
|
weightKg: number;
|
|
178
|
+
article1c?: string | undefined;
|
|
179
|
+
barcodes: string[];
|
|
176
180
|
}
|
|
177
181
|
|
|
178
182
|
export interface ProductDetailResponse_NameEntry {
|
|
@@ -1063,6 +1067,8 @@ export interface ProductSyncItem {
|
|
|
1063
1067
|
characteristicGuids: string[];
|
|
1064
1068
|
categoryGuids: string[];
|
|
1065
1069
|
barcode?: string | undefined;
|
|
1070
|
+
barcodes: string[];
|
|
1071
|
+
article?: string | undefined;
|
|
1066
1072
|
}
|
|
1067
1073
|
|
|
1068
1074
|
export interface ProductSyncItem_NameEntry {
|
|
@@ -1075,6 +1081,7 @@ export interface UpsertProductsRequest {
|
|
|
1075
1081
|
syncId: string;
|
|
1076
1082
|
createdBy: string;
|
|
1077
1083
|
colorPropertyGuid: string;
|
|
1084
|
+
variantColorPropertyGuid: string;
|
|
1078
1085
|
}
|
|
1079
1086
|
|
|
1080
1087
|
export interface ProductUpsertResult {
|
package/package.json
CHANGED
package/proto/product.proto
CHANGED
|
@@ -188,6 +188,9 @@ message ProductListItemResponse {
|
|
|
188
188
|
double weight_kg = 24;
|
|
189
189
|
|
|
190
190
|
string updated_at = 25;
|
|
191
|
+
|
|
192
|
+
// Артикул із 1С. Неунікальний, на відміну від sku, тож зберігається окремо.
|
|
193
|
+
optional string article1c = 26;
|
|
191
194
|
}
|
|
192
195
|
|
|
193
196
|
|
|
@@ -239,6 +242,12 @@ message ProductDetailResponse {
|
|
|
239
242
|
repeated ProductColorResponse colors = 39;
|
|
240
243
|
|
|
241
244
|
double weight_kg = 40;
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
optional string article1c = 41;
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
repeated string barcodes = 42;
|
|
242
251
|
}
|
|
243
252
|
|
|
244
253
|
|
|
@@ -927,13 +936,24 @@ message ProductSyncItem {
|
|
|
927
936
|
repeated string characteristic_guids = 6;
|
|
928
937
|
repeated string category_guids = 7;
|
|
929
938
|
optional string barcode = 8;
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
repeated string barcodes = 9;
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
optional string article = 10;
|
|
930
945
|
}
|
|
931
946
|
|
|
932
947
|
message UpsertProductsRequest {
|
|
933
948
|
repeated ProductSyncItem items = 1;
|
|
934
949
|
string sync_id = 2;
|
|
935
|
-
string created_by = 3;
|
|
936
|
-
|
|
950
|
+
string created_by = 3;
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
string color_property_guid = 4;
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
string variant_color_property_guid = 5;
|
|
937
957
|
}
|
|
938
958
|
|
|
939
959
|
message ProductUpsertResult {
|