/** * UptimeRobot Node - Version 1 * Discriminator: resource=monitor, operation=update */ interface Credentials { uptimeRobotApi: CredentialReference; } /** Update a monitor */ export type UptimeRobotV1MonitorUpdateParams = { resource: 'monitor'; operation: 'update'; /** * The ID of the monitor */ id?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** The friendly name of the monitor */ friendly_name?: string | Expression | PlaceholderValue; /** The authentication type for password-protected web pages */ http_auth_type?: 1 | 2 | Expression; /** The HTTP method to be used */ http_method?: 6 | 2 | 1 | 7 | 5 | 3 | 4 | Expression; /** The password used for password-protected web pages */ http_password?: string | Expression | PlaceholderValue; /** The username used for password-protected web pages */ http_username?: string | Expression | PlaceholderValue; /** The interval for the monitoring check */ interval?: number | Expression; /** The monitored port */ port?: number | Expression; /** Select monitor statuses */ status?: 0 | 1 | Expression; /** Specify which pre-defined port/service or custom port is monitored */ sub_type?: 99 | 3 | 1 | 2 | 6 | 5 | 4 | Expression; /** The URL/IP of the monitor */ url?: string | Expression | PlaceholderValue; }; }; export type UptimeRobotV1MonitorUpdateNode = { type: 'n8n-nodes-base.uptimeRobot'; version: 1; credentials?: Credentials; config: NodeConfig; };