n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 974 B
text/typescript
/**
* Humantic AI Node - Version 1
* Discriminator: resource=profile, operation=get
*/
interface Credentials {
humanticAiApi: CredentialReference;
}
/** Retrieve a profile */
export type HumanticAiV1ProfileGetParams = {
resource: 'profile';
operation: 'get';
/**
* This value is the same as the User ID that was provided when the analysis was created. This could be a LinkedIn URL, email ID, or a unique string in case of resume based analysis.
*/
userId?: string | Expression<string> | PlaceholderValue;
/**
* Options
* @default {}
*/
options?: {
/** Fetch the Humantic profile of the user for a particular persona type. Multiple persona values can be supported using comma as a delimiter.
* @default []
*/
persona?: Array<'sales' | 'hiring'>;
};
};
export type HumanticAiV1ProfileGetNode = {
type: 'n8n-nodes-base.humanticAi';
version: 1;
credentials?: Credentials;
config: NodeConfig<HumanticAiV1ProfileGetParams>;
};