n8n-nodes-base
Version:
Base nodes of n8n
32 lines (27 loc) • 758 B
text/typescript
/**
* X (Formerly Twitter) Node - Version 2
* Discriminator: resource=tweet, operation=delete
*/
interface Credentials {
twitterOAuth2Api: CredentialReference;
}
/** Create, like, search, or delete a tweet */
export type TwitterV2TweetDeleteParams = {
resource: 'tweet';
operation: 'delete';
/**
* The tweet to delete
* @default {"mode":"id","value":""}
*/
tweetDeleteId?: { __rl: true; mode: 'id' | 'url'; value: string; cachedResultName?: string };
};
export type TwitterV2TweetDeleteOutput = {
deleted?: boolean;
};
export type TwitterV2TweetDeleteNode = {
type: 'n8n-nodes-base.twitter';
version: 2;
credentials?: Credentials;
config: NodeConfig<TwitterV2TweetDeleteParams>;
output?: Items<TwitterV2TweetDeleteOutput>;
};