@corti/sdk 6.0.0 → 7.0.0-rc
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/codes/client/Client.d.ts +11 -8
- package/dist/cjs/api/resources/codes/client/Client.js +11 -8
- package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +13 -8
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +1 -0
- package/dist/cjs/api/resources/recordings/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/recordings/client/Client.js +16 -6
- package/dist/cjs/api/resources/recordings/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/recordings/client/index.js +15 -0
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.d.ts +9 -0
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.js +3 -0
- package/dist/cjs/api/resources/recordings/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/recordings/client/requests/index.js +2 -0
- package/dist/cjs/api/types/CodesConditionGroup.d.ts +10 -0
- package/dist/cjs/api/types/CodesConditionGroup.js +3 -0
- package/dist/cjs/api/types/CodesConditionGroupConditionsItem.d.ts +2 -0
- package/dist/cjs/api/types/CodesConditionGroupConditionsItem.js +3 -0
- package/dist/cjs/api/types/CodesConditionGroupMatch.d.ts +6 -0
- package/dist/cjs/api/types/CodesConditionGroupMatch.js +9 -0
- package/dist/cjs/api/types/CodesFilter.d.ts +1 -1
- package/dist/cjs/api/types/CodesSystemFilter.d.ts +12 -0
- package/dist/cjs/api/types/CodesSystemFilter.js +3 -0
- package/dist/cjs/api/types/CommonA2AConnector.d.ts +2 -0
- package/dist/cjs/api/types/CommonAgentConnector.d.ts +2 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +6 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +6 -0
- package/dist/cjs/api/types/CommonMcpConnector.d.ts +2 -1
- package/dist/cjs/api/types/CommonRegistryConnectorProvisioned.d.ts +2 -0
- package/dist/cjs/api/types/CommonSchemaConnector.d.ts +3 -1
- package/dist/cjs/api/types/CommonSchemaConnectorCreate.d.ts +1 -1
- package/dist/cjs/api/types/CommonSchemaConnectorCreateTransition.d.ts +2 -1
- package/dist/cjs/api/types/CommonSchemaConnectorCreateTransition.js +2 -1
- package/dist/cjs/api/types/CommonSchemaConnectorTransition.d.ts +2 -1
- package/dist/cjs/api/types/CommonSchemaConnectorTransition.js +2 -1
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +2 -0
- package/dist/cjs/api/types/StreamConfigTranscriptionWordLevel.d.ts +6 -0
- package/dist/cjs/api/types/StreamConfigTranscriptionWordLevel.js +3 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/api/types/TranscribeConfigWordLevel.d.ts +6 -0
- package/dist/cjs/api/types/TranscribeConfigWordLevel.js +3 -0
- package/dist/cjs/api/types/TranscribeTranscriptMessage.d.ts +2 -1
- package/dist/cjs/api/types/TranscribeTranscriptMessageData.d.ts +5 -0
- package/dist/cjs/api/types/TranscribeTranscriptMessageData.js +3 -0
- package/dist/cjs/api/types/TranscriptsListItem.d.ts +4 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -0
- package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.js +2 -0
- package/dist/cjs/serialization/types/CodesConditionGroup.d.ts +11 -0
- package/dist/cjs/serialization/types/CodesConditionGroup.js +46 -0
- package/dist/cjs/serialization/types/CodesConditionGroupConditionsItem.d.ts +8 -0
- package/dist/cjs/serialization/types/CodesConditionGroupConditionsItem.js +44 -0
- package/dist/cjs/serialization/types/CodesConditionGroupMatch.d.ts +7 -0
- package/dist/cjs/serialization/types/CodesConditionGroupMatch.js +39 -0
- package/dist/cjs/serialization/types/CodesSystemFilter.d.ts +11 -0
- package/dist/cjs/serialization/types/CodesSystemFilter.js +44 -0
- package/dist/cjs/serialization/types/CommonA2AConnector.d.ts +2 -0
- package/dist/cjs/serialization/types/CommonA2AConnector.js +2 -0
- package/dist/cjs/serialization/types/CommonAgentConnector.d.ts +2 -0
- package/dist/cjs/serialization/types/CommonAgentConnector.js +2 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +6 -0
- package/dist/cjs/serialization/types/CommonMcpConnector.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonMcpConnector.js +1 -1
- package/dist/cjs/serialization/types/CommonRegistryConnectorProvisioned.d.ts +2 -0
- package/dist/cjs/serialization/types/CommonRegistryConnectorProvisioned.js +2 -0
- package/dist/cjs/serialization/types/CommonSchemaConnector.d.ts +2 -0
- package/dist/cjs/serialization/types/CommonSchemaConnector.js +2 -0
- package/dist/cjs/serialization/types/CommonSchemaConnectorCreateTransition.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonSchemaConnectorCreateTransition.js +1 -1
- package/dist/cjs/serialization/types/CommonSchemaConnectorTransition.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonSchemaConnectorTransition.js +1 -1
- package/dist/cjs/serialization/types/StreamConfigTranscription.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigTranscriptionWordLevel.d.ts +9 -0
- package/dist/cjs/serialization/types/StreamConfigTranscriptionWordLevel.js +41 -0
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
- package/dist/cjs/serialization/types/TranscribeConfigWordLevel.d.ts +9 -0
- package/dist/cjs/serialization/types/TranscribeConfigWordLevel.js +41 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptMessage.d.ts +2 -2
- package/dist/cjs/serialization/types/TranscribeTranscriptMessage.js +2 -2
- package/dist/cjs/serialization/types/TranscribeTranscriptMessageData.d.ts +8 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptMessageData.js +43 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.d.ts +2 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.js +2 -0
- package/dist/cjs/serialization/types/index.d.ts +7 -0
- package/dist/cjs/serialization/types/index.js +7 -0
- 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/codes/client/Client.d.mts +11 -8
- package/dist/esm/api/resources/codes/client/Client.mjs +11 -8
- package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +13 -8
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/recordings/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/recordings/client/Client.mjs +16 -6
- package/dist/esm/api/resources/recordings/client/index.d.mts +1 -1
- package/dist/esm/api/resources/recordings/client/index.mjs +1 -1
- package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.d.mts +9 -0
- package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.mjs +2 -0
- package/dist/esm/api/resources/recordings/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/recordings/client/requests/index.mjs +1 -0
- package/dist/esm/api/types/CodesConditionGroup.d.mts +10 -0
- package/dist/esm/api/types/CodesConditionGroup.mjs +2 -0
- package/dist/esm/api/types/CodesConditionGroupConditionsItem.d.mts +2 -0
- package/dist/esm/api/types/CodesConditionGroupConditionsItem.mjs +2 -0
- package/dist/esm/api/types/CodesConditionGroupMatch.d.mts +6 -0
- package/dist/esm/api/types/CodesConditionGroupMatch.mjs +6 -0
- package/dist/esm/api/types/CodesFilter.d.mts +1 -1
- package/dist/esm/api/types/CodesSystemFilter.d.mts +12 -0
- package/dist/esm/api/types/CodesSystemFilter.mjs +2 -0
- package/dist/esm/api/types/CommonA2AConnector.d.mts +2 -0
- package/dist/esm/api/types/CommonAgentConnector.d.mts +2 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +6 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +6 -0
- package/dist/esm/api/types/CommonMcpConnector.d.mts +2 -1
- package/dist/esm/api/types/CommonRegistryConnectorProvisioned.d.mts +2 -0
- package/dist/esm/api/types/CommonSchemaConnector.d.mts +3 -1
- package/dist/esm/api/types/CommonSchemaConnectorCreate.d.mts +1 -1
- package/dist/esm/api/types/CommonSchemaConnectorCreateTransition.d.mts +2 -1
- package/dist/esm/api/types/CommonSchemaConnectorCreateTransition.mjs +2 -1
- package/dist/esm/api/types/CommonSchemaConnectorTransition.d.mts +2 -1
- package/dist/esm/api/types/CommonSchemaConnectorTransition.mjs +2 -1
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +2 -0
- package/dist/esm/api/types/StreamConfigTranscriptionWordLevel.d.mts +6 -0
- package/dist/esm/api/types/StreamConfigTranscriptionWordLevel.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/api/types/TranscribeConfigWordLevel.d.mts +6 -0
- package/dist/esm/api/types/TranscribeConfigWordLevel.mjs +2 -0
- package/dist/esm/api/types/TranscribeTranscriptMessage.d.mts +2 -1
- package/dist/esm/api/types/TranscribeTranscriptMessageData.d.mts +5 -0
- package/dist/esm/api/types/TranscribeTranscriptMessageData.mjs +2 -0
- package/dist/esm/api/types/TranscriptsListItem.d.mts +4 -0
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -0
- package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs +2 -0
- package/dist/esm/serialization/types/CodesConditionGroup.d.mts +11 -0
- package/dist/esm/serialization/types/CodesConditionGroup.mjs +10 -0
- package/dist/esm/serialization/types/CodesConditionGroupConditionsItem.d.mts +8 -0
- package/dist/esm/serialization/types/CodesConditionGroupConditionsItem.mjs +8 -0
- package/dist/esm/serialization/types/CodesConditionGroupMatch.d.mts +7 -0
- package/dist/esm/serialization/types/CodesConditionGroupMatch.mjs +3 -0
- package/dist/esm/serialization/types/CodesSystemFilter.d.mts +11 -0
- package/dist/esm/serialization/types/CodesSystemFilter.mjs +8 -0
- package/dist/esm/serialization/types/CommonA2AConnector.d.mts +2 -0
- package/dist/esm/serialization/types/CommonA2AConnector.mjs +2 -0
- package/dist/esm/serialization/types/CommonAgentConnector.d.mts +2 -0
- package/dist/esm/serialization/types/CommonAgentConnector.mjs +2 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +6 -0
- package/dist/esm/serialization/types/CommonMcpConnector.d.mts +1 -1
- package/dist/esm/serialization/types/CommonMcpConnector.mjs +1 -1
- package/dist/esm/serialization/types/CommonRegistryConnectorProvisioned.d.mts +2 -0
- package/dist/esm/serialization/types/CommonRegistryConnectorProvisioned.mjs +2 -0
- package/dist/esm/serialization/types/CommonSchemaConnector.d.mts +2 -0
- package/dist/esm/serialization/types/CommonSchemaConnector.mjs +2 -0
- package/dist/esm/serialization/types/CommonSchemaConnectorCreateTransition.d.mts +1 -1
- package/dist/esm/serialization/types/CommonSchemaConnectorCreateTransition.mjs +1 -1
- package/dist/esm/serialization/types/CommonSchemaConnectorTransition.d.mts +1 -1
- package/dist/esm/serialization/types/CommonSchemaConnectorTransition.mjs +1 -1
- package/dist/esm/serialization/types/StreamConfigTranscription.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigTranscriptionWordLevel.d.mts +9 -0
- package/dist/esm/serialization/types/StreamConfigTranscriptionWordLevel.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
- package/dist/esm/serialization/types/TranscribeConfigWordLevel.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeConfigWordLevel.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeTranscriptMessage.d.mts +2 -2
- package/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs +2 -2
- package/dist/esm/serialization/types/TranscribeTranscriptMessageData.d.mts +8 -0
- package/dist/esm/serialization/types/TranscribeTranscriptMessageData.mjs +7 -0
- package/dist/esm/serialization/types/TranscriptsListItem.d.mts +2 -0
- package/dist/esm/serialization/types/TranscriptsListItem.mjs +2 -0
- package/dist/esm/serialization/types/index.d.mts +7 -0
- package/dist/esm/serialization/types/index.mjs +7 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/LICENSE +0 -21
|
@@ -16,4 +16,6 @@ export interface CommonRegistryConnectorProvisioned {
|
|
|
16
16
|
id?: Corti.CommonConnectorIdValue;
|
|
17
17
|
/** Whether the connector is active for invocations. Only `schema` connectors return this field today; `mcp`, `registry`, `agent`, and `a2a` connectors omit it (treat as enabled). */
|
|
18
18
|
enabled?: boolean;
|
|
19
|
+
/** Authentication configuration. */
|
|
20
|
+
auth?: Corti.CommonConnectorAuth;
|
|
19
21
|
}
|
|
@@ -10,7 +10,7 @@ export interface CommonSchemaConnector {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
/** JSON Schema defining the tool's output shape. */
|
|
12
12
|
schema: Record<string, unknown>;
|
|
13
|
-
/** If set,
|
|
13
|
+
/** If set, `complete`/`input_required` terminate the loop in that state after validating and storing the data part (no further LLM call). `send` is non-terminal: it validates and stores the data part, delivers it to the user as a data part, and continues the loop. */
|
|
14
14
|
transition?: Corti.CommonSchemaConnectorTransition;
|
|
15
15
|
/**
|
|
16
16
|
* Server-generated connector identifier (prefixed UUIDv7). Stable across PATCH
|
|
@@ -20,4 +20,6 @@ export interface CommonSchemaConnector {
|
|
|
20
20
|
id?: Corti.CommonConnectorIdValue;
|
|
21
21
|
/** Whether the connector is active for invocations. Only `schema` connectors return this field today; `mcp`, `registry`, `agent`, and `a2a` connectors omit it (treat as enabled). */
|
|
22
22
|
enabled?: boolean;
|
|
23
|
+
/** Authentication configuration. */
|
|
24
|
+
auth?: Corti.CommonConnectorAuth;
|
|
23
25
|
}
|
|
@@ -10,7 +10,7 @@ export interface CommonSchemaConnectorCreate {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
/** JSON Schema defining the tool's output shape. */
|
|
12
12
|
schema: Record<string, unknown>;
|
|
13
|
-
/** If set,
|
|
13
|
+
/** If set, `complete`/`input_required` terminate the loop in that state after validating and storing the data part (no further LLM call). `send` is non-terminal: it validates and stores the data part, delivers it to the user as a data part, and continues the loop. */
|
|
14
14
|
transition?: Corti.CommonSchemaConnectorCreateTransition;
|
|
15
15
|
/** Whether the connector is active for invocations. */
|
|
16
16
|
enabled?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/** If set,
|
|
1
|
+
/** If set, `complete`/`input_required` terminate the loop in that state after validating and storing the data part (no further LLM call). `send` is non-terminal: it validates and stores the data part, delivers it to the user as a data part, and continues the loop. */
|
|
2
2
|
export declare const CommonSchemaConnectorCreateTransition: {
|
|
3
3
|
readonly Complete: "complete";
|
|
4
4
|
readonly InputRequired: "input_required";
|
|
5
|
+
readonly Send: "send";
|
|
5
6
|
};
|
|
6
7
|
export type CommonSchemaConnectorCreateTransition = (typeof CommonSchemaConnectorCreateTransition)[keyof typeof CommonSchemaConnectorCreateTransition];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** If set,
|
|
2
|
+
/** If set, `complete`/`input_required` terminate the loop in that state after validating and storing the data part (no further LLM call). `send` is non-terminal: it validates and stores the data part, delivers it to the user as a data part, and continues the loop. */
|
|
3
3
|
export const CommonSchemaConnectorCreateTransition = {
|
|
4
4
|
Complete: "complete",
|
|
5
5
|
InputRequired: "input_required",
|
|
6
|
+
Send: "send",
|
|
6
7
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/** If set,
|
|
1
|
+
/** If set, `complete`/`input_required` terminate the loop in that state after validating and storing the data part (no further LLM call). `send` is non-terminal: it validates and stores the data part, delivers it to the user as a data part, and continues the loop. */
|
|
2
2
|
export declare const CommonSchemaConnectorTransition: {
|
|
3
3
|
readonly Complete: "complete";
|
|
4
4
|
readonly InputRequired: "input_required";
|
|
5
|
+
readonly Send: "send";
|
|
5
6
|
};
|
|
6
7
|
export type CommonSchemaConnectorTransition = (typeof CommonSchemaConnectorTransition)[keyof typeof CommonSchemaConnectorTransition];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** If set,
|
|
2
|
+
/** If set, `complete`/`input_required` terminate the loop in that state after validating and storing the data part (no further LLM call). `send` is non-terminal: it validates and stores the data part, delivers it to the user as a data part, and continues the loop. */
|
|
3
3
|
export const CommonSchemaConnectorTransition = {
|
|
4
4
|
Complete: "complete",
|
|
5
5
|
InputRequired: "input_required",
|
|
6
|
+
Send: "send",
|
|
6
7
|
};
|
|
@@ -4,6 +4,8 @@ export interface StreamConfigTranscription {
|
|
|
4
4
|
primaryLanguage: Corti.StreamSupportedLanguage;
|
|
5
5
|
/** Enable speaker diarization. */
|
|
6
6
|
diarize?: boolean;
|
|
7
|
+
/** When enabled, transcripts are returned at word level instead of phrase/utterance level: each transcript list item is a single word with its own timing. Defaults to false. */
|
|
8
|
+
wordLevel?: Corti.StreamConfigTranscriptionWordLevel;
|
|
7
9
|
/** **Deprecated** — renamed to `diarize`. Still accepted for backward compatibility; `diarize` takes precedence when both are provided. `CONFIG_ACCEPTED` echoes both fields during the deprecation period. No removal date is currently planned. */
|
|
8
10
|
isDiarization?: boolean;
|
|
9
11
|
/** Enable multi-channel audio processing. When false, all participants are collapsed to channel 0 and the audio is converted to mono. */
|
|
@@ -18,4 +18,6 @@ export interface TranscribeConfig {
|
|
|
18
18
|
replacements?: Corti.TranscribeConfigReplacementsItem[];
|
|
19
19
|
/** Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. */
|
|
20
20
|
keyterms?: Corti.TranscribeConfigKeyterms;
|
|
21
|
+
/** When enabled, final transcripts are returned at word level instead of phrase/utterance level: all word items finalized together are delivered in a single message with `data` as a list. Interim previews remain segment level and arrive as a one-element list when `interimResults` is also enabled. Defaults to false. */
|
|
22
|
+
wordLevel?: Corti.TranscribeConfigWordLevel;
|
|
21
23
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* When enabled, final transcripts are returned at word level instead of phrase/utterance level: all word items finalized together are delivered in a single message with `data` as a list. Interim previews remain segment level and arrive as a one-element list when `interimResults` is also enabled. Defaults to false.
|
|
3
|
+
*/
|
|
4
|
+
export interface TranscribeConfigWordLevel {
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../index.mjs";
|
|
2
2
|
export interface TranscribeTranscriptMessage {
|
|
3
3
|
type: "transcript";
|
|
4
|
-
|
|
4
|
+
/** The singular segment object, or a list of items when `wordLevel` is enabled: all word items finalized together in one message, or a one-element list carrying the in-progress segment for interim previews when `interimResults` is also enabled. */
|
|
5
|
+
data: Corti.TranscribeTranscriptMessageData;
|
|
5
6
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The singular segment object, or a list of items when `wordLevel` is enabled: all word items finalized together in one message, or a one-element list carrying the in-progress segment for interim previews when `interimResults` is also enabled.
|
|
4
|
+
*/
|
|
5
|
+
export type TranscribeTranscriptMessageData = Corti.TranscribeTranscriptData | Corti.TranscribeTranscriptData[];
|
|
@@ -2,6 +2,10 @@ import type * as Corti from "../index.mjs";
|
|
|
2
2
|
export interface TranscriptsListItem {
|
|
3
3
|
/** The unique identifier of the transcript. */
|
|
4
4
|
id: Corti.Uuid;
|
|
5
|
+
/** The unique identifier for the associated recording. */
|
|
6
|
+
recordingId: Corti.Uuid;
|
|
5
7
|
transcriptSample: string;
|
|
8
|
+
/** The timestamp when the transcript was created. */
|
|
9
|
+
createdAt: Date;
|
|
6
10
|
transcript?: Corti.TranscriptsData | null;
|
|
7
11
|
}
|
|
@@ -105,6 +105,9 @@ export * from "./AuthTokenRequestClientCredentials.mjs";
|
|
|
105
105
|
export * from "./AuthTokenRequestRefresh.mjs";
|
|
106
106
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
107
107
|
export * from "./AuthTokenResponse.mjs";
|
|
108
|
+
export * from "./CodesConditionGroup.mjs";
|
|
109
|
+
export * from "./CodesConditionGroupConditionsItem.mjs";
|
|
110
|
+
export * from "./CodesConditionGroupMatch.mjs";
|
|
108
111
|
export * from "./CodesFilter.mjs";
|
|
109
112
|
export * from "./CodesFilterCondition.mjs";
|
|
110
113
|
export * from "./CodesFilterConditionOp.mjs";
|
|
@@ -113,6 +116,7 @@ export * from "./CodesGeneralReadResponse.mjs";
|
|
|
113
116
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
114
117
|
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
115
118
|
export * from "./CodesGeneralResponse.mjs";
|
|
119
|
+
export * from "./CodesSystemFilter.mjs";
|
|
116
120
|
export * from "./CommonA2AConnector.mjs";
|
|
117
121
|
export * from "./CommonA2AConnectorCreate.mjs";
|
|
118
122
|
export * from "./CommonAgentConnector.mjs";
|
|
@@ -299,6 +303,7 @@ export * from "./StreamConfigRetentionPolicy.mjs";
|
|
|
299
303
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
300
304
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
301
305
|
export * from "./StreamConfigTranscription.mjs";
|
|
306
|
+
export * from "./StreamConfigTranscriptionWordLevel.mjs";
|
|
302
307
|
export * from "./StreamDeltaUsageMessage.mjs";
|
|
303
308
|
export * from "./StreamEndedMessage.mjs";
|
|
304
309
|
export * from "./StreamEndMessage.mjs";
|
|
@@ -351,6 +356,7 @@ export * from "./TranscribeConfigMessage.mjs";
|
|
|
351
356
|
export * from "./TranscribeConfigReplacementsItem.mjs";
|
|
352
357
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
353
358
|
export * from "./TranscribeConfigStatusMessageType.mjs";
|
|
359
|
+
export * from "./TranscribeConfigWordLevel.mjs";
|
|
354
360
|
export * from "./TranscribeDeltaUsageMessage.mjs";
|
|
355
361
|
export * from "./TranscribeEndedMessage.mjs";
|
|
356
362
|
export * from "./TranscribeEndMessage.mjs";
|
|
@@ -368,6 +374,7 @@ export * from "./TranscribeFormattingTimes.mjs";
|
|
|
368
374
|
export * from "./TranscribeSupportedLanguage.mjs";
|
|
369
375
|
export * from "./TranscribeTranscriptData.mjs";
|
|
370
376
|
export * from "./TranscribeTranscriptMessage.mjs";
|
|
377
|
+
export * from "./TranscribeTranscriptMessageData.mjs";
|
|
371
378
|
export * from "./TranscribeUsageMessage.mjs";
|
|
372
379
|
export * from "./TranscriptsData.mjs";
|
|
373
380
|
export * from "./TranscriptsFormatting.mjs";
|
|
@@ -105,6 +105,9 @@ export * from "./AuthTokenRequestClientCredentials.mjs";
|
|
|
105
105
|
export * from "./AuthTokenRequestRefresh.mjs";
|
|
106
106
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
107
107
|
export * from "./AuthTokenResponse.mjs";
|
|
108
|
+
export * from "./CodesConditionGroup.mjs";
|
|
109
|
+
export * from "./CodesConditionGroupConditionsItem.mjs";
|
|
110
|
+
export * from "./CodesConditionGroupMatch.mjs";
|
|
108
111
|
export * from "./CodesFilter.mjs";
|
|
109
112
|
export * from "./CodesFilterCondition.mjs";
|
|
110
113
|
export * from "./CodesFilterConditionOp.mjs";
|
|
@@ -113,6 +116,7 @@ export * from "./CodesGeneralReadResponse.mjs";
|
|
|
113
116
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
114
117
|
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
115
118
|
export * from "./CodesGeneralResponse.mjs";
|
|
119
|
+
export * from "./CodesSystemFilter.mjs";
|
|
116
120
|
export * from "./CommonA2AConnector.mjs";
|
|
117
121
|
export * from "./CommonA2AConnectorCreate.mjs";
|
|
118
122
|
export * from "./CommonAgentConnector.mjs";
|
|
@@ -299,6 +303,7 @@ export * from "./StreamConfigRetentionPolicy.mjs";
|
|
|
299
303
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
300
304
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
301
305
|
export * from "./StreamConfigTranscription.mjs";
|
|
306
|
+
export * from "./StreamConfigTranscriptionWordLevel.mjs";
|
|
302
307
|
export * from "./StreamDeltaUsageMessage.mjs";
|
|
303
308
|
export * from "./StreamEndedMessage.mjs";
|
|
304
309
|
export * from "./StreamEndMessage.mjs";
|
|
@@ -351,6 +356,7 @@ export * from "./TranscribeConfigMessage.mjs";
|
|
|
351
356
|
export * from "./TranscribeConfigReplacementsItem.mjs";
|
|
352
357
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
353
358
|
export * from "./TranscribeConfigStatusMessageType.mjs";
|
|
359
|
+
export * from "./TranscribeConfigWordLevel.mjs";
|
|
354
360
|
export * from "./TranscribeDeltaUsageMessage.mjs";
|
|
355
361
|
export * from "./TranscribeEndedMessage.mjs";
|
|
356
362
|
export * from "./TranscribeEndMessage.mjs";
|
|
@@ -368,6 +374,7 @@ export * from "./TranscribeFormattingTimes.mjs";
|
|
|
368
374
|
export * from "./TranscribeSupportedLanguage.mjs";
|
|
369
375
|
export * from "./TranscribeTranscriptData.mjs";
|
|
370
376
|
export * from "./TranscribeTranscriptMessage.mjs";
|
|
377
|
+
export * from "./TranscribeTranscriptMessageData.mjs";
|
|
371
378
|
export * from "./TranscribeUsageMessage.mjs";
|
|
372
379
|
export * from "./TranscriptsData.mjs";
|
|
373
380
|
export * from "./TranscriptsFormatting.mjs";
|
package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import type * as Corti from "../../../../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
4
|
import { CodesFilter } from "../../../../types/CodesFilter.mjs";
|
|
5
|
+
import { CodesSystemFilter } from "../../../../types/CodesSystemFilter.mjs";
|
|
5
6
|
import { CommonAiContext } from "../../../../types/CommonAiContext.mjs";
|
|
6
7
|
import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.mjs";
|
|
7
8
|
export declare const CodesGeneralPredictRequest: core.serialization.Schema<serializers.CodesGeneralPredictRequest.Raw, Corti.CodesGeneralPredictRequest>;
|
|
@@ -10,5 +11,6 @@ export declare namespace CodesGeneralPredictRequest {
|
|
|
10
11
|
system: CommonCodingSystemEnum.Raw[];
|
|
11
12
|
context: CommonAiContext.Raw[];
|
|
12
13
|
filter?: CodesFilter.Raw | null;
|
|
14
|
+
filters?: CodesSystemFilter.Raw[] | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import { CodesFilter } from "../../../../types/CodesFilter.mjs";
|
|
4
|
+
import { CodesSystemFilter } from "../../../../types/CodesSystemFilter.mjs";
|
|
4
5
|
import { CommonAiContext } from "../../../../types/CommonAiContext.mjs";
|
|
5
6
|
import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.mjs";
|
|
6
7
|
export const CodesGeneralPredictRequest = core.serialization.object({
|
|
7
8
|
system: core.serialization.list(CommonCodingSystemEnum),
|
|
8
9
|
context: core.serialization.list(CommonAiContext),
|
|
9
10
|
filter: CodesFilter.optional(),
|
|
11
|
+
filters: core.serialization.list(CodesSystemFilter).optional(),
|
|
10
12
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesConditionGroupMatch } from "./CodesConditionGroupMatch.mjs";
|
|
5
|
+
export declare const CodesConditionGroup: core.serialization.ObjectSchema<serializers.CodesConditionGroup.Raw, Corti.CodesConditionGroup>;
|
|
6
|
+
export declare namespace CodesConditionGroup {
|
|
7
|
+
interface Raw {
|
|
8
|
+
match?: CodesConditionGroupMatch.Raw | null;
|
|
9
|
+
conditions?: serializers.CodesConditionGroupConditionsItem.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesConditionGroupMatch } from "./CodesConditionGroupMatch.mjs";
|
|
5
|
+
export const CodesConditionGroup = core.serialization.object({
|
|
6
|
+
match: CodesConditionGroupMatch.optional(),
|
|
7
|
+
conditions: core.serialization
|
|
8
|
+
.list(core.serialization.lazy(() => serializers.CodesConditionGroupConditionsItem))
|
|
9
|
+
.optional(),
|
|
10
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesFilterCondition } from "./CodesFilterCondition.mjs";
|
|
5
|
+
export declare const CodesConditionGroupConditionsItem: core.serialization.Schema<serializers.CodesConditionGroupConditionsItem.Raw, Corti.CodesConditionGroupConditionsItem>;
|
|
6
|
+
export declare namespace CodesConditionGroupConditionsItem {
|
|
7
|
+
type Raw = CodesFilterCondition.Raw | serializers.CodesConditionGroup.Raw;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesFilterCondition } from "./CodesFilterCondition.mjs";
|
|
5
|
+
export const CodesConditionGroupConditionsItem = core.serialization.undiscriminatedUnion([
|
|
6
|
+
CodesFilterCondition,
|
|
7
|
+
core.serialization.lazyObject(() => serializers.CodesConditionGroup),
|
|
8
|
+
]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const CodesConditionGroupMatch: core.serialization.Schema<serializers.CodesConditionGroupMatch.Raw, Corti.CodesConditionGroupMatch>;
|
|
5
|
+
export declare namespace CodesConditionGroupMatch {
|
|
6
|
+
type Raw = "all" | "any";
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
export declare const CodesSystemFilter: core.serialization.ObjectSchema<serializers.CodesSystemFilter.Raw, Corti.CodesSystemFilter>;
|
|
5
|
+
export declare namespace CodesSystemFilter {
|
|
6
|
+
interface Raw {
|
|
7
|
+
systemId: string;
|
|
8
|
+
include?: serializers.CodesConditionGroup.Raw | null;
|
|
9
|
+
exclude?: serializers.CodesConditionGroup.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
export const CodesSystemFilter = core.serialization.object({
|
|
5
|
+
systemId: core.serialization.string(),
|
|
6
|
+
include: core.serialization.lazyObject(() => serializers.CodesConditionGroup).optional(),
|
|
7
|
+
exclude: core.serialization.lazyObject(() => serializers.CodesConditionGroup).optional(),
|
|
8
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
4
5
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
5
6
|
export declare const CommonA2AConnector: core.serialization.ObjectSchema<serializers.CommonA2AConnector.Raw, Corti.CommonA2AConnector>;
|
|
6
7
|
export declare namespace CommonA2AConnector {
|
|
@@ -10,5 +11,6 @@ export declare namespace CommonA2AConnector {
|
|
|
10
11
|
url: string;
|
|
11
12
|
id?: CommonConnectorIdValue.Raw | null;
|
|
12
13
|
enabled?: boolean | null;
|
|
14
|
+
auth?: CommonConnectorAuth.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
3
4
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
4
5
|
export const CommonA2AConnector = core.serialization.object({
|
|
5
6
|
type: core.serialization.stringLiteral("a2a"),
|
|
@@ -7,4 +8,5 @@ export const CommonA2AConnector = core.serialization.object({
|
|
|
7
8
|
url: core.serialization.string(),
|
|
8
9
|
id: CommonConnectorIdValue.optional(),
|
|
9
10
|
enabled: core.serialization.boolean().optional(),
|
|
11
|
+
auth: CommonConnectorAuth.optional(),
|
|
10
12
|
});
|
|
@@ -2,6 +2,7 @@ import type * as Corti from "../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { CommonAgentIdValue } from "./CommonAgentIdValue.mjs";
|
|
5
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
5
6
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
6
7
|
export declare const CommonAgentConnector: core.serialization.ObjectSchema<serializers.CommonAgentConnector.Raw, Corti.CommonAgentConnector>;
|
|
7
8
|
export declare namespace CommonAgentConnector {
|
|
@@ -10,5 +11,6 @@ export declare namespace CommonAgentConnector {
|
|
|
10
11
|
agentId: CommonAgentIdValue.Raw;
|
|
11
12
|
id?: CommonConnectorIdValue.Raw | null;
|
|
12
13
|
enabled?: boolean | null;
|
|
14
|
+
auth?: CommonConnectorAuth.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { CommonAgentIdValue } from "./CommonAgentIdValue.mjs";
|
|
4
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
4
5
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
5
6
|
export const CommonAgentConnector = core.serialization.object({
|
|
6
7
|
type: core.serialization.stringLiteral("agent"),
|
|
7
8
|
agentId: CommonAgentIdValue,
|
|
8
9
|
id: CommonConnectorIdValue.optional(),
|
|
9
10
|
enabled: core.serialization.boolean().optional(),
|
|
11
|
+
auth: CommonConnectorAuth.optional(),
|
|
10
12
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
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" | "cim10fr-inpatient" | "cim10fr-outpatient" | "icd10gm-inpatient" | "icd10gm-outpatient" | "opcs4" | "ops" | "ccam" | "snomedctint" | "snomedctde" | "snomedctfr" | "snomedctuk" | "snomedctes" | "snomedctdk" | "snomedctse" | "snomedctus" | "meddra-it" | "meddra-en" | "meddra-fr" | "meddra-es" | "meddra-de" | "meddra-no" | "meddra-se" | "sks" | "kvaa";
|
|
6
|
+
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient" | "cim10fr-inpatient" | "cim10fr-outpatient" | "icd10gm-inpatient" | "icd10gm-outpatient" | "opcs4" | "ops" | "ccam" | "snomedctint" | "snomedctde" | "snomedctfr" | "snomedctuk" | "snomedctes" | "snomedctdk" | "snomedctse" | "snomedctus" | "snomedctno" | "snomedctat" | "snomedctnl" | "meddra-it" | "meddra-en" | "meddra-fr" | "meddra-es" | "meddra-de" | "meddra-no" | "meddra-se" | "sks" | "kvaa" | "icdo3int" | "icdo3fr" | "icdo3de";
|
|
7
7
|
}
|
|
@@ -24,6 +24,9 @@ export const CommonCodingSystemEnum = core.serialization.enum_([
|
|
|
24
24
|
"snomedctdk",
|
|
25
25
|
"snomedctse",
|
|
26
26
|
"snomedctus",
|
|
27
|
+
"snomedctno",
|
|
28
|
+
"snomedctat",
|
|
29
|
+
"snomedctnl",
|
|
27
30
|
"meddra-it",
|
|
28
31
|
"meddra-en",
|
|
29
32
|
"meddra-fr",
|
|
@@ -33,4 +36,7 @@ export const CommonCodingSystemEnum = core.serialization.enum_([
|
|
|
33
36
|
"meddra-se",
|
|
34
37
|
"sks",
|
|
35
38
|
"kvaa",
|
|
39
|
+
"icdo3int",
|
|
40
|
+
"icdo3fr",
|
|
41
|
+
"icdo3de",
|
|
36
42
|
]);
|
|
@@ -6,7 +6,7 @@ export const CommonMcpConnector = core.serialization.object({
|
|
|
6
6
|
type: core.serialization.stringLiteral("mcp"),
|
|
7
7
|
name: core.serialization.string(),
|
|
8
8
|
url: core.serialization.string(),
|
|
9
|
-
auth: CommonConnectorAuth.optional(),
|
|
10
9
|
id: CommonConnectorIdValue.optional(),
|
|
11
10
|
enabled: core.serialization.boolean().optional(),
|
|
11
|
+
auth: CommonConnectorAuth.optional(),
|
|
12
12
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
4
5
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
5
6
|
export declare const CommonRegistryConnectorProvisioned: core.serialization.ObjectSchema<serializers.CommonRegistryConnectorProvisioned.Raw, Corti.CommonRegistryConnectorProvisioned>;
|
|
6
7
|
export declare namespace CommonRegistryConnectorProvisioned {
|
|
@@ -10,5 +11,6 @@ export declare namespace CommonRegistryConnectorProvisioned {
|
|
|
10
11
|
config?: Record<string, unknown> | null;
|
|
11
12
|
id?: CommonConnectorIdValue.Raw | null;
|
|
12
13
|
enabled?: boolean | null;
|
|
14
|
+
auth?: CommonConnectorAuth.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
3
4
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
4
5
|
export const CommonRegistryConnectorProvisioned = core.serialization.object({
|
|
5
6
|
type: core.serialization.stringLiteral("registry"),
|
|
@@ -7,4 +8,5 @@ export const CommonRegistryConnectorProvisioned = core.serialization.object({
|
|
|
7
8
|
config: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
8
9
|
id: CommonConnectorIdValue.optional(),
|
|
9
10
|
enabled: core.serialization.boolean().optional(),
|
|
11
|
+
auth: CommonConnectorAuth.optional(),
|
|
10
12
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
4
5
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
5
6
|
import { CommonSchemaConnectorTransition } from "./CommonSchemaConnectorTransition.mjs";
|
|
6
7
|
export declare const CommonSchemaConnector: core.serialization.ObjectSchema<serializers.CommonSchemaConnector.Raw, Corti.CommonSchemaConnector>;
|
|
@@ -13,5 +14,6 @@ export declare namespace CommonSchemaConnector {
|
|
|
13
14
|
transition?: CommonSchemaConnectorTransition.Raw | null;
|
|
14
15
|
id?: CommonConnectorIdValue.Raw | null;
|
|
15
16
|
enabled?: boolean | null;
|
|
17
|
+
auth?: CommonConnectorAuth.Raw | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { CommonConnectorAuth } from "./CommonConnectorAuth.mjs";
|
|
3
4
|
import { CommonConnectorIdValue } from "./CommonConnectorIdValue.mjs";
|
|
4
5
|
import { CommonSchemaConnectorTransition } from "./CommonSchemaConnectorTransition.mjs";
|
|
5
6
|
export const CommonSchemaConnector = core.serialization.object({
|
|
@@ -10,4 +11,5 @@ export const CommonSchemaConnector = core.serialization.object({
|
|
|
10
11
|
transition: CommonSchemaConnectorTransition.optional(),
|
|
11
12
|
id: CommonConnectorIdValue.optional(),
|
|
12
13
|
enabled: core.serialization.boolean().optional(),
|
|
14
|
+
auth: CommonConnectorAuth.optional(),
|
|
13
15
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
export declare const CommonSchemaConnectorCreateTransition: core.serialization.Schema<serializers.CommonSchemaConnectorCreateTransition.Raw, Corti.CommonSchemaConnectorCreateTransition>;
|
|
5
5
|
export declare namespace CommonSchemaConnectorCreateTransition {
|
|
6
|
-
type Raw = "complete" | "input_required";
|
|
6
|
+
type Raw = "complete" | "input_required" | "send";
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
export const CommonSchemaConnectorCreateTransition = core.serialization.enum_(["complete", "input_required"]);
|
|
3
|
+
export const CommonSchemaConnectorCreateTransition = core.serialization.enum_(["complete", "input_required", "send"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
export declare const CommonSchemaConnectorTransition: core.serialization.Schema<serializers.CommonSchemaConnectorTransition.Raw, Corti.CommonSchemaConnectorTransition>;
|
|
5
5
|
export declare namespace CommonSchemaConnectorTransition {
|
|
6
|
-
type Raw = "complete" | "input_required";
|
|
6
|
+
type Raw = "complete" | "input_required" | "send";
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
export const CommonSchemaConnectorTransition = core.serialization.enum_(["complete", "input_required"]);
|
|
3
|
+
export const CommonSchemaConnectorTransition = core.serialization.enum_(["complete", "input_required", "send"]);
|
|
@@ -2,12 +2,14 @@ import type * as Corti from "../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { StreamConfigParticipant } from "./StreamConfigParticipant.mjs";
|
|
5
|
+
import { StreamConfigTranscriptionWordLevel } from "./StreamConfigTranscriptionWordLevel.mjs";
|
|
5
6
|
import { StreamSupportedLanguage } from "./StreamSupportedLanguage.mjs";
|
|
6
7
|
export declare const StreamConfigTranscription: core.serialization.ObjectSchema<serializers.StreamConfigTranscription.Raw, Corti.StreamConfigTranscription>;
|
|
7
8
|
export declare namespace StreamConfigTranscription {
|
|
8
9
|
interface Raw {
|
|
9
10
|
primaryLanguage: StreamSupportedLanguage.Raw;
|
|
10
11
|
diarize?: boolean | null;
|
|
12
|
+
wordLevel?: StreamConfigTranscriptionWordLevel.Raw | null;
|
|
11
13
|
isDiarization?: boolean | null;
|
|
12
14
|
isMultichannel?: boolean | null;
|
|
13
15
|
participants: StreamConfigParticipant.Raw[];
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { StreamConfigParticipant } from "./StreamConfigParticipant.mjs";
|
|
4
|
+
import { StreamConfigTranscriptionWordLevel } from "./StreamConfigTranscriptionWordLevel.mjs";
|
|
4
5
|
import { StreamSupportedLanguage } from "./StreamSupportedLanguage.mjs";
|
|
5
6
|
export const StreamConfigTranscription = core.serialization.object({
|
|
6
7
|
primaryLanguage: StreamSupportedLanguage,
|
|
7
8
|
diarize: core.serialization.boolean().optional(),
|
|
9
|
+
wordLevel: StreamConfigTranscriptionWordLevel.optional(),
|
|
8
10
|
isDiarization: core.serialization.boolean().optional(),
|
|
9
11
|
isMultichannel: core.serialization.boolean().optional(),
|
|
10
12
|
participants: core.serialization.list(StreamConfigParticipant),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const StreamConfigTranscriptionWordLevel: core.serialization.ObjectSchema<serializers.StreamConfigTranscriptionWordLevel.Raw, Corti.StreamConfigTranscriptionWordLevel>;
|
|
5
|
+
export declare namespace StreamConfigTranscriptionWordLevel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
enabled?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -5,6 +5,7 @@ import { TranscribeAudioEventsConfig } from "./TranscribeAudioEventsConfig.mjs";
|
|
|
5
5
|
import { TranscribeCommand } from "./TranscribeCommand.mjs";
|
|
6
6
|
import { TranscribeConfigKeyterms } from "./TranscribeConfigKeyterms.mjs";
|
|
7
7
|
import { TranscribeConfigReplacementsItem } from "./TranscribeConfigReplacementsItem.mjs";
|
|
8
|
+
import { TranscribeConfigWordLevel } from "./TranscribeConfigWordLevel.mjs";
|
|
8
9
|
import { TranscribeFormatting } from "./TranscribeFormatting.mjs";
|
|
9
10
|
import { TranscribeSupportedLanguage } from "./TranscribeSupportedLanguage.mjs";
|
|
10
11
|
export declare const TranscribeConfig: core.serialization.ObjectSchema<serializers.TranscribeConfig.Raw, Corti.TranscribeConfig>;
|
|
@@ -20,5 +21,6 @@ export declare namespace TranscribeConfig {
|
|
|
20
21
|
audioFormat?: string | null;
|
|
21
22
|
replacements?: TranscribeConfigReplacementsItem.Raw[] | null;
|
|
22
23
|
keyterms?: TranscribeConfigKeyterms.Raw | null;
|
|
24
|
+
wordLevel?: TranscribeConfigWordLevel.Raw | null;
|
|
23
25
|
}
|
|
24
26
|
}
|