Service Layer medium complexity backend
2
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Admin-portal-only service that enables Global Admins to trigger exports across multiple organizations in a single operation. Queues individual export jobs per organization, aggregates results, and surfaces a combined download or status report. Shares the rate-limiting and logging logic of the core Export Generation Service.

Feature: Bufdir Export

batch-export-service

Responsibilities

  • Accept batch export requests scoped to a set of organization IDs and a report period
  • Enqueue individual export jobs per organization via Export Generation Service
  • Aggregate per-organization results and surface a combined status payload
  • Write consolidated audit entries for each organization in the batch

Interfaces

triggerBatchExport(orgIds: string[], reportPeriod: ReportPeriod, format: ExportFormat): Promise<BatchExportResult>
getBatchExportStatus(batchId: string): BatchExportStatus
cancelBatchExport(batchId: string): void

Relationships

Dependencies (2)

Components this component depends on

Related Data Entities (1)

Data entities managed by this component