/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { PeriodicTask } from './PeriodicTask'; import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum'; export type PatchedPeriodicAgentCreate = { readonly id?: number; mentor?: string; title?: string; readonly username?: string; description?: string; /** * Prompt for the periodic agent if any. */ prompt?: string; task?: PeriodicTask; readonly created_at?: string; readonly modified_at?: string; readonly enabled?: boolean; readonly one_off?: boolean; readonly platform_key?: string; pathway?: string; callback_url?: string; callback_secret?: string; parent_session_id?: string; parent_mentor_id?: number | null; /** * Agent that needs to run before the current agent runs. */ previous_agent?: number | null; /** * The status that the previous agent must be in before this agent gets scheduled. * * * `success` - Success * * `error` - Error * * `running` - Running * * `pending` - Pending */ previous_agent_status?: PreviousAgentStatusEnum; /** * This will be fed into the run of this agent as part of its input prompt. */ readonly previous_agent_output?: string; };