hvp-shared 6.61.0 → 6.63.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.
@@ -23,6 +23,7 @@ export declare enum JobType {
23
23
  SYNC_SUPPLIERS = "SYNC_SUPPLIERS",
24
24
  SYNC_CLIENTS = "SYNC_CLIENTS",
25
25
  SYNC_INVENTORY_SNAPSHOT = "SYNC_INVENTORY_SNAPSHOT",
26
+ SYNC_COLLECTION_DETAILS = "SYNC_COLLECTION_DETAILS",
26
27
  SYNC_BATCH = "SYNC_BATCH",
27
28
  SYNC_ALL = "SYNC_ALL"
28
29
  }
@@ -58,7 +59,9 @@ export declare enum ReportType {
58
59
  /** Stock configuration - no date params required */
59
60
  STOCK_CONFIG = "STOCK_CONFIG",
60
61
  /** Suppliers catalog - no date params required */
61
- SUPPLIERS = "SUPPLIERS"
62
+ SUPPLIERS = "SUPPLIERS",
63
+ /** Collection details (Cobros detalle) - uses date range params */
64
+ COLLECTION_DETAILS = "COLLECTION_DETAILS"
62
65
  }
63
66
  /**
64
67
  * Sub-task status within a batch job
@@ -27,6 +27,7 @@ var JobType;
27
27
  JobType["SYNC_SUPPLIERS"] = "SYNC_SUPPLIERS";
28
28
  JobType["SYNC_CLIENTS"] = "SYNC_CLIENTS";
29
29
  JobType["SYNC_INVENTORY_SNAPSHOT"] = "SYNC_INVENTORY_SNAPSHOT";
30
+ JobType["SYNC_COLLECTION_DETAILS"] = "SYNC_COLLECTION_DETAILS";
30
31
  JobType["SYNC_BATCH"] = "SYNC_BATCH";
31
32
  JobType["SYNC_ALL"] = "SYNC_ALL";
32
33
  })(JobType || (exports.JobType = JobType = {}));
@@ -64,6 +65,8 @@ var ReportType;
64
65
  ReportType["STOCK_CONFIG"] = "STOCK_CONFIG";
65
66
  /** Suppliers catalog - no date params required */
66
67
  ReportType["SUPPLIERS"] = "SUPPLIERS";
68
+ /** Collection details (Cobros detalle) - uses date range params */
69
+ ReportType["COLLECTION_DETAILS"] = "COLLECTION_DETAILS";
67
70
  })(ReportType || (exports.ReportType = ReportType = {}));
68
71
  /**
69
72
  * Sub-task status within a batch job
@@ -94,6 +97,7 @@ exports.REPORT_PARAM_TYPES = {
94
97
  [ReportType.CATALOG]: 'no_params',
95
98
  [ReportType.STOCK_CONFIG]: 'no_params',
96
99
  [ReportType.SUPPLIERS]: 'no_params',
100
+ [ReportType.COLLECTION_DETAILS]: 'date_range',
97
101
  };
98
102
  /**
99
103
  * Job execution status
@@ -135,6 +139,7 @@ exports.JOB_TYPE_LABELS = {
135
139
  [JobType.SYNC_SUPPLIERS]: 'Sincronizar Proveedores',
136
140
  [JobType.SYNC_CLIENTS]: 'Sincronizar Clientes',
137
141
  [JobType.SYNC_INVENTORY_SNAPSHOT]: 'Sincronizar Snapshot Inventario',
142
+ [JobType.SYNC_COLLECTION_DETAILS]: 'Sincronizar Cobros Detalle',
138
143
  [JobType.SYNC_BATCH]: 'Sincronización por Lotes',
139
144
  [JobType.SYNC_ALL]: 'Sincronizar Todo',
140
145
  };
@@ -156,6 +161,7 @@ exports.REPORT_TYPE_LABELS = {
156
161
  [ReportType.CATALOG]: 'Catálogo',
157
162
  [ReportType.STOCK_CONFIG]: 'Config. Stock',
158
163
  [ReportType.SUPPLIERS]: 'Proveedores',
164
+ [ReportType.COLLECTION_DETAILS]: 'Cobros Detalle',
159
165
  };
160
166
  /**
161
167
  * Human-readable labels for sub-task status (Spanish for UI)
@@ -662,6 +662,8 @@ export interface UpdateCashFlowReviewRequest {
662
662
  /** Structured reasons why this entry is invalid */
663
663
  invalidReasons?: CashFlowInvalidReason[];
664
664
  observations?: string;
665
+ /** Manual accounting code override from the catalog */
666
+ accountingCode?: number;
665
667
  }
666
668
  /**
667
669
  * Single cash flow record from QVET (Entradas/Salidas de Caja)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hvp-shared",
3
- "version": "6.61.0",
3
+ "version": "6.63.0",
4
4
  "description": "Shared types and utilities for HVP backend and frontend",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",