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

Hierarchy

  • Static<typeof tAutomation>
    • Automation

Properties

action: {
    actionKey: string;
    appKey: string;
    credentialKey: string;
    inputParams: { [x: string]: any; };
} = tAutomationAction

Type declaration

  • actionKey: string
  • appKey: string
  • credentialKey: string
  • inputParams: { [x: string]: any; }
active: boolean = ...
blueprintKey: null | string = ...
consumerKey: string = ...
createdAt: Date = ...
customData: null | {} = ...

Type declaration

    id: string = ...
    live: boolean = ...
    name: string = ...
    status: "INVALID" | "READY" = ...
    trigger: {
        appKey: string;
        credentialKey: string;
        inputParams: { [x: string]: any; };
        subscription?: { refreshedAt?: string | undefined; data?: { [x: string]: any; } | undefined; createdAt: string; };
        triggerKey: string;
    } = tAutomationTrigger

    Type declaration

    • appKey: string
    • credentialKey: string
    • inputParams: { [x: string]: any; }
    • Optional subscription?: { refreshedAt?: string | undefined; data?: { [x: string]: any; } | undefined; createdAt: string; }
    • triggerKey: string
    updatedAt: Date = ...