vellum-ai 0.2.0 → 0.2.1
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 +7 -0
- package/Client.js +70 -8
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/api/client/requests/ExecuteWorkflowRequest.js +5 -0
- package/api/client/requests/index.d.ts +1 -0
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuites/client/Client.js +2 -2
- package/api/resources/workflowDeployments/client/Client.js +1 -1
- package/api/types/ArrayEnum.d.ts +4 -0
- package/api/types/ArrayEnum.js +5 -0
- package/api/types/ArrayVariableValue.d.ts +7 -0
- package/api/types/ArrayVariableValue.js +5 -0
- package/api/types/ChatHistoryEnum.d.ts +4 -0
- package/api/types/ChatHistoryEnum.js +5 -0
- package/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/api/types/ChatHistoryVariableValue.js +5 -0
- package/api/types/ErrorEnum.d.ts +4 -0
- package/api/types/ErrorEnum.js +5 -0
- package/api/types/ExecuteWorkflowErrorResponse.d.ts +7 -0
- package/api/types/ExecuteWorkflowErrorResponse.js +5 -0
- package/api/types/ExecuteWorkflowResponse.d.ts +10 -0
- package/api/types/ExecuteWorkflowResponse.js +5 -0
- package/api/types/ExecuteWorkflowWorkflowResultEvent.d.ts +13 -0
- package/api/types/ExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/api/types/JsonEnum.d.ts +4 -0
- package/api/types/JsonEnum.js +5 -0
- package/api/types/NumberEnum.d.ts +4 -0
- package/api/types/NumberEnum.js +5 -0
- package/api/types/NumberVariableValue.d.ts +6 -0
- package/api/types/NumberVariableValue.js +5 -0
- package/api/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/api/types/RejectedExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/api/types/ScenarioInputTypeEnum.d.ts +2 -2
- package/api/types/SearchResultsEnum.d.ts +4 -0
- package/api/types/SearchResultsEnum.js +5 -0
- package/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/api/types/SearchResultsVariableValue.js +5 -0
- package/api/types/VariableValue.d.ts +31 -0
- package/api/types/VariableValue.js +5 -0
- package/api/types/WorkflowOutput.d.ts +34 -0
- package/api/types/WorkflowOutput.js +5 -0
- package/api/types/WorkflowOutputArray.d.ts +13 -0
- package/api/types/WorkflowOutputArray.js +5 -0
- package/api/types/WorkflowOutputChatHistory.d.ts +13 -0
- package/api/types/WorkflowOutputChatHistory.js +5 -0
- package/api/types/WorkflowOutputError.d.ts +13 -0
- package/api/types/WorkflowOutputError.js +5 -0
- package/api/types/WorkflowOutputFunctionCall.d.ts +13 -0
- package/api/types/WorkflowOutputFunctionCall.js +5 -0
- package/api/types/WorkflowOutputImage.d.ts +13 -0
- package/api/types/WorkflowOutputImage.js +5 -0
- package/api/types/WorkflowOutputJson.d.ts +12 -0
- package/api/types/WorkflowOutputJson.js +5 -0
- package/api/types/WorkflowOutputNumber.d.ts +12 -0
- package/api/types/WorkflowOutputNumber.js +5 -0
- package/api/types/WorkflowOutputSearchResults.d.ts +13 -0
- package/api/types/WorkflowOutputSearchResults.js +5 -0
- package/api/types/WorkflowOutputString.d.ts +12 -0
- package/api/types/WorkflowOutputString.js +5 -0
- package/api/types/WorkflowResultEvent.d.ts +1 -0
- package/api/types/index.d.ts +26 -0
- package/api/types/index.js +26 -0
- package/dist/Client.d.ts +7 -0
- package/dist/Client.js +70 -8
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/dist/api/client/requests/ExecuteWorkflowRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +1 -0
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuites/client/Client.js +2 -2
- package/dist/api/resources/workflowDeployments/client/Client.js +1 -1
- package/dist/api/types/ArrayEnum.d.ts +4 -0
- package/dist/api/types/ArrayEnum.js +5 -0
- package/dist/api/types/ArrayVariableValue.d.ts +7 -0
- package/dist/api/types/ArrayVariableValue.js +5 -0
- package/dist/api/types/ChatHistoryEnum.d.ts +4 -0
- package/dist/api/types/ChatHistoryEnum.js +5 -0
- package/dist/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/dist/api/types/ChatHistoryVariableValue.js +5 -0
- package/dist/api/types/ErrorEnum.d.ts +4 -0
- package/dist/api/types/ErrorEnum.js +5 -0
- package/dist/api/types/ExecuteWorkflowErrorResponse.d.ts +7 -0
- package/dist/api/types/ExecuteWorkflowErrorResponse.js +5 -0
- package/dist/api/types/ExecuteWorkflowResponse.d.ts +10 -0
- package/dist/api/types/ExecuteWorkflowResponse.js +5 -0
- package/dist/api/types/ExecuteWorkflowWorkflowResultEvent.d.ts +13 -0
- package/dist/api/types/ExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/dist/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/dist/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/dist/api/types/JsonEnum.d.ts +4 -0
- package/dist/api/types/JsonEnum.js +5 -0
- package/dist/api/types/NumberEnum.d.ts +4 -0
- package/dist/api/types/NumberEnum.js +5 -0
- package/dist/api/types/NumberVariableValue.d.ts +6 -0
- package/dist/api/types/NumberVariableValue.js +5 -0
- package/dist/api/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/dist/api/types/RejectedExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/dist/api/types/ScenarioInputTypeEnum.d.ts +2 -2
- package/dist/api/types/SearchResultsEnum.d.ts +4 -0
- package/dist/api/types/SearchResultsEnum.js +5 -0
- package/dist/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/dist/api/types/SearchResultsVariableValue.js +5 -0
- package/dist/api/types/VariableValue.d.ts +31 -0
- package/dist/api/types/VariableValue.js +5 -0
- package/dist/api/types/WorkflowOutput.d.ts +34 -0
- package/dist/api/types/WorkflowOutput.js +5 -0
- package/dist/api/types/WorkflowOutputArray.d.ts +13 -0
- package/dist/api/types/WorkflowOutputArray.js +5 -0
- package/dist/api/types/WorkflowOutputChatHistory.d.ts +13 -0
- package/dist/api/types/WorkflowOutputChatHistory.js +5 -0
- package/dist/api/types/WorkflowOutputError.d.ts +13 -0
- package/dist/api/types/WorkflowOutputError.js +5 -0
- package/dist/api/types/WorkflowOutputFunctionCall.d.ts +13 -0
- package/dist/api/types/WorkflowOutputFunctionCall.js +5 -0
- package/dist/api/types/WorkflowOutputImage.d.ts +13 -0
- package/dist/api/types/WorkflowOutputImage.js +5 -0
- package/dist/api/types/WorkflowOutputJson.d.ts +12 -0
- package/dist/api/types/WorkflowOutputJson.js +5 -0
- package/dist/api/types/WorkflowOutputNumber.d.ts +12 -0
- package/dist/api/types/WorkflowOutputNumber.js +5 -0
- package/dist/api/types/WorkflowOutputSearchResults.d.ts +13 -0
- package/dist/api/types/WorkflowOutputSearchResults.js +5 -0
- package/dist/api/types/WorkflowOutputString.d.ts +12 -0
- package/dist/api/types/WorkflowOutputString.js +5 -0
- package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/api/types/index.d.ts +26 -0
- package/dist/api/types/index.js +26 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +46 -0
- package/dist/serialization/client/requests/index.d.ts +1 -0
- package/dist/serialization/client/requests/index.js +3 -1
- package/dist/serialization/types/ArrayEnum.d.ts +10 -0
- package/dist/serialization/types/ArrayEnum.js +31 -0
- package/dist/serialization/types/ArrayVariableValue.d.ts +12 -0
- package/dist/serialization/types/ArrayVariableValue.js +42 -0
- package/dist/serialization/types/ChatHistoryEnum.d.ts +10 -0
- package/dist/serialization/types/ChatHistoryEnum.js +31 -0
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/dist/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/dist/serialization/types/ErrorEnum.d.ts +10 -0
- package/dist/serialization/types/ErrorEnum.js +31 -0
- package/dist/serialization/types/ExecuteWorkflowErrorResponse.d.ts +12 -0
- package/dist/serialization/types/ExecuteWorkflowErrorResponse.js +33 -0
- package/dist/serialization/types/ExecuteWorkflowResponse.d.ts +15 -0
- package/dist/serialization/types/ExecuteWorkflowResponse.js +45 -0
- package/dist/serialization/types/ExecuteWorkflowWorkflowResultEvent.d.ts +16 -0
- package/dist/serialization/types/ExecuteWorkflowWorkflowResultEvent.js +48 -0
- package/dist/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/dist/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/dist/serialization/types/JsonEnum.d.ts +10 -0
- package/dist/serialization/types/JsonEnum.js +31 -0
- package/dist/serialization/types/NumberEnum.d.ts +10 -0
- package/dist/serialization/types/NumberEnum.js +31 -0
- package/dist/serialization/types/NumberVariableValue.d.ts +12 -0
- package/dist/serialization/types/NumberVariableValue.js +33 -0
- package/dist/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/dist/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/dist/serialization/types/SearchResultsEnum.d.ts +10 -0
- package/dist/serialization/types/SearchResultsEnum.js +31 -0
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/dist/serialization/types/SearchResultsVariableValue.js +44 -0
- package/dist/serialization/types/VariableValue.d.ts +34 -0
- package/dist/serialization/types/VariableValue.js +54 -0
- package/dist/serialization/types/WorkflowOutput.d.ts +37 -0
- package/dist/serialization/types/WorkflowOutput.js +55 -0
- package/dist/serialization/types/WorkflowOutputArray.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputArray.js +44 -0
- package/dist/serialization/types/WorkflowOutputChatHistory.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputChatHistory.js +44 -0
- package/dist/serialization/types/WorkflowOutputError.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputError.js +44 -0
- package/dist/serialization/types/WorkflowOutputFunctionCall.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputFunctionCall.js +44 -0
- package/dist/serialization/types/WorkflowOutputImage.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputImage.js +44 -0
- package/dist/serialization/types/WorkflowOutputJson.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputJson.js +35 -0
- package/dist/serialization/types/WorkflowOutputNumber.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputNumber.js +35 -0
- package/dist/serialization/types/WorkflowOutputSearchResults.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputSearchResults.js +44 -0
- package/dist/serialization/types/WorkflowOutputString.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputString.js +35 -0
- package/dist/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEvent.js +3 -0
- package/dist/serialization/types/index.d.ts +26 -0
- package/dist/serialization/types/index.js +26 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/serialization/client/requests/ExecuteWorkflowRequest.js +46 -0
- package/serialization/client/requests/index.d.ts +1 -0
- package/serialization/client/requests/index.js +3 -1
- package/serialization/types/ArrayEnum.d.ts +10 -0
- package/serialization/types/ArrayEnum.js +31 -0
- package/serialization/types/ArrayVariableValue.d.ts +12 -0
- package/serialization/types/ArrayVariableValue.js +42 -0
- package/serialization/types/ChatHistoryEnum.d.ts +10 -0
- package/serialization/types/ChatHistoryEnum.js +31 -0
- package/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/serialization/types/ErrorEnum.d.ts +10 -0
- package/serialization/types/ErrorEnum.js +31 -0
- package/serialization/types/ExecuteWorkflowErrorResponse.d.ts +12 -0
- package/serialization/types/ExecuteWorkflowErrorResponse.js +33 -0
- package/serialization/types/ExecuteWorkflowResponse.d.ts +15 -0
- package/serialization/types/ExecuteWorkflowResponse.js +45 -0
- package/serialization/types/ExecuteWorkflowWorkflowResultEvent.d.ts +16 -0
- package/serialization/types/ExecuteWorkflowWorkflowResultEvent.js +48 -0
- package/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/serialization/types/JsonEnum.d.ts +10 -0
- package/serialization/types/JsonEnum.js +31 -0
- package/serialization/types/NumberEnum.d.ts +10 -0
- package/serialization/types/NumberEnum.js +31 -0
- package/serialization/types/NumberVariableValue.d.ts +12 -0
- package/serialization/types/NumberVariableValue.js +33 -0
- package/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/serialization/types/SearchResultsEnum.d.ts +10 -0
- package/serialization/types/SearchResultsEnum.js +31 -0
- package/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/serialization/types/SearchResultsVariableValue.js +44 -0
- package/serialization/types/VariableValue.d.ts +34 -0
- package/serialization/types/VariableValue.js +54 -0
- package/serialization/types/WorkflowOutput.d.ts +37 -0
- package/serialization/types/WorkflowOutput.js +55 -0
- package/serialization/types/WorkflowOutputArray.d.ts +14 -0
- package/serialization/types/WorkflowOutputArray.js +44 -0
- package/serialization/types/WorkflowOutputChatHistory.d.ts +14 -0
- package/serialization/types/WorkflowOutputChatHistory.js +44 -0
- package/serialization/types/WorkflowOutputError.d.ts +14 -0
- package/serialization/types/WorkflowOutputError.js +44 -0
- package/serialization/types/WorkflowOutputFunctionCall.d.ts +14 -0
- package/serialization/types/WorkflowOutputFunctionCall.js +44 -0
- package/serialization/types/WorkflowOutputImage.d.ts +14 -0
- package/serialization/types/WorkflowOutputImage.js +44 -0
- package/serialization/types/WorkflowOutputJson.d.ts +14 -0
- package/serialization/types/WorkflowOutputJson.js +35 -0
- package/serialization/types/WorkflowOutputNumber.d.ts +14 -0
- package/serialization/types/WorkflowOutputNumber.js +35 -0
- package/serialization/types/WorkflowOutputSearchResults.d.ts +14 -0
- package/serialization/types/WorkflowOutputSearchResults.js +44 -0
- package/serialization/types/WorkflowOutputString.d.ts +14 -0
- package/serialization/types/WorkflowOutputString.js +35 -0
- package/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/serialization/types/WorkflowResultEvent.js +3 -0
- package/serialization/types/index.d.ts +26 -0
- package/serialization/types/index.js +26 -0
|
@@ -4,8 +4,12 @@ export * from "./ArrayChatMessageContent";
|
|
|
4
4
|
export * from "./ArrayChatMessageContentItem";
|
|
5
5
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
6
6
|
export * from "./ArrayChatMessageContentRequest";
|
|
7
|
+
export * from "./ArrayEnum";
|
|
8
|
+
export * from "./ArrayVariableValue";
|
|
7
9
|
export * from "./BlockTypeEnum";
|
|
10
|
+
export * from "./ChatHistoryEnum";
|
|
8
11
|
export * from "./ChatHistoryInputRequest";
|
|
12
|
+
export * from "./ChatHistoryVariableValue";
|
|
9
13
|
export * from "./ChatMessage";
|
|
10
14
|
export * from "./ChatMessageContent";
|
|
11
15
|
export * from "./ChatMessageContentRequest";
|
|
@@ -31,17 +35,22 @@ export * from "./DocumentStatus";
|
|
|
31
35
|
export * from "./EnrichedNormalizedCompletion";
|
|
32
36
|
export * from "./EntityStatus";
|
|
33
37
|
export * from "./EnvironmentEnum";
|
|
38
|
+
export * from "./ErrorEnum";
|
|
34
39
|
export * from "./ErrorVariableValue";
|
|
35
40
|
export * from "./EvaluationParams";
|
|
36
41
|
export * from "./EvaluationParamsRequest";
|
|
37
42
|
export * from "./ExecutePromptApiErrorResponse";
|
|
38
43
|
export * from "./ExecutePromptEvent";
|
|
39
44
|
export * from "./ExecutePromptResponse";
|
|
45
|
+
export * from "./ExecuteWorkflowErrorResponse";
|
|
46
|
+
export * from "./ExecuteWorkflowResponse";
|
|
40
47
|
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
48
|
+
export * from "./ExecuteWorkflowWorkflowResultEvent";
|
|
41
49
|
export * from "./FinishReasonEnum";
|
|
42
50
|
export * from "./FulfilledEnum";
|
|
43
51
|
export * from "./FulfilledExecutePromptEvent";
|
|
44
52
|
export * from "./FulfilledExecutePromptResponse";
|
|
53
|
+
export * from "./FulfilledExecuteWorkflowWorkflowResultEvent";
|
|
45
54
|
export * from "./FulfilledFunctionCall";
|
|
46
55
|
export * from "./FulfilledPromptExecutionMeta";
|
|
47
56
|
export * from "./FunctionCall";
|
|
@@ -69,6 +78,7 @@ export * from "./InitiatedEnum";
|
|
|
69
78
|
export * from "./InitiatedExecutePromptEvent";
|
|
70
79
|
export * from "./InitiatedPromptExecutionMeta";
|
|
71
80
|
export * from "./JsonInputRequest";
|
|
81
|
+
export * from "./JsonEnum";
|
|
72
82
|
export * from "./JsonVariableValue";
|
|
73
83
|
export * from "./LogicalOperator";
|
|
74
84
|
export * from "./LogprobsEnum";
|
|
@@ -97,6 +107,8 @@ export * from "./NodeInputCompiledStringValue";
|
|
|
97
107
|
export * from "./NodeInputVariableCompiledValue";
|
|
98
108
|
export * from "./NormalizedLogProbs";
|
|
99
109
|
export * from "./NormalizedTokenLogProbs";
|
|
110
|
+
export * from "./NumberEnum";
|
|
111
|
+
export * from "./NumberVariableValue";
|
|
100
112
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
101
113
|
export * from "./PaginatedSlimDocumentList";
|
|
102
114
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
@@ -129,6 +141,7 @@ export * from "./RegisteredPromptSandboxSnapshot";
|
|
|
129
141
|
export * from "./RejectedEnum";
|
|
130
142
|
export * from "./RejectedExecutePromptEvent";
|
|
131
143
|
export * from "./RejectedExecutePromptResponse";
|
|
144
|
+
export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
|
|
132
145
|
export * from "./RejectedFunctionCall";
|
|
133
146
|
export * from "./RejectedPromptExecutionMeta";
|
|
134
147
|
export * from "./SandboxMetricInputParams";
|
|
@@ -148,6 +161,8 @@ export * from "./SearchResultDocument";
|
|
|
148
161
|
export * from "./SearchResultDocumentRequest";
|
|
149
162
|
export * from "./SearchResultMergingRequest";
|
|
150
163
|
export * from "./SearchResultRequest";
|
|
164
|
+
export * from "./SearchResultsEnum";
|
|
165
|
+
export * from "./SearchResultsVariableValue";
|
|
151
166
|
export * from "./SearchWeightsRequest";
|
|
152
167
|
export * from "./SlimDeploymentRead";
|
|
153
168
|
export * from "./SlimDocument";
|
|
@@ -191,6 +206,7 @@ export * from "./TestCaseVariableValue";
|
|
|
191
206
|
export * from "./TestSuiteTestCase";
|
|
192
207
|
export * from "./UploadDocumentErrorResponse";
|
|
193
208
|
export * from "./UploadDocumentResponse";
|
|
209
|
+
export * from "./VariableValue";
|
|
194
210
|
export * from "./VellumError";
|
|
195
211
|
export * from "./VellumErrorCodeEnum";
|
|
196
212
|
export * from "./VellumErrorRequest";
|
|
@@ -209,6 +225,16 @@ export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
|
209
225
|
export * from "./WorkflowNodeResultData";
|
|
210
226
|
export * from "./WorkflowNodeResultEvent";
|
|
211
227
|
export * from "./WorkflowNodeResultEventState";
|
|
228
|
+
export * from "./WorkflowOutput";
|
|
229
|
+
export * from "./WorkflowOutputArray";
|
|
230
|
+
export * from "./WorkflowOutputChatHistory";
|
|
231
|
+
export * from "./WorkflowOutputError";
|
|
232
|
+
export * from "./WorkflowOutputFunctionCall";
|
|
233
|
+
export * from "./WorkflowOutputImage";
|
|
234
|
+
export * from "./WorkflowOutputJson";
|
|
235
|
+
export * from "./WorkflowOutputNumber";
|
|
236
|
+
export * from "./WorkflowOutputSearchResults";
|
|
237
|
+
export * from "./WorkflowOutputString";
|
|
212
238
|
export * from "./WorkflowRequestChatHistoryInputRequest";
|
|
213
239
|
export * from "./WorkflowRequestInputRequest";
|
|
214
240
|
export * from "./WorkflowRequestJsonInputRequest";
|
|
@@ -20,8 +20,12 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
|
|
|
20
20
|
__exportStar(require("./ArrayChatMessageContentItem"), exports);
|
|
21
21
|
__exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
22
22
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
23
|
+
__exportStar(require("./ArrayEnum"), exports);
|
|
24
|
+
__exportStar(require("./ArrayVariableValue"), exports);
|
|
23
25
|
__exportStar(require("./BlockTypeEnum"), exports);
|
|
26
|
+
__exportStar(require("./ChatHistoryEnum"), exports);
|
|
24
27
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
28
|
+
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
25
29
|
__exportStar(require("./ChatMessage"), exports);
|
|
26
30
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
27
31
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
@@ -47,17 +51,22 @@ __exportStar(require("./DocumentStatus"), exports);
|
|
|
47
51
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
48
52
|
__exportStar(require("./EntityStatus"), exports);
|
|
49
53
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
54
|
+
__exportStar(require("./ErrorEnum"), exports);
|
|
50
55
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
51
56
|
__exportStar(require("./EvaluationParams"), exports);
|
|
52
57
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
53
58
|
__exportStar(require("./ExecutePromptApiErrorResponse"), exports);
|
|
54
59
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
55
60
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
61
|
+
__exportStar(require("./ExecuteWorkflowErrorResponse"), exports);
|
|
62
|
+
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
56
63
|
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
64
|
+
__exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
|
|
57
65
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
58
66
|
__exportStar(require("./FulfilledEnum"), exports);
|
|
59
67
|
__exportStar(require("./FulfilledExecutePromptEvent"), exports);
|
|
60
68
|
__exportStar(require("./FulfilledExecutePromptResponse"), exports);
|
|
69
|
+
__exportStar(require("./FulfilledExecuteWorkflowWorkflowResultEvent"), exports);
|
|
61
70
|
__exportStar(require("./FulfilledFunctionCall"), exports);
|
|
62
71
|
__exportStar(require("./FulfilledPromptExecutionMeta"), exports);
|
|
63
72
|
__exportStar(require("./FunctionCall"), exports);
|
|
@@ -85,6 +94,7 @@ __exportStar(require("./InitiatedEnum"), exports);
|
|
|
85
94
|
__exportStar(require("./InitiatedExecutePromptEvent"), exports);
|
|
86
95
|
__exportStar(require("./InitiatedPromptExecutionMeta"), exports);
|
|
87
96
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
97
|
+
__exportStar(require("./JsonEnum"), exports);
|
|
88
98
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
89
99
|
__exportStar(require("./LogicalOperator"), exports);
|
|
90
100
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
@@ -113,6 +123,8 @@ __exportStar(require("./NodeInputCompiledStringValue"), exports);
|
|
|
113
123
|
__exportStar(require("./NodeInputVariableCompiledValue"), exports);
|
|
114
124
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
115
125
|
__exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
126
|
+
__exportStar(require("./NumberEnum"), exports);
|
|
127
|
+
__exportStar(require("./NumberVariableValue"), exports);
|
|
116
128
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
117
129
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
118
130
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
@@ -145,6 +157,7 @@ __exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
|
145
157
|
__exportStar(require("./RejectedEnum"), exports);
|
|
146
158
|
__exportStar(require("./RejectedExecutePromptEvent"), exports);
|
|
147
159
|
__exportStar(require("./RejectedExecutePromptResponse"), exports);
|
|
160
|
+
__exportStar(require("./RejectedExecuteWorkflowWorkflowResultEvent"), exports);
|
|
148
161
|
__exportStar(require("./RejectedFunctionCall"), exports);
|
|
149
162
|
__exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
150
163
|
__exportStar(require("./SandboxMetricInputParams"), exports);
|
|
@@ -164,6 +177,8 @@ __exportStar(require("./SearchResultDocument"), exports);
|
|
|
164
177
|
__exportStar(require("./SearchResultDocumentRequest"), exports);
|
|
165
178
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
166
179
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
180
|
+
__exportStar(require("./SearchResultsEnum"), exports);
|
|
181
|
+
__exportStar(require("./SearchResultsVariableValue"), exports);
|
|
167
182
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
168
183
|
__exportStar(require("./SlimDeploymentRead"), exports);
|
|
169
184
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -207,6 +222,7 @@ __exportStar(require("./TestCaseVariableValue"), exports);
|
|
|
207
222
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
208
223
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
209
224
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
225
|
+
__exportStar(require("./VariableValue"), exports);
|
|
210
226
|
__exportStar(require("./VellumError"), exports);
|
|
211
227
|
__exportStar(require("./VellumErrorCodeEnum"), exports);
|
|
212
228
|
__exportStar(require("./VellumErrorRequest"), exports);
|
|
@@ -225,6 +241,16 @@ __exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
|
225
241
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
|
226
242
|
__exportStar(require("./WorkflowNodeResultEvent"), exports);
|
|
227
243
|
__exportStar(require("./WorkflowNodeResultEventState"), exports);
|
|
244
|
+
__exportStar(require("./WorkflowOutput"), exports);
|
|
245
|
+
__exportStar(require("./WorkflowOutputArray"), exports);
|
|
246
|
+
__exportStar(require("./WorkflowOutputChatHistory"), exports);
|
|
247
|
+
__exportStar(require("./WorkflowOutputError"), exports);
|
|
248
|
+
__exportStar(require("./WorkflowOutputFunctionCall"), exports);
|
|
249
|
+
__exportStar(require("./WorkflowOutputImage"), exports);
|
|
250
|
+
__exportStar(require("./WorkflowOutputJson"), exports);
|
|
251
|
+
__exportStar(require("./WorkflowOutputNumber"), exports);
|
|
252
|
+
__exportStar(require("./WorkflowOutputSearchResults"), exports);
|
|
253
|
+
__exportStar(require("./WorkflowOutputString"), exports);
|
|
228
254
|
__exportStar(require("./WorkflowRequestChatHistoryInputRequest"), exports);
|
|
229
255
|
__exportStar(require("./WorkflowRequestInputRequest"), exports);
|
|
230
256
|
__exportStar(require("./WorkflowRequestJsonInputRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../..";
|
|
5
|
+
import * as Vellum from "../../../api";
|
|
6
|
+
import * as core from "../../../core";
|
|
7
|
+
export declare const ExecuteWorkflowRequest: core.serialization.Schema<serializers.ExecuteWorkflowRequest.Raw, Vellum.ExecuteWorkflowRequest>;
|
|
8
|
+
export declare namespace ExecuteWorkflowRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
workflow_deployment_id?: string | null;
|
|
11
|
+
workflow_deployment_name?: string | null;
|
|
12
|
+
release_tag?: string | null;
|
|
13
|
+
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
14
|
+
external_id?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ExecuteWorkflowRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../core"));
|
|
40
|
+
exports.ExecuteWorkflowRequest = core.serialization.object({
|
|
41
|
+
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
42
|
+
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
43
|
+
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
44
|
+
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
45
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
46
|
+
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ExecutePromptRequest } from "./ExecutePromptRequest";
|
|
2
2
|
export { ExecutePromptStreamRequest } from "./ExecutePromptStreamRequest";
|
|
3
|
+
export { ExecuteWorkflowRequest } from "./ExecuteWorkflowRequest";
|
|
3
4
|
export { ExecuteWorkflowStreamRequest } from "./ExecuteWorkflowStreamRequest";
|
|
4
5
|
export { GenerateBodyRequest } from "./GenerateBodyRequest";
|
|
5
6
|
export { GenerateStreamBodyRequest } from "./GenerateStreamBodyRequest";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubmitWorkflowExecutionActualsRequest = exports.SubmitCompletionActualsRequest = exports.SearchRequestBodyRequest = exports.GenerateStreamBodyRequest = exports.GenerateBodyRequest = exports.ExecuteWorkflowStreamRequest = exports.ExecutePromptStreamRequest = exports.ExecutePromptRequest = void 0;
|
|
3
|
+
exports.SubmitWorkflowExecutionActualsRequest = exports.SubmitCompletionActualsRequest = exports.SearchRequestBodyRequest = exports.GenerateStreamBodyRequest = exports.GenerateBodyRequest = exports.ExecuteWorkflowStreamRequest = exports.ExecuteWorkflowRequest = exports.ExecutePromptStreamRequest = exports.ExecutePromptRequest = void 0;
|
|
4
4
|
var ExecutePromptRequest_1 = require("./ExecutePromptRequest");
|
|
5
5
|
Object.defineProperty(exports, "ExecutePromptRequest", { enumerable: true, get: function () { return ExecutePromptRequest_1.ExecutePromptRequest; } });
|
|
6
6
|
var ExecutePromptStreamRequest_1 = require("./ExecutePromptStreamRequest");
|
|
7
7
|
Object.defineProperty(exports, "ExecutePromptStreamRequest", { enumerable: true, get: function () { return ExecutePromptStreamRequest_1.ExecutePromptStreamRequest; } });
|
|
8
|
+
var ExecuteWorkflowRequest_1 = require("./ExecuteWorkflowRequest");
|
|
9
|
+
Object.defineProperty(exports, "ExecuteWorkflowRequest", { enumerable: true, get: function () { return ExecuteWorkflowRequest_1.ExecuteWorkflowRequest; } });
|
|
8
10
|
var ExecuteWorkflowStreamRequest_1 = require("./ExecuteWorkflowStreamRequest");
|
|
9
11
|
Object.defineProperty(exports, "ExecuteWorkflowStreamRequest", { enumerable: true, get: function () { return ExecuteWorkflowStreamRequest_1.ExecuteWorkflowStreamRequest; } });
|
|
10
12
|
var GenerateBodyRequest_1 = require("./GenerateBodyRequest");
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ArrayEnum: core.serialization.Schema<serializers.ArrayEnum.Raw, Vellum.ArrayEnum>;
|
|
8
|
+
export declare namespace ArrayEnum {
|
|
9
|
+
type Raw = "ARRAY";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ArrayEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ArrayEnum = core.serialization.stringLiteral("ARRAY");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ArrayVariableValue: core.serialization.ObjectSchema<serializers.ArrayVariableValue.Raw, Vellum.ArrayVariableValue>;
|
|
8
|
+
export declare namespace ArrayVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: serializers.VariableValue.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ArrayVariableValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ArrayVariableValue = core.serialization.object({
|
|
41
|
+
value: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VariableValue; }))),
|
|
42
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChatHistoryEnum: core.serialization.Schema<serializers.ChatHistoryEnum.Raw, Vellum.ChatHistoryEnum>;
|
|
8
|
+
export declare namespace ChatHistoryEnum {
|
|
9
|
+
type Raw = "CHAT_HISTORY";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ChatHistoryEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ChatHistoryEnum = core.serialization.stringLiteral("CHAT_HISTORY");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChatHistoryVariableValue: core.serialization.ObjectSchema<serializers.ChatHistoryVariableValue.Raw, Vellum.ChatHistoryVariableValue>;
|
|
8
|
+
export declare namespace ChatHistoryVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: serializers.ChatMessage.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ChatHistoryVariableValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ChatHistoryVariableValue = core.serialization.object({
|
|
41
|
+
value: core.serialization
|
|
42
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessage; })))
|
|
43
|
+
.optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ErrorEnum: core.serialization.Schema<serializers.ErrorEnum.Raw, Vellum.ErrorEnum>;
|
|
8
|
+
export declare namespace ErrorEnum {
|
|
9
|
+
type Raw = "ERROR";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ErrorEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ErrorEnum = core.serialization.stringLiteral("ERROR");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ExecuteWorkflowErrorResponse: core.serialization.ObjectSchema<serializers.ExecuteWorkflowErrorResponse.Raw, Vellum.ExecuteWorkflowErrorResponse>;
|
|
8
|
+
export declare namespace ExecuteWorkflowErrorResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
detail: string;
|
|
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.ExecuteWorkflowErrorResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ExecuteWorkflowErrorResponse = core.serialization.object({
|
|
32
|
+
detail: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ExecuteWorkflowResponse: core.serialization.ObjectSchema<serializers.ExecuteWorkflowResponse.Raw, Vellum.ExecuteWorkflowResponse>;
|
|
8
|
+
export declare namespace ExecuteWorkflowResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
execution_id: string;
|
|
11
|
+
run_id?: string | null;
|
|
12
|
+
external_id?: string | null;
|
|
13
|
+
data: serializers.ExecuteWorkflowWorkflowResultEvent.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ExecuteWorkflowResponse = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ExecuteWorkflowResponse = core.serialization.object({
|
|
41
|
+
executionId: core.serialization.property("execution_id", core.serialization.string()),
|
|
42
|
+
runId: core.serialization.property("run_id", core.serialization.string().optional()),
|
|
43
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
44
|
+
data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecuteWorkflowWorkflowResultEvent; })),
|
|
45
|
+
});
|