@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
|
@@ -22,6 +22,7 @@ import { Facts } from "../api/resources/facts/client/Client.mjs";
|
|
|
22
22
|
import { Documents } from "../api/resources/documents/client/Client.mjs";
|
|
23
23
|
import { Templates } from "../api/resources/templates/client/Client.mjs";
|
|
24
24
|
import { Agents } from "../api/resources/agents/client/Client.mjs";
|
|
25
|
+
import { Codes } from "../api/resources/codes/client/Client.mjs";
|
|
25
26
|
/**
|
|
26
27
|
* Patch: changed import to custom Stream and Transcribe implementations
|
|
27
28
|
*/
|
|
@@ -130,6 +131,7 @@ export declare class CortiClient {
|
|
|
130
131
|
*/
|
|
131
132
|
protected _stream: Stream | undefined;
|
|
132
133
|
protected _transcribe: Transcribe | undefined;
|
|
134
|
+
protected _codes: Codes | undefined;
|
|
133
135
|
constructor(_options: CortiClient.Options);
|
|
134
136
|
get interactions(): Interactions;
|
|
135
137
|
get recordings(): Recordings;
|
|
@@ -140,4 +142,5 @@ export declare class CortiClient {
|
|
|
140
142
|
get agents(): Agents;
|
|
141
143
|
get stream(): Stream;
|
|
142
144
|
get transcribe(): Transcribe;
|
|
145
|
+
get codes(): Codes;
|
|
143
146
|
}
|
|
@@ -36,6 +36,7 @@ import { Facts } from "../api/resources/facts/client/Client.mjs";
|
|
|
36
36
|
import { Documents } from "../api/resources/documents/client/Client.mjs";
|
|
37
37
|
import { Templates } from "../api/resources/templates/client/Client.mjs";
|
|
38
38
|
import { Agents } from "../api/resources/agents/client/Client.mjs";
|
|
39
|
+
import { Codes } from "../api/resources/codes/client/Client.mjs";
|
|
39
40
|
/**
|
|
40
41
|
* Patch: changed import to custom Stream and Transcribe implementations
|
|
41
42
|
*/
|
|
@@ -123,4 +124,8 @@ export class CortiClient {
|
|
|
123
124
|
var _a;
|
|
124
125
|
return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Transcribe(Object.assign(Object.assign({}, this._options), { token: this._oauthTokenProvider ? () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) : undefined }))));
|
|
125
126
|
}
|
|
127
|
+
get codes() {
|
|
128
|
+
var _a;
|
|
129
|
+
return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new Codes(Object.assign(Object.assign({}, this._options), { token: this._oauthTokenProvider ? () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) : undefined }))));
|
|
130
|
+
}
|
|
126
131
|
}
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -23,3 +23,7 @@ export { ParseError } from "./core/schemas/builders/schema-utils/ParseError.mjs"
|
|
|
23
23
|
* Patch: added new export to provide SDK-level error handling.
|
|
24
24
|
*/
|
|
25
25
|
export { CortiSDKError } from "./custom/CortiSDKError.mjs";
|
|
26
|
+
/**
|
|
27
|
+
* Patch: added new export to expose environment resolution utility.
|
|
28
|
+
*/
|
|
29
|
+
export { getEnvironment } from "./custom/utils/getEnvironmentFromString.mjs";
|
package/dist/esm/index.mjs
CHANGED
|
@@ -23,3 +23,7 @@ export { ParseError } from "./core/schemas/builders/schema-utils/ParseError.mjs"
|
|
|
23
23
|
* Patch: added new export to provide SDK-level error handling.
|
|
24
24
|
*/
|
|
25
25
|
export { CortiSDKError } from "./custom/CortiSDKError.mjs";
|
|
26
|
+
/**
|
|
27
|
+
* Patch: added new export to expose environment resolution utility.
|
|
28
|
+
*/
|
|
29
|
+
export { getEnvironment } from "./custom/utils/getEnvironmentFromString.mjs";
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../../index.mjs";
|
|
5
5
|
import * as Corti from "../../../../../api/index.mjs";
|
|
6
6
|
import * as core from "../../../../../core/index.mjs";
|
|
7
|
+
import { AgentsCreateAgentAgentType } from "../../types/AgentsCreateAgentAgentType.mjs";
|
|
7
8
|
import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.mjs";
|
|
8
9
|
export declare const AgentsCreateAgent: core.serialization.Schema<serializers.AgentsCreateAgent.Raw, Omit<Corti.AgentsCreateAgent, "ephemeral">>;
|
|
9
10
|
export declare namespace AgentsCreateAgent {
|
|
10
11
|
interface Raw {
|
|
11
12
|
name: string;
|
|
13
|
+
agentType?: AgentsCreateAgentAgentType.Raw | null;
|
|
12
14
|
systemPrompt?: string | null;
|
|
13
15
|
description: string;
|
|
14
16
|
experts?: AgentsCreateAgentExpertsItem.Raw[] | null;
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../../../../core/index.mjs";
|
|
5
|
+
import { AgentsCreateAgentAgentType } from "../../types/AgentsCreateAgentAgentType.mjs";
|
|
5
6
|
import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.mjs";
|
|
6
7
|
export const AgentsCreateAgent = core.serialization.object({
|
|
7
8
|
name: core.serialization.string(),
|
|
9
|
+
agentType: AgentsCreateAgentAgentType.optional(),
|
|
8
10
|
systemPrompt: core.serialization.string().optional(),
|
|
9
11
|
description: core.serialization.string(),
|
|
10
12
|
experts: core.serialization.list(AgentsCreateAgentExpertsItem).optional(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.mjs";
|
|
5
|
+
import * as Corti from "../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../core/index.mjs";
|
|
7
|
+
export declare const AgentsCreateAgentAgentType: core.serialization.Schema<serializers.AgentsCreateAgentAgentType.Raw, Corti.AgentsCreateAgentAgentType>;
|
|
8
|
+
export declare namespace AgentsCreateAgentAgentType {
|
|
9
|
+
type Raw = "expert" | "orchestrator" | "interviewing-expert";
|
|
10
|
+
}
|
|
@@ -5,8 +5,8 @@ import * as serializers from "../../../index.mjs";
|
|
|
5
5
|
import * as Corti from "../../../../api/index.mjs";
|
|
6
6
|
import * as core from "../../../../core/index.mjs";
|
|
7
7
|
import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { AgentsCreateExpertReference } from "../../../types/AgentsCreateExpertReference.mjs";
|
|
9
9
|
export declare const AgentsCreateAgentExpertsItem: core.serialization.Schema<serializers.AgentsCreateAgentExpertsItem.Raw, Corti.AgentsCreateAgentExpertsItem>;
|
|
10
10
|
export declare namespace AgentsCreateAgentExpertsItem {
|
|
11
|
-
type Raw = AgentsCreateExpert.Raw |
|
|
11
|
+
type Raw = AgentsCreateExpert.Raw | AgentsCreateExpertReference.Raw;
|
|
12
12
|
}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../../../core/index.mjs";
|
|
5
5
|
import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.mjs";
|
|
6
|
-
import {
|
|
7
|
-
export const AgentsCreateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert,
|
|
6
|
+
import { AgentsCreateExpertReference } from "../../../types/AgentsCreateExpertReference.mjs";
|
|
7
|
+
export const AgentsCreateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert, AgentsCreateExpertReference]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index.mjs";
|
|
5
|
+
import * as Corti from "../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../core/index.mjs";
|
|
7
|
+
import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.mjs";
|
|
8
|
+
import { CommonAiContext } from "../../../../types/CommonAiContext.mjs";
|
|
9
|
+
export declare const CodesGeneralPredictRequest: core.serialization.Schema<serializers.CodesGeneralPredictRequest.Raw, Corti.CodesGeneralPredictRequest>;
|
|
10
|
+
export declare namespace CodesGeneralPredictRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
system: CommonCodingSystemEnum.Raw[];
|
|
13
|
+
context: CommonAiContext.Raw[];
|
|
14
|
+
maxCandidates?: number | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../core/index.mjs";
|
|
5
|
+
import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.mjs";
|
|
6
|
+
import { CommonAiContext } from "../../../../types/CommonAiContext.mjs";
|
|
7
|
+
export const CodesGeneralPredictRequest = core.serialization.object({
|
|
8
|
+
system: core.serialization.list(CommonCodingSystemEnum),
|
|
9
|
+
context: core.serialization.list(CommonAiContext),
|
|
10
|
+
maxCandidates: core.serialization.number().optional(),
|
|
11
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CodesGeneralPredictRequest } from "./CodesGeneralPredictRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CodesGeneralPredictRequest } from "./CodesGeneralPredictRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -15,5 +15,7 @@ export * as facts from "./facts/index.mjs";
|
|
|
15
15
|
export * from "./facts/client/requests/index.mjs";
|
|
16
16
|
export * as documents from "./documents/index.mjs";
|
|
17
17
|
export * from "./documents/client/requests/index.mjs";
|
|
18
|
+
export * as codes from "./codes/index.mjs";
|
|
19
|
+
export * from "./codes/client/requests/index.mjs";
|
|
18
20
|
export * from "./auth/client/requests/index.mjs";
|
|
19
21
|
export * from "./agents/client/requests/index.mjs";
|
|
@@ -15,5 +15,7 @@ export * as facts from "./facts/index.mjs";
|
|
|
15
15
|
export * from "./facts/client/requests/index.mjs";
|
|
16
16
|
export * as documents from "./documents/index.mjs";
|
|
17
17
|
export * from "./documents/client/requests/index.mjs";
|
|
18
|
+
export * as codes from "./codes/index.mjs";
|
|
19
|
+
export * from "./codes/client/requests/index.mjs";
|
|
18
20
|
export * from "./auth/client/requests/index.mjs";
|
|
19
21
|
export * from "./agents/client/requests/index.mjs";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const AgentsCreateExpertReference: core.serialization.ObjectSchema<serializers.AgentsCreateExpertReference.Raw, Corti.AgentsCreateExpertReference>;
|
|
8
|
+
export declare namespace AgentsCreateExpertReference {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: "reference";
|
|
11
|
+
id?: string | null;
|
|
12
|
+
name?: string | null;
|
|
13
|
+
systemPrompt?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
export const AgentsCreateExpertReference = core.serialization.object({
|
|
6
|
+
type: core.serialization.stringLiteral("reference"),
|
|
7
|
+
id: core.serialization.string().optional(),
|
|
8
|
+
name: core.serialization.string().optional(),
|
|
9
|
+
systemPrompt: core.serialization.string().optional(),
|
|
10
|
+
});
|
|
@@ -13,6 +13,7 @@ export declare namespace AgentsCreateMcpServer {
|
|
|
13
13
|
description?: string | null;
|
|
14
14
|
transportType: AgentsCreateMcpServerTransportType.Raw;
|
|
15
15
|
authorizationType: AgentsCreateMcpServerAuthorizationType.Raw;
|
|
16
|
+
authorizationScope?: string | null;
|
|
16
17
|
url: string;
|
|
17
18
|
redirectUrl?: string | null;
|
|
18
19
|
token?: string | null;
|
|
@@ -9,6 +9,7 @@ export const AgentsCreateMcpServer = core.serialization.object({
|
|
|
9
9
|
description: core.serialization.string().optional(),
|
|
10
10
|
transportType: AgentsCreateMcpServerTransportType,
|
|
11
11
|
authorizationType: AgentsCreateMcpServerAuthorizationType,
|
|
12
|
+
authorizationScope: core.serialization.string().optional(),
|
|
12
13
|
url: core.serialization.string(),
|
|
13
14
|
redirectUrl: core.serialization.string().optional(),
|
|
14
15
|
token: core.serialization.string().optional(),
|
|
@@ -8,7 +8,8 @@ export declare const AgentsExpertReference: core.serialization.ObjectSchema<seri
|
|
|
8
8
|
export declare namespace AgentsExpertReference {
|
|
9
9
|
interface Raw {
|
|
10
10
|
type: "reference";
|
|
11
|
-
id
|
|
12
|
-
name
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
systemPrompt?: string | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
5
|
export const AgentsExpertReference = core.serialization.object({
|
|
6
6
|
type: core.serialization.stringLiteral("reference"),
|
|
7
|
-
id: core.serialization.string()
|
|
8
|
-
name: core.serialization.string()
|
|
7
|
+
id: core.serialization.string(),
|
|
8
|
+
name: core.serialization.string(),
|
|
9
|
+
systemPrompt: core.serialization.string().optional(),
|
|
9
10
|
});
|
|
@@ -13,6 +13,7 @@ export declare namespace AgentsMcpServer {
|
|
|
13
13
|
name: string;
|
|
14
14
|
transportType: AgentsMcpServerTransportType.Raw;
|
|
15
15
|
authorizationType: AgentsMcpServerAuthorizationType.Raw;
|
|
16
|
+
authorizationScope?: string | null;
|
|
16
17
|
url: string;
|
|
17
18
|
redirectUrl?: (string | null) | null;
|
|
18
19
|
}
|
|
@@ -9,6 +9,7 @@ export const AgentsMcpServer = core.serialization.object({
|
|
|
9
9
|
name: core.serialization.string(),
|
|
10
10
|
transportType: AgentsMcpServerTransportType,
|
|
11
11
|
authorizationType: AgentsMcpServerAuthorizationType,
|
|
12
|
+
authorizationScope: core.serialization.string().optional(),
|
|
12
13
|
url: core.serialization.string(),
|
|
13
14
|
redirectUrl: core.serialization.string().optionalNullable(),
|
|
14
15
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { CommonCodingSystemEnum } from "./CommonCodingSystemEnum.mjs";
|
|
8
|
+
import { CodesGeneralReadResponseEvidencesItem } from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
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,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { CommonCodingSystemEnum } from "./CommonCodingSystemEnum.mjs";
|
|
6
|
+
import { CodesGeneralReadResponseEvidencesItem } from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
7
|
+
export const CodesGeneralReadResponse = core.serialization.object({
|
|
8
|
+
system: CommonCodingSystemEnum,
|
|
9
|
+
code: core.serialization.string(),
|
|
10
|
+
display: core.serialization.string(),
|
|
11
|
+
evidences: core.serialization.list(CodesGeneralReadResponseEvidencesItem).optional(),
|
|
12
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
export const CodesGeneralReadResponseEvidencesItem = core.serialization.object({
|
|
6
|
+
contextIndex: core.serialization.number().optional(),
|
|
7
|
+
text: core.serialization.string().optional(),
|
|
8
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { CodesGeneralReadResponse } from "./CodesGeneralReadResponse.mjs";
|
|
8
|
+
import { CommonUsageInfo } from "./CommonUsageInfo.mjs";
|
|
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,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { CodesGeneralReadResponse } from "./CodesGeneralReadResponse.mjs";
|
|
6
|
+
import { CommonUsageInfo } from "./CommonUsageInfo.mjs";
|
|
7
|
+
export const CodesGeneralResponse = core.serialization.object({
|
|
8
|
+
codes: core.serialization.list(CodesGeneralReadResponse),
|
|
9
|
+
candidates: core.serialization.list(CodesGeneralReadResponse),
|
|
10
|
+
usageInfo: CommonUsageInfo.optional(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { CommonTextContext } from "./CommonTextContext.mjs";
|
|
8
|
+
import { CommonDocumentIdContext } from "./CommonDocumentIdContext.mjs";
|
|
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,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { CommonTextContext } from "./CommonTextContext.mjs";
|
|
6
|
+
import { CommonDocumentIdContext } from "./CommonDocumentIdContext.mjs";
|
|
7
|
+
export const CommonAiContext = core.serialization.undiscriminatedUnion([CommonTextContext, 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.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
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,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
export const CommonDocumentIdContext = core.serialization.object({
|
|
6
|
+
type: core.serialization.stringLiteral("documentId"),
|
|
7
|
+
documentId: core.serialization.string(),
|
|
8
|
+
});
|
|
@@ -7,11 +7,10 @@ import * as core from "../../core/index.mjs";
|
|
|
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
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
5
|
export const ErrorResponse = core.serialization.object({
|
|
6
|
-
requestid: core.serialization.string()
|
|
6
|
+
requestid: core.serialization.string(),
|
|
7
|
+
status: core.serialization.number(),
|
|
7
8
|
type: core.serialization.string(),
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
detail: core.serialization.string(),
|
|
10
|
+
validationErrors: core.serialization
|
|
11
|
+
.list(core.serialization.record(core.serialization.string(), core.serialization.string()))
|
|
12
|
+
.optional(),
|
|
12
13
|
});
|
|
@@ -8,6 +8,7 @@ import { Uuid } from "./Uuid.mjs";
|
|
|
8
8
|
import { TranscriptsMetadata } from "./TranscriptsMetadata.mjs";
|
|
9
9
|
import { CommonTranscriptResponse } from "./CommonTranscriptResponse.mjs";
|
|
10
10
|
import { CommonUsageInfo } from "./CommonUsageInfo.mjs";
|
|
11
|
+
import { TranscriptsStatusEnum } from "./TranscriptsStatusEnum.mjs";
|
|
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
|
}
|
|
@@ -6,9 +6,12 @@ import { Uuid } from "./Uuid.mjs";
|
|
|
6
6
|
import { TranscriptsMetadata } from "./TranscriptsMetadata.mjs";
|
|
7
7
|
import { CommonTranscriptResponse } from "./CommonTranscriptResponse.mjs";
|
|
8
8
|
import { CommonUsageInfo } from "./CommonUsageInfo.mjs";
|
|
9
|
+
import { TranscriptsStatusEnum } from "./TranscriptsStatusEnum.mjs";
|
|
9
10
|
export const TranscriptsResponse = core.serialization.object({
|
|
10
11
|
id: Uuid,
|
|
11
12
|
metadata: TranscriptsMetadata,
|
|
12
13
|
transcripts: core.serialization.list(CommonTranscriptResponse).optionalNullable(),
|
|
13
14
|
usageInfo: CommonUsageInfo,
|
|
15
|
+
recordingId: Uuid,
|
|
16
|
+
status: TranscriptsStatusEnum,
|
|
14
17
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
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,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Corti from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { TranscriptsStatusEnum } from "./TranscriptsStatusEnum.mjs";
|
|
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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { TranscriptsStatusEnum } from "./TranscriptsStatusEnum.mjs";
|
|
6
|
+
export const TranscriptsStatusResponse = core.serialization.object({
|
|
7
|
+
status: TranscriptsStatusEnum,
|
|
8
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./CommonCodingSystemEnum.mjs";
|
|
1
2
|
export * from "./DocumentsContext.mjs";
|
|
2
3
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
3
4
|
export * from "./DocumentsContextWithTranscript.mjs";
|
|
@@ -20,7 +21,9 @@ export * from "./DocumentsCreateRequest.mjs";
|
|
|
20
21
|
export * from "./DocumentsCreateRequestWithTemplateKey.mjs";
|
|
21
22
|
export * from "./DocumentsCreateRequestWithTemplate.mjs";
|
|
22
23
|
export * from "./DocumentsSectionInput.mjs";
|
|
24
|
+
export * from "./CommonDocumentIdContext.mjs";
|
|
23
25
|
export * from "./CommonTextContext.mjs";
|
|
26
|
+
export * from "./CommonAiContext.mjs";
|
|
24
27
|
export * from "./FactsCreateInput.mjs";
|
|
25
28
|
export * from "./FactsBatchUpdateInput.mjs";
|
|
26
29
|
export * from "./TranscriptsParticipant.mjs";
|
|
@@ -37,6 +40,9 @@ export * from "./FactsCreateResponse.mjs";
|
|
|
37
40
|
export * from "./FactsListResponse.mjs";
|
|
38
41
|
export * from "./FactsBatchUpdateResponse.mjs";
|
|
39
42
|
export * from "./FactsBatchUpdateItem.mjs";
|
|
43
|
+
export * from "./CodesGeneralResponse.mjs";
|
|
44
|
+
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
45
|
+
export * from "./CodesGeneralReadResponse.mjs";
|
|
40
46
|
export * from "./FactsExtractResponseFactsItem.mjs";
|
|
41
47
|
export * from "./FactsExtractResponse.mjs";
|
|
42
48
|
export * from "./InteractionsGetResponse.mjs";
|
|
@@ -49,6 +55,8 @@ export * from "./TranscriptsResponse.mjs";
|
|
|
49
55
|
export * from "./TranscriptsListResponse.mjs";
|
|
50
56
|
export * from "./TranscriptsListItem.mjs";
|
|
51
57
|
export * from "./TranscriptsData.mjs";
|
|
58
|
+
export * from "./TranscriptsStatusResponse.mjs";
|
|
59
|
+
export * from "./TranscriptsStatusEnum.mjs";
|
|
52
60
|
export * from "./TemplatesSection.mjs";
|
|
53
61
|
export * from "./CommonSortingDirectionEnum.mjs";
|
|
54
62
|
export * from "./TemplatesDocumentationModeEnum.mjs";
|
|
@@ -143,6 +151,7 @@ export * from "./AgentsAgentExpertsItem.mjs";
|
|
|
143
151
|
export * from "./AgentsAgent.mjs";
|
|
144
152
|
export * from "./AgentsAgentReference.mjs";
|
|
145
153
|
export * from "./AgentsCreateExpert.mjs";
|
|
154
|
+
export * from "./AgentsCreateExpertReference.mjs";
|
|
146
155
|
export * from "./AgentsExpert.mjs";
|
|
147
156
|
export * from "./AgentsExpertReference.mjs";
|
|
148
157
|
export * from "./AgentsAgentResponse.mjs";
|