@corti/sdk 0.9.1-rc → 0.10.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/Client.d.ts +3 -0
- package/dist/cjs/Client.js +13 -8
- package/dist/cjs/api/errors/BadGatewayError.d.ts +9 -0
- package/dist/cjs/api/errors/BadGatewayError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +1 -0
- package/dist/cjs/api/resources/agents/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/agents/client/Client.js +11 -1
- package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.d.ts +2 -0
- package/dist/cjs/api/resources/agents/types/AgentsCreateAgentAgentType.d.ts +12 -0
- package/dist/cjs/api/resources/agents/types/AgentsCreateAgentAgentType.js +11 -0
- package/dist/cjs/api/resources/agents/types/AgentsCreateAgentExpertsItem.d.ts +1 -1
- package/dist/cjs/api/resources/agents/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/agents/types/index.js +1 -0
- package/dist/cjs/api/resources/auth/client/Client.js +1 -0
- package/dist/cjs/api/resources/codes/client/Client.d.ts +59 -0
- package/dist/cjs/api/resources/codes/client/Client.js +187 -0
- package/dist/cjs/api/resources/codes/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/codes/client/index.js +17 -0
- package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +23 -0
- package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.js +5 -0
- package/dist/cjs/api/resources/codes/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/codes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/codes/index.d.ts +1 -0
- package/dist/cjs/api/resources/codes/index.js +17 -0
- package/dist/cjs/api/resources/documents/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/documents/client/Client.js +6 -1
- package/dist/cjs/api/resources/facts/client/Client.js +6 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/interactions/client/Client.js +5 -0
- package/dist/cjs/api/resources/recordings/client/Client.js +4 -0
- package/dist/cjs/api/resources/templates/client/Client.js +3 -0
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +15 -1
- package/dist/cjs/api/resources/transcripts/client/Client.js +76 -1
- package/dist/cjs/api/types/AgentsCreateExpertReference.d.ts +15 -0
- package/dist/cjs/api/types/AgentsCreateExpertReference.js +5 -0
- package/dist/cjs/api/types/AgentsCreateMcpServer.d.ts +2 -0
- package/dist/cjs/api/types/AgentsExpertReference.d.ts +5 -3
- package/dist/cjs/api/types/AgentsMcpServer.d.ts +2 -0
- package/dist/cjs/api/types/CodesGeneralReadResponse.d.ts +17 -0
- package/dist/cjs/api/types/CodesGeneralReadResponse.js +5 -0
- package/dist/cjs/api/types/CodesGeneralReadResponseEvidencesItem.d.ts +9 -0
- package/dist/cjs/api/types/CodesGeneralReadResponseEvidencesItem.js +5 -0
- package/dist/cjs/api/types/CodesGeneralResponse.d.ts +11 -0
- package/dist/cjs/api/types/CodesGeneralResponse.js +5 -0
- package/dist/cjs/api/types/CommonAiContext.d.ts +5 -0
- package/dist/cjs/api/types/CommonAiContext.js +5 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +9 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +11 -0
- package/dist/cjs/api/types/CommonDocumentIdContext.d.ts +9 -0
- package/dist/cjs/api/types/CommonDocumentIdContext.js +5 -0
- package/dist/cjs/api/types/DocumentsContextWithFacts.d.ts +1 -1
- package/dist/cjs/api/types/DocumentsContextWithTranscript.d.ts +1 -1
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +1 -1
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +2 -2
- package/dist/cjs/api/types/ErrorResponse.d.ts +4 -5
- package/dist/cjs/api/types/TranscriptsResponse.d.ts +4 -0
- package/dist/cjs/api/types/TranscriptsStatusEnum.d.ts +12 -0
- package/dist/cjs/api/types/TranscriptsStatusEnum.js +11 -0
- package/dist/cjs/api/types/TranscriptsStatusResponse.d.ts +8 -0
- package/dist/cjs/api/types/TranscriptsStatusResponse.js +5 -0
- package/dist/cjs/api/types/index.d.ts +9 -0
- package/dist/cjs/api/types/index.js +9 -0
- package/dist/cjs/custom/CortiClient.d.ts +3 -0
- package/dist/cjs/custom/CortiClient.js +5 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +6 -1
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.d.ts +2 -0
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.js +2 -0
- package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentAgentType.d.ts +10 -0
- package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentAgentType.js +41 -0
- package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.d.ts +2 -2
- package/dist/cjs/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.js +2 -2
- package/dist/cjs/serialization/resources/agents/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/agents/types/index.js +1 -0
- package/dist/cjs/serialization/resources/codes/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/codes/client/index.js +17 -0
- package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +16 -0
- package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.js +47 -0
- package/dist/cjs/serialization/resources/codes/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/codes/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/codes/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/codes/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/types/AgentsCreateExpertReference.d.ts +15 -0
- package/dist/cjs/serialization/types/AgentsCreateExpertReference.js +46 -0
- package/dist/cjs/serialization/types/AgentsCreateMcpServer.d.ts +1 -0
- package/dist/cjs/serialization/types/AgentsCreateMcpServer.js +1 -0
- package/dist/cjs/serialization/types/AgentsExpertReference.d.ts +3 -2
- package/dist/cjs/serialization/types/AgentsExpertReference.js +3 -2
- package/dist/cjs/serialization/types/AgentsMcpServer.d.ts +1 -0
- package/dist/cjs/serialization/types/AgentsMcpServer.js +1 -0
- package/dist/cjs/serialization/types/CodesGeneralReadResponse.d.ts +17 -0
- package/dist/cjs/serialization/types/CodesGeneralReadResponse.js +48 -0
- package/dist/cjs/serialization/types/CodesGeneralReadResponseEvidencesItem.d.ts +13 -0
- package/dist/cjs/serialization/types/CodesGeneralReadResponseEvidencesItem.js +44 -0
- package/dist/cjs/serialization/types/CodesGeneralResponse.d.ts +16 -0
- package/dist/cjs/serialization/types/CodesGeneralResponse.js +47 -0
- package/dist/cjs/serialization/types/CommonAiContext.d.ts +12 -0
- package/dist/cjs/serialization/types/CommonAiContext.js +43 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +41 -0
- package/dist/cjs/serialization/types/CommonDocumentIdContext.d.ts +13 -0
- package/dist/cjs/serialization/types/CommonDocumentIdContext.js +44 -0
- package/dist/cjs/serialization/types/ErrorResponse.d.ts +4 -5
- package/dist/cjs/serialization/types/ErrorResponse.js +6 -5
- package/dist/cjs/serialization/types/TranscriptsResponse.d.ts +3 -0
- package/dist/cjs/serialization/types/TranscriptsResponse.js +3 -0
- package/dist/cjs/serialization/types/TranscriptsStatusEnum.d.ts +10 -0
- package/dist/cjs/serialization/types/TranscriptsStatusEnum.js +41 -0
- package/dist/cjs/serialization/types/TranscriptsStatusResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/TranscriptsStatusResponse.js +44 -0
- package/dist/cjs/serialization/types/index.d.ts +9 -0
- package/dist/cjs/serialization/types/index.js +9 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/errors/BadGatewayError.d.mts +9 -0
- package/dist/esm/api/errors/BadGatewayError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/resources/agents/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/agents/client/Client.mjs +11 -1
- package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.d.mts +2 -0
- package/dist/esm/api/resources/agents/types/AgentsCreateAgentAgentType.d.mts +12 -0
- package/dist/esm/api/resources/agents/types/AgentsCreateAgentAgentType.mjs +8 -0
- package/dist/esm/api/resources/agents/types/AgentsCreateAgentExpertsItem.d.mts +1 -1
- package/dist/esm/api/resources/agents/types/index.d.mts +1 -0
- package/dist/esm/api/resources/agents/types/index.mjs +1 -0
- package/dist/esm/api/resources/auth/client/Client.mjs +1 -0
- package/dist/esm/api/resources/codes/client/Client.d.mts +59 -0
- package/dist/esm/api/resources/codes/client/Client.mjs +150 -0
- package/dist/esm/api/resources/codes/client/index.d.mts +2 -0
- package/dist/esm/api/resources/codes/client/index.mjs +1 -0
- package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +23 -0
- package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.mjs +4 -0
- package/dist/esm/api/resources/codes/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/codes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/codes/index.d.mts +1 -0
- package/dist/esm/api/resources/codes/index.mjs +1 -0
- package/dist/esm/api/resources/documents/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/documents/client/Client.mjs +6 -1
- package/dist/esm/api/resources/facts/client/Client.mjs +6 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/interactions/client/Client.mjs +5 -0
- package/dist/esm/api/resources/recordings/client/Client.mjs +4 -0
- package/dist/esm/api/resources/templates/client/Client.mjs +3 -0
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +15 -1
- package/dist/esm/api/resources/transcripts/client/Client.mjs +76 -1
- package/dist/esm/api/types/AgentsCreateExpertReference.d.mts +15 -0
- package/dist/esm/api/types/AgentsCreateExpertReference.mjs +4 -0
- package/dist/esm/api/types/AgentsCreateMcpServer.d.mts +2 -0
- package/dist/esm/api/types/AgentsExpertReference.d.mts +5 -3
- package/dist/esm/api/types/AgentsMcpServer.d.mts +2 -0
- package/dist/esm/api/types/CodesGeneralReadResponse.d.mts +17 -0
- package/dist/esm/api/types/CodesGeneralReadResponse.mjs +4 -0
- package/dist/esm/api/types/CodesGeneralReadResponseEvidencesItem.d.mts +9 -0
- package/dist/esm/api/types/CodesGeneralReadResponseEvidencesItem.mjs +4 -0
- package/dist/esm/api/types/CodesGeneralResponse.d.mts +11 -0
- package/dist/esm/api/types/CodesGeneralResponse.mjs +4 -0
- package/dist/esm/api/types/CommonAiContext.d.mts +5 -0
- package/dist/esm/api/types/CommonAiContext.mjs +4 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +9 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +8 -0
- package/dist/esm/api/types/CommonDocumentIdContext.d.mts +9 -0
- package/dist/esm/api/types/CommonDocumentIdContext.mjs +4 -0
- package/dist/esm/api/types/DocumentsContextWithFacts.d.mts +1 -1
- package/dist/esm/api/types/DocumentsContextWithTranscript.d.mts +1 -1
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +1 -1
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +2 -2
- package/dist/esm/api/types/ErrorResponse.d.mts +4 -5
- package/dist/esm/api/types/TranscriptsResponse.d.mts +4 -0
- package/dist/esm/api/types/TranscriptsStatusEnum.d.mts +12 -0
- package/dist/esm/api/types/TranscriptsStatusEnum.mjs +8 -0
- package/dist/esm/api/types/TranscriptsStatusResponse.d.mts +8 -0
- package/dist/esm/api/types/TranscriptsStatusResponse.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +9 -0
- package/dist/esm/api/types/index.mjs +9 -0
- package/dist/esm/custom/CortiClient.d.mts +3 -0
- package/dist/esm/custom/CortiClient.mjs +5 -0
- package/dist/esm/index.d.mts +4 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.d.mts +2 -0
- package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.mjs +2 -0
- package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentAgentType.d.mts +10 -0
- package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentAgentType.mjs +5 -0
- package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.d.mts +2 -2
- package/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.mjs +2 -2
- package/dist/esm/serialization/resources/agents/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/agents/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/codes/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/codes/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +16 -0
- package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs +11 -0
- package/dist/esm/serialization/resources/codes/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/codes/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/codes/index.d.mts +1 -0
- package/dist/esm/serialization/resources/codes/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/types/AgentsCreateExpertReference.d.mts +15 -0
- package/dist/esm/serialization/types/AgentsCreateExpertReference.mjs +10 -0
- package/dist/esm/serialization/types/AgentsCreateMcpServer.d.mts +1 -0
- package/dist/esm/serialization/types/AgentsCreateMcpServer.mjs +1 -0
- package/dist/esm/serialization/types/AgentsExpertReference.d.mts +3 -2
- package/dist/esm/serialization/types/AgentsExpertReference.mjs +3 -2
- package/dist/esm/serialization/types/AgentsMcpServer.d.mts +1 -0
- package/dist/esm/serialization/types/AgentsMcpServer.mjs +1 -0
- package/dist/esm/serialization/types/CodesGeneralReadResponse.d.mts +17 -0
- package/dist/esm/serialization/types/CodesGeneralReadResponse.mjs +12 -0
- package/dist/esm/serialization/types/CodesGeneralReadResponseEvidencesItem.d.mts +13 -0
- package/dist/esm/serialization/types/CodesGeneralReadResponseEvidencesItem.mjs +8 -0
- package/dist/esm/serialization/types/CodesGeneralResponse.d.mts +16 -0
- package/dist/esm/serialization/types/CodesGeneralResponse.mjs +11 -0
- package/dist/esm/serialization/types/CommonAiContext.d.mts +12 -0
- package/dist/esm/serialization/types/CommonAiContext.mjs +7 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +10 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +5 -0
- package/dist/esm/serialization/types/CommonDocumentIdContext.d.mts +13 -0
- package/dist/esm/serialization/types/CommonDocumentIdContext.mjs +8 -0
- package/dist/esm/serialization/types/ErrorResponse.d.mts +4 -5
- package/dist/esm/serialization/types/ErrorResponse.mjs +6 -5
- package/dist/esm/serialization/types/TranscriptsResponse.d.mts +3 -0
- package/dist/esm/serialization/types/TranscriptsResponse.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsStatusEnum.d.mts +10 -0
- package/dist/esm/serialization/types/TranscriptsStatusEnum.mjs +5 -0
- package/dist/esm/serialization/types/TranscriptsStatusResponse.d.mts +13 -0
- package/dist/esm/serialization/types/TranscriptsStatusResponse.mjs +8 -0
- package/dist/esm/serialization/types/index.d.mts +9 -0
- package/dist/esm/serialization/types/index.mjs +9 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
import { CommonCodingSystemEnum } from "./CommonCodingSystemEnum.js";
|
|
8
|
+
import { CodesGeneralReadResponseEvidencesItem } from "./CodesGeneralReadResponseEvidencesItem.js";
|
|
9
|
+
export declare const CodesGeneralReadResponse: core.serialization.ObjectSchema<serializers.CodesGeneralReadResponse.Raw, Corti.CodesGeneralReadResponse>;
|
|
10
|
+
export declare namespace CodesGeneralReadResponse {
|
|
11
|
+
interface Raw {
|
|
12
|
+
system: CommonCodingSystemEnum.Raw;
|
|
13
|
+
code: string;
|
|
14
|
+
display: string;
|
|
15
|
+
evidences?: CodesGeneralReadResponseEvidencesItem.Raw[] | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CodesGeneralReadResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
const CommonCodingSystemEnum_js_1 = require("./CommonCodingSystemEnum.js");
|
|
42
|
+
const CodesGeneralReadResponseEvidencesItem_js_1 = require("./CodesGeneralReadResponseEvidencesItem.js");
|
|
43
|
+
exports.CodesGeneralReadResponse = core.serialization.object({
|
|
44
|
+
system: CommonCodingSystemEnum_js_1.CommonCodingSystemEnum,
|
|
45
|
+
code: core.serialization.string(),
|
|
46
|
+
display: core.serialization.string(),
|
|
47
|
+
evidences: core.serialization.list(CodesGeneralReadResponseEvidencesItem_js_1.CodesGeneralReadResponseEvidencesItem).optional(),
|
|
48
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
export declare const CodesGeneralReadResponseEvidencesItem: core.serialization.ObjectSchema<serializers.CodesGeneralReadResponseEvidencesItem.Raw, Corti.CodesGeneralReadResponseEvidencesItem>;
|
|
8
|
+
export declare namespace CodesGeneralReadResponseEvidencesItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
contextIndex?: number | null;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CodesGeneralReadResponseEvidencesItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
exports.CodesGeneralReadResponseEvidencesItem = core.serialization.object({
|
|
42
|
+
contextIndex: core.serialization.number().optional(),
|
|
43
|
+
text: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
import { CodesGeneralReadResponse } from "./CodesGeneralReadResponse.js";
|
|
8
|
+
import { CommonUsageInfo } from "./CommonUsageInfo.js";
|
|
9
|
+
export declare const CodesGeneralResponse: core.serialization.ObjectSchema<serializers.CodesGeneralResponse.Raw, Corti.CodesGeneralResponse>;
|
|
10
|
+
export declare namespace CodesGeneralResponse {
|
|
11
|
+
interface Raw {
|
|
12
|
+
codes: CodesGeneralReadResponse.Raw[];
|
|
13
|
+
candidates: CodesGeneralReadResponse.Raw[];
|
|
14
|
+
usageInfo?: CommonUsageInfo.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CodesGeneralResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
const CodesGeneralReadResponse_js_1 = require("./CodesGeneralReadResponse.js");
|
|
42
|
+
const CommonUsageInfo_js_1 = require("./CommonUsageInfo.js");
|
|
43
|
+
exports.CodesGeneralResponse = core.serialization.object({
|
|
44
|
+
codes: core.serialization.list(CodesGeneralReadResponse_js_1.CodesGeneralReadResponse),
|
|
45
|
+
candidates: core.serialization.list(CodesGeneralReadResponse_js_1.CodesGeneralReadResponse),
|
|
46
|
+
usageInfo: CommonUsageInfo_js_1.CommonUsageInfo.optional(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
import { CommonTextContext } from "./CommonTextContext.js";
|
|
8
|
+
import { CommonDocumentIdContext } from "./CommonDocumentIdContext.js";
|
|
9
|
+
export declare const CommonAiContext: core.serialization.Schema<serializers.CommonAiContext.Raw, Corti.CommonAiContext>;
|
|
10
|
+
export declare namespace CommonAiContext {
|
|
11
|
+
type Raw = CommonTextContext.Raw | CommonDocumentIdContext.Raw;
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CommonAiContext = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
const CommonTextContext_js_1 = require("./CommonTextContext.js");
|
|
42
|
+
const CommonDocumentIdContext_js_1 = require("./CommonDocumentIdContext.js");
|
|
43
|
+
exports.CommonAiContext = core.serialization.undiscriminatedUnion([CommonTextContext_js_1.CommonTextContext, CommonDocumentIdContext_js_1.CommonDocumentIdContext]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
export declare const CommonCodingSystemEnum: core.serialization.Schema<serializers.CommonCodingSystemEnum.Raw, Corti.CommonCodingSystemEnum>;
|
|
8
|
+
export declare namespace CommonCodingSystemEnum {
|
|
9
|
+
type Raw = "icd10cm" | "icd10pcs" | "cpt";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CommonCodingSystemEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
exports.CommonCodingSystemEnum = core.serialization.enum_(["icd10cm", "icd10pcs", "cpt"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
export declare const CommonDocumentIdContext: core.serialization.ObjectSchema<serializers.CommonDocumentIdContext.Raw, Corti.CommonDocumentIdContext>;
|
|
8
|
+
export declare namespace CommonDocumentIdContext {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: "documentId";
|
|
11
|
+
documentId: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CommonDocumentIdContext = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
exports.CommonDocumentIdContext = core.serialization.object({
|
|
42
|
+
type: core.serialization.stringLiteral("documentId"),
|
|
43
|
+
documentId: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -7,11 +7,10 @@ import * as core from "../../core/index.js";
|
|
|
7
7
|
export declare const ErrorResponse: core.serialization.ObjectSchema<serializers.ErrorResponse.Raw, Corti.ErrorResponse>;
|
|
8
8
|
export declare namespace ErrorResponse {
|
|
9
9
|
interface Raw {
|
|
10
|
-
requestid
|
|
10
|
+
requestid: string;
|
|
11
|
+
status: number;
|
|
11
12
|
type: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
details?: string | null;
|
|
15
|
-
instance?: string | null;
|
|
13
|
+
detail: string;
|
|
14
|
+
validationErrors?: Record<string, string>[] | null;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -39,10 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ErrorResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
41
|
exports.ErrorResponse = core.serialization.object({
|
|
42
|
-
requestid: core.serialization.string()
|
|
42
|
+
requestid: core.serialization.string(),
|
|
43
|
+
status: core.serialization.number(),
|
|
43
44
|
type: core.serialization.string(),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
detail: core.serialization.string(),
|
|
46
|
+
validationErrors: core.serialization
|
|
47
|
+
.list(core.serialization.record(core.serialization.string(), core.serialization.string()))
|
|
48
|
+
.optional(),
|
|
48
49
|
});
|
|
@@ -8,6 +8,7 @@ import { Uuid } from "./Uuid.js";
|
|
|
8
8
|
import { TranscriptsMetadata } from "./TranscriptsMetadata.js";
|
|
9
9
|
import { CommonTranscriptResponse } from "./CommonTranscriptResponse.js";
|
|
10
10
|
import { CommonUsageInfo } from "./CommonUsageInfo.js";
|
|
11
|
+
import { TranscriptsStatusEnum } from "./TranscriptsStatusEnum.js";
|
|
11
12
|
export declare const TranscriptsResponse: core.serialization.ObjectSchema<serializers.TranscriptsResponse.Raw, Corti.TranscriptsResponse>;
|
|
12
13
|
export declare namespace TranscriptsResponse {
|
|
13
14
|
interface Raw {
|
|
@@ -15,5 +16,7 @@ export declare namespace TranscriptsResponse {
|
|
|
15
16
|
metadata: TranscriptsMetadata.Raw;
|
|
16
17
|
transcripts?: (CommonTranscriptResponse.Raw[] | null) | null;
|
|
17
18
|
usageInfo: CommonUsageInfo.Raw;
|
|
19
|
+
recordingId: Uuid.Raw;
|
|
20
|
+
status: TranscriptsStatusEnum.Raw;
|
|
18
21
|
}
|
|
19
22
|
}
|
|
@@ -42,9 +42,12 @@ const Uuid_js_1 = require("./Uuid.js");
|
|
|
42
42
|
const TranscriptsMetadata_js_1 = require("./TranscriptsMetadata.js");
|
|
43
43
|
const CommonTranscriptResponse_js_1 = require("./CommonTranscriptResponse.js");
|
|
44
44
|
const CommonUsageInfo_js_1 = require("./CommonUsageInfo.js");
|
|
45
|
+
const TranscriptsStatusEnum_js_1 = require("./TranscriptsStatusEnum.js");
|
|
45
46
|
exports.TranscriptsResponse = core.serialization.object({
|
|
46
47
|
id: Uuid_js_1.Uuid,
|
|
47
48
|
metadata: TranscriptsMetadata_js_1.TranscriptsMetadata,
|
|
48
49
|
transcripts: core.serialization.list(CommonTranscriptResponse_js_1.CommonTranscriptResponse).optionalNullable(),
|
|
49
50
|
usageInfo: CommonUsageInfo_js_1.CommonUsageInfo,
|
|
51
|
+
recordingId: Uuid_js_1.Uuid,
|
|
52
|
+
status: TranscriptsStatusEnum_js_1.TranscriptsStatusEnum,
|
|
50
53
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
export declare const TranscriptsStatusEnum: core.serialization.Schema<serializers.TranscriptsStatusEnum.Raw, Corti.TranscriptsStatusEnum>;
|
|
8
|
+
export declare namespace TranscriptsStatusEnum {
|
|
9
|
+
type Raw = "completed" | "processing" | "failed";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TranscriptsStatusEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
exports.TranscriptsStatusEnum = core.serialization.enum_(["completed", "processing", "failed"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.js";
|
|
5
|
+
import * as Corti from "../../api/index.js";
|
|
6
|
+
import * as core from "../../core/index.js";
|
|
7
|
+
import { TranscriptsStatusEnum } from "./TranscriptsStatusEnum.js";
|
|
8
|
+
export declare const TranscriptsStatusResponse: core.serialization.ObjectSchema<serializers.TranscriptsStatusResponse.Raw, Corti.TranscriptsStatusResponse>;
|
|
9
|
+
export declare namespace TranscriptsStatusResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
status: TranscriptsStatusEnum.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TranscriptsStatusResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core/index.js"));
|
|
41
|
+
const TranscriptsStatusEnum_js_1 = require("./TranscriptsStatusEnum.js");
|
|
42
|
+
exports.TranscriptsStatusResponse = core.serialization.object({
|
|
43
|
+
status: TranscriptsStatusEnum_js_1.TranscriptsStatusEnum,
|
|
44
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./CommonCodingSystemEnum.js";
|
|
1
2
|
export * from "./DocumentsContext.js";
|
|
2
3
|
export * from "./DocumentsContextWithFacts.js";
|
|
3
4
|
export * from "./DocumentsContextWithTranscript.js";
|
|
@@ -20,7 +21,9 @@ export * from "./DocumentsCreateRequest.js";
|
|
|
20
21
|
export * from "./DocumentsCreateRequestWithTemplateKey.js";
|
|
21
22
|
export * from "./DocumentsCreateRequestWithTemplate.js";
|
|
22
23
|
export * from "./DocumentsSectionInput.js";
|
|
24
|
+
export * from "./CommonDocumentIdContext.js";
|
|
23
25
|
export * from "./CommonTextContext.js";
|
|
26
|
+
export * from "./CommonAiContext.js";
|
|
24
27
|
export * from "./FactsCreateInput.js";
|
|
25
28
|
export * from "./FactsBatchUpdateInput.js";
|
|
26
29
|
export * from "./TranscriptsParticipant.js";
|
|
@@ -37,6 +40,9 @@ export * from "./FactsCreateResponse.js";
|
|
|
37
40
|
export * from "./FactsListResponse.js";
|
|
38
41
|
export * from "./FactsBatchUpdateResponse.js";
|
|
39
42
|
export * from "./FactsBatchUpdateItem.js";
|
|
43
|
+
export * from "./CodesGeneralResponse.js";
|
|
44
|
+
export * from "./CodesGeneralReadResponseEvidencesItem.js";
|
|
45
|
+
export * from "./CodesGeneralReadResponse.js";
|
|
40
46
|
export * from "./FactsExtractResponseFactsItem.js";
|
|
41
47
|
export * from "./FactsExtractResponse.js";
|
|
42
48
|
export * from "./InteractionsGetResponse.js";
|
|
@@ -49,6 +55,8 @@ export * from "./TranscriptsResponse.js";
|
|
|
49
55
|
export * from "./TranscriptsListResponse.js";
|
|
50
56
|
export * from "./TranscriptsListItem.js";
|
|
51
57
|
export * from "./TranscriptsData.js";
|
|
58
|
+
export * from "./TranscriptsStatusResponse.js";
|
|
59
|
+
export * from "./TranscriptsStatusEnum.js";
|
|
52
60
|
export * from "./TemplatesSection.js";
|
|
53
61
|
export * from "./CommonSortingDirectionEnum.js";
|
|
54
62
|
export * from "./TemplatesDocumentationModeEnum.js";
|
|
@@ -143,6 +151,7 @@ export * from "./AgentsAgentExpertsItem.js";
|
|
|
143
151
|
export * from "./AgentsAgent.js";
|
|
144
152
|
export * from "./AgentsAgentReference.js";
|
|
145
153
|
export * from "./AgentsCreateExpert.js";
|
|
154
|
+
export * from "./AgentsCreateExpertReference.js";
|
|
146
155
|
export * from "./AgentsExpert.js";
|
|
147
156
|
export * from "./AgentsExpertReference.js";
|
|
148
157
|
export * from "./AgentsAgentResponse.js";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CommonCodingSystemEnum.js"), exports);
|
|
17
18
|
__exportStar(require("./DocumentsContext.js"), exports);
|
|
18
19
|
__exportStar(require("./DocumentsContextWithFacts.js"), exports);
|
|
19
20
|
__exportStar(require("./DocumentsContextWithTranscript.js"), exports);
|
|
@@ -36,7 +37,9 @@ __exportStar(require("./DocumentsCreateRequest.js"), exports);
|
|
|
36
37
|
__exportStar(require("./DocumentsCreateRequestWithTemplateKey.js"), exports);
|
|
37
38
|
__exportStar(require("./DocumentsCreateRequestWithTemplate.js"), exports);
|
|
38
39
|
__exportStar(require("./DocumentsSectionInput.js"), exports);
|
|
40
|
+
__exportStar(require("./CommonDocumentIdContext.js"), exports);
|
|
39
41
|
__exportStar(require("./CommonTextContext.js"), exports);
|
|
42
|
+
__exportStar(require("./CommonAiContext.js"), exports);
|
|
40
43
|
__exportStar(require("./FactsCreateInput.js"), exports);
|
|
41
44
|
__exportStar(require("./FactsBatchUpdateInput.js"), exports);
|
|
42
45
|
__exportStar(require("./TranscriptsParticipant.js"), exports);
|
|
@@ -53,6 +56,9 @@ __exportStar(require("./FactsCreateResponse.js"), exports);
|
|
|
53
56
|
__exportStar(require("./FactsListResponse.js"), exports);
|
|
54
57
|
__exportStar(require("./FactsBatchUpdateResponse.js"), exports);
|
|
55
58
|
__exportStar(require("./FactsBatchUpdateItem.js"), exports);
|
|
59
|
+
__exportStar(require("./CodesGeneralResponse.js"), exports);
|
|
60
|
+
__exportStar(require("./CodesGeneralReadResponseEvidencesItem.js"), exports);
|
|
61
|
+
__exportStar(require("./CodesGeneralReadResponse.js"), exports);
|
|
56
62
|
__exportStar(require("./FactsExtractResponseFactsItem.js"), exports);
|
|
57
63
|
__exportStar(require("./FactsExtractResponse.js"), exports);
|
|
58
64
|
__exportStar(require("./InteractionsGetResponse.js"), exports);
|
|
@@ -65,6 +71,8 @@ __exportStar(require("./TranscriptsResponse.js"), exports);
|
|
|
65
71
|
__exportStar(require("./TranscriptsListResponse.js"), exports);
|
|
66
72
|
__exportStar(require("./TranscriptsListItem.js"), exports);
|
|
67
73
|
__exportStar(require("./TranscriptsData.js"), exports);
|
|
74
|
+
__exportStar(require("./TranscriptsStatusResponse.js"), exports);
|
|
75
|
+
__exportStar(require("./TranscriptsStatusEnum.js"), exports);
|
|
68
76
|
__exportStar(require("./TemplatesSection.js"), exports);
|
|
69
77
|
__exportStar(require("./CommonSortingDirectionEnum.js"), exports);
|
|
70
78
|
__exportStar(require("./TemplatesDocumentationModeEnum.js"), exports);
|
|
@@ -159,6 +167,7 @@ __exportStar(require("./AgentsAgentExpertsItem.js"), exports);
|
|
|
159
167
|
__exportStar(require("./AgentsAgent.js"), exports);
|
|
160
168
|
__exportStar(require("./AgentsAgentReference.js"), exports);
|
|
161
169
|
__exportStar(require("./AgentsCreateExpert.js"), exports);
|
|
170
|
+
__exportStar(require("./AgentsCreateExpertReference.js"), exports);
|
|
162
171
|
__exportStar(require("./AgentsExpert.js"), exports);
|
|
163
172
|
__exportStar(require("./AgentsExpertReference.js"), exports);
|
|
164
173
|
__exportStar(require("./AgentsAgentResponse.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.10.0-rc.1";
|
package/dist/cjs/version.js
CHANGED