@cfxlabsinc/b2b-services
    Preparing search index...
    ReportScheduleStatus:
        | {
            createdAt: Date;
            lastUpdatedAt?: Date;
            nextActionTimes: Date[];
            note?: string;
            overlap: ScheduleOverlapPolicy;
            paused: boolean;
            pauseOnFailure: boolean;
            recentActions: ReportRun[];
            runningCount: number;
            scheduleId: string;
            spec: ReportScheduleSpec;
            status: "active"
            | "paused";
            taskQueue?: string;
            workflowType?: string;
        }
        | { scheduleId: string; status: "not_scheduled" }

    Live state of a single report's Temporal schedule, or the sentinel status: "not_scheduled" when no schedule exists yet (the worker no longer registers these, so a fresh environment starts with none until the dashboard creates it).

    Type Declaration

    • {
          createdAt: Date;
          lastUpdatedAt?: Date;
          nextActionTimes: Date[];
          note?: string;
          overlap: ScheduleOverlapPolicy;
          paused: boolean;
          pauseOnFailure: boolean;
          recentActions: ReportRun[];
          runningCount: number;
          scheduleId: string;
          spec: ReportScheduleSpec;
          status: "active" | "paused";
          taskQueue?: string;
          workflowType?: string;
      }
      • createdAt: Date
      • OptionallastUpdatedAt?: Date
      • nextActionTimes: Date[]
      • Optionalnote?: string

        Human-readable note Temporal attaches (e.g. the pause reason).

      • overlap: ScheduleOverlapPolicy
      • paused: boolean
      • pauseOnFailure: boolean
      • recentActions: ReportRun[]
      • runningCount: number
      • scheduleId: string
      • spec: ReportScheduleSpec
      • status: "active" | "paused"
      • OptionaltaskQueue?: string
      • OptionalworkflowType?: string

        Workflow type string the schedule starts.

    • { scheduleId: string; status: "not_scheduled" }