@nomalism-com/types 0.43.100 → 0.43.102
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
CHANGED
|
@@ -4851,6 +4851,7 @@ var entradaDeMaterialStockBodyKeys = {
|
|
|
4851
4851
|
ordered_quantity: joi85.number().positive().allow(0).required(),
|
|
4852
4852
|
document_line_id: joi85.string().uuid().allow(null).required(),
|
|
4853
4853
|
quantity: joi85.number().positive().allow(0).required(),
|
|
4854
|
+
real_quantity: joi85.number().positive().allow(0).optional(),
|
|
4854
4855
|
option: joi85.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
|
|
4855
4856
|
note: joi85.string().allow(null),
|
|
4856
4857
|
printed: joi85.string().allow(null)
|
package/dist/index.js
CHANGED
|
@@ -4851,6 +4851,7 @@ var entradaDeMaterialStockBodyKeys = {
|
|
|
4851
4851
|
ordered_quantity: joi85.number().positive().allow(0).required(),
|
|
4852
4852
|
document_line_id: joi85.string().uuid().allow(null).required(),
|
|
4853
4853
|
quantity: joi85.number().positive().allow(0).required(),
|
|
4854
|
+
real_quantity: joi85.number().positive().allow(0).optional(),
|
|
4854
4855
|
option: joi85.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
|
|
4855
4856
|
note: joi85.string().allow(null),
|
|
4856
4857
|
printed: joi85.string().allow(null)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DocumentHeader, DocumentLineNote } from '../../../shared/entities/stock';
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
import { type IProductType } from '../../stock/productGoogleSheets/interface';
|
|
4
|
+
import type { ISavedEmPickingData } from '../../stock/savedEmPicking/interfaces';
|
|
4
5
|
export declare const Route = "material_entrance";
|
|
5
6
|
export declare const UpperName = "MaterialEntrance";
|
|
6
7
|
export declare const LowerName: string;
|
|
@@ -51,6 +52,7 @@ export interface IGetMaterialEntranceInfoStock {
|
|
|
51
52
|
export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
|
|
52
53
|
document_line_id: string | null;
|
|
53
54
|
quantity: number;
|
|
55
|
+
real_quantity?: number;
|
|
54
56
|
option: ICreateMaterialEntranceStockOption | ICreateMaterialEntranceStockWithoutOrderOption | null;
|
|
55
57
|
note: string | null;
|
|
56
58
|
printed: string | null;
|
|
@@ -127,6 +129,7 @@ interface IRepository {
|
|
|
127
129
|
undoEntradaMaterial(data: IUndoEntradaDeMaterialRequest): Promise<void>;
|
|
128
130
|
findUnfinishedPickings(selector: IShared.IFindByIdRequest): Promise<IUnfinishedPickingsResponse[]>;
|
|
129
131
|
findMaterialEntranceProviders(): Promise<IShared.IFindMinifiedResponse[]>;
|
|
132
|
+
findDoneById(params: IShared.IFindByIdRequest): Promise<ISavedEmPickingData | null>;
|
|
130
133
|
}
|
|
131
134
|
export type IApi = Omit<IRepository, 'finalizarEntradaMaterial'> & {
|
|
132
135
|
finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IFinalizarEntradaDeMaterialResponse>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.43.
|
|
4
|
+
"version": "0.43.102",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"joi": "^18.1.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@swc/core": "^1.15.
|
|
32
|
+
"@swc/core": "^1.15.30",
|
|
33
33
|
"@types/node": "^24.12.2",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
35
|
-
"@typescript-eslint/parser": "^8.
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
35
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
36
36
|
"eslint": "^9.39.4",
|
|
37
37
|
"eslint-config-prettier": "^10.1.8",
|
|
38
38
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
39
39
|
"eslint-plugin-prettier": "^5.5.5",
|
|
40
|
-
"prettier": "^3.8.
|
|
40
|
+
"prettier": "^3.8.3",
|
|
41
41
|
"tsup": "^8.5.1"
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|