n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 1.01 kB
text/typescript
/**
* Databricks Node - Version 1
* Discriminator: resource=genie, operation=createMessage
*/
interface Credentials {
databricksApi: CredentialReference;
databricksOAuth2Api: CredentialReference;
}
/** AI-powered data assistant. <a href="https://docs.databricks.com/genie/index.html" target="_blank">Learn more</a>. */
export type DatabricksV1GenieCreateMessageParams = {
resource: 'genie';
operation: 'createMessage';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* The ID of the Genie space
*/
spaceId?: string | Expression<string> | PlaceholderValue;
/**
* The ID of the conversation
*/
conversationId?: string | Expression<string> | PlaceholderValue;
/**
* The message to be sent to Genie Space
*/
message?: string | Expression<string> | PlaceholderValue;
};
export type DatabricksV1GenieCreateMessageNode = {
type: 'n8n-nodes-base.databricks';
version: 1;
credentials?: Credentials;
config: NodeConfig<DatabricksV1GenieCreateMessageParams>;
};