vellum-ai 1.0.11 → 1.1.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 +0 -3
- package/Client.js +21 -26
- 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/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +1 -2
- 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.d.ts +12 -0
- package/api/resources/workflowDeployments/client/Client.js +74 -8
- 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 +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ExternalParentContext.d.ts +10 -0
- package/{dist/api/resources/releaseReviews/client/index.js → api/types/ExternalParentContext.js} +3 -0
- package/api/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/api/types/ParentContext.d.ts +1 -1
- package/api/types/WorkflowExecutionSpanAttributes.d.ts +1 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +21 -26
- 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/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +1 -2
- 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.d.ts +12 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +74 -8
- 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 +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ExternalParentContext.d.ts +10 -0
- package/{api/resources/releaseReviews/client/index.js → dist/api/types/ExternalParentContext.js} +3 -0
- package/dist/api/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/dist/api/types/ParentContext.d.ts +1 -1
- package/dist/api/types/WorkflowExecutionSpanAttributes.d.ts +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/ExternalParentContext.d.ts +15 -0
- package/dist/serialization/types/ExternalParentContext.js +47 -0
- package/dist/serialization/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/dist/serialization/types/NodeExecutionSpanAttributes.js +1 -0
- package/dist/serialization/types/ParentContext.d.ts +1 -1
- package/dist/serialization/types/ParentContext.js +1 -0
- package/dist/serialization/types/WorkflowExecutionSpanAttributes.d.ts +1 -0
- package/dist/serialization/types/WorkflowExecutionSpanAttributes.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/ee/automation/package.json +2 -1
- package/package.json +1 -1
- package/reference.md +3 -5
- package/serialization/types/ExternalParentContext.d.ts +15 -0
- package/serialization/types/ExternalParentContext.js +47 -0
- package/serialization/types/NodeExecutionSpanAttributes.d.ts +1 -0
- package/serialization/types/NodeExecutionSpanAttributes.js +1 -0
- package/serialization/types/ParentContext.d.ts +1 -1
- package/serialization/types/ParentContext.js +1 -0
- package/serialization/types/WorkflowExecutionSpanAttributes.d.ts +1 -0
- package/serialization/types/WorkflowExecutionSpanAttributes.js +1 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/releaseReviews/client/Client.d.ts +0 -47
- package/api/resources/releaseReviews/client/Client.js +0 -134
- package/api/resources/releaseReviews/client/index.d.ts +0 -1
- package/api/resources/releaseReviews/index.d.ts +0 -1
- package/api/resources/releaseReviews/index.js +0 -17
- package/dist/api/resources/releaseReviews/client/Client.d.ts +0 -47
- package/dist/api/resources/releaseReviews/client/Client.js +0 -134
- package/dist/api/resources/releaseReviews/client/index.d.ts +0 -1
- package/dist/api/resources/releaseReviews/index.d.ts +0 -1
- package/dist/api/resources/releaseReviews/index.js +0 -17
|
@@ -81,7 +81,7 @@ class Sandboxes {
|
|
|
81
81
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
82
82
|
unrecognizedObjectKeys: "strip",
|
|
83
83
|
})
|
|
84
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -162,7 +162,7 @@ class Sandboxes {
|
|
|
162
162
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
163
163
|
unrecognizedObjectKeys: "strip",
|
|
164
164
|
})
|
|
165
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
165
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
166
166
|
contentType: "application/json",
|
|
167
167
|
requestType: "json",
|
|
168
168
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -229,7 +229,7 @@ class Sandboxes {
|
|
|
229
229
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
230
230
|
unrecognizedObjectKeys: "strip",
|
|
231
231
|
})
|
|
232
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
232
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
233
233
|
contentType: "application/json",
|
|
234
234
|
requestType: "json",
|
|
235
235
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -88,7 +88,7 @@ class TestSuiteRuns {
|
|
|
88
88
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
89
89
|
unrecognizedObjectKeys: "strip",
|
|
90
90
|
})
|
|
91
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
91
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -154,7 +154,7 @@ class TestSuiteRuns {
|
|
|
154
154
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
155
155
|
unrecognizedObjectKeys: "strip",
|
|
156
156
|
})
|
|
157
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
157
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
requestType: "json",
|
|
160
160
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -234,7 +234,7 @@ class TestSuiteRuns {
|
|
|
234
234
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
235
235
|
unrecognizedObjectKeys: "strip",
|
|
236
236
|
})
|
|
237
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
237
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
238
238
|
contentType: "application/json",
|
|
239
239
|
queryParameters: _queryParams,
|
|
240
240
|
requestType: "json",
|
|
@@ -90,7 +90,7 @@ class TestSuites {
|
|
|
90
90
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
91
91
|
unrecognizedObjectKeys: "strip",
|
|
92
92
|
})
|
|
93
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
93
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
96
96
|
requestType: "json",
|
|
@@ -178,7 +178,7 @@ class TestSuites {
|
|
|
178
178
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
179
179
|
unrecognizedObjectKeys: "strip",
|
|
180
180
|
})
|
|
181
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -238,7 +238,7 @@ class TestSuites {
|
|
|
238
238
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
239
239
|
unrecognizedObjectKeys: "strip",
|
|
240
240
|
})
|
|
241
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
242
242
|
contentType: "application/x-ndjson",
|
|
243
243
|
requestType: "json",
|
|
244
244
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -318,7 +318,7 @@ class TestSuites {
|
|
|
318
318
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
319
319
|
unrecognizedObjectKeys: "strip",
|
|
320
320
|
})
|
|
321
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
321
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
322
322
|
contentType: "application/json",
|
|
323
323
|
requestType: "json",
|
|
324
324
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -121,6 +121,18 @@ export declare class WorkflowDeployments {
|
|
|
121
121
|
*/
|
|
122
122
|
updateWorkflowReleaseTag(id: string, name: string, request?: Vellum.PatchedWorkflowReleaseTagUpdateRequest, requestOptions?: WorkflowDeployments.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowReleaseTagRead>;
|
|
123
123
|
private __updateWorkflowReleaseTag;
|
|
124
|
+
/**
|
|
125
|
+
* Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
126
|
+
*
|
|
127
|
+
* @param {string} id - Either the Workflow Deployment's ID or its unique name
|
|
128
|
+
* @param {string} releaseIdOrReleaseTag - Either the UUID of Workflow Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment Release you'd like to retrieve.
|
|
129
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* await client.workflowDeployments.retrieveWorkflowDeploymentRelease("id", "release_id_or_release_tag")
|
|
133
|
+
*/
|
|
134
|
+
retrieveWorkflowDeploymentRelease(id: string, releaseIdOrReleaseTag: string, requestOptions?: WorkflowDeployments.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowDeploymentRelease>;
|
|
135
|
+
private __retrieveWorkflowDeploymentRelease;
|
|
124
136
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
125
137
|
"X-API-KEY": string;
|
|
126
138
|
}>;
|
|
@@ -97,7 +97,7 @@ class WorkflowDeployments {
|
|
|
97
97
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
98
98
|
unrecognizedObjectKeys: "strip",
|
|
99
99
|
})
|
|
100
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
100
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
103
103
|
requestType: "json",
|
|
@@ -163,7 +163,7 @@ class WorkflowDeployments {
|
|
|
163
163
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
164
164
|
unrecognizedObjectKeys: "strip",
|
|
165
165
|
})
|
|
166
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
166
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
requestType: "json",
|
|
169
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -238,7 +238,7 @@ class WorkflowDeployments {
|
|
|
238
238
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
239
239
|
unrecognizedObjectKeys: "strip",
|
|
240
240
|
})
|
|
241
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
241
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
queryParameters: _queryParams,
|
|
244
244
|
requestType: "json",
|
|
@@ -303,7 +303,7 @@ class WorkflowDeployments {
|
|
|
303
303
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
304
304
|
unrecognizedObjectKeys: "strip",
|
|
305
305
|
})
|
|
306
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
306
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
307
307
|
contentType: "application/json",
|
|
308
308
|
requestType: "json",
|
|
309
309
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -370,7 +370,7 @@ class WorkflowDeployments {
|
|
|
370
370
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
371
371
|
unrecognizedObjectKeys: "strip",
|
|
372
372
|
})
|
|
373
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
373
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
374
374
|
contentType: "application/json",
|
|
375
375
|
requestType: "json",
|
|
376
376
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -452,7 +452,7 @@ class WorkflowDeployments {
|
|
|
452
452
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
453
453
|
unrecognizedObjectKeys: "strip",
|
|
454
454
|
})
|
|
455
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
455
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
456
456
|
contentType: "application/json",
|
|
457
457
|
queryParameters: _queryParams,
|
|
458
458
|
requestType: "json",
|
|
@@ -519,7 +519,7 @@ class WorkflowDeployments {
|
|
|
519
519
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
520
520
|
unrecognizedObjectKeys: "strip",
|
|
521
521
|
})
|
|
522
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
522
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
523
523
|
contentType: "application/json",
|
|
524
524
|
requestType: "json",
|
|
525
525
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -586,7 +586,7 @@ class WorkflowDeployments {
|
|
|
586
586
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
587
587
|
unrecognizedObjectKeys: "strip",
|
|
588
588
|
})
|
|
589
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
589
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
requestType: "json",
|
|
592
592
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -631,6 +631,72 @@ class WorkflowDeployments {
|
|
|
631
631
|
}
|
|
632
632
|
});
|
|
633
633
|
}
|
|
634
|
+
/**
|
|
635
|
+
* Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
636
|
+
*
|
|
637
|
+
* @param {string} id - Either the Workflow Deployment's ID or its unique name
|
|
638
|
+
* @param {string} releaseIdOrReleaseTag - Either the UUID of Workflow Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment Release you'd like to retrieve.
|
|
639
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
640
|
+
*
|
|
641
|
+
* @example
|
|
642
|
+
* await client.workflowDeployments.retrieveWorkflowDeploymentRelease("id", "release_id_or_release_tag")
|
|
643
|
+
*/
|
|
644
|
+
retrieveWorkflowDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions) {
|
|
645
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieveWorkflowDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions));
|
|
646
|
+
}
|
|
647
|
+
__retrieveWorkflowDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions) {
|
|
648
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
649
|
+
var _a, _b;
|
|
650
|
+
const _response = yield core.fetcher({
|
|
651
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
652
|
+
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
|
|
653
|
+
method: "GET",
|
|
654
|
+
headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
|
|
655
|
+
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
656
|
+
unrecognizedObjectKeys: "strip",
|
|
657
|
+
})
|
|
658
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
659
|
+
contentType: "application/json",
|
|
660
|
+
requestType: "json",
|
|
661
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
662
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
663
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
664
|
+
});
|
|
665
|
+
if (_response.ok) {
|
|
666
|
+
return {
|
|
667
|
+
data: serializers.WorkflowDeploymentRelease.parseOrThrow(_response.body, {
|
|
668
|
+
unrecognizedObjectKeys: "passthrough",
|
|
669
|
+
allowUnrecognizedUnionMembers: true,
|
|
670
|
+
allowUnrecognizedEnumValues: true,
|
|
671
|
+
breadcrumbsPrefix: ["response"],
|
|
672
|
+
}),
|
|
673
|
+
rawResponse: _response.rawResponse,
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
if (_response.error.reason === "status-code") {
|
|
677
|
+
throw new errors.VellumError({
|
|
678
|
+
statusCode: _response.error.statusCode,
|
|
679
|
+
body: _response.error.body,
|
|
680
|
+
rawResponse: _response.rawResponse,
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
switch (_response.error.reason) {
|
|
684
|
+
case "non-json":
|
|
685
|
+
throw new errors.VellumError({
|
|
686
|
+
statusCode: _response.error.statusCode,
|
|
687
|
+
body: _response.error.rawBody,
|
|
688
|
+
rawResponse: _response.rawResponse,
|
|
689
|
+
});
|
|
690
|
+
case "timeout":
|
|
691
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/workflow-deployments/{id}/releases/{release_id_or_release_tag}.");
|
|
692
|
+
case "unknown":
|
|
693
|
+
throw new errors.VellumError({
|
|
694
|
+
message: _response.error.errorMessage,
|
|
695
|
+
rawResponse: _response.rawResponse,
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
}
|
|
634
700
|
_getCustomAuthorizationHeaders() {
|
|
635
701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
636
702
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -79,7 +79,7 @@ class WorkflowExecutions {
|
|
|
79
79
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
80
80
|
unrecognizedObjectKeys: "strip",
|
|
81
81
|
})
|
|
82
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
82
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
requestType: "json",
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class WorkflowSandboxes {
|
|
|
81
81
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
82
82
|
unrecognizedObjectKeys: "strip",
|
|
83
83
|
})
|
|
84
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -163,7 +163,7 @@ class WorkflowSandboxes {
|
|
|
163
163
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
164
164
|
unrecognizedObjectKeys: "strip",
|
|
165
165
|
})
|
|
166
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
166
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
queryParameters: _queryParams,
|
|
169
169
|
requestType: "json",
|
|
@@ -94,7 +94,7 @@ class Workflows {
|
|
|
94
94
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
95
95
|
unrecognizedObjectKeys: "strip",
|
|
96
96
|
})
|
|
97
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
97
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
100
100
|
requestType: "json",
|
|
@@ -174,7 +174,7 @@ class Workflows {
|
|
|
174
174
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
175
175
|
unrecognizedObjectKeys: "strip",
|
|
176
176
|
})
|
|
177
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
177
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
178
178
|
requestType: "file",
|
|
179
179
|
duplex: _maybeEncodedRequest.duplex,
|
|
180
180
|
body: _maybeEncodedRequest.body,
|
|
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
|
|
|
81
81
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
82
82
|
unrecognizedObjectKeys: "strip",
|
|
83
83
|
})
|
|
84
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
84
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
|
|
|
147
147
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
148
148
|
unrecognizedObjectKeys: "strip",
|
|
149
149
|
})
|
|
150
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
150
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
151
151
|
contentType: "application/json",
|
|
152
152
|
requestType: "json",
|
|
153
153
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -80,7 +80,7 @@ class Workspaces {
|
|
|
80
80
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
81
81
|
unrecognizedObjectKeys: "strip",
|
|
82
82
|
})
|
|
83
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.
|
|
83
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.1", "User-Agent": "vellum-ai/1.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface ExternalParentContext {
|
|
6
|
+
parent?: Vellum.ParentContext | null;
|
|
7
|
+
links?: Vellum.SpanLink[] | null;
|
|
8
|
+
type: "EXTERNAL";
|
|
9
|
+
spanId: string;
|
|
10
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type ParentContext = Vellum.WorkflowParentContext | Vellum.NodeParentContext | Vellum.WorkflowDeploymentParentContext | Vellum.WorkflowSandboxParentContext | Vellum.PromptDeploymentParentContext | Vellum.ApiRequestParentContext;
|
|
5
|
+
export type ParentContext = Vellum.WorkflowParentContext | Vellum.NodeParentContext | Vellum.WorkflowDeploymentParentContext | Vellum.WorkflowSandboxParentContext | Vellum.PromptDeploymentParentContext | Vellum.ApiRequestParentContext | Vellum.ExternalParentContext;
|
|
@@ -115,6 +115,7 @@ export * from "./ExecutionStringVellumValue";
|
|
|
115
115
|
export * from "./ExecutionThinkingVellumValue";
|
|
116
116
|
export * from "./ExecutionVellumValue";
|
|
117
117
|
export * from "./ExternalInputDescriptor";
|
|
118
|
+
export * from "./ExternalParentContext";
|
|
118
119
|
export * from "./ExternalTestCaseExecution";
|
|
119
120
|
export * from "./ExternalTestCaseExecutionRequest";
|
|
120
121
|
export * from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
|
package/dist/api/types/index.js
CHANGED
|
@@ -131,6 +131,7 @@ __exportStar(require("./ExecutionStringVellumValue"), exports);
|
|
|
131
131
|
__exportStar(require("./ExecutionThinkingVellumValue"), exports);
|
|
132
132
|
__exportStar(require("./ExecutionVellumValue"), exports);
|
|
133
133
|
__exportStar(require("./ExternalInputDescriptor"), exports);
|
|
134
|
+
__exportStar(require("./ExternalParentContext"), exports);
|
|
134
135
|
__exportStar(require("./ExternalTestCaseExecution"), exports);
|
|
135
136
|
__exportStar(require("./ExternalTestCaseExecutionRequest"), exports);
|
|
136
137
|
__exportStar(require("./FastEmbedVectorizerBaaiBgeSmallEnV15"), exports);
|
|
@@ -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 ExternalParentContext: core.serialization.ObjectSchema<serializers.ExternalParentContext.Raw, Vellum.ExternalParentContext>;
|
|
8
|
+
export declare namespace ExternalParentContext {
|
|
9
|
+
interface Raw {
|
|
10
|
+
parent?: (serializers.ParentContext.Raw | null) | null;
|
|
11
|
+
links?: (serializers.SpanLink.Raw[] | null) | null;
|
|
12
|
+
type: "EXTERNAL";
|
|
13
|
+
span_id: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.ExternalParentContext = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
exports.ExternalParentContext = core.serialization.object({
|
|
43
|
+
parent: core.serialization.lazy(() => serializers.ParentContext).optionalNullable(),
|
|
44
|
+
links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optionalNullable(),
|
|
45
|
+
type: core.serialization.stringLiteral("EXTERNAL"),
|
|
46
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
47
|
+
});
|
|
@@ -7,6 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const NodeExecutionSpanAttributes: core.serialization.ObjectSchema<serializers.NodeExecutionSpanAttributes.Raw, Vellum.NodeExecutionSpanAttributes>;
|
|
8
8
|
export declare namespace NodeExecutionSpanAttributes {
|
|
9
9
|
interface Raw {
|
|
10
|
+
label: string;
|
|
10
11
|
node_id: string;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -39,5 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.NodeExecutionSpanAttributes = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.NodeExecutionSpanAttributes = core.serialization.object({
|
|
42
|
+
label: core.serialization.string(),
|
|
42
43
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
43
44
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ParentContext: core.serialization.Schema<serializers.ParentContext.Raw, Vellum.ParentContext>;
|
|
8
8
|
export declare namespace ParentContext {
|
|
9
|
-
type Raw = serializers.WorkflowParentContext.Raw | serializers.NodeParentContext.Raw | serializers.WorkflowDeploymentParentContext.Raw | serializers.WorkflowSandboxParentContext.Raw | serializers.PromptDeploymentParentContext.Raw | serializers.ApiRequestParentContext.Raw;
|
|
9
|
+
type Raw = serializers.WorkflowParentContext.Raw | serializers.NodeParentContext.Raw | serializers.WorkflowDeploymentParentContext.Raw | serializers.WorkflowSandboxParentContext.Raw | serializers.PromptDeploymentParentContext.Raw | serializers.ApiRequestParentContext.Raw | serializers.ExternalParentContext.Raw;
|
|
10
10
|
}
|
|
@@ -46,4 +46,5 @@ exports.ParentContext = core.serialization.undiscriminatedUnion([
|
|
|
46
46
|
core.serialization.lazyObject(() => serializers.WorkflowSandboxParentContext),
|
|
47
47
|
core.serialization.lazyObject(() => serializers.PromptDeploymentParentContext),
|
|
48
48
|
core.serialization.lazyObject(() => serializers.ApiRequestParentContext),
|
|
49
|
+
core.serialization.lazyObject(() => serializers.ExternalParentContext),
|
|
49
50
|
]);
|
|
@@ -40,4 +40,5 @@ exports.WorkflowExecutionSpanAttributes = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.WorkflowExecutionSpanAttributes = core.serialization.object({
|
|
42
42
|
label: core.serialization.string(),
|
|
43
|
+
workflowId: core.serialization.property("workflow_id", core.serialization.string()),
|
|
43
44
|
});
|
|
@@ -115,6 +115,7 @@ export * from "./ExecutionStringVellumValue";
|
|
|
115
115
|
export * from "./ExecutionThinkingVellumValue";
|
|
116
116
|
export * from "./ExecutionVellumValue";
|
|
117
117
|
export * from "./ExternalInputDescriptor";
|
|
118
|
+
export * from "./ExternalParentContext";
|
|
118
119
|
export * from "./ExternalTestCaseExecution";
|
|
119
120
|
export * from "./ExternalTestCaseExecutionRequest";
|
|
120
121
|
export * from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
|
|
@@ -131,6 +131,7 @@ __exportStar(require("./ExecutionStringVellumValue"), exports);
|
|
|
131
131
|
__exportStar(require("./ExecutionThinkingVellumValue"), exports);
|
|
132
132
|
__exportStar(require("./ExecutionVellumValue"), exports);
|
|
133
133
|
__exportStar(require("./ExternalInputDescriptor"), exports);
|
|
134
|
+
__exportStar(require("./ExternalParentContext"), exports);
|
|
134
135
|
__exportStar(require("./ExternalTestCaseExecution"), exports);
|
|
135
136
|
__exportStar(require("./ExternalTestCaseExecutionRequest"), exports);
|
|
136
137
|
__exportStar(require("./FastEmbedVectorizerBaaiBgeSmallEnV15"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.1";
|
package/dist/version.js
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"create-release": "ts-node-esm ./src/create-release.ts",
|
|
7
|
-
"upgrade-workflow-server": "ts-node-esm ./src/upgrade-workflow-server.ts"
|
|
7
|
+
"upgrade-workflow-server": "ts-node-esm ./src/upgrade-workflow-server.ts",
|
|
8
|
+
"auto-merge": "ts-node-esm ./src/auto-merge.ts"
|
|
8
9
|
},
|
|
9
10
|
"devDependencies": {
|
|
10
11
|
"@octokit/auth-app": "^7.1.4",
|