@zauru-sdk/types 6.12.0 → 6.14.0
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/Custom.types.d.ts +19 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -577,6 +577,9 @@ export type PurchaseOrderCosto = {
|
|
|
577
577
|
msgResultado?: string;
|
|
578
578
|
fecha: string;
|
|
579
579
|
memo?: string;
|
|
580
|
+
payee_id?: number;
|
|
581
|
+
reference?: string;
|
|
582
|
+
discount?: number;
|
|
580
583
|
purchase_order_details: {
|
|
581
584
|
id: number;
|
|
582
585
|
item_id: number;
|
|
@@ -585,6 +588,22 @@ export type PurchaseOrderCosto = {
|
|
|
585
588
|
precioBase?: number;
|
|
586
589
|
}[];
|
|
587
590
|
};
|
|
591
|
+
export type PurchaseOrderFinancialDetail = {
|
|
592
|
+
booked_quantity?: number | string | null;
|
|
593
|
+
delivered_quantity?: number | string | null;
|
|
594
|
+
booked?: number | string | null;
|
|
595
|
+
delivered?: number | string | null;
|
|
596
|
+
quantity?: number | string | null;
|
|
597
|
+
unit_cost?: number | string | null;
|
|
598
|
+
};
|
|
599
|
+
export type CalculatePurchaseOrderFinancialsInput = {
|
|
600
|
+
details?: PurchaseOrderFinancialDetail[] | null;
|
|
601
|
+
rejectionPercentage?: number | string | null;
|
|
602
|
+
};
|
|
603
|
+
export type CalculatePurchaseOrderFinancialsResult = {
|
|
604
|
+
subtotal: number;
|
|
605
|
+
discount: number;
|
|
606
|
+
};
|
|
588
607
|
export type CostoSemanal = {
|
|
589
608
|
item: number;
|
|
590
609
|
lunMar: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "66fea5adcf174e0a5e7a5f9324eb45ae0223f8b7"
|
|
26
26
|
}
|