ExportRequest

  • Filter applied to the export, mirroring /filter

    Properties: 6
  • Display labels paired with columns, in the same order. When supplied, the worker writes these verbatim as the CSV header row so the CSV matches what the user sees in the UI; when omitted, the worker falls back to the per-account *_fields.label lookup.

  • Ordered list of field_keys. Defaults to the entity's full output model.

  • Per-column raw-value → display-label maps, supplied by the frontend for columns whose UI renders an enum/int as a human string (e.g. service duration 2 → "1 Year"). Shape: {column_key: {str(raw_value): label}}. The worker writes the mapped label verbatim and falls back to default cell formatting when the column has no map or the raw value isn't in it. Keeping these mappings in the UI avoids duplicating webapp i18n strings in the backend (CRM-129 translations stay in one place).

    Properties: 1
  • Resolve FK references for export rows

  • Sort spec mirroring /filter; worker appends id ASC tiebreaker

    Properties: 1