@nomalism-com/types 0.27.95 → 0.27.97

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.
@@ -111,7 +111,6 @@ export interface IPaymentsBatchNpfDh {
111
111
  owner_id: string;
112
112
  owner_number: number;
113
113
  owner_name: string;
114
- owner_email: string | null;
115
114
  external_document_header_id: string | null;
116
115
  pdf_link: string | null;
117
116
  total: number;
@@ -29,7 +29,6 @@ export import ObservationType = Integration.ObservationType;
29
29
  export import Payment = Stock.Payment;
30
30
  export import PaymentConditions = User.PaymentConditions;
31
31
  export import Permissions = User.Permissions;
32
- export import Product = Stock.Product;
33
32
  export import ProductImage = Stock.ProductImage;
34
33
  export import Promotion = Stock.Promotion;
35
34
  export import PromotionAssoc = Stock.PromotionAssoc;
@@ -75,39 +75,6 @@ export type PreSaleProduct = {
75
75
  created_by: string;
76
76
  updated_by: string;
77
77
  };
78
- export type Product = {
79
- id: string;
80
- reference: number;
81
- id_provider: number;
82
- provider_ref: string | null;
83
- designation: string | null;
84
- designation_saft: string;
85
- barcode: string | null;
86
- online: boolean;
87
- dnt_come_anymore: boolean;
88
- comes_temporarily: boolean;
89
- no_discount: boolean;
90
- type: IProductType;
91
- weight: number | null;
92
- width: number | null;
93
- height: number | null;
94
- length: number | null;
95
- diameter: number | null;
96
- margin: number;
97
- cabide_product_color: string | null;
98
- unit_of_measure_weight_id: string;
99
- unit_of_measure_quantity_id: string;
100
- vat_tax_id: string;
101
- cabide_product_id: string | null;
102
- origin_cabide_product_id: string | null;
103
- origin_id: string | null;
104
- created_at: Date;
105
- updated_at: Date;
106
- created_by: string;
107
- updated_by: string;
108
- external_id: string | null;
109
- imported_from_sheets: boolean | null;
110
- };
111
78
  export type Cabide = {
112
79
  id: string;
113
80
  code: string;
@@ -696,11 +663,13 @@ export type ProductBaseVirtuals = {
696
663
  price_cost: number;
697
664
  price_sale: number;
698
665
  last_avg_unit_cost: number;
666
+ margin: number;
699
667
  };
700
668
  export type ProductVirtuals = {
701
669
  product_id: string;
702
670
  price_cost: number;
703
671
  price_sale: number;
672
+ margin: number;
704
673
  last_avg_unit_cost: number;
705
674
  reserved: number;
706
675
  prison: number;
@@ -917,15 +886,6 @@ export type StockMovement = {
917
886
  quantity: number;
918
887
  stock_to_date: number;
919
888
  };
920
- export type DocumentLineLifecycle = {
921
- document_line_id: string;
922
- invalid: boolean;
923
- entry_date: Date;
924
- entry_document: string;
925
- exit_date: Date;
926
- exit_document: string;
927
- other_documents: unknown;
928
- };
929
889
  export type SettledMaterialEntrance = {
930
890
  id: string;
931
891
  document_description: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.27.95",
12
+ "version": "0.27.97",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [