@zauru-sdk/types 6.7.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.
- package/dist/Custom.types.d.ts +12 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -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[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
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": "
|
|
25
|
+
"gitHead": "0b76f82d8d5169437231694b666c29ce50a37a77"
|
|
26
26
|
}
|