@nomalism-com/types 0.19.25 → 0.19.26
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.
|
@@ -145,7 +145,6 @@ export type IDocumentLineDocuments = Pick<IDocumentHeader.Entity, "pdf_link" | "
|
|
|
145
145
|
created_by: string | null;
|
|
146
146
|
};
|
|
147
147
|
export interface IEntityExtended extends DocumentLine {
|
|
148
|
-
data: IData;
|
|
149
148
|
virtual: IDocumentLineVirtuals | null;
|
|
150
149
|
document_headers: IDocumentLineDocuments[];
|
|
151
150
|
document_line_folder: DocumentLineFolder | null;
|
|
@@ -3,7 +3,7 @@ import { IAttributeDatatype } from "../../modules/stock/attribute/interfaces";
|
|
|
3
3
|
import { ICabideType } from "../../modules/supply/cabide/interface";
|
|
4
4
|
import { IDocumentTypeUserType, IDocumentTypeCodeType } from "../../modules/supply/documentType/interfaces";
|
|
5
5
|
import { IBatchType, IPaymentOrigin } from "../../modules/supply/payment/interface";
|
|
6
|
-
import { IProductType
|
|
6
|
+
import { IProductType } from "../../modules/stock/product/interface";
|
|
7
7
|
import { IImageType } from "../../modules/stock/productImage/interface";
|
|
8
8
|
import { IQueryParameterDatatype } from "../../modules/stock/queryParameter/interfaces";
|
|
9
9
|
import { IData, IDataDocumentoPago, IDataPagamento, IMetadata } from "../../modules/supply/documentLine/interfaces";
|
|
@@ -566,8 +566,19 @@ export type DocumentHeader = {
|
|
|
566
566
|
};
|
|
567
567
|
export type DocumentLine = {
|
|
568
568
|
id: string;
|
|
569
|
-
product: IEntityExtended | null;
|
|
570
569
|
product_id: string | null;
|
|
570
|
+
product_name: string | null;
|
|
571
|
+
product_promotions: Pick<ProductPromotionVirtuals, "exclusive_to_location_id" | "exclusive_to_client_id" | "discount">[];
|
|
572
|
+
product_no_discount: boolean;
|
|
573
|
+
product_thumbnail: string | null;
|
|
574
|
+
product_reference: string | null;
|
|
575
|
+
product_dnt_come_anymore: boolean;
|
|
576
|
+
product_designation: string | null;
|
|
577
|
+
product_provider_ref: string | null;
|
|
578
|
+
product_measure: string | null;
|
|
579
|
+
product_type: IProductType | null;
|
|
580
|
+
product_integer_only: boolean;
|
|
581
|
+
product_id_provider: number | null;
|
|
571
582
|
avg_unit_cost: number | null;
|
|
572
583
|
prison: boolean;
|
|
573
584
|
cativado: boolean;
|