chore: add docs url for integration nodes

This commit is contained in:
Abhishek Kumar 2026-07-15 18:54:07 +05:30
parent c650ccc5dd
commit a422241517
13 changed files with 95 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -401,7 +401,7 @@ export type AzureRealtimeLlmConfiguration = {
/**
* Api Version
*
* Azure OpenAI API version.
* Azure OpenAI Realtime protocol version. Use 'v1' for the GA API; date-based versions select the deprecated preview endpoint.
*/
api_version?: string;
};
@ -3814,6 +3814,12 @@ export type NodeSpec = {
* LLM-only guidance; omitted from the UI.
*/
llm_hint?: string | null;
/**
* Docs Url
*
* Documentation URL shown in the node editor.
*/
docs_url?: string | null;
category: NodeCategory;
/**
* Icon
@ -7479,6 +7485,38 @@ export type CompleteTransferFunctionCallApiV1TelephonyTransferResultTransferIdPo
200: unknown;
};
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostData = {
body?: never;
path: {
/**
* Transfer Id
*/
transfer_id: string;
};
query?: never;
url: '/api/v1/telephony/cloudonix/transfer-result/{transfer_id}';
};
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostErrors = {
/**
* Not found
*/
404: unknown;
/**
* Validation Error
*/
422: HttpValidationError;
};
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostError = HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostErrors[keyof HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostErrors];
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostResponses = {
/**
* Successful Response
*/
200: unknown;
};
export type HandleCloudonixStatusCallbackApiV1TelephonyCloudonixStatusCallbackWorkflowRunIdPostData = {
body?: never;
path: {

View file

@ -597,7 +597,7 @@ export const GenericNode = memo(({ data, selected, id, type }: GenericNodeProps)
: { source: true, target: true });
const badge = getBadgeForSpec(spec, styleVariant);
const Icon = spec ? resolveIcon(spec.icon) : Circle;
const docUrl = DOC_URL_BY_SPEC[type];
const docUrl = spec?.docs_url ?? DOC_URL_BY_SPEC[type];
const contentLabel = spec?.properties.some((p) => p.name === "prompt")
? "Prompt"
: "Details";