n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 537 B
text/typescript
/**
* Twist Node - Version 1
* Discriminator: resource=channel, operation=get
*/
interface Credentials {
twistOAuth2Api: CredentialReference;
}
/** Get information about a channel */
export type TwistV1ChannelGetParams = {
resource: 'channel';
operation: 'get';
/**
* The ID of the channel
*/
channelId?: string | Expression<string> | PlaceholderValue;
};
export type TwistV1ChannelGetNode = {
type: 'n8n-nodes-base.twist';
version: 1;
credentials?: Credentials;
config: NodeConfig<TwistV1ChannelGetParams>;
};