interface Automation {
    action: {
        actionKey: string;
        appKey: string;
        credentialKey: string;
        inputParams: Record<string, any>;
    };
    active: boolean;
    blueprintKey: null | string;
    consumerKey: string;
    createdAt: Date;
    customData: null | Record<string, any>;
    id: string;
    live: boolean;
    name: string;
    status: "INVALID" | "READY";
    trigger: {
        appKey: string;
        credentialKey: string;
        inputParams: Record<string, any>;
        subscription?: { createdAt: string; refreshedAt?: string | undefined; data?: Record<string, any> | undefined; };
        triggerKey: string;
    };
    updatedAt: Date;
}

Hierarchy

  • TypeOf<typeof zAutomation>
    • Automation

Properties

action: {
    actionKey: string;
    appKey: string;
    credentialKey: string;
    inputParams: Record<string, any>;
} = zAutomationAction

Type declaration

  • actionKey: string
  • appKey: string
  • credentialKey: string
  • inputParams: Record<string, any>
active: boolean = ...
blueprintKey: null | string = ...
consumerKey: string = ...
createdAt: Date = ...
customData: null | Record<string, any> = ...
id: string = ...
live: boolean = ...
name: string = ...
status: "INVALID" | "READY" = ...
trigger: {
    appKey: string;
    credentialKey: string;
    inputParams: Record<string, any>;
    subscription?: { createdAt: string; refreshedAt?: string | undefined; data?: Record<string, any> | undefined; };
    triggerKey: string;
} = zAutomationTrigger

Type declaration

  • appKey: string
  • credentialKey: string
  • inputParams: Record<string, any>
  • Optional subscription?: { createdAt: string; refreshedAt?: string | undefined; data?: Record<string, any> | undefined; }
  • triggerKey: string
updatedAt: Date = ...