@nomalism-com/types 0.43.41 → 0.43.43
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.
- package/dist/shared/entities/stock.d.ts +16 -11
- package/package.json +1 -1
|
@@ -109,6 +109,7 @@ export type ProductPrices = {
|
|
|
109
109
|
origin_id: string | null;
|
|
110
110
|
created_by: string;
|
|
111
111
|
updated_by: string;
|
|
112
|
+
margin: number;
|
|
112
113
|
};
|
|
113
114
|
/**
|
|
114
115
|
* Model ProductImage
|
|
@@ -346,6 +347,8 @@ export type DocumentHeader = {
|
|
|
346
347
|
updated_at: Date;
|
|
347
348
|
created_by: string;
|
|
348
349
|
updated_by: string;
|
|
350
|
+
document_label: string;
|
|
351
|
+
name: string;
|
|
349
352
|
};
|
|
350
353
|
/**
|
|
351
354
|
* Model DocumentHeaderHistory
|
|
@@ -399,6 +402,19 @@ export type DocumentLine = {
|
|
|
399
402
|
updated_at: Date;
|
|
400
403
|
created_by: string;
|
|
401
404
|
updated_by: string;
|
|
405
|
+
client_unit_total_without_tax: number;
|
|
406
|
+
client_unit_total_without_discount: number;
|
|
407
|
+
client_unit_total: number;
|
|
408
|
+
client_unit_total_discount: number;
|
|
409
|
+
client_unit_total_tax: number;
|
|
410
|
+
client_total_without_tax: number;
|
|
411
|
+
client_total_without_discount: number;
|
|
412
|
+
client_total: number;
|
|
413
|
+
client_total_discount: number;
|
|
414
|
+
client_total_tax: number;
|
|
415
|
+
group_header: boolean;
|
|
416
|
+
product_margin: number;
|
|
417
|
+
virtual_index: number;
|
|
402
418
|
};
|
|
403
419
|
/**
|
|
404
420
|
* Model DocumentLineAssoc
|
|
@@ -914,16 +930,6 @@ export type DocumentLineBaseVirtuals = {
|
|
|
914
930
|
*/
|
|
915
931
|
export type DocumentLineVirtuals = {
|
|
916
932
|
document_line_id: string;
|
|
917
|
-
client_unit_total_without_tax: number;
|
|
918
|
-
client_unit_total_without_discount: number;
|
|
919
|
-
client_unit_total: number;
|
|
920
|
-
client_unit_total_discount: number;
|
|
921
|
-
client_unit_total_tax: number;
|
|
922
|
-
client_total_without_tax: number;
|
|
923
|
-
client_total_without_discount: number;
|
|
924
|
-
client_total: number;
|
|
925
|
-
client_total_discount: number;
|
|
926
|
-
client_total_tax: number;
|
|
927
933
|
provider_unit_total_without_tax: number;
|
|
928
934
|
provider_unit_total_without_discount: number;
|
|
929
935
|
provider_unit_total: number;
|
|
@@ -940,7 +946,6 @@ export type DocumentLineVirtuals = {
|
|
|
940
946
|
phc_closed: boolean;
|
|
941
947
|
closed: boolean;
|
|
942
948
|
provider_closed: boolean;
|
|
943
|
-
group_header: boolean;
|
|
944
949
|
waiting_for_bulk_order: boolean;
|
|
945
950
|
waiting_for_order: boolean;
|
|
946
951
|
stock_in: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.43.
|
|
4
|
+
"version": "0.43.43",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|