vellum-ai 0.8.27 → 0.8.29
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/.mock/definition/__package__.yml +7 -7
- package/.mock/definition/workspaceSecrets.yml +37 -1
- package/.mock/openapi/openapi.yml +76 -38
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/deployments/client/Client.js +5 -5
- 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/metricDefinitions/client/Client.js +1 -1
- 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 +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +1 -1
- package/api/resources/workspaceSecrets/client/Client.js +1 -1
- package/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/api/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +1 -1
- package/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
- package/api/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/api/types/TerminalNodeArrayResult.d.ts +1 -1
- package/api/types/TerminalNodeResultOutput.d.ts +1 -1
- package/api/types/index.d.ts +1 -1
- package/api/types/index.js +1 -1
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/deployments/client/Client.js +5 -5
- 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/metricDefinitions/client/Client.js +1 -1
- 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 +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +1 -1
- package/dist/api/resources/workspaceSecrets/client/Client.js +1 -1
- package/dist/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/dist/api/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +1 -1
- package/dist/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
- package/dist/api/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/dist/api/types/TerminalNodeArrayResult.d.ts +1 -1
- package/dist/api/types/TerminalNodeResultOutput.d.ts +1 -1
- package/dist/api/types/index.d.ts +1 -1
- package/dist/api/types/index.js +1 -1
- package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/dist/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
- package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/dist/serialization/types/NodeInputCompiledArrayValue.js +1 -1
- package/dist/serialization/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +2 -2
- package/dist/serialization/types/{NodeInputCompiledFunctionCall.js → NodeInputCompiledFunctionCallValue.js} +2 -2
- package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +2 -2
- package/dist/serialization/types/NodeInputVariableCompiledValue.js +2 -2
- package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/dist/serialization/types/TemplatingNodeArrayResult.js +1 -1
- package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
- package/dist/serialization/types/TerminalNodeArrayResult.js +1 -1
- package/dist/serialization/types/TerminalNodeResultOutput.d.ts +2 -2
- package/dist/serialization/types/TerminalNodeResultOutput.js +2 -2
- package/dist/serialization/types/index.d.ts +1 -1
- package/dist/serialization/types/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
- package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/serialization/types/NodeInputCompiledArrayValue.js +1 -1
- package/serialization/types/{NodeInputCompiledFunctionCall.d.ts → NodeInputCompiledFunctionCallValue.d.ts} +2 -2
- package/serialization/types/{NodeInputCompiledFunctionCall.js → NodeInputCompiledFunctionCallValue.js} +2 -2
- package/serialization/types/NodeInputVariableCompiledValue.d.ts +2 -2
- package/serialization/types/NodeInputVariableCompiledValue.js +2 -2
- package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/serialization/types/TemplatingNodeArrayResult.js +1 -1
- package/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
- package/serialization/types/TerminalNodeArrayResult.js +1 -1
- package/serialization/types/TerminalNodeResultOutput.d.ts +2 -2
- package/serialization/types/TerminalNodeResultOutput.js +2 -2
- package/serialization/types/index.d.ts +1 -1
- package/serialization/types/index.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/types/{NodeInputCompiledFunctionCall.js → NodeInputCompiledFunctionCallValue.js} +0 -0
- /package/dist/api/types/{NodeInputCompiledFunctionCall.js → NodeInputCompiledFunctionCallValue.js} +0 -0
|
@@ -81,7 +81,7 @@ class DocumentIndexes {
|
|
|
81
81
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
82
82
|
.default, "v1/document-indexes"),
|
|
83
83
|
method: "GET",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -196,7 +196,7 @@ class DocumentIndexes {
|
|
|
196
196
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
197
197
|
.default, "v1/document-indexes"),
|
|
198
198
|
method: "POST",
|
|
199
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
199
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
requestType: "json",
|
|
202
202
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -249,7 +249,7 @@ class DocumentIndexes {
|
|
|
249
249
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
250
250
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
251
251
|
method: "GET",
|
|
252
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
252
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
253
253
|
contentType: "application/json",
|
|
254
254
|
requestType: "json",
|
|
255
255
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -304,7 +304,7 @@ class DocumentIndexes {
|
|
|
304
304
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
305
305
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
306
306
|
method: "PUT",
|
|
307
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
307
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
308
308
|
contentType: "application/json",
|
|
309
309
|
requestType: "json",
|
|
310
310
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -357,7 +357,7 @@ class DocumentIndexes {
|
|
|
357
357
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
358
358
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
359
359
|
method: "DELETE",
|
|
360
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
360
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
361
361
|
contentType: "application/json",
|
|
362
362
|
requestType: "json",
|
|
363
363
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -405,7 +405,7 @@ class DocumentIndexes {
|
|
|
405
405
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
406
406
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
407
407
|
method: "PATCH",
|
|
408
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
408
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
409
409
|
contentType: "application/json",
|
|
410
410
|
requestType: "json",
|
|
411
411
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -461,7 +461,7 @@ class DocumentIndexes {
|
|
|
461
461
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
462
462
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
463
463
|
method: "POST",
|
|
464
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
464
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
465
465
|
contentType: "application/json",
|
|
466
466
|
requestType: "json",
|
|
467
467
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -509,7 +509,7 @@ class DocumentIndexes {
|
|
|
509
509
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
510
510
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
511
511
|
method: "DELETE",
|
|
512
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
512
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
513
513
|
contentType: "application/json",
|
|
514
514
|
requestType: "json",
|
|
515
515
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -79,7 +79,7 @@ class Documents {
|
|
|
79
79
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
80
80
|
.default, "v1/documents"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
requestType: "json",
|
|
@@ -132,7 +132,7 @@ class Documents {
|
|
|
132
132
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
133
133
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
requestType: "json",
|
|
138
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -184,7 +184,7 @@ class Documents {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.documents, `v1/documents/${encodeURIComponent(id)}`),
|
|
186
186
|
method: "DELETE",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -232,7 +232,7 @@ class Documents {
|
|
|
232
232
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
233
233
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
234
234
|
method: "PATCH",
|
|
235
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
235
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
236
236
|
contentType: "application/json",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -322,7 +322,7 @@ class Documents {
|
|
|
322
322
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
323
323
|
.documents, "v1/upload-document"),
|
|
324
324
|
method: "POST",
|
|
325
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
325
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
326
326
|
requestType: "file",
|
|
327
327
|
duplex: _maybeEncodedRequest.duplex,
|
|
328
328
|
body: _maybeEncodedRequest.body,
|
|
@@ -81,7 +81,7 @@ class FolderEntities {
|
|
|
81
81
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
82
82
|
.default, "v1/folder-entities"),
|
|
83
83
|
method: "GET",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -145,7 +145,7 @@ class FolderEntities {
|
|
|
145
145
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
146
146
|
.default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
|
|
147
147
|
method: "POST",
|
|
148
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
148
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
149
149
|
contentType: "application/json",
|
|
150
150
|
requestType: "json",
|
|
151
151
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -71,7 +71,7 @@ class MetricDefinitions {
|
|
|
71
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
72
72
|
.default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
|
|
73
73
|
method: "POST",
|
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -64,7 +64,7 @@ class Sandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -151,7 +151,7 @@ class Sandboxes {
|
|
|
151
151
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
152
152
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
|
|
153
153
|
method: "POST",
|
|
154
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
154
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
requestType: "json",
|
|
157
157
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -205,7 +205,7 @@ class Sandboxes {
|
|
|
205
205
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
206
206
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
|
|
207
207
|
method: "DELETE",
|
|
208
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
208
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
209
209
|
contentType: "application/json",
|
|
210
210
|
requestType: "json",
|
|
211
211
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -71,7 +71,7 @@ class TestSuiteRuns {
|
|
|
71
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
72
72
|
.default, "v1/test-suite-runs"),
|
|
73
73
|
method: "POST",
|
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -124,7 +124,7 @@ class TestSuiteRuns {
|
|
|
124
124
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
125
125
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
126
126
|
method: "GET",
|
|
127
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
requestType: "json",
|
|
130
130
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -191,7 +191,7 @@ class TestSuiteRuns {
|
|
|
191
191
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
192
192
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
193
193
|
method: "GET",
|
|
194
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
194
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
queryParameters: _queryParams,
|
|
197
197
|
requestType: "json",
|
|
@@ -73,7 +73,7 @@ class TestSuites {
|
|
|
73
73
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
queryParameters: _queryParams,
|
|
79
79
|
requestType: "json",
|
|
@@ -142,7 +142,7 @@ class TestSuites {
|
|
|
142
142
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
143
143
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
144
144
|
method: "POST",
|
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
requestType: "json",
|
|
148
148
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -189,7 +189,7 @@ class TestSuites {
|
|
|
189
189
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
190
190
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
191
191
|
method: "POST",
|
|
192
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
192
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -256,7 +256,7 @@ class TestSuites {
|
|
|
256
256
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
257
257
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
258
258
|
method: "DELETE",
|
|
259
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
259
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
260
260
|
contentType: "application/json",
|
|
261
261
|
requestType: "json",
|
|
262
262
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -78,7 +78,7 @@ class WorkflowDeployments {
|
|
|
78
78
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
79
79
|
.default, "v1/workflow-deployments"),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -131,7 +131,7 @@ class WorkflowDeployments {
|
|
|
131
131
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
132
132
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
133
133
|
method: "GET",
|
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -184,7 +184,7 @@ class WorkflowDeployments {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
186
186
|
method: "GET",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -238,7 +238,7 @@ class WorkflowDeployments {
|
|
|
238
238
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
239
239
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
240
240
|
method: "PATCH",
|
|
241
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
241
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
requestType: "json",
|
|
244
244
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -69,7 +69,7 @@ class Workflows {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, "v1/workflows/push"),
|
|
71
71
|
method: "POST",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
requestType: "json",
|
|
75
75
|
body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
66
66
|
method: "GET",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface NodeInputCompiledFunctionCallValue {
|
|
6
6
|
nodeInputId: string;
|
|
7
7
|
key: string;
|
|
8
8
|
type: "FUNCTION_CALL";
|
|
@@ -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 declare type NodeInputVariableCompiledValue = Vellum.NodeInputCompiledStringValue | Vellum.NodeInputCompiledNumberValue | Vellum.NodeInputCompiledJsonValue | Vellum.NodeInputCompiledChatHistoryValue | Vellum.NodeInputCompiledSearchResultsValue | Vellum.NodeInputCompiledErrorValue | Vellum.NodeInputCompiledArrayValue | Vellum.
|
|
5
|
+
export declare type NodeInputVariableCompiledValue = Vellum.NodeInputCompiledStringValue | Vellum.NodeInputCompiledNumberValue | Vellum.NodeInputCompiledJsonValue | Vellum.NodeInputCompiledChatHistoryValue | Vellum.NodeInputCompiledSearchResultsValue | Vellum.NodeInputCompiledErrorValue | Vellum.NodeInputCompiledArrayValue | Vellum.NodeInputCompiledFunctionCallValue;
|
|
@@ -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 declare type TerminalNodeResultOutput = Vellum.TerminalNodeStringResult | Vellum.TerminalNodeNumberResult | Vellum.TerminalNodeJsonResult | Vellum.TerminalNodeChatHistoryResult | Vellum.TerminalNodeSearchResultsResult | Vellum.
|
|
5
|
+
export declare type TerminalNodeResultOutput = Vellum.TerminalNodeStringResult | Vellum.TerminalNodeNumberResult | Vellum.TerminalNodeJsonResult | Vellum.TerminalNodeChatHistoryResult | Vellum.TerminalNodeSearchResultsResult | Vellum.TerminalNodeErrorResult | Vellum.TerminalNodeArrayResult | Vellum.TerminalNodeFunctionCallResult;
|
|
@@ -201,7 +201,7 @@ export * from "./NamedTestCaseVariableValueRequest";
|
|
|
201
201
|
export * from "./NodeInputCompiledArrayValue";
|
|
202
202
|
export * from "./NodeInputCompiledChatHistoryValue";
|
|
203
203
|
export * from "./NodeInputCompiledErrorValue";
|
|
204
|
-
export * from "./
|
|
204
|
+
export * from "./NodeInputCompiledFunctionCallValue";
|
|
205
205
|
export * from "./NodeInputCompiledJsonValue";
|
|
206
206
|
export * from "./NodeInputCompiledNumberValue";
|
|
207
207
|
export * from "./NodeInputCompiledSearchResultsValue";
|
package/dist/api/types/index.js
CHANGED
|
@@ -217,7 +217,7 @@ __exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
|
|
|
217
217
|
__exportStar(require("./NodeInputCompiledArrayValue"), exports);
|
|
218
218
|
__exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
|
|
219
219
|
__exportStar(require("./NodeInputCompiledErrorValue"), exports);
|
|
220
|
-
__exportStar(require("./
|
|
220
|
+
__exportStar(require("./NodeInputCompiledFunctionCallValue"), exports);
|
|
221
221
|
__exportStar(require("./NodeInputCompiledJsonValue"), exports);
|
|
222
222
|
__exportStar(require("./NodeInputCompiledNumberValue"), exports);
|
|
223
223
|
__exportStar(require("./NodeInputCompiledSearchResultsValue"), exports);
|
|
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
|
|
|
32
32
|
exports.CodeExecutionNodeArrayResult = core.serialization.object({
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
36
36
|
});
|
|
@@ -33,5 +33,5 @@ exports.NodeInputCompiledArrayValue = core.serialization.object({
|
|
|
33
33
|
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
34
34
|
key: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
36
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
37
37
|
});
|
|
@@ -5,8 +5,8 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FunctionCall } from "./FunctionCall";
|
|
8
|
-
export declare const
|
|
9
|
-
export declare namespace
|
|
8
|
+
export declare const NodeInputCompiledFunctionCallValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledFunctionCallValue.Raw, Vellum.NodeInputCompiledFunctionCallValue>;
|
|
9
|
+
export declare namespace NodeInputCompiledFunctionCallValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
node_input_id: string;
|
|
12
12
|
key: string;
|
|
@@ -26,10 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.NodeInputCompiledFunctionCallValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const FunctionCall_1 = require("./FunctionCall");
|
|
32
|
-
exports.
|
|
32
|
+
exports.NodeInputCompiledFunctionCallValue = core.serialization.object({
|
|
33
33
|
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
34
34
|
key: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("FUNCTION_CALL"),
|
|
@@ -11,8 +11,8 @@ import { NodeInputCompiledChatHistoryValue } from "./NodeInputCompiledChatHistor
|
|
|
11
11
|
import { NodeInputCompiledSearchResultsValue } from "./NodeInputCompiledSearchResultsValue";
|
|
12
12
|
import { NodeInputCompiledErrorValue } from "./NodeInputCompiledErrorValue";
|
|
13
13
|
import { NodeInputCompiledArrayValue } from "./NodeInputCompiledArrayValue";
|
|
14
|
-
import {
|
|
14
|
+
import { NodeInputCompiledFunctionCallValue } from "./NodeInputCompiledFunctionCallValue";
|
|
15
15
|
export declare const NodeInputVariableCompiledValue: core.serialization.Schema<serializers.NodeInputVariableCompiledValue.Raw, Vellum.NodeInputVariableCompiledValue>;
|
|
16
16
|
export declare namespace NodeInputVariableCompiledValue {
|
|
17
|
-
type Raw = NodeInputCompiledStringValue.Raw | NodeInputCompiledNumberValue.Raw | NodeInputCompiledJsonValue.Raw | NodeInputCompiledChatHistoryValue.Raw | NodeInputCompiledSearchResultsValue.Raw | NodeInputCompiledErrorValue.Raw | NodeInputCompiledArrayValue.Raw |
|
|
17
|
+
type Raw = NodeInputCompiledStringValue.Raw | NodeInputCompiledNumberValue.Raw | NodeInputCompiledJsonValue.Raw | NodeInputCompiledChatHistoryValue.Raw | NodeInputCompiledSearchResultsValue.Raw | NodeInputCompiledErrorValue.Raw | NodeInputCompiledArrayValue.Raw | NodeInputCompiledFunctionCallValue.Raw;
|
|
18
18
|
}
|
|
@@ -35,7 +35,7 @@ const NodeInputCompiledChatHistoryValue_1 = require("./NodeInputCompiledChatHist
|
|
|
35
35
|
const NodeInputCompiledSearchResultsValue_1 = require("./NodeInputCompiledSearchResultsValue");
|
|
36
36
|
const NodeInputCompiledErrorValue_1 = require("./NodeInputCompiledErrorValue");
|
|
37
37
|
const NodeInputCompiledArrayValue_1 = require("./NodeInputCompiledArrayValue");
|
|
38
|
-
const
|
|
38
|
+
const NodeInputCompiledFunctionCallValue_1 = require("./NodeInputCompiledFunctionCallValue");
|
|
39
39
|
exports.NodeInputVariableCompiledValue = core.serialization.undiscriminatedUnion([
|
|
40
40
|
NodeInputCompiledStringValue_1.NodeInputCompiledStringValue,
|
|
41
41
|
NodeInputCompiledNumberValue_1.NodeInputCompiledNumberValue,
|
|
@@ -44,5 +44,5 @@ exports.NodeInputVariableCompiledValue = core.serialization.undiscriminatedUnion
|
|
|
44
44
|
NodeInputCompiledSearchResultsValue_1.NodeInputCompiledSearchResultsValue,
|
|
45
45
|
NodeInputCompiledErrorValue_1.NodeInputCompiledErrorValue,
|
|
46
46
|
NodeInputCompiledArrayValue_1.NodeInputCompiledArrayValue,
|
|
47
|
-
|
|
47
|
+
NodeInputCompiledFunctionCallValue_1.NodeInputCompiledFunctionCallValue,
|
|
48
48
|
]);
|
|
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
|
|
|
32
32
|
exports.TemplatingNodeArrayResult = core.serialization.object({
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
36
36
|
});
|
|
@@ -33,5 +33,5 @@ exports.TerminalNodeArrayResult = core.serialization.object({
|
|
|
33
33
|
id: core.serialization.string().optional(),
|
|
34
34
|
name: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
36
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
37
37
|
});
|
|
@@ -9,10 +9,10 @@ import { TerminalNodeNumberResult } from "./TerminalNodeNumberResult";
|
|
|
9
9
|
import { TerminalNodeJsonResult } from "./TerminalNodeJsonResult";
|
|
10
10
|
import { TerminalNodeChatHistoryResult } from "./TerminalNodeChatHistoryResult";
|
|
11
11
|
import { TerminalNodeSearchResultsResult } from "./TerminalNodeSearchResultsResult";
|
|
12
|
+
import { TerminalNodeErrorResult } from "./TerminalNodeErrorResult";
|
|
12
13
|
import { TerminalNodeArrayResult } from "./TerminalNodeArrayResult";
|
|
13
14
|
import { TerminalNodeFunctionCallResult } from "./TerminalNodeFunctionCallResult";
|
|
14
|
-
import { TerminalNodeErrorResult } from "./TerminalNodeErrorResult";
|
|
15
15
|
export declare const TerminalNodeResultOutput: core.serialization.Schema<serializers.TerminalNodeResultOutput.Raw, Vellum.TerminalNodeResultOutput>;
|
|
16
16
|
export declare namespace TerminalNodeResultOutput {
|
|
17
|
-
type Raw = TerminalNodeStringResult.Raw | TerminalNodeNumberResult.Raw | TerminalNodeJsonResult.Raw | TerminalNodeChatHistoryResult.Raw | TerminalNodeSearchResultsResult.Raw |
|
|
17
|
+
type Raw = TerminalNodeStringResult.Raw | TerminalNodeNumberResult.Raw | TerminalNodeJsonResult.Raw | TerminalNodeChatHistoryResult.Raw | TerminalNodeSearchResultsResult.Raw | TerminalNodeErrorResult.Raw | TerminalNodeArrayResult.Raw | TerminalNodeFunctionCallResult.Raw;
|
|
18
18
|
}
|
|
@@ -33,16 +33,16 @@ const TerminalNodeNumberResult_1 = require("./TerminalNodeNumberResult");
|
|
|
33
33
|
const TerminalNodeJsonResult_1 = require("./TerminalNodeJsonResult");
|
|
34
34
|
const TerminalNodeChatHistoryResult_1 = require("./TerminalNodeChatHistoryResult");
|
|
35
35
|
const TerminalNodeSearchResultsResult_1 = require("./TerminalNodeSearchResultsResult");
|
|
36
|
+
const TerminalNodeErrorResult_1 = require("./TerminalNodeErrorResult");
|
|
36
37
|
const TerminalNodeArrayResult_1 = require("./TerminalNodeArrayResult");
|
|
37
38
|
const TerminalNodeFunctionCallResult_1 = require("./TerminalNodeFunctionCallResult");
|
|
38
|
-
const TerminalNodeErrorResult_1 = require("./TerminalNodeErrorResult");
|
|
39
39
|
exports.TerminalNodeResultOutput = core.serialization.undiscriminatedUnion([
|
|
40
40
|
TerminalNodeStringResult_1.TerminalNodeStringResult,
|
|
41
41
|
TerminalNodeNumberResult_1.TerminalNodeNumberResult,
|
|
42
42
|
TerminalNodeJsonResult_1.TerminalNodeJsonResult,
|
|
43
43
|
TerminalNodeChatHistoryResult_1.TerminalNodeChatHistoryResult,
|
|
44
44
|
TerminalNodeSearchResultsResult_1.TerminalNodeSearchResultsResult,
|
|
45
|
+
TerminalNodeErrorResult_1.TerminalNodeErrorResult,
|
|
45
46
|
TerminalNodeArrayResult_1.TerminalNodeArrayResult,
|
|
46
47
|
TerminalNodeFunctionCallResult_1.TerminalNodeFunctionCallResult,
|
|
47
|
-
TerminalNodeErrorResult_1.TerminalNodeErrorResult,
|
|
48
48
|
]);
|