@nomalism-com/types 0.25.14 → 0.26.2

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, DocumentLineVirtuals, DocumentLineFolder, DocumentLinePendingConflict, DocumentLineBaseVirtuals, ProductPromotionVirtuals, DocumentLineNote } from "../../../shared/entities";
2
+ import { DocumentLine, DocumentLineVirtuals, DocumentLineFolder, DocumentLinePendingConflict, DocumentLineBaseVirtuals, ProductPromotionVirtuals, DocumentLineNote, ProductSheet } from "../../../shared/entities";
3
3
  import * as IDocumentLineAssoc from "../documentLineAssoc/interfaces";
4
4
  import { IDocumentTypeCodeType, IDocumentTypeUserType } from "../documentType/interfaces";
5
5
  export type Entity = DocumentLine;
@@ -51,6 +51,7 @@ export interface IEntityExtended extends Omit<DocumentLine, "data"> {
51
51
  document_line_folder: DocumentLineFolder | null;
52
52
  pending_conflict: DocumentLinePendingConflict | null;
53
53
  document_line_notes: DocumentLineNote[];
54
+ updated_product: ProductSheet;
54
55
  }
55
56
  export interface ICreateRequest extends Omit<IDocumentLineAssoc.ICreateRequest, "document_line_id"> {
56
57
  document_line_id?: string;
@@ -369,16 +369,9 @@ export type DocumentLine = {
369
369
  id: string;
370
370
  product_id: string | null;
371
371
  product_promotions: IPromotions[];
372
- product_no_discount: boolean;
373
372
  product_thumbnail: string | null;
374
373
  product_reference: string | null;
375
- product_dnt_come_anymore: boolean;
376
374
  product_designation: string;
377
- product_provider_ref: string | null;
378
- product_measure: string | null;
379
- product_type: IProductType | null;
380
- product_integer_only: boolean;
381
- product_id_provider: number | null;
382
375
  avg_unit_cost: number | null;
383
376
  prison: boolean;
384
377
  cativado: boolean;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.25.14",
12
+ "version": "0.26.2",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [