OperationalReportDefinition: {
    _isGenerated?: boolean;
    adminOnly?: boolean;
    days?: number;
    extra?: {
        focusedStep?: string;
        query?: string;
        report?: string;
        url?: string;
        withAgent?: "true";
    } & {
        [index: string]: string;
    };
    kind: "metabase" | "per-agent" | "all-cases" | "case-step" | "full-stats" | "per-client" | "per-handler" | "per-creator" | "agent-report" | "current-step" | "per-assignee" | "custom-report" | "delivered-today" | "inflight-parcels" | "custom-dashboard" | "case-lookup-selector" | "milestone-per-client" | "cases-missing-att-val" | "milestone-per-assignee" | "per-client-step-pdf-report";
    label?: string;
    step?: string;
}

Type declaration

  • Optional _isGenerated?: boolean

    used by addons to identify stuff to regenerate

  • Optional adminOnly?: boolean

    hide this report from non-admins (this is for reducing clutter, not for security)

  • Optional days?: number

    how many days of lookback to use

  • Optional extra?: {
        focusedStep?: string;
        query?: string;
        report?: string;
        url?: string;
        withAgent?: "true";
    } & {
        [index: string]: string;
    }

    extra url params, report kind dependant

  • kind: "metabase" | "per-agent" | "all-cases" | "case-step" | "full-stats" | "per-client" | "per-handler" | "per-creator" | "agent-report" | "current-step" | "per-assignee" | "custom-report" | "delivered-today" | "inflight-parcels" | "custom-dashboard" | "case-lookup-selector" | "milestone-per-client" | "cases-missing-att-val" | "milestone-per-assignee" | "per-client-step-pdf-report"
  • Optional label?: string

    report display label, defaults to extra.report or step name

  • Optional step?: string

    application step to filter on