vellum-ai 1.4.2 → 1.5.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 +3 -0
- package/Client.js +56 -51
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/integrations/client/Client.d.ts +67 -0
- package/api/resources/integrations/client/Client.js +217 -0
- package/api/resources/integrations/client/index.d.ts +1 -0
- package/api/resources/integrations/client/index.js +2 -0
- package/api/resources/integrations/index.d.ts +1 -0
- package/api/resources/integrations/index.js +17 -0
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +9 -9
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +3 -3
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +5 -0
- package/api/types/ComponentsSchemasComposioExecuteToolRequest.js +5 -0
- package/api/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +5 -0
- package/api/types/ComponentsSchemasComposioExecuteToolResponse.js +5 -0
- package/api/types/ComponentsSchemasComposioToolDefinition.d.ts +5 -0
- package/api/types/ComponentsSchemasComposioToolDefinition.js +5 -0
- package/api/types/ComposioExecuteToolRequest.d.ts +10 -0
- package/api/types/ComposioExecuteToolRequest.js +5 -0
- package/api/types/ComposioExecuteToolResponse.d.ts +10 -0
- package/api/types/ComposioExecuteToolResponse.js +5 -0
- package/api/types/ComposioToolDefinition.d.ts +12 -0
- package/api/types/ComposioToolDefinition.js +5 -0
- package/api/types/VellumErrorCodeEnum.d.ts +5 -1
- package/api/types/VellumErrorCodeEnum.js +2 -0
- package/api/types/VellumSdkError.d.ts +1 -0
- package/api/types/WorkflowEventError.d.ts +1 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +56 -51
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/events/client/Client.js +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/integrations/client/Client.d.ts +67 -0
- package/dist/api/resources/integrations/client/Client.js +217 -0
- package/dist/api/resources/integrations/client/index.d.ts +1 -0
- package/dist/api/resources/integrations/client/index.js +2 -0
- package/dist/api/resources/integrations/index.d.ts +1 -0
- package/dist/api/resources/integrations/index.js +17 -0
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasComposioExecuteToolRequest.js +5 -0
- package/dist/api/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasComposioExecuteToolResponse.js +5 -0
- package/dist/api/types/ComponentsSchemasComposioToolDefinition.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasComposioToolDefinition.js +5 -0
- package/dist/api/types/ComposioExecuteToolRequest.d.ts +10 -0
- package/dist/api/types/ComposioExecuteToolRequest.js +5 -0
- package/dist/api/types/ComposioExecuteToolResponse.d.ts +10 -0
- package/dist/api/types/ComposioExecuteToolResponse.js +5 -0
- package/dist/api/types/ComposioToolDefinition.d.ts +12 -0
- package/dist/api/types/ComposioToolDefinition.js +5 -0
- package/dist/api/types/VellumErrorCodeEnum.d.ts +5 -1
- package/dist/api/types/VellumErrorCodeEnum.js +2 -0
- package/dist/api/types/VellumSdkError.d.ts +1 -0
- package/dist/api/types/WorkflowEventError.d.ts +1 -0
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/serialization/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasComposioExecuteToolRequest.js +8 -0
- package/dist/serialization/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasComposioExecuteToolResponse.js +8 -0
- package/dist/serialization/types/ComponentsSchemasComposioToolDefinition.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasComposioToolDefinition.js +8 -0
- package/dist/serialization/types/ComposioExecuteToolRequest.d.ts +13 -0
- package/dist/serialization/types/ComposioExecuteToolRequest.js +44 -0
- package/dist/serialization/types/ComposioExecuteToolResponse.d.ts +13 -0
- package/dist/serialization/types/ComposioExecuteToolResponse.js +44 -0
- package/dist/serialization/types/ComposioToolDefinition.d.ts +15 -0
- package/dist/serialization/types/ComposioToolDefinition.js +46 -0
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +2 -0
- package/dist/serialization/types/VellumSdkError.d.ts +1 -0
- package/dist/serialization/types/VellumSdkError.js +1 -0
- package/dist/serialization/types/WorkflowEventError.d.ts +1 -0
- package/dist/serialization/types/WorkflowEventError.js +1 -0
- package/dist/serialization/types/index.d.ts +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +145 -0
- package/serialization/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +11 -0
- package/serialization/types/ComponentsSchemasComposioExecuteToolRequest.js +8 -0
- package/serialization/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +11 -0
- package/serialization/types/ComponentsSchemasComposioExecuteToolResponse.js +8 -0
- package/serialization/types/ComponentsSchemasComposioToolDefinition.d.ts +11 -0
- package/serialization/types/ComponentsSchemasComposioToolDefinition.js +8 -0
- package/serialization/types/ComposioExecuteToolRequest.d.ts +13 -0
- package/serialization/types/ComposioExecuteToolRequest.js +44 -0
- package/serialization/types/ComposioExecuteToolResponse.d.ts +13 -0
- package/serialization/types/ComposioExecuteToolResponse.js +44 -0
- package/serialization/types/ComposioToolDefinition.d.ts +15 -0
- package/serialization/types/ComposioToolDefinition.js +46 -0
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +2 -0
- package/serialization/types/VellumSdkError.d.ts +1 -0
- package/serialization/types/VellumSdkError.js +1 -0
- package/serialization/types/WorkflowEventError.d.ts +1 -0
- package/serialization/types/WorkflowEventError.js +1 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.js +6 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -79,6 +79,9 @@ __exportStar(require("./CodeExecutorSecretInput"), exports);
|
|
|
79
79
|
__exportStar(require("./CodeResourceDefinition"), exports);
|
|
80
80
|
__exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
|
|
81
81
|
__exportStar(require("./CompilePromptMeta"), exports);
|
|
82
|
+
__exportStar(require("./ComposioExecuteToolRequest"), exports);
|
|
83
|
+
__exportStar(require("./ComposioExecuteToolResponse"), exports);
|
|
84
|
+
__exportStar(require("./ComposioToolDefinition"), exports);
|
|
82
85
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
83
86
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
84
87
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
@@ -130,6 +133,8 @@ __exportStar(require("./ExecuteApiResponseJson"), exports);
|
|
|
130
133
|
__exportStar(require("./ExecuteApiResponse"), exports);
|
|
131
134
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
132
135
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
136
|
+
__exportStar(require("./ComponentsSchemasComposioExecuteToolRequest"), exports);
|
|
137
|
+
__exportStar(require("./ComponentsSchemasComposioExecuteToolResponse"), exports);
|
|
133
138
|
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
134
139
|
__exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
|
|
135
140
|
__exportStar(require("./ExecutionArrayVellumValue"), exports);
|
|
@@ -554,6 +559,7 @@ __exportStar(require("./TokenOverlappingWindowChunkerConfig"), exports);
|
|
|
554
559
|
__exportStar(require("./TokenOverlappingWindowChunkerConfigRequest"), exports);
|
|
555
560
|
__exportStar(require("./TokenOverlappingWindowChunking"), exports);
|
|
556
561
|
__exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
|
|
562
|
+
__exportStar(require("./ComponentsSchemasComposioToolDefinition"), exports);
|
|
557
563
|
__exportStar(require("./UnitEnum"), exports);
|
|
558
564
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
559
565
|
__exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.5.1";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -76,6 +76,151 @@ await client.submitWorkflowExecutionActuals({
|
|
|
76
76
|
|
|
77
77
|
##
|
|
78
78
|
|
|
79
|
+
## Integrations
|
|
80
|
+
|
|
81
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">retrieveIntegrationToolDefinition</a>(integration, provider, toolName) -> Vellum.ComponentsSchemasComposioToolDefinition</code></summary>
|
|
82
|
+
<dl>
|
|
83
|
+
<dd>
|
|
84
|
+
|
|
85
|
+
#### 🔌 Usage
|
|
86
|
+
|
|
87
|
+
<dl>
|
|
88
|
+
<dd>
|
|
89
|
+
|
|
90
|
+
<dl>
|
|
91
|
+
<dd>
|
|
92
|
+
|
|
93
|
+
```typescript
|
|
94
|
+
await client.integrations.retrieveIntegrationToolDefinition("integration", "provider", "tool_name");
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
</dd>
|
|
100
|
+
</dl>
|
|
101
|
+
|
|
102
|
+
#### ⚙️ Parameters
|
|
103
|
+
|
|
104
|
+
<dl>
|
|
105
|
+
<dd>
|
|
106
|
+
|
|
107
|
+
<dl>
|
|
108
|
+
<dd>
|
|
109
|
+
|
|
110
|
+
**integration:** `string` — The integration name
|
|
111
|
+
|
|
112
|
+
</dd>
|
|
113
|
+
</dl>
|
|
114
|
+
|
|
115
|
+
<dl>
|
|
116
|
+
<dd>
|
|
117
|
+
|
|
118
|
+
**provider:** `string` — The integration provider name
|
|
119
|
+
|
|
120
|
+
</dd>
|
|
121
|
+
</dl>
|
|
122
|
+
|
|
123
|
+
<dl>
|
|
124
|
+
<dd>
|
|
125
|
+
|
|
126
|
+
**toolName:** `string` — The tool's unique name, as specified by the integration provider
|
|
127
|
+
|
|
128
|
+
</dd>
|
|
129
|
+
</dl>
|
|
130
|
+
|
|
131
|
+
<dl>
|
|
132
|
+
<dd>
|
|
133
|
+
|
|
134
|
+
**requestOptions:** `Integrations.RequestOptions`
|
|
135
|
+
|
|
136
|
+
</dd>
|
|
137
|
+
</dl>
|
|
138
|
+
</dd>
|
|
139
|
+
</dl>
|
|
140
|
+
|
|
141
|
+
</dd>
|
|
142
|
+
</dl>
|
|
143
|
+
</details>
|
|
144
|
+
|
|
145
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">executeIntegrationTool</a>(integration, provider, toolName, { ...params }) -> Vellum.ComponentsSchemasComposioExecuteToolResponse</code></summary>
|
|
146
|
+
<dl>
|
|
147
|
+
<dd>
|
|
148
|
+
|
|
149
|
+
#### 🔌 Usage
|
|
150
|
+
|
|
151
|
+
<dl>
|
|
152
|
+
<dd>
|
|
153
|
+
|
|
154
|
+
<dl>
|
|
155
|
+
<dd>
|
|
156
|
+
|
|
157
|
+
```typescript
|
|
158
|
+
await client.integrations.executeIntegrationTool("integration", "provider", "tool_name", {
|
|
159
|
+
provider: "COMPOSIO",
|
|
160
|
+
arguments: {
|
|
161
|
+
arguments: {
|
|
162
|
+
key: "value",
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
});
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
</dd>
|
|
169
|
+
</dl>
|
|
170
|
+
</dd>
|
|
171
|
+
</dl>
|
|
172
|
+
|
|
173
|
+
#### ⚙️ Parameters
|
|
174
|
+
|
|
175
|
+
<dl>
|
|
176
|
+
<dd>
|
|
177
|
+
|
|
178
|
+
<dl>
|
|
179
|
+
<dd>
|
|
180
|
+
|
|
181
|
+
**integration:** `string` — The integration name
|
|
182
|
+
|
|
183
|
+
</dd>
|
|
184
|
+
</dl>
|
|
185
|
+
|
|
186
|
+
<dl>
|
|
187
|
+
<dd>
|
|
188
|
+
|
|
189
|
+
**provider:** `string` — The integration provider name
|
|
190
|
+
|
|
191
|
+
</dd>
|
|
192
|
+
</dl>
|
|
193
|
+
|
|
194
|
+
<dl>
|
|
195
|
+
<dd>
|
|
196
|
+
|
|
197
|
+
**toolName:** `string` — The tool's unique name, as specified by the integration provider
|
|
198
|
+
|
|
199
|
+
</dd>
|
|
200
|
+
</dl>
|
|
201
|
+
|
|
202
|
+
<dl>
|
|
203
|
+
<dd>
|
|
204
|
+
|
|
205
|
+
**request:** `Vellum.ComponentsSchemasComposioExecuteToolRequest`
|
|
206
|
+
|
|
207
|
+
</dd>
|
|
208
|
+
</dl>
|
|
209
|
+
|
|
210
|
+
<dl>
|
|
211
|
+
<dd>
|
|
212
|
+
|
|
213
|
+
**requestOptions:** `Integrations.RequestOptions`
|
|
214
|
+
|
|
215
|
+
</dd>
|
|
216
|
+
</dl>
|
|
217
|
+
</dd>
|
|
218
|
+
</dl>
|
|
219
|
+
|
|
220
|
+
</dd>
|
|
221
|
+
</dl>
|
|
222
|
+
</details>
|
|
223
|
+
|
|
79
224
|
## Events
|
|
80
225
|
|
|
81
226
|
<details><summary><code>client.events.<a href="/src/api/resources/events/client/Client.ts">create</a>({ ...params }) -> Vellum.EventCreateResponse</code></summary>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ComposioExecuteToolRequest } from "./ComposioExecuteToolRequest";
|
|
8
|
+
export declare const ComponentsSchemasComposioExecuteToolRequest: core.serialization.ObjectSchema<serializers.ComponentsSchemasComposioExecuteToolRequest.Raw, Vellum.ComponentsSchemasComposioExecuteToolRequest>;
|
|
9
|
+
export declare namespace ComponentsSchemasComposioExecuteToolRequest {
|
|
10
|
+
type Raw = ComposioExecuteToolRequest.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ComponentsSchemasComposioExecuteToolRequest = void 0;
|
|
7
|
+
const ComposioExecuteToolRequest_1 = require("./ComposioExecuteToolRequest");
|
|
8
|
+
exports.ComponentsSchemasComposioExecuteToolRequest = ComposioExecuteToolRequest_1.ComposioExecuteToolRequest;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ComposioExecuteToolResponse } from "./ComposioExecuteToolResponse";
|
|
8
|
+
export declare const ComponentsSchemasComposioExecuteToolResponse: core.serialization.ObjectSchema<serializers.ComponentsSchemasComposioExecuteToolResponse.Raw, Vellum.ComponentsSchemasComposioExecuteToolResponse>;
|
|
9
|
+
export declare namespace ComponentsSchemasComposioExecuteToolResponse {
|
|
10
|
+
type Raw = ComposioExecuteToolResponse.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ComponentsSchemasComposioExecuteToolResponse = void 0;
|
|
7
|
+
const ComposioExecuteToolResponse_1 = require("./ComposioExecuteToolResponse");
|
|
8
|
+
exports.ComponentsSchemasComposioExecuteToolResponse = ComposioExecuteToolResponse_1.ComposioExecuteToolResponse;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ComposioToolDefinition } from "./ComposioToolDefinition";
|
|
8
|
+
export declare const ComponentsSchemasComposioToolDefinition: core.serialization.ObjectSchema<serializers.ComponentsSchemasComposioToolDefinition.Raw, Vellum.ComponentsSchemasComposioToolDefinition>;
|
|
9
|
+
export declare namespace ComponentsSchemasComposioToolDefinition {
|
|
10
|
+
type Raw = ComposioToolDefinition.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ComponentsSchemasComposioToolDefinition = void 0;
|
|
7
|
+
const ComposioToolDefinition_1 = require("./ComposioToolDefinition");
|
|
8
|
+
exports.ComponentsSchemasComposioToolDefinition = ComposioToolDefinition_1.ComposioToolDefinition;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComposioExecuteToolRequest: core.serialization.ObjectSchema<serializers.ComposioExecuteToolRequest.Raw, Vellum.ComposioExecuteToolRequest>;
|
|
8
|
+
export declare namespace ComposioExecuteToolRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
provider: "COMPOSIO";
|
|
11
|
+
arguments: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ComposioExecuteToolRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ComposioExecuteToolRequest = core.serialization.object({
|
|
42
|
+
provider: core.serialization.stringLiteral("COMPOSIO"),
|
|
43
|
+
arguments: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComposioExecuteToolResponse: core.serialization.ObjectSchema<serializers.ComposioExecuteToolResponse.Raw, Vellum.ComposioExecuteToolResponse>;
|
|
8
|
+
export declare namespace ComposioExecuteToolResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
provider: "COMPOSIO";
|
|
11
|
+
data: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ComposioExecuteToolResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ComposioExecuteToolResponse = core.serialization.object({
|
|
42
|
+
provider: core.serialization.stringLiteral("COMPOSIO"),
|
|
43
|
+
data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComposioToolDefinition: core.serialization.ObjectSchema<serializers.ComposioToolDefinition.Raw, Vellum.ComposioToolDefinition>;
|
|
8
|
+
export declare namespace ComposioToolDefinition {
|
|
9
|
+
interface Raw {
|
|
10
|
+
provider: "COMPOSIO";
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
parameters: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ComposioToolDefinition = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ComposioToolDefinition = core.serialization.object({
|
|
42
|
+
provider: core.serialization.stringLiteral("COMPOSIO"),
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
description: core.serialization.string(),
|
|
45
|
+
parameters: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
46
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumErrorCodeEnum: core.serialization.Schema<serializers.VellumErrorCodeEnum.Raw, Vellum.VellumErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
9
|
+
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_AVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
|
|
10
10
|
}
|
|
@@ -42,7 +42,9 @@ exports.VellumErrorCodeEnum = core.serialization.enum_([
|
|
|
42
42
|
"INVALID_REQUEST",
|
|
43
43
|
"INVALID_INPUTS",
|
|
44
44
|
"PROVIDER_ERROR",
|
|
45
|
+
"PROVIDER_CREDENTIALS_AVAILABLE",
|
|
45
46
|
"REQUEST_TIMEOUT",
|
|
46
47
|
"INTERNAL_SERVER_ERROR",
|
|
47
48
|
"USER_DEFINED_ERROR",
|
|
49
|
+
"WORKFLOW_CANCELLED",
|
|
48
50
|
]);
|
|
@@ -42,4 +42,5 @@ const VellumSdkErrorCodeEnum_1 = require("./VellumSdkErrorCodeEnum");
|
|
|
42
42
|
exports.VellumSdkError = core.serialization.object({
|
|
43
43
|
message: core.serialization.string(),
|
|
44
44
|
code: VellumSdkErrorCodeEnum_1.VellumSdkErrorCodeEnum,
|
|
45
|
+
rawData: core.serialization.property("raw_data", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
|
|
45
46
|
});
|
|
@@ -42,5 +42,6 @@ const WorkflowExecutionEventErrorCode_1 = require("./WorkflowExecutionEventError
|
|
|
42
42
|
exports.WorkflowEventError = core.serialization.object({
|
|
43
43
|
message: core.serialization.string(),
|
|
44
44
|
code: WorkflowExecutionEventErrorCode_1.WorkflowExecutionEventErrorCode,
|
|
45
|
+
rawData: core.serialization.property("raw_data", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
|
|
45
46
|
stacktrace: core.serialization.string().optionalNullable(),
|
|
46
47
|
});
|
|
@@ -63,6 +63,9 @@ export * from "./CodeExecutorSecretInput";
|
|
|
63
63
|
export * from "./CodeResourceDefinition";
|
|
64
64
|
export * from "./CompilePromptDeploymentExpandMetaRequest";
|
|
65
65
|
export * from "./CompilePromptMeta";
|
|
66
|
+
export * from "./ComposioExecuteToolRequest";
|
|
67
|
+
export * from "./ComposioExecuteToolResponse";
|
|
68
|
+
export * from "./ComposioToolDefinition";
|
|
66
69
|
export * from "./ConditionCombinator";
|
|
67
70
|
export * from "./ConditionalNodeResult";
|
|
68
71
|
export * from "./ConditionalNodeResultData";
|
|
@@ -114,6 +117,8 @@ export * from "./ExecuteApiResponseJson";
|
|
|
114
117
|
export * from "./ExecuteApiResponse";
|
|
115
118
|
export * from "./ExecutePromptEvent";
|
|
116
119
|
export * from "./ExecutePromptResponse";
|
|
120
|
+
export * from "./ComponentsSchemasComposioExecuteToolRequest";
|
|
121
|
+
export * from "./ComponentsSchemasComposioExecuteToolResponse";
|
|
117
122
|
export * from "./ExecuteWorkflowResponse";
|
|
118
123
|
export * from "./ExecuteWorkflowWorkflowResultEvent";
|
|
119
124
|
export * from "./ExecutionArrayVellumValue";
|
|
@@ -538,6 +543,7 @@ export * from "./TokenOverlappingWindowChunkerConfig";
|
|
|
538
543
|
export * from "./TokenOverlappingWindowChunkerConfigRequest";
|
|
539
544
|
export * from "./TokenOverlappingWindowChunking";
|
|
540
545
|
export * from "./TokenOverlappingWindowChunkingRequest";
|
|
546
|
+
export * from "./ComponentsSchemasComposioToolDefinition";
|
|
541
547
|
export * from "./UnitEnum";
|
|
542
548
|
export * from "./UploadDocumentResponse";
|
|
543
549
|
export * from "./UpsertTestSuiteTestCaseRequest";
|
|
@@ -79,6 +79,9 @@ __exportStar(require("./CodeExecutorSecretInput"), exports);
|
|
|
79
79
|
__exportStar(require("./CodeResourceDefinition"), exports);
|
|
80
80
|
__exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
|
|
81
81
|
__exportStar(require("./CompilePromptMeta"), exports);
|
|
82
|
+
__exportStar(require("./ComposioExecuteToolRequest"), exports);
|
|
83
|
+
__exportStar(require("./ComposioExecuteToolResponse"), exports);
|
|
84
|
+
__exportStar(require("./ComposioToolDefinition"), exports);
|
|
82
85
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
83
86
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
84
87
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
@@ -130,6 +133,8 @@ __exportStar(require("./ExecuteApiResponseJson"), exports);
|
|
|
130
133
|
__exportStar(require("./ExecuteApiResponse"), exports);
|
|
131
134
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
132
135
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
136
|
+
__exportStar(require("./ComponentsSchemasComposioExecuteToolRequest"), exports);
|
|
137
|
+
__exportStar(require("./ComponentsSchemasComposioExecuteToolResponse"), exports);
|
|
133
138
|
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
134
139
|
__exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
|
|
135
140
|
__exportStar(require("./ExecutionArrayVellumValue"), exports);
|
|
@@ -554,6 +559,7 @@ __exportStar(require("./TokenOverlappingWindowChunkerConfig"), exports);
|
|
|
554
559
|
__exportStar(require("./TokenOverlappingWindowChunkerConfigRequest"), exports);
|
|
555
560
|
__exportStar(require("./TokenOverlappingWindowChunking"), exports);
|
|
556
561
|
__exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
|
|
562
|
+
__exportStar(require("./ComponentsSchemasComposioToolDefinition"), exports);
|
|
557
563
|
__exportStar(require("./UnitEnum"), exports);
|
|
558
564
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
559
565
|
__exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.5.1";
|
package/version.js
CHANGED