/** * UptimeRobot Node - Version 1 * Discriminator: resource=maintenanceWindow, operation=create */ interface Credentials { uptimeRobotApi: CredentialReference; } /** Create a monitor */ export type UptimeRobotV1MaintenanceWindowCreateParams = { resource: 'maintenanceWindow'; operation: 'create'; /** * The maintenance window activation period (minutes) * @default 1 */ duration?: number | Expression; /** * The friendly name of the maintenance window */ friendlyName?: string | Expression | PlaceholderValue; /** * The type of the maintenance window */ type?: 1 | 2 | 3 | 4 | Expression; /** * Week Day * @displayOptions.show { type: [3] } */ weekDay?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | Expression; /** * Month Day * @displayOptions.show { type: [4] } * @default 1 */ monthDay?: number | Expression; /** * The maintenance window start datetime */ start_time?: string | Expression; }; export type UptimeRobotV1MaintenanceWindowCreateNode = { type: 'n8n-nodes-base.uptimeRobot'; version: 1; credentials?: Credentials; config: NodeConfig; };