@nomalism-com/types 0.36.10 → 0.36.12
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/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/modules/document/materialEntrance/interfaces.d.ts +2 -2
- package/dist/modules/supply/documentHeader/interfaces.d.ts +1 -0
- package/package-lock.json +129 -136
- package/package.json +1 -1
- package/src/modules/document/materialEntrance/interfaces.ts +2 -2
- package/src/modules/stock/savedEmPicking/route.schema.ts +3 -3
- package/src/modules/supply/documentHeader/interfaces.ts +1 -0
package/dist/index.cjs
CHANGED
|
@@ -5014,7 +5014,7 @@ var entradaDeMaterialClientOrderBody = joi92.object().keys(entradaDeMaterialClie
|
|
|
5014
5014
|
var entradaDeMaterialStockBodyKeys = {
|
|
5015
5015
|
ef_dla_id: joi92.string().uuid().allow(null).required(),
|
|
5016
5016
|
ordered_quantity: joi92.number().positive().allow(0).required(),
|
|
5017
|
-
document_line_id: joi92.string().uuid().required(),
|
|
5017
|
+
document_line_id: joi92.string().uuid().allow(null).required(),
|
|
5018
5018
|
quantity: joi92.number().positive().allow(0).required(),
|
|
5019
5019
|
option: joi92.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
|
|
5020
5020
|
note: joi92.string().allow(null),
|
|
@@ -5032,8 +5032,8 @@ var entradaDeMaterialNCBodyKeys = {
|
|
|
5032
5032
|
};
|
|
5033
5033
|
var entradaDeMaterialNCBody = joi92.object().keys(entradaDeMaterialNCBodyKeys).messages(messages);
|
|
5034
5034
|
var entradaDeMaterialDocumentHeaderBodyKeys = {
|
|
5035
|
-
clientOrders: joi92.array().items(entradaDeMaterialClientOrderBody),
|
|
5036
|
-
stock: entradaDeMaterialStockBody,
|
|
5035
|
+
clientOrders: joi92.array().items(entradaDeMaterialClientOrderBody).required(),
|
|
5036
|
+
stock: joi92.array().items(entradaDeMaterialStockBody).required(),
|
|
5037
5037
|
not_ok: entradaDeMaterialNCBody
|
|
5038
5038
|
};
|
|
5039
5039
|
var entradaDeMaterialDocumentHeaderBody = joi92.object().keys(entradaDeMaterialDocumentHeaderBodyKeys).messages(messages);
|
package/dist/index.js
CHANGED
|
@@ -5014,7 +5014,7 @@ var entradaDeMaterialClientOrderBody = joi92.object().keys(entradaDeMaterialClie
|
|
|
5014
5014
|
var entradaDeMaterialStockBodyKeys = {
|
|
5015
5015
|
ef_dla_id: joi92.string().uuid().allow(null).required(),
|
|
5016
5016
|
ordered_quantity: joi92.number().positive().allow(0).required(),
|
|
5017
|
-
document_line_id: joi92.string().uuid().required(),
|
|
5017
|
+
document_line_id: joi92.string().uuid().allow(null).required(),
|
|
5018
5018
|
quantity: joi92.number().positive().allow(0).required(),
|
|
5019
5019
|
option: joi92.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
|
|
5020
5020
|
note: joi92.string().allow(null),
|
|
@@ -5032,8 +5032,8 @@ var entradaDeMaterialNCBodyKeys = {
|
|
|
5032
5032
|
};
|
|
5033
5033
|
var entradaDeMaterialNCBody = joi92.object().keys(entradaDeMaterialNCBodyKeys).messages(messages);
|
|
5034
5034
|
var entradaDeMaterialDocumentHeaderBodyKeys = {
|
|
5035
|
-
clientOrders: joi92.array().items(entradaDeMaterialClientOrderBody),
|
|
5036
|
-
stock: entradaDeMaterialStockBody,
|
|
5035
|
+
clientOrders: joi92.array().items(entradaDeMaterialClientOrderBody).required(),
|
|
5036
|
+
stock: joi92.array().items(entradaDeMaterialStockBody).required(),
|
|
5037
5037
|
not_ok: entradaDeMaterialNCBody
|
|
5038
5038
|
};
|
|
5039
5039
|
var entradaDeMaterialDocumentHeaderBody = joi92.object().keys(entradaDeMaterialDocumentHeaderBodyKeys).messages(messages);
|
|
@@ -49,7 +49,7 @@ export interface IGetMaterialEntranceInfoStock {
|
|
|
49
49
|
ordered_quantity: number;
|
|
50
50
|
}
|
|
51
51
|
export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
|
|
52
|
-
document_line_id: string;
|
|
52
|
+
document_line_id: string | null;
|
|
53
53
|
quantity: number;
|
|
54
54
|
option: ICreateMaterialEntranceStockOption | ICreateMaterialEntranceStockWithoutOrderOption | null;
|
|
55
55
|
note: string | null;
|
|
@@ -66,7 +66,7 @@ export interface IEntradaDeMaterialNC {
|
|
|
66
66
|
}
|
|
67
67
|
export interface IGetMaterialEntranceInfoResponse {
|
|
68
68
|
clientOrders: IEntradaDeMaterialClientOrder[];
|
|
69
|
-
stock: IEntradaDeMaterialStock;
|
|
69
|
+
stock: IEntradaDeMaterialStock[];
|
|
70
70
|
not_ok: IEntradaDeMaterialNC;
|
|
71
71
|
saved_id: string | null;
|
|
72
72
|
}
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.11",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@nomalism-com/types",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.36.11",
|
|
10
10
|
"license": "UNLICENSED",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"joi": "^17.13.3"
|
|
@@ -910,9 +910,9 @@
|
|
|
910
910
|
}
|
|
911
911
|
},
|
|
912
912
|
"node_modules/@rollup/rollup-android-arm-eabi": {
|
|
913
|
-
"version": "4.
|
|
914
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.
|
|
915
|
-
"integrity": "sha512-
|
|
913
|
+
"version": "4.44.0",
|
|
914
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.44.0.tgz",
|
|
915
|
+
"integrity": "sha512-xEiEE5oDW6tK4jXCAyliuntGR+amEMO7HLtdSshVuhFnKTYoeYMyXQK7pLouAJJj5KHdwdn87bfHAR2nSdNAUA==",
|
|
916
916
|
"cpu": [
|
|
917
917
|
"arm"
|
|
918
918
|
],
|
|
@@ -924,9 +924,9 @@
|
|
|
924
924
|
]
|
|
925
925
|
},
|
|
926
926
|
"node_modules/@rollup/rollup-android-arm64": {
|
|
927
|
-
"version": "4.
|
|
928
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.
|
|
929
|
-
"integrity": "sha512-
|
|
927
|
+
"version": "4.44.0",
|
|
928
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.44.0.tgz",
|
|
929
|
+
"integrity": "sha512-uNSk/TgvMbskcHxXYHzqwiyBlJ/lGcv8DaUfcnNwict8ba9GTTNxfn3/FAoFZYgkaXXAdrAA+SLyKplyi349Jw==",
|
|
930
930
|
"cpu": [
|
|
931
931
|
"arm64"
|
|
932
932
|
],
|
|
@@ -938,9 +938,9 @@
|
|
|
938
938
|
]
|
|
939
939
|
},
|
|
940
940
|
"node_modules/@rollup/rollup-darwin-arm64": {
|
|
941
|
-
"version": "4.
|
|
942
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.
|
|
943
|
-
"integrity": "sha512-
|
|
941
|
+
"version": "4.44.0",
|
|
942
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.44.0.tgz",
|
|
943
|
+
"integrity": "sha512-VGF3wy0Eq1gcEIkSCr8Ke03CWT+Pm2yveKLaDvq51pPpZza3JX/ClxXOCmTYYq3us5MvEuNRTaeyFThCKRQhOA==",
|
|
944
944
|
"cpu": [
|
|
945
945
|
"arm64"
|
|
946
946
|
],
|
|
@@ -952,9 +952,9 @@
|
|
|
952
952
|
]
|
|
953
953
|
},
|
|
954
954
|
"node_modules/@rollup/rollup-darwin-x64": {
|
|
955
|
-
"version": "4.
|
|
956
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.
|
|
957
|
-
"integrity": "sha512-
|
|
955
|
+
"version": "4.44.0",
|
|
956
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.44.0.tgz",
|
|
957
|
+
"integrity": "sha512-fBkyrDhwquRvrTxSGH/qqt3/T0w5Rg0L7ZIDypvBPc1/gzjJle6acCpZ36blwuwcKD/u6oCE/sRWlUAcxLWQbQ==",
|
|
958
958
|
"cpu": [
|
|
959
959
|
"x64"
|
|
960
960
|
],
|
|
@@ -966,9 +966,9 @@
|
|
|
966
966
|
]
|
|
967
967
|
},
|
|
968
968
|
"node_modules/@rollup/rollup-freebsd-arm64": {
|
|
969
|
-
"version": "4.
|
|
970
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.
|
|
971
|
-
"integrity": "sha512-
|
|
969
|
+
"version": "4.44.0",
|
|
970
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.44.0.tgz",
|
|
971
|
+
"integrity": "sha512-u5AZzdQJYJXByB8giQ+r4VyfZP+walV+xHWdaFx/1VxsOn6eWJhK2Vl2eElvDJFKQBo/hcYIBg/jaKS8ZmKeNQ==",
|
|
972
972
|
"cpu": [
|
|
973
973
|
"arm64"
|
|
974
974
|
],
|
|
@@ -980,9 +980,9 @@
|
|
|
980
980
|
]
|
|
981
981
|
},
|
|
982
982
|
"node_modules/@rollup/rollup-freebsd-x64": {
|
|
983
|
-
"version": "4.
|
|
984
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.
|
|
985
|
-
"integrity": "sha512-
|
|
983
|
+
"version": "4.44.0",
|
|
984
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.44.0.tgz",
|
|
985
|
+
"integrity": "sha512-qC0kS48c/s3EtdArkimctY7h3nHicQeEUdjJzYVJYR3ct3kWSafmn6jkNCA8InbUdge6PVx6keqjk5lVGJf99g==",
|
|
986
986
|
"cpu": [
|
|
987
987
|
"x64"
|
|
988
988
|
],
|
|
@@ -994,9 +994,9 @@
|
|
|
994
994
|
]
|
|
995
995
|
},
|
|
996
996
|
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
|
997
|
-
"version": "4.
|
|
998
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.
|
|
999
|
-
"integrity": "sha512-
|
|
997
|
+
"version": "4.44.0",
|
|
998
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.44.0.tgz",
|
|
999
|
+
"integrity": "sha512-x+e/Z9H0RAWckn4V2OZZl6EmV0L2diuX3QB0uM1r6BvhUIv6xBPL5mrAX2E3e8N8rEHVPwFfz/ETUbV4oW9+lQ==",
|
|
1000
1000
|
"cpu": [
|
|
1001
1001
|
"arm"
|
|
1002
1002
|
],
|
|
@@ -1008,9 +1008,9 @@
|
|
|
1008
1008
|
]
|
|
1009
1009
|
},
|
|
1010
1010
|
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
|
1011
|
-
"version": "4.
|
|
1012
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.
|
|
1013
|
-
"integrity": "sha512-
|
|
1011
|
+
"version": "4.44.0",
|
|
1012
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.44.0.tgz",
|
|
1013
|
+
"integrity": "sha512-1exwiBFf4PU/8HvI8s80icyCcnAIB86MCBdst51fwFmH5dyeoWVPVgmQPcKrMtBQ0W5pAs7jBCWuRXgEpRzSCg==",
|
|
1014
1014
|
"cpu": [
|
|
1015
1015
|
"arm"
|
|
1016
1016
|
],
|
|
@@ -1022,9 +1022,9 @@
|
|
|
1022
1022
|
]
|
|
1023
1023
|
},
|
|
1024
1024
|
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
|
1025
|
-
"version": "4.
|
|
1026
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.
|
|
1027
|
-
"integrity": "sha512-
|
|
1025
|
+
"version": "4.44.0",
|
|
1026
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.44.0.tgz",
|
|
1027
|
+
"integrity": "sha512-ZTR2mxBHb4tK4wGf9b8SYg0Y6KQPjGpR4UWwTFdnmjB4qRtoATZ5dWn3KsDwGa5Z2ZBOE7K52L36J9LueKBdOQ==",
|
|
1028
1028
|
"cpu": [
|
|
1029
1029
|
"arm64"
|
|
1030
1030
|
],
|
|
@@ -1036,9 +1036,9 @@
|
|
|
1036
1036
|
]
|
|
1037
1037
|
},
|
|
1038
1038
|
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
|
1039
|
-
"version": "4.
|
|
1040
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.
|
|
1041
|
-
"integrity": "sha512-
|
|
1039
|
+
"version": "4.44.0",
|
|
1040
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.44.0.tgz",
|
|
1041
|
+
"integrity": "sha512-GFWfAhVhWGd4r6UxmnKRTBwP1qmModHtd5gkraeW2G490BpFOZkFtem8yuX2NyafIP/mGpRJgTJ2PwohQkUY/Q==",
|
|
1042
1042
|
"cpu": [
|
|
1043
1043
|
"arm64"
|
|
1044
1044
|
],
|
|
@@ -1050,9 +1050,9 @@
|
|
|
1050
1050
|
]
|
|
1051
1051
|
},
|
|
1052
1052
|
"node_modules/@rollup/rollup-linux-loongarch64-gnu": {
|
|
1053
|
-
"version": "4.
|
|
1054
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.
|
|
1055
|
-
"integrity": "sha512-
|
|
1053
|
+
"version": "4.44.0",
|
|
1054
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.44.0.tgz",
|
|
1055
|
+
"integrity": "sha512-xw+FTGcov/ejdusVOqKgMGW3c4+AgqrfvzWEVXcNP6zq2ue+lsYUgJ+5Rtn/OTJf7e2CbgTFvzLW2j0YAtj0Gg==",
|
|
1056
1056
|
"cpu": [
|
|
1057
1057
|
"loong64"
|
|
1058
1058
|
],
|
|
@@ -1064,9 +1064,9 @@
|
|
|
1064
1064
|
]
|
|
1065
1065
|
},
|
|
1066
1066
|
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
|
|
1067
|
-
"version": "4.
|
|
1068
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.
|
|
1069
|
-
"integrity": "sha512-
|
|
1067
|
+
"version": "4.44.0",
|
|
1068
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.44.0.tgz",
|
|
1069
|
+
"integrity": "sha512-bKGibTr9IdF0zr21kMvkZT4K6NV+jjRnBoVMt2uNMG0BYWm3qOVmYnXKzx7UhwrviKnmK46IKMByMgvpdQlyJQ==",
|
|
1070
1070
|
"cpu": [
|
|
1071
1071
|
"ppc64"
|
|
1072
1072
|
],
|
|
@@ -1078,9 +1078,9 @@
|
|
|
1078
1078
|
]
|
|
1079
1079
|
},
|
|
1080
1080
|
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
|
1081
|
-
"version": "4.
|
|
1082
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.
|
|
1083
|
-
"integrity": "sha512-
|
|
1081
|
+
"version": "4.44.0",
|
|
1082
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.44.0.tgz",
|
|
1083
|
+
"integrity": "sha512-vV3cL48U5kDaKZtXrti12YRa7TyxgKAIDoYdqSIOMOFBXqFj2XbChHAtXquEn2+n78ciFgr4KIqEbydEGPxXgA==",
|
|
1084
1084
|
"cpu": [
|
|
1085
1085
|
"riscv64"
|
|
1086
1086
|
],
|
|
@@ -1092,9 +1092,9 @@
|
|
|
1092
1092
|
]
|
|
1093
1093
|
},
|
|
1094
1094
|
"node_modules/@rollup/rollup-linux-riscv64-musl": {
|
|
1095
|
-
"version": "4.
|
|
1096
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.
|
|
1097
|
-
"integrity": "sha512-
|
|
1095
|
+
"version": "4.44.0",
|
|
1096
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.44.0.tgz",
|
|
1097
|
+
"integrity": "sha512-TDKO8KlHJuvTEdfw5YYFBjhFts2TR0VpZsnLLSYmB7AaohJhM8ctDSdDnUGq77hUh4m/djRafw+9zQpkOanE2Q==",
|
|
1098
1098
|
"cpu": [
|
|
1099
1099
|
"riscv64"
|
|
1100
1100
|
],
|
|
@@ -1106,9 +1106,9 @@
|
|
|
1106
1106
|
]
|
|
1107
1107
|
},
|
|
1108
1108
|
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
|
1109
|
-
"version": "4.
|
|
1110
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.
|
|
1111
|
-
"integrity": "sha512-
|
|
1109
|
+
"version": "4.44.0",
|
|
1110
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.44.0.tgz",
|
|
1111
|
+
"integrity": "sha512-8541GEyktXaw4lvnGp9m84KENcxInhAt6vPWJ9RodsB/iGjHoMB2Pp5MVBCiKIRxrxzJhGCxmNzdu+oDQ7kwRA==",
|
|
1112
1112
|
"cpu": [
|
|
1113
1113
|
"s390x"
|
|
1114
1114
|
],
|
|
@@ -1120,9 +1120,9 @@
|
|
|
1120
1120
|
]
|
|
1121
1121
|
},
|
|
1122
1122
|
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
|
1123
|
-
"version": "4.
|
|
1124
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.
|
|
1125
|
-
"integrity": "sha512-
|
|
1123
|
+
"version": "4.44.0",
|
|
1124
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.44.0.tgz",
|
|
1125
|
+
"integrity": "sha512-iUVJc3c0o8l9Sa/qlDL2Z9UP92UZZW1+EmQ4xfjTc1akr0iUFZNfxrXJ/R1T90h/ILm9iXEY6+iPrmYB3pXKjw==",
|
|
1126
1126
|
"cpu": [
|
|
1127
1127
|
"x64"
|
|
1128
1128
|
],
|
|
@@ -1134,9 +1134,9 @@
|
|
|
1134
1134
|
]
|
|
1135
1135
|
},
|
|
1136
1136
|
"node_modules/@rollup/rollup-linux-x64-musl": {
|
|
1137
|
-
"version": "4.
|
|
1138
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.
|
|
1139
|
-
"integrity": "sha512-
|
|
1137
|
+
"version": "4.44.0",
|
|
1138
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.44.0.tgz",
|
|
1139
|
+
"integrity": "sha512-PQUobbhLTQT5yz/SPg116VJBgz+XOtXt8D1ck+sfJJhuEsMj2jSej5yTdp8CvWBSceu+WW+ibVL6dm0ptG5fcA==",
|
|
1140
1140
|
"cpu": [
|
|
1141
1141
|
"x64"
|
|
1142
1142
|
],
|
|
@@ -1148,9 +1148,9 @@
|
|
|
1148
1148
|
]
|
|
1149
1149
|
},
|
|
1150
1150
|
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
|
1151
|
-
"version": "4.
|
|
1152
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.
|
|
1153
|
-
"integrity": "sha512-
|
|
1151
|
+
"version": "4.44.0",
|
|
1152
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.44.0.tgz",
|
|
1153
|
+
"integrity": "sha512-M0CpcHf8TWn+4oTxJfh7LQuTuaYeXGbk0eageVjQCKzYLsajWS/lFC94qlRqOlyC2KvRT90ZrfXULYmukeIy7w==",
|
|
1154
1154
|
"cpu": [
|
|
1155
1155
|
"arm64"
|
|
1156
1156
|
],
|
|
@@ -1162,9 +1162,9 @@
|
|
|
1162
1162
|
]
|
|
1163
1163
|
},
|
|
1164
1164
|
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
|
1165
|
-
"version": "4.
|
|
1166
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.
|
|
1167
|
-
"integrity": "sha512-
|
|
1165
|
+
"version": "4.44.0",
|
|
1166
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.44.0.tgz",
|
|
1167
|
+
"integrity": "sha512-3XJ0NQtMAXTWFW8FqZKcw3gOQwBtVWP/u8TpHP3CRPXD7Pd6s8lLdH3sHWh8vqKCyyiI8xW5ltJScQmBU9j7WA==",
|
|
1168
1168
|
"cpu": [
|
|
1169
1169
|
"ia32"
|
|
1170
1170
|
],
|
|
@@ -1176,9 +1176,9 @@
|
|
|
1176
1176
|
]
|
|
1177
1177
|
},
|
|
1178
1178
|
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
|
1179
|
-
"version": "4.
|
|
1180
|
-
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.
|
|
1181
|
-
"integrity": "sha512-
|
|
1179
|
+
"version": "4.44.0",
|
|
1180
|
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.44.0.tgz",
|
|
1181
|
+
"integrity": "sha512-Q2Mgwt+D8hd5FIPUuPDsvPR7Bguza6yTkJxspDGkZj7tBRn2y4KSWYuIXpftFSjBra76TbKerCV7rgFPQrn+wQ==",
|
|
1182
1182
|
"cpu": [
|
|
1183
1183
|
"x64"
|
|
1184
1184
|
],
|
|
@@ -1211,9 +1211,9 @@
|
|
|
1211
1211
|
"license": "BSD-3-Clause"
|
|
1212
1212
|
},
|
|
1213
1213
|
"node_modules/@swc/core": {
|
|
1214
|
-
"version": "1.12.
|
|
1215
|
-
"resolved": "https://registry.npmjs.org/@swc/core/-/core-1.12.
|
|
1216
|
-
"integrity": "sha512-
|
|
1214
|
+
"version": "1.12.4",
|
|
1215
|
+
"resolved": "https://registry.npmjs.org/@swc/core/-/core-1.12.4.tgz",
|
|
1216
|
+
"integrity": "sha512-hn30ebV4njAn0NAUM+3a0qCF+MJgqTNSrfA/hUAbC6TVjOQy2OYGQwkUvCu/V7S2+rZxrUsTpKOnZ7qqECZV9Q==",
|
|
1217
1217
|
"dev": true,
|
|
1218
1218
|
"hasInstallScript": true,
|
|
1219
1219
|
"license": "Apache-2.0",
|
|
@@ -1229,16 +1229,16 @@
|
|
|
1229
1229
|
"url": "https://opencollective.com/swc"
|
|
1230
1230
|
},
|
|
1231
1231
|
"optionalDependencies": {
|
|
1232
|
-
"@swc/core-darwin-arm64": "1.12.
|
|
1233
|
-
"@swc/core-darwin-x64": "1.12.
|
|
1234
|
-
"@swc/core-linux-arm-gnueabihf": "1.12.
|
|
1235
|
-
"@swc/core-linux-arm64-gnu": "1.12.
|
|
1236
|
-
"@swc/core-linux-arm64-musl": "1.12.
|
|
1237
|
-
"@swc/core-linux-x64-gnu": "1.12.
|
|
1238
|
-
"@swc/core-linux-x64-musl": "1.12.
|
|
1239
|
-
"@swc/core-win32-arm64-msvc": "1.12.
|
|
1240
|
-
"@swc/core-win32-ia32-msvc": "1.12.
|
|
1241
|
-
"@swc/core-win32-x64-msvc": "1.12.
|
|
1232
|
+
"@swc/core-darwin-arm64": "1.12.4",
|
|
1233
|
+
"@swc/core-darwin-x64": "1.12.4",
|
|
1234
|
+
"@swc/core-linux-arm-gnueabihf": "1.12.4",
|
|
1235
|
+
"@swc/core-linux-arm64-gnu": "1.12.4",
|
|
1236
|
+
"@swc/core-linux-arm64-musl": "1.12.4",
|
|
1237
|
+
"@swc/core-linux-x64-gnu": "1.12.4",
|
|
1238
|
+
"@swc/core-linux-x64-musl": "1.12.4",
|
|
1239
|
+
"@swc/core-win32-arm64-msvc": "1.12.4",
|
|
1240
|
+
"@swc/core-win32-ia32-msvc": "1.12.4",
|
|
1241
|
+
"@swc/core-win32-x64-msvc": "1.12.4"
|
|
1242
1242
|
},
|
|
1243
1243
|
"peerDependencies": {
|
|
1244
1244
|
"@swc/helpers": ">=0.5.17"
|
|
@@ -1250,9 +1250,9 @@
|
|
|
1250
1250
|
}
|
|
1251
1251
|
},
|
|
1252
1252
|
"node_modules/@swc/core-darwin-arm64": {
|
|
1253
|
-
"version": "1.12.
|
|
1254
|
-
"resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.12.
|
|
1255
|
-
"integrity": "sha512-
|
|
1253
|
+
"version": "1.12.4",
|
|
1254
|
+
"resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.12.4.tgz",
|
|
1255
|
+
"integrity": "sha512-HihKfeitjZU2ab94Zf893sxzFryLKX0TweGsNXXOLNtkSMLw50auuYfpRM0BOL9/uXXtuCWgRIF6P030SAX5xQ==",
|
|
1256
1256
|
"cpu": [
|
|
1257
1257
|
"arm64"
|
|
1258
1258
|
],
|
|
@@ -1267,9 +1267,9 @@
|
|
|
1267
1267
|
}
|
|
1268
1268
|
},
|
|
1269
1269
|
"node_modules/@swc/core-darwin-x64": {
|
|
1270
|
-
"version": "1.12.
|
|
1271
|
-
"resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.12.
|
|
1272
|
-
"integrity": "sha512-
|
|
1270
|
+
"version": "1.12.4",
|
|
1271
|
+
"resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.12.4.tgz",
|
|
1272
|
+
"integrity": "sha512-meYCXHyYb6RDdu2N5PNAf0EelyxPBFhRcVo4kBFLuvuNb0m6EUg///VWy8MUMXq9/s9uzGS9kJVXXdRdr/d6FA==",
|
|
1273
1273
|
"cpu": [
|
|
1274
1274
|
"x64"
|
|
1275
1275
|
],
|
|
@@ -1284,9 +1284,9 @@
|
|
|
1284
1284
|
}
|
|
1285
1285
|
},
|
|
1286
1286
|
"node_modules/@swc/core-linux-arm-gnueabihf": {
|
|
1287
|
-
"version": "1.12.
|
|
1288
|
-
"resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.12.
|
|
1289
|
-
"integrity": "sha512-
|
|
1287
|
+
"version": "1.12.4",
|
|
1288
|
+
"resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.12.4.tgz",
|
|
1289
|
+
"integrity": "sha512-szfDbf7mE8V64of0q/LSqbk+em+T+TD3uqnH40Z7Qu/aL8vi5CHgyLjWG2SLkLLpyjgkAUF6AKrupgnBYcC2NA==",
|
|
1290
1290
|
"cpu": [
|
|
1291
1291
|
"arm"
|
|
1292
1292
|
],
|
|
@@ -1301,9 +1301,9 @@
|
|
|
1301
1301
|
}
|
|
1302
1302
|
},
|
|
1303
1303
|
"node_modules/@swc/core-linux-arm64-gnu": {
|
|
1304
|
-
"version": "1.12.
|
|
1305
|
-
"resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.12.
|
|
1306
|
-
"integrity": "sha512-
|
|
1304
|
+
"version": "1.12.4",
|
|
1305
|
+
"resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.12.4.tgz",
|
|
1306
|
+
"integrity": "sha512-n0IY76w+Scx8m3HIVRvLkoResuwsQgjDfAk9bxn99dq4leQO+mE0fkPl0Yw/1BIsPh+kxGfopIJH9zsZ1Z2YrA==",
|
|
1307
1307
|
"cpu": [
|
|
1308
1308
|
"arm64"
|
|
1309
1309
|
],
|
|
@@ -1318,9 +1318,9 @@
|
|
|
1318
1318
|
}
|
|
1319
1319
|
},
|
|
1320
1320
|
"node_modules/@swc/core-linux-arm64-musl": {
|
|
1321
|
-
"version": "1.12.
|
|
1322
|
-
"resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.12.
|
|
1323
|
-
"integrity": "sha512-
|
|
1321
|
+
"version": "1.12.4",
|
|
1322
|
+
"resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.12.4.tgz",
|
|
1323
|
+
"integrity": "sha512-wE5jmFi5cEQyLy8WmCWmNwfKETrnzy2D8YNi/xpYWpLPWqPhcelpa6tswkfYlbsMmmOh7hQNoTba1QdGu0jvHQ==",
|
|
1324
1324
|
"cpu": [
|
|
1325
1325
|
"arm64"
|
|
1326
1326
|
],
|
|
@@ -1335,9 +1335,9 @@
|
|
|
1335
1335
|
}
|
|
1336
1336
|
},
|
|
1337
1337
|
"node_modules/@swc/core-linux-x64-gnu": {
|
|
1338
|
-
"version": "1.12.
|
|
1339
|
-
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.12.
|
|
1340
|
-
"integrity": "sha512-
|
|
1338
|
+
"version": "1.12.4",
|
|
1339
|
+
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.12.4.tgz",
|
|
1340
|
+
"integrity": "sha512-6S50Xd/7ePjEwrXyHMxpKTZ+KBrgUwMA8hQPbArUOwH4S5vHBr51heL0iXbUkppn1bkSr0J0IbOove5hzn+iqQ==",
|
|
1341
1341
|
"cpu": [
|
|
1342
1342
|
"x64"
|
|
1343
1343
|
],
|
|
@@ -1352,9 +1352,9 @@
|
|
|
1352
1352
|
}
|
|
1353
1353
|
},
|
|
1354
1354
|
"node_modules/@swc/core-linux-x64-musl": {
|
|
1355
|
-
"version": "1.12.
|
|
1356
|
-
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.12.
|
|
1357
|
-
"integrity": "sha512-
|
|
1355
|
+
"version": "1.12.4",
|
|
1356
|
+
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.12.4.tgz",
|
|
1357
|
+
"integrity": "sha512-hbYRyaHhC13vYKuGG5BrAG5fjjWEQFfQetuFp/4QKEoXDzdnabJoixxWTQACDL3m0JW32nJ+gUzsYIPtFYkwXg==",
|
|
1358
1358
|
"cpu": [
|
|
1359
1359
|
"x64"
|
|
1360
1360
|
],
|
|
@@ -1369,9 +1369,9 @@
|
|
|
1369
1369
|
}
|
|
1370
1370
|
},
|
|
1371
1371
|
"node_modules/@swc/core-win32-arm64-msvc": {
|
|
1372
|
-
"version": "1.12.
|
|
1373
|
-
"resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.12.
|
|
1374
|
-
"integrity": "sha512-
|
|
1372
|
+
"version": "1.12.4",
|
|
1373
|
+
"resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.12.4.tgz",
|
|
1374
|
+
"integrity": "sha512-e6EbfjPL8GA/bb1lc9Omtxjlz+1ThTsAuBsy4Q3Kpbuh6B3jclg8KzxU/6t91v23wG593mieTyR5f3Pr7X3AWw==",
|
|
1375
1375
|
"cpu": [
|
|
1376
1376
|
"arm64"
|
|
1377
1377
|
],
|
|
@@ -1386,9 +1386,9 @@
|
|
|
1386
1386
|
}
|
|
1387
1387
|
},
|
|
1388
1388
|
"node_modules/@swc/core-win32-ia32-msvc": {
|
|
1389
|
-
"version": "1.12.
|
|
1390
|
-
"resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.12.
|
|
1391
|
-
"integrity": "sha512-
|
|
1389
|
+
"version": "1.12.4",
|
|
1390
|
+
"resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.12.4.tgz",
|
|
1391
|
+
"integrity": "sha512-RG2FzmllBTUf4EksANlIvLckcBrLZEA0t13LIa6L213UZKQfEuDNHezqESgoVhJMg2S/tWauitATOCFgZNSmjg==",
|
|
1392
1392
|
"cpu": [
|
|
1393
1393
|
"ia32"
|
|
1394
1394
|
],
|
|
@@ -1403,9 +1403,9 @@
|
|
|
1403
1403
|
}
|
|
1404
1404
|
},
|
|
1405
1405
|
"node_modules/@swc/core-win32-x64-msvc": {
|
|
1406
|
-
"version": "1.12.
|
|
1407
|
-
"resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.12.
|
|
1408
|
-
"integrity": "sha512
|
|
1406
|
+
"version": "1.12.4",
|
|
1407
|
+
"resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.12.4.tgz",
|
|
1408
|
+
"integrity": "sha512-oRHKnZlR83zaMeVUCmHENa4j5uNRAWbmEpjYbzRcfC45LPFNWKGWGAGERLx0u87XMUtTGqnVYxnBTHN/rzDHOw==",
|
|
1409
1409
|
"cpu": [
|
|
1410
1410
|
"x64"
|
|
1411
1411
|
],
|
|
@@ -3594,13 +3594,13 @@
|
|
|
3594
3594
|
}
|
|
3595
3595
|
},
|
|
3596
3596
|
"node_modules/rollup": {
|
|
3597
|
-
"version": "4.
|
|
3598
|
-
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.
|
|
3599
|
-
"integrity": "sha512-
|
|
3597
|
+
"version": "4.44.0",
|
|
3598
|
+
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.44.0.tgz",
|
|
3599
|
+
"integrity": "sha512-qHcdEzLCiktQIfwBq420pn2dP+30uzqYxv9ETm91wdt2R9AFcWfjNAmje4NWlnCIQ5RMTzVf0ZyisOKqHR6RwA==",
|
|
3600
3600
|
"dev": true,
|
|
3601
3601
|
"license": "MIT",
|
|
3602
3602
|
"dependencies": {
|
|
3603
|
-
"@types/estree": "1.0.
|
|
3603
|
+
"@types/estree": "1.0.8"
|
|
3604
3604
|
},
|
|
3605
3605
|
"bin": {
|
|
3606
3606
|
"rollup": "dist/bin/rollup"
|
|
@@ -3610,36 +3610,29 @@
|
|
|
3610
3610
|
"npm": ">=8.0.0"
|
|
3611
3611
|
},
|
|
3612
3612
|
"optionalDependencies": {
|
|
3613
|
-
"@rollup/rollup-android-arm-eabi": "4.
|
|
3614
|
-
"@rollup/rollup-android-arm64": "4.
|
|
3615
|
-
"@rollup/rollup-darwin-arm64": "4.
|
|
3616
|
-
"@rollup/rollup-darwin-x64": "4.
|
|
3617
|
-
"@rollup/rollup-freebsd-arm64": "4.
|
|
3618
|
-
"@rollup/rollup-freebsd-x64": "4.
|
|
3619
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.
|
|
3620
|
-
"@rollup/rollup-linux-arm-musleabihf": "4.
|
|
3621
|
-
"@rollup/rollup-linux-arm64-gnu": "4.
|
|
3622
|
-
"@rollup/rollup-linux-arm64-musl": "4.
|
|
3623
|
-
"@rollup/rollup-linux-loongarch64-gnu": "4.
|
|
3624
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "4.
|
|
3625
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.
|
|
3626
|
-
"@rollup/rollup-linux-riscv64-musl": "4.
|
|
3627
|
-
"@rollup/rollup-linux-s390x-gnu": "4.
|
|
3628
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
3629
|
-
"@rollup/rollup-linux-x64-musl": "4.
|
|
3630
|
-
"@rollup/rollup-win32-arm64-msvc": "4.
|
|
3631
|
-
"@rollup/rollup-win32-ia32-msvc": "4.
|
|
3632
|
-
"@rollup/rollup-win32-x64-msvc": "4.
|
|
3613
|
+
"@rollup/rollup-android-arm-eabi": "4.44.0",
|
|
3614
|
+
"@rollup/rollup-android-arm64": "4.44.0",
|
|
3615
|
+
"@rollup/rollup-darwin-arm64": "4.44.0",
|
|
3616
|
+
"@rollup/rollup-darwin-x64": "4.44.0",
|
|
3617
|
+
"@rollup/rollup-freebsd-arm64": "4.44.0",
|
|
3618
|
+
"@rollup/rollup-freebsd-x64": "4.44.0",
|
|
3619
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.44.0",
|
|
3620
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.44.0",
|
|
3621
|
+
"@rollup/rollup-linux-arm64-gnu": "4.44.0",
|
|
3622
|
+
"@rollup/rollup-linux-arm64-musl": "4.44.0",
|
|
3623
|
+
"@rollup/rollup-linux-loongarch64-gnu": "4.44.0",
|
|
3624
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.44.0",
|
|
3625
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.44.0",
|
|
3626
|
+
"@rollup/rollup-linux-riscv64-musl": "4.44.0",
|
|
3627
|
+
"@rollup/rollup-linux-s390x-gnu": "4.44.0",
|
|
3628
|
+
"@rollup/rollup-linux-x64-gnu": "4.44.0",
|
|
3629
|
+
"@rollup/rollup-linux-x64-musl": "4.44.0",
|
|
3630
|
+
"@rollup/rollup-win32-arm64-msvc": "4.44.0",
|
|
3631
|
+
"@rollup/rollup-win32-ia32-msvc": "4.44.0",
|
|
3632
|
+
"@rollup/rollup-win32-x64-msvc": "4.44.0",
|
|
3633
3633
|
"fsevents": "~2.3.2"
|
|
3634
3634
|
}
|
|
3635
3635
|
},
|
|
3636
|
-
"node_modules/rollup/node_modules/@types/estree": {
|
|
3637
|
-
"version": "1.0.7",
|
|
3638
|
-
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",
|
|
3639
|
-
"integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==",
|
|
3640
|
-
"dev": true,
|
|
3641
|
-
"license": "MIT"
|
|
3642
|
-
},
|
|
3643
3636
|
"node_modules/run-parallel": {
|
|
3644
3637
|
"version": "1.2.0",
|
|
3645
3638
|
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
|
package/package.json
CHANGED
|
@@ -92,7 +92,7 @@ export interface IGetMaterialEntranceInfoStock {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
|
|
95
|
-
document_line_id: string;
|
|
95
|
+
document_line_id: string | null;
|
|
96
96
|
quantity: number;
|
|
97
97
|
option:
|
|
98
98
|
| ICreateMaterialEntranceStockOption
|
|
@@ -115,7 +115,7 @@ export interface IEntradaDeMaterialNC {
|
|
|
115
115
|
|
|
116
116
|
export interface IGetMaterialEntranceInfoResponse {
|
|
117
117
|
clientOrders: IEntradaDeMaterialClientOrder[];
|
|
118
|
-
stock: IEntradaDeMaterialStock;
|
|
118
|
+
stock: IEntradaDeMaterialStock[];
|
|
119
119
|
not_ok: IEntradaDeMaterialNC;
|
|
120
120
|
saved_id: string | null;
|
|
121
121
|
}
|
|
@@ -47,7 +47,7 @@ const entradaDeMaterialStockBodyKeys: IShared.IRouteRequest<IEntradaDeMaterialSt
|
|
|
47
47
|
ef_dla_id: joi.string().uuid().allow(null).required(),
|
|
48
48
|
ordered_quantity: joi.number().positive().allow(0).required(),
|
|
49
49
|
|
|
50
|
-
document_line_id: joi.string().uuid().required(),
|
|
50
|
+
document_line_id: joi.string().uuid().allow(null).required(),
|
|
51
51
|
quantity: joi.number().positive().allow(0).required(),
|
|
52
52
|
option: joi
|
|
53
53
|
.string()
|
|
@@ -79,8 +79,8 @@ const entradaDeMaterialNCBodyKeys: IShared.IRouteRequest<IEntradaDeMaterialNC> =
|
|
|
79
79
|
const entradaDeMaterialNCBody = joi.object().keys(entradaDeMaterialNCBodyKeys).messages(messages);
|
|
80
80
|
|
|
81
81
|
const entradaDeMaterialDocumentHeaderBodyKeys: IShared.IRouteRequest<ISavedEmPickingData> = {
|
|
82
|
-
clientOrders: joi.array().items(entradaDeMaterialClientOrderBody),
|
|
83
|
-
stock: entradaDeMaterialStockBody,
|
|
82
|
+
clientOrders: joi.array().items(entradaDeMaterialClientOrderBody).required(),
|
|
83
|
+
stock: joi.array().items(entradaDeMaterialStockBody).required(),
|
|
84
84
|
not_ok: entradaDeMaterialNCBody,
|
|
85
85
|
};
|
|
86
86
|
|