@nomalism-com/types 0.19.83 → 0.19.85
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,6 +1,7 @@
|
|
|
1
1
|
import * as IShared from "../../../shared/interface";
|
|
2
2
|
import { DocumentLine, DocumentLineVirtuals, DocumentLineFolder, DocumentLinePendingConflict, DocumentLineBaseVirtuals, ProductPromotionVirtuals, DocumentLineNote } from "../../../shared/entities";
|
|
3
3
|
import * as IDocumentLineAssoc from "../documentLineAssoc/interfaces";
|
|
4
|
+
import { IDocumentTypeCodeType, IDocumentTypeUserType } from "../documentType/interfaces";
|
|
4
5
|
export type Entity = DocumentLine;
|
|
5
6
|
export declare const Route = "documentLine";
|
|
6
7
|
export declare const UpperName = "DocumentLine";
|
|
@@ -33,6 +34,8 @@ export interface IDataPagamento {
|
|
|
33
34
|
discount_value: number;
|
|
34
35
|
}
|
|
35
36
|
export interface IDocumentLineDocuments {
|
|
37
|
+
code: IDocumentTypeCodeType;
|
|
38
|
+
user_type: IDocumentTypeUserType;
|
|
36
39
|
url: string | null;
|
|
37
40
|
pdf_link: string | null;
|
|
38
41
|
}
|
|
@@ -1001,35 +1001,39 @@ export type DocumentLineVirtuals = {
|
|
|
1001
1001
|
commission_total: number;
|
|
1002
1002
|
cancelled: boolean;
|
|
1003
1003
|
phc_closed: boolean;
|
|
1004
|
-
|
|
1004
|
+
closed: boolean;
|
|
1005
|
+
provider_closed: boolean;
|
|
1006
|
+
group_header: boolean;
|
|
1007
|
+
waiting_for_bulk_order: boolean;
|
|
1008
|
+
waiting_for_order: boolean;
|
|
1009
|
+
stock_in: boolean;
|
|
1010
|
+
stock_out: boolean;
|
|
1011
|
+
conferir_encomenda: string | null;
|
|
1012
|
+
original_product_id: string | null;
|
|
1005
1013
|
purchased_from_provider: boolean;
|
|
1006
1014
|
pending_return_to_provider: boolean;
|
|
1007
1015
|
available_for_client_order: boolean;
|
|
1008
1016
|
already_client_order: boolean;
|
|
1009
|
-
already_material_entrance: boolean;
|
|
1010
1017
|
to_order: boolean;
|
|
1018
|
+
already_material_entrance: boolean;
|
|
1011
1019
|
rejected_return_to_provider: boolean;
|
|
1012
1020
|
inventory_loss: boolean;
|
|
1013
1021
|
return_to_provider_without_credit_note: boolean;
|
|
1014
1022
|
returned_to_provider: boolean;
|
|
1015
1023
|
awaiting_production: boolean;
|
|
1016
1024
|
ordered: boolean;
|
|
1017
|
-
|
|
1018
|
-
waiting_for_bulk_order: boolean;
|
|
1019
|
-
waiting_for_order: boolean;
|
|
1020
|
-
closed: boolean;
|
|
1021
|
-
provider_closed: boolean;
|
|
1022
|
-
stock_in: boolean;
|
|
1023
|
-
stock_out: boolean;
|
|
1024
|
-
client_start_id: string | null;
|
|
1025
|
-
provider_start_id: string | null;
|
|
1026
|
-
invoice_id: string | null;
|
|
1027
|
-
invoice_document_header_external_id: string | null;
|
|
1025
|
+
provider_invoice: boolean;
|
|
1028
1026
|
invoice_external_id: string | null;
|
|
1027
|
+
invoice_document_header_external_id: string | null;
|
|
1028
|
+
invoice_id: string | null;
|
|
1029
1029
|
credit_note_id: string | null;
|
|
1030
|
+
client_start_id: string | null;
|
|
1031
|
+
provider_start_id: string | null;
|
|
1030
1032
|
state: string;
|
|
1031
1033
|
provider_state: string;
|
|
1032
1034
|
phc_state: string | null;
|
|
1035
|
+
awaits_client_notification: boolean;
|
|
1036
|
+
upfront_total: number;
|
|
1033
1037
|
};
|
|
1034
1038
|
export type StartDocumentHeaderLastUpdateVirtuals = {
|
|
1035
1039
|
p_id: string;
|