@corti/sdk 6.0.0-rc → 6.0.0
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/transcribe/client/Socket.d.ts +2 -1
- package/dist/cjs/api/resources/transcribe/client/Socket.js +12 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -1
- package/dist/cjs/api/types/A2AsseEvent.d.ts +16 -0
- package/dist/cjs/api/types/A2AsseEvent.js +3 -0
- package/dist/cjs/api/types/AgenticAgentsSendMessageResponse.d.ts +5 -1
- package/dist/cjs/api/types/AgenticAgentsStreamEventResponse.d.ts +2 -12
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +1 -1
- package/dist/cjs/api/types/StreamConfig.d.ts +1 -1
- package/dist/cjs/api/types/TranscribeCommandRemove.d.ts +7 -0
- package/dist/cjs/api/types/TranscribeCommandRemove.js +3 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateAcceptedMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateAcceptedMessage.js +3 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateDeniedMessage.d.ts +12 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateDeniedMessage.js +3 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateMessage.d.ts +11 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateMessage.js +3 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +5 -0
- package/dist/cjs/api/types/index.js +5 -0
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts +4 -2
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +4 -0
- package/dist/cjs/serialization/types/A2AsseEvent.d.ts +12 -0
- package/dist/cjs/serialization/types/A2AsseEvent.js +44 -0
- package/dist/cjs/serialization/types/AgenticAgentsSendMessageResponse.d.ts +7 -2
- package/dist/cjs/serialization/types/AgenticAgentsSendMessageResponse.js +6 -1
- package/dist/cjs/serialization/types/AgenticAgentsStreamEventResponse.d.ts +2 -5
- package/dist/cjs/serialization/types/AgenticAgentsStreamEventResponse.js +2 -6
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +1 -1
- package/dist/cjs/serialization/types/TranscribeCommandRemove.d.ts +9 -0
- package/dist/cjs/serialization/types/TranscribeCommandRemove.js +41 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateAcceptedMessage.d.ts +12 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateAcceptedMessage.js +44 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateDeniedMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateDeniedMessage.js +46 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateMessage.d.ts +13 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateMessage.js +45 -0
- package/dist/cjs/serialization/types/index.d.ts +5 -0
- package/dist/cjs/serialization/types/index.js +5 -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/transcribe/client/Socket.d.mts +2 -1
- package/dist/esm/api/resources/transcribe/client/Socket.mjs +12 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -1
- package/dist/esm/api/types/A2AsseEvent.d.mts +16 -0
- package/dist/esm/api/types/A2AsseEvent.mjs +2 -0
- package/dist/esm/api/types/AgenticAgentsSendMessageResponse.d.mts +5 -1
- package/dist/esm/api/types/AgenticAgentsStreamEventResponse.d.mts +2 -12
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +1 -1
- package/dist/esm/api/types/StreamConfig.d.mts +1 -1
- package/dist/esm/api/types/TranscribeCommandRemove.d.mts +7 -0
- package/dist/esm/api/types/TranscribeCommandRemove.mjs +2 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateAcceptedMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateAcceptedMessage.mjs +2 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateDeniedMessage.d.mts +12 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateDeniedMessage.mjs +2 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateMessage.d.mts +11 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateMessage.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +5 -0
- package/dist/esm/api/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.mts +4 -2
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +4 -0
- package/dist/esm/serialization/types/A2AsseEvent.d.mts +12 -0
- package/dist/esm/serialization/types/A2AsseEvent.mjs +8 -0
- package/dist/esm/serialization/types/AgenticAgentsSendMessageResponse.d.mts +7 -2
- package/dist/esm/serialization/types/AgenticAgentsSendMessageResponse.mjs +6 -1
- package/dist/esm/serialization/types/AgenticAgentsStreamEventResponse.d.mts +2 -5
- package/dist/esm/serialization/types/AgenticAgentsStreamEventResponse.mjs +2 -6
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +1 -1
- package/dist/esm/serialization/types/TranscribeCommandRemove.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeCommandRemove.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateAcceptedMessage.d.mts +12 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateAcceptedMessage.mjs +8 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateDeniedMessage.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateDeniedMessage.mjs +10 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateMessage.d.mts +13 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateMessage.mjs +9 -0
- package/dist/esm/serialization/types/index.d.mts +5 -0
- package/dist/esm/serialization/types/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "6.0.0
|
|
47
|
-
"User-Agent": "@corti/sdk/6.0.0
|
|
46
|
+
"X-Fern-SDK-Version": "6.0.0",
|
|
47
|
+
"User-Agent": "@corti/sdk/6.0.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -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.TranscribeDeltaUsageMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage | Corti.TranscribeAudioEventMessage;
|
|
7
|
+
type Response = Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeDeltaUsageMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage | Corti.TranscribeAudioEventMessage | Corti.TranscribeCommandsUpdateAcceptedMessage | Corti.TranscribeCommandsUpdateDeniedMessage;
|
|
8
8
|
type EventHandlers = {
|
|
9
9
|
open?: () => void;
|
|
10
10
|
message?: (message: Response) => void;
|
|
@@ -37,6 +37,7 @@ export declare class TranscribeSocket {
|
|
|
37
37
|
sendAudio(message: ArrayBufferLike | Blob | ArrayBufferView): void;
|
|
38
38
|
sendFlush(message: Corti.TranscribeFlushMessage): void;
|
|
39
39
|
sendEnd(message: Corti.TranscribeEndMessage): void;
|
|
40
|
+
sendCommandsUpdate(message: Corti.TranscribeCommandsUpdateMessage): void;
|
|
40
41
|
/** Connect to the websocket and register event handlers. */
|
|
41
42
|
connect(): TranscribeSocket;
|
|
42
43
|
/** Close the websocket and unregister event handlers. */
|
|
@@ -47,6 +47,7 @@ exports.TranscribeSocket = void 0;
|
|
|
47
47
|
const core = __importStar(require("../../../../core/index.js"));
|
|
48
48
|
const json_js_1 = require("../../../../core/json.js");
|
|
49
49
|
const serializers = __importStar(require("../../../../serialization/index.js"));
|
|
50
|
+
const TranscribeCommandsUpdateMessage_js_1 = require("../../../../serialization/types/TranscribeCommandsUpdateMessage.js");
|
|
50
51
|
const TranscribeConfigMessage_js_1 = require("../../../../serialization/types/TranscribeConfigMessage.js");
|
|
51
52
|
const TranscribeEndMessage_js_1 = require("../../../../serialization/types/TranscribeEndMessage.js");
|
|
52
53
|
const TranscribeFlushMessage_js_1 = require("../../../../serialization/types/TranscribeFlushMessage.js");
|
|
@@ -143,6 +144,17 @@ class TranscribeSocket {
|
|
|
143
144
|
});
|
|
144
145
|
this.socket.send(JSON.stringify(jsonPayload));
|
|
145
146
|
}
|
|
147
|
+
sendCommandsUpdate(message) {
|
|
148
|
+
this.assertSocketIsOpen();
|
|
149
|
+
const jsonPayload = TranscribeCommandsUpdateMessage_js_1.TranscribeCommandsUpdateMessage.jsonOrThrow(message, {
|
|
150
|
+
unrecognizedObjectKeys: "passthrough",
|
|
151
|
+
allowUnrecognizedUnionMembers: true,
|
|
152
|
+
allowUnrecognizedEnumValues: true,
|
|
153
|
+
skipValidation: true,
|
|
154
|
+
omitUndefined: true,
|
|
155
|
+
});
|
|
156
|
+
this.socket.send(JSON.stringify(jsonPayload));
|
|
157
|
+
}
|
|
146
158
|
/** Connect to the websocket and register event handlers. */
|
|
147
159
|
connect() {
|
|
148
160
|
this.socket.reconnect();
|
|
@@ -26,7 +26,7 @@ export interface TranscriptsCreateRequest {
|
|
|
26
26
|
participants?: Corti.TranscriptsParticipant[];
|
|
27
27
|
/** If true, the request will return immediately with a 202 status and the transcript will be processed asynchronously. Poll [Get Transcript Status](/api-reference/transcripts/get-transcript-status) to check transcript processing status - `processing`, `completed`, `failed`. */
|
|
28
28
|
async?: boolean;
|
|
29
|
-
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of
|
|
29
|
+
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of 100 characters and 10-words for `find` and `replace` fields. */
|
|
30
30
|
replacements?: Corti.TranscriptsCreateRequestReplacementsItem[];
|
|
31
31
|
/** 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. */
|
|
32
32
|
keyterms?: Corti.TranscriptsCreateRequestKeyterms;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single Server-Sent Event frame (W3C SSE wire format). The server currently writes only `id` and `data` lines; `event` and `retry` are declared for forward compatibility but not sent.
|
|
3
|
+
*/
|
|
4
|
+
export interface A2AsseEvent {
|
|
5
|
+
/** SSE payload (JSON-encoded). */
|
|
6
|
+
data: string;
|
|
7
|
+
/** Event type. Absent for the default `message` event. */
|
|
8
|
+
event?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Opaque event id. Clients echo the most recent value in the
|
|
11
|
+
* `Last-Event-ID` header to resume a dropped stream.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/** Reconnection time in milliseconds the client should use. */
|
|
15
|
+
retry?: number;
|
|
16
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* Exactly one of `task` or `message` is present.
|
|
3
4
|
*/
|
|
4
|
-
export
|
|
5
|
+
export interface AgenticAgentsSendMessageResponse {
|
|
6
|
+
task?: Corti.CommonTaskResponse;
|
|
7
|
+
message?: Corti.CommonMessage;
|
|
8
|
+
}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* An SSE event carrying an A2A `HTTP+JSON` streaming response.
|
|
3
4
|
*/
|
|
4
|
-
export interface AgenticAgentsStreamEventResponse {
|
|
5
|
-
/** SSE payload: an A2A HTTP+JSON streaming response. */
|
|
6
|
-
data?: string;
|
|
7
|
-
/** Event type. Absent for the default `message` event. */
|
|
8
|
-
event?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Opaque event id. Clients echo the most recent value in the
|
|
11
|
-
* `Last-Event-ID` header to resume a dropped stream.
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
/** Reconnection time in milliseconds the client should use. */
|
|
15
|
-
retry?: number;
|
|
5
|
+
export interface AgenticAgentsStreamEventResponse extends Corti.A2AsseEvent {
|
|
16
6
|
}
|
|
@@ -27,7 +27,7 @@ export declare const CommonCodingSystemEnum: {
|
|
|
27
27
|
readonly MeddraFr: "meddra-fr";
|
|
28
28
|
readonly MeddraEs: "meddra-es";
|
|
29
29
|
readonly MeddraDe: "meddra-de";
|
|
30
|
-
readonly
|
|
30
|
+
readonly MeddraNo: "meddra-no";
|
|
31
31
|
readonly MeddraSe: "meddra-se";
|
|
32
32
|
readonly Sks: "sks";
|
|
33
33
|
readonly Kvaa: "kvaa";
|
|
@@ -8,7 +8,7 @@ export interface StreamConfig {
|
|
|
8
8
|
formatting?: Corti.StreamFormatting;
|
|
9
9
|
/** Define the audio format of the incoming audio stream - optional but recommended. When omitted, the server auto-detects the format from the first audio chunk using ffprobe. Supported audio will be processed. Unsupported return an error but might in some cases error silently. If provided (recommended), the provided MIME type must be supported and the audio must match the MIME type. An unsupported MIME type results in `CONFIG_REJECTED`. Audio that differs from the MIME type will return audio validation errors on the socket. See full list of supported MIME types [here](/stt/audio). */
|
|
10
10
|
audioFormat?: string;
|
|
11
|
-
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of
|
|
11
|
+
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of 100 characters and 10-words for `find` and `replace` fields. */
|
|
12
12
|
replacements?: Corti.StreamConfigReplacementsItem[];
|
|
13
13
|
/** 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. */
|
|
14
14
|
keyterms?: Corti.StreamConfigKeyterms;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
export interface TranscribeCommandsUpdateAcceptedMessage {
|
|
3
|
+
type: "commands_update_accepted";
|
|
4
|
+
/** The session ID. */
|
|
5
|
+
sessionId: string;
|
|
6
|
+
/** The full resolved list of active commands after the update. This is the complete command set available for recognition. */
|
|
7
|
+
commands: Corti.TranscribeCommand[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
export interface TranscribeCommandsUpdateDeniedMessage {
|
|
3
|
+
type: "commands_update_denied";
|
|
4
|
+
/** The reason the update was denied. Possible values include "No active session. Send a valid config message first.", "unknown parameter(s)", "ineligible parameter(s): <list>", and "invalid definition". */
|
|
5
|
+
reason?: string;
|
|
6
|
+
/** List of invalid field names that caused the rejection, when applicable. */
|
|
7
|
+
fields?: string[];
|
|
8
|
+
/** The session ID. */
|
|
9
|
+
sessionId: string;
|
|
10
|
+
/** Empty array. The existing command configuration is unchanged. */
|
|
11
|
+
commands: Corti.TranscribeCommand[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Patch-based command update. Include only the commands being added, updated, or removed, not the full command list. At least one of add or remove must be present. Updates are applied atomically; if validation fails, the existing command configuration remains unchanged.
|
|
4
|
+
*/
|
|
5
|
+
export interface TranscribeCommandsUpdateMessage {
|
|
6
|
+
type: "commands_update";
|
|
7
|
+
/** Commands to add or update. Adding a command with an id that already exists overwrites the existing command. Each command must include the full definition (id, phrases, variables). */
|
|
8
|
+
add?: Corti.TranscribeCommand[];
|
|
9
|
+
/** Commands to remove by exact id match. Only the id field is required and allowed in remove definitions. */
|
|
10
|
+
remove?: Corti.TranscribeCommandRemove[];
|
|
11
|
+
}
|
|
@@ -14,7 +14,7 @@ export interface TranscribeConfig {
|
|
|
14
14
|
audioEvents?: Corti.TranscribeAudioEventsConfig;
|
|
15
15
|
/** Define the audio format of the incoming audio stream - optional but recommended. When omitted, the server auto-detects the format from the first audio chunk using ffprobe. Supported audio will be processed. Unsupported return an error but might in some cases error silently. If provided (recommended), the provided MIME type must be supported and the audio must match the MIME type. An unsupported MIME type results in `CONFIG_REJECTED`. Audio that differs from the MIME type will return audio validation errors on the socket. See full list of supported MIME types [here](/stt/audio). */
|
|
16
16
|
audioFormat?: string;
|
|
17
|
-
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of
|
|
17
|
+
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of 100 characters and 10-words for `find` and `replace` fields. */
|
|
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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./A2AsseEvent.js";
|
|
1
2
|
export * from "./AgenticAgentCardResponse.js";
|
|
2
3
|
export * from "./AgenticAgentCardResponseCapabilities.js";
|
|
3
4
|
export * from "./AgenticAgentCardResponseProvider.js";
|
|
@@ -337,6 +338,10 @@ export * from "./TranscribeAudioEventsConfig.js";
|
|
|
337
338
|
export * from "./TranscribeCommand.js";
|
|
338
339
|
export * from "./TranscribeCommandData.js";
|
|
339
340
|
export * from "./TranscribeCommandMessage.js";
|
|
341
|
+
export * from "./TranscribeCommandRemove.js";
|
|
342
|
+
export * from "./TranscribeCommandsUpdateAcceptedMessage.js";
|
|
343
|
+
export * from "./TranscribeCommandsUpdateDeniedMessage.js";
|
|
344
|
+
export * from "./TranscribeCommandsUpdateMessage.js";
|
|
340
345
|
export * from "./TranscribeCommandVariable.js";
|
|
341
346
|
export * from "./TranscribeCommandVariableType.js";
|
|
342
347
|
export * from "./TranscribeConfig.js";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./A2AsseEvent.js"), exports);
|
|
17
18
|
__exportStar(require("./AgenticAgentCardResponse.js"), exports);
|
|
18
19
|
__exportStar(require("./AgenticAgentCardResponseCapabilities.js"), exports);
|
|
19
20
|
__exportStar(require("./AgenticAgentCardResponseProvider.js"), exports);
|
|
@@ -353,6 +354,10 @@ __exportStar(require("./TranscribeAudioEventsConfig.js"), exports);
|
|
|
353
354
|
__exportStar(require("./TranscribeCommand.js"), exports);
|
|
354
355
|
__exportStar(require("./TranscribeCommandData.js"), exports);
|
|
355
356
|
__exportStar(require("./TranscribeCommandMessage.js"), exports);
|
|
357
|
+
__exportStar(require("./TranscribeCommandRemove.js"), exports);
|
|
358
|
+
__exportStar(require("./TranscribeCommandsUpdateAcceptedMessage.js"), exports);
|
|
359
|
+
__exportStar(require("./TranscribeCommandsUpdateDeniedMessage.js"), exports);
|
|
360
|
+
__exportStar(require("./TranscribeCommandsUpdateMessage.js"), exports);
|
|
356
361
|
__exportStar(require("./TranscribeCommandVariable.js"), exports);
|
|
357
362
|
__exportStar(require("./TranscribeCommandVariableType.js"), exports);
|
|
358
363
|
__exportStar(require("./TranscribeConfig.js"), exports);
|
package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import * as core from "../../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
4
|
import { TranscribeAudioEventMessage } from "../../../../types/TranscribeAudioEventMessage.js";
|
|
5
5
|
import { TranscribeCommandMessage } from "../../../../types/TranscribeCommandMessage.js";
|
|
6
|
+
import { TranscribeCommandsUpdateAcceptedMessage } from "../../../../types/TranscribeCommandsUpdateAcceptedMessage.js";
|
|
7
|
+
import { TranscribeCommandsUpdateDeniedMessage } from "../../../../types/TranscribeCommandsUpdateDeniedMessage.js";
|
|
6
8
|
import { TranscribeConfigStatusMessage } from "../../../../types/TranscribeConfigStatusMessage.js";
|
|
7
9
|
import { TranscribeDeltaUsageMessage } from "../../../../types/TranscribeDeltaUsageMessage.js";
|
|
8
10
|
import { TranscribeEndedMessage } from "../../../../types/TranscribeEndedMessage.js";
|
|
@@ -10,7 +12,7 @@ import { TranscribeErrorMessage } from "../../../../types/TranscribeErrorMessage
|
|
|
10
12
|
import { TranscribeFlushedMessage } from "../../../../types/TranscribeFlushedMessage.js";
|
|
11
13
|
import { TranscribeTranscriptMessage } from "../../../../types/TranscribeTranscriptMessage.js";
|
|
12
14
|
import { TranscribeUsageMessage } from "../../../../types/TranscribeUsageMessage.js";
|
|
13
|
-
export declare const TranscribeSocketResponse: core.serialization.Schema<serializers.TranscribeSocketResponse.Raw, Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeDeltaUsageMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage | Corti.TranscribeAudioEventMessage>;
|
|
15
|
+
export declare const TranscribeSocketResponse: core.serialization.Schema<serializers.TranscribeSocketResponse.Raw, Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeDeltaUsageMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage | Corti.TranscribeAudioEventMessage | Corti.TranscribeCommandsUpdateAcceptedMessage | Corti.TranscribeCommandsUpdateDeniedMessage>;
|
|
14
16
|
export declare namespace TranscribeSocketResponse {
|
|
15
|
-
type Raw = TranscribeUsageMessage.Raw | TranscribeFlushedMessage.Raw | TranscribeDeltaUsageMessage.Raw | TranscribeEndedMessage.Raw | TranscribeErrorMessage.Raw | TranscribeTranscriptMessage.Raw | TranscribeCommandMessage.Raw | TranscribeConfigStatusMessage.Raw | TranscribeAudioEventMessage.Raw;
|
|
17
|
+
type Raw = TranscribeUsageMessage.Raw | TranscribeFlushedMessage.Raw | TranscribeDeltaUsageMessage.Raw | TranscribeEndedMessage.Raw | TranscribeErrorMessage.Raw | TranscribeTranscriptMessage.Raw | TranscribeCommandMessage.Raw | TranscribeConfigStatusMessage.Raw | TranscribeAudioEventMessage.Raw | TranscribeCommandsUpdateAcceptedMessage.Raw | TranscribeCommandsUpdateDeniedMessage.Raw;
|
|
16
18
|
}
|
package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js
CHANGED
|
@@ -38,6 +38,8 @@ exports.TranscribeSocketResponse = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
39
|
const TranscribeAudioEventMessage_js_1 = require("../../../../types/TranscribeAudioEventMessage.js");
|
|
40
40
|
const TranscribeCommandMessage_js_1 = require("../../../../types/TranscribeCommandMessage.js");
|
|
41
|
+
const TranscribeCommandsUpdateAcceptedMessage_js_1 = require("../../../../types/TranscribeCommandsUpdateAcceptedMessage.js");
|
|
42
|
+
const TranscribeCommandsUpdateDeniedMessage_js_1 = require("../../../../types/TranscribeCommandsUpdateDeniedMessage.js");
|
|
41
43
|
const TranscribeConfigStatusMessage_js_1 = require("../../../../types/TranscribeConfigStatusMessage.js");
|
|
42
44
|
const TranscribeDeltaUsageMessage_js_1 = require("../../../../types/TranscribeDeltaUsageMessage.js");
|
|
43
45
|
const TranscribeEndedMessage_js_1 = require("../../../../types/TranscribeEndedMessage.js");
|
|
@@ -55,4 +57,6 @@ exports.TranscribeSocketResponse = core.serialization.undiscriminatedUnion([
|
|
|
55
57
|
TranscribeCommandMessage_js_1.TranscribeCommandMessage,
|
|
56
58
|
TranscribeConfigStatusMessage_js_1.TranscribeConfigStatusMessage,
|
|
57
59
|
TranscribeAudioEventMessage_js_1.TranscribeAudioEventMessage,
|
|
60
|
+
TranscribeCommandsUpdateAcceptedMessage_js_1.TranscribeCommandsUpdateAcceptedMessage,
|
|
61
|
+
TranscribeCommandsUpdateDeniedMessage_js_1.TranscribeCommandsUpdateDeniedMessage,
|
|
58
62
|
]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const A2AsseEvent: core.serialization.ObjectSchema<serializers.A2AsseEvent.Raw, Corti.A2AsseEvent>;
|
|
5
|
+
export declare namespace A2AsseEvent {
|
|
6
|
+
interface Raw {
|
|
7
|
+
data: string;
|
|
8
|
+
event?: string | null;
|
|
9
|
+
id?: string | null;
|
|
10
|
+
retry?: number | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.A2AsseEvent = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.A2AsseEvent = core.serialization.object({
|
|
40
|
+
data: core.serialization.string(),
|
|
41
|
+
event: core.serialization.string().optional(),
|
|
42
|
+
id: core.serialization.string().optional(),
|
|
43
|
+
retry: core.serialization.number().optional(),
|
|
44
|
+
});
|
|
@@ -1,7 +1,12 @@
|
|
|
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
|
-
|
|
4
|
+
import { CommonMessage } from "./CommonMessage.js";
|
|
5
|
+
import { CommonTaskResponse } from "./CommonTaskResponse.js";
|
|
6
|
+
export declare const AgenticAgentsSendMessageResponse: core.serialization.ObjectSchema<serializers.AgenticAgentsSendMessageResponse.Raw, Corti.AgenticAgentsSendMessageResponse>;
|
|
5
7
|
export declare namespace AgenticAgentsSendMessageResponse {
|
|
6
|
-
|
|
8
|
+
interface Raw {
|
|
9
|
+
task?: CommonTaskResponse.Raw | null;
|
|
10
|
+
message?: CommonMessage.Raw | null;
|
|
11
|
+
}
|
|
7
12
|
}
|
|
@@ -36,4 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgenticAgentsSendMessageResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
|
|
39
|
+
const CommonMessage_js_1 = require("./CommonMessage.js");
|
|
40
|
+
const CommonTaskResponse_js_1 = require("./CommonTaskResponse.js");
|
|
41
|
+
exports.AgenticAgentsSendMessageResponse = core.serialization.object({
|
|
42
|
+
task: CommonTaskResponse_js_1.CommonTaskResponse.optional(),
|
|
43
|
+
message: CommonMessage_js_1.CommonMessage.optional(),
|
|
44
|
+
});
|
|
@@ -1,12 +1,9 @@
|
|
|
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 { A2AsseEvent } from "./A2AsseEvent.js";
|
|
4
5
|
export declare const AgenticAgentsStreamEventResponse: core.serialization.ObjectSchema<serializers.AgenticAgentsStreamEventResponse.Raw, Corti.AgenticAgentsStreamEventResponse>;
|
|
5
6
|
export declare namespace AgenticAgentsStreamEventResponse {
|
|
6
|
-
interface Raw {
|
|
7
|
-
data?: string | null;
|
|
8
|
-
event?: string | null;
|
|
9
|
-
id?: string | null;
|
|
10
|
-
retry?: number | null;
|
|
7
|
+
interface Raw extends A2AsseEvent.Raw {
|
|
11
8
|
}
|
|
12
9
|
}
|
|
@@ -36,9 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgenticAgentsStreamEventResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
event: core.serialization.string().optional(),
|
|
42
|
-
id: core.serialization.string().optional(),
|
|
43
|
-
retry: core.serialization.number().optional(),
|
|
44
|
-
});
|
|
39
|
+
const A2AsseEvent_js_1 = require("./A2AsseEvent.js");
|
|
40
|
+
exports.AgenticAgentsStreamEventResponse = core.serialization.object({}).extend(A2AsseEvent_js_1.A2AsseEvent);
|
|
@@ -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" | "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-
|
|
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";
|
|
7
7
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const TranscribeCommandRemove: core.serialization.ObjectSchema<serializers.TranscribeCommandRemove.Raw, Corti.TranscribeCommandRemove>;
|
|
5
|
+
export declare namespace TranscribeCommandRemove {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TranscribeCommandRemove = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.TranscribeCommandRemove = core.serialization.object({
|
|
40
|
+
id: core.serialization.string(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { TranscribeCommand } from "./TranscribeCommand.js";
|
|
5
|
+
export declare const TranscribeCommandsUpdateAcceptedMessage: core.serialization.ObjectSchema<serializers.TranscribeCommandsUpdateAcceptedMessage.Raw, Corti.TranscribeCommandsUpdateAcceptedMessage>;
|
|
6
|
+
export declare namespace TranscribeCommandsUpdateAcceptedMessage {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: "commands_update_accepted";
|
|
9
|
+
sessionId: string;
|
|
10
|
+
commands: TranscribeCommand.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TranscribeCommandsUpdateAcceptedMessage = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const TranscribeCommand_js_1 = require("./TranscribeCommand.js");
|
|
40
|
+
exports.TranscribeCommandsUpdateAcceptedMessage = core.serialization.object({
|
|
41
|
+
type: core.serialization.stringLiteral("commands_update_accepted"),
|
|
42
|
+
sessionId: core.serialization.string(),
|
|
43
|
+
commands: core.serialization.list(TranscribeCommand_js_1.TranscribeCommand),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { TranscribeCommand } from "./TranscribeCommand.js";
|
|
5
|
+
export declare const TranscribeCommandsUpdateDeniedMessage: core.serialization.ObjectSchema<serializers.TranscribeCommandsUpdateDeniedMessage.Raw, Corti.TranscribeCommandsUpdateDeniedMessage>;
|
|
6
|
+
export declare namespace TranscribeCommandsUpdateDeniedMessage {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: "commands_update_denied";
|
|
9
|
+
reason?: string | null;
|
|
10
|
+
fields?: string[] | null;
|
|
11
|
+
sessionId: string;
|
|
12
|
+
commands: TranscribeCommand.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TranscribeCommandsUpdateDeniedMessage = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const TranscribeCommand_js_1 = require("./TranscribeCommand.js");
|
|
40
|
+
exports.TranscribeCommandsUpdateDeniedMessage = core.serialization.object({
|
|
41
|
+
type: core.serialization.stringLiteral("commands_update_denied"),
|
|
42
|
+
reason: core.serialization.string().optional(),
|
|
43
|
+
fields: core.serialization.list(core.serialization.string()).optional(),
|
|
44
|
+
sessionId: core.serialization.string(),
|
|
45
|
+
commands: core.serialization.list(TranscribeCommand_js_1.TranscribeCommand),
|
|
46
|
+
});
|