@zauru-sdk/types 6.6.0 → 6.8.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.
@@ -489,11 +489,23 @@ export type BitacoraPOMassive = {
489
489
  manual_override?: boolean;
490
490
  manual_discount?: number;
491
491
  };
492
+ /**
493
+ * Filtro aplicado al generar un consolidado.
494
+ * Lista genérica: para agregar un filtro nuevo basta con empujar otro ítem
495
+ * ({ key, label, value }) sin cambiar el modelo de ConsolidatedHistory.
496
+ */
497
+ export type ConsolidatedAppliedFilter = {
498
+ key: string;
499
+ label: string;
500
+ value: string;
501
+ raw?: unknown;
502
+ };
492
503
  export type ConsolidatedHistory = {
493
504
  creadoPor: string;
494
505
  fechaCreacion: string;
495
506
  grupos: ConsolidateGroup[];
496
507
  pdfLink: string;
508
+ filtros?: ConsolidatedAppliedFilter[];
497
509
  };
498
510
  export type ConsolidateGroup = {
499
511
  purchaseOrderIds: number[];
@@ -130,6 +130,7 @@ export type PurchaseOrderGraphQL = {
130
130
  import: boolean;
131
131
  discount: number;
132
132
  other_charges: number;
133
+ total: number;
133
134
  delivery_date: string;
134
135
  shipment_reference: string;
135
136
  webapp_table_rowables?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "6.6.0",
3
+ "version": "6.8.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": "f07eda3ef08930a12aebb64c36f6183d26caf57b"
25
+ "gitHead": "0b76f82d8d5169437231694b666c29ce50a37a77"
26
26
  }