vellum-ai 0.5.0 → 0.5.2
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/Client.js +9 -9
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +3 -3
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/ErrorVellumValue.d.ts +10 -0
- package/api/types/FunctionCallVariableValue.d.ts +1 -1
- package/api/types/FunctionCallVellumValue.d.ts +10 -0
- package/api/types/JsonVellumValue.d.ts +9 -0
- package/api/types/JsonVellumValue.js +5 -0
- package/api/types/NodeOutputCompiledArrayValue.d.ts +5 -1
- package/api/types/NodeOutputCompiledChatHistoryValue.d.ts +5 -1
- package/api/types/NodeOutputCompiledErrorValue.d.ts +5 -1
- package/api/types/NodeOutputCompiledFunctionCallValue.d.ts +12 -0
- package/api/types/NodeOutputCompiledFunctionCallValue.js +5 -0
- package/api/types/NodeOutputCompiledJsonValue.d.ts +6 -1
- package/api/types/NodeOutputCompiledNumberValue.d.ts +6 -1
- package/api/types/NodeOutputCompiledSearchResultsValue.d.ts +5 -1
- package/api/types/NodeOutputCompiledStringValue.d.ts +6 -1
- package/api/types/NodeOutputCompiledValue.d.ts +1 -1
- package/api/types/PromptOutput.d.ts +4 -4
- package/api/types/StringVellumValue.d.ts +9 -0
- package/api/types/StringVellumValue.js +5 -0
- package/api/types/index.d.ts +5 -1
- package/api/types/index.js +5 -1
- package/dist/Client.js +9 -9
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/ErrorVellumValue.d.ts +10 -0
- package/dist/api/types/ErrorVellumValue.js +5 -0
- package/dist/api/types/FunctionCallVariableValue.d.ts +1 -1
- package/dist/api/types/FunctionCallVellumValue.d.ts +10 -0
- package/dist/api/types/FunctionCallVellumValue.js +5 -0
- package/dist/api/types/JsonVellumValue.d.ts +9 -0
- package/dist/api/types/JsonVellumValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +5 -1
- package/dist/api/types/NodeOutputCompiledChatHistoryValue.d.ts +5 -1
- package/dist/api/types/NodeOutputCompiledErrorValue.d.ts +5 -1
- package/dist/api/types/NodeOutputCompiledFunctionCallValue.d.ts +12 -0
- package/dist/api/types/NodeOutputCompiledFunctionCallValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledJsonValue.d.ts +6 -1
- package/dist/api/types/NodeOutputCompiledNumberValue.d.ts +6 -1
- package/dist/api/types/NodeOutputCompiledSearchResultsValue.d.ts +5 -1
- package/dist/api/types/NodeOutputCompiledStringValue.d.ts +6 -1
- package/dist/api/types/NodeOutputCompiledValue.d.ts +1 -1
- package/dist/api/types/PromptOutput.d.ts +4 -4
- package/dist/api/types/StringVellumValue.d.ts +9 -0
- package/dist/api/types/StringVellumValue.js +5 -0
- package/dist/api/types/index.d.ts +5 -1
- package/dist/api/types/index.js +5 -1
- package/dist/serialization/types/ErrorVellumValue.d.ts +13 -0
- package/dist/serialization/types/ErrorVellumValue.js +34 -0
- package/dist/serialization/types/FunctionCallVariableValue.d.ts +1 -1
- package/dist/serialization/types/FunctionCallVariableValue.js +1 -1
- package/dist/serialization/types/FunctionCallVellumValue.d.ts +13 -0
- package/dist/serialization/types/FunctionCallVellumValue.js +34 -0
- package/dist/serialization/types/JsonVellumValue.d.ts +12 -0
- package/dist/serialization/types/JsonVellumValue.js +33 -0
- package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledArrayValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledChatHistoryValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledChatHistoryValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledErrorValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledErrorValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledFunctionCallValue.d.ts +16 -0
- package/dist/serialization/types/{NodeOutputCompiledFunctionValue.js → NodeOutputCompiledFunctionCallValue.js} +5 -3
- package/dist/serialization/types/NodeOutputCompiledJsonValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledJsonValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledNumberValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledNumberValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledSearchResultsValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledSearchResultsValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledStringValue.d.ts +3 -1
- package/dist/serialization/types/NodeOutputCompiledStringValue.js +3 -1
- package/dist/serialization/types/NodeOutputCompiledValue.d.ts +2 -2
- package/dist/serialization/types/NodeOutputCompiledValue.js +2 -2
- package/dist/serialization/types/PromptOutput.d.ts +8 -8
- package/dist/serialization/types/PromptOutput.js +8 -8
- package/dist/serialization/types/StringVellumValue.d.ts +12 -0
- package/dist/serialization/types/StringVellumValue.js +33 -0
- package/dist/serialization/types/index.d.ts +5 -1
- package/dist/serialization/types/index.js +5 -1
- package/package.json +1 -1
- package/serialization/types/ErrorVellumValue.d.ts +13 -0
- package/serialization/types/ErrorVellumValue.js +34 -0
- package/serialization/types/FunctionCallVariableValue.d.ts +1 -1
- package/serialization/types/FunctionCallVariableValue.js +1 -1
- package/serialization/types/FunctionCallVellumValue.d.ts +13 -0
- package/serialization/types/FunctionCallVellumValue.js +34 -0
- package/serialization/types/JsonVellumValue.d.ts +12 -0
- package/serialization/types/JsonVellumValue.js +33 -0
- package/serialization/types/NodeOutputCompiledArrayValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledArrayValue.js +3 -1
- package/serialization/types/NodeOutputCompiledChatHistoryValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledChatHistoryValue.js +3 -1
- package/serialization/types/NodeOutputCompiledErrorValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledErrorValue.js +3 -1
- package/serialization/types/NodeOutputCompiledFunctionCallValue.d.ts +16 -0
- package/serialization/types/{NodeOutputCompiledFunctionValue.js → NodeOutputCompiledFunctionCallValue.js} +5 -3
- package/serialization/types/NodeOutputCompiledJsonValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledJsonValue.js +3 -1
- package/serialization/types/NodeOutputCompiledNumberValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledNumberValue.js +3 -1
- package/serialization/types/NodeOutputCompiledSearchResultsValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledSearchResultsValue.js +3 -1
- package/serialization/types/NodeOutputCompiledStringValue.d.ts +3 -1
- package/serialization/types/NodeOutputCompiledStringValue.js +3 -1
- package/serialization/types/NodeOutputCompiledValue.d.ts +2 -2
- package/serialization/types/NodeOutputCompiledValue.js +2 -2
- package/serialization/types/PromptOutput.d.ts +8 -8
- package/serialization/types/PromptOutput.js +8 -8
- package/serialization/types/StringVellumValue.d.ts +12 -0
- package/serialization/types/StringVellumValue.js +33 -0
- package/serialization/types/index.d.ts +5 -1
- package/serialization/types/index.js +5 -1
- package/api/types/NodeOutputCompiledFunctionValue.d.ts +0 -8
- package/dist/api/types/NodeOutputCompiledFunctionValue.d.ts +0 -8
- package/dist/serialization/types/NodeOutputCompiledFunctionValue.d.ts +0 -14
- package/serialization/types/NodeOutputCompiledFunctionValue.d.ts +0 -14
- /package/api/types/{NodeOutputCompiledFunctionValue.js → ErrorVellumValue.js} +0 -0
- /package/{dist/api/types/NodeOutputCompiledFunctionValue.js → api/types/FunctionCallVellumValue.js} +0 -0
|
@@ -38,6 +38,7 @@ export * from "./EntityStatus";
|
|
|
38
38
|
export * from "./EnvironmentEnum";
|
|
39
39
|
export * from "./ErrorEnum";
|
|
40
40
|
export * from "./ErrorVariableValue";
|
|
41
|
+
export * from "./ErrorVellumValue";
|
|
41
42
|
export * from "./ExecutePromptApiErrorResponse";
|
|
42
43
|
export * from "./ExecutePromptEvent";
|
|
43
44
|
export * from "./ExecutePromptResponse";
|
|
@@ -72,6 +73,7 @@ export * from "./FunctionCallChatMessageContentValue";
|
|
|
72
73
|
export * from "./FunctionCallChatMessageContentValueRequest";
|
|
73
74
|
export * from "./FunctionCallEnum";
|
|
74
75
|
export * from "./FunctionCallVariableValue";
|
|
76
|
+
export * from "./FunctionCallVellumValue";
|
|
75
77
|
export * from "./GenerateErrorResponse";
|
|
76
78
|
export * from "./GenerateOptionsRequest";
|
|
77
79
|
export * from "./GenerateRequest";
|
|
@@ -94,6 +96,7 @@ export * from "./InitiatedWorkflowNodeResultEvent";
|
|
|
94
96
|
export * from "./JsonInputRequest";
|
|
95
97
|
export * from "./JsonEnum";
|
|
96
98
|
export * from "./JsonVariableValue";
|
|
99
|
+
export * from "./JsonVellumValue";
|
|
97
100
|
export * from "./LogicalOperator";
|
|
98
101
|
export * from "./LogprobsEnum";
|
|
99
102
|
export * from "./MlModelUsage";
|
|
@@ -131,7 +134,7 @@ export * from "./NodeInputVariableCompiledValue";
|
|
|
131
134
|
export * from "./NodeOutputCompiledArrayValue";
|
|
132
135
|
export * from "./NodeOutputCompiledChatHistoryValue";
|
|
133
136
|
export * from "./NodeOutputCompiledErrorValue";
|
|
134
|
-
export * from "./
|
|
137
|
+
export * from "./NodeOutputCompiledFunctionCallValue";
|
|
135
138
|
export * from "./NodeOutputCompiledJsonValue";
|
|
136
139
|
export * from "./NodeOutputCompiledNumberValue";
|
|
137
140
|
export * from "./NodeOutputCompiledSearchResultsValue";
|
|
@@ -193,6 +196,7 @@ export * from "./StringChatMessageContentRequest";
|
|
|
193
196
|
export * from "./StringEnum";
|
|
194
197
|
export * from "./StringInputRequest";
|
|
195
198
|
export * from "./StringVariableValue";
|
|
199
|
+
export * from "./StringVellumValue";
|
|
196
200
|
export * from "./SubmitCompletionActualRequest";
|
|
197
201
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
198
202
|
export * from "./SubmitWorkflowExecutionActualRequest";
|
package/dist/api/types/index.js
CHANGED
|
@@ -54,6 +54,7 @@ __exportStar(require("./EntityStatus"), exports);
|
|
|
54
54
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
55
55
|
__exportStar(require("./ErrorEnum"), exports);
|
|
56
56
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
57
|
+
__exportStar(require("./ErrorVellumValue"), exports);
|
|
57
58
|
__exportStar(require("./ExecutePromptApiErrorResponse"), exports);
|
|
58
59
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
59
60
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
@@ -88,6 +89,7 @@ __exportStar(require("./FunctionCallChatMessageContentValue"), exports);
|
|
|
88
89
|
__exportStar(require("./FunctionCallChatMessageContentValueRequest"), exports);
|
|
89
90
|
__exportStar(require("./FunctionCallEnum"), exports);
|
|
90
91
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
92
|
+
__exportStar(require("./FunctionCallVellumValue"), exports);
|
|
91
93
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
92
94
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
93
95
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -110,6 +112,7 @@ __exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
|
|
|
110
112
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
111
113
|
__exportStar(require("./JsonEnum"), exports);
|
|
112
114
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
115
|
+
__exportStar(require("./JsonVellumValue"), exports);
|
|
113
116
|
__exportStar(require("./LogicalOperator"), exports);
|
|
114
117
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
115
118
|
__exportStar(require("./MlModelUsage"), exports);
|
|
@@ -147,7 +150,7 @@ __exportStar(require("./NodeInputVariableCompiledValue"), exports);
|
|
|
147
150
|
__exportStar(require("./NodeOutputCompiledArrayValue"), exports);
|
|
148
151
|
__exportStar(require("./NodeOutputCompiledChatHistoryValue"), exports);
|
|
149
152
|
__exportStar(require("./NodeOutputCompiledErrorValue"), exports);
|
|
150
|
-
__exportStar(require("./
|
|
153
|
+
__exportStar(require("./NodeOutputCompiledFunctionCallValue"), exports);
|
|
151
154
|
__exportStar(require("./NodeOutputCompiledJsonValue"), exports);
|
|
152
155
|
__exportStar(require("./NodeOutputCompiledNumberValue"), exports);
|
|
153
156
|
__exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
|
|
@@ -209,6 +212,7 @@ __exportStar(require("./StringChatMessageContentRequest"), exports);
|
|
|
209
212
|
__exportStar(require("./StringEnum"), exports);
|
|
210
213
|
__exportStar(require("./StringInputRequest"), exports);
|
|
211
214
|
__exportStar(require("./StringVariableValue"), exports);
|
|
215
|
+
__exportStar(require("./StringVellumValue"), exports);
|
|
212
216
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
213
217
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
214
218
|
__exportStar(require("./SubmitWorkflowExecutionActualRequest"), 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
|
+
import { VellumError } from "./VellumError";
|
|
8
|
+
export declare const ErrorVellumValue: core.serialization.ObjectSchema<serializers.ErrorVellumValue.Raw, Vellum.ErrorVellumValue>;
|
|
9
|
+
export declare namespace ErrorVellumValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: VellumError.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ErrorVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumError_1 = require("./VellumError");
|
|
32
|
+
exports.ErrorVellumValue = core.serialization.object({
|
|
33
|
+
value: VellumError_1.VellumError.optional(),
|
|
34
|
+
});
|
|
@@ -8,6 +8,6 @@ import { FunctionCall } from "./FunctionCall";
|
|
|
8
8
|
export declare const FunctionCallVariableValue: core.serialization.ObjectSchema<serializers.FunctionCallVariableValue.Raw, Vellum.FunctionCallVariableValue>;
|
|
9
9
|
export declare namespace FunctionCallVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
|
-
value
|
|
11
|
+
value?: FunctionCall.Raw | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -30,5 +30,5 @@ exports.FunctionCallVariableValue = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const FunctionCall_1 = require("./FunctionCall");
|
|
32
32
|
exports.FunctionCallVariableValue = core.serialization.object({
|
|
33
|
-
value: FunctionCall_1.FunctionCall,
|
|
33
|
+
value: FunctionCall_1.FunctionCall.optional(),
|
|
34
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
|
+
import { FunctionCall } from "./FunctionCall";
|
|
8
|
+
export declare const FunctionCallVellumValue: core.serialization.ObjectSchema<serializers.FunctionCallVellumValue.Raw, Vellum.FunctionCallVellumValue>;
|
|
9
|
+
export declare namespace FunctionCallVellumValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value: FunctionCall.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.FunctionCallVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const FunctionCall_1 = require("./FunctionCall");
|
|
32
|
+
exports.FunctionCallVellumValue = core.serialization.object({
|
|
33
|
+
value: FunctionCall_1.FunctionCall,
|
|
34
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 JsonVellumValue: core.serialization.ObjectSchema<serializers.JsonVellumValue.Raw, Vellum.JsonVellumValue>;
|
|
8
|
+
export declare namespace JsonVellumValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: Record<string, unknown> | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.JsonVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.JsonVellumValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
33
|
+
});
|
|
@@ -5,10 +5,12 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
|
|
8
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
8
9
|
export declare const NodeOutputCompiledArrayValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledArrayValue.Raw, Vellum.NodeOutputCompiledArrayValue>;
|
|
9
10
|
export declare namespace NodeOutputCompiledArrayValue {
|
|
10
11
|
interface Raw {
|
|
11
|
-
node_output_id: string;
|
|
12
12
|
value?: ArrayVariableValueItem.Raw[] | null;
|
|
13
|
+
node_output_id: string;
|
|
14
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -29,7 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NodeOutputCompiledArrayValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
|
|
32
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
32
33
|
exports.NodeOutputCompiledArrayValue = core.serialization.object({
|
|
33
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
34
34
|
value: core.serialization.list(ArrayVariableValueItem_1.ArrayVariableValueItem).optional(),
|
|
35
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
36
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
35
37
|
});
|
|
@@ -5,10 +5,12 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ChatMessage } from "./ChatMessage";
|
|
8
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
8
9
|
export declare const NodeOutputCompiledChatHistoryValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledChatHistoryValue.Raw, Vellum.NodeOutputCompiledChatHistoryValue>;
|
|
9
10
|
export declare namespace NodeOutputCompiledChatHistoryValue {
|
|
10
11
|
interface Raw {
|
|
11
|
-
node_output_id: string;
|
|
12
12
|
value?: ChatMessage.Raw[] | null;
|
|
13
|
+
node_output_id: string;
|
|
14
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -29,7 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NodeOutputCompiledChatHistoryValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const ChatMessage_1 = require("./ChatMessage");
|
|
32
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
32
33
|
exports.NodeOutputCompiledChatHistoryValue = core.serialization.object({
|
|
33
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
34
34
|
value: core.serialization.list(ChatMessage_1.ChatMessage).optional(),
|
|
35
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
36
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
35
37
|
});
|
|
@@ -5,10 +5,12 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { VellumError } from "./VellumError";
|
|
8
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
8
9
|
export declare const NodeOutputCompiledErrorValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledErrorValue.Raw, Vellum.NodeOutputCompiledErrorValue>;
|
|
9
10
|
export declare namespace NodeOutputCompiledErrorValue {
|
|
10
11
|
interface Raw {
|
|
11
|
-
node_output_id: string;
|
|
12
12
|
value?: VellumError.Raw | null;
|
|
13
|
+
node_output_id: string;
|
|
14
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -29,7 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NodeOutputCompiledErrorValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const VellumError_1 = require("./VellumError");
|
|
32
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
32
33
|
exports.NodeOutputCompiledErrorValue = core.serialization.object({
|
|
33
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
34
34
|
value: VellumError_1.VellumError.optional(),
|
|
35
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
36
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
35
37
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
import { FunctionCall } from "./FunctionCall";
|
|
8
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
9
|
+
export declare const NodeOutputCompiledFunctionCallValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledFunctionCallValue.Raw, Vellum.NodeOutputCompiledFunctionCallValue>;
|
|
10
|
+
export declare namespace NodeOutputCompiledFunctionCallValue {
|
|
11
|
+
interface Raw {
|
|
12
|
+
value?: FunctionCall.Raw | null;
|
|
13
|
+
node_output_id: string;
|
|
14
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -26,10 +26,12 @@ 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.NodeOutputCompiledFunctionCallValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const FunctionCall_1 = require("./FunctionCall");
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
33
|
+
exports.NodeOutputCompiledFunctionCallValue = core.serialization.object({
|
|
34
34
|
value: FunctionCall_1.FunctionCall.optional(),
|
|
35
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
36
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
35
37
|
});
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
7
8
|
export declare const NodeOutputCompiledJsonValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledJsonValue.Raw, Vellum.NodeOutputCompiledJsonValue>;
|
|
8
9
|
export declare namespace NodeOutputCompiledJsonValue {
|
|
9
10
|
interface Raw {
|
|
10
|
-
node_output_id: string;
|
|
11
11
|
value?: Record<string, unknown> | null;
|
|
12
|
+
node_output_id: string;
|
|
13
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -28,7 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.NodeOutputCompiledJsonValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
31
32
|
exports.NodeOutputCompiledJsonValue = core.serialization.object({
|
|
32
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
33
33
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
34
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
35
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
34
36
|
});
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
7
8
|
export declare const NodeOutputCompiledNumberValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledNumberValue.Raw, Vellum.NodeOutputCompiledNumberValue>;
|
|
8
9
|
export declare namespace NodeOutputCompiledNumberValue {
|
|
9
10
|
interface Raw {
|
|
10
|
-
node_output_id: string;
|
|
11
11
|
value?: number | null;
|
|
12
|
+
node_output_id: string;
|
|
13
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -28,7 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.NodeOutputCompiledNumberValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
31
32
|
exports.NodeOutputCompiledNumberValue = core.serialization.object({
|
|
32
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
33
33
|
value: core.serialization.number().optional(),
|
|
34
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
35
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
34
36
|
});
|
|
@@ -5,10 +5,12 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { SearchResult } from "./SearchResult";
|
|
8
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
8
9
|
export declare const NodeOutputCompiledSearchResultsValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledSearchResultsValue.Raw, Vellum.NodeOutputCompiledSearchResultsValue>;
|
|
9
10
|
export declare namespace NodeOutputCompiledSearchResultsValue {
|
|
10
11
|
interface Raw {
|
|
11
|
-
node_output_id: string;
|
|
12
12
|
value?: SearchResult.Raw[] | null;
|
|
13
|
+
node_output_id: string;
|
|
14
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -29,7 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NodeOutputCompiledSearchResultsValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const SearchResult_1 = require("./SearchResult");
|
|
32
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
32
33
|
exports.NodeOutputCompiledSearchResultsValue = core.serialization.object({
|
|
33
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
34
34
|
value: core.serialization.list(SearchResult_1.SearchResult).optional(),
|
|
35
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
36
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
35
37
|
});
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
7
8
|
export declare const NodeOutputCompiledStringValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledStringValue.Raw, Vellum.NodeOutputCompiledStringValue>;
|
|
8
9
|
export declare namespace NodeOutputCompiledStringValue {
|
|
9
10
|
interface Raw {
|
|
10
|
-
node_output_id: string;
|
|
11
11
|
value?: string | null;
|
|
12
|
+
node_output_id: string;
|
|
13
|
+
state?: WorkflowNodeResultEventState.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -28,7 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.NodeOutputCompiledStringValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
31
32
|
exports.NodeOutputCompiledStringValue = core.serialization.object({
|
|
32
|
-
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
33
33
|
value: core.serialization.string().optional(),
|
|
34
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
35
|
+
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
34
36
|
});
|
|
@@ -11,7 +11,7 @@ import { NodeOutputCompiledChatHistoryValue } from "./NodeOutputCompiledChatHist
|
|
|
11
11
|
import { NodeOutputCompiledSearchResultsValue } from "./NodeOutputCompiledSearchResultsValue";
|
|
12
12
|
import { NodeOutputCompiledErrorValue } from "./NodeOutputCompiledErrorValue";
|
|
13
13
|
import { NodeOutputCompiledArrayValue } from "./NodeOutputCompiledArrayValue";
|
|
14
|
-
import {
|
|
14
|
+
import { NodeOutputCompiledFunctionCallValue } from "./NodeOutputCompiledFunctionCallValue";
|
|
15
15
|
export declare const NodeOutputCompiledValue: core.serialization.Schema<serializers.NodeOutputCompiledValue.Raw, Vellum.NodeOutputCompiledValue>;
|
|
16
16
|
export declare namespace NodeOutputCompiledValue {
|
|
17
17
|
type Raw = NodeOutputCompiledValue.String | NodeOutputCompiledValue.Number | NodeOutputCompiledValue.Json | NodeOutputCompiledValue.ChatHistory | NodeOutputCompiledValue.SearchResults | NodeOutputCompiledValue.Error | NodeOutputCompiledValue.Array | NodeOutputCompiledValue.FunctionCall;
|
|
@@ -36,7 +36,7 @@ export declare namespace NodeOutputCompiledValue {
|
|
|
36
36
|
interface Array extends NodeOutputCompiledArrayValue.Raw {
|
|
37
37
|
type: "ARRAY";
|
|
38
38
|
}
|
|
39
|
-
interface FunctionCall extends
|
|
39
|
+
interface FunctionCall extends NodeOutputCompiledFunctionCallValue.Raw {
|
|
40
40
|
type: "FUNCTION_CALL";
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -35,7 +35,7 @@ const NodeOutputCompiledChatHistoryValue_1 = require("./NodeOutputCompiledChatHi
|
|
|
35
35
|
const NodeOutputCompiledSearchResultsValue_1 = require("./NodeOutputCompiledSearchResultsValue");
|
|
36
36
|
const NodeOutputCompiledErrorValue_1 = require("./NodeOutputCompiledErrorValue");
|
|
37
37
|
const NodeOutputCompiledArrayValue_1 = require("./NodeOutputCompiledArrayValue");
|
|
38
|
-
const
|
|
38
|
+
const NodeOutputCompiledFunctionCallValue_1 = require("./NodeOutputCompiledFunctionCallValue");
|
|
39
39
|
exports.NodeOutputCompiledValue = core.serialization
|
|
40
40
|
.union("type", {
|
|
41
41
|
STRING: NodeOutputCompiledStringValue_1.NodeOutputCompiledStringValue,
|
|
@@ -45,7 +45,7 @@ exports.NodeOutputCompiledValue = core.serialization
|
|
|
45
45
|
SEARCH_RESULTS: NodeOutputCompiledSearchResultsValue_1.NodeOutputCompiledSearchResultsValue,
|
|
46
46
|
ERROR: NodeOutputCompiledErrorValue_1.NodeOutputCompiledErrorValue,
|
|
47
47
|
ARRAY: NodeOutputCompiledArrayValue_1.NodeOutputCompiledArrayValue,
|
|
48
|
-
FUNCTION_CALL:
|
|
48
|
+
FUNCTION_CALL: NodeOutputCompiledFunctionCallValue_1.NodeOutputCompiledFunctionCallValue,
|
|
49
49
|
})
|
|
50
50
|
.transform({
|
|
51
51
|
transform: (value) => value,
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { StringVellumValue } from "./StringVellumValue";
|
|
8
|
+
import { JsonVellumValue } from "./JsonVellumValue";
|
|
9
|
+
import { ErrorVellumValue } from "./ErrorVellumValue";
|
|
10
|
+
import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
|
|
11
11
|
export declare const PromptOutput: core.serialization.Schema<serializers.PromptOutput.Raw, Vellum.PromptOutput>;
|
|
12
12
|
export declare namespace PromptOutput {
|
|
13
13
|
type Raw = PromptOutput.String | PromptOutput.Json | PromptOutput.Error | PromptOutput.FunctionCall;
|
|
14
|
-
interface String extends
|
|
14
|
+
interface String extends StringVellumValue.Raw {
|
|
15
15
|
type: "STRING";
|
|
16
16
|
}
|
|
17
|
-
interface Json extends
|
|
17
|
+
interface Json extends JsonVellumValue.Raw {
|
|
18
18
|
type: "JSON";
|
|
19
19
|
}
|
|
20
|
-
interface Error extends
|
|
20
|
+
interface Error extends ErrorVellumValue.Raw {
|
|
21
21
|
type: "ERROR";
|
|
22
22
|
}
|
|
23
|
-
interface FunctionCall extends
|
|
23
|
+
interface FunctionCall extends FunctionCallVellumValue.Raw {
|
|
24
24
|
type: "FUNCTION_CALL";
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PromptOutput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
31
|
+
const StringVellumValue_1 = require("./StringVellumValue");
|
|
32
|
+
const JsonVellumValue_1 = require("./JsonVellumValue");
|
|
33
|
+
const ErrorVellumValue_1 = require("./ErrorVellumValue");
|
|
34
|
+
const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
|
|
35
35
|
exports.PromptOutput = core.serialization
|
|
36
36
|
.union("type", {
|
|
37
|
-
STRING:
|
|
38
|
-
JSON:
|
|
39
|
-
ERROR:
|
|
40
|
-
FUNCTION_CALL:
|
|
37
|
+
STRING: StringVellumValue_1.StringVellumValue,
|
|
38
|
+
JSON: JsonVellumValue_1.JsonVellumValue,
|
|
39
|
+
ERROR: ErrorVellumValue_1.ErrorVellumValue,
|
|
40
|
+
FUNCTION_CALL: FunctionCallVellumValue_1.FunctionCallVellumValue,
|
|
41
41
|
})
|
|
42
42
|
.transform({
|
|
43
43
|
transform: (value) => value,
|
|
@@ -0,0 +1,12 @@
|
|
|
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 StringVellumValue: core.serialization.ObjectSchema<serializers.StringVellumValue.Raw, Vellum.StringVellumValue>;
|
|
8
|
+
export declare namespace StringVellumValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.StringVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.StringVellumValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.string().optional(),
|
|
33
|
+
});
|