/**
 * Flow Node - Version 1
 * Discriminator: resource=task, operation=get
 */


interface Credentials {
  flowApi: CredentialReference;
}

/** Tasks are units of work that can be private or assigned to a list. Through this endpoint, you can manipulate your tasks in Flow, including creating new ones. */
export type FlowV1TaskGetParams = {
  resource: 'task';
  operation: 'get';
/**
 * Task ID
 */
    taskId?: string | Expression<string> | PlaceholderValue;
/**
 * Filters
 * @default {}
 */
    filters?: {
    /** Include
     * @default []
     */
    include?: Array<'schedule' | 'files' | 'file_associations' | 'parent'>;
  };
};

export type FlowV1TaskGetNode = {
  type: 'n8n-nodes-base.flow';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<FlowV1TaskGetParams>;
};