@mamindom/contracts 1.0.187 → 1.0.189
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 +3 -0
- package/dist/gen/stock.d.ts +1 -0
- package/dist/proto/product.proto +13 -2
- package/dist/proto/stock.proto +1 -0
- package/gen/product.ts +3 -0
- package/gen/stock.ts +1 -0
- package/package.json +46 -46
- package/proto/product.proto +13 -2
- package/proto/stock.proto +1 -0
package/dist/gen/product.d.ts
CHANGED
|
@@ -1036,6 +1036,8 @@ export interface ProductSyncItem {
|
|
|
1036
1036
|
characteristicGuids: string[];
|
|
1037
1037
|
categoryGuids: string[];
|
|
1038
1038
|
barcode?: string | undefined;
|
|
1039
|
+
barcodes: string[];
|
|
1040
|
+
article?: string | undefined;
|
|
1039
1041
|
}
|
|
1040
1042
|
export interface ProductSyncItem_NameEntry {
|
|
1041
1043
|
key: string;
|
|
@@ -1046,6 +1048,7 @@ export interface UpsertProductsRequest {
|
|
|
1046
1048
|
syncId: string;
|
|
1047
1049
|
createdBy: string;
|
|
1048
1050
|
colorPropertyGuid: string;
|
|
1051
|
+
variantColorPropertyGuid: string;
|
|
1049
1052
|
}
|
|
1050
1053
|
export interface ProductUpsertResult {
|
|
1051
1054
|
guid: string;
|
package/dist/gen/stock.d.ts
CHANGED
package/dist/proto/product.proto
CHANGED
|
@@ -927,13 +927,24 @@ message ProductSyncItem {
|
|
|
927
927
|
repeated string characteristic_guids = 6;
|
|
928
928
|
repeated string category_guids = 7;
|
|
929
929
|
optional string barcode = 8;
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
repeated string barcodes = 9;
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
optional string article = 10;
|
|
930
936
|
}
|
|
931
937
|
|
|
932
938
|
message UpsertProductsRequest {
|
|
933
939
|
repeated ProductSyncItem items = 1;
|
|
934
940
|
string sync_id = 2;
|
|
935
|
-
string created_by = 3;
|
|
936
|
-
|
|
941
|
+
string created_by = 3;
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
string color_property_guid = 4;
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
string variant_color_property_guid = 5;
|
|
937
948
|
}
|
|
938
949
|
|
|
939
950
|
message ProductUpsertResult {
|
package/dist/proto/stock.proto
CHANGED
package/gen/product.ts
CHANGED
|
@@ -1063,6 +1063,8 @@ export interface ProductSyncItem {
|
|
|
1063
1063
|
characteristicGuids: string[];
|
|
1064
1064
|
categoryGuids: string[];
|
|
1065
1065
|
barcode?: string | undefined;
|
|
1066
|
+
barcodes: string[];
|
|
1067
|
+
article?: string | undefined;
|
|
1066
1068
|
}
|
|
1067
1069
|
|
|
1068
1070
|
export interface ProductSyncItem_NameEntry {
|
|
@@ -1075,6 +1077,7 @@ export interface UpsertProductsRequest {
|
|
|
1075
1077
|
syncId: string;
|
|
1076
1078
|
createdBy: string;
|
|
1077
1079
|
colorPropertyGuid: string;
|
|
1080
|
+
variantColorPropertyGuid: string;
|
|
1078
1081
|
}
|
|
1079
1082
|
|
|
1080
1083
|
export interface ProductUpsertResult {
|
package/gen/stock.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
2
|
+
"name": "@mamindom/contracts",
|
|
3
|
+
"description": "proto",
|
|
4
|
+
"version": "1.0.189",
|
|
5
|
+
"main": "./dist/src/index.js",
|
|
6
|
+
"types": "./dist/src/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/src/index.d.ts",
|
|
10
|
+
"default": "./dist/src/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./gen/*": {
|
|
13
|
+
"types": "./dist/gen/*.d.ts",
|
|
14
|
+
"default": "./dist/gen/*.js"
|
|
15
|
+
},
|
|
16
|
+
"./events": {
|
|
17
|
+
"types": "./dist/events/index.d.ts",
|
|
18
|
+
"default": "./dist/events/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./events/*": {
|
|
21
|
+
"types": "./dist/events/*.d.ts",
|
|
22
|
+
"default": "./dist/events/*.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc -p tsconfig.build.json && cp -R proto dist/",
|
|
27
|
+
"generate": "mkdir -p gen && protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"proto",
|
|
32
|
+
"gen",
|
|
33
|
+
"events"
|
|
34
|
+
],
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@nestjs/microservices": "^11.1.16",
|
|
40
|
+
"rxjs": "^7.8.2",
|
|
41
|
+
"ts-proto": "^2.11.4"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/node": "^25.3.5",
|
|
45
|
+
"typescript": "^5.9.3"
|
|
46
|
+
}
|
|
47
|
+
}
|
package/proto/product.proto
CHANGED
|
@@ -927,13 +927,24 @@ message ProductSyncItem {
|
|
|
927
927
|
repeated string characteristic_guids = 6;
|
|
928
928
|
repeated string category_guids = 7;
|
|
929
929
|
optional string barcode = 8;
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
repeated string barcodes = 9;
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
optional string article = 10;
|
|
930
936
|
}
|
|
931
937
|
|
|
932
938
|
message UpsertProductsRequest {
|
|
933
939
|
repeated ProductSyncItem items = 1;
|
|
934
940
|
string sync_id = 2;
|
|
935
|
-
string created_by = 3;
|
|
936
|
-
|
|
941
|
+
string created_by = 3;
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
string color_property_guid = 4;
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
string variant_color_property_guid = 5;
|
|
937
948
|
}
|
|
938
949
|
|
|
939
950
|
message ProductUpsertResult {
|