vellum-ai 0.0.19 → 0.0.20
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/api/types/TerminalNodeChatHistoryResult.d.ts +9 -0
- package/api/types/TerminalNodeJsonResult.d.ts +8 -0
- package/api/types/TerminalNodeResultOutput.d.ts +3 -3
- package/api/types/TerminalNodeStringResult.d.ts +8 -0
- package/api/types/index.d.ts +3 -3
- package/api/types/index.js +3 -3
- package/dist/api/types/TerminalNodeChatHistoryResult.d.ts +9 -0
- package/dist/api/types/TerminalNodeJsonResult.d.ts +8 -0
- package/dist/api/types/TerminalNodeResultOutput.d.ts +3 -3
- package/dist/api/types/TerminalNodeStringResult.d.ts +8 -0
- package/dist/api/types/index.d.ts +3 -3
- package/dist/api/types/index.js +3 -3
- package/dist/serialization/types/TerminalNodeChatHistoryResult.d.ts +13 -0
- package/dist/serialization/types/{ConstantValueChatHistoryVariable.js → TerminalNodeChatHistoryResult.js} +4 -5
- package/dist/serialization/types/TerminalNodeJsonResult.d.ts +13 -0
- package/{serialization/types/ConstantValueJsonVariable.js → dist/serialization/types/TerminalNodeJsonResult.js} +4 -3
- package/dist/serialization/types/TerminalNodeResultOutput.d.ts +3 -3
- package/dist/serialization/types/TerminalNodeResultOutput.js +3 -3
- package/dist/serialization/types/TerminalNodeStringResult.d.ts +13 -0
- package/dist/serialization/types/{ConstantValueStringVariable.js → TerminalNodeStringResult.js} +4 -3
- package/dist/serialization/types/index.d.ts +3 -3
- package/dist/serialization/types/index.js +3 -3
- package/package.json +1 -1
- package/serialization/types/TerminalNodeChatHistoryResult.d.ts +13 -0
- package/serialization/types/{ConstantValueChatHistoryVariable.js → TerminalNodeChatHistoryResult.js} +4 -5
- package/serialization/types/TerminalNodeJsonResult.d.ts +13 -0
- package/{dist/serialization/types/ConstantValueJsonVariable.js → serialization/types/TerminalNodeJsonResult.js} +4 -3
- package/serialization/types/TerminalNodeResultOutput.d.ts +3 -3
- package/serialization/types/TerminalNodeResultOutput.js +3 -3
- package/serialization/types/TerminalNodeStringResult.d.ts +13 -0
- package/serialization/types/{ConstantValueStringVariable.js → TerminalNodeStringResult.js} +4 -3
- package/serialization/types/index.d.ts +3 -3
- package/serialization/types/index.js +3 -3
- package/api/types/ConstantValueChatHistoryVariable.d.ts +0 -7
- package/api/types/ConstantValueJsonVariable.d.ts +0 -6
- package/api/types/ConstantValueStringVariable.d.ts +0 -6
- package/dist/api/types/ConstantValueChatHistoryVariable.d.ts +0 -7
- package/dist/api/types/ConstantValueJsonVariable.d.ts +0 -6
- package/dist/api/types/ConstantValueStringVariable.d.ts +0 -6
- package/dist/serialization/types/ConstantValueChatHistoryVariable.d.ts +0 -12
- package/dist/serialization/types/ConstantValueJsonVariable.d.ts +0 -12
- package/dist/serialization/types/ConstantValueStringVariable.d.ts +0 -12
- package/serialization/types/ConstantValueChatHistoryVariable.d.ts +0 -12
- package/serialization/types/ConstantValueJsonVariable.d.ts +0 -12
- package/serialization/types/ConstantValueStringVariable.d.ts +0 -12
- /package/api/types/{ConstantValueChatHistoryVariable.js → TerminalNodeChatHistoryResult.js} +0 -0
- /package/api/types/{ConstantValueJsonVariable.js → TerminalNodeJsonResult.js} +0 -0
- /package/api/types/{ConstantValueStringVariable.js → TerminalNodeStringResult.js} +0 -0
- /package/dist/api/types/{ConstantValueChatHistoryVariable.js → TerminalNodeChatHistoryResult.js} +0 -0
- /package/dist/api/types/{ConstantValueJsonVariable.js → TerminalNodeJsonResult.js} +0 -0
- /package/dist/api/types/{ConstantValueStringVariable.js → TerminalNodeStringResult.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface TerminalNodeChatHistoryResult {
|
|
6
|
+
/** The unique name given to the terminal node that produced this output. */
|
|
7
|
+
name: string;
|
|
8
|
+
value: Vellum.ChatMessage[];
|
|
9
|
+
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import * as Vellum from "..";
|
|
5
5
|
export declare type TerminalNodeResultOutput = Vellum.TerminalNodeResultOutput.String | Vellum.TerminalNodeResultOutput.Json | Vellum.TerminalNodeResultOutput.ChatHistory;
|
|
6
6
|
export declare namespace TerminalNodeResultOutput {
|
|
7
|
-
interface String extends Vellum.
|
|
7
|
+
interface String extends Vellum.TerminalNodeStringResult {
|
|
8
8
|
type: "STRING";
|
|
9
9
|
}
|
|
10
|
-
interface Json extends Vellum.
|
|
10
|
+
interface Json extends Vellum.TerminalNodeJsonResult {
|
|
11
11
|
type: "JSON";
|
|
12
12
|
}
|
|
13
|
-
interface ChatHistory extends Vellum.
|
|
13
|
+
interface ChatHistory extends Vellum.TerminalNodeChatHistoryResult {
|
|
14
14
|
type: "CHAT_HISTORY";
|
|
15
15
|
}
|
|
16
16
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -4,9 +4,6 @@ export * from "./ChatMessageRequest";
|
|
|
4
4
|
export * from "./ChatMessageRole";
|
|
5
5
|
export * from "./ConditionalNodeResult";
|
|
6
6
|
export * from "./ConditionalNodeResultData";
|
|
7
|
-
export * from "./ConstantValueChatHistoryVariable";
|
|
8
|
-
export * from "./ConstantValueJsonVariable";
|
|
9
|
-
export * from "./ConstantValueStringVariable";
|
|
10
7
|
export * from "./ContentType";
|
|
11
8
|
export * from "./DeploymentNodeResult";
|
|
12
9
|
export * from "./DeploymentNodeResultData";
|
|
@@ -88,9 +85,12 @@ export * from "./SlimDocument";
|
|
|
88
85
|
export * from "./SlimDocumentStatusEnum";
|
|
89
86
|
export * from "./SubmitCompletionActualRequest";
|
|
90
87
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
88
|
+
export * from "./TerminalNodeChatHistoryResult";
|
|
89
|
+
export * from "./TerminalNodeJsonResult";
|
|
91
90
|
export * from "./TerminalNodeResult";
|
|
92
91
|
export * from "./TerminalNodeResultData";
|
|
93
92
|
export * from "./TerminalNodeResultOutput";
|
|
93
|
+
export * from "./TerminalNodeStringResult";
|
|
94
94
|
export * from "./TestSuiteTestCase";
|
|
95
95
|
export * from "./UploadDocumentErrorResponse";
|
|
96
96
|
export * from "./UploadDocumentResponse";
|
package/api/types/index.js
CHANGED
|
@@ -20,9 +20,6 @@ __exportStar(require("./ChatMessageRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
21
21
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
22
22
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
23
|
-
__exportStar(require("./ConstantValueChatHistoryVariable"), exports);
|
|
24
|
-
__exportStar(require("./ConstantValueJsonVariable"), exports);
|
|
25
|
-
__exportStar(require("./ConstantValueStringVariable"), exports);
|
|
26
23
|
__exportStar(require("./ContentType"), exports);
|
|
27
24
|
__exportStar(require("./DeploymentNodeResult"), exports);
|
|
28
25
|
__exportStar(require("./DeploymentNodeResultData"), exports);
|
|
@@ -104,9 +101,12 @@ __exportStar(require("./SlimDocument"), exports);
|
|
|
104
101
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
105
102
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
106
103
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
104
|
+
__exportStar(require("./TerminalNodeChatHistoryResult"), exports);
|
|
105
|
+
__exportStar(require("./TerminalNodeJsonResult"), exports);
|
|
107
106
|
__exportStar(require("./TerminalNodeResult"), exports);
|
|
108
107
|
__exportStar(require("./TerminalNodeResultData"), exports);
|
|
109
108
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
109
|
+
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
110
110
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
111
111
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
112
112
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface TerminalNodeChatHistoryResult {
|
|
6
|
+
/** The unique name given to the terminal node that produced this output. */
|
|
7
|
+
name: string;
|
|
8
|
+
value: Vellum.ChatMessage[];
|
|
9
|
+
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import * as Vellum from "..";
|
|
5
5
|
export declare type TerminalNodeResultOutput = Vellum.TerminalNodeResultOutput.String | Vellum.TerminalNodeResultOutput.Json | Vellum.TerminalNodeResultOutput.ChatHistory;
|
|
6
6
|
export declare namespace TerminalNodeResultOutput {
|
|
7
|
-
interface String extends Vellum.
|
|
7
|
+
interface String extends Vellum.TerminalNodeStringResult {
|
|
8
8
|
type: "STRING";
|
|
9
9
|
}
|
|
10
|
-
interface Json extends Vellum.
|
|
10
|
+
interface Json extends Vellum.TerminalNodeJsonResult {
|
|
11
11
|
type: "JSON";
|
|
12
12
|
}
|
|
13
|
-
interface ChatHistory extends Vellum.
|
|
13
|
+
interface ChatHistory extends Vellum.TerminalNodeChatHistoryResult {
|
|
14
14
|
type: "CHAT_HISTORY";
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -4,9 +4,6 @@ export * from "./ChatMessageRequest";
|
|
|
4
4
|
export * from "./ChatMessageRole";
|
|
5
5
|
export * from "./ConditionalNodeResult";
|
|
6
6
|
export * from "./ConditionalNodeResultData";
|
|
7
|
-
export * from "./ConstantValueChatHistoryVariable";
|
|
8
|
-
export * from "./ConstantValueJsonVariable";
|
|
9
|
-
export * from "./ConstantValueStringVariable";
|
|
10
7
|
export * from "./ContentType";
|
|
11
8
|
export * from "./DeploymentNodeResult";
|
|
12
9
|
export * from "./DeploymentNodeResultData";
|
|
@@ -88,9 +85,12 @@ export * from "./SlimDocument";
|
|
|
88
85
|
export * from "./SlimDocumentStatusEnum";
|
|
89
86
|
export * from "./SubmitCompletionActualRequest";
|
|
90
87
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
88
|
+
export * from "./TerminalNodeChatHistoryResult";
|
|
89
|
+
export * from "./TerminalNodeJsonResult";
|
|
91
90
|
export * from "./TerminalNodeResult";
|
|
92
91
|
export * from "./TerminalNodeResultData";
|
|
93
92
|
export * from "./TerminalNodeResultOutput";
|
|
93
|
+
export * from "./TerminalNodeStringResult";
|
|
94
94
|
export * from "./TestSuiteTestCase";
|
|
95
95
|
export * from "./UploadDocumentErrorResponse";
|
|
96
96
|
export * from "./UploadDocumentResponse";
|
package/dist/api/types/index.js
CHANGED
|
@@ -20,9 +20,6 @@ __exportStar(require("./ChatMessageRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
21
21
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
22
22
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
23
|
-
__exportStar(require("./ConstantValueChatHistoryVariable"), exports);
|
|
24
|
-
__exportStar(require("./ConstantValueJsonVariable"), exports);
|
|
25
|
-
__exportStar(require("./ConstantValueStringVariable"), exports);
|
|
26
23
|
__exportStar(require("./ContentType"), exports);
|
|
27
24
|
__exportStar(require("./DeploymentNodeResult"), exports);
|
|
28
25
|
__exportStar(require("./DeploymentNodeResultData"), exports);
|
|
@@ -104,9 +101,12 @@ __exportStar(require("./SlimDocument"), exports);
|
|
|
104
101
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
105
102
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
106
103
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
104
|
+
__exportStar(require("./TerminalNodeChatHistoryResult"), exports);
|
|
105
|
+
__exportStar(require("./TerminalNodeJsonResult"), exports);
|
|
107
106
|
__exportStar(require("./TerminalNodeResult"), exports);
|
|
108
107
|
__exportStar(require("./TerminalNodeResultData"), exports);
|
|
109
108
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
109
|
+
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
110
110
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
111
111
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
112
112
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TerminalNodeChatHistoryResult: core.serialization.ObjectSchema<serializers.TerminalNodeChatHistoryResult.Raw, Vellum.TerminalNodeChatHistoryResult>;
|
|
8
|
+
export declare namespace TerminalNodeChatHistoryResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: serializers.ChatMessage.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,10 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TerminalNodeChatHistoryResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.optional(),
|
|
31
|
+
exports.TerminalNodeChatHistoryResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage)),
|
|
35
34
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TerminalNodeJsonResult: core.serialization.ObjectSchema<serializers.TerminalNodeJsonResult.Raw, Vellum.TerminalNodeJsonResult>;
|
|
8
|
+
export declare namespace TerminalNodeJsonResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TerminalNodeJsonResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.TerminalNodeJsonResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
33
34
|
});
|
|
@@ -7,13 +7,13 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const TerminalNodeResultOutput: core.serialization.Schema<serializers.TerminalNodeResultOutput.Raw, Vellum.TerminalNodeResultOutput>;
|
|
8
8
|
export declare namespace TerminalNodeResultOutput {
|
|
9
9
|
type Raw = TerminalNodeResultOutput.String | TerminalNodeResultOutput.Json | TerminalNodeResultOutput.ChatHistory;
|
|
10
|
-
interface String extends serializers.
|
|
10
|
+
interface String extends serializers.TerminalNodeStringResult.Raw {
|
|
11
11
|
type: "STRING";
|
|
12
12
|
}
|
|
13
|
-
interface Json extends serializers.
|
|
13
|
+
interface Json extends serializers.TerminalNodeJsonResult.Raw {
|
|
14
14
|
type: "JSON";
|
|
15
15
|
}
|
|
16
|
-
interface ChatHistory extends serializers.
|
|
16
|
+
interface ChatHistory extends serializers.TerminalNodeChatHistoryResult.Raw {
|
|
17
17
|
type: "CHAT_HISTORY";
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -30,9 +30,9 @@ exports.TerminalNodeResultOutput = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TerminalNodeResultOutput = core.serialization
|
|
32
32
|
.union("type", {
|
|
33
|
-
STRING: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
-
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
35
|
-
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
33
|
+
STRING: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeStringResult),
|
|
34
|
+
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeJsonResult),
|
|
35
|
+
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeChatHistoryResult),
|
|
36
36
|
})
|
|
37
37
|
.transform({
|
|
38
38
|
transform: (value) => value,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TerminalNodeStringResult: core.serialization.ObjectSchema<serializers.TerminalNodeStringResult.Raw, Vellum.TerminalNodeStringResult>;
|
|
8
|
+
export declare namespace TerminalNodeStringResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/serialization/types/{ConstantValueStringVariable.js → TerminalNodeStringResult.js}
RENAMED
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TerminalNodeStringResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.TerminalNodeStringResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.string(),
|
|
33
34
|
});
|
|
@@ -4,9 +4,6 @@ export * from "./ChatMessageRequest";
|
|
|
4
4
|
export * from "./ChatMessageRole";
|
|
5
5
|
export * from "./ConditionalNodeResult";
|
|
6
6
|
export * from "./ConditionalNodeResultData";
|
|
7
|
-
export * from "./ConstantValueChatHistoryVariable";
|
|
8
|
-
export * from "./ConstantValueJsonVariable";
|
|
9
|
-
export * from "./ConstantValueStringVariable";
|
|
10
7
|
export * from "./ContentType";
|
|
11
8
|
export * from "./DeploymentNodeResult";
|
|
12
9
|
export * from "./DeploymentNodeResultData";
|
|
@@ -88,9 +85,12 @@ export * from "./SlimDocument";
|
|
|
88
85
|
export * from "./SlimDocumentStatusEnum";
|
|
89
86
|
export * from "./SubmitCompletionActualRequest";
|
|
90
87
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
88
|
+
export * from "./TerminalNodeChatHistoryResult";
|
|
89
|
+
export * from "./TerminalNodeJsonResult";
|
|
91
90
|
export * from "./TerminalNodeResult";
|
|
92
91
|
export * from "./TerminalNodeResultData";
|
|
93
92
|
export * from "./TerminalNodeResultOutput";
|
|
93
|
+
export * from "./TerminalNodeStringResult";
|
|
94
94
|
export * from "./TestSuiteTestCase";
|
|
95
95
|
export * from "./UploadDocumentErrorResponse";
|
|
96
96
|
export * from "./UploadDocumentResponse";
|
|
@@ -20,9 +20,6 @@ __exportStar(require("./ChatMessageRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
21
21
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
22
22
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
23
|
-
__exportStar(require("./ConstantValueChatHistoryVariable"), exports);
|
|
24
|
-
__exportStar(require("./ConstantValueJsonVariable"), exports);
|
|
25
|
-
__exportStar(require("./ConstantValueStringVariable"), exports);
|
|
26
23
|
__exportStar(require("./ContentType"), exports);
|
|
27
24
|
__exportStar(require("./DeploymentNodeResult"), exports);
|
|
28
25
|
__exportStar(require("./DeploymentNodeResultData"), exports);
|
|
@@ -104,9 +101,12 @@ __exportStar(require("./SlimDocument"), exports);
|
|
|
104
101
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
105
102
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
106
103
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
104
|
+
__exportStar(require("./TerminalNodeChatHistoryResult"), exports);
|
|
105
|
+
__exportStar(require("./TerminalNodeJsonResult"), exports);
|
|
107
106
|
__exportStar(require("./TerminalNodeResult"), exports);
|
|
108
107
|
__exportStar(require("./TerminalNodeResultData"), exports);
|
|
109
108
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
109
|
+
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
110
110
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
111
111
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
112
112
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TerminalNodeChatHistoryResult: core.serialization.ObjectSchema<serializers.TerminalNodeChatHistoryResult.Raw, Vellum.TerminalNodeChatHistoryResult>;
|
|
8
|
+
export declare namespace TerminalNodeChatHistoryResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: serializers.ChatMessage.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
package/serialization/types/{ConstantValueChatHistoryVariable.js → TerminalNodeChatHistoryResult.js}
RENAMED
|
@@ -26,10 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TerminalNodeChatHistoryResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.optional(),
|
|
31
|
+
exports.TerminalNodeChatHistoryResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage)),
|
|
35
34
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TerminalNodeJsonResult: core.serialization.ObjectSchema<serializers.TerminalNodeJsonResult.Raw, Vellum.TerminalNodeJsonResult>;
|
|
8
|
+
export declare namespace TerminalNodeJsonResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TerminalNodeJsonResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.TerminalNodeJsonResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
33
34
|
});
|
|
@@ -7,13 +7,13 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const TerminalNodeResultOutput: core.serialization.Schema<serializers.TerminalNodeResultOutput.Raw, Vellum.TerminalNodeResultOutput>;
|
|
8
8
|
export declare namespace TerminalNodeResultOutput {
|
|
9
9
|
type Raw = TerminalNodeResultOutput.String | TerminalNodeResultOutput.Json | TerminalNodeResultOutput.ChatHistory;
|
|
10
|
-
interface String extends serializers.
|
|
10
|
+
interface String extends serializers.TerminalNodeStringResult.Raw {
|
|
11
11
|
type: "STRING";
|
|
12
12
|
}
|
|
13
|
-
interface Json extends serializers.
|
|
13
|
+
interface Json extends serializers.TerminalNodeJsonResult.Raw {
|
|
14
14
|
type: "JSON";
|
|
15
15
|
}
|
|
16
|
-
interface ChatHistory extends serializers.
|
|
16
|
+
interface ChatHistory extends serializers.TerminalNodeChatHistoryResult.Raw {
|
|
17
17
|
type: "CHAT_HISTORY";
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -30,9 +30,9 @@ exports.TerminalNodeResultOutput = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.TerminalNodeResultOutput = core.serialization
|
|
32
32
|
.union("type", {
|
|
33
|
-
STRING: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
-
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
35
|
-
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
33
|
+
STRING: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeStringResult),
|
|
34
|
+
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeJsonResult),
|
|
35
|
+
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeChatHistoryResult),
|
|
36
36
|
})
|
|
37
37
|
.transform({
|
|
38
38
|
transform: (value) => value,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TerminalNodeStringResult: core.serialization.ObjectSchema<serializers.TerminalNodeStringResult.Raw, Vellum.TerminalNodeStringResult>;
|
|
8
|
+
export declare namespace TerminalNodeStringResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TerminalNodeStringResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.TerminalNodeStringResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.string(),
|
|
33
34
|
});
|
|
@@ -4,9 +4,6 @@ export * from "./ChatMessageRequest";
|
|
|
4
4
|
export * from "./ChatMessageRole";
|
|
5
5
|
export * from "./ConditionalNodeResult";
|
|
6
6
|
export * from "./ConditionalNodeResultData";
|
|
7
|
-
export * from "./ConstantValueChatHistoryVariable";
|
|
8
|
-
export * from "./ConstantValueJsonVariable";
|
|
9
|
-
export * from "./ConstantValueStringVariable";
|
|
10
7
|
export * from "./ContentType";
|
|
11
8
|
export * from "./DeploymentNodeResult";
|
|
12
9
|
export * from "./DeploymentNodeResultData";
|
|
@@ -88,9 +85,12 @@ export * from "./SlimDocument";
|
|
|
88
85
|
export * from "./SlimDocumentStatusEnum";
|
|
89
86
|
export * from "./SubmitCompletionActualRequest";
|
|
90
87
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
88
|
+
export * from "./TerminalNodeChatHistoryResult";
|
|
89
|
+
export * from "./TerminalNodeJsonResult";
|
|
91
90
|
export * from "./TerminalNodeResult";
|
|
92
91
|
export * from "./TerminalNodeResultData";
|
|
93
92
|
export * from "./TerminalNodeResultOutput";
|
|
93
|
+
export * from "./TerminalNodeStringResult";
|
|
94
94
|
export * from "./TestSuiteTestCase";
|
|
95
95
|
export * from "./UploadDocumentErrorResponse";
|
|
96
96
|
export * from "./UploadDocumentResponse";
|
|
@@ -20,9 +20,6 @@ __exportStar(require("./ChatMessageRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
21
21
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
22
22
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
23
|
-
__exportStar(require("./ConstantValueChatHistoryVariable"), exports);
|
|
24
|
-
__exportStar(require("./ConstantValueJsonVariable"), exports);
|
|
25
|
-
__exportStar(require("./ConstantValueStringVariable"), exports);
|
|
26
23
|
__exportStar(require("./ContentType"), exports);
|
|
27
24
|
__exportStar(require("./DeploymentNodeResult"), exports);
|
|
28
25
|
__exportStar(require("./DeploymentNodeResultData"), exports);
|
|
@@ -104,9 +101,12 @@ __exportStar(require("./SlimDocument"), exports);
|
|
|
104
101
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
105
102
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
106
103
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
104
|
+
__exportStar(require("./TerminalNodeChatHistoryResult"), exports);
|
|
105
|
+
__exportStar(require("./TerminalNodeJsonResult"), exports);
|
|
107
106
|
__exportStar(require("./TerminalNodeResult"), exports);
|
|
108
107
|
__exportStar(require("./TerminalNodeResultData"), exports);
|
|
109
108
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
109
|
+
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
110
110
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
111
111
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
112
112
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const ConstantValueChatHistoryVariable: core.serialization.ObjectSchema<serializers.ConstantValueChatHistoryVariable.Raw, Vellum.ConstantValueChatHistoryVariable>;
|
|
8
|
-
export declare namespace ConstantValueChatHistoryVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
value?: serializers.ChatMessage.Raw[] | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const ConstantValueJsonVariable: core.serialization.ObjectSchema<serializers.ConstantValueJsonVariable.Raw, Vellum.ConstantValueJsonVariable>;
|
|
8
|
-
export declare namespace ConstantValueJsonVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
value?: Record<string, unknown> | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const ConstantValueStringVariable: core.serialization.ObjectSchema<serializers.ConstantValueStringVariable.Raw, Vellum.ConstantValueStringVariable>;
|
|
8
|
-
export declare namespace ConstantValueStringVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
value?: string | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const ConstantValueChatHistoryVariable: core.serialization.ObjectSchema<serializers.ConstantValueChatHistoryVariable.Raw, Vellum.ConstantValueChatHistoryVariable>;
|
|
8
|
-
export declare namespace ConstantValueChatHistoryVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
value?: serializers.ChatMessage.Raw[] | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const ConstantValueJsonVariable: core.serialization.ObjectSchema<serializers.ConstantValueJsonVariable.Raw, Vellum.ConstantValueJsonVariable>;
|
|
8
|
-
export declare namespace ConstantValueJsonVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
value?: Record<string, unknown> | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const ConstantValueStringVariable: core.serialization.ObjectSchema<serializers.ConstantValueStringVariable.Raw, Vellum.ConstantValueStringVariable>;
|
|
8
|
-
export declare namespace ConstantValueStringVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
value?: string | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/api/types/{ConstantValueChatHistoryVariable.js → TerminalNodeChatHistoryResult.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|