@corti/sdk 0.1.2 → 0.1.3-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/errors/NotFoundError.d.ts +1 -2
- package/dist/cjs/api/resources/documents/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/documents/client/Client.js +4 -10
- package/dist/cjs/api/resources/facts/client/Client.d.ts +6 -4
- package/dist/cjs/api/resources/facts/client/Client.js +6 -4
- package/dist/cjs/api/resources/facts/client/requests/FactsUpdateRequest.d.ts +2 -2
- package/dist/cjs/api/resources/index.d.ts +1 -2
- package/dist/cjs/api/resources/index.js +2 -3
- package/dist/cjs/api/resources/interactions/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/interactions/client/Client.js +5 -5
- package/dist/cjs/api/resources/recordings/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/recordings/client/Client.js +6 -18
- package/dist/cjs/api/resources/templates/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/templates/client/Client.js +2 -2
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +5 -6
- package/dist/cjs/api/resources/transcripts/client/Client.js +5 -6
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -4
- package/dist/cjs/api/resources/transcripts/index.d.ts +0 -1
- package/dist/cjs/api/resources/transcripts/index.js +0 -1
- package/dist/cjs/api/types/CommonTranscriptRequest.d.ts +17 -0
- package/dist/cjs/api/types/{CommonTranscript.d.ts → CommonTranscriptResponse.d.ts} +1 -1
- package/dist/cjs/api/types/DocumentsContextWithString.d.ts +1 -1
- package/dist/cjs/api/types/DocumentsContextWithTranscript.d.ts +2 -2
- package/dist/cjs/api/types/DocumentsCreateRequest.d.ts +7 -1
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +1 -3
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +1 -3
- package/dist/cjs/api/types/DocumentsTemplate.d.ts +1 -1
- package/dist/cjs/api/types/FactsBatchUpdateInput.d.ts +1 -1
- package/dist/cjs/api/types/FactsCreateItem.d.ts +1 -1
- package/dist/cjs/api/types/FactsListItem.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptsData.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptsResponse.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +2 -3
- package/dist/cjs/api/types/index.js +2 -3
- package/dist/cjs/custom/utils/getEnvironmentFromString.js +1 -0
- package/dist/cjs/environments.d.ts +3 -0
- package/dist/cjs/environments.js +2 -0
- package/dist/cjs/serialization/resources/index.d.ts +1 -2
- package/dist/cjs/serialization/resources/index.js +2 -3
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +0 -2
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +0 -2
- package/dist/cjs/serialization/resources/transcripts/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/transcripts/index.js +0 -1
- package/dist/cjs/serialization/types/CommonTranscriptRequest.d.ts +17 -0
- package/dist/cjs/serialization/types/{DocumentsTemplateWithSectionIds.js → CommonTranscriptRequest.js} +8 -6
- package/dist/cjs/serialization/types/{CommonTranscript.d.ts → CommonTranscriptResponse.d.ts} +2 -2
- package/dist/cjs/serialization/types/{CommonTranscript.js → CommonTranscriptResponse.js} +2 -2
- package/dist/cjs/serialization/types/DocumentsContextWithTranscript.d.ts +2 -2
- package/dist/cjs/serialization/types/DocumentsContextWithTranscript.js +2 -2
- package/dist/cjs/serialization/types/DocumentsCreateRequest.d.ts +1 -2
- package/dist/cjs/serialization/types/DocumentsCreateRequest.js +0 -2
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.d.ts +0 -1
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.js +0 -1
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.d.ts +0 -1
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.js +0 -1
- package/dist/cjs/serialization/types/DocumentsTemplate.d.ts +2 -3
- package/dist/cjs/serialization/types/DocumentsTemplate.js +1 -36
- package/dist/cjs/serialization/types/TranscriptsData.d.ts +2 -2
- package/dist/cjs/serialization/types/TranscriptsData.js +2 -2
- package/dist/cjs/serialization/types/TranscriptsResponse.d.ts +2 -2
- package/dist/cjs/serialization/types/TranscriptsResponse.js +2 -2
- package/dist/cjs/serialization/types/index.d.ts +2 -3
- package/dist/cjs/serialization/types/index.js +2 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/errors/NotFoundError.d.mts +1 -2
- package/dist/esm/api/resources/documents/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/documents/client/Client.mjs +4 -10
- package/dist/esm/api/resources/facts/client/Client.d.mts +6 -4
- package/dist/esm/api/resources/facts/client/Client.mjs +6 -4
- package/dist/esm/api/resources/facts/client/requests/FactsUpdateRequest.d.mts +2 -2
- package/dist/esm/api/resources/index.d.mts +1 -2
- package/dist/esm/api/resources/index.mjs +1 -2
- package/dist/esm/api/resources/interactions/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/interactions/client/Client.mjs +5 -5
- package/dist/esm/api/resources/recordings/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/recordings/client/Client.mjs +6 -18
- package/dist/esm/api/resources/templates/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/templates/client/Client.mjs +2 -2
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +5 -6
- package/dist/esm/api/resources/transcripts/client/Client.mjs +5 -6
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -4
- package/dist/esm/api/resources/transcripts/index.d.mts +0 -1
- package/dist/esm/api/resources/transcripts/index.mjs +0 -1
- package/dist/esm/api/types/CommonTranscriptRequest.d.mts +17 -0
- package/dist/esm/api/types/{CommonTranscript.d.mts → CommonTranscriptResponse.d.mts} +1 -1
- package/dist/esm/api/types/DocumentsContextWithString.d.mts +1 -1
- package/dist/esm/api/types/DocumentsContextWithTranscript.d.mts +2 -2
- package/dist/esm/api/types/DocumentsCreateRequest.d.mts +7 -1
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +1 -3
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +1 -3
- package/dist/esm/api/types/DocumentsTemplate.d.mts +1 -1
- package/dist/esm/api/types/FactsBatchUpdateInput.d.mts +1 -1
- package/dist/esm/api/types/FactsCreateItem.d.mts +1 -1
- package/dist/esm/api/types/FactsListItem.d.mts +1 -1
- package/dist/esm/api/types/TranscriptsData.d.mts +1 -1
- package/dist/esm/api/types/TranscriptsResponse.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +2 -3
- package/dist/esm/api/types/index.mjs +2 -3
- package/dist/esm/custom/utils/getEnvironmentFromString.mjs +1 -0
- package/dist/esm/environments.d.mts +3 -0
- package/dist/esm/environments.mjs +2 -0
- package/dist/esm/serialization/resources/index.d.mts +1 -2
- package/dist/esm/serialization/resources/index.mjs +1 -2
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +0 -2
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +0 -2
- package/dist/esm/serialization/resources/transcripts/index.d.mts +0 -1
- package/dist/esm/serialization/resources/transcripts/index.mjs +0 -1
- package/dist/esm/serialization/types/CommonTranscriptRequest.d.mts +17 -0
- package/dist/esm/serialization/types/CommonTranscriptRequest.mjs +12 -0
- package/dist/esm/serialization/types/{CommonTranscript.d.mts → CommonTranscriptResponse.d.mts} +2 -2
- package/dist/esm/serialization/types/{CommonTranscript.mjs → CommonTranscriptResponse.mjs} +1 -1
- package/dist/esm/serialization/types/DocumentsContextWithTranscript.d.mts +2 -2
- package/dist/esm/serialization/types/DocumentsContextWithTranscript.mjs +2 -2
- package/dist/esm/serialization/types/DocumentsCreateRequest.d.mts +1 -2
- package/dist/esm/serialization/types/DocumentsCreateRequest.mjs +0 -2
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.d.mts +0 -1
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs +0 -1
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.d.mts +0 -1
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs +0 -1
- package/dist/esm/serialization/types/DocumentsTemplate.d.mts +2 -3
- package/dist/esm/serialization/types/DocumentsTemplate.mjs +1 -3
- package/dist/esm/serialization/types/TranscriptsData.d.mts +2 -2
- package/dist/esm/serialization/types/TranscriptsData.mjs +2 -2
- package/dist/esm/serialization/types/TranscriptsResponse.d.mts +2 -2
- package/dist/esm/serialization/types/TranscriptsResponse.mjs +2 -2
- package/dist/esm/serialization/types/index.d.mts +2 -3
- package/dist/esm/serialization/types/index.mjs +2 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -12
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -11
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/transcripts/types/index.js +0 -17
- package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -16
- package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.d.ts +0 -12
- package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.js +0 -5
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -10
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -41
- package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/transcripts/types/index.js +0 -17
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -18
- package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.js +0 -49
- package/dist/cjs/serialization/types/DocumentsTemplateWithSectionIds.d.ts +0 -15
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -12
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -8
- package/dist/esm/api/resources/transcripts/types/index.d.mts +0 -1
- package/dist/esm/api/resources/transcripts/types/index.mjs +0 -1
- package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -16
- package/dist/esm/api/types/DocumentsTemplateWithSectionIds.d.mts +0 -12
- package/dist/esm/api/types/DocumentsTemplateWithSectionIds.mjs +0 -4
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -10
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -5
- package/dist/esm/serialization/resources/transcripts/types/index.d.mts +0 -1
- package/dist/esm/serialization/resources/transcripts/types/index.mjs +0 -1
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -18
- package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs +0 -13
- package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.d.mts +0 -15
- package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.mjs +0 -10
- package/reference.md +0 -1706
- /package/dist/cjs/api/types/{CommonTranscript.js → CommonTranscriptRequest.js} +0 -0
- /package/dist/cjs/api/types/{DocumentsCreateRequestWithTemplateId.js → CommonTranscriptResponse.js} +0 -0
- /package/dist/esm/api/types/{CommonTranscript.mjs → CommonTranscriptRequest.mjs} +0 -0
- /package/dist/esm/api/types/{DocumentsCreateRequestWithTemplateId.mjs → CommonTranscriptResponse.mjs} +0 -0
|
@@ -2,4 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Corti from "../index.js";
|
|
5
|
-
export type DocumentsCreateRequest =
|
|
5
|
+
export type DocumentsCreateRequest =
|
|
6
|
+
/**
|
|
7
|
+
* Standard method for document generation: Use template key to generate document based on pre-defined template. */
|
|
8
|
+
Corti.DocumentsCreateRequestWithTemplateKey
|
|
9
|
+
/**
|
|
10
|
+
* Advanced method for document generation: Define sectionKeys in the request to build a template dynamically. See a detailed example [here](/templates/documents-advanced#assemble-a-template-with-extra-instructions). */
|
|
11
|
+
| Corti.DocumentsCreateRequestWithTemplate;
|
|
@@ -9,8 +9,6 @@ export interface DocumentsCreateRequestWithTemplate {
|
|
|
9
9
|
template: Corti.DocumentsTemplate;
|
|
10
10
|
/** An optional name for the document. */
|
|
11
11
|
name?: string;
|
|
12
|
-
/** The
|
|
13
|
-
modelName?: string;
|
|
14
|
-
/** The language in which the document will be generated. Check https://docs.corti.ai/about/languages for more. */
|
|
12
|
+
/** The language in which the document will be generated. Check [languages page](/about/languages) for more. */
|
|
15
13
|
outputLanguage: string;
|
|
16
14
|
}
|
|
@@ -9,8 +9,6 @@ export interface DocumentsCreateRequestWithTemplateKey {
|
|
|
9
9
|
templateKey: string;
|
|
10
10
|
/** An optional name for the document. */
|
|
11
11
|
name?: string;
|
|
12
|
-
/** The
|
|
13
|
-
modelName?: string;
|
|
14
|
-
/** The language in which the document will be generated. Check https://docs.corti.ai/about/languages for more. */
|
|
12
|
+
/** The language in which the document will be generated. Check [languages page](/about/languages) for more. */
|
|
15
13
|
outputLanguage: string;
|
|
16
14
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Corti from "../index.js";
|
|
5
|
-
export type DocumentsTemplate = Corti.DocumentsTemplateWithSectionKeys
|
|
5
|
+
export type DocumentsTemplate = Corti.DocumentsTemplateWithSectionKeys;
|
|
@@ -5,7 +5,7 @@ import * as Corti from "../index.js";
|
|
|
5
5
|
export interface FactsBatchUpdateInput {
|
|
6
6
|
/** The unique identifier of the fact to be updated. */
|
|
7
7
|
factId: Corti.Uuid;
|
|
8
|
-
/**
|
|
8
|
+
/** Set this to true for facts discarded by an end-user, then filter those out from the document generation request. */
|
|
9
9
|
isDiscarded?: boolean;
|
|
10
10
|
/** The updated text content of the fact. */
|
|
11
11
|
text?: string;
|
|
@@ -13,7 +13,7 @@ export interface FactsCreateItem {
|
|
|
13
13
|
groupId?: Corti.Uuid;
|
|
14
14
|
/** The origin of the fact, such as 'USER' or 'SYSTEM'. */
|
|
15
15
|
source?: Corti.CommonSourceEnum;
|
|
16
|
-
/** Indicates whether the fact has been marked as discarded. */
|
|
16
|
+
/** Indicates whether the fact has been marked as discarded by an end-user. */
|
|
17
17
|
isDiscarded?: boolean;
|
|
18
18
|
/** The timestamp when the fact was last updated. */
|
|
19
19
|
updatedAt?: Date;
|
|
@@ -11,7 +11,7 @@ export interface FactsListItem {
|
|
|
11
11
|
group?: string;
|
|
12
12
|
/** The unique identifier of the group to which the fact belongs. */
|
|
13
13
|
groupId?: Corti.Uuid;
|
|
14
|
-
/** Indicates whether the fact has been marked as discarded. */
|
|
14
|
+
/** Indicates whether the fact has been marked as discarded by an end-user. */
|
|
15
15
|
isDiscarded?: boolean;
|
|
16
16
|
/** The origin of the fact. */
|
|
17
17
|
source?: Corti.CommonSourceEnum;
|
|
@@ -6,5 +6,5 @@ export interface TranscriptsData {
|
|
|
6
6
|
/** Additional information about the participants involved in the transcript. */
|
|
7
7
|
metadata: Corti.TranscriptsMetadata;
|
|
8
8
|
/** An array of transcripts. */
|
|
9
|
-
transcripts: Corti.
|
|
9
|
+
transcripts: Corti.CommonTranscriptResponse[];
|
|
10
10
|
}
|
|
@@ -8,6 +8,6 @@ export interface TranscriptsResponse {
|
|
|
8
8
|
/** Additional information about the participants involved in the transcript. */
|
|
9
9
|
metadata: Corti.TranscriptsMetadata;
|
|
10
10
|
/** An array of transcripts. */
|
|
11
|
-
transcripts
|
|
11
|
+
transcripts?: Corti.CommonTranscriptResponse[] | null;
|
|
12
12
|
usageInfo: Corti.CommonUsageInfo;
|
|
13
13
|
}
|
|
@@ -5,7 +5,6 @@ export * from "./DocumentsContextWithString.js";
|
|
|
5
5
|
export * from "./DocumentsSection.js";
|
|
6
6
|
export * from "./DocumentsTemplate.js";
|
|
7
7
|
export * from "./DocumentsTemplateWithSectionKeys.js";
|
|
8
|
-
export * from "./DocumentsTemplateWithSectionIds.js";
|
|
9
8
|
export * from "./InteractionsEncounterCreateRequest.js";
|
|
10
9
|
export * from "./InteractionsEncounterUpdateRequest.js";
|
|
11
10
|
export * from "./InteractionsEncounterResponse.js";
|
|
@@ -16,7 +15,6 @@ export * from "./FactsFactGroupsItemTranslationsItem.js";
|
|
|
16
15
|
export * from "./FactsFactGroupsItem.js";
|
|
17
16
|
export * from "./InteractionsPatient.js";
|
|
18
17
|
export * from "./DocumentsCreateRequest.js";
|
|
19
|
-
export * from "./DocumentsCreateRequestWithTemplateId.js";
|
|
20
18
|
export * from "./DocumentsCreateRequestWithTemplateKey.js";
|
|
21
19
|
export * from "./DocumentsCreateRequestWithTemplate.js";
|
|
22
20
|
export * from "./DocumentsSectionInput.js";
|
|
@@ -50,7 +48,8 @@ export * from "./TemplatesSection.js";
|
|
|
50
48
|
export * from "./CommonSortingDirectionEnum.js";
|
|
51
49
|
export * from "./TemplatesItem.js";
|
|
52
50
|
export * from "./TemplatesSectionSorted.js";
|
|
53
|
-
export * from "./
|
|
51
|
+
export * from "./CommonTranscriptRequest.js";
|
|
52
|
+
export * from "./CommonTranscriptResponse.js";
|
|
54
53
|
export * from "./Uuid.js";
|
|
55
54
|
export * from "./CommonUsageInfo.js";
|
|
56
55
|
export * from "./InteractionsEncounterStatusEnum.js";
|
|
@@ -21,7 +21,6 @@ __exportStar(require("./DocumentsContextWithString.js"), exports);
|
|
|
21
21
|
__exportStar(require("./DocumentsSection.js"), exports);
|
|
22
22
|
__exportStar(require("./DocumentsTemplate.js"), exports);
|
|
23
23
|
__exportStar(require("./DocumentsTemplateWithSectionKeys.js"), exports);
|
|
24
|
-
__exportStar(require("./DocumentsTemplateWithSectionIds.js"), exports);
|
|
25
24
|
__exportStar(require("./InteractionsEncounterCreateRequest.js"), exports);
|
|
26
25
|
__exportStar(require("./InteractionsEncounterUpdateRequest.js"), exports);
|
|
27
26
|
__exportStar(require("./InteractionsEncounterResponse.js"), exports);
|
|
@@ -32,7 +31,6 @@ __exportStar(require("./FactsFactGroupsItemTranslationsItem.js"), exports);
|
|
|
32
31
|
__exportStar(require("./FactsFactGroupsItem.js"), exports);
|
|
33
32
|
__exportStar(require("./InteractionsPatient.js"), exports);
|
|
34
33
|
__exportStar(require("./DocumentsCreateRequest.js"), exports);
|
|
35
|
-
__exportStar(require("./DocumentsCreateRequestWithTemplateId.js"), exports);
|
|
36
34
|
__exportStar(require("./DocumentsCreateRequestWithTemplateKey.js"), exports);
|
|
37
35
|
__exportStar(require("./DocumentsCreateRequestWithTemplate.js"), exports);
|
|
38
36
|
__exportStar(require("./DocumentsSectionInput.js"), exports);
|
|
@@ -66,7 +64,8 @@ __exportStar(require("./TemplatesSection.js"), exports);
|
|
|
66
64
|
__exportStar(require("./CommonSortingDirectionEnum.js"), exports);
|
|
67
65
|
__exportStar(require("./TemplatesItem.js"), exports);
|
|
68
66
|
__exportStar(require("./TemplatesSectionSorted.js"), exports);
|
|
69
|
-
__exportStar(require("./
|
|
67
|
+
__exportStar(require("./CommonTranscriptRequest.js"), exports);
|
|
68
|
+
__exportStar(require("./CommonTranscriptResponse.js"), exports);
|
|
70
69
|
__exportStar(require("./Uuid.js"), exports);
|
|
71
70
|
__exportStar(require("./CommonUsageInfo.js"), exports);
|
|
72
71
|
__exportStar(require("./InteractionsEncounterStatusEnum.js"), exports);
|
|
@@ -7,6 +7,7 @@ function getEnvironment(environment) {
|
|
|
7
7
|
base: `https://api.${environment}.corti.app/v2`,
|
|
8
8
|
wss: `wss://api.${environment}.corti.app`,
|
|
9
9
|
login: `https://auth.${environment}.corti.app/realms`,
|
|
10
|
+
agents: `https://api.${environment}.corti.app/agents`,
|
|
10
11
|
}
|
|
11
12
|
: environment;
|
|
12
13
|
}
|
|
@@ -5,17 +5,20 @@ export interface CortiEnvironmentUrls {
|
|
|
5
5
|
base: string;
|
|
6
6
|
wss: string;
|
|
7
7
|
login: string;
|
|
8
|
+
agents: string;
|
|
8
9
|
}
|
|
9
10
|
export declare const CortiEnvironment: {
|
|
10
11
|
readonly Eu: {
|
|
11
12
|
readonly base: "https://api.eu.corti.app/v2";
|
|
12
13
|
readonly wss: "wss://api.eu.corti.app";
|
|
13
14
|
readonly login: "https://auth.eu.corti.app/realms";
|
|
15
|
+
readonly agents: "https://api.eu.corti.app/agents";
|
|
14
16
|
};
|
|
15
17
|
readonly Us: {
|
|
16
18
|
readonly base: "https://api.us.corti.app/v2";
|
|
17
19
|
readonly wss: "wss://api.us.corti.app";
|
|
18
20
|
readonly login: "https://auth.us.corti.app/realms";
|
|
21
|
+
readonly agents: "https://api.us.corti.app/agents";
|
|
19
22
|
};
|
|
20
23
|
};
|
|
21
24
|
export type CortiEnvironment = typeof CortiEnvironment.Eu | typeof CortiEnvironment.Us;
|
package/dist/cjs/environments.js
CHANGED
|
@@ -9,10 +9,12 @@ exports.CortiEnvironment = {
|
|
|
9
9
|
base: "https://api.eu.corti.app/v2",
|
|
10
10
|
wss: "wss://api.eu.corti.app",
|
|
11
11
|
login: "https://auth.eu.corti.app/realms",
|
|
12
|
+
agents: "https://api.eu.corti.app/agents",
|
|
12
13
|
},
|
|
13
14
|
Us: {
|
|
14
15
|
base: "https://api.us.corti.app/v2",
|
|
15
16
|
wss: "wss://api.us.corti.app",
|
|
16
17
|
login: "https://auth.us.corti.app/realms",
|
|
18
|
+
agents: "https://api.us.corti.app/agents",
|
|
17
19
|
},
|
|
18
20
|
};
|
|
@@ -4,11 +4,10 @@ export * as transcribe from "./transcribe/index.js";
|
|
|
4
4
|
export * from "./transcribe/client/socket/index.js";
|
|
5
5
|
export * as interactions from "./interactions/index.js";
|
|
6
6
|
export * from "./interactions/types/index.js";
|
|
7
|
-
export * as transcripts from "./transcripts/index.js";
|
|
8
|
-
export * from "./transcripts/types/index.js";
|
|
9
7
|
export * as auth from "./auth/index.js";
|
|
10
8
|
export * from "./auth/types/index.js";
|
|
11
9
|
export * from "./interactions/client/requests/index.js";
|
|
10
|
+
export * as transcripts from "./transcripts/index.js";
|
|
12
11
|
export * from "./transcripts/client/requests/index.js";
|
|
13
12
|
export * as facts from "./facts/index.js";
|
|
14
13
|
export * from "./facts/client/requests/index.js";
|
|
@@ -36,18 +36,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.documents = exports.facts = exports.
|
|
39
|
+
exports.documents = exports.facts = exports.transcripts = exports.auth = exports.interactions = exports.transcribe = exports.stream = void 0;
|
|
40
40
|
exports.stream = __importStar(require("./stream/index.js"));
|
|
41
41
|
__exportStar(require("./stream/client/socket/index.js"), exports);
|
|
42
42
|
exports.transcribe = __importStar(require("./transcribe/index.js"));
|
|
43
43
|
__exportStar(require("./transcribe/client/socket/index.js"), exports);
|
|
44
44
|
exports.interactions = __importStar(require("./interactions/index.js"));
|
|
45
45
|
__exportStar(require("./interactions/types/index.js"), exports);
|
|
46
|
-
exports.transcripts = __importStar(require("./transcripts/index.js"));
|
|
47
|
-
__exportStar(require("./transcripts/types/index.js"), exports);
|
|
48
46
|
exports.auth = __importStar(require("./auth/index.js"));
|
|
49
47
|
__exportStar(require("./auth/types/index.js"), exports);
|
|
50
48
|
__exportStar(require("./interactions/client/requests/index.js"), exports);
|
|
49
|
+
exports.transcripts = __importStar(require("./transcripts/index.js"));
|
|
51
50
|
__exportStar(require("./transcripts/client/requests/index.js"), exports);
|
|
52
51
|
exports.facts = __importStar(require("./facts/index.js"));
|
|
53
52
|
__exportStar(require("./facts/client/requests/index.js"), exports);
|
package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import * as Corti from "../../../../../api/index.js";
|
|
|
6
6
|
import * as core from "../../../../../core/index.js";
|
|
7
7
|
import { Uuid } from "../../../../types/Uuid.js";
|
|
8
8
|
import { TranscriptsParticipant } from "../../../../types/TranscriptsParticipant.js";
|
|
9
|
-
import { TranscriptsCreateRequestModelName } from "../../types/TranscriptsCreateRequestModelName.js";
|
|
10
9
|
export declare const TranscriptsCreateRequest: core.serialization.Schema<serializers.TranscriptsCreateRequest.Raw, Corti.TranscriptsCreateRequest>;
|
|
11
10
|
export declare namespace TranscriptsCreateRequest {
|
|
12
11
|
interface Raw {
|
|
@@ -16,6 +15,5 @@ export declare namespace TranscriptsCreateRequest {
|
|
|
16
15
|
isMultichannel?: boolean | null;
|
|
17
16
|
diarize?: boolean | null;
|
|
18
17
|
participants?: TranscriptsParticipant.Raw[] | null;
|
|
19
|
-
modelName: TranscriptsCreateRequestModelName.Raw;
|
|
20
18
|
}
|
|
21
19
|
}
|
package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js
CHANGED
|
@@ -40,7 +40,6 @@ exports.TranscriptsCreateRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
41
41
|
const Uuid_js_1 = require("../../../../types/Uuid.js");
|
|
42
42
|
const TranscriptsParticipant_js_1 = require("../../../../types/TranscriptsParticipant.js");
|
|
43
|
-
const TranscriptsCreateRequestModelName_js_1 = require("../../types/TranscriptsCreateRequestModelName.js");
|
|
44
43
|
exports.TranscriptsCreateRequest = core.serialization.object({
|
|
45
44
|
recordingId: Uuid_js_1.Uuid,
|
|
46
45
|
primaryLanguage: core.serialization.string(),
|
|
@@ -48,5 +47,4 @@ exports.TranscriptsCreateRequest = core.serialization.object({
|
|
|
48
47
|
isMultichannel: core.serialization.boolean().optional(),
|
|
49
48
|
diarize: core.serialization.boolean().optional(),
|
|
50
49
|
participants: core.serialization.list(TranscriptsParticipant_js_1.TranscriptsParticipant).optional(),
|
|
51
|
-
modelName: TranscriptsCreateRequestModelName_js_1.TranscriptsCreateRequestModelName,
|
|
52
50
|
});
|
|
@@ -14,5 +14,4 @@ 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("./types/index.js"), exports);
|
|
18
17
|
__exportStar(require("./client/index.js"), exports);
|
|
@@ -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
|
+
export declare const CommonTranscriptRequest: core.serialization.ObjectSchema<serializers.CommonTranscriptRequest.Raw, Corti.CommonTranscriptRequest>;
|
|
8
|
+
export declare namespace CommonTranscriptRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
channel?: number | null;
|
|
11
|
+
participant?: number | null;
|
|
12
|
+
speakerId?: number | null;
|
|
13
|
+
text: string;
|
|
14
|
+
start?: number | null;
|
|
15
|
+
end?: number | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -36,11 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CommonTranscriptRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
exports.CommonTranscriptRequest = core.serialization.object({
|
|
42
|
+
channel: core.serialization.number().optional(),
|
|
43
|
+
participant: core.serialization.number().optional(),
|
|
44
|
+
speakerId: core.serialization.number().optional(),
|
|
45
|
+
text: core.serialization.string(),
|
|
46
|
+
start: core.serialization.number().optional(),
|
|
47
|
+
end: core.serialization.number().optional(),
|
|
46
48
|
});
|
package/dist/cjs/serialization/types/{CommonTranscript.d.ts → CommonTranscriptResponse.d.ts}
RENAMED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../index.js";
|
|
5
5
|
import * as Corti from "../../api/index.js";
|
|
6
6
|
import * as core from "../../core/index.js";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const CommonTranscriptResponse: core.serialization.ObjectSchema<serializers.CommonTranscriptResponse.Raw, Corti.CommonTranscriptResponse>;
|
|
8
|
+
export declare namespace CommonTranscriptResponse {
|
|
9
9
|
interface Raw {
|
|
10
10
|
channel: number;
|
|
11
11
|
participant: number;
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.CommonTranscriptResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.CommonTranscriptResponse = core.serialization.object({
|
|
42
42
|
channel: core.serialization.number(),
|
|
43
43
|
participant: core.serialization.number(),
|
|
44
44
|
speakerId: core.serialization.number(),
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../index.js";
|
|
5
5
|
import * as Corti from "../../api/index.js";
|
|
6
6
|
import * as core from "../../core/index.js";
|
|
7
|
-
import {
|
|
7
|
+
import { CommonTranscriptRequest } from "./CommonTranscriptRequest.js";
|
|
8
8
|
export declare const DocumentsContextWithTranscript: core.serialization.ObjectSchema<serializers.DocumentsContextWithTranscript.Raw, Corti.DocumentsContextWithTranscript>;
|
|
9
9
|
export declare namespace DocumentsContextWithTranscript {
|
|
10
10
|
interface Raw {
|
|
11
|
-
data:
|
|
11
|
+
data: CommonTranscriptRequest.Raw;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -38,7 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.DocumentsContextWithTranscript = void 0;
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
|
-
const
|
|
41
|
+
const CommonTranscriptRequest_js_1 = require("./CommonTranscriptRequest.js");
|
|
42
42
|
exports.DocumentsContextWithTranscript = core.serialization.object({
|
|
43
|
-
data:
|
|
43
|
+
data: CommonTranscriptRequest_js_1.CommonTranscriptRequest,
|
|
44
44
|
});
|
|
@@ -5,9 +5,8 @@ import * as serializers from "../index.js";
|
|
|
5
5
|
import * as Corti from "../../api/index.js";
|
|
6
6
|
import * as core from "../../core/index.js";
|
|
7
7
|
import { DocumentsCreateRequestWithTemplateKey } from "./DocumentsCreateRequestWithTemplateKey.js";
|
|
8
|
-
import { DocumentsCreateRequestWithTemplateId } from "./DocumentsCreateRequestWithTemplateId.js";
|
|
9
8
|
import { DocumentsCreateRequestWithTemplate } from "./DocumentsCreateRequestWithTemplate.js";
|
|
10
9
|
export declare const DocumentsCreateRequest: core.serialization.Schema<serializers.DocumentsCreateRequest.Raw, Corti.DocumentsCreateRequest>;
|
|
11
10
|
export declare namespace DocumentsCreateRequest {
|
|
12
|
-
type Raw = DocumentsCreateRequestWithTemplateKey.Raw |
|
|
11
|
+
type Raw = DocumentsCreateRequestWithTemplateKey.Raw | DocumentsCreateRequestWithTemplate.Raw;
|
|
13
12
|
}
|
|
@@ -39,10 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.DocumentsCreateRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
41
|
const DocumentsCreateRequestWithTemplateKey_js_1 = require("./DocumentsCreateRequestWithTemplateKey.js");
|
|
42
|
-
const DocumentsCreateRequestWithTemplateId_js_1 = require("./DocumentsCreateRequestWithTemplateId.js");
|
|
43
42
|
const DocumentsCreateRequestWithTemplate_js_1 = require("./DocumentsCreateRequestWithTemplate.js");
|
|
44
43
|
exports.DocumentsCreateRequest = core.serialization.undiscriminatedUnion([
|
|
45
44
|
DocumentsCreateRequestWithTemplateKey_js_1.DocumentsCreateRequestWithTemplateKey,
|
|
46
|
-
DocumentsCreateRequestWithTemplateId_js_1.DocumentsCreateRequestWithTemplateId,
|
|
47
45
|
DocumentsCreateRequestWithTemplate_js_1.DocumentsCreateRequestWithTemplate,
|
|
48
46
|
]);
|
|
@@ -44,6 +44,5 @@ exports.DocumentsCreateRequestWithTemplate = core.serialization.object({
|
|
|
44
44
|
context: core.serialization.list(DocumentsContext_js_1.DocumentsContext),
|
|
45
45
|
template: DocumentsTemplate_js_1.DocumentsTemplate,
|
|
46
46
|
name: core.serialization.string().optional(),
|
|
47
|
-
modelName: core.serialization.string().optional(),
|
|
48
47
|
outputLanguage: core.serialization.string(),
|
|
49
48
|
});
|
|
@@ -43,6 +43,5 @@ exports.DocumentsCreateRequestWithTemplateKey = core.serialization.object({
|
|
|
43
43
|
context: core.serialization.list(DocumentsContext_js_1.DocumentsContext),
|
|
44
44
|
templateKey: core.serialization.string(),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
|
-
modelName: core.serialization.string().optional(),
|
|
47
46
|
outputLanguage: core.serialization.string(),
|
|
48
47
|
});
|
|
@@ -5,8 +5,7 @@ import * as serializers from "../index.js";
|
|
|
5
5
|
import * as Corti from "../../api/index.js";
|
|
6
6
|
import * as core from "../../core/index.js";
|
|
7
7
|
import { DocumentsTemplateWithSectionKeys } from "./DocumentsTemplateWithSectionKeys.js";
|
|
8
|
-
|
|
9
|
-
export declare const DocumentsTemplate: core.serialization.Schema<serializers.DocumentsTemplate.Raw, Corti.DocumentsTemplate>;
|
|
8
|
+
export declare const DocumentsTemplate: core.serialization.ObjectSchema<serializers.DocumentsTemplate.Raw, Corti.DocumentsTemplate>;
|
|
10
9
|
export declare namespace DocumentsTemplate {
|
|
11
|
-
type Raw = DocumentsTemplateWithSectionKeys.Raw
|
|
10
|
+
type Raw = DocumentsTemplateWithSectionKeys.Raw;
|
|
12
11
|
}
|
|
@@ -2,42 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
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
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
6
|
exports.DocumentsTemplate = void 0;
|
|
40
|
-
const core = __importStar(require("../../core/index.js"));
|
|
41
7
|
const DocumentsTemplateWithSectionKeys_js_1 = require("./DocumentsTemplateWithSectionKeys.js");
|
|
42
|
-
|
|
43
|
-
exports.DocumentsTemplate = core.serialization.undiscriminatedUnion([DocumentsTemplateWithSectionKeys_js_1.DocumentsTemplateWithSectionKeys, DocumentsTemplateWithSectionIds_js_1.DocumentsTemplateWithSectionIds]);
|
|
8
|
+
exports.DocumentsTemplate = DocumentsTemplateWithSectionKeys_js_1.DocumentsTemplateWithSectionKeys;
|
|
@@ -5,11 +5,11 @@ import * as serializers from "../index.js";
|
|
|
5
5
|
import * as Corti from "../../api/index.js";
|
|
6
6
|
import * as core from "../../core/index.js";
|
|
7
7
|
import { TranscriptsMetadata } from "./TranscriptsMetadata.js";
|
|
8
|
-
import {
|
|
8
|
+
import { CommonTranscriptResponse } from "./CommonTranscriptResponse.js";
|
|
9
9
|
export declare const TranscriptsData: core.serialization.ObjectSchema<serializers.TranscriptsData.Raw, Corti.TranscriptsData>;
|
|
10
10
|
export declare namespace TranscriptsData {
|
|
11
11
|
interface Raw {
|
|
12
12
|
metadata: TranscriptsMetadata.Raw;
|
|
13
|
-
transcripts:
|
|
13
|
+
transcripts: CommonTranscriptResponse.Raw[];
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -39,8 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.TranscriptsData = void 0;
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
41
|
const TranscriptsMetadata_js_1 = require("./TranscriptsMetadata.js");
|
|
42
|
-
const
|
|
42
|
+
const CommonTranscriptResponse_js_1 = require("./CommonTranscriptResponse.js");
|
|
43
43
|
exports.TranscriptsData = core.serialization.object({
|
|
44
44
|
metadata: TranscriptsMetadata_js_1.TranscriptsMetadata,
|
|
45
|
-
transcripts: core.serialization.list(
|
|
45
|
+
transcripts: core.serialization.list(CommonTranscriptResponse_js_1.CommonTranscriptResponse),
|
|
46
46
|
});
|
|
@@ -6,14 +6,14 @@ import * as Corti from "../../api/index.js";
|
|
|
6
6
|
import * as core from "../../core/index.js";
|
|
7
7
|
import { Uuid } from "./Uuid.js";
|
|
8
8
|
import { TranscriptsMetadata } from "./TranscriptsMetadata.js";
|
|
9
|
-
import {
|
|
9
|
+
import { CommonTranscriptResponse } from "./CommonTranscriptResponse.js";
|
|
10
10
|
import { CommonUsageInfo } from "./CommonUsageInfo.js";
|
|
11
11
|
export declare const TranscriptsResponse: core.serialization.ObjectSchema<serializers.TranscriptsResponse.Raw, Corti.TranscriptsResponse>;
|
|
12
12
|
export declare namespace TranscriptsResponse {
|
|
13
13
|
interface Raw {
|
|
14
14
|
id: Uuid.Raw;
|
|
15
15
|
metadata: TranscriptsMetadata.Raw;
|
|
16
|
-
transcripts
|
|
16
|
+
transcripts?: (CommonTranscriptResponse.Raw[] | null) | null;
|
|
17
17
|
usageInfo: CommonUsageInfo.Raw;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -40,11 +40,11 @@ exports.TranscriptsResponse = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core/index.js"));
|
|
41
41
|
const Uuid_js_1 = require("./Uuid.js");
|
|
42
42
|
const TranscriptsMetadata_js_1 = require("./TranscriptsMetadata.js");
|
|
43
|
-
const
|
|
43
|
+
const CommonTranscriptResponse_js_1 = require("./CommonTranscriptResponse.js");
|
|
44
44
|
const CommonUsageInfo_js_1 = require("./CommonUsageInfo.js");
|
|
45
45
|
exports.TranscriptsResponse = core.serialization.object({
|
|
46
46
|
id: Uuid_js_1.Uuid,
|
|
47
47
|
metadata: TranscriptsMetadata_js_1.TranscriptsMetadata,
|
|
48
|
-
transcripts: core.serialization.list(
|
|
48
|
+
transcripts: core.serialization.list(CommonTranscriptResponse_js_1.CommonTranscriptResponse).optionalNullable(),
|
|
49
49
|
usageInfo: CommonUsageInfo_js_1.CommonUsageInfo,
|
|
50
50
|
});
|
|
@@ -5,7 +5,6 @@ export * from "./DocumentsContextWithString.js";
|
|
|
5
5
|
export * from "./DocumentsSection.js";
|
|
6
6
|
export * from "./DocumentsTemplate.js";
|
|
7
7
|
export * from "./DocumentsTemplateWithSectionKeys.js";
|
|
8
|
-
export * from "./DocumentsTemplateWithSectionIds.js";
|
|
9
8
|
export * from "./InteractionsEncounterCreateRequest.js";
|
|
10
9
|
export * from "./InteractionsEncounterUpdateRequest.js";
|
|
11
10
|
export * from "./InteractionsEncounterResponse.js";
|
|
@@ -16,7 +15,6 @@ export * from "./FactsFactGroupsItemTranslationsItem.js";
|
|
|
16
15
|
export * from "./FactsFactGroupsItem.js";
|
|
17
16
|
export * from "./InteractionsPatient.js";
|
|
18
17
|
export * from "./DocumentsCreateRequest.js";
|
|
19
|
-
export * from "./DocumentsCreateRequestWithTemplateId.js";
|
|
20
18
|
export * from "./DocumentsCreateRequestWithTemplateKey.js";
|
|
21
19
|
export * from "./DocumentsCreateRequestWithTemplate.js";
|
|
22
20
|
export * from "./DocumentsSectionInput.js";
|
|
@@ -50,7 +48,8 @@ export * from "./TemplatesSection.js";
|
|
|
50
48
|
export * from "./CommonSortingDirectionEnum.js";
|
|
51
49
|
export * from "./TemplatesItem.js";
|
|
52
50
|
export * from "./TemplatesSectionSorted.js";
|
|
53
|
-
export * from "./
|
|
51
|
+
export * from "./CommonTranscriptRequest.js";
|
|
52
|
+
export * from "./CommonTranscriptResponse.js";
|
|
54
53
|
export * from "./Uuid.js";
|
|
55
54
|
export * from "./CommonUsageInfo.js";
|
|
56
55
|
export * from "./InteractionsEncounterStatusEnum.js";
|
|
@@ -21,7 +21,6 @@ __exportStar(require("./DocumentsContextWithString.js"), exports);
|
|
|
21
21
|
__exportStar(require("./DocumentsSection.js"), exports);
|
|
22
22
|
__exportStar(require("./DocumentsTemplate.js"), exports);
|
|
23
23
|
__exportStar(require("./DocumentsTemplateWithSectionKeys.js"), exports);
|
|
24
|
-
__exportStar(require("./DocumentsTemplateWithSectionIds.js"), exports);
|
|
25
24
|
__exportStar(require("./InteractionsEncounterCreateRequest.js"), exports);
|
|
26
25
|
__exportStar(require("./InteractionsEncounterUpdateRequest.js"), exports);
|
|
27
26
|
__exportStar(require("./InteractionsEncounterResponse.js"), exports);
|
|
@@ -32,7 +31,6 @@ __exportStar(require("./FactsFactGroupsItemTranslationsItem.js"), exports);
|
|
|
32
31
|
__exportStar(require("./FactsFactGroupsItem.js"), exports);
|
|
33
32
|
__exportStar(require("./InteractionsPatient.js"), exports);
|
|
34
33
|
__exportStar(require("./DocumentsCreateRequest.js"), exports);
|
|
35
|
-
__exportStar(require("./DocumentsCreateRequestWithTemplateId.js"), exports);
|
|
36
34
|
__exportStar(require("./DocumentsCreateRequestWithTemplateKey.js"), exports);
|
|
37
35
|
__exportStar(require("./DocumentsCreateRequestWithTemplate.js"), exports);
|
|
38
36
|
__exportStar(require("./DocumentsSectionInput.js"), exports);
|
|
@@ -66,7 +64,8 @@ __exportStar(require("./TemplatesSection.js"), exports);
|
|
|
66
64
|
__exportStar(require("./CommonSortingDirectionEnum.js"), exports);
|
|
67
65
|
__exportStar(require("./TemplatesItem.js"), exports);
|
|
68
66
|
__exportStar(require("./TemplatesSectionSorted.js"), exports);
|
|
69
|
-
__exportStar(require("./
|
|
67
|
+
__exportStar(require("./CommonTranscriptRequest.js"), exports);
|
|
68
|
+
__exportStar(require("./CommonTranscriptResponse.js"), exports);
|
|
70
69
|
__exportStar(require("./Uuid.js"), exports);
|
|
71
70
|
__exportStar(require("./CommonUsageInfo.js"), exports);
|
|
72
71
|
__exportStar(require("./InteractionsEncounterStatusEnum.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.3-rc";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -27,8 +27,8 @@ export class CortiClient {
|
|
|
27
27
|
"Tenant-Name": _options === null || _options === void 0 ? void 0 : _options.tenantName,
|
|
28
28
|
"X-Fern-Language": "JavaScript",
|
|
29
29
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
31
|
-
"User-Agent": "@corti/sdk/0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.3-rc",
|
|
31
|
+
"User-Agent": "@corti/sdk/0.1.3-rc",
|
|
32
32
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
33
33
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
34
34
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|