n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 793 B
text/typescript
/**
* Clockify Node - Version 1
* Discriminator: resource=client, operation=create
*/
interface Credentials {
clockifyApi: CredentialReference;
}
/** Create a client */
export type ClockifyV1ClientCreateParams = {
resource: 'client';
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<string>;
/**
* Name of client being created
*/
name?: string | Expression<string> | PlaceholderValue;
};
export type ClockifyV1ClientCreateNode = {
type: 'n8n-nodes-base.clockify';
version: 1;
credentials?: Credentials;
config: NodeConfig<ClockifyV1ClientCreateParams>;
};