@corti/sdk 1.2.0-rc → 1.2.0-templates-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.d.ts +0 -2
- package/dist/cjs/api/resources/agents/client/requests/AgentsUpdateAgent.d.ts +0 -2
- package/dist/cjs/api/resources/agents/types/AgentsUpdateAgentExpertsItem.d.ts +1 -1
- package/dist/cjs/api/resources/codes/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/codes/client/Client.js +1 -1
- package/dist/cjs/api/resources/stream/client/Socket.d.ts +1 -1
- package/dist/cjs/api/resources/transcribe/client/Socket.d.ts +1 -1
- package/dist/cjs/api/types/AgentsAgent.d.ts +0 -2
- package/dist/cjs/api/types/AgentsMcpServerTransportType.d.ts +0 -1
- package/dist/cjs/api/types/AgentsMcpServerTransportType.js +0 -1
- package/dist/cjs/api/types/AgentsRegistryExpert.d.ts +0 -4
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +0 -7
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +0 -7
- package/dist/cjs/api/types/StreamConfigStatusMessageType.d.ts +1 -0
- package/dist/cjs/api/types/StreamConfigStatusMessageType.js +1 -0
- package/dist/cjs/api/types/TranscribeConfigStatusMessageType.d.ts +0 -2
- package/dist/cjs/api/types/TranscribeConfigStatusMessageType.js +0 -2
- package/dist/cjs/api/types/index.d.ts +0 -3
- package/dist/cjs/api/types/index.js +0 -3
- package/dist/cjs/custom/CortiClient.d.ts +69 -25
- package/dist/cjs/custom/CortiClient.js +0 -69
- package/dist/cjs/custom/auth/CortiAuth.d.ts +0 -27
- package/dist/cjs/custom/auth/CortiAuth.js +4 -10
- package/dist/cjs/custom/stream/CustomStream.js +3 -5
- package/dist/cjs/custom/transcribe/CustomTranscribe.js +2 -6
- package/dist/cjs/custom/utils/encodeHeadersAsWsProtocols.js +11 -2
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.d.ts +0 -2
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.js +0 -2
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsUpdateAgent.d.ts +0 -2
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsUpdateAgent.js +0 -2
- package/dist/cjs/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.d.ts +2 -2
- package/dist/cjs/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.js +2 -2
- package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.d.ts +2 -3
- package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.js +0 -2
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts +2 -3
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +0 -2
- package/dist/cjs/serialization/types/AgentsAgent.d.ts +0 -2
- package/dist/cjs/serialization/types/AgentsAgent.js +0 -2
- package/dist/cjs/serialization/types/AgentsMcpServerTransportType.d.ts +1 -1
- package/dist/cjs/serialization/types/AgentsMcpServerTransportType.js +1 -1
- package/dist/cjs/serialization/types/AgentsRegistryExpert.d.ts +0 -2
- package/dist/cjs/serialization/types/AgentsRegistryExpert.js +0 -2
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +0 -7
- package/dist/cjs/serialization/types/StreamConfigStatusMessageType.d.ts +1 -1
- package/dist/cjs/serialization/types/StreamConfigStatusMessageType.js +1 -0
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessageType.d.ts +1 -1
- package/dist/cjs/serialization/types/TranscribeConfigStatusMessageType.js +1 -7
- package/dist/cjs/serialization/types/index.d.ts +0 -3
- package/dist/cjs/serialization/types/index.js +0 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.d.mts +0 -2
- package/dist/esm/api/resources/agents/client/requests/AgentsUpdateAgent.d.mts +0 -2
- package/dist/esm/api/resources/agents/types/AgentsUpdateAgentExpertsItem.d.mts +1 -1
- package/dist/esm/api/resources/codes/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/codes/client/Client.mjs +1 -1
- package/dist/esm/api/resources/stream/client/Socket.d.mts +1 -1
- package/dist/esm/api/resources/transcribe/client/Socket.d.mts +1 -1
- package/dist/esm/api/types/AgentsAgent.d.mts +0 -2
- package/dist/esm/api/types/AgentsMcpServerTransportType.d.mts +0 -1
- package/dist/esm/api/types/AgentsMcpServerTransportType.mjs +0 -1
- package/dist/esm/api/types/AgentsRegistryExpert.d.mts +0 -4
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +0 -7
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +0 -7
- package/dist/esm/api/types/StreamConfigStatusMessageType.d.mts +1 -0
- package/dist/esm/api/types/StreamConfigStatusMessageType.mjs +1 -0
- package/dist/esm/api/types/TranscribeConfigStatusMessageType.d.mts +0 -2
- package/dist/esm/api/types/TranscribeConfigStatusMessageType.mjs +0 -2
- package/dist/esm/api/types/index.d.mts +0 -3
- package/dist/esm/api/types/index.mjs +0 -3
- package/dist/esm/custom/CortiClient.d.mts +69 -25
- package/dist/esm/custom/CortiClient.mjs +0 -36
- package/dist/esm/custom/auth/CortiAuth.d.mts +0 -27
- package/dist/esm/custom/auth/CortiAuth.mjs +4 -10
- package/dist/esm/custom/stream/CustomStream.mjs +3 -5
- package/dist/esm/custom/transcribe/CustomTranscribe.mjs +2 -6
- package/dist/esm/custom/utils/encodeHeadersAsWsProtocols.mjs +10 -1
- package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.d.mts +0 -2
- package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.mjs +0 -2
- package/dist/esm/serialization/resources/agents/client/requests/AgentsUpdateAgent.d.mts +0 -2
- package/dist/esm/serialization/resources/agents/client/requests/AgentsUpdateAgent.mjs +0 -2
- package/dist/esm/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.d.mts +2 -2
- package/dist/esm/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.mjs +2 -2
- package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.d.mts +2 -3
- package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs +0 -2
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.mts +2 -3
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +0 -2
- package/dist/esm/serialization/types/AgentsAgent.d.mts +0 -2
- package/dist/esm/serialization/types/AgentsAgent.mjs +0 -2
- package/dist/esm/serialization/types/AgentsMcpServerTransportType.d.mts +1 -1
- package/dist/esm/serialization/types/AgentsMcpServerTransportType.mjs +1 -1
- package/dist/esm/serialization/types/AgentsRegistryExpert.d.mts +0 -2
- package/dist/esm/serialization/types/AgentsRegistryExpert.mjs +0 -2
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +0 -7
- package/dist/esm/serialization/types/StreamConfigStatusMessageType.d.mts +1 -1
- package/dist/esm/serialization/types/StreamConfigStatusMessageType.mjs +1 -0
- package/dist/esm/serialization/types/TranscribeConfigStatusMessageType.d.mts +1 -1
- package/dist/esm/serialization/types/TranscribeConfigStatusMessageType.mjs +1 -7
- package/dist/esm/serialization/types/index.d.mts +0 -3
- package/dist/esm/serialization/types/index.mjs +0 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/AgentsUpdateExpertReference.d.ts +0 -5
- package/dist/cjs/api/types/AgentsUpdateExpertReference.js +0 -3
- package/dist/cjs/api/types/StreamDeltaUsageMessage.d.ts +0 -5
- package/dist/cjs/api/types/StreamDeltaUsageMessage.js +0 -3
- package/dist/cjs/api/types/TranscribeDeltaUsageMessage.d.ts +0 -5
- package/dist/cjs/api/types/TranscribeDeltaUsageMessage.js +0 -3
- package/dist/cjs/custom/agents/CustomAgents.d.ts +0 -20
- package/dist/cjs/custom/agents/CustomAgents.js +0 -73
- package/dist/cjs/custom/utils/sdkHeaderNames.d.ts +0 -1
- package/dist/cjs/custom/utils/sdkHeaderNames.js +0 -12
- package/dist/cjs/custom/utils/stripFernNormalizedHeaders.d.ts +0 -5
- package/dist/cjs/custom/utils/stripFernNormalizedHeaders.js +0 -27
- package/dist/cjs/serialization/types/AgentsUpdateExpertReference.d.ts +0 -8
- package/dist/cjs/serialization/types/AgentsUpdateExpertReference.js +0 -6
- package/dist/cjs/serialization/types/StreamDeltaUsageMessage.d.ts +0 -10
- package/dist/cjs/serialization/types/StreamDeltaUsageMessage.js +0 -42
- package/dist/cjs/serialization/types/TranscribeDeltaUsageMessage.d.ts +0 -10
- package/dist/cjs/serialization/types/TranscribeDeltaUsageMessage.js +0 -42
- package/dist/esm/api/types/AgentsUpdateExpertReference.d.mts +0 -5
- package/dist/esm/api/types/AgentsUpdateExpertReference.mjs +0 -2
- package/dist/esm/api/types/StreamDeltaUsageMessage.d.mts +0 -5
- package/dist/esm/api/types/StreamDeltaUsageMessage.mjs +0 -2
- package/dist/esm/api/types/TranscribeDeltaUsageMessage.d.mts +0 -5
- package/dist/esm/api/types/TranscribeDeltaUsageMessage.mjs +0 -2
- package/dist/esm/custom/agents/CustomAgents.d.mts +0 -20
- package/dist/esm/custom/agents/CustomAgents.mjs +0 -36
- package/dist/esm/custom/utils/sdkHeaderNames.d.mts +0 -1
- package/dist/esm/custom/utils/sdkHeaderNames.mjs +0 -9
- package/dist/esm/custom/utils/stripFernNormalizedHeaders.d.mts +0 -5
- package/dist/esm/custom/utils/stripFernNormalizedHeaders.mjs +0 -24
- package/dist/esm/serialization/types/AgentsUpdateExpertReference.d.mts +0 -8
- package/dist/esm/serialization/types/AgentsUpdateExpertReference.mjs +0 -3
- package/dist/esm/serialization/types/StreamDeltaUsageMessage.d.mts +0 -10
- package/dist/esm/serialization/types/StreamDeltaUsageMessage.mjs +0 -6
- package/dist/esm/serialization/types/TranscribeDeltaUsageMessage.d.mts +0 -10
- package/dist/esm/serialization/types/TranscribeDeltaUsageMessage.mjs +0 -6
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
|
-
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.js";
|
|
5
4
|
import { AgentsCreateAgentAgentType } from "../../types/AgentsCreateAgentAgentType.js";
|
|
6
5
|
import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.js";
|
|
7
6
|
export declare const AgentsCreateAgent: core.serialization.Schema<serializers.AgentsCreateAgent.Raw, Omit<Corti.AgentsCreateAgent, "ephemeral">>;
|
|
@@ -12,6 +11,5 @@ export declare namespace AgentsCreateAgent {
|
|
|
12
11
|
systemPrompt?: string | null;
|
|
13
12
|
description: string;
|
|
14
13
|
experts?: AgentsCreateAgentExpertsItem.Raw[] | null;
|
|
15
|
-
mcpServers?: AgentsCreateMcpServer.Raw[] | null;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
@@ -36,7 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentsCreateAgent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
-
const AgentsCreateMcpServer_js_1 = require("../../../../types/AgentsCreateMcpServer.js");
|
|
40
39
|
const AgentsCreateAgentAgentType_js_1 = require("../../types/AgentsCreateAgentAgentType.js");
|
|
41
40
|
const AgentsCreateAgentExpertsItem_js_1 = require("../../types/AgentsCreateAgentExpertsItem.js");
|
|
42
41
|
exports.AgentsCreateAgent = core.serialization.object({
|
|
@@ -45,5 +44,4 @@ exports.AgentsCreateAgent = core.serialization.object({
|
|
|
45
44
|
systemPrompt: core.serialization.string().optional(),
|
|
46
45
|
description: core.serialization.string(),
|
|
47
46
|
experts: core.serialization.list(AgentsCreateAgentExpertsItem_js_1.AgentsCreateAgentExpertsItem).optional(),
|
|
48
|
-
mcpServers: core.serialization.list(AgentsCreateMcpServer_js_1.AgentsCreateMcpServer).optional(),
|
|
49
47
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
|
-
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.js";
|
|
5
4
|
import { AgentsUpdateAgentExpertsItem } from "../../types/AgentsUpdateAgentExpertsItem.js";
|
|
6
5
|
export declare const AgentsUpdateAgent: core.serialization.Schema<serializers.AgentsUpdateAgent.Raw, Corti.AgentsUpdateAgent>;
|
|
7
6
|
export declare namespace AgentsUpdateAgent {
|
|
@@ -10,6 +9,5 @@ export declare namespace AgentsUpdateAgent {
|
|
|
10
9
|
systemPrompt?: string | null;
|
|
11
10
|
description?: string | null;
|
|
12
11
|
experts?: AgentsUpdateAgentExpertsItem.Raw[] | null;
|
|
13
|
-
mcpServers?: AgentsCreateMcpServer.Raw[] | null;
|
|
14
12
|
}
|
|
15
13
|
}
|
|
@@ -36,12 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentsUpdateAgent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
-
const AgentsCreateMcpServer_js_1 = require("../../../../types/AgentsCreateMcpServer.js");
|
|
40
39
|
const AgentsUpdateAgentExpertsItem_js_1 = require("../../types/AgentsUpdateAgentExpertsItem.js");
|
|
41
40
|
exports.AgentsUpdateAgent = core.serialization.object({
|
|
42
41
|
name: core.serialization.string().optional(),
|
|
43
42
|
systemPrompt: core.serialization.string().optional(),
|
|
44
43
|
description: core.serialization.string().optional(),
|
|
45
44
|
experts: core.serialization.list(AgentsUpdateAgentExpertsItem_js_1.AgentsUpdateAgentExpertsItem).optional(),
|
|
46
|
-
mcpServers: core.serialization.list(AgentsCreateMcpServer_js_1.AgentsCreateMcpServer).optional(),
|
|
47
45
|
});
|
|
@@ -2,8 +2,8 @@ import type * as Corti from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.js";
|
|
5
|
-
import {
|
|
5
|
+
import { AgentsCreateExpertReference } from "../../../types/AgentsCreateExpertReference.js";
|
|
6
6
|
export declare const AgentsUpdateAgentExpertsItem: core.serialization.Schema<serializers.AgentsUpdateAgentExpertsItem.Raw, Corti.AgentsUpdateAgentExpertsItem>;
|
|
7
7
|
export declare namespace AgentsUpdateAgentExpertsItem {
|
|
8
|
-
type Raw = AgentsCreateExpert.Raw |
|
|
8
|
+
type Raw = AgentsCreateExpert.Raw | AgentsCreateExpertReference.Raw;
|
|
9
9
|
}
|
|
@@ -37,5 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AgentsUpdateAgentExpertsItem = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const AgentsCreateExpert_js_1 = require("../../../types/AgentsCreateExpert.js");
|
|
40
|
-
const
|
|
41
|
-
exports.AgentsUpdateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert_js_1.AgentsCreateExpert,
|
|
40
|
+
const AgentsCreateExpertReference_js_1 = require("../../../types/AgentsCreateExpertReference.js");
|
|
41
|
+
exports.AgentsUpdateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert_js_1.AgentsCreateExpert, AgentsCreateExpertReference_js_1.AgentsCreateExpertReference]);
|
|
@@ -2,14 +2,13 @@ import type * as Corti from "../../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
4
|
import { StreamConfigStatusMessage } from "../../../../types/StreamConfigStatusMessage.js";
|
|
5
|
-
import { StreamDeltaUsageMessage } from "../../../../types/StreamDeltaUsageMessage.js";
|
|
6
5
|
import { StreamEndedMessage } from "../../../../types/StreamEndedMessage.js";
|
|
7
6
|
import { StreamErrorMessage } from "../../../../types/StreamErrorMessage.js";
|
|
8
7
|
import { StreamFactsMessage } from "../../../../types/StreamFactsMessage.js";
|
|
9
8
|
import { StreamFlushedMessage } from "../../../../types/StreamFlushedMessage.js";
|
|
10
9
|
import { StreamTranscriptMessage } from "../../../../types/StreamTranscriptMessage.js";
|
|
11
10
|
import { StreamUsageMessage } from "../../../../types/StreamUsageMessage.js";
|
|
12
|
-
export declare const StreamSocketResponse: core.serialization.Schema<serializers.StreamSocketResponse.Raw, Corti.StreamTranscriptMessage | Corti.StreamFactsMessage | Corti.StreamFlushedMessage | Corti.
|
|
11
|
+
export declare const StreamSocketResponse: core.serialization.Schema<serializers.StreamSocketResponse.Raw, Corti.StreamTranscriptMessage | Corti.StreamFactsMessage | Corti.StreamFlushedMessage | Corti.StreamEndedMessage | Corti.StreamUsageMessage | Corti.StreamErrorMessage | Corti.StreamConfigStatusMessage>;
|
|
13
12
|
export declare namespace StreamSocketResponse {
|
|
14
|
-
type Raw = StreamTranscriptMessage.Raw | StreamFactsMessage.Raw | StreamFlushedMessage.Raw |
|
|
13
|
+
type Raw = StreamTranscriptMessage.Raw | StreamFactsMessage.Raw | StreamFlushedMessage.Raw | StreamEndedMessage.Raw | StreamUsageMessage.Raw | StreamErrorMessage.Raw | StreamConfigStatusMessage.Raw;
|
|
15
14
|
}
|
|
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.StreamSocketResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
39
|
const StreamConfigStatusMessage_js_1 = require("../../../../types/StreamConfigStatusMessage.js");
|
|
40
|
-
const StreamDeltaUsageMessage_js_1 = require("../../../../types/StreamDeltaUsageMessage.js");
|
|
41
40
|
const StreamEndedMessage_js_1 = require("../../../../types/StreamEndedMessage.js");
|
|
42
41
|
const StreamErrorMessage_js_1 = require("../../../../types/StreamErrorMessage.js");
|
|
43
42
|
const StreamFactsMessage_js_1 = require("../../../../types/StreamFactsMessage.js");
|
|
@@ -48,7 +47,6 @@ exports.StreamSocketResponse = core.serialization.undiscriminatedUnion([
|
|
|
48
47
|
StreamTranscriptMessage_js_1.StreamTranscriptMessage,
|
|
49
48
|
StreamFactsMessage_js_1.StreamFactsMessage,
|
|
50
49
|
StreamFlushedMessage_js_1.StreamFlushedMessage,
|
|
51
|
-
StreamDeltaUsageMessage_js_1.StreamDeltaUsageMessage,
|
|
52
50
|
StreamEndedMessage_js_1.StreamEndedMessage,
|
|
53
51
|
StreamUsageMessage_js_1.StreamUsageMessage,
|
|
54
52
|
StreamErrorMessage_js_1.StreamErrorMessage,
|
package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts
CHANGED
|
@@ -3,13 +3,12 @@ import * as core from "../../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
4
|
import { TranscribeCommandMessage } from "../../../../types/TranscribeCommandMessage.js";
|
|
5
5
|
import { TranscribeConfigStatusMessage } from "../../../../types/TranscribeConfigStatusMessage.js";
|
|
6
|
-
import { TranscribeDeltaUsageMessage } from "../../../../types/TranscribeDeltaUsageMessage.js";
|
|
7
6
|
import { TranscribeEndedMessage } from "../../../../types/TranscribeEndedMessage.js";
|
|
8
7
|
import { TranscribeErrorMessage } from "../../../../types/TranscribeErrorMessage.js";
|
|
9
8
|
import { TranscribeFlushedMessage } from "../../../../types/TranscribeFlushedMessage.js";
|
|
10
9
|
import { TranscribeTranscriptMessage } from "../../../../types/TranscribeTranscriptMessage.js";
|
|
11
10
|
import { TranscribeUsageMessage } from "../../../../types/TranscribeUsageMessage.js";
|
|
12
|
-
export declare const TranscribeSocketResponse: core.serialization.Schema<serializers.TranscribeSocketResponse.Raw, Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.
|
|
11
|
+
export declare const TranscribeSocketResponse: core.serialization.Schema<serializers.TranscribeSocketResponse.Raw, Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage>;
|
|
13
12
|
export declare namespace TranscribeSocketResponse {
|
|
14
|
-
type Raw = TranscribeUsageMessage.Raw | TranscribeFlushedMessage.Raw |
|
|
13
|
+
type Raw = TranscribeUsageMessage.Raw | TranscribeFlushedMessage.Raw | TranscribeEndedMessage.Raw | TranscribeErrorMessage.Raw | TranscribeTranscriptMessage.Raw | TranscribeCommandMessage.Raw | TranscribeConfigStatusMessage.Raw;
|
|
15
14
|
}
|
package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js
CHANGED
|
@@ -38,7 +38,6 @@ exports.TranscribeSocketResponse = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
39
|
const TranscribeCommandMessage_js_1 = require("../../../../types/TranscribeCommandMessage.js");
|
|
40
40
|
const TranscribeConfigStatusMessage_js_1 = require("../../../../types/TranscribeConfigStatusMessage.js");
|
|
41
|
-
const TranscribeDeltaUsageMessage_js_1 = require("../../../../types/TranscribeDeltaUsageMessage.js");
|
|
42
41
|
const TranscribeEndedMessage_js_1 = require("../../../../types/TranscribeEndedMessage.js");
|
|
43
42
|
const TranscribeErrorMessage_js_1 = require("../../../../types/TranscribeErrorMessage.js");
|
|
44
43
|
const TranscribeFlushedMessage_js_1 = require("../../../../types/TranscribeFlushedMessage.js");
|
|
@@ -47,7 +46,6 @@ const TranscribeUsageMessage_js_1 = require("../../../../types/TranscribeUsageMe
|
|
|
47
46
|
exports.TranscribeSocketResponse = core.serialization.undiscriminatedUnion([
|
|
48
47
|
TranscribeUsageMessage_js_1.TranscribeUsageMessage,
|
|
49
48
|
TranscribeFlushedMessage_js_1.TranscribeFlushedMessage,
|
|
50
|
-
TranscribeDeltaUsageMessage_js_1.TranscribeDeltaUsageMessage,
|
|
51
49
|
TranscribeEndedMessage_js_1.TranscribeEndedMessage,
|
|
52
50
|
TranscribeErrorMessage_js_1.TranscribeErrorMessage,
|
|
53
51
|
TranscribeTranscriptMessage_js_1.TranscribeTranscriptMessage,
|
|
@@ -2,7 +2,6 @@ import type * as Corti from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { AgentsAgentExpertsItem } from "./AgentsAgentExpertsItem.js";
|
|
5
|
-
import { AgentsMcpServer } from "./AgentsMcpServer.js";
|
|
6
5
|
export declare const AgentsAgent: core.serialization.ObjectSchema<serializers.AgentsAgent.Raw, Corti.AgentsAgent>;
|
|
7
6
|
export declare namespace AgentsAgent {
|
|
8
7
|
interface Raw {
|
|
@@ -11,6 +10,5 @@ export declare namespace AgentsAgent {
|
|
|
11
10
|
description: string;
|
|
12
11
|
systemPrompt: string;
|
|
13
12
|
experts?: AgentsAgentExpertsItem.Raw[] | null;
|
|
14
|
-
mcpServers?: AgentsMcpServer.Raw[] | null;
|
|
15
13
|
}
|
|
16
14
|
}
|
|
@@ -37,12 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AgentsAgent = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const AgentsAgentExpertsItem_js_1 = require("./AgentsAgentExpertsItem.js");
|
|
40
|
-
const AgentsMcpServer_js_1 = require("./AgentsMcpServer.js");
|
|
41
40
|
exports.AgentsAgent = core.serialization.object({
|
|
42
41
|
id: core.serialization.string(),
|
|
43
42
|
name: core.serialization.string(),
|
|
44
43
|
description: core.serialization.string(),
|
|
45
44
|
systemPrompt: core.serialization.string(),
|
|
46
45
|
experts: core.serialization.list(AgentsAgentExpertsItem_js_1.AgentsAgentExpertsItem).optional(),
|
|
47
|
-
mcpServers: core.serialization.list(AgentsMcpServer_js_1.AgentsMcpServer).optional(),
|
|
48
46
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const AgentsMcpServerTransportType: core.serialization.Schema<serializers.AgentsMcpServerTransportType.Raw, Corti.AgentsMcpServerTransportType>;
|
|
5
5
|
export declare namespace AgentsMcpServerTransportType {
|
|
6
|
-
type Raw = "stdio" | "streamable_http"
|
|
6
|
+
type Raw = "stdio" | "streamable_http";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentsMcpServerTransportType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.AgentsMcpServerTransportType = core.serialization.enum_(["stdio", "streamable_http"
|
|
39
|
+
exports.AgentsMcpServerTransportType = core.serialization.enum_(["stdio", "streamable_http"]);
|
|
@@ -6,8 +6,6 @@ export declare const AgentsRegistryExpert: core.serialization.ObjectSchema<seria
|
|
|
6
6
|
export declare namespace AgentsRegistryExpert {
|
|
7
7
|
interface Raw {
|
|
8
8
|
name: string;
|
|
9
|
-
displayName?: string | null;
|
|
10
|
-
displayDescription?: string | null;
|
|
11
9
|
description: string;
|
|
12
10
|
mcpServers?: AgentsRegistryMcpServer.Raw[] | null;
|
|
13
11
|
}
|
|
@@ -39,8 +39,6 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
39
39
|
const AgentsRegistryMcpServer_js_1 = require("./AgentsRegistryMcpServer.js");
|
|
40
40
|
exports.AgentsRegistryExpert = core.serialization.object({
|
|
41
41
|
name: core.serialization.string(),
|
|
42
|
-
displayName: core.serialization.string().optional(),
|
|
43
|
-
displayDescription: core.serialization.string().optional(),
|
|
44
42
|
description: core.serialization.string(),
|
|
45
43
|
mcpServers: core.serialization.list(AgentsRegistryMcpServer_js_1.AgentsRegistryMcpServer).optional(),
|
|
46
44
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const CommonCodingSystemEnum: core.serialization.Schema<serializers.CommonCodingSystemEnum.Raw, Corti.CommonCodingSystemEnum>;
|
|
5
5
|
export declare namespace CommonCodingSystemEnum {
|
|
6
|
-
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient"
|
|
6
|
+
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient";
|
|
7
7
|
}
|
|
@@ -45,11 +45,4 @@ exports.CommonCodingSystemEnum = core.serialization.enum_([
|
|
|
45
45
|
"icd10int-outpatient",
|
|
46
46
|
"icd10uk-inpatient",
|
|
47
47
|
"icd10uk-outpatient",
|
|
48
|
-
"cim10fr-inpatient",
|
|
49
|
-
"cim10fr-outpatient",
|
|
50
|
-
"icd10gm-inpatient",
|
|
51
|
-
"icd10gm-outpatient",
|
|
52
|
-
"opcs4",
|
|
53
|
-
"ops",
|
|
54
|
-
"ccam",
|
|
55
48
|
]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const StreamConfigStatusMessageType: core.serialization.Schema<serializers.StreamConfigStatusMessageType.Raw, Corti.StreamConfigStatusMessageType>;
|
|
5
5
|
export declare namespace StreamConfigStatusMessageType {
|
|
6
|
-
type Raw = "CONFIG_ACCEPTED" | "CONFIG_DENIED" | "CONFIG_MISSING" | "CONFIG_NOT_PROVIDED" | "CONFIG_ALREADY_RECEIVED";
|
|
6
|
+
type Raw = "CONFIG_ACCEPTED" | "CONFIG_DENIED" | "CONFIG_MISSING" | "CONFIG_NOT_PROVIDED" | "CONFIG_ALREADY_RECEIVED" | "CONFIG_TIMEOUT";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const TranscribeConfigStatusMessageType: core.serialization.Schema<serializers.TranscribeConfigStatusMessageType.Raw, Corti.TranscribeConfigStatusMessageType>;
|
|
5
5
|
export declare namespace TranscribeConfigStatusMessageType {
|
|
6
|
-
type Raw = "CONFIG_ACCEPTED" | "CONFIG_DENIED" | "CONFIG_TIMEOUT"
|
|
6
|
+
type Raw = "CONFIG_ACCEPTED" | "CONFIG_DENIED" | "CONFIG_TIMEOUT";
|
|
7
7
|
}
|
|
@@ -36,10 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TranscribeConfigStatusMessageType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.TranscribeConfigStatusMessageType = core.serialization.enum_([
|
|
40
|
-
"CONFIG_ACCEPTED",
|
|
41
|
-
"CONFIG_DENIED",
|
|
42
|
-
"CONFIG_TIMEOUT",
|
|
43
|
-
"CONFIG_ALREADY_RECEIVED",
|
|
44
|
-
"CONFIG_MISSING",
|
|
45
|
-
]);
|
|
39
|
+
exports.TranscribeConfigStatusMessageType = core.serialization.enum_(["CONFIG_ACCEPTED", "CONFIG_DENIED", "CONFIG_TIMEOUT"]);
|
|
@@ -52,7 +52,6 @@ export * from "./AgentsTaskStatus.js";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.js";
|
|
53
53
|
export * from "./AgentsTextPart.js";
|
|
54
54
|
export * from "./AgentsTextPartKind.js";
|
|
55
|
-
export * from "./AgentsUpdateExpertReference.js";
|
|
56
55
|
export * from "./AgentsValidationError.js";
|
|
57
56
|
export * from "./AgentsValidationErrorErrorsItem.js";
|
|
58
57
|
export * from "./AgentsValidationErrorResponse.js";
|
|
@@ -137,7 +136,6 @@ export * from "./StreamConfigStatusMessage.js";
|
|
|
137
136
|
export * from "./StreamConfigStatusMessageType.js";
|
|
138
137
|
export * from "./StreamConfigTranscription.js";
|
|
139
138
|
export * from "./StreamConfigXCortiRetentionPolicy.js";
|
|
140
|
-
export * from "./StreamDeltaUsageMessage.js";
|
|
141
139
|
export * from "./StreamEndedMessage.js";
|
|
142
140
|
export * from "./StreamEndMessage.js";
|
|
143
141
|
export * from "./StreamErrorDetail.js";
|
|
@@ -170,7 +168,6 @@ export * from "./TranscribeConfig.js";
|
|
|
170
168
|
export * from "./TranscribeConfigMessage.js";
|
|
171
169
|
export * from "./TranscribeConfigStatusMessage.js";
|
|
172
170
|
export * from "./TranscribeConfigStatusMessageType.js";
|
|
173
|
-
export * from "./TranscribeDeltaUsageMessage.js";
|
|
174
171
|
export * from "./TranscribeEndedMessage.js";
|
|
175
172
|
export * from "./TranscribeEndMessage.js";
|
|
176
173
|
export * from "./TranscribeErrorMessage.js";
|
|
@@ -68,7 +68,6 @@ __exportStar(require("./AgentsTaskStatus.js"), exports);
|
|
|
68
68
|
__exportStar(require("./AgentsTaskStatusState.js"), exports);
|
|
69
69
|
__exportStar(require("./AgentsTextPart.js"), exports);
|
|
70
70
|
__exportStar(require("./AgentsTextPartKind.js"), exports);
|
|
71
|
-
__exportStar(require("./AgentsUpdateExpertReference.js"), exports);
|
|
72
71
|
__exportStar(require("./AgentsValidationError.js"), exports);
|
|
73
72
|
__exportStar(require("./AgentsValidationErrorErrorsItem.js"), exports);
|
|
74
73
|
__exportStar(require("./AgentsValidationErrorResponse.js"), exports);
|
|
@@ -153,7 +152,6 @@ __exportStar(require("./StreamConfigStatusMessage.js"), exports);
|
|
|
153
152
|
__exportStar(require("./StreamConfigStatusMessageType.js"), exports);
|
|
154
153
|
__exportStar(require("./StreamConfigTranscription.js"), exports);
|
|
155
154
|
__exportStar(require("./StreamConfigXCortiRetentionPolicy.js"), exports);
|
|
156
|
-
__exportStar(require("./StreamDeltaUsageMessage.js"), exports);
|
|
157
155
|
__exportStar(require("./StreamEndedMessage.js"), exports);
|
|
158
156
|
__exportStar(require("./StreamEndMessage.js"), exports);
|
|
159
157
|
__exportStar(require("./StreamErrorDetail.js"), exports);
|
|
@@ -186,7 +184,6 @@ __exportStar(require("./TranscribeConfig.js"), exports);
|
|
|
186
184
|
__exportStar(require("./TranscribeConfigMessage.js"), exports);
|
|
187
185
|
__exportStar(require("./TranscribeConfigStatusMessage.js"), exports);
|
|
188
186
|
__exportStar(require("./TranscribeConfigStatusMessageType.js"), exports);
|
|
189
|
-
__exportStar(require("./TranscribeDeltaUsageMessage.js"), exports);
|
|
190
187
|
__exportStar(require("./TranscribeEndedMessage.js"), exports);
|
|
191
188
|
__exportStar(require("./TranscribeEndMessage.js"), exports);
|
|
192
189
|
__exportStar(require("./TranscribeErrorMessage.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.0-
|
|
1
|
+
export declare const SDK_VERSION = "1.2.0-templates-beta";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.2.0-
|
|
10
|
-
"User-Agent": "@corti/sdk/1.2.0-
|
|
9
|
+
"X-Fern-SDK-Version": "1.2.0-templates-beta",
|
|
10
|
+
"User-Agent": "@corti/sdk/1.2.0-templates-beta",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -18,6 +18,4 @@ export interface AgentsCreateAgent {
|
|
|
18
18
|
/** A brief description of the agent's capabilities. */
|
|
19
19
|
description: string;
|
|
20
20
|
experts?: Corti.AgentsCreateAgentExpertsItem[];
|
|
21
|
-
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
22
|
-
mcpServers?: Corti.AgentsCreateMcpServer[];
|
|
23
21
|
}
|
|
@@ -11,6 +11,4 @@ export interface AgentsUpdateAgent {
|
|
|
11
11
|
/** A brief description of the agent's capabilities. */
|
|
12
12
|
description?: string;
|
|
13
13
|
experts?: Corti.AgentsUpdateAgentExpertsItem[];
|
|
14
|
-
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
15
|
-
mcpServers?: Corti.AgentsCreateMcpServer[];
|
|
16
14
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Corti from "../../../index.mjs";
|
|
2
|
-
export type AgentsUpdateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.
|
|
2
|
+
export type AgentsUpdateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.AgentsCreateExpertReference;
|
|
@@ -11,7 +11,7 @@ export declare class CodesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CodesClient.Options>;
|
|
12
12
|
constructor(options: CodesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10
|
|
14
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
17
17
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class CodesClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10
|
|
23
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
24
24
|
*
|
|
25
25
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
26
26
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -4,7 +4,7 @@ export declare namespace StreamSocket {
|
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
7
|
-
type Response = Corti.StreamTranscriptMessage | Corti.StreamFactsMessage | Corti.StreamFlushedMessage | Corti.
|
|
7
|
+
type Response = Corti.StreamTranscriptMessage | Corti.StreamFactsMessage | Corti.StreamFlushedMessage | Corti.StreamEndedMessage | Corti.StreamUsageMessage | Corti.StreamErrorMessage | Corti.StreamConfigStatusMessage;
|
|
8
8
|
type EventHandlers = {
|
|
9
9
|
open?: () => void;
|
|
10
10
|
message?: (message: Response) => void;
|
|
@@ -4,7 +4,7 @@ export declare namespace TranscribeSocket {
|
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
7
|
-
type Response = Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.
|
|
7
|
+
type Response = Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage;
|
|
8
8
|
type EventHandlers = {
|
|
9
9
|
open?: () => void;
|
|
10
10
|
message?: (message: Response) => void;
|
|
@@ -9,6 +9,4 @@ export interface AgentsAgent {
|
|
|
9
9
|
/** The system prompt that defines the overall agents behavior and expectations. */
|
|
10
10
|
systemPrompt: string;
|
|
11
11
|
experts?: Corti.AgentsAgentExpertsItem[];
|
|
12
|
-
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
13
|
-
mcpServers?: Corti.AgentsMcpServer[];
|
|
14
12
|
}
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
export declare const AgentsMcpServerTransportType: {
|
|
3
3
|
readonly Stdio: "stdio";
|
|
4
4
|
readonly StreamableHttp: "streamable_http";
|
|
5
|
-
readonly Sse: "sse";
|
|
6
5
|
};
|
|
7
6
|
export type AgentsMcpServerTransportType = (typeof AgentsMcpServerTransportType)[keyof typeof AgentsMcpServerTransportType];
|
|
@@ -2,10 +2,6 @@ import type * as Corti from "../index.mjs";
|
|
|
2
2
|
export interface AgentsRegistryExpert {
|
|
3
3
|
/** The name of the expert. */
|
|
4
4
|
name: string;
|
|
5
|
-
/** An optional human-readable display name for the expert. */
|
|
6
|
-
displayName?: string;
|
|
7
|
-
/** An optional human-readable display description for the expert. */
|
|
8
|
-
displayDescription?: string;
|
|
9
5
|
/** A brief description of the expert's capabilities. */
|
|
10
6
|
description: string;
|
|
11
7
|
/** A list of MCP servers the expert can call, including their authorization types. */
|
|
@@ -7,12 +7,5 @@ export declare const CommonCodingSystemEnum: {
|
|
|
7
7
|
readonly Icd10IntOutpatient: "icd10int-outpatient";
|
|
8
8
|
readonly Icd10UkInpatient: "icd10uk-inpatient";
|
|
9
9
|
readonly Icd10UkOutpatient: "icd10uk-outpatient";
|
|
10
|
-
readonly Cim10FrInpatient: "cim10fr-inpatient";
|
|
11
|
-
readonly Cim10FrOutpatient: "cim10fr-outpatient";
|
|
12
|
-
readonly Icd10GmInpatient: "icd10gm-inpatient";
|
|
13
|
-
readonly Icd10GmOutpatient: "icd10gm-outpatient";
|
|
14
|
-
readonly Opcs4: "opcs4";
|
|
15
|
-
readonly Ops: "ops";
|
|
16
|
-
readonly Ccam: "ccam";
|
|
17
10
|
};
|
|
18
11
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -8,11 +8,4 @@ export const CommonCodingSystemEnum = {
|
|
|
8
8
|
Icd10IntOutpatient: "icd10int-outpatient",
|
|
9
9
|
Icd10UkInpatient: "icd10uk-inpatient",
|
|
10
10
|
Icd10UkOutpatient: "icd10uk-outpatient",
|
|
11
|
-
Cim10FrInpatient: "cim10fr-inpatient",
|
|
12
|
-
Cim10FrOutpatient: "cim10fr-outpatient",
|
|
13
|
-
Icd10GmInpatient: "icd10gm-inpatient",
|
|
14
|
-
Icd10GmOutpatient: "icd10gm-outpatient",
|
|
15
|
-
Opcs4: "opcs4",
|
|
16
|
-
Ops: "ops",
|
|
17
|
-
Ccam: "ccam",
|
|
18
11
|
};
|
|
@@ -5,5 +5,6 @@ export declare const StreamConfigStatusMessageType: {
|
|
|
5
5
|
readonly ConfigMissing: "CONFIG_MISSING";
|
|
6
6
|
readonly ConfigNotProvided: "CONFIG_NOT_PROVIDED";
|
|
7
7
|
readonly ConfigAlreadyReceived: "CONFIG_ALREADY_RECEIVED";
|
|
8
|
+
readonly ConfigTimeout: "CONFIG_TIMEOUT";
|
|
8
9
|
};
|
|
9
10
|
export type StreamConfigStatusMessageType = (typeof StreamConfigStatusMessageType)[keyof typeof StreamConfigStatusMessageType];
|
|
@@ -3,7 +3,5 @@ export declare const TranscribeConfigStatusMessageType: {
|
|
|
3
3
|
readonly ConfigAccepted: "CONFIG_ACCEPTED";
|
|
4
4
|
readonly ConfigDenied: "CONFIG_DENIED";
|
|
5
5
|
readonly ConfigTimeout: "CONFIG_TIMEOUT";
|
|
6
|
-
readonly ConfigAlreadyReceived: "CONFIG_ALREADY_RECEIVED";
|
|
7
|
-
readonly ConfigMissing: "CONFIG_MISSING";
|
|
8
6
|
};
|
|
9
7
|
export type TranscribeConfigStatusMessageType = (typeof TranscribeConfigStatusMessageType)[keyof typeof TranscribeConfigStatusMessageType];
|
|
@@ -52,7 +52,6 @@ export * from "./AgentsTaskStatus.mjs";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.mjs";
|
|
53
53
|
export * from "./AgentsTextPart.mjs";
|
|
54
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
55
|
-
export * from "./AgentsUpdateExpertReference.mjs";
|
|
56
55
|
export * from "./AgentsValidationError.mjs";
|
|
57
56
|
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
58
57
|
export * from "./AgentsValidationErrorResponse.mjs";
|
|
@@ -137,7 +136,6 @@ export * from "./StreamConfigStatusMessage.mjs";
|
|
|
137
136
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
138
137
|
export * from "./StreamConfigTranscription.mjs";
|
|
139
138
|
export * from "./StreamConfigXCortiRetentionPolicy.mjs";
|
|
140
|
-
export * from "./StreamDeltaUsageMessage.mjs";
|
|
141
139
|
export * from "./StreamEndedMessage.mjs";
|
|
142
140
|
export * from "./StreamEndMessage.mjs";
|
|
143
141
|
export * from "./StreamErrorDetail.mjs";
|
|
@@ -170,7 +168,6 @@ export * from "./TranscribeConfig.mjs";
|
|
|
170
168
|
export * from "./TranscribeConfigMessage.mjs";
|
|
171
169
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
172
170
|
export * from "./TranscribeConfigStatusMessageType.mjs";
|
|
173
|
-
export * from "./TranscribeDeltaUsageMessage.mjs";
|
|
174
171
|
export * from "./TranscribeEndedMessage.mjs";
|
|
175
172
|
export * from "./TranscribeEndMessage.mjs";
|
|
176
173
|
export * from "./TranscribeErrorMessage.mjs";
|
|
@@ -52,7 +52,6 @@ export * from "./AgentsTaskStatus.mjs";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.mjs";
|
|
53
53
|
export * from "./AgentsTextPart.mjs";
|
|
54
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
55
|
-
export * from "./AgentsUpdateExpertReference.mjs";
|
|
56
55
|
export * from "./AgentsValidationError.mjs";
|
|
57
56
|
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
58
57
|
export * from "./AgentsValidationErrorResponse.mjs";
|
|
@@ -137,7 +136,6 @@ export * from "./StreamConfigStatusMessage.mjs";
|
|
|
137
136
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
138
137
|
export * from "./StreamConfigTranscription.mjs";
|
|
139
138
|
export * from "./StreamConfigXCortiRetentionPolicy.mjs";
|
|
140
|
-
export * from "./StreamDeltaUsageMessage.mjs";
|
|
141
139
|
export * from "./StreamEndedMessage.mjs";
|
|
142
140
|
export * from "./StreamEndMessage.mjs";
|
|
143
141
|
export * from "./StreamErrorDetail.mjs";
|
|
@@ -170,7 +168,6 @@ export * from "./TranscribeConfig.mjs";
|
|
|
170
168
|
export * from "./TranscribeConfigMessage.mjs";
|
|
171
169
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
172
170
|
export * from "./TranscribeConfigStatusMessageType.mjs";
|
|
173
|
-
export * from "./TranscribeDeltaUsageMessage.mjs";
|
|
174
171
|
export * from "./TranscribeEndedMessage.mjs";
|
|
175
172
|
export * from "./TranscribeEndMessage.mjs";
|
|
176
173
|
export * from "./TranscribeErrorMessage.mjs";
|