vellum-ai 0.1.5 → 0.1.6
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 +8 -0
- package/Client.js +72 -7
- package/api/client/requests/index.d.ts +0 -1
- package/api/resources/deployments/client/Client.d.ts +1 -0
- package/api/resources/deployments/client/Client.js +50 -1
- package/api/resources/deployments/client/index.d.ts +1 -1
- package/api/resources/deployments/client/index.js +15 -0
- package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +11 -0
- package/api/resources/deployments/client/requests/index.d.ts +1 -0
- package/api/resources/deployments/client/requests/index.js +2 -0
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/modelVersions/client/Client.d.ts +1 -1
- package/api/resources/modelVersions/client/Client.js +2 -2
- 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/types/DeploymentProviderPayloadResponse.d.ts +6 -0
- package/api/types/DeploymentRead.d.ts +1 -0
- package/api/types/ErrorExecutePromptResponse.d.ts +1 -1
- package/api/{client/requests → types}/ExecutePromptRequest.d.ts +1 -1
- package/api/types/ExecutePromptRequest.js +5 -0
- package/api/types/ExecutePromptStreamingResponse.d.ts +19 -0
- package/api/types/ExecutePromptStreamingResponse.js +5 -0
- package/api/types/FulfilledExecutePromptStreamingResponse.d.ts +7 -0
- package/api/types/FulfilledExecutePromptStreamingResponse.js +5 -0
- package/api/types/InitiatedExecutePromptResponse.d.ts +8 -0
- package/api/types/InitiatedExecutePromptResponse.js +5 -0
- package/api/types/InitiatedExecutePromptStreamingResponse.d.ts +7 -0
- package/api/types/InitiatedExecutePromptStreamingResponse.js +5 -0
- package/api/types/JsonExecutePromptResponse.d.ts +1 -1
- package/api/types/RejectedExecutePromptResponse.d.ts +9 -0
- package/api/types/RejectedExecutePromptResponse.js +5 -0
- package/api/types/RejectedExecutePromptStreamingResponse.d.ts +7 -0
- package/api/types/RejectedExecutePromptStreamingResponse.js +5 -0
- package/api/types/StreamingExecutePromptStreamingResponse.d.ts +7 -0
- package/api/types/StreamingExecutePromptStreamingResponse.js +5 -0
- package/api/types/StringExecutePromptResponse.d.ts +1 -1
- package/api/types/index.d.ts +9 -0
- package/api/types/index.js +9 -0
- package/dist/Client.d.ts +8 -0
- package/dist/Client.js +72 -7
- package/dist/api/client/requests/index.d.ts +0 -1
- package/dist/api/resources/deployments/client/Client.d.ts +1 -0
- package/dist/api/resources/deployments/client/Client.js +50 -1
- package/dist/api/resources/deployments/client/index.d.ts +1 -1
- package/dist/api/resources/deployments/client/index.js +15 -0
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +11 -0
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +5 -0
- package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/deployments/client/requests/index.js +2 -0
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/modelVersions/client/Client.d.ts +1 -1
- package/dist/api/resources/modelVersions/client/Client.js +2 -2
- 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/types/DeploymentProviderPayloadResponse.d.ts +6 -0
- package/dist/api/types/DeploymentProviderPayloadResponse.js +5 -0
- package/dist/api/types/DeploymentRead.d.ts +1 -0
- package/dist/api/types/ErrorExecutePromptResponse.d.ts +1 -1
- package/dist/api/{client/requests → types}/ExecutePromptRequest.d.ts +1 -1
- package/dist/api/types/ExecutePromptRequest.js +5 -0
- package/dist/api/types/ExecutePromptStreamingResponse.d.ts +19 -0
- package/dist/api/types/ExecutePromptStreamingResponse.js +5 -0
- package/dist/api/types/FulfilledExecutePromptStreamingResponse.d.ts +7 -0
- package/dist/api/types/FulfilledExecutePromptStreamingResponse.js +5 -0
- package/dist/api/types/InitiatedExecutePromptResponse.d.ts +8 -0
- package/dist/api/types/InitiatedExecutePromptResponse.js +5 -0
- package/dist/api/types/InitiatedExecutePromptStreamingResponse.d.ts +7 -0
- package/dist/api/types/InitiatedExecutePromptStreamingResponse.js +5 -0
- package/dist/api/types/JsonExecutePromptResponse.d.ts +1 -1
- package/dist/api/types/RejectedExecutePromptResponse.d.ts +9 -0
- package/dist/api/types/RejectedExecutePromptResponse.js +5 -0
- package/dist/api/types/RejectedExecutePromptStreamingResponse.d.ts +7 -0
- package/dist/api/types/RejectedExecutePromptStreamingResponse.js +5 -0
- package/dist/api/types/StreamingExecutePromptStreamingResponse.d.ts +7 -0
- package/dist/api/types/StreamingExecutePromptStreamingResponse.js +5 -0
- package/dist/api/types/StringExecutePromptResponse.d.ts +1 -1
- package/dist/api/types/index.d.ts +9 -0
- package/dist/api/types/index.js +9 -0
- package/dist/serialization/client/requests/index.d.ts +0 -1
- package/dist/serialization/client/requests/index.js +1 -3
- package/dist/serialization/resources/deployments/client/index.d.ts +1 -0
- package/dist/serialization/resources/deployments/client/index.js +17 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +14 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +44 -0
- package/dist/serialization/resources/deployments/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/deployments/client/requests/index.js +5 -0
- package/dist/serialization/resources/deployments/index.d.ts +1 -0
- package/dist/serialization/resources/deployments/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/DeploymentProviderPayloadResponse.d.ts +12 -0
- package/dist/serialization/types/DeploymentProviderPayloadResponse.js +33 -0
- package/dist/serialization/types/ErrorExecutePromptResponse.d.ts +1 -1
- package/dist/serialization/types/ErrorExecutePromptResponse.js +1 -1
- package/dist/serialization/{client/requests → types}/ExecutePromptRequest.d.ts +4 -4
- package/dist/serialization/{client/requests → types}/ExecutePromptRequest.js +2 -2
- package/dist/serialization/types/ExecutePromptStreamingResponse.d.ts +22 -0
- package/dist/serialization/types/ExecutePromptStreamingResponse.js +50 -0
- package/dist/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +12 -0
- package/dist/serialization/types/FulfilledExecutePromptStreamingResponse.js +42 -0
- package/dist/serialization/types/InitiatedExecutePromptResponse.d.ts +13 -0
- package/dist/serialization/types/InitiatedExecutePromptResponse.js +43 -0
- package/dist/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +12 -0
- package/dist/serialization/types/InitiatedExecutePromptStreamingResponse.js +42 -0
- package/dist/serialization/types/JsonExecutePromptResponse.d.ts +1 -1
- package/dist/serialization/types/JsonExecutePromptResponse.js +1 -1
- package/dist/serialization/types/RejectedExecutePromptResponse.d.ts +14 -0
- package/dist/serialization/types/RejectedExecutePromptResponse.js +44 -0
- package/dist/serialization/types/RejectedExecutePromptStreamingResponse.d.ts +12 -0
- package/dist/serialization/types/RejectedExecutePromptStreamingResponse.js +42 -0
- package/dist/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +12 -0
- package/dist/serialization/types/StreamingExecutePromptStreamingResponse.js +42 -0
- package/dist/serialization/types/StringExecutePromptResponse.d.ts +1 -1
- package/dist/serialization/types/StringExecutePromptResponse.js +1 -1
- package/dist/serialization/types/index.d.ts +9 -0
- package/dist/serialization/types/index.js +9 -0
- package/package.json +1 -1
- package/serialization/client/requests/index.d.ts +0 -1
- package/serialization/client/requests/index.js +1 -3
- package/serialization/resources/deployments/client/index.d.ts +1 -0
- package/serialization/resources/deployments/client/index.js +17 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +14 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +44 -0
- package/serialization/resources/deployments/client/requests/index.d.ts +1 -0
- package/serialization/resources/deployments/client/requests/index.js +5 -0
- package/serialization/resources/deployments/index.d.ts +1 -0
- package/serialization/resources/deployments/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/DeploymentProviderPayloadResponse.d.ts +12 -0
- package/serialization/types/DeploymentProviderPayloadResponse.js +33 -0
- package/serialization/types/ErrorExecutePromptResponse.d.ts +1 -1
- package/serialization/types/ErrorExecutePromptResponse.js +1 -1
- package/serialization/{client/requests → types}/ExecutePromptRequest.d.ts +4 -4
- package/serialization/{client/requests → types}/ExecutePromptRequest.js +2 -2
- package/serialization/types/ExecutePromptStreamingResponse.d.ts +22 -0
- package/serialization/types/ExecutePromptStreamingResponse.js +50 -0
- package/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +12 -0
- package/serialization/types/FulfilledExecutePromptStreamingResponse.js +42 -0
- package/serialization/types/InitiatedExecutePromptResponse.d.ts +13 -0
- package/serialization/types/InitiatedExecutePromptResponse.js +43 -0
- package/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +12 -0
- package/serialization/types/InitiatedExecutePromptStreamingResponse.js +42 -0
- package/serialization/types/JsonExecutePromptResponse.d.ts +1 -1
- package/serialization/types/JsonExecutePromptResponse.js +1 -1
- package/serialization/types/RejectedExecutePromptResponse.d.ts +14 -0
- package/serialization/types/RejectedExecutePromptResponse.js +44 -0
- package/serialization/types/RejectedExecutePromptStreamingResponse.d.ts +12 -0
- package/serialization/types/RejectedExecutePromptStreamingResponse.js +42 -0
- package/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +12 -0
- package/serialization/types/StreamingExecutePromptStreamingResponse.js +42 -0
- package/serialization/types/StringExecutePromptResponse.d.ts +1 -1
- package/serialization/types/StringExecutePromptResponse.js +1 -1
- package/serialization/types/index.d.ts +9 -0
- package/serialization/types/index.js +9 -0
- /package/api/{client/requests/ExecutePromptRequest.js → resources/deployments/client/requests/DeploymentProviderPayloadRequest.js} +0 -0
- /package/{dist/api/client/requests/ExecutePromptRequest.js → api/types/DeploymentProviderPayloadResponse.js} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./ExecutePromptRequest";
|
|
1
2
|
export * from "./ApiNodeResult";
|
|
2
3
|
export * from "./ApiNodeResultData";
|
|
3
4
|
export * from "./BlockTypeEnum";
|
|
@@ -7,6 +8,7 @@ export * from "./ChatMessageRequest";
|
|
|
7
8
|
export * from "./ChatMessageRole";
|
|
8
9
|
export * from "./ConditionalNodeResult";
|
|
9
10
|
export * from "./ConditionalNodeResultData";
|
|
11
|
+
export * from "./DeploymentProviderPayloadResponse";
|
|
10
12
|
export * from "./DeploymentRead";
|
|
11
13
|
export * from "./DeploymentStatus";
|
|
12
14
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
@@ -21,8 +23,10 @@ export * from "./EvaluationParams";
|
|
|
21
23
|
export * from "./EvaluationParamsRequest";
|
|
22
24
|
export * from "./ExecutePromptApiErrorResponse";
|
|
23
25
|
export * from "./ExecutePromptResponse";
|
|
26
|
+
export * from "./ExecutePromptStreamingResponse";
|
|
24
27
|
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
25
28
|
export * from "./FinishReasonEnum";
|
|
29
|
+
export * from "./FulfilledExecutePromptStreamingResponse";
|
|
26
30
|
export * from "./GenerateErrorResponse";
|
|
27
31
|
export * from "./GenerateOptionsRequest";
|
|
28
32
|
export * from "./GenerateRequest";
|
|
@@ -34,6 +38,8 @@ export * from "./GenerateStreamResponse";
|
|
|
34
38
|
export * from "./GenerateStreamResult";
|
|
35
39
|
export * from "./GenerateStreamResultData";
|
|
36
40
|
export * from "./IndexingStateEnum";
|
|
41
|
+
export * from "./InitiatedExecutePromptResponse";
|
|
42
|
+
export * from "./InitiatedExecutePromptStreamingResponse";
|
|
37
43
|
export * from "./JsonExecutePromptResponse";
|
|
38
44
|
export * from "./JsonInputRequest";
|
|
39
45
|
export * from "./LogicalOperator";
|
|
@@ -79,6 +85,8 @@ export * from "./RegisteredPromptInputVariableRequest";
|
|
|
79
85
|
export * from "./RegisteredPromptModelVersion";
|
|
80
86
|
export * from "./RegisteredPromptSandbox";
|
|
81
87
|
export * from "./RegisteredPromptSandboxSnapshot";
|
|
88
|
+
export * from "./RejectedExecutePromptResponse";
|
|
89
|
+
export * from "./RejectedExecutePromptStreamingResponse";
|
|
82
90
|
export * from "./SandboxMetricInputParams";
|
|
83
91
|
export * from "./SandboxMetricInputParamsRequest";
|
|
84
92
|
export * from "./SandboxScenario";
|
|
@@ -98,6 +106,7 @@ export * from "./SearchResultMergingRequest";
|
|
|
98
106
|
export * from "./SearchResultRequest";
|
|
99
107
|
export * from "./SearchWeightsRequest";
|
|
100
108
|
export * from "./SlimDocument";
|
|
109
|
+
export * from "./StreamingExecutePromptStreamingResponse";
|
|
101
110
|
export * from "./StringExecutePromptResponse";
|
|
102
111
|
export * from "./StringInputRequest";
|
|
103
112
|
export * from "./SubmitCompletionActualRequest";
|
package/dist/api/types/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExecutePromptRequest"), exports);
|
|
17
18
|
__exportStar(require("./ApiNodeResult"), exports);
|
|
18
19
|
__exportStar(require("./ApiNodeResultData"), exports);
|
|
19
20
|
__exportStar(require("./BlockTypeEnum"), exports);
|
|
@@ -23,6 +24,7 @@ __exportStar(require("./ChatMessageRequest"), exports);
|
|
|
23
24
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
24
25
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
25
26
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
27
|
+
__exportStar(require("./DeploymentProviderPayloadResponse"), exports);
|
|
26
28
|
__exportStar(require("./DeploymentRead"), exports);
|
|
27
29
|
__exportStar(require("./DeploymentStatus"), exports);
|
|
28
30
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
@@ -37,8 +39,10 @@ __exportStar(require("./EvaluationParams"), exports);
|
|
|
37
39
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
38
40
|
__exportStar(require("./ExecutePromptApiErrorResponse"), exports);
|
|
39
41
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
42
|
+
__exportStar(require("./ExecutePromptStreamingResponse"), exports);
|
|
40
43
|
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
41
44
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
45
|
+
__exportStar(require("./FulfilledExecutePromptStreamingResponse"), exports);
|
|
42
46
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
43
47
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
44
48
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -50,6 +54,8 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
50
54
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
51
55
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
52
56
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
57
|
+
__exportStar(require("./InitiatedExecutePromptResponse"), exports);
|
|
58
|
+
__exportStar(require("./InitiatedExecutePromptStreamingResponse"), exports);
|
|
53
59
|
__exportStar(require("./JsonExecutePromptResponse"), exports);
|
|
54
60
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
55
61
|
__exportStar(require("./LogicalOperator"), exports);
|
|
@@ -95,6 +101,8 @@ __exportStar(require("./RegisteredPromptInputVariableRequest"), exports);
|
|
|
95
101
|
__exportStar(require("./RegisteredPromptModelVersion"), exports);
|
|
96
102
|
__exportStar(require("./RegisteredPromptSandbox"), exports);
|
|
97
103
|
__exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
104
|
+
__exportStar(require("./RejectedExecutePromptResponse"), exports);
|
|
105
|
+
__exportStar(require("./RejectedExecutePromptStreamingResponse"), exports);
|
|
98
106
|
__exportStar(require("./SandboxMetricInputParams"), exports);
|
|
99
107
|
__exportStar(require("./SandboxMetricInputParamsRequest"), exports);
|
|
100
108
|
__exportStar(require("./SandboxScenario"), exports);
|
|
@@ -114,6 +122,7 @@ __exportStar(require("./SearchResultMergingRequest"), exports);
|
|
|
114
122
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
115
123
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
116
124
|
__exportStar(require("./SlimDocument"), exports);
|
|
125
|
+
__exportStar(require("./StreamingExecutePromptStreamingResponse"), exports);
|
|
117
126
|
__exportStar(require("./StringExecutePromptResponse"), exports);
|
|
118
127
|
__exportStar(require("./StringInputRequest"), exports);
|
|
119
128
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { ExecutePromptRequest } from "./ExecutePromptRequest";
|
|
2
1
|
export { ExecuteWorkflowStreamRequest } from "./ExecuteWorkflowStreamRequest";
|
|
3
2
|
export { GenerateBodyRequest } from "./GenerateBodyRequest";
|
|
4
3
|
export { GenerateStreamBodyRequest } from "./GenerateStreamBodyRequest";
|
|
@@ -1,8 +1,6 @@
|
|
|
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 =
|
|
4
|
-
var ExecutePromptRequest_1 = require("./ExecutePromptRequest");
|
|
5
|
-
Object.defineProperty(exports, "ExecutePromptRequest", { enumerable: true, get: function () { return ExecutePromptRequest_1.ExecutePromptRequest; } });
|
|
3
|
+
exports.SubmitWorkflowExecutionActualsRequest = exports.SubmitCompletionActualsRequest = exports.SearchRequestBodyRequest = exports.GenerateStreamBodyRequest = exports.GenerateBodyRequest = exports.ExecuteWorkflowStreamRequest = void 0;
|
|
6
4
|
var ExecuteWorkflowStreamRequest_1 = require("./ExecuteWorkflowStreamRequest");
|
|
7
5
|
Object.defineProperty(exports, "ExecuteWorkflowStreamRequest", { enumerable: true, get: function () { return ExecuteWorkflowStreamRequest_1.ExecuteWorkflowStreamRequest; } });
|
|
8
6
|
var GenerateBodyRequest_1 = require("./GenerateBodyRequest");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -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 DeploymentProviderPayloadRequest: core.serialization.Schema<serializers.DeploymentProviderPayloadRequest.Raw, Vellum.DeploymentProviderPayloadRequest>;
|
|
8
|
+
export declare namespace DeploymentProviderPayloadRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
deployment_id?: string | null;
|
|
11
|
+
deployment_name?: string | null;
|
|
12
|
+
inputs: serializers.PromptDeploymentInputRequest.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.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.DeploymentProviderPayloadRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../../core"));
|
|
40
|
+
exports.DeploymentProviderPayloadRequest = core.serialization.object({
|
|
41
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
42
|
+
deploymentName: core.serialization.property("deployment_name", core.serialization.string().optional()),
|
|
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
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeploymentProviderPayloadRequest } from "./DeploymentProviderPayloadRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentProviderPayloadRequest = void 0;
|
|
4
|
+
var DeploymentProviderPayloadRequest_1 = require("./DeploymentProviderPayloadRequest");
|
|
5
|
+
Object.defineProperty(exports, "DeploymentProviderPayloadRequest", { enumerable: true, get: function () { return DeploymentProviderPayloadRequest_1.DeploymentProviderPayloadRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -26,7 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.documents = exports.documentIndexes = void 0;
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.documents = exports.documentIndexes = exports.deployments = void 0;
|
|
30
|
+
exports.deployments = __importStar(require("./deployments"));
|
|
31
|
+
__exportStar(require("./deployments/client/requests"), exports);
|
|
30
32
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
31
33
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
32
34
|
exports.documents = __importStar(require("./documents"));
|
|
@@ -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 DeploymentProviderPayloadResponse: core.serialization.ObjectSchema<serializers.DeploymentProviderPayloadResponse.Raw, Vellum.DeploymentProviderPayloadResponse>;
|
|
8
|
+
export declare namespace DeploymentProviderPayloadResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
payload: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.DeploymentProviderPayloadResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DeploymentProviderPayloadResponse = core.serialization.object({
|
|
32
|
+
payload: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
33
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const ErrorExecutePromptResponse: core.serialization.ObjectSchema<serializers.ErrorExecutePromptResponse.Raw, Vellum.ErrorExecutePromptResponse>;
|
|
8
8
|
export declare namespace ErrorExecutePromptResponse {
|
|
9
9
|
interface Raw {
|
|
10
|
-
value: serializers.VellumError.Raw;
|
|
11
10
|
execution_id: string;
|
|
11
|
+
value: serializers.VellumError.Raw;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -38,6 +38,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.ErrorExecutePromptResponse = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.ErrorExecutePromptResponse = core.serialization.object({
|
|
41
|
-
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumError; })),
|
|
42
41
|
executionId: core.serialization.property("execution_id", core.serialization.string()),
|
|
42
|
+
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumError; })),
|
|
43
43
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Vellum from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const ExecutePromptRequest: core.serialization.
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ExecutePromptRequest: core.serialization.ObjectSchema<serializers.ExecutePromptRequest.Raw, Vellum.ExecutePromptRequest>;
|
|
8
8
|
export declare namespace ExecutePromptRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
inputs: serializers.PromptDeploymentInputRequest.Raw[];
|
|
@@ -36,9 +36,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.ExecutePromptRequest = void 0;
|
|
39
|
-
const core = __importStar(require("
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.ExecutePromptRequest = 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("
|
|
41
|
+
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptDeploymentInputRequest; }))),
|
|
42
42
|
promptDeploymentId: core.serialization.property("prompt_deployment_id", core.serialization.string().optional()),
|
|
43
43
|
promptDeploymentName: core.serialization.property("prompt_deployment_name", core.serialization.string().optional()),
|
|
44
44
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
@@ -0,0 +1,22 @@
|
|
|
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 ExecutePromptStreamingResponse: core.serialization.Schema<serializers.ExecutePromptStreamingResponse.Raw, Vellum.ExecutePromptStreamingResponse>;
|
|
8
|
+
export declare namespace ExecutePromptStreamingResponse {
|
|
9
|
+
type Raw = ExecutePromptStreamingResponse.Initiated | ExecutePromptStreamingResponse.Streaming | ExecutePromptStreamingResponse.Fulfilled | ExecutePromptStreamingResponse.Rejected;
|
|
10
|
+
interface Initiated extends serializers.InitiatedExecutePromptStreamingResponse.Raw {
|
|
11
|
+
state: "INITIATED";
|
|
12
|
+
}
|
|
13
|
+
interface Streaming extends serializers.StreamingExecutePromptStreamingResponse.Raw {
|
|
14
|
+
state: "STREAMING";
|
|
15
|
+
}
|
|
16
|
+
interface Fulfilled extends serializers.FulfilledExecutePromptStreamingResponse.Raw {
|
|
17
|
+
state: "FULFILLED";
|
|
18
|
+
}
|
|
19
|
+
interface Rejected extends serializers.RejectedExecutePromptStreamingResponse.Raw {
|
|
20
|
+
state: "REJECTED";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ExecutePromptStreamingResponse = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ExecutePromptStreamingResponse = core.serialization
|
|
41
|
+
.union("state", {
|
|
42
|
+
INITIATED: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).InitiatedExecutePromptStreamingResponse; })),
|
|
43
|
+
STREAMING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).StreamingExecutePromptStreamingResponse; })),
|
|
44
|
+
FULFILLED: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FulfilledExecutePromptStreamingResponse; })),
|
|
45
|
+
REJECTED: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).RejectedExecutePromptStreamingResponse; })),
|
|
46
|
+
})
|
|
47
|
+
.transform({
|
|
48
|
+
transform: (value) => value,
|
|
49
|
+
untransform: (value) => value,
|
|
50
|
+
});
|
|
@@ -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 FulfilledExecutePromptStreamingResponse: core.serialization.ObjectSchema<serializers.FulfilledExecutePromptStreamingResponse.Raw, Vellum.FulfilledExecutePromptStreamingResponse>;
|
|
8
|
+
export declare namespace FulfilledExecutePromptStreamingResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.ExecutePromptResponse.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.FulfilledExecutePromptStreamingResponse = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.FulfilledExecutePromptStreamingResponse = core.serialization.object({
|
|
41
|
+
data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutePromptResponse; })),
|
|
42
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const InitiatedExecutePromptResponse: core.serialization.ObjectSchema<serializers.InitiatedExecutePromptResponse.Raw, Vellum.InitiatedExecutePromptResponse>;
|
|
8
|
+
export declare namespace InitiatedExecutePromptResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: serializers.VellumVariableType.Raw;
|
|
11
|
+
execution_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.InitiatedExecutePromptResponse = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.InitiatedExecutePromptResponse = core.serialization.object({
|
|
41
|
+
type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType; })),
|
|
42
|
+
executionId: core.serialization.property("execution_id", core.serialization.string()),
|
|
43
|
+
});
|