@n8n/n8n-nodes-langchain
Version:
18 lines (17 loc) • 553 B
TypeScript
import type { EndpointCredential } from './types';
export type CustomModelEndpointCredentialData = {
url?: string;
authentication?: 'bearer' | 'header' | 'basic' | 'none';
apiKey?: string;
authHeaderName?: string;
authHeaderPrefix?: string;
username?: string;
password?: string;
gatewayHeaders?: {
headers?: Array<{
name?: string;
value?: string;
}>;
};
};
export declare function readCustomModelEndpointCredential(data: CustomModelEndpointCredentialData): EndpointCredential;