n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 822 B
text/typescript
/**
* Harvest Node - Version 1
* Discriminator: resource=task, operation=delete
*/
interface Credentials {
harvestApi: CredentialReference;
harvestOAuth2Api: CredentialReference;
}
/** Delete a client */
export type HarvestV1TaskDeleteParams = {
resource: 'task';
operation: 'delete';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
accountId?: string | Expression<string>;
/**
* The ID of the task you want to delete
*/
id?: string | Expression<string> | PlaceholderValue;
};
export type HarvestV1TaskDeleteNode = {
type: 'n8n-nodes-base.harvest';
version: 1;
credentials?: Credentials;
config: NodeConfig<HarvestV1TaskDeleteParams>;
};