@corti/sdk 3.1.0-rc.2 → 4.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/types/CommonFactsContext.d.ts +2 -2
- package/dist/cjs/api/types/StreamConfig.d.ts +0 -4
- package/dist/cjs/api/types/StreamErrorDetail.d.ts +5 -7
- package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -3
- package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +5 -7
- package/dist/cjs/api/types/index.d.ts +0 -5
- package/dist/cjs/api/types/index.js +0 -5
- package/dist/cjs/serialization/types/CommonFactsContext.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonFactsContext.js +1 -1
- package/dist/cjs/serialization/types/StreamConfig.d.ts +0 -4
- package/dist/cjs/serialization/types/StreamConfig.js +0 -4
- package/dist/cjs/serialization/types/StreamErrorDetail.d.ts +5 -6
- package/dist/cjs/serialization/types/StreamErrorDetail.js +5 -6
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +0 -2
- package/dist/cjs/serialization/types/TranscribeConfig.js +0 -2
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.d.ts +5 -6
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.js +5 -6
- package/dist/cjs/serialization/types/index.d.ts +0 -5
- package/dist/cjs/serialization/types/index.js +0 -5
- 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/types/CommonFactsContext.d.mts +2 -2
- package/dist/esm/api/types/StreamConfig.d.mts +0 -4
- package/dist/esm/api/types/StreamErrorDetail.d.mts +5 -7
- package/dist/esm/api/types/TranscribeConfig.d.mts +1 -3
- package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +5 -7
- package/dist/esm/api/types/index.d.mts +0 -5
- package/dist/esm/api/types/index.mjs +0 -5
- package/dist/esm/serialization/types/CommonFactsContext.d.mts +1 -1
- package/dist/esm/serialization/types/CommonFactsContext.mjs +1 -1
- package/dist/esm/serialization/types/StreamConfig.d.mts +0 -4
- package/dist/esm/serialization/types/StreamConfig.mjs +0 -4
- package/dist/esm/serialization/types/StreamErrorDetail.d.mts +5 -6
- package/dist/esm/serialization/types/StreamErrorDetail.mjs +5 -6
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +0 -2
- package/dist/esm/serialization/types/TranscribeConfig.mjs +0 -2
- package/dist/esm/serialization/types/TranscribeErrorMessageError.d.mts +5 -6
- package/dist/esm/serialization/types/TranscribeErrorMessageError.mjs +5 -6
- package/dist/esm/serialization/types/index.d.mts +0 -5
- package/dist/esm/serialization/types/index.mjs +0 -5
- 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/StreamConfigKeyterms.d.ts +0 -8
- package/dist/cjs/api/types/StreamConfigKeyterms.js +0 -3
- package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.d.ts +0 -4
- package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.js +0 -3
- package/dist/cjs/api/types/StreamConfigReplacementsItem.d.ts +0 -6
- package/dist/cjs/api/types/StreamConfigReplacementsItem.js +0 -3
- package/dist/cjs/api/types/TranscribeConfigKeyterms.d.ts +0 -8
- package/dist/cjs/api/types/TranscribeConfigKeyterms.js +0 -3
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.d.ts +0 -4
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.js +0 -3
- package/dist/cjs/serialization/types/StreamConfigKeyterms.d.ts +0 -10
- package/dist/cjs/serialization/types/StreamConfigKeyterms.js +0 -42
- package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.d.ts +0 -9
- package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.js +0 -41
- package/dist/cjs/serialization/types/StreamConfigReplacementsItem.d.ts +0 -10
- package/dist/cjs/serialization/types/StreamConfigReplacementsItem.js +0 -42
- package/dist/cjs/serialization/types/TranscribeConfigKeyterms.d.ts +0 -10
- package/dist/cjs/serialization/types/TranscribeConfigKeyterms.js +0 -42
- package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.d.ts +0 -9
- package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.js +0 -41
- package/dist/esm/api/types/StreamConfigKeyterms.d.mts +0 -8
- package/dist/esm/api/types/StreamConfigKeyterms.mjs +0 -2
- package/dist/esm/api/types/StreamConfigKeytermsTermsItem.d.mts +0 -4
- package/dist/esm/api/types/StreamConfigKeytermsTermsItem.mjs +0 -2
- package/dist/esm/api/types/StreamConfigReplacementsItem.d.mts +0 -6
- package/dist/esm/api/types/StreamConfigReplacementsItem.mjs +0 -2
- package/dist/esm/api/types/TranscribeConfigKeyterms.d.mts +0 -8
- package/dist/esm/api/types/TranscribeConfigKeyterms.mjs +0 -2
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.d.mts +0 -4
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.mjs +0 -2
- package/dist/esm/serialization/types/StreamConfigKeyterms.d.mts +0 -10
- package/dist/esm/serialization/types/StreamConfigKeyterms.mjs +0 -6
- package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.d.mts +0 -9
- package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.mjs +0 -5
- package/dist/esm/serialization/types/StreamConfigReplacementsItem.d.mts +0 -10
- package/dist/esm/serialization/types/StreamConfigReplacementsItem.mjs +0 -6
- package/dist/esm/serialization/types/TranscribeConfigKeyterms.d.mts +0 -10
- package/dist/esm/serialization/types/TranscribeConfigKeyterms.mjs +0 -6
- package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.d.mts +0 -9
- package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.mjs +0 -5
|
@@ -4,11 +4,10 @@ import type * as serializers from "../index.mjs";
|
|
|
4
4
|
export declare const TranscribeErrorMessageError: core.serialization.ObjectSchema<serializers.TranscribeErrorMessageError.Raw, Corti.TranscribeErrorMessageError>;
|
|
5
5
|
export declare namespace TranscribeErrorMessageError {
|
|
6
6
|
interface Raw {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
doc?: string | null;
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
status: number;
|
|
10
|
+
details: string;
|
|
11
|
+
doc: string;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
export const TranscribeErrorMessageError = core.serialization.object({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
doc: core.serialization.string().optional(),
|
|
4
|
+
id: core.serialization.string(),
|
|
5
|
+
title: core.serialization.string(),
|
|
6
|
+
status: core.serialization.number(),
|
|
7
|
+
details: core.serialization.string(),
|
|
8
|
+
doc: core.serialization.string(),
|
|
10
9
|
});
|
|
@@ -190,15 +190,12 @@ export * from "./StreamAudioEventDataEvent.mjs";
|
|
|
190
190
|
export * from "./StreamAudioEventMessage.mjs";
|
|
191
191
|
export * from "./StreamAudioEventsConfig.mjs";
|
|
192
192
|
export * from "./StreamConfig.mjs";
|
|
193
|
-
export * from "./StreamConfigKeyterms.mjs";
|
|
194
|
-
export * from "./StreamConfigKeytermsTermsItem.mjs";
|
|
195
193
|
export * from "./StreamConfigMessage.mjs";
|
|
196
194
|
export * from "./StreamConfigMode.mjs";
|
|
197
195
|
export * from "./StreamConfigModeFactGenerationInterval.mjs";
|
|
198
196
|
export * from "./StreamConfigModeType.mjs";
|
|
199
197
|
export * from "./StreamConfigParticipant.mjs";
|
|
200
198
|
export * from "./StreamConfigParticipantRole.mjs";
|
|
201
|
-
export * from "./StreamConfigReplacementsItem.mjs";
|
|
202
199
|
export * from "./StreamConfigRetentionPolicy.mjs";
|
|
203
200
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
204
201
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
@@ -238,8 +235,6 @@ export * from "./TranscribeCommandMessage.mjs";
|
|
|
238
235
|
export * from "./TranscribeCommandVariable.mjs";
|
|
239
236
|
export * from "./TranscribeCommandVariableType.mjs";
|
|
240
237
|
export * from "./TranscribeConfig.mjs";
|
|
241
|
-
export * from "./TranscribeConfigKeyterms.mjs";
|
|
242
|
-
export * from "./TranscribeConfigKeytermsTermsItem.mjs";
|
|
243
238
|
export * from "./TranscribeConfigMessage.mjs";
|
|
244
239
|
export * from "./TranscribeConfigReplacementsItem.mjs";
|
|
245
240
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
@@ -190,15 +190,12 @@ export * from "./StreamAudioEventDataEvent.mjs";
|
|
|
190
190
|
export * from "./StreamAudioEventMessage.mjs";
|
|
191
191
|
export * from "./StreamAudioEventsConfig.mjs";
|
|
192
192
|
export * from "./StreamConfig.mjs";
|
|
193
|
-
export * from "./StreamConfigKeyterms.mjs";
|
|
194
|
-
export * from "./StreamConfigKeytermsTermsItem.mjs";
|
|
195
193
|
export * from "./StreamConfigMessage.mjs";
|
|
196
194
|
export * from "./StreamConfigMode.mjs";
|
|
197
195
|
export * from "./StreamConfigModeFactGenerationInterval.mjs";
|
|
198
196
|
export * from "./StreamConfigModeType.mjs";
|
|
199
197
|
export * from "./StreamConfigParticipant.mjs";
|
|
200
198
|
export * from "./StreamConfigParticipantRole.mjs";
|
|
201
|
-
export * from "./StreamConfigReplacementsItem.mjs";
|
|
202
199
|
export * from "./StreamConfigRetentionPolicy.mjs";
|
|
203
200
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
204
201
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
@@ -238,8 +235,6 @@ export * from "./TranscribeCommandMessage.mjs";
|
|
|
238
235
|
export * from "./TranscribeCommandVariable.mjs";
|
|
239
236
|
export * from "./TranscribeCommandVariableType.mjs";
|
|
240
237
|
export * from "./TranscribeConfig.mjs";
|
|
241
|
-
export * from "./TranscribeConfigKeyterms.mjs";
|
|
242
|
-
export * from "./TranscribeConfigKeytermsTermsItem.mjs";
|
|
243
238
|
export * from "./TranscribeConfigMessage.mjs";
|
|
244
239
|
export * from "./TranscribeConfigReplacementsItem.mjs";
|
|
245
240
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "4.0.0-rc";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "4.0.0-rc";
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.js";
|
|
2
|
-
/**
|
|
3
|
-
* 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. Configuration is case sensitive and limited to 1,000 key terms per stream.
|
|
4
|
-
*/
|
|
5
|
-
export interface StreamConfigKeyterms {
|
|
6
|
-
/** Ordered list of words to be recognized. */
|
|
7
|
-
terms?: Corti.StreamConfigKeytermsTermsItem[];
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.js";
|
|
2
|
-
/**
|
|
3
|
-
* 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. Configuration is case sensitive and limited to 1,000 key terms per stream.
|
|
4
|
-
*/
|
|
5
|
-
export interface TranscribeConfigKeyterms {
|
|
6
|
-
/** Ordered list of words to be recognized. */
|
|
7
|
-
terms?: Corti.TranscribeConfigKeytermsTermsItem[];
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 { StreamConfigKeytermsTermsItem } from "./StreamConfigKeytermsTermsItem.js";
|
|
5
|
-
export declare const StreamConfigKeyterms: core.serialization.ObjectSchema<serializers.StreamConfigKeyterms.Raw, Corti.StreamConfigKeyterms>;
|
|
6
|
-
export declare namespace StreamConfigKeyterms {
|
|
7
|
-
interface Raw {
|
|
8
|
-
terms?: StreamConfigKeytermsTermsItem.Raw[] | null;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.StreamConfigKeyterms = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const StreamConfigKeytermsTermsItem_js_1 = require("./StreamConfigKeytermsTermsItem.js");
|
|
40
|
-
exports.StreamConfigKeyterms = core.serialization.object({
|
|
41
|
-
terms: core.serialization.list(StreamConfigKeytermsTermsItem_js_1.StreamConfigKeytermsTermsItem).optional(),
|
|
42
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
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 StreamConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.StreamConfigKeytermsTermsItem.Raw, Corti.StreamConfigKeytermsTermsItem>;
|
|
5
|
-
export declare namespace StreamConfigKeytermsTermsItem {
|
|
6
|
-
interface Raw {
|
|
7
|
-
term: string;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.StreamConfigKeytermsTermsItem = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.StreamConfigKeytermsTermsItem = core.serialization.object({
|
|
40
|
-
term: core.serialization.string(),
|
|
41
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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 StreamConfigReplacementsItem: core.serialization.ObjectSchema<serializers.StreamConfigReplacementsItem.Raw, Corti.StreamConfigReplacementsItem>;
|
|
5
|
-
export declare namespace StreamConfigReplacementsItem {
|
|
6
|
-
interface Raw {
|
|
7
|
-
find: string;
|
|
8
|
-
replace: string;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.StreamConfigReplacementsItem = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.StreamConfigReplacementsItem = core.serialization.object({
|
|
40
|
-
find: core.serialization.string(),
|
|
41
|
-
replace: core.serialization.string(),
|
|
42
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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 { TranscribeConfigKeytermsTermsItem } from "./TranscribeConfigKeytermsTermsItem.js";
|
|
5
|
-
export declare const TranscribeConfigKeyterms: core.serialization.ObjectSchema<serializers.TranscribeConfigKeyterms.Raw, Corti.TranscribeConfigKeyterms>;
|
|
6
|
-
export declare namespace TranscribeConfigKeyterms {
|
|
7
|
-
interface Raw {
|
|
8
|
-
terms?: TranscribeConfigKeytermsTermsItem.Raw[] | null;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.TranscribeConfigKeyterms = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const TranscribeConfigKeytermsTermsItem_js_1 = require("./TranscribeConfigKeytermsTermsItem.js");
|
|
40
|
-
exports.TranscribeConfigKeyterms = core.serialization.object({
|
|
41
|
-
terms: core.serialization.list(TranscribeConfigKeytermsTermsItem_js_1.TranscribeConfigKeytermsTermsItem).optional(),
|
|
42
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
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 TranscribeConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.TranscribeConfigKeytermsTermsItem.Raw, Corti.TranscribeConfigKeytermsTermsItem>;
|
|
5
|
-
export declare namespace TranscribeConfigKeytermsTermsItem {
|
|
6
|
-
interface Raw {
|
|
7
|
-
term: string;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.TranscribeConfigKeytermsTermsItem = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.TranscribeConfigKeytermsTermsItem = core.serialization.object({
|
|
40
|
-
term: core.serialization.string(),
|
|
41
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* 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. Configuration is case sensitive and limited to 1,000 key terms per stream.
|
|
4
|
-
*/
|
|
5
|
-
export interface StreamConfigKeyterms {
|
|
6
|
-
/** Ordered list of words to be recognized. */
|
|
7
|
-
terms?: Corti.StreamConfigKeytermsTermsItem[];
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* 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. Configuration is case sensitive and limited to 1,000 key terms per stream.
|
|
4
|
-
*/
|
|
5
|
-
export interface TranscribeConfigKeyterms {
|
|
6
|
-
/** Ordered list of words to be recognized. */
|
|
7
|
-
terms?: Corti.TranscribeConfigKeytermsTermsItem[];
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
import { StreamConfigKeytermsTermsItem } from "./StreamConfigKeytermsTermsItem.mjs";
|
|
5
|
-
export declare const StreamConfigKeyterms: core.serialization.ObjectSchema<serializers.StreamConfigKeyterms.Raw, Corti.StreamConfigKeyterms>;
|
|
6
|
-
export declare namespace StreamConfigKeyterms {
|
|
7
|
-
interface Raw {
|
|
8
|
-
terms?: StreamConfigKeytermsTermsItem.Raw[] | null;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { StreamConfigKeytermsTermsItem } from "./StreamConfigKeytermsTermsItem.mjs";
|
|
4
|
-
export const StreamConfigKeyterms = core.serialization.object({
|
|
5
|
-
terms: core.serialization.list(StreamConfigKeytermsTermsItem).optional(),
|
|
6
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
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 StreamConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.StreamConfigKeytermsTermsItem.Raw, Corti.StreamConfigKeytermsTermsItem>;
|
|
5
|
-
export declare namespace StreamConfigKeytermsTermsItem {
|
|
6
|
-
interface Raw {
|
|
7
|
-
term: string;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 StreamConfigReplacementsItem: core.serialization.ObjectSchema<serializers.StreamConfigReplacementsItem.Raw, Corti.StreamConfigReplacementsItem>;
|
|
5
|
-
export declare namespace StreamConfigReplacementsItem {
|
|
6
|
-
interface Raw {
|
|
7
|
-
find: string;
|
|
8
|
-
replace: string;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
import { TranscribeConfigKeytermsTermsItem } from "./TranscribeConfigKeytermsTermsItem.mjs";
|
|
5
|
-
export declare const TranscribeConfigKeyterms: core.serialization.ObjectSchema<serializers.TranscribeConfigKeyterms.Raw, Corti.TranscribeConfigKeyterms>;
|
|
6
|
-
export declare namespace TranscribeConfigKeyterms {
|
|
7
|
-
interface Raw {
|
|
8
|
-
terms?: TranscribeConfigKeytermsTermsItem.Raw[] | null;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { TranscribeConfigKeytermsTermsItem } from "./TranscribeConfigKeytermsTermsItem.mjs";
|
|
4
|
-
export const TranscribeConfigKeyterms = core.serialization.object({
|
|
5
|
-
terms: core.serialization.list(TranscribeConfigKeytermsTermsItem).optional(),
|
|
6
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
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 TranscribeConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.TranscribeConfigKeytermsTermsItem.Raw, Corti.TranscribeConfigKeytermsTermsItem>;
|
|
5
|
-
export declare namespace TranscribeConfigKeytermsTermsItem {
|
|
6
|
-
interface Raw {
|
|
7
|
-
term: string;
|
|
8
|
-
}
|
|
9
|
-
}
|