/** * Airtop Node - Version 1.1 * Discriminator: resource=window, operation=create */ interface Credentials { airtopApi: CredentialReference; } /** Create an Airtop browser session */ export type AirtopV11WindowCreateParams = { resource: 'window'; operation: 'create'; /** * 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; /** * Initial URL to load in the window. Defaults to https://www.google.com. */ url?: string | Expression | PlaceholderValue; /** * Whether to get the URL of the window's <a href="https://docs.airtop.ai/guides/how-to/creating-a-live-view" target="_blank">Live View</a> * @default false */ getLiveView?: boolean | Expression; /** * Whether to include the navigation bar in the Live View. When enabled, the navigation bar will be visible allowing you to navigate between pages. * @displayOptions.show { getLiveView: [true] } * @default false */ includeNavigationBar?: boolean | Expression; /** * The screen resolution of the Live View. Setting a resolution will force the window to open at that specific size. * @displayOptions.show { getLiveView: [true] } */ screenResolution?: string | Expression | PlaceholderValue; /** * Whether to disable the window from being resized in the Live View * @displayOptions.show { getLiveView: [true] } * @default false */ disableResize?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Wait until the specified loading event occurs * @default load */ waitUntil?: 'load' | 'domContentLoaded' | 'complete' | 'noWait' | Expression; }; }; export type AirtopV11WindowCreateOutput = { data?: { liveViewUrl?: string; targetId?: string; windowId?: string; }; errors?: null; meta?: { requestId?: string; }; sessionId?: string; warnings?: null; windowId?: string; }; export type AirtopV11WindowCreateNode = { type: 'n8n-nodes-base.airtop'; version: 1.1; credentials?: Credentials; config: NodeConfig; output?: Items; };