vellum-ai 0.8.13 → 0.8.15
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 +69 -0
- package/.mock/openapi/openapi.yml +141 -0
- package/Client.js +9 -9
- 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 +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/types/ArrayVariableValue.d.ts +8 -0
- package/api/types/ArrayVariableValue.js +5 -0
- package/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/api/types/ArrayVellumValue.d.ts +11 -0
- package/api/types/ArrayVellumValue.js +5 -0
- package/api/types/ArrayVellumValueItem.d.ts +1 -1
- package/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
- package/api/types/ArrayVellumValueRequest.d.ts +11 -0
- package/api/types/ArrayVellumValueRequest.js +5 -0
- package/api/types/ChatHistoryVariableValue.d.ts +8 -0
- package/api/types/ChatHistoryVariableValue.js +5 -0
- package/api/types/ChatHistoryVellumValue.d.ts +11 -0
- package/api/types/ChatHistoryVellumValue.js +5 -0
- package/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
- package/api/types/ChatHistoryVellumValueRequest.js +5 -0
- package/api/types/SearchResultsVariableValue.d.ts +8 -0
- package/api/types/SearchResultsVariableValue.js +5 -0
- package/api/types/SearchResultsVellumValue.d.ts +11 -0
- package/api/types/SearchResultsVellumValue.js +5 -0
- package/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
- package/api/types/SearchResultsVellumValueRequest.js +5 -0
- package/api/types/index.d.ts +9 -0
- package/api/types/index.js +9 -0
- package/dist/Client.js +9 -9
- 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 +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/types/ArrayVariableValue.d.ts +8 -0
- package/dist/api/types/ArrayVariableValue.js +5 -0
- package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/dist/api/types/ArrayVellumValue.d.ts +11 -0
- package/dist/api/types/ArrayVellumValue.js +5 -0
- package/dist/api/types/ArrayVellumValueItem.d.ts +1 -1
- package/dist/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
- package/dist/api/types/ArrayVellumValueRequest.d.ts +11 -0
- package/dist/api/types/ArrayVellumValueRequest.js +5 -0
- package/dist/api/types/ChatHistoryVariableValue.d.ts +8 -0
- package/dist/api/types/ChatHistoryVariableValue.js +5 -0
- package/dist/api/types/ChatHistoryVellumValue.d.ts +11 -0
- package/dist/api/types/ChatHistoryVellumValue.js +5 -0
- package/dist/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
- package/dist/api/types/ChatHistoryVellumValueRequest.js +5 -0
- package/dist/api/types/SearchResultsVariableValue.d.ts +8 -0
- package/dist/api/types/SearchResultsVariableValue.js +5 -0
- package/dist/api/types/SearchResultsVellumValue.d.ts +11 -0
- package/dist/api/types/SearchResultsVellumValue.js +5 -0
- package/dist/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
- package/dist/api/types/SearchResultsVellumValueRequest.js +5 -0
- package/dist/api/types/index.d.ts +9 -0
- package/dist/api/types/index.js +9 -0
- package/dist/serialization/types/ArrayVariableValue.d.ts +13 -0
- package/dist/serialization/types/ArrayVariableValue.js +35 -0
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +3 -1
- package/dist/serialization/types/ArrayVariableValueItem.js +6 -0
- package/dist/serialization/types/ArrayVellumValue.d.ts +13 -0
- package/dist/serialization/types/ArrayVellumValue.js +35 -0
- package/dist/serialization/types/ArrayVellumValueItem.d.ts +3 -1
- package/dist/serialization/types/ArrayVellumValueItem.js +6 -0
- package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
- package/dist/serialization/types/ArrayVellumValueItemRequest.js +6 -0
- package/dist/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/ArrayVellumValueRequest.js +35 -0
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
- package/dist/serialization/types/ChatHistoryVariableValue.js +35 -0
- package/dist/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
- package/dist/serialization/types/ChatHistoryVellumValue.js +35 -0
- package/dist/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
- package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
- package/dist/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
- package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
- package/dist/serialization/types/ExecutionArrayVellumValue.js +2 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
- package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
- package/dist/serialization/types/NodeInputCompiledArrayValue.js +2 -2
- package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
- package/dist/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +14 -0
- package/dist/serialization/types/SearchResultsVariableValue.js +35 -0
- package/dist/serialization/types/SearchResultsVellumValue.d.ts +14 -0
- package/dist/serialization/types/SearchResultsVellumValue.js +35 -0
- package/dist/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/SearchResultsVellumValueRequest.js +35 -0
- package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
- package/dist/serialization/types/TemplatingNodeArrayResult.js +2 -2
- package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
- package/dist/serialization/types/TerminalNodeArrayResult.js +2 -2
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
- package/dist/serialization/types/TestCaseArrayVariableValue.js +2 -2
- package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
- package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
- package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -2
- package/dist/serialization/types/WorkflowOutputArray.js +2 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
- package/dist/serialization/types/index.d.ts +9 -0
- package/dist/serialization/types/index.js +9 -0
- package/package.json +1 -1
- package/serialization/types/ArrayVariableValue.d.ts +13 -0
- package/serialization/types/ArrayVariableValue.js +35 -0
- package/serialization/types/ArrayVariableValueItem.d.ts +3 -1
- package/serialization/types/ArrayVariableValueItem.js +6 -0
- package/serialization/types/ArrayVellumValue.d.ts +13 -0
- package/serialization/types/ArrayVellumValue.js +35 -0
- package/serialization/types/ArrayVellumValueItem.d.ts +3 -1
- package/serialization/types/ArrayVellumValueItem.js +6 -0
- package/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
- package/serialization/types/ArrayVellumValueItemRequest.js +6 -0
- package/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
- package/serialization/types/ArrayVellumValueRequest.js +35 -0
- package/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
- package/serialization/types/ChatHistoryVariableValue.js +35 -0
- package/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
- package/serialization/types/ChatHistoryVellumValue.js +35 -0
- package/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
- package/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
- package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
- package/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
- package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
- package/serialization/types/ExecutionArrayVellumValue.js +2 -2
- package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
- package/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
- package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
- package/serialization/types/NodeInputCompiledArrayValue.js +2 -2
- package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
- package/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
- package/serialization/types/SearchResultsVariableValue.d.ts +14 -0
- package/serialization/types/SearchResultsVariableValue.js +35 -0
- package/serialization/types/SearchResultsVellumValue.d.ts +14 -0
- package/serialization/types/SearchResultsVellumValue.js +35 -0
- package/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
- package/serialization/types/SearchResultsVellumValueRequest.js +35 -0
- package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
- package/serialization/types/TemplatingNodeArrayResult.js +2 -2
- package/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
- package/serialization/types/TerminalNodeArrayResult.js +2 -2
- package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
- package/serialization/types/TestCaseArrayVariableValue.js +2 -2
- package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
- package/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
- package/serialization/types/WorkflowOutputArray.d.ts +1 -2
- package/serialization/types/WorkflowOutputArray.js +2 -2
- package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
- package/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
- package/serialization/types/index.d.ts +9 -0
- package/serialization/types/index.js +9 -0
|
@@ -72,7 +72,7 @@ class TestSuiteRuns {
|
|
|
72
72
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
73
73
|
.default, "v1/test-suite-runs"),
|
|
74
74
|
method: "POST",
|
|
75
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
75
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
requestType: "json",
|
|
78
78
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -125,7 +125,7 @@ class TestSuiteRuns {
|
|
|
125
125
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
126
126
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
127
127
|
method: "GET",
|
|
128
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
128
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
requestType: "json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -192,7 +192,7 @@ class TestSuiteRuns {
|
|
|
192
192
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
193
193
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
194
194
|
method: "GET",
|
|
195
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
195
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
196
196
|
contentType: "application/json",
|
|
197
197
|
queryParameters: _queryParams,
|
|
198
198
|
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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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.15", "User-Agent": "vellum-ai/0.8.15", "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" }),
|
|
@@ -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 ArrayVariableValueItem = Vellum.StringVariableValue | Vellum.NumberVariableValue | Vellum.JsonVariableValue | Vellum.ErrorVariableValue | Vellum.FunctionCallVariableValue | Vellum.ImageVariableValue;
|
|
5
|
+
export declare type ArrayVariableValueItem = Vellum.StringVariableValue | Vellum.NumberVariableValue | Vellum.JsonVariableValue | Vellum.ErrorVariableValue | Vellum.FunctionCallVariableValue | Vellum.ImageVariableValue | Vellum.ChatHistoryVariableValue | Vellum.SearchResultsVariableValue | Vellum.ArrayVariableValue;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing an array of Vellum variable values.
|
|
7
|
+
*/
|
|
8
|
+
export interface ArrayVellumValue {
|
|
9
|
+
type: "ARRAY";
|
|
10
|
+
value?: Vellum.ArrayVellumValueItem[];
|
|
11
|
+
}
|
|
@@ -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 ArrayVellumValueItem = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue;
|
|
5
|
+
export declare type ArrayVellumValueItem = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue | Vellum.ArrayVellumValue;
|
|
@@ -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 ArrayVellumValueItemRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest;
|
|
5
|
+
export declare type ArrayVellumValueItemRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest | Vellum.ArrayVellumValueRequest;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing an array of Vellum variable values.
|
|
7
|
+
*/
|
|
8
|
+
export interface ArrayVellumValueRequest {
|
|
9
|
+
type: "ARRAY";
|
|
10
|
+
value?: Vellum.ArrayVellumValueItemRequest[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Chat History.
|
|
7
|
+
*/
|
|
8
|
+
export interface ChatHistoryVellumValue {
|
|
9
|
+
type: "CHAT_HISTORY";
|
|
10
|
+
value?: Vellum.ChatMessage[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Chat History.
|
|
7
|
+
*/
|
|
8
|
+
export interface ChatHistoryVellumValueRequest {
|
|
9
|
+
type: "CHAT_HISTORY";
|
|
10
|
+
value?: Vellum.ChatMessageRequest[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Search Results.
|
|
7
|
+
*/
|
|
8
|
+
export interface SearchResultsVellumValue {
|
|
9
|
+
type: "SEARCH_RESULTS";
|
|
10
|
+
value?: Vellum.SearchResult[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Search Results.
|
|
7
|
+
*/
|
|
8
|
+
export interface SearchResultsVellumValueRequest {
|
|
9
|
+
type: "SEARCH_RESULTS";
|
|
10
|
+
value?: Vellum.SearchResultRequest[];
|
|
11
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -11,9 +11,12 @@ export * from "./ArrayChatMessageContent";
|
|
|
11
11
|
export * from "./ArrayChatMessageContentItem";
|
|
12
12
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
13
13
|
export * from "./ArrayChatMessageContentRequest";
|
|
14
|
+
export * from "./ArrayVariableValue";
|
|
14
15
|
export * from "./ArrayVariableValueItem";
|
|
16
|
+
export * from "./ArrayVellumValue";
|
|
15
17
|
export * from "./ArrayVellumValueItem";
|
|
16
18
|
export * from "./ArrayVellumValueItemRequest";
|
|
19
|
+
export * from "./ArrayVellumValueRequest";
|
|
17
20
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
18
21
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
19
22
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
@@ -21,6 +24,9 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request
|
|
|
21
24
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
|
|
22
25
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
|
|
23
26
|
export * from "./ChatHistoryInputRequest";
|
|
27
|
+
export * from "./ChatHistoryVariableValue";
|
|
28
|
+
export * from "./ChatHistoryVellumValue";
|
|
29
|
+
export * from "./ChatHistoryVellumValueRequest";
|
|
24
30
|
export * from "./ChatMessage";
|
|
25
31
|
export * from "./ChatMessageContent";
|
|
26
32
|
export * from "./ChatMessageContentRequest";
|
|
@@ -255,6 +261,9 @@ export * from "./SearchResultMetaRequest";
|
|
|
255
261
|
export * from "./ComponentsSchemasPdfSearchResultMetaSource";
|
|
256
262
|
export * from "./ComponentsSchemasPdfSearchResultMetaSourceRequest";
|
|
257
263
|
export * from "./SearchResultRequest";
|
|
264
|
+
export * from "./SearchResultsVariableValue";
|
|
265
|
+
export * from "./SearchResultsVellumValue";
|
|
266
|
+
export * from "./SearchResultsVellumValueRequest";
|
|
258
267
|
export * from "./SearchWeightsRequest";
|
|
259
268
|
export * from "./SentenceChunkerConfig";
|
|
260
269
|
export * from "./SentenceChunkerConfigRequest";
|
package/api/types/index.js
CHANGED
|
@@ -27,9 +27,12 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
|
|
|
27
27
|
__exportStar(require("./ArrayChatMessageContentItem"), exports);
|
|
28
28
|
__exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
29
29
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
30
|
+
__exportStar(require("./ArrayVariableValue"), exports);
|
|
30
31
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
32
|
+
__exportStar(require("./ArrayVellumValue"), exports);
|
|
31
33
|
__exportStar(require("./ArrayVellumValueItem"), exports);
|
|
32
34
|
__exportStar(require("./ArrayVellumValueItemRequest"), exports);
|
|
35
|
+
__exportStar(require("./ArrayVellumValueRequest"), exports);
|
|
33
36
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
34
37
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
|
35
38
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
|
|
@@ -37,6 +40,9 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
|
|
|
37
40
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
|
|
38
41
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
|
|
39
42
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
43
|
+
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
44
|
+
__exportStar(require("./ChatHistoryVellumValue"), exports);
|
|
45
|
+
__exportStar(require("./ChatHistoryVellumValueRequest"), exports);
|
|
40
46
|
__exportStar(require("./ChatMessage"), exports);
|
|
41
47
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
42
48
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
@@ -271,6 +277,9 @@ __exportStar(require("./SearchResultMetaRequest"), exports);
|
|
|
271
277
|
__exportStar(require("./ComponentsSchemasPdfSearchResultMetaSource"), exports);
|
|
272
278
|
__exportStar(require("./ComponentsSchemasPdfSearchResultMetaSourceRequest"), exports);
|
|
273
279
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
280
|
+
__exportStar(require("./SearchResultsVariableValue"), exports);
|
|
281
|
+
__exportStar(require("./SearchResultsVellumValue"), exports);
|
|
282
|
+
__exportStar(require("./SearchResultsVellumValueRequest"), exports);
|
|
274
283
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
275
284
|
__exportStar(require("./SentenceChunkerConfig"), exports);
|
|
276
285
|
__exportStar(require("./SentenceChunkerConfigRequest"), exports);
|
package/dist/Client.js
CHANGED
|
@@ -86,7 +86,7 @@ class VellumClient {
|
|
|
86
86
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
87
87
|
.predict, "v1/execute-prompt"),
|
|
88
88
|
method: "POST",
|
|
89
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
89
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -144,7 +144,7 @@ class VellumClient {
|
|
|
144
144
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
145
145
|
.predict, "v1/execute-prompt-stream"),
|
|
146
146
|
method: "POST",
|
|
147
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
147
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -229,7 +229,7 @@ class VellumClient {
|
|
|
229
229
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
230
230
|
.predict, "v1/execute-workflow"),
|
|
231
231
|
method: "POST",
|
|
232
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
232
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
233
233
|
contentType: "application/json",
|
|
234
234
|
requestType: "json",
|
|
235
235
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -285,7 +285,7 @@ class VellumClient {
|
|
|
285
285
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
286
286
|
.predict, "v1/execute-workflow-stream"),
|
|
287
287
|
method: "POST",
|
|
288
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
288
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
289
289
|
contentType: "application/json",
|
|
290
290
|
requestType: "json",
|
|
291
291
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -372,7 +372,7 @@ class VellumClient {
|
|
|
372
372
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
373
373
|
.predict, "v1/generate"),
|
|
374
374
|
method: "POST",
|
|
375
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
375
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
376
376
|
contentType: "application/json",
|
|
377
377
|
requestType: "json",
|
|
378
378
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -433,7 +433,7 @@ class VellumClient {
|
|
|
433
433
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
434
434
|
.predict, "v1/generate-stream"),
|
|
435
435
|
method: "POST",
|
|
436
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
436
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
437
437
|
contentType: "application/json",
|
|
438
438
|
requestType: "json",
|
|
439
439
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -514,7 +514,7 @@ class VellumClient {
|
|
|
514
514
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
515
515
|
.predict, "v1/search"),
|
|
516
516
|
method: "POST",
|
|
517
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
517
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
518
518
|
contentType: "application/json",
|
|
519
519
|
requestType: "json",
|
|
520
520
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -582,7 +582,7 @@ class VellumClient {
|
|
|
582
582
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
583
583
|
.predict, "v1/submit-completion-actuals"),
|
|
584
584
|
method: "POST",
|
|
585
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
585
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
586
586
|
contentType: "application/json",
|
|
587
587
|
requestType: "json",
|
|
588
588
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -645,7 +645,7 @@ class VellumClient {
|
|
|
645
645
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
646
646
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
647
647
|
method: "POST",
|
|
648
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
648
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
649
649
|
contentType: "application/json",
|
|
650
650
|
requestType: "json",
|
|
651
651
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -59,7 +59,7 @@ class AdHoc {
|
|
|
59
59
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
60
60
|
.default, "v1/ad-hoc/execute-prompt-stream"),
|
|
61
61
|
method: "POST",
|
|
62
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
requestType: "json",
|
|
65
65
|
body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -79,7 +79,7 @@ class Deployments {
|
|
|
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/deployments"),
|
|
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.15", "User-Agent": "vellum-ai/0.8.15", "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 Deployments {
|
|
|
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/deployments/${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.15", "User-Agent": "vellum-ai/0.8.15", "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,
|
|
@@ -185,7 +185,7 @@ class Deployments {
|
|
|
185
185
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
186
186
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
187
187
|
method: "GET",
|
|
188
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
188
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
189
189
|
contentType: "application/json",
|
|
190
190
|
requestType: "json",
|
|
191
191
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -239,7 +239,7 @@ class Deployments {
|
|
|
239
239
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
240
240
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
241
241
|
method: "PATCH",
|
|
242
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
242
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
243
243
|
contentType: "application/json",
|
|
244
244
|
requestType: "json",
|
|
245
245
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -314,7 +314,7 @@ class Deployments {
|
|
|
314
314
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
315
315
|
.default, "v1/deployments/provider-payload"),
|
|
316
316
|
method: "POST",
|
|
317
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
317
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
requestType: "json",
|
|
320
320
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|