@corti/sdk 2.0.0-templates.3 → 2.0.0-templates.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/alphaDocuments/client/Client.d.ts +0 -6
- package/dist/cjs/api/resources/alphaDocuments/client/Client.js +0 -6
- package/dist/cjs/api/resources/alphaSectionVersions/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/alphaSectionVersions/client/Client.js +1 -1
- package/dist/cjs/api/resources/alphaSections/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/alphaSections/client/Client.js +1 -1
- package/dist/cjs/api/types/ContextFacts.d.ts +8 -0
- package/dist/cjs/api/types/ContextFacts.js +3 -0
- package/dist/cjs/api/types/ContextText.d.ts +8 -0
- package/dist/cjs/api/types/ContextText.js +3 -0
- package/dist/cjs/api/types/ContextTranscript.d.ts +8 -0
- package/dist/cjs/api/types/ContextTranscript.js +3 -0
- package/dist/cjs/api/types/GuidedDocumentByAssembly.d.ts +5 -3
- package/dist/cjs/api/types/GuidedDocumentByDynamic.d.ts +5 -3
- package/dist/cjs/api/types/GuidedDocumentByTemplateRef.d.ts +5 -3
- package/dist/cjs/api/types/GuidedDocumentContext.d.ts +2 -0
- package/dist/cjs/api/types/GuidedDocumentContext.js +3 -0
- package/dist/cjs/api/types/GuidedDocumentFactMinimal.d.ts +7 -0
- package/dist/cjs/api/types/GuidedDocumentFactMinimal.js +3 -0
- package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +7 -0
- package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.js +3 -0
- package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.d.ts +8 -0
- package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.js +3 -0
- package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +17 -0
- package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.js +3 -0
- package/dist/cjs/api/types/GuidedGenerationResult.d.ts +1 -1
- package/dist/cjs/api/types/SectionGeneration.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +8 -0
- package/dist/cjs/api/types/index.js +8 -0
- package/dist/cjs/serialization/types/ContextFacts.d.ts +11 -0
- package/dist/cjs/serialization/types/ContextFacts.js +43 -0
- package/dist/cjs/serialization/types/ContextText.d.ts +10 -0
- package/dist/cjs/serialization/types/ContextText.js +42 -0
- package/dist/cjs/serialization/types/ContextTranscript.d.ts +11 -0
- package/dist/cjs/serialization/types/ContextTranscript.js +43 -0
- package/dist/cjs/serialization/types/GuidedDocumentByAssembly.d.ts +3 -2
- package/dist/cjs/serialization/types/GuidedDocumentByAssembly.js +3 -2
- package/dist/cjs/serialization/types/GuidedDocumentByDynamic.d.ts +3 -2
- package/dist/cjs/serialization/types/GuidedDocumentByDynamic.js +3 -2
- package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.d.ts +3 -2
- package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.js +3 -2
- package/dist/cjs/serialization/types/GuidedDocumentContext.d.ts +10 -0
- package/dist/cjs/serialization/types/GuidedDocumentContext.js +42 -0
- package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.d.ts +9 -0
- package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.js +41 -0
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +10 -0
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.js +42 -0
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.js +44 -0
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +14 -0
- package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.js +46 -0
- package/dist/cjs/serialization/types/SectionGeneration.d.ts +1 -1
- package/dist/cjs/serialization/types/SectionGeneration.js +1 -1
- package/dist/cjs/serialization/types/index.d.ts +8 -0
- package/dist/cjs/serialization/types/index.js +8 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/alphaDocuments/client/Client.d.mts +0 -6
- package/dist/esm/api/resources/alphaDocuments/client/Client.mjs +0 -6
- package/dist/esm/api/resources/alphaSectionVersions/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/alphaSectionVersions/client/Client.mjs +1 -1
- package/dist/esm/api/resources/alphaSections/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/alphaSections/client/Client.mjs +1 -1
- package/dist/esm/api/types/ContextFacts.d.mts +8 -0
- package/dist/esm/api/types/ContextFacts.mjs +2 -0
- package/dist/esm/api/types/ContextText.d.mts +8 -0
- package/dist/esm/api/types/ContextText.mjs +2 -0
- package/dist/esm/api/types/ContextTranscript.d.mts +8 -0
- package/dist/esm/api/types/ContextTranscript.mjs +2 -0
- package/dist/esm/api/types/GuidedDocumentByAssembly.d.mts +5 -3
- package/dist/esm/api/types/GuidedDocumentByDynamic.d.mts +5 -3
- package/dist/esm/api/types/GuidedDocumentByTemplateRef.d.mts +5 -3
- package/dist/esm/api/types/GuidedDocumentContext.d.mts +2 -0
- package/dist/esm/api/types/GuidedDocumentContext.mjs +2 -0
- package/dist/esm/api/types/GuidedDocumentFactMinimal.d.mts +7 -0
- package/dist/esm/api/types/GuidedDocumentFactMinimal.mjs +2 -0
- package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +7 -0
- package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.mjs +2 -0
- package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.d.mts +8 -0
- package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.mjs +2 -0
- package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +17 -0
- package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.mjs +2 -0
- package/dist/esm/api/types/GuidedGenerationResult.d.mts +1 -1
- package/dist/esm/api/types/SectionGeneration.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +8 -0
- package/dist/esm/api/types/index.mjs +8 -0
- package/dist/esm/serialization/types/ContextFacts.d.mts +11 -0
- package/dist/esm/serialization/types/ContextFacts.mjs +7 -0
- package/dist/esm/serialization/types/ContextText.d.mts +10 -0
- package/dist/esm/serialization/types/ContextText.mjs +6 -0
- package/dist/esm/serialization/types/ContextTranscript.d.mts +11 -0
- package/dist/esm/serialization/types/ContextTranscript.mjs +7 -0
- package/dist/esm/serialization/types/GuidedDocumentByAssembly.d.mts +3 -2
- package/dist/esm/serialization/types/GuidedDocumentByAssembly.mjs +3 -2
- package/dist/esm/serialization/types/GuidedDocumentByDynamic.d.mts +3 -2
- package/dist/esm/serialization/types/GuidedDocumentByDynamic.mjs +3 -2
- package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.d.mts +3 -2
- package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.mjs +3 -2
- package/dist/esm/serialization/types/GuidedDocumentContext.d.mts +10 -0
- package/dist/esm/serialization/types/GuidedDocumentContext.mjs +6 -0
- package/dist/esm/serialization/types/GuidedDocumentFactMinimal.d.mts +9 -0
- package/dist/esm/serialization/types/GuidedDocumentFactMinimal.mjs +5 -0
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +10 -0
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.mjs +6 -0
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.mjs +8 -0
- package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +14 -0
- package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.mjs +10 -0
- package/dist/esm/serialization/types/SectionGeneration.d.mts +1 -1
- package/dist/esm/serialization/types/SectionGeneration.mjs +1 -1
- package/dist/esm/serialization/types/index.d.mts +8 -0
- package/dist/esm/serialization/types/index.mjs +8 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -76,6 +76,9 @@ export * from "./CommonTextContextType.mjs";
|
|
|
76
76
|
export * from "./CommonTranscriptRequest.mjs";
|
|
77
77
|
export * from "./CommonTranscriptResponse.mjs";
|
|
78
78
|
export * from "./CommonUsageInfo.mjs";
|
|
79
|
+
export * from "./ContextFacts.mjs";
|
|
80
|
+
export * from "./ContextText.mjs";
|
|
81
|
+
export * from "./ContextTranscript.mjs";
|
|
79
82
|
export * from "./CreateSectionBase.mjs";
|
|
80
83
|
export * from "./CreateSectionFromInheritanceRequest.mjs";
|
|
81
84
|
export * from "./CreateSectionFromScratchRequest.mjs";
|
|
@@ -127,8 +130,13 @@ export * from "./GuidedAssemblySectionRef.mjs";
|
|
|
127
130
|
export * from "./GuidedDocumentByAssembly.mjs";
|
|
128
131
|
export * from "./GuidedDocumentByDynamic.mjs";
|
|
129
132
|
export * from "./GuidedDocumentByTemplateRef.mjs";
|
|
133
|
+
export * from "./GuidedDocumentContext.mjs";
|
|
134
|
+
export * from "./GuidedDocumentFactMinimal.mjs";
|
|
130
135
|
export * from "./GuidedDocumentRequest.mjs";
|
|
131
136
|
export * from "./GuidedDocumentResponse.mjs";
|
|
137
|
+
export * from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
138
|
+
export * from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
139
|
+
export * from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
132
140
|
export * from "./GuidedDynamicInline.mjs";
|
|
133
141
|
export * from "./GuidedDynamicRequest.mjs";
|
|
134
142
|
export * from "./GuidedGenerationResult.mjs";
|
|
@@ -76,6 +76,9 @@ export * from "./CommonTextContextType.mjs";
|
|
|
76
76
|
export * from "./CommonTranscriptRequest.mjs";
|
|
77
77
|
export * from "./CommonTranscriptResponse.mjs";
|
|
78
78
|
export * from "./CommonUsageInfo.mjs";
|
|
79
|
+
export * from "./ContextFacts.mjs";
|
|
80
|
+
export * from "./ContextText.mjs";
|
|
81
|
+
export * from "./ContextTranscript.mjs";
|
|
79
82
|
export * from "./CreateSectionBase.mjs";
|
|
80
83
|
export * from "./CreateSectionFromInheritanceRequest.mjs";
|
|
81
84
|
export * from "./CreateSectionFromScratchRequest.mjs";
|
|
@@ -127,8 +130,13 @@ export * from "./GuidedAssemblySectionRef.mjs";
|
|
|
127
130
|
export * from "./GuidedDocumentByAssembly.mjs";
|
|
128
131
|
export * from "./GuidedDocumentByDynamic.mjs";
|
|
129
132
|
export * from "./GuidedDocumentByTemplateRef.mjs";
|
|
133
|
+
export * from "./GuidedDocumentContext.mjs";
|
|
134
|
+
export * from "./GuidedDocumentFactMinimal.mjs";
|
|
130
135
|
export * from "./GuidedDocumentRequest.mjs";
|
|
131
136
|
export * from "./GuidedDocumentResponse.mjs";
|
|
137
|
+
export * from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
138
|
+
export * from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
139
|
+
export * from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
132
140
|
export * from "./GuidedDynamicInline.mjs";
|
|
133
141
|
export * from "./GuidedDynamicRequest.mjs";
|
|
134
142
|
export * from "./GuidedGenerationResult.mjs";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { GuidedDocumentFactMinimal } from "./GuidedDocumentFactMinimal.mjs";
|
|
5
|
+
export declare const ContextFacts: core.serialization.ObjectSchema<serializers.ContextFacts.Raw, Corti.ContextFacts>;
|
|
6
|
+
export declare namespace ContextFacts {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: "facts";
|
|
9
|
+
fact: GuidedDocumentFactMinimal.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { GuidedDocumentFactMinimal } from "./GuidedDocumentFactMinimal.mjs";
|
|
4
|
+
export const ContextFacts = core.serialization.object({
|
|
5
|
+
type: core.serialization.stringLiteral("facts"),
|
|
6
|
+
fact: GuidedDocumentFactMinimal,
|
|
7
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const ContextText: core.serialization.ObjectSchema<serializers.ContextText.Raw, Corti.ContextText>;
|
|
5
|
+
export declare namespace ContextText {
|
|
6
|
+
interface Raw {
|
|
7
|
+
type: "text";
|
|
8
|
+
text: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { GuidedDocumentTranscriptMinimal } from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
5
|
+
export declare const ContextTranscript: core.serialization.ObjectSchema<serializers.ContextTranscript.Raw, Corti.ContextTranscript>;
|
|
6
|
+
export declare namespace ContextTranscript {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: "transcript";
|
|
9
|
+
transcript: GuidedDocumentTranscriptMinimal.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { GuidedDocumentTranscriptMinimal } from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
4
|
+
export const ContextTranscript = core.serialization.object({
|
|
5
|
+
type: core.serialization.stringLiteral("transcript"),
|
|
6
|
+
transcript: GuidedDocumentTranscriptMinimal,
|
|
7
|
+
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type * as Corti from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { DocumentsContext } from "./DocumentsContext.mjs";
|
|
5
4
|
import { GuidedAssemblyRequest } from "./GuidedAssemblyRequest.mjs";
|
|
5
|
+
import { GuidedDocumentContext } from "./GuidedDocumentContext.mjs";
|
|
6
6
|
export declare const GuidedDocumentByAssembly: core.serialization.ObjectSchema<serializers.GuidedDocumentByAssembly.Raw, Corti.GuidedDocumentByAssembly>;
|
|
7
7
|
export declare namespace GuidedDocumentByAssembly {
|
|
8
8
|
interface Raw {
|
|
9
|
-
context
|
|
9
|
+
context?: GuidedDocumentContext.Raw[] | null;
|
|
10
|
+
interactionId?: string | null;
|
|
10
11
|
assemblyTemplate: GuidedAssemblyRequest.Raw;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { DocumentsContext } from "./DocumentsContext.mjs";
|
|
4
3
|
import { GuidedAssemblyRequest } from "./GuidedAssemblyRequest.mjs";
|
|
4
|
+
import { GuidedDocumentContext } from "./GuidedDocumentContext.mjs";
|
|
5
5
|
export const GuidedDocumentByAssembly = core.serialization.object({
|
|
6
|
-
context:
|
|
6
|
+
context: core.serialization.list(GuidedDocumentContext).optional(),
|
|
7
|
+
interactionId: core.serialization.string().optional(),
|
|
7
8
|
assemblyTemplate: GuidedAssemblyRequest,
|
|
8
9
|
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type * as Corti from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { GuidedDocumentContext } from "./GuidedDocumentContext.mjs";
|
|
5
5
|
import { GuidedDynamicRequest } from "./GuidedDynamicRequest.mjs";
|
|
6
6
|
export declare const GuidedDocumentByDynamic: core.serialization.ObjectSchema<serializers.GuidedDocumentByDynamic.Raw, Corti.GuidedDocumentByDynamic>;
|
|
7
7
|
export declare namespace GuidedDocumentByDynamic {
|
|
8
8
|
interface Raw {
|
|
9
|
-
context
|
|
9
|
+
context?: GuidedDocumentContext.Raw[] | null;
|
|
10
|
+
interactionId?: string | null;
|
|
10
11
|
dynamicTemplate: GuidedDynamicRequest.Raw;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { GuidedDocumentContext } from "./GuidedDocumentContext.mjs";
|
|
4
4
|
import { GuidedDynamicRequest } from "./GuidedDynamicRequest.mjs";
|
|
5
5
|
export const GuidedDocumentByDynamic = core.serialization.object({
|
|
6
|
-
context:
|
|
6
|
+
context: core.serialization.list(GuidedDocumentContext).optional(),
|
|
7
|
+
interactionId: core.serialization.string().optional(),
|
|
7
8
|
dynamicTemplate: GuidedDynamicRequest,
|
|
8
9
|
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type * as Corti from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { GuidedDocumentContext } from "./GuidedDocumentContext.mjs";
|
|
5
5
|
import { GuidedTemplateRef } from "./GuidedTemplateRef.mjs";
|
|
6
6
|
export declare const GuidedDocumentByTemplateRef: core.serialization.ObjectSchema<serializers.GuidedDocumentByTemplateRef.Raw, Corti.GuidedDocumentByTemplateRef>;
|
|
7
7
|
export declare namespace GuidedDocumentByTemplateRef {
|
|
8
8
|
interface Raw {
|
|
9
|
-
context
|
|
9
|
+
context?: GuidedDocumentContext.Raw[] | null;
|
|
10
|
+
interactionId?: string | null;
|
|
10
11
|
templateRef: GuidedTemplateRef.Raw;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { GuidedDocumentContext } from "./GuidedDocumentContext.mjs";
|
|
4
4
|
import { GuidedTemplateRef } from "./GuidedTemplateRef.mjs";
|
|
5
5
|
export const GuidedDocumentByTemplateRef = core.serialization.object({
|
|
6
|
-
context:
|
|
6
|
+
context: core.serialization.list(GuidedDocumentContext).optional(),
|
|
7
|
+
interactionId: core.serialization.string().optional(),
|
|
7
8
|
templateRef: GuidedTemplateRef,
|
|
8
9
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { ContextFacts } from "./ContextFacts.mjs";
|
|
5
|
+
import { ContextText } from "./ContextText.mjs";
|
|
6
|
+
import { ContextTranscript } from "./ContextTranscript.mjs";
|
|
7
|
+
export declare const GuidedDocumentContext: core.serialization.Schema<serializers.GuidedDocumentContext.Raw, Corti.GuidedDocumentContext>;
|
|
8
|
+
export declare namespace GuidedDocumentContext {
|
|
9
|
+
type Raw = ContextText.Raw | ContextTranscript.Raw | ContextFacts.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { ContextFacts } from "./ContextFacts.mjs";
|
|
4
|
+
import { ContextText } from "./ContextText.mjs";
|
|
5
|
+
import { ContextTranscript } from "./ContextTranscript.mjs";
|
|
6
|
+
export const GuidedDocumentContext = core.serialization.undiscriminatedUnion([ContextText, ContextTranscript, ContextFacts]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const GuidedDocumentFactMinimal: core.serialization.ObjectSchema<serializers.GuidedDocumentFactMinimal.Raw, Corti.GuidedDocumentFactMinimal>;
|
|
5
|
+
export declare namespace GuidedDocumentFactMinimal {
|
|
6
|
+
interface Raw {
|
|
7
|
+
text: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { TranscriptsParticipant } from "./TranscriptsParticipant.mjs";
|
|
5
|
+
export declare const GuidedDocumentTranscriptMetadataMinimal: core.serialization.ObjectSchema<serializers.GuidedDocumentTranscriptMetadataMinimal.Raw, Corti.GuidedDocumentTranscriptMetadataMinimal>;
|
|
6
|
+
export declare namespace GuidedDocumentTranscriptMetadataMinimal {
|
|
7
|
+
interface Raw {
|
|
8
|
+
participantsRoles?: (TranscriptsParticipant.Raw[] | null | undefined) | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { TranscriptsParticipant } from "./TranscriptsParticipant.mjs";
|
|
4
|
+
export const GuidedDocumentTranscriptMetadataMinimal = core.serialization.object({
|
|
5
|
+
participantsRoles: core.serialization.list(TranscriptsParticipant).optionalNullable(),
|
|
6
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { GuidedDocumentTranscriptMetadataMinimal } from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
5
|
+
import { GuidedDocumentTranscriptSegmentMinimal } from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
6
|
+
export declare const GuidedDocumentTranscriptMinimal: core.serialization.ObjectSchema<serializers.GuidedDocumentTranscriptMinimal.Raw, Corti.GuidedDocumentTranscriptMinimal>;
|
|
7
|
+
export declare namespace GuidedDocumentTranscriptMinimal {
|
|
8
|
+
interface Raw {
|
|
9
|
+
metadata?: GuidedDocumentTranscriptMetadataMinimal.Raw | null;
|
|
10
|
+
transcripts: GuidedDocumentTranscriptSegmentMinimal.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { GuidedDocumentTranscriptMetadataMinimal } from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
4
|
+
import { GuidedDocumentTranscriptSegmentMinimal } from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
5
|
+
export const GuidedDocumentTranscriptMinimal = core.serialization.object({
|
|
6
|
+
metadata: GuidedDocumentTranscriptMetadataMinimal.optional(),
|
|
7
|
+
transcripts: core.serialization.list(GuidedDocumentTranscriptSegmentMinimal),
|
|
8
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const GuidedDocumentTranscriptSegmentMinimal: core.serialization.ObjectSchema<serializers.GuidedDocumentTranscriptSegmentMinimal.Raw, Corti.GuidedDocumentTranscriptSegmentMinimal>;
|
|
5
|
+
export declare namespace GuidedDocumentTranscriptSegmentMinimal {
|
|
6
|
+
interface Raw {
|
|
7
|
+
channel?: number | null;
|
|
8
|
+
participant?: number | null;
|
|
9
|
+
speakerId?: number | null;
|
|
10
|
+
text: string;
|
|
11
|
+
start?: number | null;
|
|
12
|
+
end?: number | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
export const GuidedDocumentTranscriptSegmentMinimal = core.serialization.object({
|
|
4
|
+
channel: core.serialization.number().optional(),
|
|
5
|
+
participant: core.serialization.number().optional(),
|
|
6
|
+
speakerId: core.serialization.number().optional(),
|
|
7
|
+
text: core.serialization.string(),
|
|
8
|
+
start: core.serialization.number().optional(),
|
|
9
|
+
end: core.serialization.number().optional(),
|
|
10
|
+
});
|
|
@@ -5,7 +5,7 @@ import { SectionInstructions } from "./SectionInstructions.mjs";
|
|
|
5
5
|
export declare const SectionGeneration: core.serialization.ObjectSchema<serializers.SectionGeneration.Raw, Corti.SectionGeneration>;
|
|
6
6
|
export declare namespace SectionGeneration {
|
|
7
7
|
interface Raw {
|
|
8
|
-
|
|
8
|
+
heading: string;
|
|
9
9
|
instructions: SectionInstructions.Raw;
|
|
10
10
|
outputSchema: serializers.OutputSchema.Raw;
|
|
11
11
|
}
|
|
@@ -3,7 +3,7 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import * as serializers from "../index.mjs";
|
|
4
4
|
import { SectionInstructions } from "./SectionInstructions.mjs";
|
|
5
5
|
export const SectionGeneration = core.serialization.object({
|
|
6
|
-
|
|
6
|
+
heading: core.serialization.string(),
|
|
7
7
|
instructions: SectionInstructions,
|
|
8
8
|
outputSchema: core.serialization.lazy(() => serializers.OutputSchema),
|
|
9
9
|
});
|
|
@@ -76,6 +76,9 @@ export * from "./CommonTextContextType.mjs";
|
|
|
76
76
|
export * from "./CommonTranscriptRequest.mjs";
|
|
77
77
|
export * from "./CommonTranscriptResponse.mjs";
|
|
78
78
|
export * from "./CommonUsageInfo.mjs";
|
|
79
|
+
export * from "./ContextFacts.mjs";
|
|
80
|
+
export * from "./ContextText.mjs";
|
|
81
|
+
export * from "./ContextTranscript.mjs";
|
|
79
82
|
export * from "./CreateSectionBase.mjs";
|
|
80
83
|
export * from "./CreateSectionFromInheritanceRequest.mjs";
|
|
81
84
|
export * from "./CreateSectionFromScratchRequest.mjs";
|
|
@@ -127,8 +130,13 @@ export * from "./GuidedAssemblySectionRef.mjs";
|
|
|
127
130
|
export * from "./GuidedDocumentByAssembly.mjs";
|
|
128
131
|
export * from "./GuidedDocumentByDynamic.mjs";
|
|
129
132
|
export * from "./GuidedDocumentByTemplateRef.mjs";
|
|
133
|
+
export * from "./GuidedDocumentContext.mjs";
|
|
134
|
+
export * from "./GuidedDocumentFactMinimal.mjs";
|
|
130
135
|
export * from "./GuidedDocumentRequest.mjs";
|
|
131
136
|
export * from "./GuidedDocumentResponse.mjs";
|
|
137
|
+
export * from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
138
|
+
export * from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
139
|
+
export * from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
132
140
|
export * from "./GuidedDynamicInline.mjs";
|
|
133
141
|
export * from "./GuidedDynamicRequest.mjs";
|
|
134
142
|
export * from "./GuidedGenerationResult.mjs";
|
|
@@ -76,6 +76,9 @@ export * from "./CommonTextContextType.mjs";
|
|
|
76
76
|
export * from "./CommonTranscriptRequest.mjs";
|
|
77
77
|
export * from "./CommonTranscriptResponse.mjs";
|
|
78
78
|
export * from "./CommonUsageInfo.mjs";
|
|
79
|
+
export * from "./ContextFacts.mjs";
|
|
80
|
+
export * from "./ContextText.mjs";
|
|
81
|
+
export * from "./ContextTranscript.mjs";
|
|
79
82
|
export * from "./CreateSectionBase.mjs";
|
|
80
83
|
export * from "./CreateSectionFromInheritanceRequest.mjs";
|
|
81
84
|
export * from "./CreateSectionFromScratchRequest.mjs";
|
|
@@ -127,8 +130,13 @@ export * from "./GuidedAssemblySectionRef.mjs";
|
|
|
127
130
|
export * from "./GuidedDocumentByAssembly.mjs";
|
|
128
131
|
export * from "./GuidedDocumentByDynamic.mjs";
|
|
129
132
|
export * from "./GuidedDocumentByTemplateRef.mjs";
|
|
133
|
+
export * from "./GuidedDocumentContext.mjs";
|
|
134
|
+
export * from "./GuidedDocumentFactMinimal.mjs";
|
|
130
135
|
export * from "./GuidedDocumentRequest.mjs";
|
|
131
136
|
export * from "./GuidedDocumentResponse.mjs";
|
|
137
|
+
export * from "./GuidedDocumentTranscriptMetadataMinimal.mjs";
|
|
138
|
+
export * from "./GuidedDocumentTranscriptMinimal.mjs";
|
|
139
|
+
export * from "./GuidedDocumentTranscriptSegmentMinimal.mjs";
|
|
132
140
|
export * from "./GuidedDynamicInline.mjs";
|
|
133
141
|
export * from "./GuidedDynamicRequest.mjs";
|
|
134
142
|
export * from "./GuidedGenerationResult.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.0-templates.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0-templates.4";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.0.0-templates.
|
|
1
|
+
export const SDK_VERSION = "2.0.0-templates.4";
|