@zauru-sdk/types 6.7.0 → 6.9.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.
@@ -271,6 +271,7 @@ export type UpdatePurchaseOrderBody = {
271
271
  id_number?: string;
272
272
  discount?: number;
273
273
  other_charges?: number;
274
+ memo?: string;
274
275
  payee_id?: number | string;
275
276
  reference?: string;
276
277
  purchase_order_details_attributes?: {
@@ -489,11 +490,23 @@ export type BitacoraPOMassive = {
489
490
  manual_override?: boolean;
490
491
  manual_discount?: number;
491
492
  };
493
+ /**
494
+ * Filtro aplicado al generar un consolidado.
495
+ * Lista genérica: para agregar un filtro nuevo basta con empujar otro ítem
496
+ * ({ key, label, value }) sin cambiar el modelo de ConsolidatedHistory.
497
+ */
498
+ export type ConsolidatedAppliedFilter = {
499
+ key: string;
500
+ label: string;
501
+ value: string;
502
+ raw?: unknown;
503
+ };
492
504
  export type ConsolidatedHistory = {
493
505
  creadoPor: string;
494
506
  fechaCreacion: string;
495
507
  grupos: ConsolidateGroup[];
496
508
  pdfLink: string;
509
+ filtros?: ConsolidatedAppliedFilter[];
497
510
  };
498
511
  export type ConsolidateGroup = {
499
512
  purchaseOrderIds: number[];
@@ -758,6 +771,8 @@ export type JsonMemoType = {
758
771
  originalNetWeightLines?: Array<{
759
772
  weight: number;
760
773
  }>;
774
+ confirmed?: boolean;
775
+ rejectionPercentage?: number;
761
776
  };
762
777
  export type CloseOpenWorkOrderDetailInput = {
763
778
  id: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "6.7.0",
3
+ "version": "6.9.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": "2950c31a115494a2beefde49d411be7983d57982"
25
+ "gitHead": "2cc49202c68f74f1ef031322b108b1461b9c9ad7"
26
26
  }