n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 854 B
text/typescript
/**
* TheHive 5 Node - Version 1
* Discriminator: resource=case, operation=deleteAttachment
*/
interface Credentials {
theHiveProjectApi: CredentialReference;
}
export type TheHiveProjectV1CaseDeleteAttachmentParams = {
resource: 'case';
operation: 'deleteAttachment';
/**
* Case
* @default {"mode":"list","value":""}
*/
caseId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
/**
* ID of the attachment. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
attachmentId?: string | Expression<string>;
};
export type TheHiveProjectV1CaseDeleteAttachmentNode = {
type: 'n8n-nodes-base.theHiveProject';
version: 1;
credentials?: Credentials;
config: NodeConfig<TheHiveProjectV1CaseDeleteAttachmentParams>;
};