@corti/sdk 3.1.0 → 4.0.0-rc.1
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/CommonFactsContext.d.ts +2 -2
- 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 +1 -1
- package/dist/cjs/api/types/StreamConfigKeyterms.d.ts +2 -2
- package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.d.ts +1 -1
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +3 -1
- package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -1
- package/dist/cjs/api/types/TranscribeConfigKeyterms.d.ts +2 -2
- package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.d.ts +1 -1
- 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/CommonFactsContext.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonFactsContext.js +1 -1
- 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/StreamConfigTranscription.d.ts +1 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.js +1 -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/CommonFactsContext.d.mts +2 -2
- 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 +1 -1
- package/dist/esm/api/types/StreamConfigKeyterms.d.mts +2 -2
- package/dist/esm/api/types/StreamConfigKeytermsTermsItem.d.mts +1 -1
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +3 -1
- package/dist/esm/api/types/TranscribeConfig.d.mts +1 -1
- package/dist/esm/api/types/TranscribeConfigKeyterms.d.mts +2 -2
- package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.d.mts +1 -1
- 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/CommonFactsContext.d.mts +1 -1
- package/dist/esm/serialization/types/CommonFactsContext.mjs +1 -1
- 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/StreamConfigTranscription.d.mts +1 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.mjs +1 -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": "
|
|
47
|
-
"User-Agent": "@corti/sdk/
|
|
46
|
+
"X-Fern-SDK-Version": "4.0.0-rc.1",
|
|
47
|
+
"User-Agent": "@corti/sdk/4.0.0-rc.1",
|
|
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,
|
|
@@ -38,11 +38,7 @@ export declare class TemplatesClient {
|
|
|
38
38
|
* @example
|
|
39
39
|
* await client.documents.templates.create({
|
|
40
40
|
* name: "name",
|
|
41
|
-
* generation: {
|
|
42
|
-
* instructions: {
|
|
43
|
-
* prompt: "prompt"
|
|
44
|
-
* }
|
|
45
|
-
* }
|
|
41
|
+
* generation: {}
|
|
46
42
|
* })
|
|
47
43
|
*/
|
|
48
44
|
create(request: Corti.GuidedTemplatesCreateRequest, requestOptions?: TemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.GuidedTemplate>;
|
|
@@ -138,11 +138,7 @@ class TemplatesClient {
|
|
|
138
138
|
* @example
|
|
139
139
|
* await client.documents.templates.create({
|
|
140
140
|
* name: "name",
|
|
141
|
-
* generation: {
|
|
142
|
-
* instructions: {
|
|
143
|
-
* prompt: "prompt"
|
|
144
|
-
* }
|
|
145
|
-
* }
|
|
141
|
+
* generation: {}
|
|
146
142
|
* })
|
|
147
143
|
*/
|
|
148
144
|
create(request, requestOptions) {
|
|
@@ -22,3 +22,4 @@ export * as templates from "./templates/index.js";
|
|
|
22
22
|
export * as transcribe from "./transcribe/index.js";
|
|
23
23
|
export * from "./transcripts/client/requests/index.js";
|
|
24
24
|
export * as transcripts from "./transcripts/index.js";
|
|
25
|
+
export * from "./transcripts/types/index.js";
|
|
@@ -61,3 +61,4 @@ exports.templates = __importStar(require("./templates/index.js"));
|
|
|
61
61
|
exports.transcribe = __importStar(require("./transcribe/index.js"));
|
|
62
62
|
__exportStar(require("./transcripts/client/requests/index.js"), exports);
|
|
63
63
|
exports.transcripts = __importStar(require("./transcripts/index.js"));
|
|
64
|
+
__exportStar(require("./transcripts/types/index.js"), exports);
|
|
@@ -27,7 +27,7 @@ export declare class RecordingsClient {
|
|
|
27
27
|
list(id: Corti.Uuid, requestOptions?: RecordingsClient.RequestOptions): core.HttpResponsePromise<Corti.RecordingsListResponse>;
|
|
28
28
|
private __list;
|
|
29
29
|
/**
|
|
30
|
-
* Upload a recording for a given interaction. There is a maximum limit of
|
|
30
|
+
* Upload a recording for a given interaction. There is a maximum limit of 120 minutes in audio duration and 150 MB in file size.
|
|
31
31
|
*
|
|
32
32
|
* @param {core.file.Uploadable} uploadable
|
|
33
33
|
* @param {Corti.Uuid} id
|
|
@@ -134,7 +134,7 @@ class RecordingsClient {
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
|
-
* Upload a recording for a given interaction. There is a maximum limit of
|
|
137
|
+
* Upload a recording for a given interaction. There is a maximum limit of 120 minutes in audio duration and 150 MB in file size.
|
|
138
138
|
*
|
|
139
139
|
* @param {core.file.Uploadable} uploadable
|
|
140
140
|
* @param {Corti.Uuid} id
|
|
@@ -29,7 +29,7 @@ export declare class TranscriptsClient {
|
|
|
29
29
|
list(id: Corti.Uuid, request?: Corti.TranscriptsListRequest, requestOptions?: TranscriptsClient.RequestOptions): core.HttpResponsePromise<Corti.TranscriptsListResponse>;
|
|
30
30
|
private __list;
|
|
31
31
|
/**
|
|
32
|
-
* Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to
|
|
32
|
+
* Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 120 minutes in total audio duration and 150 MB in size may be used.<br/><br/>By default, requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. Set the `async` parameter to true to receive the location header immediately and process the request asynchronously. Read more [here](https://docs.corti.ai/stt/transcripts).</Note>
|
|
33
33
|
*
|
|
34
34
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
35
35
|
* @param {Corti.TranscriptsCreateRequest} request
|
|
@@ -142,7 +142,7 @@ class TranscriptsClient {
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
* Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to
|
|
145
|
+
* Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 120 minutes in total audio duration and 150 MB in size may be used.<br/><br/>By default, requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. Set the `async` parameter to true to receive the location header immediately and process the request asynchronously. Read more [here](https://docs.corti.ai/stt/transcripts).</Note>
|
|
146
146
|
*
|
|
147
147
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
148
148
|
* @param {Corti.TranscriptsCreateRequest} request
|
|
@@ -11,7 +11,11 @@ export interface TranscriptsCreateRequest {
|
|
|
11
11
|
recordingId: Corti.Uuid;
|
|
12
12
|
/** The primary spoken language of the recording. Check https://docs.corti.ai/stt/languages for more. */
|
|
13
13
|
primaryLanguage: string;
|
|
14
|
-
/**
|
|
14
|
+
/** When true, converts spoken punctuation such as 'period' or 'slash' into symbols (e.g., '.', '/'). When enabled, automatic punctuation is turned off. Takes precedence over `automaticPunctuation` when both are enabled. */
|
|
15
|
+
spokenPunctuation?: boolean;
|
|
16
|
+
/** When true, automatically punctuates and capitalizes the transcript. Defaults to true. Overridden by `spokenPunctuation` when both are enabled. */
|
|
17
|
+
automaticPunctuation?: boolean;
|
|
18
|
+
/** **Deprecated** — replaced by `spokenPunctuation` and `automaticPunctuation`. Ignored when either of those fields is provided. When `true` and neither new field is provided, it is treated as `spokenPunctuation: true` (automatic punctuation off). No removal date is currently planned. */
|
|
15
19
|
isDictation?: boolean;
|
|
16
20
|
/** If true, each audio channel is transcribed separately. */
|
|
17
21
|
isMultichannel?: boolean;
|
|
@@ -21,4 +25,8 @@ export interface TranscriptsCreateRequest {
|
|
|
21
25
|
participants?: Corti.TranscriptsParticipant[];
|
|
22
26
|
/** 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`. */
|
|
23
27
|
async?: boolean;
|
|
28
|
+
/** 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. */
|
|
29
|
+
replacements?: Corti.TranscriptsCreateRequestReplacementsItem[];
|
|
30
|
+
/** 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. */
|
|
31
|
+
keyterms?: Corti.TranscriptsCreateRequestKeyterms;
|
|
24
32
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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.
|
|
4
|
+
*/
|
|
5
|
+
export interface TranscriptsCreateRequestKeyterms {
|
|
6
|
+
/** Ordered list of words to be recognized. Configuration is case sensitive and limited to 1,000 key terms per stream. */
|
|
7
|
+
terms?: Corti.TranscriptsCreateRequestKeytermsTermsItem[];
|
|
8
|
+
}
|
|
@@ -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);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as Corti from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* A
|
|
3
|
+
* A list of facts provided as input context to the model.
|
|
4
4
|
*/
|
|
5
5
|
export interface CommonFactsContext {
|
|
6
6
|
type: "facts";
|
|
7
|
-
|
|
7
|
+
facts: Corti.GuidedDocumentFactMinimal[];
|
|
8
8
|
}
|
|
@@ -6,7 +6,7 @@ export interface GuidedSection {
|
|
|
6
6
|
inheritedFromId?: string | null;
|
|
7
7
|
/** True if the section was auto-generated as part of an inline section-composed POST /documents request. */
|
|
8
8
|
autoGenerated?: boolean;
|
|
9
|
-
/** Whether this section was created by the user or
|
|
9
|
+
/** Whether this section was created by the user, a project-related API Client or is a Corti standard resource. */
|
|
10
10
|
source?: Corti.GuidedSectionSource;
|
|
11
11
|
/** The name of the section. */
|
|
12
12
|
name: string;
|
|
@@ -22,6 +22,8 @@ export interface GuidedSection {
|
|
|
22
22
|
labels: Corti.GuidedLabel[];
|
|
23
23
|
/** The currently published version with section inheritance fully resolved. Present when a version has been published. */
|
|
24
24
|
publishedVersion?: Corti.GuidedSectionVersion;
|
|
25
|
+
/** The UUID of the creator of this section. */
|
|
26
|
+
createdBy?: string;
|
|
25
27
|
/** The original timestamp when the section was created. */
|
|
26
28
|
createdAt: Date;
|
|
27
29
|
/** The original timestamp when the section was last updated. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/** Whether this section was created by the user or
|
|
1
|
+
/** Whether this section was created by the user, a project-related API Client or is a Corti standard resource. */
|
|
2
2
|
export declare const GuidedSectionSource: {
|
|
3
3
|
readonly User: "user";
|
|
4
4
|
readonly Corti: "corti";
|
|
5
|
+
readonly Project: "project";
|
|
5
6
|
};
|
|
6
7
|
export type GuidedSectionSource = (typeof GuidedSectionSource)[keyof typeof GuidedSectionSource];
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.GuidedSectionSource = void 0;
|
|
5
|
-
/** Whether this section was created by the user or
|
|
5
|
+
/** Whether this section was created by the user, a project-related API Client or is a Corti standard resource. */
|
|
6
6
|
exports.GuidedSectionSource = {
|
|
7
7
|
User: "user",
|
|
8
8
|
Corti: "corti",
|
|
9
|
+
Project: "project",
|
|
9
10
|
};
|
|
@@ -6,7 +6,7 @@ export interface GuidedTemplate {
|
|
|
6
6
|
inheritedFromId?: string | null;
|
|
7
7
|
/** True if the template was auto-generated based on the section-composed POST /documents request. */
|
|
8
8
|
autoGenerated?: boolean;
|
|
9
|
-
/** Whether this template was created by the user or is a Corti standard resource. */
|
|
9
|
+
/** Whether this template was created by the user, a project-related API Client or is a Corti standard resource. */
|
|
10
10
|
source?: Corti.GuidedTemplateSource;
|
|
11
11
|
/** The name of this template. Not passed to the LLM. */
|
|
12
12
|
name: string;
|
|
@@ -22,6 +22,8 @@ export interface GuidedTemplate {
|
|
|
22
22
|
labels: Corti.GuidedLabel[];
|
|
23
23
|
/** The currently published version with inheritance fully resolved. Present when a version has been published. */
|
|
24
24
|
publishedVersion?: Corti.GuidedTemplateVersion;
|
|
25
|
+
/** The UUID of the creator of this template. */
|
|
26
|
+
createdBy?: string;
|
|
25
27
|
/** The original timestamp when the template was created. */
|
|
26
28
|
createdAt: Date;
|
|
27
29
|
/** The original timestamp when the template was last updated. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/** Whether this template was created by the user or is a Corti standard resource. */
|
|
1
|
+
/** Whether this template was created by the user, a project-related API Client or is a Corti standard resource. */
|
|
2
2
|
export declare const GuidedTemplateSource: {
|
|
3
3
|
readonly User: "user";
|
|
4
4
|
readonly Corti: "corti";
|
|
5
|
+
readonly Project: "project";
|
|
5
6
|
};
|
|
6
7
|
export type GuidedTemplateSource = (typeof GuidedTemplateSource)[keyof typeof GuidedTemplateSource];
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.GuidedTemplateSource = void 0;
|
|
5
|
-
/** Whether this template was created by the user or is a Corti standard resource. */
|
|
5
|
+
/** Whether this template was created by the user, a project-related API Client or is a Corti standard resource. */
|
|
6
6
|
exports.GuidedTemplateSource = {
|
|
7
7
|
User: "user",
|
|
8
8
|
Corti: "corti",
|
|
9
|
+
Project: "project",
|
|
9
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Creates a template from scratch.
|
|
3
|
+
* Creates a template from scratch. The template fully specifies its own sections and optional template-level instructions.
|
|
4
4
|
*/
|
|
5
5
|
export interface GuidedTemplatesCreateFromScratchRequest extends Corti.GuidedTemplatesCreateBase {
|
|
6
6
|
generation: Corti.GuidedTemplatesCreateFromScratchRequestGeneration;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as Corti from "../index.js";
|
|
2
2
|
export interface GuidedTemplatesCreateFromScratchRequestGeneration {
|
|
3
|
-
instructions
|
|
3
|
+
instructions?: Corti.GuidedTemplateInstructions;
|
|
4
4
|
sections?: Corti.GuidedTemplatesVersionSectionRequest[];
|
|
5
5
|
}
|
|
@@ -9,6 +9,6 @@ export interface StreamConfig {
|
|
|
9
9
|
audioFormat?: string;
|
|
10
10
|
/** 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. */
|
|
11
11
|
replacements?: Corti.StreamConfigReplacementsItem[];
|
|
12
|
-
/** 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.
|
|
12
|
+
/** 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. */
|
|
13
13
|
keyterms?: Corti.StreamConfigKeyterms;
|
|
14
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as Corti from "../index.js";
|
|
2
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.
|
|
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.
|
|
4
4
|
*/
|
|
5
5
|
export interface StreamConfigKeyterms {
|
|
6
|
-
/** Ordered list of words to be recognized. */
|
|
6
|
+
/** Ordered list of words to be recognized. Configuration is case sensitive and limited to 1,000 key terms per stream. */
|
|
7
7
|
terms?: Corti.StreamConfigKeytermsTermsItem[];
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface StreamConfigKeytermsTermsItem {
|
|
2
|
-
/** The word to be recognized, defined in its expected written form. */
|
|
2
|
+
/** The word to be recognized, defined in its expected written form. A defined `term` is limited to a length of 50 characters. */
|
|
3
3
|
term: string;
|
|
4
4
|
}
|
|
@@ -2,7 +2,9 @@ import type * as Corti from "../index.js";
|
|
|
2
2
|
export interface StreamConfigTranscription {
|
|
3
3
|
/** Primary spoken language for transcription */
|
|
4
4
|
primaryLanguage: Corti.StreamSupportedLanguage;
|
|
5
|
-
/** Enable speaker diarization */
|
|
5
|
+
/** Enable speaker diarization. */
|
|
6
|
+
diarize?: boolean;
|
|
7
|
+
/** **Deprecated** — renamed to `diarize`. Still accepted for backward compatibility; `diarize` takes precedence when both are provided. `CONFIG_ACCEPTED` echoes both fields during the deprecation period. No removal date is currently planned. */
|
|
6
8
|
isDiarization?: boolean;
|
|
7
9
|
/** Enable multi-channel audio processing */
|
|
8
10
|
isMultichannel?: boolean;
|
|
@@ -16,6 +16,6 @@ export interface TranscribeConfig {
|
|
|
16
16
|
audioFormat?: string;
|
|
17
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. */
|
|
18
18
|
replacements?: Corti.TranscribeConfigReplacementsItem[];
|
|
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.
|
|
19
|
+
/** Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. */
|
|
20
20
|
keyterms?: Corti.TranscribeConfigKeyterms;
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as Corti from "../index.js";
|
|
2
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.
|
|
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.
|
|
4
4
|
*/
|
|
5
5
|
export interface TranscribeConfigKeyterms {
|
|
6
|
-
/** Ordered list of words to be recognized. */
|
|
6
|
+
/** Ordered list of words to be recognized. Configuration is case sensitive and limited to 1,000 key terms per stream. */
|
|
7
7
|
terms?: Corti.TranscribeConfigKeytermsTermsItem[];
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface TranscribeConfigKeytermsTermsItem {
|
|
2
|
-
/** The word to be recognized, defined in its expected written form. */
|
|
2
|
+
/** The word to be recognized, defined in its expected written form. A defined `term` is limited to a length of 50 characters. */
|
|
3
3
|
term: string;
|
|
4
4
|
}
|
|
@@ -20,3 +20,4 @@ export * from "./transcribe/client/socket/index.js";
|
|
|
20
20
|
export * as transcribe from "./transcribe/index.js";
|
|
21
21
|
export * from "./transcripts/client/requests/index.js";
|
|
22
22
|
export * as transcripts from "./transcripts/index.js";
|
|
23
|
+
export * from "./transcripts/types/index.js";
|
|
@@ -59,3 +59,4 @@ __exportStar(require("./transcribe/client/socket/index.js"), exports);
|
|
|
59
59
|
exports.transcribe = __importStar(require("./transcribe/index.js"));
|
|
60
60
|
__exportStar(require("./transcripts/client/requests/index.js"), exports);
|
|
61
61
|
exports.transcripts = __importStar(require("./transcripts/index.js"));
|
|
62
|
+
__exportStar(require("./transcripts/types/index.js"), exports);
|
package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts
CHANGED
|
@@ -3,15 +3,21 @@ import * as core from "../../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
4
|
import { TranscriptsParticipant } from "../../../../types/TranscriptsParticipant.js";
|
|
5
5
|
import { Uuid } from "../../../../types/Uuid.js";
|
|
6
|
+
import { TranscriptsCreateRequestKeyterms } from "../../types/TranscriptsCreateRequestKeyterms.js";
|
|
7
|
+
import { TranscriptsCreateRequestReplacementsItem } from "../../types/TranscriptsCreateRequestReplacementsItem.js";
|
|
6
8
|
export declare const TranscriptsCreateRequest: core.serialization.Schema<serializers.TranscriptsCreateRequest.Raw, Corti.TranscriptsCreateRequest>;
|
|
7
9
|
export declare namespace TranscriptsCreateRequest {
|
|
8
10
|
interface Raw {
|
|
9
11
|
recordingId: Uuid.Raw;
|
|
10
12
|
primaryLanguage: string;
|
|
13
|
+
spokenPunctuation?: boolean | null;
|
|
14
|
+
automaticPunctuation?: boolean | null;
|
|
11
15
|
isDictation?: boolean | null;
|
|
12
16
|
isMultichannel?: boolean | null;
|
|
13
17
|
diarize?: boolean | null;
|
|
14
18
|
participants?: TranscriptsParticipant.Raw[] | null;
|
|
15
19
|
async?: boolean | null;
|
|
20
|
+
replacements?: TranscriptsCreateRequestReplacementsItem.Raw[] | null;
|
|
21
|
+
keyterms?: TranscriptsCreateRequestKeyterms.Raw | null;
|
|
16
22
|
}
|
|
17
23
|
}
|
package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js
CHANGED
|
@@ -38,12 +38,18 @@ exports.TranscriptsCreateRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
39
|
const TranscriptsParticipant_js_1 = require("../../../../types/TranscriptsParticipant.js");
|
|
40
40
|
const Uuid_js_1 = require("../../../../types/Uuid.js");
|
|
41
|
+
const TranscriptsCreateRequestKeyterms_js_1 = require("../../types/TranscriptsCreateRequestKeyterms.js");
|
|
42
|
+
const TranscriptsCreateRequestReplacementsItem_js_1 = require("../../types/TranscriptsCreateRequestReplacementsItem.js");
|
|
41
43
|
exports.TranscriptsCreateRequest = core.serialization.object({
|
|
42
44
|
recordingId: Uuid_js_1.Uuid,
|
|
43
45
|
primaryLanguage: core.serialization.string(),
|
|
46
|
+
spokenPunctuation: core.serialization.boolean().optional(),
|
|
47
|
+
automaticPunctuation: core.serialization.boolean().optional(),
|
|
44
48
|
isDictation: core.serialization.boolean().optional(),
|
|
45
49
|
isMultichannel: core.serialization.boolean().optional(),
|
|
46
50
|
diarize: core.serialization.boolean().optional(),
|
|
47
51
|
participants: core.serialization.list(TranscriptsParticipant_js_1.TranscriptsParticipant).optional(),
|
|
48
52
|
async: core.serialization.boolean().optional(),
|
|
53
|
+
replacements: core.serialization.list(TranscriptsCreateRequestReplacementsItem_js_1.TranscriptsCreateRequestReplacementsItem).optional(),
|
|
54
|
+
keyterms: TranscriptsCreateRequestKeyterms_js_1.TranscriptsCreateRequestKeyterms.optional(),
|
|
49
55
|
});
|
package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.d.ts
ADDED
|
@@ -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 { TranscriptsCreateRequestKeytermsTermsItem } from "./TranscriptsCreateRequestKeytermsTermsItem.js";
|
|
5
|
+
export declare const TranscriptsCreateRequestKeyterms: core.serialization.ObjectSchema<serializers.TranscriptsCreateRequestKeyterms.Raw, Corti.TranscriptsCreateRequestKeyterms>;
|
|
6
|
+
export declare namespace TranscriptsCreateRequestKeyterms {
|
|
7
|
+
interface Raw {
|
|
8
|
+
terms?: TranscriptsCreateRequestKeytermsTermsItem.Raw[] | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
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
|
+
});
|