@n8n/n8n-nodes-langchain
Version:

30 lines (25 loc) • 743 B
text/typescript
/**
* Anthropic Node - Version 1
* Discriminator: resource=file, operation=deleteFile
*/
interface Credentials {
anthropicApi: CredentialReference;
}
/** Delete a file from the Anthropic API */
export type LcAnthropicV1FileDeleteFileParams = {
resource: 'file';
operation: 'deleteFile';
/**
* ID of the file to delete
*/
fileId?: string | Expression<string> | PlaceholderValue;
};
export interface LcAnthropicV1FileDeleteFileSubnodeConfig {
tools?: ToolInstance[];
}
export type LcAnthropicV1FileDeleteFileNode = {
type: '@n8n/n8n-nodes-langchain.anthropic';
version: 1;
credentials?: Credentials;
config: NodeConfig<LcAnthropicV1FileDeleteFileParams> & { subnodes?: LcAnthropicV1FileDeleteFileSubnodeConfig };
};