/** * Airtop Node - Version 1 * Discriminator: resource=window, operation=load */ interface Credentials { airtopApi: CredentialReference; } /** Load a URL in an existing window */ export type AirtopV1WindowLoadParams = { resource: 'window'; operation: 'load'; /** * 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 | 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 | PlaceholderValue; /** * URL to load in the window */ url?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Wait until the specified loading event occurs. Defaults to 'Fully Loaded'. * @default load */ waitUntil?: 'complete' | 'domContentLoaded' | 'load' | 'noWait' | Expression; }; }; export type AirtopV1WindowLoadNode = { type: 'n8n-nodes-base.airtop'; version: 1; credentials?: Credentials; config: NodeConfig; };