/** * Clockify Node - Version 1 * Discriminator: resource=project, operation=create */ interface Credentials { clockifyApi: CredentialReference; } /** Create a client */ export type ClockifyV1ProjectCreateParams = { resource: 'project'; operation: 'create'; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @displayOptions.hide { resource: ["workspace"] } * @default [] */ workspaceId?: string | Expression; /** * Name of project being created */ name?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Billable * @default true */ billable?: boolean | Expression; /** Color * @default #0000FF */ color?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ clientId?: string | Expression; /** Estimate * @default {} */ estimateUi?: { /** Estimate */ estimateValues?: { /** Estimate * @default 0 */ estimate?: number | Expression; /** Type * @default AUTO */ type?: 'AUTO' | 'MANUAL' | Expression; }; }; /** Is Public * @default true */ isPublic?: boolean | Expression; /** Note about the project */ note?: string | Expression | PlaceholderValue; }; }; export type ClockifyV1ProjectCreateNode = { type: 'n8n-nodes-base.clockify'; version: 1; credentials?: Credentials; config: NodeConfig; };