@nomalism-com/types 0.16.6 → 0.16.9

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.
@@ -21,6 +21,7 @@ export interface IGetMaterialEntranceInfoClientOrder {
21
21
  pc_dla_id: string;
22
22
  }
23
23
  export interface IEntradaDeMaterialClientOrder extends IGetMaterialEntranceInfoClientOrder {
24
+ document_line_id: string;
24
25
  quantity: number;
25
26
  option: ICreateMaterialEntranceClientOrderOption | null;
26
27
  observation: string | null;
@@ -46,6 +47,7 @@ export interface IGetMaterialEntranceInfoStock {
46
47
  ordered_quantity: number;
47
48
  }
48
49
  export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
50
+ document_line_id: string;
49
51
  quantity: number;
50
52
  option: ICreateMaterialEntranceStockOption | ICreateMaterialEntranceStockWithoutOrderOption | null;
51
53
  observation: string | null;
@@ -54,6 +56,7 @@ export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
54
56
  export interface IEntradaDeMaterialNC {
55
57
  ef_dla_id: null;
56
58
  ordered_quantity: 0;
59
+ document_line_id: string;
57
60
  quantity: number;
58
61
  option: null;
59
62
  observation: string | null;
@@ -6,16 +6,15 @@ export interface IFindLinesInPrisonResponse {
6
6
  id: string;
7
7
  quantity: number;
8
8
  id_provider: number;
9
- observations?: string;
10
9
  product: {
11
10
  id: string;
12
11
  thumbnail_multimedia_id: string | null;
13
12
  virtual: {
14
13
  designation: string;
15
14
  reference: string;
16
- } | null;
15
+ };
17
16
  };
18
- updated_by: string | null;
17
+ updated_by: string;
19
18
  updated_at: Date;
20
19
  }
21
20
  export declare const checkLineInPrisonOptions: readonly ["Por confirmar", "Devolver a stock", "Quebrar", "Devolver a fornecedor"];
@@ -24,6 +24,7 @@ var entradaDeMaterialClientOrderBodyKeys = {
24
24
  pc_owner_id: joi_1.default.string().uuid().required(),
25
25
  pc_dh_number: joi_1.default.number().integer().positive().required(),
26
26
  pc_dla_id: joi_1.default.string().uuid().required(),
27
+ document_line_id: joi_1.default.string().uuid().required(),
27
28
  quantity: joi_1.default.number().positive().allow(0).required(),
28
29
  option: (_a = joi_1.default
29
30
  .string())
@@ -39,6 +40,7 @@ var entradaDeMaterialClientOrderBody = joi_1.default
39
40
  var entradaDeMaterialStockBodyKeys = {
40
41
  ef_dla_id: joi_1.default.string().uuid().allow(null).required(),
41
42
  ordered_quantity: joi_1.default.number().positive().allow(0).required(),
43
+ document_line_id: joi_1.default.string().uuid().required(),
42
44
  quantity: joi_1.default.number().positive().allow(0).required(),
43
45
  option: (_b = joi_1.default
44
46
  .string())
@@ -55,6 +57,7 @@ var entradaDeMaterialStockBody = joi_1.default
55
57
  var entradaDeMaterialNCBodyKeys = {
56
58
  ef_dla_id: joi_1.default.valid(null).required(),
57
59
  ordered_quantity: joi_1.default.number().valid(0).required(),
60
+ document_line_id: joi_1.default.string().uuid().required(),
58
61
  quantity: joi_1.default.number().positive().allow(0).required(),
59
62
  option: joi_1.default.valid(null).required(),
60
63
  observation: joi_1.default.string().allow(null),
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.16.6",
12
+ "version": "0.16.9",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [