export interface CreateAutotaskRequest { name: string; encodedZippedCode: string; relayerId?: string; trigger: { type: 'schedule' | 'webhook'; frequencyMinutes?: number; cron?: string; }; paused: boolean; stackResourceId?: string; dependenciesVersion?: string; } export interface UpdateAutotaskRequest extends Omit { autotaskId: string; encodedZippedCode?: string; } export interface ScheduleTrigger { type: 'schedule'; frequencyMinutes?: number; cron?: string; } export interface WebhookTrigger { type: 'webhook'; token: string; } export interface Autotask extends Pick { autotaskId: string; encodedZippedCode?: string; trigger: ScheduleTrigger | WebhookTrigger; createdAt?: string; codeDigest?: string; } export interface SaveSecretsRequest { deletes: string[]; secrets: SecretsMap; } export interface SecretsMap { [k: string]: string; } export interface GetSecretsResponse { secretNames?: string[]; } //# sourceMappingURL=autotask.d.ts.map