n8n-nodes-base
Version:
Base nodes of n8n
76 lines (72 loc) • 1.81 kB
text/typescript
/**
* Clockify Node - Version 1
* Discriminator: resource=project, operation=update
*/
interface Credentials {
clockifyApi: CredentialReference;
}
/** Update a client */
export type ClockifyV1ProjectUpdateParams = {
resource: 'project';
operation: 'update';
/**
* 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<string>;
/**
* Project ID
*/
projectId?: string | Expression<string> | PlaceholderValue;
/**
* Update Fields
* @default {}
*/
updateFields?: {
/** Billable
* @default true
*/
billable?: boolean | Expression<boolean>;
/** Color
* @default #0000FF
*/
color?: string | Expression<string>;
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
clientId?: string | Expression<string>;
/** Estimate
* @default {}
*/
estimateUi?: {
/** Estimate
*/
estimateValues?: {
/** Estimate
* @default 0
*/
estimate?: number | Expression<number>;
/** Type
* @default AUTO
*/
type?: 'AUTO' | 'MANUAL' | Expression<string>;
};
};
/** Is Public
* @default false
*/
isPublic?: boolean | Expression<boolean>;
/** Name
*/
name?: string | Expression<string> | PlaceholderValue;
/** Note about the project
*/
note?: string | Expression<string> | PlaceholderValue;
};
};
export type ClockifyV1ProjectUpdateNode = {
type: 'n8n-nodes-base.clockify';
version: 1;
credentials?: Credentials;
config: NodeConfig<ClockifyV1ProjectUpdateParams>;
};