Interface Automation
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;
}
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
Index
Properties
action
action: {
actionKey: string;
appKey: string;
credentialKey: string;
inputParams: Record<string, any>;
} = zAutomationAction
actionKey: string;
appKey: string;
credentialKey: string;
inputParams: Record<string, any>;
} = zAutomationAction
Type declaration
action
Key : stringapp
Key : stringcredential
Key : stringinput
Params : Record<string, any>
active
active: boolean = ...
blueprintKey
blueprintKey : null | string = ...
consumerKey
consumerKey : string = ...
createdAt
createdAt : Date = ...
customData
customData : null | Record<string, any> = ...
id
id: string = ...
live
live: boolean = ...
name
name: string = ...
status
status: "INVALID" | "READY" = ...
trigger
trigger: {
appKey: string;
credentialKey: string;
inputParams: Record<string, any>;
subscription?: { createdAt: string; refreshedAt?: string | undefined; data?: Record<string, any> | undefined; };
triggerKey: string;
} = zAutomationTrigger
appKey: string;
credentialKey: string;
inputParams: Record<string, any>;
subscription?: { createdAt: string; refreshedAt?: string | undefined; data?: Record<string, any> | undefined; };
triggerKey: string;
} = zAutomationTrigger
Type declaration
app
Key : stringcredential
Key : stringinput
Params : Record<string, any>Optional
subscription?: { createdAt: string; refreshedAt?: string | undefined; data?: Record<string, any> | undefined; }trigger
Key : string
updatedAt
updatedAt : Date = ...