n8n-nodes-base
Version:
Base nodes of n8n
31 lines (26 loc) • 595 B
text/typescript
/**
* Box Node - Version 1
* Discriminator: resource=file, operation=delete
*/
interface Credentials {
boxOAuth2Api: CredentialReference;
}
/** Delete a file */
export type BoxV1FileDeleteParams = {
resource: 'file';
operation: 'delete';
/**
* Field ID
*/
fileId?: string | Expression<string> | PlaceholderValue;
};
export type BoxV1FileDeleteOutput = {
success?: boolean;
};
export type BoxV1FileDeleteNode = {
type: 'n8n-nodes-base.box';
version: 1;
credentials?: Credentials;
config: NodeConfig<BoxV1FileDeleteParams>;
output?: Items<BoxV1FileDeleteOutput>;
};