n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 1.1 kB
text/typescript
/**
* Airtop Node - Version 1
* Discriminator: resource=interaction, operation=fill
*/
interface Credentials {
airtopApi: CredentialReference;
}
/** Fill a form with the provided information */
export type AirtopV1InteractionFillParams = {
resource: 'interaction';
operation: 'fill';
/**
* The ID of the <a href="https://docs.airtop.ai/guides/how-to/creating-a-session" target="_blank">Session</a> to use
* @default ={{ $json["sessionId"] }}
*/
sessionId?: string | Expression<string> | PlaceholderValue;
/**
* The ID of the <a href="https://docs.airtop.ai/guides/how-to/creating-a-session#windows" target="_blank">Window</a> to use
* @default ={{ $json["windowId"] }}
*/
windowId?: string | Expression<string> | PlaceholderValue;
/**
* The information to fill into the form written in natural language
*/
formData?: string | Expression<string> | PlaceholderValue;
};
export type AirtopV1InteractionFillNode = {
type: 'n8n-nodes-base.airtop';
version: 1;
credentials?: Credentials;
config: NodeConfig<AirtopV1InteractionFillParams>;
};