@nomalism-com/types 0.18.78 → 0.19.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
|
-
import { DocumentLine,
|
|
2
|
+
import { DocumentLine, DocumentLineVirtuals, DocumentLineFolder, DocumentLinePendingConflict } from '../../../shared/entities';
|
|
3
3
|
import * as IDocumentLineAssoc from '../documentLineAssoc/interfaces';
|
|
4
4
|
import * as IDocumentHeader from '../documentHeader/interfaces';
|
|
5
5
|
import * as IDocumentType from '../documentType/interfaces';
|
|
@@ -8,7 +8,6 @@ export declare const Route = "documentLine";
|
|
|
8
8
|
export declare const UpperName = "DocumentLine";
|
|
9
9
|
export declare const LowerName: string;
|
|
10
10
|
export type IDocumentLineVirtuals = DocumentLineVirtuals;
|
|
11
|
-
export type IDocumentLineBaseVirtuals = DocumentLineBaseVirtuals;
|
|
12
11
|
export declare enum IMetadataPlugins {
|
|
13
12
|
almofada = "almofada",
|
|
14
13
|
atoalhado = "atoalhado",
|
|
@@ -133,8 +132,7 @@ export type IDocumentLineDocuments = Pick<IDocumentHeader.Entity, 'pdf_link' | '
|
|
|
133
132
|
};
|
|
134
133
|
export interface IEntityExtended extends DocumentLine {
|
|
135
134
|
data: IData;
|
|
136
|
-
|
|
137
|
-
virtual: IDocumentLineBaseVirtuals | null;
|
|
135
|
+
virtual: IDocumentLineVirtuals | null;
|
|
138
136
|
document_headers: IDocumentLineDocuments[];
|
|
139
137
|
document_line_folder: DocumentLineFolder | null;
|
|
140
138
|
pending_conflict: DocumentLinePendingConflict | null;
|
|
@@ -79,7 +79,6 @@ export import ZipCode = User.ZipCode;
|
|
|
79
79
|
export import DocumentSet = Stock.DocumentSet;
|
|
80
80
|
export import ExternalDocumentType = Stock.ExternalDocumentType;
|
|
81
81
|
export import File = Integration.File;
|
|
82
|
-
export import DocumentLineBaseVirtuals = Stock.DocumentLineBaseVirtuals;
|
|
83
82
|
export import DocumentLineVirtuals = Stock.DocumentLineVirtuals;
|
|
84
83
|
export import StartDocumentHeaderVirtuals = Stock.StartDocumentHeaderVirtuals;
|
|
85
84
|
export import DocumentHeaderVirtuals = Stock.DocumentHeaderVirtuals;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IConflict } from
|
|
2
|
-
import { IAttributeDatatype } from
|
|
3
|
-
import { ICabideType } from
|
|
4
|
-
import { IDocumentTypeUserType, IDocumentTypeCodeType } from
|
|
5
|
-
import { IBatchType, IPaymentOrigin } from
|
|
6
|
-
import { IProductType, IEntityExtended } from
|
|
7
|
-
import { IImageType } from
|
|
8
|
-
import { IQueryParameterDatatype } from
|
|
9
|
-
import { IData, IMetadata } from
|
|
10
|
-
import { IPhcDocumentType } from
|
|
11
|
-
import { ISavedEmPickingData } from
|
|
12
|
-
import { IDocumentLineNoteType } from
|
|
1
|
+
import { IConflict } from "../../modules/document/propostaSheets/interface";
|
|
2
|
+
import { IAttributeDatatype } from "../../modules/stock/attribute/interfaces";
|
|
3
|
+
import { ICabideType } from "../../modules/supply/cabide/interface";
|
|
4
|
+
import { IDocumentTypeUserType, IDocumentTypeCodeType } from "../../modules/supply/documentType/interfaces";
|
|
5
|
+
import { IBatchType, IPaymentOrigin } from "../../modules/supply/payment/interface";
|
|
6
|
+
import { IProductType, IEntityExtended } from "../../modules/stock/product/interface";
|
|
7
|
+
import { IImageType } from "../../modules/stock/productImage/interface";
|
|
8
|
+
import { IQueryParameterDatatype } from "../../modules/stock/queryParameter/interfaces";
|
|
9
|
+
import { IData, IMetadata } from "../../modules/supply/documentLine/interfaces";
|
|
10
|
+
import { IPhcDocumentType } from "../../modules/supply/clientCurrentAccount/interfaces";
|
|
11
|
+
import { ISavedEmPickingData } from "../../modules/stock/savedEmPicking/interfaces";
|
|
12
|
+
import { IDocumentLineNoteType } from "../../modules/supply/documentLineNote/interfaces";
|
|
13
13
|
export type Attribute = {
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
@@ -765,6 +765,7 @@ export type QueryParameter = {
|
|
|
765
765
|
preffix: string | null;
|
|
766
766
|
input: boolean;
|
|
767
767
|
output: boolean;
|
|
768
|
+
align: string;
|
|
768
769
|
width: number | null;
|
|
769
770
|
query_id: string;
|
|
770
771
|
order: number | null;
|
|
@@ -896,7 +897,7 @@ export type ProductVirtuals = {
|
|
|
896
897
|
available: number;
|
|
897
898
|
ordered_quantity: number;
|
|
898
899
|
};
|
|
899
|
-
export type
|
|
900
|
+
export type DocumentLineVirtuals = {
|
|
900
901
|
document_line_id: string;
|
|
901
902
|
client_unit_total_without_tax: number;
|
|
902
903
|
client_unit_total_without_discount: number;
|
|
@@ -952,9 +953,6 @@ export type DocumentLineBaseVirtuals = {
|
|
|
952
953
|
returned_from_invoice_external_id: string | null;
|
|
953
954
|
return_id: string | null;
|
|
954
955
|
credit_note_id: string | null;
|
|
955
|
-
};
|
|
956
|
-
export type DocumentLineVirtuals = {
|
|
957
|
-
document_line_id: string;
|
|
958
956
|
state: string;
|
|
959
957
|
provider_state: string;
|
|
960
958
|
};
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.19.1",
|
|
13
13
|
"main": "./dist/index.min.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@rollup/plugin-terser": "^0.4.4",
|
|
41
41
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
42
|
-
"@types/node": "^20.11.
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^7.1.
|
|
44
|
-
"@typescript-eslint/parser": "^7.1.
|
|
42
|
+
"@types/node": "^20.11.25",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
44
|
+
"@typescript-eslint/parser": "^7.1.1",
|
|
45
45
|
"eslint": "^8.57.0",
|
|
46
|
-
"rollup": "^4.12.
|
|
46
|
+
"rollup": "^4.12.1",
|
|
47
47
|
"tslib": "^2.6.2"
|
|
48
48
|
}
|
|
49
49
|
}
|