@corti/sdk 6.0.0 → 6.1.0-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/codes/client/Client.d.ts +11 -8
- package/dist/cjs/api/resources/codes/client/Client.js +11 -8
- package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +13 -8
- package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +32 -2
- package/dist/cjs/api/resources/documents/resources/sections/client/Client.js +76 -2
- package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.js +2 -2
- package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +2 -2
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.js +2 -2
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +1 -0
- package/dist/cjs/api/resources/recordings/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/recordings/client/Client.js +16 -6
- package/dist/cjs/api/resources/recordings/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/recordings/client/index.js +15 -0
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.d.ts +9 -0
- package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.js +3 -0
- package/dist/cjs/api/resources/recordings/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/recordings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -1
- package/dist/cjs/api/types/CodesConditionGroup.d.ts +10 -0
- package/dist/cjs/api/types/CodesConditionGroup.js +3 -0
- package/dist/cjs/api/types/CodesConditionGroupConditionsItem.d.ts +2 -0
- package/dist/cjs/api/types/CodesConditionGroupConditionsItem.js +3 -0
- package/dist/cjs/api/types/CodesConditionGroupMatch.d.ts +6 -0
- package/dist/cjs/api/types/CodesConditionGroupMatch.js +9 -0
- package/dist/cjs/api/types/CodesFilter.d.ts +1 -1
- package/dist/cjs/api/types/CodesSystemFilter.d.ts +12 -0
- package/dist/cjs/api/types/CodesSystemFilter.js +3 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +6 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +6 -0
- package/dist/cjs/api/types/GuidedSectionImpactResponse.d.ts +8 -0
- package/dist/cjs/api/types/GuidedSectionImpactResponse.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactSectionItem.d.ts +11 -0
- package/dist/cjs/api/types/GuidedSectionImpactSectionItem.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactSections.d.ts +10 -0
- package/dist/cjs/api/types/GuidedSectionImpactSections.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateDirect.d.ts +10 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateDirect.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedSection.d.ts +12 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedSection.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedTemplate.d.ts +12 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedTemplate.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateItem.d.ts +2 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplateItem.js +3 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplates.d.ts +10 -0
- package/dist/cjs/api/types/GuidedSectionImpactTemplates.js +3 -0
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +2 -0
- package/dist/cjs/api/types/StreamConfigTranscriptionWordLevel.d.ts +6 -0
- package/dist/cjs/api/types/StreamConfigTranscriptionWordLevel.js +3 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/api/types/TranscribeConfigWordLevel.d.ts +6 -0
- package/dist/cjs/api/types/TranscribeConfigWordLevel.js +3 -0
- package/dist/cjs/api/types/TranscribeTranscriptMessage.d.ts +2 -1
- package/dist/cjs/api/types/TranscribeTranscriptMessageData.d.ts +5 -0
- package/dist/cjs/api/types/TranscribeTranscriptMessageData.js +3 -0
- package/dist/cjs/api/types/TranscriptsListItem.d.ts +4 -0
- package/dist/cjs/api/types/index.d.ts +15 -0
- package/dist/cjs/api/types/index.js +15 -0
- package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.js +2 -0
- package/dist/cjs/serialization/types/CodesConditionGroup.d.ts +11 -0
- package/dist/cjs/serialization/types/CodesConditionGroup.js +44 -0
- package/dist/cjs/serialization/types/CodesConditionGroupConditionsItem.d.ts +8 -0
- package/dist/cjs/serialization/types/CodesConditionGroupConditionsItem.js +44 -0
- package/dist/cjs/serialization/types/CodesConditionGroupMatch.d.ts +7 -0
- package/dist/cjs/serialization/types/CodesConditionGroupMatch.js +39 -0
- package/dist/cjs/serialization/types/CodesSystemFilter.d.ts +11 -0
- package/dist/cjs/serialization/types/CodesSystemFilter.js +44 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +6 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactResponse.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactResponse.js +44 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactSectionItem.d.ts +11 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactSectionItem.js +43 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactSections.d.ts +11 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactSections.js +43 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateDirect.d.ts +11 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateDirect.js +43 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedSection.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedSection.js +44 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.js +44 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateItem.d.ts +10 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplateItem.js +46 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplates.d.ts +11 -0
- package/dist/cjs/serialization/types/GuidedSectionImpactTemplates.js +43 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfigTranscription.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigTranscriptionWordLevel.d.ts +9 -0
- package/dist/cjs/serialization/types/StreamConfigTranscriptionWordLevel.js +41 -0
- package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
- package/dist/cjs/serialization/types/TranscribeConfigWordLevel.d.ts +9 -0
- package/dist/cjs/serialization/types/TranscribeConfigWordLevel.js +41 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptMessage.d.ts +2 -2
- package/dist/cjs/serialization/types/TranscribeTranscriptMessage.js +2 -2
- package/dist/cjs/serialization/types/TranscribeTranscriptMessageData.d.ts +8 -0
- package/dist/cjs/serialization/types/TranscribeTranscriptMessageData.js +43 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.d.ts +2 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.js +2 -0
- package/dist/cjs/serialization/types/index.d.ts +15 -0
- package/dist/cjs/serialization/types/index.js +15 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/codes/client/Client.d.mts +11 -8
- package/dist/esm/api/resources/codes/client/Client.mjs +11 -8
- package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +13 -8
- package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +32 -2
- package/dist/esm/api/resources/documents/resources/sections/client/Client.mjs +76 -2
- package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.mjs +2 -2
- package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +2 -2
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.mjs +2 -2
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/recordings/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/recordings/client/Client.mjs +16 -6
- package/dist/esm/api/resources/recordings/client/index.d.mts +1 -1
- package/dist/esm/api/resources/recordings/client/index.mjs +1 -1
- package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.d.mts +9 -0
- package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.mjs +2 -0
- package/dist/esm/api/resources/recordings/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/recordings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -1
- package/dist/esm/api/types/CodesConditionGroup.d.mts +10 -0
- package/dist/esm/api/types/CodesConditionGroup.mjs +2 -0
- package/dist/esm/api/types/CodesConditionGroupConditionsItem.d.mts +2 -0
- package/dist/esm/api/types/CodesConditionGroupConditionsItem.mjs +2 -0
- package/dist/esm/api/types/CodesConditionGroupMatch.d.mts +6 -0
- package/dist/esm/api/types/CodesConditionGroupMatch.mjs +6 -0
- package/dist/esm/api/types/CodesFilter.d.mts +1 -1
- package/dist/esm/api/types/CodesSystemFilter.d.mts +12 -0
- package/dist/esm/api/types/CodesSystemFilter.mjs +2 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +6 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +6 -0
- package/dist/esm/api/types/GuidedSectionImpactResponse.d.mts +8 -0
- package/dist/esm/api/types/GuidedSectionImpactResponse.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactSectionItem.d.mts +11 -0
- package/dist/esm/api/types/GuidedSectionImpactSectionItem.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactSections.d.mts +10 -0
- package/dist/esm/api/types/GuidedSectionImpactSections.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateDirect.d.mts +10 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateDirect.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedSection.d.mts +12 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedSection.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedTemplate.d.mts +12 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedTemplate.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateItem.d.mts +2 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplateItem.mjs +2 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplates.d.mts +10 -0
- package/dist/esm/api/types/GuidedSectionImpactTemplates.mjs +2 -0
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +2 -0
- package/dist/esm/api/types/StreamConfigTranscriptionWordLevel.d.mts +6 -0
- package/dist/esm/api/types/StreamConfigTranscriptionWordLevel.mjs +2 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/api/types/TranscribeConfigWordLevel.d.mts +6 -0
- package/dist/esm/api/types/TranscribeConfigWordLevel.mjs +2 -0
- package/dist/esm/api/types/TranscribeTranscriptMessage.d.mts +2 -1
- package/dist/esm/api/types/TranscribeTranscriptMessageData.d.mts +5 -0
- package/dist/esm/api/types/TranscribeTranscriptMessageData.mjs +2 -0
- package/dist/esm/api/types/TranscriptsListItem.d.mts +4 -0
- package/dist/esm/api/types/index.d.mts +15 -0
- package/dist/esm/api/types/index.mjs +15 -0
- package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs +2 -0
- package/dist/esm/serialization/types/CodesConditionGroup.d.mts +11 -0
- package/dist/esm/serialization/types/CodesConditionGroup.mjs +8 -0
- package/dist/esm/serialization/types/CodesConditionGroupConditionsItem.d.mts +8 -0
- package/dist/esm/serialization/types/CodesConditionGroupConditionsItem.mjs +8 -0
- package/dist/esm/serialization/types/CodesConditionGroupMatch.d.mts +7 -0
- package/dist/esm/serialization/types/CodesConditionGroupMatch.mjs +3 -0
- package/dist/esm/serialization/types/CodesSystemFilter.d.mts +11 -0
- package/dist/esm/serialization/types/CodesSystemFilter.mjs +8 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +6 -0
- package/dist/esm/serialization/types/GuidedSectionImpactResponse.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedSectionImpactResponse.mjs +8 -0
- package/dist/esm/serialization/types/GuidedSectionImpactSectionItem.d.mts +11 -0
- package/dist/esm/serialization/types/GuidedSectionImpactSectionItem.mjs +7 -0
- package/dist/esm/serialization/types/GuidedSectionImpactSections.d.mts +11 -0
- package/dist/esm/serialization/types/GuidedSectionImpactSections.mjs +7 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateDirect.d.mts +11 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateDirect.mjs +7 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedSection.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedSection.mjs +8 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.mjs +8 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateItem.d.mts +10 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplateItem.mjs +10 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplates.d.mts +11 -0
- package/dist/esm/serialization/types/GuidedSectionImpactTemplates.mjs +7 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfigTranscription.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigTranscriptionWordLevel.d.mts +9 -0
- package/dist/esm/serialization/types/StreamConfigTranscriptionWordLevel.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
- package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
- package/dist/esm/serialization/types/TranscribeConfigWordLevel.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeConfigWordLevel.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeTranscriptMessage.d.mts +2 -2
- package/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs +2 -2
- package/dist/esm/serialization/types/TranscribeTranscriptMessageData.d.mts +8 -0
- package/dist/esm/serialization/types/TranscribeTranscriptMessageData.mjs +7 -0
- package/dist/esm/serialization/types/TranscriptsListItem.d.mts +2 -0
- package/dist/esm/serialization/types/TranscriptsListItem.mjs +2 -0
- package/dist/esm/serialization/types/index.d.mts +15 -0
- package/dist/esm/serialization/types/index.mjs +15 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -11,9 +11,10 @@ export declare class RecordingsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<RecordingsClient.Options>;
|
|
12
12
|
constructor(options: RecordingsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Retrieve a list of recordings for a given interaction.
|
|
14
|
+
* Retrieve a list of recordings for a given interaction. Recordings are ordered based on their creation time. Default ordering (desc) will return the most recent recording first in the list. Use query parameter `direction` to define the order of the list (`asc` for ascending and `desc` for descending).
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
17
|
+
* @param {Corti.RecordingsListRequest} request
|
|
17
18
|
* @param {RecordingsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
19
|
*
|
|
19
20
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -24,7 +25,7 @@ export declare class RecordingsClient {
|
|
|
24
25
|
* @example
|
|
25
26
|
* await client.recordings.list("f47ac10b-58cc-4372-a567-0e02b2c3d479")
|
|
26
27
|
*/
|
|
27
|
-
list(id: Corti.Uuid, requestOptions?: RecordingsClient.RequestOptions): core.HttpResponsePromise<Corti.RecordingsListResponse>;
|
|
28
|
+
list(id: Corti.Uuid, request?: Corti.RecordingsListRequest, requestOptions?: RecordingsClient.RequestOptions): core.HttpResponsePromise<Corti.RecordingsListResponse>;
|
|
28
29
|
private __list;
|
|
29
30
|
/**
|
|
30
31
|
* Upload a recording for a given interaction. There is a maximum limit of 120 minutes in audio duration and 150 MB in file size.
|
|
@@ -20,9 +20,10 @@ export class RecordingsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieve a list of recordings for a given interaction.
|
|
23
|
+
* Retrieve a list of recordings for a given interaction. Recordings are ordered based on their creation time. Default ordering (desc) will return the most recent recording first in the list. Use query parameter `direction` to define the order of the list (`asc` for ascending and `desc` for descending).
|
|
24
24
|
*
|
|
25
25
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
26
|
+
* @param {Corti.RecordingsListRequest} request
|
|
26
27
|
* @param {RecordingsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
28
|
*
|
|
28
29
|
* @throws {@link Corti.BadRequestError}
|
|
@@ -33,19 +34,28 @@ export class RecordingsClient {
|
|
|
33
34
|
* @example
|
|
34
35
|
* await client.recordings.list("f47ac10b-58cc-4372-a567-0e02b2c3d479")
|
|
35
36
|
*/
|
|
36
|
-
list(id, requestOptions) {
|
|
37
|
-
return core.HttpResponsePromise.fromPromise(this.__list(id, requestOptions));
|
|
37
|
+
list(id, request = {}, requestOptions) {
|
|
38
|
+
return core.HttpResponsePromise.fromPromise(this.__list(id, request, requestOptions));
|
|
38
39
|
}
|
|
39
|
-
__list(
|
|
40
|
-
return __awaiter(this,
|
|
40
|
+
__list(id_1) {
|
|
41
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
41
42
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
43
|
+
const { direction } = request;
|
|
44
|
+
const _queryParams = {
|
|
45
|
+
direction: direction != null
|
|
46
|
+
? serializers.CommonSortingDirectionEnum.jsonOrThrow(direction, {
|
|
47
|
+
unrecognizedObjectKeys: "strip",
|
|
48
|
+
omitUndefined: true,
|
|
49
|
+
})
|
|
50
|
+
: undefined,
|
|
51
|
+
};
|
|
42
52
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
43
53
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
44
54
|
const _response = yield core.fetcher({
|
|
45
55
|
url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, `interactions/${core.url.encodePathParam(serializers.Uuid.jsonOrThrow(id, { omitUndefined: true }))}/recordings/`),
|
|
46
56
|
method: "GET",
|
|
47
57
|
headers: _headers,
|
|
48
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
58
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
49
59
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
50
60
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
51
61
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RecordingsListRequest } from "./RecordingsListRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -22,7 +22,7 @@ export interface TranscriptsCreateRequest {
|
|
|
22
22
|
isMultichannel?: boolean;
|
|
23
23
|
/** If true, separates speakers within an audio channel returning incrementing ids for transcript segments. */
|
|
24
24
|
diarize?: boolean;
|
|
25
|
-
/** An array of participants, each specifying a free-form role and an assigned audio channel in the recording. For raw PCM, the channel count must be defined; otherwise, the number of audio channels is resolved from the audio itself, not from the declared participants.
|
|
25
|
+
/** An array of participants, each specifying a free-form role and an assigned audio channel in the recording. For raw PCM, the channel count must be defined; otherwise, the number of audio channels is resolved from the audio itself, not from the declared participants. Optional regardless of isMultichannel or diarize settings. Multiple participants may be assigned to the same channel. See [audio formatting](https://docs.corti.ai/stt/audio) for full details. */
|
|
26
26
|
participants?: Corti.TranscriptsParticipant[];
|
|
27
27
|
/** If true, the request will return immediately with a 202 status and the transcript will be processed asynchronously. Poll [Get Transcript Status](/api-reference/transcripts/get-transcript-status) to check transcript processing status - `processing`, `completed`, `failed`. */
|
|
28
28
|
async?: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* A group of conditions combined with AND or OR logic, used in `include` and `exclude` filters. Maximum nesting depth: 3.
|
|
4
|
+
*/
|
|
5
|
+
export interface CodesConditionGroup {
|
|
6
|
+
/** `all` ANDs conditions (every condition must match). `any` ORs them (at least one must match). Omit when `conditions` has a single element. */
|
|
7
|
+
match?: Corti.CodesConditionGroupMatch;
|
|
8
|
+
/** Conditions or nested groups combined per `match`. Maximum nesting depth: 3. */
|
|
9
|
+
conditions: Corti.CodesConditionGroupConditionsItem[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** `all` ANDs conditions (every condition must match). `any` ORs them (at least one must match). Omit when `conditions` has a single element. */
|
|
2
|
+
export declare const CodesConditionGroupMatch: {
|
|
3
|
+
readonly All: "all";
|
|
4
|
+
readonly Any: "any";
|
|
5
|
+
};
|
|
6
|
+
export type CodesConditionGroupMatch = (typeof CodesConditionGroupMatch)[keyof typeof CodesConditionGroupMatch];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** `all` ANDs conditions (every condition must match). `any` ORs them (at least one must match). Omit when `conditions` has a single element. */
|
|
3
|
+
export const CodesConditionGroupMatch = {
|
|
4
|
+
All: "all",
|
|
5
|
+
Any: "any",
|
|
6
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Deprecated: use `filters` with `CodesSystemFilter` instead.
|
|
4
4
|
*/
|
|
5
5
|
export interface CodesFilter {
|
|
6
6
|
/** Condition objects to include. When empty, the full set of codes for the requested systems is used. */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* System-scoped filter to restrict the set of codes the model can predict for a single coding system.
|
|
4
|
+
*/
|
|
5
|
+
export interface CodesSystemFilter {
|
|
6
|
+
/** The coding system this filter applies to. Must match one of the systems in the `system` field. */
|
|
7
|
+
systemId: string;
|
|
8
|
+
/** Codes matching this group of conditions are eligible. Omitted means every code in the system is eligible. */
|
|
9
|
+
include?: Corti.CodesConditionGroup;
|
|
10
|
+
/** Codes matching this group of conditions are removed from the eligible set. Omitted means nothing is removed. */
|
|
11
|
+
exclude?: Corti.CodesConditionGroup;
|
|
12
|
+
}
|
|
@@ -22,6 +22,9 @@ export declare const CommonCodingSystemEnum: {
|
|
|
22
22
|
readonly Snomedctdk: "snomedctdk";
|
|
23
23
|
readonly Snomedctse: "snomedctse";
|
|
24
24
|
readonly Snomedctus: "snomedctus";
|
|
25
|
+
readonly Snomedctno: "snomedctno";
|
|
26
|
+
readonly Snomedctat: "snomedctat";
|
|
27
|
+
readonly Snomedctnl: "snomedctnl";
|
|
25
28
|
readonly MeddraIt: "meddra-it";
|
|
26
29
|
readonly MeddraEn: "meddra-en";
|
|
27
30
|
readonly MeddraFr: "meddra-fr";
|
|
@@ -31,5 +34,8 @@ export declare const CommonCodingSystemEnum: {
|
|
|
31
34
|
readonly MeddraSe: "meddra-se";
|
|
32
35
|
readonly Sks: "sks";
|
|
33
36
|
readonly Kvaa: "kvaa";
|
|
37
|
+
readonly Icdo3Int: "icdo3int";
|
|
38
|
+
readonly Icdo3Fr: "icdo3fr";
|
|
39
|
+
readonly Icdo3De: "icdo3de";
|
|
34
40
|
};
|
|
35
41
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -23,6 +23,9 @@ export const CommonCodingSystemEnum = {
|
|
|
23
23
|
Snomedctdk: "snomedctdk",
|
|
24
24
|
Snomedctse: "snomedctse",
|
|
25
25
|
Snomedctus: "snomedctus",
|
|
26
|
+
Snomedctno: "snomedctno",
|
|
27
|
+
Snomedctat: "snomedctat",
|
|
28
|
+
Snomedctnl: "snomedctnl",
|
|
26
29
|
MeddraIt: "meddra-it",
|
|
27
30
|
MeddraEn: "meddra-en",
|
|
28
31
|
MeddraFr: "meddra-fr",
|
|
@@ -32,4 +35,7 @@ export const CommonCodingSystemEnum = {
|
|
|
32
35
|
MeddraSe: "meddra-se",
|
|
33
36
|
Sks: "sks",
|
|
34
37
|
Kvaa: "kvaa",
|
|
38
|
+
Icdo3Int: "icdo3int",
|
|
39
|
+
Icdo3Fr: "icdo3fr",
|
|
40
|
+
Icdo3De: "icdo3de",
|
|
35
41
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The templates and sections that a change to a section can affect.
|
|
4
|
+
*/
|
|
5
|
+
export interface GuidedSectionImpactResponse {
|
|
6
|
+
templates: Corti.GuidedSectionImpactTemplates;
|
|
7
|
+
sections: Corti.GuidedSectionImpactSections;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A descendant section that inherits from this section.
|
|
3
|
+
*/
|
|
4
|
+
export interface GuidedSectionImpactSectionItem {
|
|
5
|
+
/** The UUID of the descendant section. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The name of the descendant section. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** The inheritance depth from this section. `1` is a direct child. */
|
|
10
|
+
depth: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Descendant sections that inherit from this section.
|
|
4
|
+
*/
|
|
5
|
+
export interface GuidedSectionImpactSections {
|
|
6
|
+
/** True when the group does not hold all the descendant sections. The 50-entry display cap or the inheritance depth cap can cause this. */
|
|
7
|
+
truncated: boolean;
|
|
8
|
+
/** The descendant sections. Holds at most 50 entries. */
|
|
9
|
+
items: Corti.GuidedSectionImpactSectionItem[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The template links a descendant section that inherits from this section.
|
|
3
|
+
*/
|
|
4
|
+
export interface GuidedSectionImpactTemplateInheritedSection {
|
|
5
|
+
/** The UUID of the template. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The name of the template. */
|
|
8
|
+
name: string;
|
|
9
|
+
via: "inheritedSection";
|
|
10
|
+
/** The descendant section that the template references. */
|
|
11
|
+
viaSectionId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The template inherits its section list from a parent template that links this section.
|
|
3
|
+
*/
|
|
4
|
+
export interface GuidedSectionImpactTemplateInheritedTemplate {
|
|
5
|
+
/** The UUID of the template. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The name of the template. */
|
|
8
|
+
name: string;
|
|
9
|
+
via: "inheritedTemplate";
|
|
10
|
+
/** The parent template that the template inherits from. */
|
|
11
|
+
viaTemplateId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Templates whose generation output changes when this section changes.
|
|
4
|
+
*/
|
|
5
|
+
export interface GuidedSectionImpactTemplates {
|
|
6
|
+
/** True when the group does not hold all the templates. The 50-entry display cap or the inheritance depth cap can cause this. */
|
|
7
|
+
truncated: boolean;
|
|
8
|
+
/** The templates that the change can affect. Holds at most 50 entries. */
|
|
9
|
+
items: Corti.GuidedSectionImpactTemplateItem[];
|
|
10
|
+
}
|
|
@@ -4,6 +4,8 @@ export interface StreamConfigTranscription {
|
|
|
4
4
|
primaryLanguage: Corti.StreamSupportedLanguage;
|
|
5
5
|
/** Enable speaker diarization. */
|
|
6
6
|
diarize?: boolean;
|
|
7
|
+
/** When enabled, transcripts are returned at word level instead of phrase/utterance level: each transcript list item is a single word with its own timing. Defaults to false. */
|
|
8
|
+
wordLevel?: Corti.StreamConfigTranscriptionWordLevel;
|
|
7
9
|
/** **Deprecated** — renamed to `diarize`. Still accepted for backward compatibility; `diarize` takes precedence when both are provided. `CONFIG_ACCEPTED` echoes both fields during the deprecation period. No removal date is currently planned. */
|
|
8
10
|
isDiarization?: boolean;
|
|
9
11
|
/** Enable multi-channel audio processing. When false, all participants are collapsed to channel 0 and the audio is converted to mono. */
|
|
@@ -18,4 +18,6 @@ export interface TranscribeConfig {
|
|
|
18
18
|
replacements?: Corti.TranscribeConfigReplacementsItem[];
|
|
19
19
|
/** Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. */
|
|
20
20
|
keyterms?: Corti.TranscribeConfigKeyterms;
|
|
21
|
+
/** When enabled, final transcripts are returned at word level instead of phrase/utterance level: all word items finalized together are delivered in a single message with `data` as a list. Interim previews remain segment level and arrive as a one-element list when `interimResults` is also enabled. Defaults to false. */
|
|
22
|
+
wordLevel?: Corti.TranscribeConfigWordLevel;
|
|
21
23
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* When enabled, final transcripts are returned at word level instead of phrase/utterance level: all word items finalized together are delivered in a single message with `data` as a list. Interim previews remain segment level and arrive as a one-element list when `interimResults` is also enabled. Defaults to false.
|
|
3
|
+
*/
|
|
4
|
+
export interface TranscribeConfigWordLevel {
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as Corti from "../index.mjs";
|
|
2
2
|
export interface TranscribeTranscriptMessage {
|
|
3
3
|
type: "transcript";
|
|
4
|
-
|
|
4
|
+
/** The singular segment object, or a list of items when `wordLevel` is enabled: all word items finalized together in one message, or a one-element list carrying the in-progress segment for interim previews when `interimResults` is also enabled. */
|
|
5
|
+
data: Corti.TranscribeTranscriptMessageData;
|
|
5
6
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The singular segment object, or a list of items when `wordLevel` is enabled: all word items finalized together in one message, or a one-element list carrying the in-progress segment for interim previews when `interimResults` is also enabled.
|
|
4
|
+
*/
|
|
5
|
+
export type TranscribeTranscriptMessageData = Corti.TranscribeTranscriptData | Corti.TranscribeTranscriptData[];
|
|
@@ -2,6 +2,10 @@ import type * as Corti from "../index.mjs";
|
|
|
2
2
|
export interface TranscriptsListItem {
|
|
3
3
|
/** The unique identifier of the transcript. */
|
|
4
4
|
id: Corti.Uuid;
|
|
5
|
+
/** The unique identifier for the associated recording. */
|
|
6
|
+
recordingId: Corti.Uuid;
|
|
5
7
|
transcriptSample: string;
|
|
8
|
+
/** The timestamp when the transcript was created. */
|
|
9
|
+
createdAt: Date;
|
|
6
10
|
transcript?: Corti.TranscriptsData | null;
|
|
7
11
|
}
|
|
@@ -105,6 +105,9 @@ export * from "./AuthTokenRequestClientCredentials.mjs";
|
|
|
105
105
|
export * from "./AuthTokenRequestRefresh.mjs";
|
|
106
106
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
107
107
|
export * from "./AuthTokenResponse.mjs";
|
|
108
|
+
export * from "./CodesConditionGroup.mjs";
|
|
109
|
+
export * from "./CodesConditionGroupConditionsItem.mjs";
|
|
110
|
+
export * from "./CodesConditionGroupMatch.mjs";
|
|
108
111
|
export * from "./CodesFilter.mjs";
|
|
109
112
|
export * from "./CodesFilterCondition.mjs";
|
|
110
113
|
export * from "./CodesFilterConditionOp.mjs";
|
|
@@ -113,6 +116,7 @@ export * from "./CodesGeneralReadResponse.mjs";
|
|
|
113
116
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
114
117
|
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
115
118
|
export * from "./CodesGeneralResponse.mjs";
|
|
119
|
+
export * from "./CodesSystemFilter.mjs";
|
|
116
120
|
export * from "./CommonA2AConnector.mjs";
|
|
117
121
|
export * from "./CommonA2AConnectorCreate.mjs";
|
|
118
122
|
export * from "./CommonAgentConnector.mjs";
|
|
@@ -230,6 +234,14 @@ export * from "./GuidedOutputSchema.mjs";
|
|
|
230
234
|
export * from "./GuidedSection.mjs";
|
|
231
235
|
export * from "./GuidedSectionGeneration.mjs";
|
|
232
236
|
export * from "./GuidedSectionGenerationPartial.mjs";
|
|
237
|
+
export * from "./GuidedSectionImpactResponse.mjs";
|
|
238
|
+
export * from "./GuidedSectionImpactSectionItem.mjs";
|
|
239
|
+
export * from "./GuidedSectionImpactSections.mjs";
|
|
240
|
+
export * from "./GuidedSectionImpactTemplateDirect.mjs";
|
|
241
|
+
export * from "./GuidedSectionImpactTemplateInheritedSection.mjs";
|
|
242
|
+
export * from "./GuidedSectionImpactTemplateInheritedTemplate.mjs";
|
|
243
|
+
export * from "./GuidedSectionImpactTemplateItem.mjs";
|
|
244
|
+
export * from "./GuidedSectionImpactTemplates.mjs";
|
|
233
245
|
export * from "./GuidedSectionInstructions.mjs";
|
|
234
246
|
export * from "./GuidedSectionInstructionsOverride.mjs";
|
|
235
247
|
export * from "./GuidedSectionInstructionsPartial.mjs";
|
|
@@ -299,6 +311,7 @@ export * from "./StreamConfigRetentionPolicy.mjs";
|
|
|
299
311
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
300
312
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
301
313
|
export * from "./StreamConfigTranscription.mjs";
|
|
314
|
+
export * from "./StreamConfigTranscriptionWordLevel.mjs";
|
|
302
315
|
export * from "./StreamDeltaUsageMessage.mjs";
|
|
303
316
|
export * from "./StreamEndedMessage.mjs";
|
|
304
317
|
export * from "./StreamEndMessage.mjs";
|
|
@@ -351,6 +364,7 @@ export * from "./TranscribeConfigMessage.mjs";
|
|
|
351
364
|
export * from "./TranscribeConfigReplacementsItem.mjs";
|
|
352
365
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
353
366
|
export * from "./TranscribeConfigStatusMessageType.mjs";
|
|
367
|
+
export * from "./TranscribeConfigWordLevel.mjs";
|
|
354
368
|
export * from "./TranscribeDeltaUsageMessage.mjs";
|
|
355
369
|
export * from "./TranscribeEndedMessage.mjs";
|
|
356
370
|
export * from "./TranscribeEndMessage.mjs";
|
|
@@ -368,6 +382,7 @@ export * from "./TranscribeFormattingTimes.mjs";
|
|
|
368
382
|
export * from "./TranscribeSupportedLanguage.mjs";
|
|
369
383
|
export * from "./TranscribeTranscriptData.mjs";
|
|
370
384
|
export * from "./TranscribeTranscriptMessage.mjs";
|
|
385
|
+
export * from "./TranscribeTranscriptMessageData.mjs";
|
|
371
386
|
export * from "./TranscribeUsageMessage.mjs";
|
|
372
387
|
export * from "./TranscriptsData.mjs";
|
|
373
388
|
export * from "./TranscriptsFormatting.mjs";
|
|
@@ -105,6 +105,9 @@ export * from "./AuthTokenRequestClientCredentials.mjs";
|
|
|
105
105
|
export * from "./AuthTokenRequestRefresh.mjs";
|
|
106
106
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
107
107
|
export * from "./AuthTokenResponse.mjs";
|
|
108
|
+
export * from "./CodesConditionGroup.mjs";
|
|
109
|
+
export * from "./CodesConditionGroupConditionsItem.mjs";
|
|
110
|
+
export * from "./CodesConditionGroupMatch.mjs";
|
|
108
111
|
export * from "./CodesFilter.mjs";
|
|
109
112
|
export * from "./CodesFilterCondition.mjs";
|
|
110
113
|
export * from "./CodesFilterConditionOp.mjs";
|
|
@@ -113,6 +116,7 @@ export * from "./CodesGeneralReadResponse.mjs";
|
|
|
113
116
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
114
117
|
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
115
118
|
export * from "./CodesGeneralResponse.mjs";
|
|
119
|
+
export * from "./CodesSystemFilter.mjs";
|
|
116
120
|
export * from "./CommonA2AConnector.mjs";
|
|
117
121
|
export * from "./CommonA2AConnectorCreate.mjs";
|
|
118
122
|
export * from "./CommonAgentConnector.mjs";
|
|
@@ -230,6 +234,14 @@ export * from "./GuidedOutputSchema.mjs";
|
|
|
230
234
|
export * from "./GuidedSection.mjs";
|
|
231
235
|
export * from "./GuidedSectionGeneration.mjs";
|
|
232
236
|
export * from "./GuidedSectionGenerationPartial.mjs";
|
|
237
|
+
export * from "./GuidedSectionImpactResponse.mjs";
|
|
238
|
+
export * from "./GuidedSectionImpactSectionItem.mjs";
|
|
239
|
+
export * from "./GuidedSectionImpactSections.mjs";
|
|
240
|
+
export * from "./GuidedSectionImpactTemplateDirect.mjs";
|
|
241
|
+
export * from "./GuidedSectionImpactTemplateInheritedSection.mjs";
|
|
242
|
+
export * from "./GuidedSectionImpactTemplateInheritedTemplate.mjs";
|
|
243
|
+
export * from "./GuidedSectionImpactTemplateItem.mjs";
|
|
244
|
+
export * from "./GuidedSectionImpactTemplates.mjs";
|
|
233
245
|
export * from "./GuidedSectionInstructions.mjs";
|
|
234
246
|
export * from "./GuidedSectionInstructionsOverride.mjs";
|
|
235
247
|
export * from "./GuidedSectionInstructionsPartial.mjs";
|
|
@@ -299,6 +311,7 @@ export * from "./StreamConfigRetentionPolicy.mjs";
|
|
|
299
311
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
300
312
|
export * from "./StreamConfigStatusMessageType.mjs";
|
|
301
313
|
export * from "./StreamConfigTranscription.mjs";
|
|
314
|
+
export * from "./StreamConfigTranscriptionWordLevel.mjs";
|
|
302
315
|
export * from "./StreamDeltaUsageMessage.mjs";
|
|
303
316
|
export * from "./StreamEndedMessage.mjs";
|
|
304
317
|
export * from "./StreamEndMessage.mjs";
|
|
@@ -351,6 +364,7 @@ export * from "./TranscribeConfigMessage.mjs";
|
|
|
351
364
|
export * from "./TranscribeConfigReplacementsItem.mjs";
|
|
352
365
|
export * from "./TranscribeConfigStatusMessage.mjs";
|
|
353
366
|
export * from "./TranscribeConfigStatusMessageType.mjs";
|
|
367
|
+
export * from "./TranscribeConfigWordLevel.mjs";
|
|
354
368
|
export * from "./TranscribeDeltaUsageMessage.mjs";
|
|
355
369
|
export * from "./TranscribeEndedMessage.mjs";
|
|
356
370
|
export * from "./TranscribeEndMessage.mjs";
|
|
@@ -368,6 +382,7 @@ export * from "./TranscribeFormattingTimes.mjs";
|
|
|
368
382
|
export * from "./TranscribeSupportedLanguage.mjs";
|
|
369
383
|
export * from "./TranscribeTranscriptData.mjs";
|
|
370
384
|
export * from "./TranscribeTranscriptMessage.mjs";
|
|
385
|
+
export * from "./TranscribeTranscriptMessageData.mjs";
|
|
371
386
|
export * from "./TranscribeUsageMessage.mjs";
|
|
372
387
|
export * from "./TranscriptsData.mjs";
|
|
373
388
|
export * from "./TranscriptsFormatting.mjs";
|
package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import type * as Corti from "../../../../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
4
|
import { CodesFilter } from "../../../../types/CodesFilter.mjs";
|
|
5
|
+
import { CodesSystemFilter } from "../../../../types/CodesSystemFilter.mjs";
|
|
5
6
|
import { CommonAiContext } from "../../../../types/CommonAiContext.mjs";
|
|
6
7
|
import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.mjs";
|
|
7
8
|
export declare const CodesGeneralPredictRequest: core.serialization.Schema<serializers.CodesGeneralPredictRequest.Raw, Corti.CodesGeneralPredictRequest>;
|
|
@@ -10,5 +11,6 @@ export declare namespace CodesGeneralPredictRequest {
|
|
|
10
11
|
system: CommonCodingSystemEnum.Raw[];
|
|
11
12
|
context: CommonAiContext.Raw[];
|
|
12
13
|
filter?: CodesFilter.Raw | null;
|
|
14
|
+
filters?: CodesSystemFilter.Raw[] | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import { CodesFilter } from "../../../../types/CodesFilter.mjs";
|
|
4
|
+
import { CodesSystemFilter } from "../../../../types/CodesSystemFilter.mjs";
|
|
4
5
|
import { CommonAiContext } from "../../../../types/CommonAiContext.mjs";
|
|
5
6
|
import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.mjs";
|
|
6
7
|
export const CodesGeneralPredictRequest = core.serialization.object({
|
|
7
8
|
system: core.serialization.list(CommonCodingSystemEnum),
|
|
8
9
|
context: core.serialization.list(CommonAiContext),
|
|
9
10
|
filter: CodesFilter.optional(),
|
|
11
|
+
filters: core.serialization.list(CodesSystemFilter).optional(),
|
|
10
12
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesConditionGroupMatch } from "./CodesConditionGroupMatch.mjs";
|
|
5
|
+
export declare const CodesConditionGroup: core.serialization.ObjectSchema<serializers.CodesConditionGroup.Raw, Corti.CodesConditionGroup>;
|
|
6
|
+
export declare namespace CodesConditionGroup {
|
|
7
|
+
interface Raw {
|
|
8
|
+
match?: CodesConditionGroupMatch.Raw | null;
|
|
9
|
+
conditions: serializers.CodesConditionGroupConditionsItem.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesConditionGroupMatch } from "./CodesConditionGroupMatch.mjs";
|
|
5
|
+
export const CodesConditionGroup = core.serialization.object({
|
|
6
|
+
match: CodesConditionGroupMatch.optional(),
|
|
7
|
+
conditions: core.serialization.list(core.serialization.lazy(() => serializers.CodesConditionGroupConditionsItem)),
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesFilterCondition } from "./CodesFilterCondition.mjs";
|
|
5
|
+
export declare const CodesConditionGroupConditionsItem: core.serialization.Schema<serializers.CodesConditionGroupConditionsItem.Raw, Corti.CodesConditionGroupConditionsItem>;
|
|
6
|
+
export declare namespace CodesConditionGroupConditionsItem {
|
|
7
|
+
type Raw = CodesFilterCondition.Raw | serializers.CodesConditionGroup.Raw;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import * as serializers from "../index.mjs";
|
|
4
|
+
import { CodesFilterCondition } from "./CodesFilterCondition.mjs";
|
|
5
|
+
export const CodesConditionGroupConditionsItem = core.serialization.undiscriminatedUnion([
|
|
6
|
+
CodesFilterCondition,
|
|
7
|
+
core.serialization.lazyObject(() => serializers.CodesConditionGroup),
|
|
8
|
+
]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const CodesConditionGroupMatch: core.serialization.Schema<serializers.CodesConditionGroupMatch.Raw, Corti.CodesConditionGroupMatch>;
|
|
5
|
+
export declare namespace CodesConditionGroupMatch {
|
|
6
|
+
type Raw = "all" | "any";
|
|
7
|
+
}
|