Added

🏷️ data_source on employments


  • New data_source field on GET /employments/{identifier} and GET /employment-files/{identifier} — distinguish IMSS/ISSSTE record origins. Allowed values: imss_get_weeks, imss_rpci, issste.
  • New optional data_source query filter on GET /employments to return only records from selected sources.

⚙️ What Changes

data_source on employment endpoints

  • Each employment record on GET /employments/{identifier} and GET /employment-files/{identifier} now returns a data_source field. Allowed values: imss_rpci, imss_get_weeks, issste. Scoped to IMSS/ISSSTE sources only — partner names are never exposed.
  • GET /employments accepts an optional data_source query filter (e.g. ?data_source=imss_rpci) so you can request only the records you need (such as live RPCI records vs. cached historical data). Unknown/non-IMSS values are rejected or ignored and never leak other sources.

🛠️ No Action Required

These are additive, non-breaking changes. The new fields appear automatically and existing integrations continue to work as before.