hvp-shared 6.80.0 → 6.81.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.
@@ -142,7 +142,11 @@ export interface NominalPayrollData {
142
142
  readonly totals: PayrollV2Totals;
143
143
  readonly cfdi?: PayrollV2Cfdi;
144
144
  }
145
+ /** Distinguishes ordinary payrolls from settlement (finiquito/liquidación) */
146
+ export type PayrollType = "ordinary" | "settlement";
145
147
  export interface PayrollV2 {
148
+ /** "ordinary" (default) or "settlement". Absent on old payrolls = ordinary. */
149
+ readonly payrollType?: PayrollType;
146
150
  readonly collaboratorId?: string;
147
151
  readonly employmentId?: string;
148
152
  readonly jobId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hvp-shared",
3
- "version": "6.80.0",
3
+ "version": "6.81.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",