vellum-ai 0.3.10 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +9 -9
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
- package/api/resources/deployments/client/Client.d.ts +11 -0
- package/api/resources/deployments/client/Client.js +30 -7
- package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/api/resources/documentIndexes/client/Client.d.ts +23 -0
- package/api/resources/documentIndexes/client/Client.js +168 -3
- package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +29 -0
- package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +5 -0
- package/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +27 -0
- package/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +5 -0
- package/api/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/folderEntities/client/Client.js +1 -1
- 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 +2 -2
- package/api/types/ArrayVariableValueItem.d.ts +4 -1
- package/api/types/ChatMessage.d.ts +2 -0
- package/api/types/ChatMessageRequest.d.ts +2 -0
- package/api/types/ExecutionArrayVellumValue.d.ts +10 -0
- package/api/types/ExecutionArrayVellumValue.js +5 -0
- package/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
- package/api/types/ExecutionChatHistoryVellumValue.js +5 -0
- package/api/types/ExecutionErrorVellumValue.d.ts +10 -0
- package/api/types/ExecutionErrorVellumValue.js +5 -0
- package/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
- package/api/types/ExecutionFunctionCallVellumValue.js +5 -0
- package/api/types/ExecutionJsonVellumValue.d.ts +9 -0
- package/api/types/ExecutionJsonVellumValue.js +5 -0
- package/api/types/ExecutionNumberVellumValue.d.ts +9 -0
- package/api/types/ExecutionNumberVellumValue.js +5 -0
- package/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
- package/api/types/ExecutionSearchResultsVellumValue.js +5 -0
- package/api/types/ExecutionStringVellumValue.d.ts +9 -0
- package/api/types/ExecutionStringVellumValue.js +5 -0
- package/api/types/ExecutionVellumValue.d.ts +31 -0
- package/api/types/ExecutionVellumValue.js +5 -0
- package/api/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/api/types/GenerateRequest.d.ts +1 -1
- package/api/types/ImageVariableValue.d.ts +10 -0
- package/api/types/ImageVariableValue.js +5 -0
- package/api/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/api/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/api/types/WorkflowResultEvent.d.ts +1 -0
- package/api/types/index.d.ts +10 -0
- package/api/types/index.js +10 -0
- package/dist/Client.js +9 -9
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
- package/dist/api/resources/deployments/client/Client.d.ts +11 -0
- package/dist/api/resources/deployments/client/Client.js +30 -7
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/dist/api/resources/documentIndexes/client/Client.d.ts +23 -0
- package/dist/api/resources/documentIndexes/client/Client.js +168 -3
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +29 -0
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +5 -0
- package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +27 -0
- package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +5 -0
- package/dist/api/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- 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 +2 -2
- package/dist/api/types/ArrayVariableValueItem.d.ts +4 -1
- package/dist/api/types/ChatMessage.d.ts +2 -0
- package/dist/api/types/ChatMessageRequest.d.ts +2 -0
- package/dist/api/types/ExecutionArrayVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionArrayVellumValue.js +5 -0
- package/dist/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionChatHistoryVellumValue.js +5 -0
- package/dist/api/types/ExecutionErrorVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionErrorVellumValue.js +5 -0
- package/dist/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionFunctionCallVellumValue.js +5 -0
- package/dist/api/types/ExecutionJsonVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionJsonVellumValue.js +5 -0
- package/dist/api/types/ExecutionNumberVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionNumberVellumValue.js +5 -0
- package/dist/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionSearchResultsVellumValue.js +5 -0
- package/dist/api/types/ExecutionStringVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionStringVellumValue.js +5 -0
- package/dist/api/types/ExecutionVellumValue.d.ts +31 -0
- package/dist/api/types/ExecutionVellumValue.js +5 -0
- package/dist/api/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/dist/api/types/GenerateRequest.d.ts +1 -1
- package/dist/api/types/ImageVariableValue.d.ts +10 -0
- package/dist/api/types/ImageVariableValue.js +5 -0
- package/dist/api/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/api/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/api/types/index.js +10 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +14 -0
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +44 -0
- package/dist/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +14 -0
- package/dist/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +44 -0
- package/dist/serialization/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/documentIndexes/client/requests/index.js +5 -1
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +4 -1
- package/dist/serialization/types/ArrayVariableValueItem.js +1 -0
- package/dist/serialization/types/ChatMessage.d.ts +1 -0
- package/dist/serialization/types/ChatMessage.js +1 -0
- package/dist/serialization/types/ChatMessageRequest.d.ts +1 -0
- package/dist/serialization/types/ChatMessageRequest.js +1 -0
- package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionArrayVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionErrorVellumValue.js +44 -0
- package/dist/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
- package/dist/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionJsonVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionNumberVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionStringVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionVellumValue.d.ts +34 -0
- package/dist/serialization/types/ExecutionVellumValue.js +54 -0
- package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.js +2 -0
- package/dist/serialization/types/ImageVariableValue.d.ts +12 -0
- package/dist/serialization/types/ImageVariableValue.js +42 -0
- package/dist/serialization/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/InitiatedWorkflowNodeResultEvent.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/dist/serialization/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/RejectedWorkflowNodeResultEvent.js +1 -0
- package/dist/serialization/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/StreamingWorkflowNodeResultEvent.js +1 -0
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -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 +10 -0
- package/dist/serialization/types/index.js +10 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +14 -0
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +44 -0
- package/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +14 -0
- package/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +44 -0
- package/serialization/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/serialization/resources/documentIndexes/client/requests/index.js +5 -1
- package/serialization/types/ArrayVariableValueItem.d.ts +4 -1
- package/serialization/types/ArrayVariableValueItem.js +1 -0
- package/serialization/types/ChatMessage.d.ts +1 -0
- package/serialization/types/ChatMessage.js +1 -0
- package/serialization/types/ChatMessageRequest.d.ts +1 -0
- package/serialization/types/ChatMessageRequest.js +1 -0
- package/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionArrayVellumValue.js +46 -0
- package/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
- package/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionErrorVellumValue.js +44 -0
- package/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
- package/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionJsonVellumValue.js +35 -0
- package/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionNumberVellumValue.js +35 -0
- package/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
- package/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionStringVellumValue.js +35 -0
- package/serialization/types/ExecutionVellumValue.d.ts +34 -0
- package/serialization/types/ExecutionVellumValue.js +54 -0
- package/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/serialization/types/FulfilledWorkflowNodeResultEvent.js +2 -0
- package/serialization/types/ImageVariableValue.d.ts +12 -0
- package/serialization/types/ImageVariableValue.js +42 -0
- package/serialization/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/InitiatedWorkflowNodeResultEvent.js +1 -0
- package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/serialization/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/RejectedWorkflowNodeResultEvent.js +1 -0
- package/serialization/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/StreamingWorkflowNodeResultEvent.js +1 -0
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/serialization/types/WorkflowResultEvent.js +3 -0
- package/serialization/types/index.d.ts +10 -0
- package/serialization/types/index.js +10 -0
|
@@ -5,7 +5,7 @@ import * as Vellum from "..";
|
|
|
5
5
|
export interface GenerateRequest {
|
|
6
6
|
/** Key/value pairs for each template variable defined in the deployment's prompt. */
|
|
7
7
|
inputValues: Record<string, unknown>;
|
|
8
|
-
/** Optionally provide a list of chat messages that'll be used in place of the special
|
|
8
|
+
/** Optionally provide a list of chat messages that'll be used in place of the special chat_history variable, if included in the prompt. */
|
|
9
9
|
chatHistory?: Vellum.ChatMessageRequest[];
|
|
10
10
|
/** Optionally include a unique identifier for each generation, as represented outside of Vellum. Note that this should generally be a list of length one. */
|
|
11
11
|
externalIds?: string[];
|
|
@@ -5,6 +5,7 @@ import * as Vellum from "..";
|
|
|
5
5
|
export interface PromptTemplateBlockProperties {
|
|
6
6
|
chatRole?: Vellum.ChatMessageRole;
|
|
7
7
|
chatMessageUnterminated?: boolean;
|
|
8
|
+
chatSource?: string;
|
|
8
9
|
template?: string;
|
|
9
10
|
templateType?: Vellum.VellumVariableType;
|
|
10
11
|
functionName?: string;
|
|
@@ -5,6 +5,7 @@ import * as Vellum from "..";
|
|
|
5
5
|
export interface PromptTemplateBlockPropertiesRequest {
|
|
6
6
|
chatRole?: Vellum.ChatMessageRole;
|
|
7
7
|
chatMessageUnterminated?: boolean;
|
|
8
|
+
chatSource?: string;
|
|
8
9
|
template?: string;
|
|
9
10
|
templateType?: Vellum.VellumVariableType;
|
|
10
11
|
functionName?: string;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* - `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
|
|
6
|
+
* - `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
|
|
6
7
|
* - `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
|
|
7
8
|
* - `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
|
|
8
9
|
* - `NODE_EXECUTION` - NODE_EXECUTION
|
|
@@ -10,9 +11,10 @@
|
|
|
10
11
|
* - `INVALID_TEMPLATE` - INVALID_TEMPLATE
|
|
11
12
|
* - `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
12
13
|
*/
|
|
13
|
-
export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "USER_DEFINED_ERROR";
|
|
14
|
+
export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "USER_DEFINED_ERROR";
|
|
14
15
|
export declare const WorkflowExecutionEventErrorCode: {
|
|
15
16
|
readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
|
|
17
|
+
readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
|
|
16
18
|
readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
|
|
17
19
|
readonly InternalServerError: "INTERNAL_SERVER_ERROR";
|
|
18
20
|
readonly NodeExecution: "NODE_EXECUTION";
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.WorkflowExecutionEventErrorCode = void 0;
|
|
7
7
|
exports.WorkflowExecutionEventErrorCode = {
|
|
8
8
|
WorkflowInitialization: "WORKFLOW_INITIALIZATION",
|
|
9
|
+
WorkflowCancelled: "WORKFLOW_CANCELLED",
|
|
9
10
|
NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
|
|
10
11
|
InternalServerError: "INTERNAL_SERVER_ERROR",
|
|
11
12
|
NodeExecution: "NODE_EXECUTION",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* - `NODE` -
|
|
6
|
-
* - `WORKFLOW` -
|
|
5
|
+
* - `NODE` - NODE
|
|
6
|
+
* - `WORKFLOW` - WORKFLOW
|
|
7
7
|
*/
|
|
8
8
|
export declare type WorkflowExecutionEventType = "NODE" | "WORKFLOW";
|
|
9
9
|
export declare const WorkflowExecutionEventType: {
|
|
@@ -44,6 +44,15 @@ export * from "./ExecuteWorkflowErrorResponse";
|
|
|
44
44
|
export * from "./ExecuteWorkflowResponse";
|
|
45
45
|
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
46
46
|
export * from "./ExecuteWorkflowWorkflowResultEvent";
|
|
47
|
+
export * from "./ExecutionArrayVellumValue";
|
|
48
|
+
export * from "./ExecutionChatHistoryVellumValue";
|
|
49
|
+
export * from "./ExecutionErrorVellumValue";
|
|
50
|
+
export * from "./ExecutionFunctionCallVellumValue";
|
|
51
|
+
export * from "./ExecutionJsonVellumValue";
|
|
52
|
+
export * from "./ExecutionNumberVellumValue";
|
|
53
|
+
export * from "./ExecutionSearchResultsVellumValue";
|
|
54
|
+
export * from "./ExecutionStringVellumValue";
|
|
55
|
+
export * from "./ExecutionVellumValue";
|
|
47
56
|
export * from "./FinishReasonEnum";
|
|
48
57
|
export * from "./FulfilledEnum";
|
|
49
58
|
export * from "./FulfilledExecutePromptEvent";
|
|
@@ -72,6 +81,7 @@ export * from "./GenerateStreamResultData";
|
|
|
72
81
|
export * from "./ImageChatMessageContent";
|
|
73
82
|
export * from "./ImageChatMessageContentRequest";
|
|
74
83
|
export * from "./ImageEnum";
|
|
84
|
+
export * from "./ImageVariableValue";
|
|
75
85
|
export * from "./IndexingStateEnum";
|
|
76
86
|
export * from "./InitiatedEnum";
|
|
77
87
|
export * from "./InitiatedExecutePromptEvent";
|
package/dist/api/types/index.js
CHANGED
|
@@ -60,6 +60,15 @@ __exportStar(require("./ExecuteWorkflowErrorResponse"), exports);
|
|
|
60
60
|
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
61
61
|
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
62
62
|
__exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
|
|
63
|
+
__exportStar(require("./ExecutionArrayVellumValue"), exports);
|
|
64
|
+
__exportStar(require("./ExecutionChatHistoryVellumValue"), exports);
|
|
65
|
+
__exportStar(require("./ExecutionErrorVellumValue"), exports);
|
|
66
|
+
__exportStar(require("./ExecutionFunctionCallVellumValue"), exports);
|
|
67
|
+
__exportStar(require("./ExecutionJsonVellumValue"), exports);
|
|
68
|
+
__exportStar(require("./ExecutionNumberVellumValue"), exports);
|
|
69
|
+
__exportStar(require("./ExecutionSearchResultsVellumValue"), exports);
|
|
70
|
+
__exportStar(require("./ExecutionStringVellumValue"), exports);
|
|
71
|
+
__exportStar(require("./ExecutionVellumValue"), exports);
|
|
63
72
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
64
73
|
__exportStar(require("./FulfilledEnum"), exports);
|
|
65
74
|
__exportStar(require("./FulfilledExecutePromptEvent"), exports);
|
|
@@ -88,6 +97,7 @@ __exportStar(require("./GenerateStreamResultData"), exports);
|
|
|
88
97
|
__exportStar(require("./ImageChatMessageContent"), exports);
|
|
89
98
|
__exportStar(require("./ImageChatMessageContentRequest"), exports);
|
|
90
99
|
__exportStar(require("./ImageEnum"), exports);
|
|
100
|
+
__exportStar(require("./ImageVariableValue"), exports);
|
|
91
101
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
92
102
|
__exportStar(require("./InitiatedEnum"), exports);
|
|
93
103
|
__exportStar(require("./InitiatedExecutePromptEvent"), exports);
|
|
@@ -7,10 +7,10 @@ import * as core from "../../../core";
|
|
|
7
7
|
export declare const ExecuteWorkflowRequest: core.serialization.Schema<serializers.ExecuteWorkflowRequest.Raw, Vellum.ExecuteWorkflowRequest>;
|
|
8
8
|
export declare namespace ExecuteWorkflowRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
+
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
10
11
|
workflow_deployment_id?: string | null;
|
|
11
12
|
workflow_deployment_name?: string | null;
|
|
12
13
|
release_tag?: string | null;
|
|
13
|
-
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
14
14
|
external_id?: string | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -38,9 +38,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.ExecuteWorkflowRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../../core"));
|
|
40
40
|
exports.ExecuteWorkflowRequest = core.serialization.object({
|
|
41
|
+
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
41
42
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
42
43
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
43
44
|
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
45
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
46
46
|
});
|
|
@@ -7,10 +7,10 @@ import * as core from "../../../core";
|
|
|
7
7
|
export declare const ExecuteWorkflowStreamRequest: core.serialization.Schema<serializers.ExecuteWorkflowStreamRequest.Raw, Vellum.ExecuteWorkflowStreamRequest>;
|
|
8
8
|
export declare namespace ExecuteWorkflowStreamRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
+
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
10
11
|
workflow_deployment_id?: string | null;
|
|
11
12
|
workflow_deployment_name?: string | null;
|
|
12
13
|
release_tag?: string | null;
|
|
13
|
-
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
14
14
|
external_id?: string | null;
|
|
15
15
|
event_types?: serializers.WorkflowExecutionEventType.Raw[] | null;
|
|
16
16
|
}
|
|
@@ -38,10 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.ExecuteWorkflowStreamRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../../core"));
|
|
40
40
|
exports.ExecuteWorkflowStreamRequest = core.serialization.object({
|
|
41
|
+
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
41
42
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
42
43
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
43
44
|
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
45
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
46
46
|
eventTypes: core.serialization.property("event_types", core.serialization
|
|
47
47
|
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowExecutionEventType; })))
|
package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js
CHANGED
|
@@ -41,4 +41,5 @@ exports.DeploymentProviderPayloadRequest = core.serialization.object({
|
|
|
41
41
|
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
42
42
|
deploymentName: core.serialization.property("deployment_name", core.serialization.string().optional()),
|
|
43
43
|
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PromptDeploymentInputRequest; }))),
|
|
44
|
+
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
44
45
|
});
|
package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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 DocumentIndexUpdateRequest: core.serialization.Schema<serializers.DocumentIndexUpdateRequest.Raw, Vellum.DocumentIndexUpdateRequest>;
|
|
8
|
+
export declare namespace DocumentIndexUpdateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label: string;
|
|
11
|
+
status?: serializers.EntityStatus.Raw | null;
|
|
12
|
+
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js
ADDED
|
@@ -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.DocumentIndexUpdateRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../../core"));
|
|
40
|
+
exports.DocumentIndexUpdateRequest = core.serialization.object({
|
|
41
|
+
label: core.serialization.string(),
|
|
42
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).EntityStatus; })).optional(),
|
|
43
|
+
environment: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).EnvironmentEnum; })).optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 PatchedDocumentIndexUpdateRequest: core.serialization.Schema<serializers.PatchedDocumentIndexUpdateRequest.Raw, Vellum.PatchedDocumentIndexUpdateRequest>;
|
|
8
|
+
export declare namespace PatchedDocumentIndexUpdateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label?: string | null;
|
|
11
|
+
status?: serializers.EntityStatus.Raw | null;
|
|
12
|
+
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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.PatchedDocumentIndexUpdateRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../../core"));
|
|
40
|
+
exports.PatchedDocumentIndexUpdateRequest = core.serialization.object({
|
|
41
|
+
label: core.serialization.string().optional(),
|
|
42
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).EntityStatus; })).optional(),
|
|
43
|
+
environment: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).EnvironmentEnum; })).optional(),
|
|
44
|
+
});
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DocumentIndexCreateRequest = void 0;
|
|
3
|
+
exports.PatchedDocumentIndexUpdateRequest = exports.DocumentIndexUpdateRequest = exports.DocumentIndexCreateRequest = void 0;
|
|
4
4
|
var DocumentIndexCreateRequest_1 = require("./DocumentIndexCreateRequest");
|
|
5
5
|
Object.defineProperty(exports, "DocumentIndexCreateRequest", { enumerable: true, get: function () { return DocumentIndexCreateRequest_1.DocumentIndexCreateRequest; } });
|
|
6
|
+
var DocumentIndexUpdateRequest_1 = require("./DocumentIndexUpdateRequest");
|
|
7
|
+
Object.defineProperty(exports, "DocumentIndexUpdateRequest", { enumerable: true, get: function () { return DocumentIndexUpdateRequest_1.DocumentIndexUpdateRequest; } });
|
|
8
|
+
var PatchedDocumentIndexUpdateRequest_1 = require("./PatchedDocumentIndexUpdateRequest");
|
|
9
|
+
Object.defineProperty(exports, "PatchedDocumentIndexUpdateRequest", { enumerable: true, get: function () { return PatchedDocumentIndexUpdateRequest_1.PatchedDocumentIndexUpdateRequest; } });
|
|
@@ -6,7 +6,7 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
8
8
|
export declare namespace ArrayVariableValueItem {
|
|
9
|
-
type Raw = ArrayVariableValueItem.String | ArrayVariableValueItem.Number | ArrayVariableValueItem.Json | ArrayVariableValueItem.ChatHistory | ArrayVariableValueItem.SearchResults | ArrayVariableValueItem.Error | ArrayVariableValueItem.FunctionCall;
|
|
9
|
+
type Raw = ArrayVariableValueItem.String | ArrayVariableValueItem.Number | ArrayVariableValueItem.Json | ArrayVariableValueItem.ChatHistory | ArrayVariableValueItem.SearchResults | ArrayVariableValueItem.Error | ArrayVariableValueItem.FunctionCall | ArrayVariableValueItem.Image;
|
|
10
10
|
interface String extends serializers.StringVariableValue.Raw {
|
|
11
11
|
type: "STRING";
|
|
12
12
|
}
|
|
@@ -28,4 +28,7 @@ export declare namespace ArrayVariableValueItem {
|
|
|
28
28
|
interface FunctionCall extends serializers.FunctionCallVariableValue.Raw {
|
|
29
29
|
type: "FUNCTION_CALL";
|
|
30
30
|
}
|
|
31
|
+
interface Image extends serializers.ImageVariableValue.Raw {
|
|
32
|
+
type: "IMAGE";
|
|
33
|
+
}
|
|
31
34
|
}
|
|
@@ -46,6 +46,7 @@ exports.ArrayVariableValueItem = core.serialization
|
|
|
46
46
|
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResultsVariableValue; })),
|
|
47
47
|
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ErrorVariableValue; })),
|
|
48
48
|
FUNCTION_CALL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FunctionCallVariableValue; })),
|
|
49
|
+
IMAGE: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ImageVariableValue; })),
|
|
49
50
|
})
|
|
50
51
|
.transform({
|
|
51
52
|
transform: (value) => value,
|
|
@@ -41,4 +41,5 @@ exports.ChatMessage = core.serialization.object({
|
|
|
41
41
|
text: core.serialization.string().optional(),
|
|
42
42
|
role: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRole; })),
|
|
43
43
|
content: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageContent; })).optional(),
|
|
44
|
+
source: core.serialization.string().optional(),
|
|
44
45
|
});
|
|
@@ -41,4 +41,5 @@ exports.ChatMessageRequest = core.serialization.object({
|
|
|
41
41
|
text: core.serialization.string().optional(),
|
|
42
42
|
role: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRole; })),
|
|
43
43
|
content: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageContentRequest; })).optional(),
|
|
44
|
+
source: core.serialization.string().optional(),
|
|
44
45
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ExecutionArrayVellumValue: core.serialization.ObjectSchema<serializers.ExecutionArrayVellumValue.Raw, Vellum.ExecutionArrayVellumValue>;
|
|
8
|
+
export declare namespace ExecutionArrayVellumValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value?: serializers.ArrayVariableValueItem.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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.ExecutionArrayVellumValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ExecutionArrayVellumValue = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization
|
|
44
|
+
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ArrayVariableValueItem; })))
|
|
45
|
+
.optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ExecutionChatHistoryVellumValue: core.serialization.ObjectSchema<serializers.ExecutionChatHistoryVellumValue.Raw, Vellum.ExecutionChatHistoryVellumValue>;
|
|
8
|
+
export declare namespace ExecutionChatHistoryVellumValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value?: serializers.ChatMessage.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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.ExecutionChatHistoryVellumValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ExecutionChatHistoryVellumValue = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization
|
|
44
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessage; })))
|
|
45
|
+
.optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ExecutionErrorVellumValue: core.serialization.ObjectSchema<serializers.ExecutionErrorVellumValue.Raw, Vellum.ExecutionErrorVellumValue>;
|
|
8
|
+
export declare namespace ExecutionErrorVellumValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value?: serializers.VellumError.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|