vellum-ai 0.9.13 → 0.9.14
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 +4 -1
- package/.mock/definition/workflows.yml +6 -3
- package/.mock/openapi/openapi.yml +12 -3
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- 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 +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.d.ts +6 -5
- package/api/resources/workflows/client/Client.js +22 -10
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -3
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/WorkflowPushExecConfig.d.ts +1 -1
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- 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 +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.d.ts +6 -5
- package/dist/api/resources/workflows/client/Client.js +22 -10
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/WorkflowPushExecConfig.d.ts +1 -1
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/workflows/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/index.js +0 -1
- package/dist/serialization/types/WorkflowPushExecConfig.d.ts +1 -1
- package/dist/serialization/types/WorkflowPushExecConfig.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +11 -5
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/workflows/index.d.ts +0 -1
- package/serialization/resources/workflows/index.js +0 -1
- package/serialization/types/WorkflowPushExecConfig.d.ts +1 -1
- package/serialization/types/WorkflowPushExecConfig.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/workflows/client/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/client/index.js +0 -17
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -17
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +0 -38
- package/dist/serialization/resources/workflows/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/client/requests/index.js +0 -5
- package/serialization/resources/workflows/client/index.d.ts +0 -1
- package/serialization/resources/workflows/client/index.js +0 -17
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -17
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +0 -38
- package/serialization/resources/workflows/client/requests/index.d.ts +0 -1
- package/serialization/resources/workflows/client/requests/index.js +0 -5
|
@@ -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.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
154
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
208
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
194
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
192
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
259
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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.9.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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,
|
|
@@ -198,7 +198,7 @@ class WorkflowDeployments {
|
|
|
198
198
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
199
199
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
200
200
|
method: "GET",
|
|
201
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
201
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
queryParameters: _queryParams,
|
|
204
204
|
requestType: "json",
|
|
@@ -252,7 +252,7 @@ class WorkflowDeployments {
|
|
|
252
252
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
253
253
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
254
254
|
method: "GET",
|
|
255
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
255
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
requestType: "json",
|
|
258
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -306,7 +306,7 @@ class WorkflowDeployments {
|
|
|
306
306
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
307
307
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
308
308
|
method: "PATCH",
|
|
309
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
requestType: "json",
|
|
312
312
|
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.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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" }),
|
|
@@ -6,6 +6,8 @@ import * as environments from "../../../../environments";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import * as Vellum from "../../../index";
|
|
8
8
|
import * as stream from "stream";
|
|
9
|
+
import * as fs from "fs";
|
|
10
|
+
import { Blob } from "buffer";
|
|
9
11
|
export declare namespace Workflows {
|
|
10
12
|
interface Options {
|
|
11
13
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
@@ -31,18 +33,17 @@ export declare class Workflows {
|
|
|
31
33
|
/**
|
|
32
34
|
* An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
33
35
|
*
|
|
36
|
+
* @param {File | fs.ReadStream | Blob | undefined} artifact
|
|
34
37
|
* @param {Vellum.WorkflowPushRequest} request
|
|
35
38
|
* @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
39
|
*
|
|
37
40
|
* @example
|
|
38
|
-
* await client.workflows.push({
|
|
39
|
-
* execConfig:
|
|
40
|
-
* "key": "value"
|
|
41
|
-
* },
|
|
41
|
+
* await client.workflows.push(fs.createReadStream("/path/to/your/file"), {
|
|
42
|
+
* execConfig: "exec_config",
|
|
42
43
|
* label: "label"
|
|
43
44
|
* })
|
|
44
45
|
*/
|
|
45
|
-
push(request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): Promise<Vellum.WorkflowPushResponse>;
|
|
46
|
+
push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): Promise<Vellum.WorkflowPushResponse>;
|
|
46
47
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
47
48
|
X_API_KEY: string | undefined;
|
|
48
49
|
}>;
|
|
@@ -65,7 +65,7 @@ class Workflows {
|
|
|
65
65
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
66
66
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
67
67
|
method: "GET",
|
|
68
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
68
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
queryParameters: _queryParams,
|
|
71
71
|
requestType: "json",
|
|
@@ -106,28 +106,40 @@ class Workflows {
|
|
|
106
106
|
/**
|
|
107
107
|
* An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
108
108
|
*
|
|
109
|
+
* @param {File | fs.ReadStream | Blob | undefined} artifact
|
|
109
110
|
* @param {Vellum.WorkflowPushRequest} request
|
|
110
111
|
* @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
|
|
111
112
|
*
|
|
112
113
|
* @example
|
|
113
|
-
* await client.workflows.push({
|
|
114
|
-
* execConfig:
|
|
115
|
-
* "key": "value"
|
|
116
|
-
* },
|
|
114
|
+
* await client.workflows.push(fs.createReadStream("/path/to/your/file"), {
|
|
115
|
+
* execConfig: "exec_config",
|
|
117
116
|
* label: "label"
|
|
118
117
|
* })
|
|
119
118
|
*/
|
|
120
|
-
push(request, requestOptions) {
|
|
119
|
+
push(artifact, request, requestOptions) {
|
|
121
120
|
var _a;
|
|
122
121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
const _request = yield core.newFormData();
|
|
123
|
+
yield _request.append("exec_config", request.execConfig);
|
|
124
|
+
yield _request.append("label", request.label);
|
|
125
|
+
if (request.workflowSandboxId != null) {
|
|
126
|
+
yield _request.append("workflow_sandbox_id", request.workflowSandboxId);
|
|
127
|
+
}
|
|
128
|
+
if (request.deploymentConfig != null) {
|
|
129
|
+
yield _request.append("deployment_config", JSON.stringify(request.deploymentConfig));
|
|
130
|
+
}
|
|
131
|
+
if (artifact != null) {
|
|
132
|
+
yield _request.appendFile("artifact", artifact);
|
|
133
|
+
}
|
|
134
|
+
const _maybeEncodedRequest = yield _request.getRequest();
|
|
123
135
|
const _response = yield core.fetcher({
|
|
124
136
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
125
137
|
.default, "v1/workflows/push"),
|
|
126
138
|
method: "POST",
|
|
127
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
body:
|
|
139
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
140
|
+
requestType: "file",
|
|
141
|
+
duplex: _maybeEncodedRequest.duplex,
|
|
142
|
+
body: _maybeEncodedRequest.body,
|
|
131
143
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
132
144
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
133
145
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -5,13 +5,12 @@ import * as Vellum from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* execConfig:
|
|
9
|
-
* "key": "value"
|
|
10
|
-
* },
|
|
8
|
+
* execConfig: "exec_config",
|
|
11
9
|
* label: "label"
|
|
12
10
|
* }
|
|
13
11
|
*/
|
|
14
12
|
export interface WorkflowPushRequest {
|
|
13
|
+
/** The execution configuration of the workflow. */
|
|
15
14
|
execConfig: Vellum.WorkflowPushExecConfig;
|
|
16
15
|
label: string;
|
|
17
16
|
workflowSandboxId?: string;
|
|
@@ -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.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "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,
|
|
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
119
119
|
method: "PATCH",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.14", "User-Agent": "vellum-ai/0.9.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
requestType: "json",
|
|
123
123
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -27,6 +27,5 @@ export * from "./testSuiteRuns/client/requests";
|
|
|
27
27
|
export * from "./workflowDeployments/client/requests";
|
|
28
28
|
export * as workflowSandboxes from "./workflowSandboxes";
|
|
29
29
|
export * from "./workflowSandboxes/client/requests";
|
|
30
|
-
export * from "./workflows/client/requests";
|
|
31
30
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
32
31
|
export * from "./workspaceSecrets/client/requests";
|
|
@@ -56,6 +56,5 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
|
56
56
|
__exportStar(require("./workflowDeployments/client/requests"), exports);
|
|
57
57
|
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
58
58
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
59
|
-
__exportStar(require("./workflows/client/requests"), exports);
|
|
60
59
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
61
60
|
__exportStar(require("./workspaceSecrets/client/requests"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowPushExecConfig: core.serialization.Schema<serializers.WorkflowPushExecConfig.Raw, Vellum.WorkflowPushExecConfig>;
|
|
8
8
|
export declare namespace WorkflowPushExecConfig {
|
|
9
|
-
type Raw =
|
|
9
|
+
type Raw = string;
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowPushExecConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.WorkflowPushExecConfig = core.serialization.
|
|
31
|
+
exports.WorkflowPushExecConfig = core.serialization.string();
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.14";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3270,7 +3270,7 @@ await client.workflows.pull("string", {
|
|
|
3270
3270
|
</dl>
|
|
3271
3271
|
</details>
|
|
3272
3272
|
|
|
3273
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">push</a>({ ...params }) -> Vellum.WorkflowPushResponse</code></summary>
|
|
3273
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">push</a>(artifact, { ...params }) -> Vellum.WorkflowPushResponse</code></summary>
|
|
3274
3274
|
<dl>
|
|
3275
3275
|
<dd>
|
|
3276
3276
|
|
|
@@ -3298,10 +3298,8 @@ An internal-only endpoint that's subject to breaking changes without notice. Not
|
|
|
3298
3298
|
<dd>
|
|
3299
3299
|
|
|
3300
3300
|
```typescript
|
|
3301
|
-
await client.workflows.push({
|
|
3302
|
-
execConfig:
|
|
3303
|
-
key: "value",
|
|
3304
|
-
},
|
|
3301
|
+
await client.workflows.push(fs.createReadStream("/path/to/your/file"), {
|
|
3302
|
+
execConfig: "exec_config",
|
|
3305
3303
|
label: "label",
|
|
3306
3304
|
});
|
|
3307
3305
|
```
|
|
@@ -3319,6 +3317,14 @@ await client.workflows.push({
|
|
|
3319
3317
|
<dl>
|
|
3320
3318
|
<dd>
|
|
3321
3319
|
|
|
3320
|
+
**artifact:** `File | fs.ReadStream | Blob | undefined`
|
|
3321
|
+
|
|
3322
|
+
</dd>
|
|
3323
|
+
</dl>
|
|
3324
|
+
|
|
3325
|
+
<dl>
|
|
3326
|
+
<dd>
|
|
3327
|
+
|
|
3322
3328
|
**request:** `Vellum.WorkflowPushRequest`
|
|
3323
3329
|
|
|
3324
3330
|
</dd>
|
|
@@ -27,6 +27,5 @@ export * from "./testSuiteRuns/client/requests";
|
|
|
27
27
|
export * from "./workflowDeployments/client/requests";
|
|
28
28
|
export * as workflowSandboxes from "./workflowSandboxes";
|
|
29
29
|
export * from "./workflowSandboxes/client/requests";
|
|
30
|
-
export * from "./workflows/client/requests";
|
|
31
30
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
32
31
|
export * from "./workspaceSecrets/client/requests";
|
|
@@ -56,6 +56,5 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
|
56
56
|
__exportStar(require("./workflowDeployments/client/requests"), exports);
|
|
57
57
|
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
58
58
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
59
|
-
__exportStar(require("./workflows/client/requests"), exports);
|
|
60
59
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
61
60
|
__exportStar(require("./workspaceSecrets/client/requests"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowPushExecConfig: core.serialization.Schema<serializers.WorkflowPushExecConfig.Raw, Vellum.WorkflowPushExecConfig>;
|
|
8
8
|
export declare namespace WorkflowPushExecConfig {
|
|
9
|
-
type Raw =
|
|
9
|
+
type Raw = string;
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowPushExecConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.WorkflowPushExecConfig = core.serialization.
|
|
31
|
+
exports.WorkflowPushExecConfig = core.serialization.string();
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.14";
|
package/version.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Vellum from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
|
|
8
|
-
import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
|
|
9
|
-
export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
|
|
10
|
-
export declare namespace WorkflowPushRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
exec_config: WorkflowPushExecConfig.Raw;
|
|
13
|
-
label: string;
|
|
14
|
-
workflow_sandbox_id?: string | null;
|
|
15
|
-
deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.WorkflowPushRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../core"));
|
|
31
|
-
const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
|
|
32
|
-
const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
|
|
33
|
-
exports.WorkflowPushRequest = core.serialization.object({
|
|
34
|
-
execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
|
|
35
|
-
label: core.serialization.string(),
|
|
36
|
-
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
|
|
37
|
-
deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
|
|
38
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WorkflowPushRequest } from "./WorkflowPushRequest";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkflowPushRequest = void 0;
|
|
4
|
-
var WorkflowPushRequest_1 = require("./WorkflowPushRequest");
|
|
5
|
-
Object.defineProperty(exports, "WorkflowPushRequest", { enumerable: true, get: function () { return WorkflowPushRequest_1.WorkflowPushRequest; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Vellum from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
|
|
8
|
-
import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
|
|
9
|
-
export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
|
|
10
|
-
export declare namespace WorkflowPushRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
exec_config: WorkflowPushExecConfig.Raw;
|
|
13
|
-
label: string;
|
|
14
|
-
workflow_sandbox_id?: string | null;
|
|
15
|
-
deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
|
|
16
|
-
}
|
|
17
|
-
}
|