@corti/sdk 4.0.0-rc → 4.0.0-stt
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/documents/resources/templates/client/Client.d.ts +1 -5
- package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +1 -5
- 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 +1 -1
- package/dist/cjs/api/resources/recordings/client/Client.js +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.js +1 -1
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +9 -1
- package/dist/cjs/api/resources/transcripts/index.d.ts +1 -0
- package/dist/cjs/api/resources/transcripts/index.js +1 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestKeyterms.d.ts +8 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestKeyterms.js +3 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.d.ts +4 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.js +3 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.d.ts +6 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.js +3 -0
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/transcripts/types/index.js +19 -0
- package/dist/cjs/api/types/GuidedSection.d.ts +3 -1
- package/dist/cjs/api/types/GuidedSectionSource.d.ts +2 -1
- package/dist/cjs/api/types/GuidedSectionSource.js +2 -1
- package/dist/cjs/api/types/GuidedTemplate.d.ts +3 -1
- package/dist/cjs/api/types/GuidedTemplateSource.d.ts +2 -1
- package/dist/cjs/api/types/GuidedTemplateSource.js +2 -1
- package/dist/cjs/api/types/GuidedTemplatesCreateFromScratchRequest.d.ts +1 -1
- package/dist/cjs/api/types/GuidedTemplatesCreateFromScratchRequestGeneration.d.ts +1 -1
- package/dist/cjs/api/types/StreamConfig.d.ts +4 -0
- package/dist/cjs/api/types/StreamConfigKeyterms.d.ts +8 -0
- package/dist/cjs/api/types/StreamConfigKeyterms.js +3 -0
- package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.d.ts +4 -0
- package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.js +3 -0
- package/dist/cjs/api/types/StreamConfigReplacementsItem.d.ts +6 -0
- package/dist/cjs/api/types/StreamConfigReplacementsItem.js +3 -0
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +3 -1
- package/dist/cjs/api/types/StreamErrorDetail.d.ts +7 -5
- package/dist/cjs/api/types/TranscribeConfig.d.ts +3 -1
- package/dist/cjs/api/types/TranscribeConfigKeyterms.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeConfigKeyterms.js +3 -0
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.d.ts +4 -0
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.js +3 -0
- package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +7 -5
- package/dist/cjs/api/types/index.d.ts +5 -0
- package/dist/cjs/api/types/index.js +5 -0
- package/dist/cjs/serialization/resources/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/index.js +1 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +6 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +6 -0
- package/dist/cjs/serialization/resources/transcripts/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcripts/index.js +1 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.d.ts +10 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.js +42 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.d.ts +9 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.js +41 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.d.ts +10 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.js +42 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.js +19 -0
- package/dist/cjs/serialization/types/GuidedSection.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedSection.js +1 -0
- package/dist/cjs/serialization/types/GuidedSectionSource.d.ts +1 -1
- package/dist/cjs/serialization/types/GuidedSectionSource.js +1 -1
- package/dist/cjs/serialization/types/GuidedTemplate.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedTemplate.js +1 -0
- package/dist/cjs/serialization/types/GuidedTemplateSource.d.ts +1 -1
- package/dist/cjs/serialization/types/GuidedTemplateSource.js +1 -1
- package/dist/cjs/serialization/types/GuidedTemplatesCreateFromScratchRequestGeneration.d.ts +1 -1
- package/dist/cjs/serialization/types/GuidedTemplatesCreateFromScratchRequestGeneration.js +1 -1
- package/dist/cjs/serialization/types/StreamConfig.d.ts +4 -0
- package/dist/cjs/serialization/types/StreamConfig.js +4 -0
- package/dist/cjs/serialization/types/StreamConfigKeyterms.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamConfigKeyterms.js +42 -0
- package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.d.ts +9 -0
- package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.js +41 -0
- package/dist/cjs/serialization/types/StreamConfigReplacementsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/StreamConfigReplacementsItem.js +42 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.d.ts +1 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.js +1 -0
- package/dist/cjs/serialization/types/StreamErrorDetail.d.ts +6 -5
- package/dist/cjs/serialization/types/StreamErrorDetail.js +6 -5
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeyterms.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeyterms.js +42 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.d.ts +9 -0
- package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.js +41 -0
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.d.ts +6 -5
- package/dist/cjs/serialization/types/TranscribeErrorMessageError.js +6 -5
- 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/documents/resources/templates/client/Client.d.mts +1 -5
- package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +1 -5
- 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 +1 -1
- package/dist/esm/api/resources/recordings/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +9 -1
- package/dist/esm/api/resources/transcripts/index.d.mts +1 -0
- package/dist/esm/api/resources/transcripts/index.mjs +1 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestKeyterms.d.mts +8 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestKeyterms.mjs +2 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.d.mts +4 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.mjs +2 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.d.mts +6 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.mjs +2 -0
- package/dist/esm/api/resources/transcripts/types/index.d.mts +3 -0
- package/dist/esm/api/resources/transcripts/types/index.mjs +3 -0
- package/dist/esm/api/types/GuidedSection.d.mts +3 -1
- package/dist/esm/api/types/GuidedSectionSource.d.mts +2 -1
- package/dist/esm/api/types/GuidedSectionSource.mjs +2 -1
- package/dist/esm/api/types/GuidedTemplate.d.mts +3 -1
- package/dist/esm/api/types/GuidedTemplateSource.d.mts +2 -1
- package/dist/esm/api/types/GuidedTemplateSource.mjs +2 -1
- package/dist/esm/api/types/GuidedTemplatesCreateFromScratchRequest.d.mts +1 -1
- package/dist/esm/api/types/GuidedTemplatesCreateFromScratchRequestGeneration.d.mts +1 -1
- package/dist/esm/api/types/StreamConfig.d.mts +4 -0
- package/dist/esm/api/types/StreamConfigKeyterms.d.mts +8 -0
- package/dist/esm/api/types/StreamConfigKeyterms.mjs +2 -0
- package/dist/esm/api/types/StreamConfigKeytermsTermsItem.d.mts +4 -0
- package/dist/esm/api/types/StreamConfigKeytermsTermsItem.mjs +2 -0
- package/dist/esm/api/types/StreamConfigReplacementsItem.d.mts +6 -0
- package/dist/esm/api/types/StreamConfigReplacementsItem.mjs +2 -0
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +3 -1
- package/dist/esm/api/types/StreamErrorDetail.d.mts +7 -5
- package/dist/esm/api/types/TranscribeConfig.d.mts +3 -1
- package/dist/esm/api/types/TranscribeConfigKeyterms.d.mts +8 -0
- package/dist/esm/api/types/TranscribeConfigKeyterms.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.d.mts +4 -0
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.mjs +2 -0
- package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +7 -5
- package/dist/esm/api/types/index.d.mts +5 -0
- package/dist/esm/api/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/index.d.mts +1 -0
- package/dist/esm/serialization/resources/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +6 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +6 -0
- package/dist/esm/serialization/resources/transcripts/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcripts/index.mjs +1 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.d.mts +10 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.mjs +6 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.d.mts +9 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.mjs +5 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.d.mts +10 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.mjs +6 -0
- package/dist/esm/serialization/resources/transcripts/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/transcripts/types/index.mjs +3 -0
- package/dist/esm/serialization/types/GuidedSection.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedSection.mjs +1 -0
- package/dist/esm/serialization/types/GuidedSectionSource.d.mts +1 -1
- package/dist/esm/serialization/types/GuidedSectionSource.mjs +1 -1
- package/dist/esm/serialization/types/GuidedTemplate.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedTemplate.mjs +1 -0
- package/dist/esm/serialization/types/GuidedTemplateSource.d.mts +1 -1
- package/dist/esm/serialization/types/GuidedTemplateSource.mjs +1 -1
- package/dist/esm/serialization/types/GuidedTemplatesCreateFromScratchRequestGeneration.d.mts +1 -1
- package/dist/esm/serialization/types/GuidedTemplatesCreateFromScratchRequestGeneration.mjs +1 -1
- package/dist/esm/serialization/types/StreamConfig.d.mts +4 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +4 -0
- package/dist/esm/serialization/types/StreamConfigKeyterms.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigKeyterms.mjs +6 -0
- package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.d.mts +9 -0
- package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfigReplacementsItem.d.mts +10 -0
- package/dist/esm/serialization/types/StreamConfigReplacementsItem.mjs +6 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.d.mts +1 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.mjs +1 -0
- package/dist/esm/serialization/types/StreamErrorDetail.d.mts +6 -5
- package/dist/esm/serialization/types/StreamErrorDetail.mjs +6 -5
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
- package/dist/esm/serialization/types/TranscribeConfigKeyterms.d.mts +10 -0
- package/dist/esm/serialization/types/TranscribeConfigKeyterms.mjs +6 -0
- package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeErrorMessageError.d.mts +6 -5
- package/dist/esm/serialization/types/TranscribeErrorMessageError.mjs +6 -5
- 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/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
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.TranscriptsCreateRequestKeyterms = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const TranscriptsCreateRequestKeytermsTermsItem_js_1 = require("./TranscriptsCreateRequestKeytermsTermsItem.js");
|
|
40
|
+
exports.TranscriptsCreateRequestKeyterms = core.serialization.object({
|
|
41
|
+
terms: core.serialization.list(TranscriptsCreateRequestKeytermsTermsItem_js_1.TranscriptsCreateRequestKeytermsTermsItem).optional(),
|
|
42
|
+
});
|
|
@@ -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 TranscriptsCreateRequestKeytermsTermsItem: core.serialization.ObjectSchema<serializers.TranscriptsCreateRequestKeytermsTermsItem.Raw, Corti.TranscriptsCreateRequestKeytermsTermsItem>;
|
|
5
|
+
export declare namespace TranscriptsCreateRequestKeytermsTermsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
term: 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.TranscriptsCreateRequestKeytermsTermsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.TranscriptsCreateRequestKeytermsTermsItem = core.serialization.object({
|
|
40
|
+
term: core.serialization.string(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 TranscriptsCreateRequestReplacementsItem: core.serialization.ObjectSchema<serializers.TranscriptsCreateRequestReplacementsItem.Raw, Corti.TranscriptsCreateRequestReplacementsItem>;
|
|
5
|
+
export declare namespace TranscriptsCreateRequestReplacementsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
find: string;
|
|
8
|
+
replace: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.TranscriptsCreateRequestReplacementsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.TranscriptsCreateRequestReplacementsItem = core.serialization.object({
|
|
40
|
+
find: core.serialization.string(),
|
|
41
|
+
replace: core.serialization.string(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TranscriptsCreateRequestKeyterms.js"), exports);
|
|
18
|
+
__exportStar(require("./TranscriptsCreateRequestKeytermsTermsItem.js"), exports);
|
|
19
|
+
__exportStar(require("./TranscriptsCreateRequestReplacementsItem.js"), exports);
|
|
@@ -18,6 +18,7 @@ export declare namespace GuidedSection {
|
|
|
18
18
|
description?: string | null;
|
|
19
19
|
labels: GuidedLabel.Raw[];
|
|
20
20
|
publishedVersion?: GuidedSectionVersion.Raw | null;
|
|
21
|
+
createdBy?: string | null;
|
|
21
22
|
createdAt: string;
|
|
22
23
|
updatedAt: string;
|
|
23
24
|
deletedAt?: (string | null | undefined) | null;
|
|
@@ -51,6 +51,7 @@ exports.GuidedSection = core.serialization.object({
|
|
|
51
51
|
description: core.serialization.string().optional(),
|
|
52
52
|
labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel),
|
|
53
53
|
publishedVersion: GuidedSectionVersion_js_1.GuidedSectionVersion.optional(),
|
|
54
|
+
createdBy: core.serialization.string().optional(),
|
|
54
55
|
createdAt: core.serialization.date(),
|
|
55
56
|
updatedAt: core.serialization.date(),
|
|
56
57
|
deletedAt: core.serialization.date().optionalNullable(),
|
|
@@ -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 GuidedSectionSource: core.serialization.Schema<serializers.GuidedSectionSource.Raw, Corti.GuidedSectionSource>;
|
|
5
5
|
export declare namespace GuidedSectionSource {
|
|
6
|
-
type Raw = "user" | "corti";
|
|
6
|
+
type Raw = "user" | "corti" | "project";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.GuidedSectionSource = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.GuidedSectionSource = core.serialization.enum_(["user", "corti"]);
|
|
39
|
+
exports.GuidedSectionSource = core.serialization.enum_(["user", "corti", "project"]);
|
|
@@ -18,6 +18,7 @@ export declare namespace GuidedTemplate {
|
|
|
18
18
|
specialties: string[];
|
|
19
19
|
labels: GuidedLabel.Raw[];
|
|
20
20
|
publishedVersion?: GuidedTemplateVersion.Raw | null;
|
|
21
|
+
createdBy?: string | null;
|
|
21
22
|
createdAt: string;
|
|
22
23
|
updatedAt: string;
|
|
23
24
|
deletedAt?: (string | null | undefined) | null;
|
|
@@ -51,6 +51,7 @@ exports.GuidedTemplate = core.serialization.object({
|
|
|
51
51
|
specialties: core.serialization.list(core.serialization.string()),
|
|
52
52
|
labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel),
|
|
53
53
|
publishedVersion: GuidedTemplateVersion_js_1.GuidedTemplateVersion.optional(),
|
|
54
|
+
createdBy: core.serialization.string().optional(),
|
|
54
55
|
createdAt: core.serialization.date(),
|
|
55
56
|
updatedAt: core.serialization.date(),
|
|
56
57
|
deletedAt: core.serialization.date().optionalNullable(),
|
|
@@ -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 GuidedTemplateSource: core.serialization.Schema<serializers.GuidedTemplateSource.Raw, Corti.GuidedTemplateSource>;
|
|
5
5
|
export declare namespace GuidedTemplateSource {
|
|
6
|
-
type Raw = "user" | "corti";
|
|
6
|
+
type Raw = "user" | "corti" | "project";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.GuidedTemplateSource = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.GuidedTemplateSource = core.serialization.enum_(["user", "corti"]);
|
|
39
|
+
exports.GuidedTemplateSource = core.serialization.enum_(["user", "corti", "project"]);
|
|
@@ -6,7 +6,7 @@ import { GuidedTemplatesVersionSectionRequest } from "./GuidedTemplatesVersionSe
|
|
|
6
6
|
export declare const GuidedTemplatesCreateFromScratchRequestGeneration: core.serialization.ObjectSchema<serializers.GuidedTemplatesCreateFromScratchRequestGeneration.Raw, Corti.GuidedTemplatesCreateFromScratchRequestGeneration>;
|
|
7
7
|
export declare namespace GuidedTemplatesCreateFromScratchRequestGeneration {
|
|
8
8
|
interface Raw {
|
|
9
|
-
instructions
|
|
9
|
+
instructions?: GuidedTemplateInstructions.Raw | null;
|
|
10
10
|
sections?: GuidedTemplatesVersionSectionRequest.Raw[] | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -39,6 +39,6 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
39
39
|
const GuidedTemplateInstructions_js_1 = require("./GuidedTemplateInstructions.js");
|
|
40
40
|
const GuidedTemplatesVersionSectionRequest_js_1 = require("./GuidedTemplatesVersionSectionRequest.js");
|
|
41
41
|
exports.GuidedTemplatesCreateFromScratchRequestGeneration = core.serialization.object({
|
|
42
|
-
instructions: GuidedTemplateInstructions_js_1.GuidedTemplateInstructions,
|
|
42
|
+
instructions: GuidedTemplateInstructions_js_1.GuidedTemplateInstructions.optional(),
|
|
43
43
|
sections: core.serialization.list(GuidedTemplatesVersionSectionRequest_js_1.GuidedTemplatesVersionSectionRequest).optional(),
|
|
44
44
|
});
|
|
@@ -2,7 +2,9 @@ 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 { StreamAudioEventsConfig } from "./StreamAudioEventsConfig.js";
|
|
5
|
+
import { StreamConfigKeyterms } from "./StreamConfigKeyterms.js";
|
|
5
6
|
import { StreamConfigMode } from "./StreamConfigMode.js";
|
|
7
|
+
import { StreamConfigReplacementsItem } from "./StreamConfigReplacementsItem.js";
|
|
6
8
|
import { StreamConfigRetentionPolicy } from "./StreamConfigRetentionPolicy.js";
|
|
7
9
|
import { StreamConfigTranscription } from "./StreamConfigTranscription.js";
|
|
8
10
|
export declare const StreamConfig: core.serialization.ObjectSchema<serializers.StreamConfig.Raw, Corti.StreamConfig>;
|
|
@@ -13,5 +15,7 @@ export declare namespace StreamConfig {
|
|
|
13
15
|
retentionPolicy?: StreamConfigRetentionPolicy.Raw | null;
|
|
14
16
|
audioEvents?: StreamAudioEventsConfig.Raw | null;
|
|
15
17
|
audioFormat?: string | null;
|
|
18
|
+
replacements?: StreamConfigReplacementsItem.Raw[] | null;
|
|
19
|
+
keyterms?: StreamConfigKeyterms.Raw | null;
|
|
16
20
|
}
|
|
17
21
|
}
|
|
@@ -37,7 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.StreamConfig = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const StreamAudioEventsConfig_js_1 = require("./StreamAudioEventsConfig.js");
|
|
40
|
+
const StreamConfigKeyterms_js_1 = require("./StreamConfigKeyterms.js");
|
|
40
41
|
const StreamConfigMode_js_1 = require("./StreamConfigMode.js");
|
|
42
|
+
const StreamConfigReplacementsItem_js_1 = require("./StreamConfigReplacementsItem.js");
|
|
41
43
|
const StreamConfigRetentionPolicy_js_1 = require("./StreamConfigRetentionPolicy.js");
|
|
42
44
|
const StreamConfigTranscription_js_1 = require("./StreamConfigTranscription.js");
|
|
43
45
|
exports.StreamConfig = core.serialization.object({
|
|
@@ -46,4 +48,6 @@ exports.StreamConfig = core.serialization.object({
|
|
|
46
48
|
retentionPolicy: StreamConfigRetentionPolicy_js_1.StreamConfigRetentionPolicy.optional(),
|
|
47
49
|
audioEvents: StreamAudioEventsConfig_js_1.StreamAudioEventsConfig.optional(),
|
|
48
50
|
audioFormat: core.serialization.string().optional(),
|
|
51
|
+
replacements: core.serialization.list(StreamConfigReplacementsItem_js_1.StreamConfigReplacementsItem).optional(),
|
|
52
|
+
keyterms: StreamConfigKeyterms_js_1.StreamConfigKeyterms.optional(),
|
|
49
53
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
});
|
|
@@ -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 StreamConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.StreamConfigKeytermsTermsItem.Raw, Corti.StreamConfigKeytermsTermsItem>;
|
|
5
|
+
export declare namespace StreamConfigKeytermsTermsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
term: 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.StreamConfigKeytermsTermsItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.StreamConfigKeytermsTermsItem = core.serialization.object({
|
|
40
|
+
term: core.serialization.string(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
});
|
|
@@ -7,6 +7,7 @@ export declare const StreamConfigTranscription: core.serialization.ObjectSchema<
|
|
|
7
7
|
export declare namespace StreamConfigTranscription {
|
|
8
8
|
interface Raw {
|
|
9
9
|
primaryLanguage: StreamSupportedLanguage.Raw;
|
|
10
|
+
diarize?: boolean | null;
|
|
10
11
|
isDiarization?: boolean | null;
|
|
11
12
|
isMultichannel?: boolean | null;
|
|
12
13
|
participants: StreamConfigParticipant.Raw[];
|
|
@@ -40,6 +40,7 @@ const StreamConfigParticipant_js_1 = require("./StreamConfigParticipant.js");
|
|
|
40
40
|
const StreamSupportedLanguage_js_1 = require("./StreamSupportedLanguage.js");
|
|
41
41
|
exports.StreamConfigTranscription = core.serialization.object({
|
|
42
42
|
primaryLanguage: StreamSupportedLanguage_js_1.StreamSupportedLanguage,
|
|
43
|
+
diarize: core.serialization.boolean().optional(),
|
|
43
44
|
isDiarization: core.serialization.boolean().optional(),
|
|
44
45
|
isMultichannel: core.serialization.boolean().optional(),
|
|
45
46
|
participants: core.serialization.list(StreamConfigParticipant_js_1.StreamConfigParticipant),
|
|
@@ -4,10 +4,11 @@ import type * as serializers from "../index.js";
|
|
|
4
4
|
export declare const StreamErrorDetail: core.serialization.ObjectSchema<serializers.StreamErrorDetail.Raw, Corti.StreamErrorDetail>;
|
|
5
5
|
export declare namespace StreamErrorDetail {
|
|
6
6
|
interface Raw {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
requestid?: string | null;
|
|
8
|
+
id?: string | null;
|
|
9
|
+
title?: string | null;
|
|
10
|
+
status?: number | null;
|
|
11
|
+
details?: string | null;
|
|
12
|
+
doc?: string | null;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -37,9 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.StreamErrorDetail = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
exports.StreamErrorDetail = core.serialization.object({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
requestid: core.serialization.string().optional(),
|
|
41
|
+
id: core.serialization.string().optional(),
|
|
42
|
+
title: core.serialization.string().optional(),
|
|
43
|
+
status: core.serialization.number().optional(),
|
|
44
|
+
details: core.serialization.string().optional(),
|
|
45
|
+
doc: core.serialization.string().optional(),
|
|
45
46
|
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { TranscribeAudioEventsConfig } from "./TranscribeAudioEventsConfig.js";
|
|
5
5
|
import { TranscribeCommand } from "./TranscribeCommand.js";
|
|
6
|
+
import { TranscribeConfigKeyterms } from "./TranscribeConfigKeyterms.js";
|
|
6
7
|
import { TranscribeConfigReplacementsItem } from "./TranscribeConfigReplacementsItem.js";
|
|
7
8
|
import { TranscribeFormatting } from "./TranscribeFormatting.js";
|
|
8
9
|
import { TranscribeSupportedLanguage } from "./TranscribeSupportedLanguage.js";
|
|
@@ -18,5 +19,6 @@ export declare namespace TranscribeConfig {
|
|
|
18
19
|
audioEvents?: TranscribeAudioEventsConfig.Raw | null;
|
|
19
20
|
audioFormat?: string | null;
|
|
20
21
|
replacements?: TranscribeConfigReplacementsItem.Raw[] | null;
|
|
22
|
+
keyterms?: TranscribeConfigKeyterms.Raw | null;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -38,6 +38,7 @@ exports.TranscribeConfig = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const TranscribeAudioEventsConfig_js_1 = require("./TranscribeAudioEventsConfig.js");
|
|
40
40
|
const TranscribeCommand_js_1 = require("./TranscribeCommand.js");
|
|
41
|
+
const TranscribeConfigKeyterms_js_1 = require("./TranscribeConfigKeyterms.js");
|
|
41
42
|
const TranscribeConfigReplacementsItem_js_1 = require("./TranscribeConfigReplacementsItem.js");
|
|
42
43
|
const TranscribeFormatting_js_1 = require("./TranscribeFormatting.js");
|
|
43
44
|
const TranscribeSupportedLanguage_js_1 = require("./TranscribeSupportedLanguage.js");
|
|
@@ -51,4 +52,5 @@ exports.TranscribeConfig = core.serialization.object({
|
|
|
51
52
|
audioEvents: TranscribeAudioEventsConfig_js_1.TranscribeAudioEventsConfig.optional(),
|
|
52
53
|
audioFormat: core.serialization.string().optional(),
|
|
53
54
|
replacements: core.serialization.list(TranscribeConfigReplacementsItem_js_1.TranscribeConfigReplacementsItem).optional(),
|
|
55
|
+
keyterms: TranscribeConfigKeyterms_js_1.TranscribeConfigKeyterms.optional(),
|
|
54
56
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
});
|
|
@@ -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 TranscribeConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.TranscribeConfigKeytermsTermsItem.Raw, Corti.TranscribeConfigKeytermsTermsItem>;
|
|
5
|
+
export declare namespace TranscribeConfigKeytermsTermsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
term: string;
|
|
8
|
+
}
|
|
9
|
+
}
|