vellum-ai 0.7.1 → 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
|
@@ -6,10 +6,10 @@ import * as Vellum from "../index";
|
|
|
6
6
|
* The subset of the metadata tracked by Vellum during prompt execution that the request opted into with `expand_meta`.
|
|
7
7
|
*/
|
|
8
8
|
export interface PromptExecutionMeta {
|
|
9
|
-
usage?: Vellum.MlModelUsage;
|
|
10
9
|
modelName?: string;
|
|
11
10
|
latency?: number;
|
|
12
11
|
deploymentReleaseTag?: string;
|
|
13
12
|
promptVersionId?: string;
|
|
14
13
|
finishReason?: Vellum.FinishReasonEnum;
|
|
14
|
+
usage?: Vellum.MlModelUsage;
|
|
15
15
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The subset of the metadata tracked by Vellum during prompt execution that the request opted into with `expand_meta`.
|
|
7
|
+
*/
|
|
8
|
+
export interface PromptNodeExecutionMeta {
|
|
9
|
+
usage?: Vellum.MlModelUsage;
|
|
10
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
4
5
|
export interface PromptNodeResultData {
|
|
6
|
+
executionMeta?: Vellum.PromptNodeExecutionMeta;
|
|
5
7
|
outputId: string;
|
|
6
8
|
arrayOutputId?: string;
|
|
7
9
|
executionId?: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* An Array value for a variable in a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestCaseArrayVariableValue {
|
|
9
|
+
variableId: string;
|
|
10
|
+
name: string;
|
|
11
|
+
value?: Vellum.ArrayVellumValueItem[];
|
|
12
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type TestCaseVariableValue = Vellum.TestCaseVariableValue.String | Vellum.TestCaseVariableValue.Number | Vellum.TestCaseVariableValue.Json | Vellum.TestCaseVariableValue.ChatHistory | Vellum.TestCaseVariableValue.SearchResults | Vellum.TestCaseVariableValue.Error_ | Vellum.TestCaseVariableValue.FunctionCall;
|
|
5
|
+
export declare type TestCaseVariableValue = Vellum.TestCaseVariableValue.String | Vellum.TestCaseVariableValue.Number | Vellum.TestCaseVariableValue.Json | Vellum.TestCaseVariableValue.ChatHistory | Vellum.TestCaseVariableValue.SearchResults | Vellum.TestCaseVariableValue.Error_ | Vellum.TestCaseVariableValue.FunctionCall | Vellum.TestCaseVariableValue.Array;
|
|
6
6
|
export declare namespace TestCaseVariableValue {
|
|
7
7
|
interface String extends Vellum.TestCaseStringVariableValue {
|
|
8
8
|
type: "STRING";
|
|
@@ -25,4 +25,7 @@ export declare namespace TestCaseVariableValue {
|
|
|
25
25
|
interface FunctionCall extends Vellum.TestCaseFunctionCallVariableValue {
|
|
26
26
|
type: "FUNCTION_CALL";
|
|
27
27
|
}
|
|
28
|
+
interface Array extends Vellum.TestCaseArrayVariableValue {
|
|
29
|
+
type: "ARRAY";
|
|
30
|
+
}
|
|
28
31
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface WorkflowExpandMetaRequest {
|
|
5
|
+
/** If enabled, the Prompt Node FULFILLED events will include model host usage tracking. This may increase latency for some model hosts. */
|
|
6
|
+
usage?: boolean;
|
|
7
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./ArrayChatMessageContentRequest";
|
|
|
8
8
|
export * from "./ArrayEnum";
|
|
9
9
|
export * from "./ArrayVariableValueItem";
|
|
10
10
|
export * from "./ArrayVellumValueItem";
|
|
11
|
+
export * from "./ArrayVellumValueItemRequest";
|
|
11
12
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
12
13
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
13
14
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
@@ -58,6 +59,7 @@ export * from "./EnvironmentEnum";
|
|
|
58
59
|
export * from "./ErrorEnum";
|
|
59
60
|
export * from "./ErrorVariableValue";
|
|
60
61
|
export * from "./ErrorVellumValue";
|
|
62
|
+
export * from "./ErrorVellumValueRequest";
|
|
61
63
|
export * from "./ExecutePromptApiErrorResponse";
|
|
62
64
|
export * from "./ExecutePromptEvent";
|
|
63
65
|
export * from "./ExecutePromptResponse";
|
|
@@ -92,6 +94,7 @@ export * from "./FunctionCallEnum";
|
|
|
92
94
|
export * from "./FunctionCallRequest";
|
|
93
95
|
export * from "./FunctionCallVariableValue";
|
|
94
96
|
export * from "./FunctionCallVellumValue";
|
|
97
|
+
export * from "./FunctionCallVellumValueRequest";
|
|
95
98
|
export * from "./GenerateErrorResponse";
|
|
96
99
|
export * from "./GenerateOptionsRequest";
|
|
97
100
|
export * from "./GenerateRequest";
|
|
@@ -109,6 +112,7 @@ export * from "./ImageChatMessageContentRequest";
|
|
|
109
112
|
export * from "./ImageEnum";
|
|
110
113
|
export * from "./ImageVariableValue";
|
|
111
114
|
export * from "./ImageVellumValue";
|
|
115
|
+
export * from "./ImageVellumValueRequest";
|
|
112
116
|
export * from "./IndexingConfigVectorizer";
|
|
113
117
|
export * from "./IndexingConfigVectorizerRequest";
|
|
114
118
|
export * from "./IndexingStateEnum";
|
|
@@ -123,6 +127,7 @@ export * from "./JsonInputRequest";
|
|
|
123
127
|
export * from "./JsonEnum";
|
|
124
128
|
export * from "./JsonVariableValue";
|
|
125
129
|
export * from "./JsonVellumValue";
|
|
130
|
+
export * from "./JsonVellumValueRequest";
|
|
126
131
|
export * from "./LogicalOperator";
|
|
127
132
|
export * from "./LogprobsEnum";
|
|
128
133
|
export * from "./MlModelUsage";
|
|
@@ -140,6 +145,8 @@ export * from "./MetricNodeResult";
|
|
|
140
145
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
141
146
|
export * from "./NamedScenarioInputRequest";
|
|
142
147
|
export * from "./NamedScenarioInputStringVariableValueRequest";
|
|
148
|
+
export * from "./NamedTestCaseArrayVariableValue";
|
|
149
|
+
export * from "./NamedTestCaseArrayVariableValueRequest";
|
|
143
150
|
export * from "./NamedTestCaseChatHistoryVariableValue";
|
|
144
151
|
export * from "./NamedTestCaseChatHistoryVariableValueRequest";
|
|
145
152
|
export * from "./NamedTestCaseErrorVariableValue";
|
|
@@ -179,6 +186,7 @@ export * from "./NormalizedTokenLogProbs";
|
|
|
179
186
|
export * from "./NumberEnum";
|
|
180
187
|
export * from "./NumberVariableValue";
|
|
181
188
|
export * from "./NumberVellumValue";
|
|
189
|
+
export * from "./NumberVellumValueRequest";
|
|
182
190
|
export * from "./OpenAiVectorizerConfig";
|
|
183
191
|
export * from "./OpenAiVectorizerConfigRequest";
|
|
184
192
|
export * from "./OpenAiVectorizerTextEmbedding3Large";
|
|
@@ -201,6 +209,7 @@ export * from "./ProcessingStateEnum";
|
|
|
201
209
|
export * from "./PromptDeploymentExpandMetaRequestRequest";
|
|
202
210
|
export * from "./PromptDeploymentInputRequest";
|
|
203
211
|
export * from "./PromptExecutionMeta";
|
|
212
|
+
export * from "./PromptNodeExecutionMeta";
|
|
204
213
|
export * from "./PromptNodeResult";
|
|
205
214
|
export * from "./PromptNodeResultData";
|
|
206
215
|
export * from "./PromptOutput";
|
|
@@ -257,6 +266,7 @@ export * from "./StringEnum";
|
|
|
257
266
|
export * from "./StringInputRequest";
|
|
258
267
|
export * from "./StringVariableValue";
|
|
259
268
|
export * from "./StringVellumValue";
|
|
269
|
+
export * from "./StringVellumValueRequest";
|
|
260
270
|
export * from "./SubmitCompletionActualRequest";
|
|
261
271
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
262
272
|
export * from "./SubmitWorkflowExecutionActualRequest";
|
|
@@ -285,6 +295,7 @@ export * from "./TerminalNodeResultData";
|
|
|
285
295
|
export * from "./TerminalNodeResultOutput";
|
|
286
296
|
export * from "./TerminalNodeSearchResultsResult";
|
|
287
297
|
export * from "./TerminalNodeStringResult";
|
|
298
|
+
export * from "./TestCaseArrayVariableValue";
|
|
288
299
|
export * from "./TestCaseChatHistoryVariableValue";
|
|
289
300
|
export * from "./TestCaseErrorVariableValue";
|
|
290
301
|
export * from "./TestCaseFunctionCallVariableValue";
|
|
@@ -371,6 +382,7 @@ export * from "./WorkflowExecutionEventErrorCode";
|
|
|
371
382
|
export * from "./WorkflowExecutionEventType";
|
|
372
383
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
373
384
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
385
|
+
export * from "./WorkflowExpandMetaRequest";
|
|
374
386
|
export * from "./WorkflowNodeResultData";
|
|
375
387
|
export * from "./WorkflowNodeResultEvent";
|
|
376
388
|
export * from "./WorkflowNodeResultEventState";
|
package/dist/api/types/index.js
CHANGED
|
@@ -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);
|
|
@@ -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
|
+
}
|