@zauru-sdk/types 6.28.0 → 6.29.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.
@@ -439,6 +439,7 @@ export type UpdatePurchaseOrderBody = {
439
439
  id?: string | number;
440
440
  unit_cost?: string | number;
441
441
  item_id: string | number;
442
+ cost?: string | number;
442
443
  };
443
444
  };
444
445
  };
@@ -766,6 +767,8 @@ export type PurchaseOrderCosto = {
766
767
  }[];
767
768
  };
768
769
  export type PurchaseOrderFinancialDetail = {
770
+ id?: number | string | null;
771
+ item_id?: number | string | null;
769
772
  booked_quantity?: number | string | null;
770
773
  delivered_quantity?: number | string | null;
771
774
  booked?: number | string | null;
@@ -773,6 +776,12 @@ export type PurchaseOrderFinancialDetail = {
773
776
  quantity?: number | string | null;
774
777
  unit_cost?: number | string | null;
775
778
  };
779
+ export type PurchaseOrderDetailCostAttribute = {
780
+ id: number;
781
+ item_id: number;
782
+ unit_cost: number;
783
+ cost: number;
784
+ };
776
785
  export type CalculatePurchaseOrderFinancialsInput = {
777
786
  details?: PurchaseOrderFinancialDetail[] | null;
778
787
  /** % de rechazo de origen, o el % final ya guardado en el memo */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "6.28.0",
3
+ "version": "6.29.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": "2fda4a18e3f62d22c38fbb91052869db9ebc16f4"
25
+ "gitHead": "671859beecfce09a1ccf138055a4de26a8c1f059"
26
26
  }