vellum-ai 0.7.0 → 0.7.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.d.ts +6 -3
- package/Client.js +15 -12
- package/api/client/requests/ExecutePromptRequest.d.ts +3 -3
- package/api/client/requests/ExecutePromptStreamRequest.d.ts +3 -3
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -0
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -0
- package/api/resources/deployments/client/Client.js +5 -5
- package/api/resources/documentIndexes/client/Client.js +8 -8
- 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 +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/types/ArrayVellumValueItemRequest.d.ts +25 -0
- package/api/types/ArrayVellumValueItemRequest.js +5 -0
- package/api/types/ErrorVellumValueRequest.d.ts +10 -0
- package/api/types/ErrorVellumValueRequest.js +5 -0
- package/api/types/FunctionCallVellumValueRequest.d.ts +10 -0
- package/api/types/FunctionCallVellumValueRequest.js +5 -0
- package/api/types/ImageVellumValueRequest.d.ts +10 -0
- package/api/types/ImageVellumValueRequest.js +5 -0
- package/api/types/JsonVellumValueRequest.d.ts +9 -0
- package/api/types/JsonVellumValueRequest.js +5 -0
- package/api/types/NamedTestCaseArrayVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseArrayVariableValue.js +5 -0
- package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +11 -0
- package/api/types/NamedTestCaseArrayVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseVariableValue.d.ts +4 -1
- package/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
- package/api/types/NumberVellumValueRequest.d.ts +9 -0
- package/api/types/NumberVellumValueRequest.js +5 -0
- package/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +5 -5
- package/api/types/PromptExecutionMeta.d.ts +1 -1
- package/api/types/PromptNodeExecutionMeta.d.ts +10 -0
- package/api/types/PromptNodeExecutionMeta.js +5 -0
- package/api/types/PromptNodeResultData.d.ts +2 -0
- package/api/types/StringVellumValueRequest.d.ts +9 -0
- package/api/types/StringVellumValueRequest.js +5 -0
- package/api/types/TestCaseArrayVariableValue.d.ts +12 -0
- package/api/types/TestCaseArrayVariableValue.js +5 -0
- package/api/types/TestCaseVariableValue.d.ts +4 -1
- package/api/types/WorkflowExpandMetaRequest.d.ts +7 -0
- package/api/types/WorkflowExpandMetaRequest.js +5 -0
- package/api/types/index.d.ts +12 -0
- package/api/types/index.js +12 -0
- package/dist/Client.d.ts +6 -3
- package/dist/Client.js +15 -12
- package/dist/api/client/requests/ExecutePromptRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -0
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -0
- package/dist/api/resources/deployments/client/Client.js +5 -5
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- 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 +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/types/ArrayVellumValueItemRequest.d.ts +25 -0
- package/dist/api/types/ArrayVellumValueItemRequest.js +5 -0
- package/dist/api/types/ErrorVellumValueRequest.d.ts +10 -0
- package/dist/api/types/ErrorVellumValueRequest.js +5 -0
- package/dist/api/types/FunctionCallVellumValueRequest.d.ts +10 -0
- package/dist/api/types/FunctionCallVellumValueRequest.js +5 -0
- package/dist/api/types/ImageVellumValueRequest.d.ts +10 -0
- package/dist/api/types/ImageVellumValueRequest.js +5 -0
- package/dist/api/types/JsonVellumValueRequest.d.ts +9 -0
- package/dist/api/types/JsonVellumValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +11 -0
- package/dist/api/types/NamedTestCaseArrayVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +11 -0
- package/dist/api/types/NamedTestCaseArrayVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseVariableValue.d.ts +4 -1
- package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NumberVellumValueRequest.d.ts +9 -0
- package/dist/api/types/NumberVellumValueRequest.js +5 -0
- package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +5 -5
- package/dist/api/types/PromptExecutionMeta.d.ts +1 -1
- package/dist/api/types/PromptNodeExecutionMeta.d.ts +10 -0
- package/dist/api/types/PromptNodeExecutionMeta.js +5 -0
- package/dist/api/types/PromptNodeResultData.d.ts +2 -0
- package/dist/api/types/StringVellumValueRequest.d.ts +9 -0
- package/dist/api/types/StringVellumValueRequest.js +5 -0
- package/dist/api/types/TestCaseArrayVariableValue.d.ts +12 -0
- package/dist/api/types/TestCaseArrayVariableValue.js +5 -0
- package/dist/api/types/TestCaseVariableValue.d.ts +4 -1
- package/dist/api/types/WorkflowExpandMetaRequest.d.ts +7 -0
- package/dist/api/types/WorkflowExpandMetaRequest.js +5 -0
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +2 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +2 -0
- package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +34 -0
- package/dist/serialization/types/ArrayVellumValueItemRequest.js +49 -0
- package/dist/serialization/types/ErrorVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/ErrorVellumValueRequest.js +34 -0
- package/dist/serialization/types/FunctionCallVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/FunctionCallVellumValueRequest.js +34 -0
- package/dist/serialization/types/ImageVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/ImageVellumValueRequest.js +34 -0
- package/dist/serialization/types/JsonVellumValueRequest.d.ts +12 -0
- package/dist/serialization/types/JsonVellumValueRequest.js +33 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +35 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +35 -0
- package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValue.js +2 -0
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
- package/dist/serialization/types/NumberVellumValueRequest.d.ts +12 -0
- package/dist/serialization/types/NumberVellumValueRequest.js +33 -0
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -2
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +2 -2
- package/dist/serialization/types/PromptExecutionMeta.d.ts +2 -2
- package/dist/serialization/types/PromptExecutionMeta.js +2 -2
- package/dist/serialization/types/PromptNodeExecutionMeta.d.ts +13 -0
- package/dist/serialization/types/PromptNodeExecutionMeta.js +34 -0
- package/dist/serialization/types/PromptNodeResultData.d.ts +2 -0
- package/dist/serialization/types/PromptNodeResultData.js +2 -0
- package/dist/serialization/types/StringVellumValueRequest.d.ts +12 -0
- package/dist/serialization/types/StringVellumValueRequest.js +33 -0
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +15 -0
- package/dist/serialization/types/TestCaseArrayVariableValue.js +36 -0
- package/dist/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/TestCaseVariableValue.js +2 -0
- package/dist/serialization/types/WorkflowExpandMetaRequest.d.ts +12 -0
- package/dist/serialization/types/WorkflowExpandMetaRequest.js +33 -0
- package/dist/serialization/types/index.d.ts +12 -0
- package/dist/serialization/types/index.js +12 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
- package/serialization/client/requests/ExecuteWorkflowRequest.js +2 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +2 -0
- package/serialization/types/ArrayVellumValueItemRequest.d.ts +34 -0
- package/serialization/types/ArrayVellumValueItemRequest.js +49 -0
- package/serialization/types/ErrorVellumValueRequest.d.ts +13 -0
- package/serialization/types/ErrorVellumValueRequest.js +34 -0
- package/serialization/types/FunctionCallVellumValueRequest.d.ts +13 -0
- package/serialization/types/FunctionCallVellumValueRequest.js +34 -0
- package/serialization/types/ImageVellumValueRequest.d.ts +13 -0
- package/serialization/types/ImageVellumValueRequest.js +34 -0
- package/serialization/types/JsonVellumValueRequest.d.ts +12 -0
- package/serialization/types/JsonVellumValueRequest.js +33 -0
- package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +14 -0
- package/serialization/types/NamedTestCaseArrayVariableValue.js +35 -0
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +14 -0
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +35 -0
- package/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValue.js +2 -0
- package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
- package/serialization/types/NumberVellumValueRequest.d.ts +12 -0
- package/serialization/types/NumberVellumValueRequest.js +33 -0
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -2
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +2 -2
- package/serialization/types/PromptExecutionMeta.d.ts +2 -2
- package/serialization/types/PromptExecutionMeta.js +2 -2
- package/serialization/types/PromptNodeExecutionMeta.d.ts +13 -0
- package/serialization/types/PromptNodeExecutionMeta.js +34 -0
- package/serialization/types/PromptNodeResultData.d.ts +2 -0
- package/serialization/types/PromptNodeResultData.js +2 -0
- package/serialization/types/StringVellumValueRequest.d.ts +12 -0
- package/serialization/types/StringVellumValueRequest.js +33 -0
- package/serialization/types/TestCaseArrayVariableValue.d.ts +15 -0
- package/serialization/types/TestCaseArrayVariableValue.js +36 -0
- package/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/serialization/types/TestCaseVariableValue.js +2 -0
- package/serialization/types/WorkflowExpandMetaRequest.d.ts +12 -0
- package/serialization/types/WorkflowExpandMetaRequest.js +33 -0
- package/serialization/types/index.d.ts +12 -0
- package/serialization/types/index.js +12 -0
|
@@ -24,6 +24,7 @@ __exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
|
24
24
|
__exportStar(require("./ArrayEnum"), exports);
|
|
25
25
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
26
26
|
__exportStar(require("./ArrayVellumValueItem"), exports);
|
|
27
|
+
__exportStar(require("./ArrayVellumValueItemRequest"), exports);
|
|
27
28
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
28
29
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
|
29
30
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
|
|
@@ -74,6 +75,7 @@ __exportStar(require("./EnvironmentEnum"), exports);
|
|
|
74
75
|
__exportStar(require("./ErrorEnum"), exports);
|
|
75
76
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
76
77
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
78
|
+
__exportStar(require("./ErrorVellumValueRequest"), exports);
|
|
77
79
|
__exportStar(require("./ExecutePromptApiErrorResponse"), exports);
|
|
78
80
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
79
81
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
@@ -108,6 +110,7 @@ __exportStar(require("./FunctionCallEnum"), exports);
|
|
|
108
110
|
__exportStar(require("./FunctionCallRequest"), exports);
|
|
109
111
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
110
112
|
__exportStar(require("./FunctionCallVellumValue"), exports);
|
|
113
|
+
__exportStar(require("./FunctionCallVellumValueRequest"), exports);
|
|
111
114
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
112
115
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
113
116
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -125,6 +128,7 @@ __exportStar(require("./ImageChatMessageContentRequest"), exports);
|
|
|
125
128
|
__exportStar(require("./ImageEnum"), exports);
|
|
126
129
|
__exportStar(require("./ImageVariableValue"), exports);
|
|
127
130
|
__exportStar(require("./ImageVellumValue"), exports);
|
|
131
|
+
__exportStar(require("./ImageVellumValueRequest"), exports);
|
|
128
132
|
__exportStar(require("./IndexingConfigVectorizer"), exports);
|
|
129
133
|
__exportStar(require("./IndexingConfigVectorizerRequest"), exports);
|
|
130
134
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
@@ -139,6 +143,7 @@ __exportStar(require("./JsonInputRequest"), exports);
|
|
|
139
143
|
__exportStar(require("./JsonEnum"), exports);
|
|
140
144
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
141
145
|
__exportStar(require("./JsonVellumValue"), exports);
|
|
146
|
+
__exportStar(require("./JsonVellumValueRequest"), exports);
|
|
142
147
|
__exportStar(require("./LogicalOperator"), exports);
|
|
143
148
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
144
149
|
__exportStar(require("./MlModelUsage"), exports);
|
|
@@ -156,6 +161,8 @@ __exportStar(require("./MetricNodeResult"), exports);
|
|
|
156
161
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
157
162
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
|
158
163
|
__exportStar(require("./NamedScenarioInputStringVariableValueRequest"), exports);
|
|
164
|
+
__exportStar(require("./NamedTestCaseArrayVariableValue"), exports);
|
|
165
|
+
__exportStar(require("./NamedTestCaseArrayVariableValueRequest"), exports);
|
|
159
166
|
__exportStar(require("./NamedTestCaseChatHistoryVariableValue"), exports);
|
|
160
167
|
__exportStar(require("./NamedTestCaseChatHistoryVariableValueRequest"), exports);
|
|
161
168
|
__exportStar(require("./NamedTestCaseErrorVariableValue"), exports);
|
|
@@ -195,6 +202,7 @@ __exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
|
195
202
|
__exportStar(require("./NumberEnum"), exports);
|
|
196
203
|
__exportStar(require("./NumberVariableValue"), exports);
|
|
197
204
|
__exportStar(require("./NumberVellumValue"), exports);
|
|
205
|
+
__exportStar(require("./NumberVellumValueRequest"), exports);
|
|
198
206
|
__exportStar(require("./OpenAiVectorizerConfig"), exports);
|
|
199
207
|
__exportStar(require("./OpenAiVectorizerConfigRequest"), exports);
|
|
200
208
|
__exportStar(require("./OpenAiVectorizerTextEmbedding3Large"), exports);
|
|
@@ -217,6 +225,7 @@ __exportStar(require("./ProcessingStateEnum"), exports);
|
|
|
217
225
|
__exportStar(require("./PromptDeploymentExpandMetaRequestRequest"), exports);
|
|
218
226
|
__exportStar(require("./PromptDeploymentInputRequest"), exports);
|
|
219
227
|
__exportStar(require("./PromptExecutionMeta"), exports);
|
|
228
|
+
__exportStar(require("./PromptNodeExecutionMeta"), exports);
|
|
220
229
|
__exportStar(require("./PromptNodeResult"), exports);
|
|
221
230
|
__exportStar(require("./PromptNodeResultData"), exports);
|
|
222
231
|
__exportStar(require("./PromptOutput"), exports);
|
|
@@ -273,6 +282,7 @@ __exportStar(require("./StringEnum"), exports);
|
|
|
273
282
|
__exportStar(require("./StringInputRequest"), exports);
|
|
274
283
|
__exportStar(require("./StringVariableValue"), exports);
|
|
275
284
|
__exportStar(require("./StringVellumValue"), exports);
|
|
285
|
+
__exportStar(require("./StringVellumValueRequest"), exports);
|
|
276
286
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
277
287
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
278
288
|
__exportStar(require("./SubmitWorkflowExecutionActualRequest"), exports);
|
|
@@ -301,6 +311,7 @@ __exportStar(require("./TerminalNodeResultData"), exports);
|
|
|
301
311
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
302
312
|
__exportStar(require("./TerminalNodeSearchResultsResult"), exports);
|
|
303
313
|
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
314
|
+
__exportStar(require("./TestCaseArrayVariableValue"), exports);
|
|
304
315
|
__exportStar(require("./TestCaseChatHistoryVariableValue"), exports);
|
|
305
316
|
__exportStar(require("./TestCaseErrorVariableValue"), exports);
|
|
306
317
|
__exportStar(require("./TestCaseFunctionCallVariableValue"), exports);
|
|
@@ -387,6 +398,7 @@ __exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
|
387
398
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
388
399
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
389
400
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
401
|
+
__exportStar(require("./WorkflowExpandMetaRequest"), exports);
|
|
390
402
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
|
391
403
|
__exportStar(require("./WorkflowNodeResultEvent"), exports);
|
|
392
404
|
__exportStar(require("./WorkflowNodeResultEventState"), exports);
|
package/package.json
CHANGED
|
@@ -5,10 +5,12 @@ import * as serializers from "../../index";
|
|
|
5
5
|
import * as Vellum from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
import { WorkflowRequestInputRequest } from "../../types/WorkflowRequestInputRequest";
|
|
8
|
+
import { WorkflowExpandMetaRequest } from "../../types/WorkflowExpandMetaRequest";
|
|
8
9
|
export declare const ExecuteWorkflowRequest: core.serialization.Schema<serializers.ExecuteWorkflowRequest.Raw, Vellum.ExecuteWorkflowRequest>;
|
|
9
10
|
export declare namespace ExecuteWorkflowRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
inputs: WorkflowRequestInputRequest.Raw[];
|
|
13
|
+
expand_meta?: WorkflowExpandMetaRequest.Raw | null;
|
|
12
14
|
workflow_deployment_id?: string | null;
|
|
13
15
|
workflow_deployment_name?: string | null;
|
|
14
16
|
release_tag?: string | null;
|
|
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ExecuteWorkflowRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../core"));
|
|
31
31
|
const WorkflowRequestInputRequest_1 = require("../../types/WorkflowRequestInputRequest");
|
|
32
|
+
const WorkflowExpandMetaRequest_1 = require("../../types/WorkflowExpandMetaRequest");
|
|
32
33
|
exports.ExecuteWorkflowRequest = core.serialization.object({
|
|
33
34
|
inputs: core.serialization.list(WorkflowRequestInputRequest_1.WorkflowRequestInputRequest),
|
|
35
|
+
expandMeta: core.serialization.property("expand_meta", WorkflowExpandMetaRequest_1.WorkflowExpandMetaRequest.optional()),
|
|
34
36
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
35
37
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
36
38
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
@@ -5,11 +5,13 @@ import * as serializers from "../../index";
|
|
|
5
5
|
import * as Vellum from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
import { WorkflowRequestInputRequest } from "../../types/WorkflowRequestInputRequest";
|
|
8
|
+
import { WorkflowExpandMetaRequest } from "../../types/WorkflowExpandMetaRequest";
|
|
8
9
|
import { WorkflowExecutionEventType } from "../../types/WorkflowExecutionEventType";
|
|
9
10
|
export declare const ExecuteWorkflowStreamRequest: core.serialization.Schema<serializers.ExecuteWorkflowStreamRequest.Raw, Vellum.ExecuteWorkflowStreamRequest>;
|
|
10
11
|
export declare namespace ExecuteWorkflowStreamRequest {
|
|
11
12
|
interface Raw {
|
|
12
13
|
inputs: WorkflowRequestInputRequest.Raw[];
|
|
14
|
+
expand_meta?: WorkflowExpandMetaRequest.Raw | null;
|
|
13
15
|
workflow_deployment_id?: string | null;
|
|
14
16
|
workflow_deployment_name?: string | null;
|
|
15
17
|
release_tag?: string | null;
|
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ExecuteWorkflowStreamRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../core"));
|
|
31
31
|
const WorkflowRequestInputRequest_1 = require("../../types/WorkflowRequestInputRequest");
|
|
32
|
+
const WorkflowExpandMetaRequest_1 = require("../../types/WorkflowExpandMetaRequest");
|
|
32
33
|
const WorkflowExecutionEventType_1 = require("../../types/WorkflowExecutionEventType");
|
|
33
34
|
exports.ExecuteWorkflowStreamRequest = core.serialization.object({
|
|
34
35
|
inputs: core.serialization.list(WorkflowRequestInputRequest_1.WorkflowRequestInputRequest),
|
|
36
|
+
expandMeta: core.serialization.property("expand_meta", WorkflowExpandMetaRequest_1.WorkflowExpandMetaRequest.optional()),
|
|
35
37
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
36
38
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
37
39
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { StringVellumValueRequest } from "./StringVellumValueRequest";
|
|
8
|
+
import { NumberVellumValueRequest } from "./NumberVellumValueRequest";
|
|
9
|
+
import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
|
|
10
|
+
import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
|
|
11
|
+
import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
|
|
12
|
+
import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
|
|
13
|
+
export declare const ArrayVellumValueItemRequest: core.serialization.Schema<serializers.ArrayVellumValueItemRequest.Raw, Vellum.ArrayVellumValueItemRequest>;
|
|
14
|
+
export declare namespace ArrayVellumValueItemRequest {
|
|
15
|
+
type Raw = ArrayVellumValueItemRequest.String | ArrayVellumValueItemRequest.Number | ArrayVellumValueItemRequest.Json | ArrayVellumValueItemRequest.Image | ArrayVellumValueItemRequest.FunctionCall | ArrayVellumValueItemRequest.Error;
|
|
16
|
+
interface String extends StringVellumValueRequest.Raw {
|
|
17
|
+
type: "STRING";
|
|
18
|
+
}
|
|
19
|
+
interface Number extends NumberVellumValueRequest.Raw {
|
|
20
|
+
type: "NUMBER";
|
|
21
|
+
}
|
|
22
|
+
interface Json extends JsonVellumValueRequest.Raw {
|
|
23
|
+
type: "JSON";
|
|
24
|
+
}
|
|
25
|
+
interface Image extends ImageVellumValueRequest.Raw {
|
|
26
|
+
type: "IMAGE";
|
|
27
|
+
}
|
|
28
|
+
interface FunctionCall extends FunctionCallVellumValueRequest.Raw {
|
|
29
|
+
type: "FUNCTION_CALL";
|
|
30
|
+
}
|
|
31
|
+
interface Error extends ErrorVellumValueRequest.Raw {
|
|
32
|
+
type: "ERROR";
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ArrayVellumValueItemRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
|
|
32
|
+
const NumberVellumValueRequest_1 = require("./NumberVellumValueRequest");
|
|
33
|
+
const JsonVellumValueRequest_1 = require("./JsonVellumValueRequest");
|
|
34
|
+
const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
|
|
35
|
+
const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueRequest");
|
|
36
|
+
const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
|
|
37
|
+
exports.ArrayVellumValueItemRequest = core.serialization
|
|
38
|
+
.union("type", {
|
|
39
|
+
STRING: StringVellumValueRequest_1.StringVellumValueRequest,
|
|
40
|
+
NUMBER: NumberVellumValueRequest_1.NumberVellumValueRequest,
|
|
41
|
+
JSON: JsonVellumValueRequest_1.JsonVellumValueRequest,
|
|
42
|
+
IMAGE: ImageVellumValueRequest_1.ImageVellumValueRequest,
|
|
43
|
+
FUNCTION_CALL: FunctionCallVellumValueRequest_1.FunctionCallVellumValueRequest,
|
|
44
|
+
ERROR: ErrorVellumValueRequest_1.ErrorVellumValueRequest,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumErrorRequest } from "./VellumErrorRequest";
|
|
8
|
+
export declare const ErrorVellumValueRequest: core.serialization.ObjectSchema<serializers.ErrorVellumValueRequest.Raw, Vellum.ErrorVellumValueRequest>;
|
|
9
|
+
export declare namespace ErrorVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: VellumErrorRequest.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.ErrorVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumErrorRequest_1 = require("./VellumErrorRequest");
|
|
32
|
+
exports.ErrorVellumValueRequest = core.serialization.object({
|
|
33
|
+
value: VellumErrorRequest_1.VellumErrorRequest.optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { FunctionCallRequest } from "./FunctionCallRequest";
|
|
8
|
+
export declare const FunctionCallVellumValueRequest: core.serialization.ObjectSchema<serializers.FunctionCallVellumValueRequest.Raw, Vellum.FunctionCallVellumValueRequest>;
|
|
9
|
+
export declare namespace FunctionCallVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: FunctionCallRequest.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.FunctionCallVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const FunctionCallRequest_1 = require("./FunctionCallRequest");
|
|
32
|
+
exports.FunctionCallVellumValueRequest = core.serialization.object({
|
|
33
|
+
value: FunctionCallRequest_1.FunctionCallRequest.optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumImageRequest } from "./VellumImageRequest";
|
|
8
|
+
export declare const ImageVellumValueRequest: core.serialization.ObjectSchema<serializers.ImageVellumValueRequest.Raw, Vellum.ImageVellumValueRequest>;
|
|
9
|
+
export declare namespace ImageVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: VellumImageRequest.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.ImageVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumImageRequest_1 = require("./VellumImageRequest");
|
|
32
|
+
exports.ImageVellumValueRequest = core.serialization.object({
|
|
33
|
+
value: VellumImageRequest_1.VellumImageRequest.optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const JsonVellumValueRequest: core.serialization.ObjectSchema<serializers.JsonVellumValueRequest.Raw, Vellum.JsonVellumValueRequest>;
|
|
8
|
+
export declare namespace JsonVellumValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: unknown;
|
|
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.JsonVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.JsonVellumValueRequest = core.serialization.object({
|
|
32
|
+
value: core.serialization.unknown(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
|
|
8
|
+
export declare const NamedTestCaseArrayVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseArrayVariableValue.Raw, Vellum.NamedTestCaseArrayVariableValue>;
|
|
9
|
+
export declare namespace NamedTestCaseArrayVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: ArrayVellumValueItem.Raw[] | null;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.NamedTestCaseArrayVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
|
|
32
|
+
exports.NamedTestCaseArrayVariableValue = core.serialization.object({
|
|
33
|
+
value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ArrayVellumValueItemRequest } from "./ArrayVellumValueItemRequest";
|
|
8
|
+
export declare const NamedTestCaseArrayVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseArrayVariableValueRequest.Raw, Vellum.NamedTestCaseArrayVariableValueRequest>;
|
|
9
|
+
export declare namespace NamedTestCaseArrayVariableValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: ArrayVellumValueItemRequest.Raw[] | null;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.NamedTestCaseArrayVariableValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ArrayVellumValueItemRequest_1 = require("./ArrayVellumValueItemRequest");
|
|
32
|
+
exports.NamedTestCaseArrayVariableValueRequest = core.serialization.object({
|
|
33
|
+
value: core.serialization.list(ArrayVellumValueItemRequest_1.ArrayVellumValueItemRequest).optional(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -11,9 +11,10 @@ import { NamedTestCaseChatHistoryVariableValue } from "./NamedTestCaseChatHistor
|
|
|
11
11
|
import { NamedTestCaseSearchResultsVariableValue } from "./NamedTestCaseSearchResultsVariableValue";
|
|
12
12
|
import { NamedTestCaseErrorVariableValue } from "./NamedTestCaseErrorVariableValue";
|
|
13
13
|
import { NamedTestCaseFunctionCallVariableValue } from "./NamedTestCaseFunctionCallVariableValue";
|
|
14
|
+
import { NamedTestCaseArrayVariableValue } from "./NamedTestCaseArrayVariableValue";
|
|
14
15
|
export declare const NamedTestCaseVariableValue: core.serialization.Schema<serializers.NamedTestCaseVariableValue.Raw, Vellum.NamedTestCaseVariableValue>;
|
|
15
16
|
export declare namespace NamedTestCaseVariableValue {
|
|
16
|
-
type Raw = NamedTestCaseVariableValue.String | NamedTestCaseVariableValue.Number | NamedTestCaseVariableValue.Json | NamedTestCaseVariableValue.ChatHistory | NamedTestCaseVariableValue.SearchResults | NamedTestCaseVariableValue.Error | NamedTestCaseVariableValue.FunctionCall;
|
|
17
|
+
type Raw = NamedTestCaseVariableValue.String | NamedTestCaseVariableValue.Number | NamedTestCaseVariableValue.Json | NamedTestCaseVariableValue.ChatHistory | NamedTestCaseVariableValue.SearchResults | NamedTestCaseVariableValue.Error | NamedTestCaseVariableValue.FunctionCall | NamedTestCaseVariableValue.Array;
|
|
17
18
|
interface String extends NamedTestCaseStringVariableValue.Raw {
|
|
18
19
|
type: "STRING";
|
|
19
20
|
}
|
|
@@ -35,4 +36,7 @@ export declare namespace NamedTestCaseVariableValue {
|
|
|
35
36
|
interface FunctionCall extends NamedTestCaseFunctionCallVariableValue.Raw {
|
|
36
37
|
type: "FUNCTION_CALL";
|
|
37
38
|
}
|
|
39
|
+
interface Array extends NamedTestCaseArrayVariableValue.Raw {
|
|
40
|
+
type: "ARRAY";
|
|
41
|
+
}
|
|
38
42
|
}
|
|
@@ -35,6 +35,7 @@ const NamedTestCaseChatHistoryVariableValue_1 = require("./NamedTestCaseChatHist
|
|
|
35
35
|
const NamedTestCaseSearchResultsVariableValue_1 = require("./NamedTestCaseSearchResultsVariableValue");
|
|
36
36
|
const NamedTestCaseErrorVariableValue_1 = require("./NamedTestCaseErrorVariableValue");
|
|
37
37
|
const NamedTestCaseFunctionCallVariableValue_1 = require("./NamedTestCaseFunctionCallVariableValue");
|
|
38
|
+
const NamedTestCaseArrayVariableValue_1 = require("./NamedTestCaseArrayVariableValue");
|
|
38
39
|
exports.NamedTestCaseVariableValue = core.serialization
|
|
39
40
|
.union("type", {
|
|
40
41
|
STRING: NamedTestCaseStringVariableValue_1.NamedTestCaseStringVariableValue,
|
|
@@ -44,6 +45,7 @@ exports.NamedTestCaseVariableValue = core.serialization
|
|
|
44
45
|
SEARCH_RESULTS: NamedTestCaseSearchResultsVariableValue_1.NamedTestCaseSearchResultsVariableValue,
|
|
45
46
|
ERROR: NamedTestCaseErrorVariableValue_1.NamedTestCaseErrorVariableValue,
|
|
46
47
|
FUNCTION_CALL: NamedTestCaseFunctionCallVariableValue_1.NamedTestCaseFunctionCallVariableValue,
|
|
48
|
+
ARRAY: NamedTestCaseArrayVariableValue_1.NamedTestCaseArrayVariableValue,
|
|
47
49
|
})
|
|
48
50
|
.transform({
|
|
49
51
|
transform: (value) => value,
|
|
@@ -11,9 +11,10 @@ import { NamedTestCaseChatHistoryVariableValueRequest } from "./NamedTestCaseCha
|
|
|
11
11
|
import { NamedTestCaseSearchResultsVariableValueRequest } from "./NamedTestCaseSearchResultsVariableValueRequest";
|
|
12
12
|
import { NamedTestCaseErrorVariableValueRequest } from "./NamedTestCaseErrorVariableValueRequest";
|
|
13
13
|
import { NamedTestCaseFunctionCallVariableValueRequest } from "./NamedTestCaseFunctionCallVariableValueRequest";
|
|
14
|
+
import { NamedTestCaseArrayVariableValueRequest } from "./NamedTestCaseArrayVariableValueRequest";
|
|
14
15
|
export declare const NamedTestCaseVariableValueRequest: core.serialization.Schema<serializers.NamedTestCaseVariableValueRequest.Raw, Vellum.NamedTestCaseVariableValueRequest>;
|
|
15
16
|
export declare namespace NamedTestCaseVariableValueRequest {
|
|
16
|
-
type Raw = NamedTestCaseVariableValueRequest.String | NamedTestCaseVariableValueRequest.Number | NamedTestCaseVariableValueRequest.Json | NamedTestCaseVariableValueRequest.ChatHistory | NamedTestCaseVariableValueRequest.SearchResults | NamedTestCaseVariableValueRequest.Error | NamedTestCaseVariableValueRequest.FunctionCall;
|
|
17
|
+
type Raw = NamedTestCaseVariableValueRequest.String | NamedTestCaseVariableValueRequest.Number | NamedTestCaseVariableValueRequest.Json | NamedTestCaseVariableValueRequest.ChatHistory | NamedTestCaseVariableValueRequest.SearchResults | NamedTestCaseVariableValueRequest.Error | NamedTestCaseVariableValueRequest.FunctionCall | NamedTestCaseVariableValueRequest.Array;
|
|
17
18
|
interface String extends NamedTestCaseStringVariableValueRequest.Raw {
|
|
18
19
|
type: "STRING";
|
|
19
20
|
}
|
|
@@ -35,4 +36,7 @@ export declare namespace NamedTestCaseVariableValueRequest {
|
|
|
35
36
|
interface FunctionCall extends NamedTestCaseFunctionCallVariableValueRequest.Raw {
|
|
36
37
|
type: "FUNCTION_CALL";
|
|
37
38
|
}
|
|
39
|
+
interface Array extends NamedTestCaseArrayVariableValueRequest.Raw {
|
|
40
|
+
type: "ARRAY";
|
|
41
|
+
}
|
|
38
42
|
}
|
|
@@ -35,6 +35,7 @@ const NamedTestCaseChatHistoryVariableValueRequest_1 = require("./NamedTestCaseC
|
|
|
35
35
|
const NamedTestCaseSearchResultsVariableValueRequest_1 = require("./NamedTestCaseSearchResultsVariableValueRequest");
|
|
36
36
|
const NamedTestCaseErrorVariableValueRequest_1 = require("./NamedTestCaseErrorVariableValueRequest");
|
|
37
37
|
const NamedTestCaseFunctionCallVariableValueRequest_1 = require("./NamedTestCaseFunctionCallVariableValueRequest");
|
|
38
|
+
const NamedTestCaseArrayVariableValueRequest_1 = require("./NamedTestCaseArrayVariableValueRequest");
|
|
38
39
|
exports.NamedTestCaseVariableValueRequest = core.serialization
|
|
39
40
|
.union("type", {
|
|
40
41
|
STRING: NamedTestCaseStringVariableValueRequest_1.NamedTestCaseStringVariableValueRequest,
|
|
@@ -44,6 +45,7 @@ exports.NamedTestCaseVariableValueRequest = core.serialization
|
|
|
44
45
|
SEARCH_RESULTS: NamedTestCaseSearchResultsVariableValueRequest_1.NamedTestCaseSearchResultsVariableValueRequest,
|
|
45
46
|
ERROR: NamedTestCaseErrorVariableValueRequest_1.NamedTestCaseErrorVariableValueRequest,
|
|
46
47
|
FUNCTION_CALL: NamedTestCaseFunctionCallVariableValueRequest_1.NamedTestCaseFunctionCallVariableValueRequest,
|
|
48
|
+
ARRAY: NamedTestCaseArrayVariableValueRequest_1.NamedTestCaseArrayVariableValueRequest,
|
|
47
49
|
})
|
|
48
50
|
.transform({
|
|
49
51
|
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 "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const NumberVellumValueRequest: core.serialization.ObjectSchema<serializers.NumberVellumValueRequest.Raw, Vellum.NumberVellumValueRequest>;
|
|
8
|
+
export declare namespace NumberVellumValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: number | null;
|
|
11
|
+
}
|
|
12
|
+
}
|