@zauru-sdk/types 6.13.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 +17 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -579,6 +579,7 @@ export type PurchaseOrderCosto = {
|
|
|
579
579
|
memo?: string;
|
|
580
580
|
payee_id?: number;
|
|
581
581
|
reference?: string;
|
|
582
|
+
discount?: number;
|
|
582
583
|
purchase_order_details: {
|
|
583
584
|
id: number;
|
|
584
585
|
item_id: number;
|
|
@@ -587,6 +588,22 @@ export type PurchaseOrderCosto = {
|
|
|
587
588
|
precioBase?: number;
|
|
588
589
|
}[];
|
|
589
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
|
+
};
|
|
590
607
|
export type CostoSemanal = {
|
|
591
608
|
item: number;
|
|
592
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
|
}
|