vellum-ai 0.14.42 → 0.14.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +1 -1
- package/Client.js +12 -12
- package/api/resources/adHoc/client/Client.d.ts +1 -1
- package/api/resources/adHoc/client/Client.js +3 -3
- package/api/resources/containerImages/client/Client.d.ts +1 -1
- package/api/resources/containerImages/client/Client.js +5 -5
- package/api/resources/deployments/client/Client.d.ts +1 -1
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.d.ts +1 -1
- package/api/resources/documentIndexes/client/Client.js +9 -9
- package/api/resources/documents/client/Client.d.ts +1 -1
- package/api/resources/documents/client/Client.js +6 -6
- package/api/resources/folderEntities/client/Client.d.ts +1 -1
- package/api/resources/folderEntities/client/Client.js +3 -3
- package/api/resources/metricDefinitions/client/Client.d.ts +1 -1
- package/api/resources/metricDefinitions/client/Client.js +3 -3
- package/api/resources/mlModels/client/Client.d.ts +1 -1
- package/api/resources/mlModels/client/Client.js +2 -2
- package/api/resources/organizations/client/Client.d.ts +1 -1
- package/api/resources/organizations/client/Client.js +2 -2
- package/api/resources/prompts/client/Client.d.ts +28 -1
- package/api/resources/prompts/client/Client.js +79 -2
- package/api/resources/prompts/client/requests/PromptPush.d.ts +27 -0
- package/api/resources/prompts/client/requests/PromptPush.js +5 -0
- package/api/resources/prompts/client/requests/index.d.ts +1 -0
- package/api/resources/releaseReviews/client/Client.d.ts +1 -1
- package/api/resources/releaseReviews/client/Client.js +3 -3
- package/api/resources/sandboxes/client/Client.d.ts +1 -1
- package/api/resources/sandboxes/client/Client.js +4 -4
- package/api/resources/testSuiteRuns/client/Client.d.ts +1 -1
- package/api/resources/testSuiteRuns/client/Client.js +4 -4
- package/api/resources/testSuites/client/Client.d.ts +1 -1
- package/api/resources/testSuites/client/Client.js +5 -5
- package/api/resources/workflowDeployments/client/Client.d.ts +1 -1
- package/api/resources/workflowDeployments/client/Client.js +9 -9
- package/api/resources/workflowSandboxes/client/Client.d.ts +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +3 -3
- package/api/resources/workflows/client/Client.d.ts +1 -1
- package/api/resources/workflows/client/Client.js +3 -3
- package/api/resources/workspaceSecrets/client/Client.d.ts +1 -1
- package/api/resources/workspaceSecrets/client/Client.js +3 -3
- package/api/resources/workspaces/client/Client.d.ts +1 -1
- package/api/resources/workspaces/client/Client.js +2 -2
- package/api/types/DeploymentRead.d.ts +2 -2
- package/api/types/PromptPushResponse.d.ts +7 -0
- package/api/types/PromptPushResponse.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +12 -12
- package/dist/api/resources/adHoc/client/Client.d.ts +1 -1
- package/dist/api/resources/adHoc/client/Client.js +3 -3
- package/dist/api/resources/containerImages/client/Client.d.ts +1 -1
- package/dist/api/resources/containerImages/client/Client.js +5 -5
- package/dist/api/resources/deployments/client/Client.d.ts +1 -1
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.d.ts +1 -1
- package/dist/api/resources/documentIndexes/client/Client.js +9 -9
- package/dist/api/resources/documents/client/Client.d.ts +1 -1
- package/dist/api/resources/documents/client/Client.js +6 -6
- package/dist/api/resources/folderEntities/client/Client.d.ts +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +3 -3
- package/dist/api/resources/metricDefinitions/client/Client.d.ts +1 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
- package/dist/api/resources/mlModels/client/Client.d.ts +1 -1
- package/dist/api/resources/mlModels/client/Client.js +2 -2
- package/dist/api/resources/organizations/client/Client.d.ts +1 -1
- package/dist/api/resources/organizations/client/Client.js +2 -2
- package/dist/api/resources/prompts/client/Client.d.ts +28 -1
- package/dist/api/resources/prompts/client/Client.js +79 -2
- package/dist/api/resources/prompts/client/requests/PromptPush.d.ts +27 -0
- package/dist/api/resources/prompts/client/requests/PromptPush.js +5 -0
- package/dist/api/resources/prompts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/releaseReviews/client/Client.d.ts +1 -1
- package/dist/api/resources/releaseReviews/client/Client.js +3 -3
- package/dist/api/resources/sandboxes/client/Client.d.ts +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +4 -4
- package/dist/api/resources/testSuiteRuns/client/Client.d.ts +1 -1
- package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
- package/dist/api/resources/testSuites/client/Client.d.ts +1 -1
- package/dist/api/resources/testSuites/client/Client.js +5 -5
- package/dist/api/resources/workflowDeployments/client/Client.d.ts +1 -1
- package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
- package/dist/api/resources/workflowSandboxes/client/Client.d.ts +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +3 -3
- package/dist/api/resources/workflows/client/Client.d.ts +1 -1
- package/dist/api/resources/workflows/client/Client.js +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.d.ts +1 -1
- package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
- package/dist/api/resources/workspaces/client/Client.d.ts +1 -1
- package/dist/api/resources/workspaces/client/Client.js +2 -2
- package/dist/api/types/DeploymentRead.d.ts +2 -2
- package/dist/api/types/PromptPushResponse.d.ts +7 -0
- package/dist/api/types/PromptPushResponse.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/prompts/client/index.d.ts +1 -0
- package/dist/serialization/resources/prompts/client/index.js +17 -0
- package/dist/serialization/resources/prompts/client/requests/PromptPush.d.ts +15 -0
- package/dist/serialization/resources/prompts/client/requests/PromptPush.js +46 -0
- package/dist/serialization/resources/prompts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/prompts/client/requests/index.js +5 -0
- package/dist/serialization/resources/prompts/index.d.ts +1 -0
- package/dist/serialization/resources/prompts/index.js +17 -0
- package/dist/serialization/types/DeploymentRead.d.ts +1 -1
- package/dist/serialization/types/DeploymentRead.js +1 -1
- package/dist/serialization/types/PromptPushResponse.d.ts +13 -0
- package/dist/serialization/types/PromptPushResponse.js +44 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +81 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/prompts/client/index.d.ts +1 -0
- package/serialization/resources/prompts/client/index.js +17 -0
- package/serialization/resources/prompts/client/requests/PromptPush.d.ts +15 -0
- package/serialization/resources/prompts/client/requests/PromptPush.js +46 -0
- package/serialization/resources/prompts/client/requests/index.d.ts +1 -0
- package/serialization/resources/prompts/client/requests/index.js +5 -0
- package/serialization/resources/prompts/index.d.ts +1 -0
- package/serialization/resources/prompts/index.js +17 -0
- package/serialization/types/DeploymentRead.d.ts +1 -1
- package/serialization/types/DeploymentRead.js +1 -1
- package/serialization/types/PromptPushResponse.d.ts +13 -0
- package/serialization/types/PromptPushResponse.js +44 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -90,7 +90,7 @@ class WorkflowDeployments {
|
|
|
90
90
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
91
91
|
.default, "v1/workflow-deployments"),
|
|
92
92
|
method: "GET",
|
|
93
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
93
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
96
96
|
requestType: "json",
|
|
@@ -143,7 +143,7 @@ class WorkflowDeployments {
|
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -205,7 +205,7 @@ class WorkflowDeployments {
|
|
|
205
205
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
206
206
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
|
|
207
207
|
method: "GET",
|
|
208
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
208
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
209
209
|
contentType: "application/json",
|
|
210
210
|
queryParameters: _queryParams,
|
|
211
211
|
requestType: "json",
|
|
@@ -257,7 +257,7 @@ class WorkflowDeployments {
|
|
|
257
257
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
258
258
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
|
|
259
259
|
method: "GET",
|
|
260
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
260
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
261
261
|
contentType: "application/json",
|
|
262
262
|
requestType: "json",
|
|
263
263
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -310,7 +310,7 @@ class WorkflowDeployments {
|
|
|
310
310
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
311
311
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
312
312
|
method: "GET",
|
|
313
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
313
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
314
314
|
contentType: "application/json",
|
|
315
315
|
requestType: "json",
|
|
316
316
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -379,7 +379,7 @@ class WorkflowDeployments {
|
|
|
379
379
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
380
380
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
381
381
|
method: "GET",
|
|
382
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
382
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
383
383
|
contentType: "application/json",
|
|
384
384
|
queryParameters: _queryParams,
|
|
385
385
|
requestType: "json",
|
|
@@ -433,7 +433,7 @@ class WorkflowDeployments {
|
|
|
433
433
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
434
434
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
435
435
|
method: "GET",
|
|
436
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
436
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
437
437
|
contentType: "application/json",
|
|
438
438
|
requestType: "json",
|
|
439
439
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -487,7 +487,7 @@ class WorkflowDeployments {
|
|
|
487
487
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
488
488
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
489
489
|
method: "PATCH",
|
|
490
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
490
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
491
491
|
contentType: "application/json",
|
|
492
492
|
requestType: "json",
|
|
493
493
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -529,7 +529,7 @@ class WorkflowDeployments {
|
|
|
529
529
|
_getCustomAuthorizationHeaders() {
|
|
530
530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
531
531
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
532
|
-
return {
|
|
532
|
+
return { "X-API-KEY": apiKeyValue };
|
|
533
533
|
});
|
|
534
534
|
}
|
|
535
535
|
}
|
|
@@ -46,6 +46,6 @@ export declare class WorkflowSandboxes {
|
|
|
46
46
|
*/
|
|
47
47
|
listWorkflowSandboxExamples(request?: Vellum.ListWorkflowSandboxExamplesRequest, requestOptions?: WorkflowSandboxes.RequestOptions): Promise<Vellum.PaginatedWorkflowSandboxExampleList>;
|
|
48
48
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
49
|
-
|
|
49
|
+
"X-API-KEY": string;
|
|
50
50
|
}>;
|
|
51
51
|
}
|
|
@@ -74,7 +74,7 @@ class WorkflowSandboxes {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
76
76
|
method: "POST",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -143,7 +143,7 @@ class WorkflowSandboxes {
|
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, "v1/workflow-sandboxes/examples"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -183,7 +183,7 @@ class WorkflowSandboxes {
|
|
|
183
183
|
_getCustomAuthorizationHeaders() {
|
|
184
184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
185
185
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
186
|
-
return {
|
|
186
|
+
return { "X-API-KEY": apiKeyValue };
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -44,6 +44,6 @@ export declare class Workflows {
|
|
|
44
44
|
*/
|
|
45
45
|
push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): Promise<Vellum.WorkflowPushResponse>;
|
|
46
46
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
47
|
-
|
|
47
|
+
"X-API-KEY": string;
|
|
48
48
|
}>;
|
|
49
49
|
}
|
|
@@ -84,7 +84,7 @@ class Workflows {
|
|
|
84
84
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
85
85
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
86
86
|
method: "GET",
|
|
87
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
87
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
queryParameters: _queryParams,
|
|
90
90
|
requestType: "json",
|
|
@@ -159,7 +159,7 @@ class Workflows {
|
|
|
159
159
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
160
160
|
.default, "v1/workflows/push"),
|
|
161
161
|
method: "POST",
|
|
162
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
162
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
163
163
|
requestType: "file",
|
|
164
164
|
duplex: _maybeEncodedRequest.duplex,
|
|
165
165
|
body: _maybeEncodedRequest.body,
|
|
@@ -199,7 +199,7 @@ class Workflows {
|
|
|
199
199
|
_getCustomAuthorizationHeaders() {
|
|
200
200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
201
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
202
|
-
return {
|
|
202
|
+
return { "X-API-KEY": apiKeyValue };
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
}
|
|
@@ -47,6 +47,6 @@ export declare class WorkspaceSecrets {
|
|
|
47
47
|
*/
|
|
48
48
|
partialUpdate(id: string, request?: Vellum.PatchedWorkspaceSecretUpdateRequest, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
|
|
49
49
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
50
|
-
|
|
50
|
+
"X-API-KEY": string;
|
|
51
51
|
}>;
|
|
52
52
|
}
|
|
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
76
76
|
method: "GET",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
|
|
|
127
127
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
128
128
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
129
129
|
method: "PATCH",
|
|
130
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
130
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
requestType: "json",
|
|
133
133
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -169,7 +169,7 @@ class WorkspaceSecrets {
|
|
|
169
169
|
_getCustomAuthorizationHeaders() {
|
|
170
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
171
171
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
172
|
-
return {
|
|
172
|
+
return { "X-API-KEY": apiKeyValue };
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -73,7 +73,7 @@ class Workspaces {
|
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, "v1/workspaces/identity"),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
76
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.43", "User-Agent": "vellum-ai/0.14.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -112,7 +112,7 @@ class Workspaces {
|
|
|
112
112
|
_getCustomAuthorizationHeaders() {
|
|
113
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
114
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
115
|
-
return {
|
|
115
|
+
return { "X-API-KEY": apiKeyValue };
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -28,8 +28,8 @@ export interface DeploymentRead {
|
|
|
28
28
|
inputVariables: Vellum.VellumVariable[];
|
|
29
29
|
/** A human-readable description of the deployment */
|
|
30
30
|
description?: string;
|
|
31
|
-
/** Deprecated.
|
|
32
|
-
activeModelVersionIds
|
|
31
|
+
/** Deprecated. This now always returns a null value. */
|
|
32
|
+
activeModelVersionIds?: string[];
|
|
33
33
|
/** The ID of the history item associated with this Deployment's LATEST Release Tag */
|
|
34
34
|
lastDeployedHistoryItemId: string;
|
|
35
35
|
}
|
|
@@ -302,6 +302,7 @@ export * from "./PromptNodeResult";
|
|
|
302
302
|
export * from "./PromptNodeResultData";
|
|
303
303
|
export * from "./PromptOutput";
|
|
304
304
|
export * from "./PromptParameters";
|
|
305
|
+
export * from "./PromptPushResponse";
|
|
305
306
|
export * from "./PromptRequestChatHistoryInput";
|
|
306
307
|
export * from "./PromptRequestInput";
|
|
307
308
|
export * from "./PromptRequestJsonInput";
|
package/dist/api/types/index.js
CHANGED
|
@@ -318,6 +318,7 @@ __exportStar(require("./PromptNodeResult"), exports);
|
|
|
318
318
|
__exportStar(require("./PromptNodeResultData"), exports);
|
|
319
319
|
__exportStar(require("./PromptOutput"), exports);
|
|
320
320
|
__exportStar(require("./PromptParameters"), exports);
|
|
321
|
+
__exportStar(require("./PromptPushResponse"), exports);
|
|
321
322
|
__exportStar(require("./PromptRequestChatHistoryInput"), exports);
|
|
322
323
|
__exportStar(require("./PromptRequestInput"), exports);
|
|
323
324
|
__exportStar(require("./PromptRequestJsonInput"), exports);
|
|
@@ -20,6 +20,8 @@ export * from "./documents/client/requests";
|
|
|
20
20
|
export * from "./folderEntities/client/requests";
|
|
21
21
|
export * as metricDefinitions from "./metricDefinitions";
|
|
22
22
|
export * from "./metricDefinitions/client/requests";
|
|
23
|
+
export * as prompts from "./prompts";
|
|
24
|
+
export * from "./prompts/client/requests";
|
|
23
25
|
export * as sandboxes from "./sandboxes";
|
|
24
26
|
export * from "./sandboxes/client/requests";
|
|
25
27
|
export * as testSuiteRuns from "./testSuiteRuns";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspaceSecrets = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
39
|
+
exports.workspaceSecrets = exports.testSuiteRuns = exports.sandboxes = exports.prompts = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
40
40
|
exports.deployments = __importStar(require("./deployments"));
|
|
41
41
|
__exportStar(require("./deployments/types"), exports);
|
|
42
42
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -59,6 +59,8 @@ __exportStar(require("./documents/client/requests"), exports);
|
|
|
59
59
|
__exportStar(require("./folderEntities/client/requests"), exports);
|
|
60
60
|
exports.metricDefinitions = __importStar(require("./metricDefinitions"));
|
|
61
61
|
__exportStar(require("./metricDefinitions/client/requests"), exports);
|
|
62
|
+
exports.prompts = __importStar(require("./prompts"));
|
|
63
|
+
__exportStar(require("./prompts/client/requests"), exports);
|
|
62
64
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
63
65
|
__exportStar(require("./sandboxes/client/requests"), exports);
|
|
64
66
|
exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
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);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Vellum from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { PromptExecConfig } from "../../../../types/PromptExecConfig";
|
|
8
|
+
export declare const PromptPush: core.serialization.Schema<serializers.PromptPush.Raw, Vellum.PromptPush>;
|
|
9
|
+
export declare namespace PromptPush {
|
|
10
|
+
interface Raw {
|
|
11
|
+
exec_config: PromptExecConfig.Raw;
|
|
12
|
+
prompt_variant_id?: string | null;
|
|
13
|
+
prompt_sandbox_id?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PromptPush = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const PromptExecConfig_1 = require("../../../../types/PromptExecConfig");
|
|
42
|
+
exports.PromptPush = core.serialization.object({
|
|
43
|
+
execConfig: core.serialization.property("exec_config", PromptExecConfig_1.PromptExecConfig),
|
|
44
|
+
promptVariantId: core.serialization.property("prompt_variant_id", core.serialization.string().optional()),
|
|
45
|
+
promptSandboxId: core.serialization.property("prompt_sandbox_id", core.serialization.string().optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PromptPush } from "./PromptPush";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PromptPush = void 0;
|
|
4
|
+
var PromptPush_1 = require("./PromptPush");
|
|
5
|
+
Object.defineProperty(exports, "PromptPush", { enumerable: true, get: function () { return PromptPush_1.PromptPush; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./client"), exports);
|
|
@@ -19,7 +19,7 @@ export declare namespace DeploymentRead {
|
|
|
19
19
|
last_deployed_on: string;
|
|
20
20
|
input_variables: VellumVariable.Raw[];
|
|
21
21
|
description?: string | null;
|
|
22
|
-
active_model_version_ids
|
|
22
|
+
active_model_version_ids?: string[] | null;
|
|
23
23
|
last_deployed_history_item_id: string;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -51,6 +51,6 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
51
51
|
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date()),
|
|
52
52
|
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
53
53
|
description: core.serialization.string().optional(),
|
|
54
|
-
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string())),
|
|
54
|
+
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
55
55
|
lastDeployedHistoryItemId: core.serialization.property("last_deployed_history_item_id", core.serialization.string()),
|
|
56
56
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const PromptPushResponse: core.serialization.ObjectSchema<serializers.PromptPushResponse.Raw, Vellum.PromptPushResponse>;
|
|
8
|
+
export declare namespace PromptPushResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
prompt_variant_id: string;
|
|
11
|
+
prompt_sandbox_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PromptPushResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.PromptPushResponse = core.serialization.object({
|
|
42
|
+
promptVariantId: core.serialization.property("prompt_variant_id", core.serialization.string()),
|
|
43
|
+
promptSandboxId: core.serialization.property("prompt_sandbox_id", core.serialization.string()),
|
|
44
|
+
});
|
|
@@ -302,6 +302,7 @@ export * from "./PromptNodeResult";
|
|
|
302
302
|
export * from "./PromptNodeResultData";
|
|
303
303
|
export * from "./PromptOutput";
|
|
304
304
|
export * from "./PromptParameters";
|
|
305
|
+
export * from "./PromptPushResponse";
|
|
305
306
|
export * from "./PromptRequestChatHistoryInput";
|
|
306
307
|
export * from "./PromptRequestInput";
|
|
307
308
|
export * from "./PromptRequestJsonInput";
|
|
@@ -318,6 +318,7 @@ __exportStar(require("./PromptNodeResult"), exports);
|
|
|
318
318
|
__exportStar(require("./PromptNodeResultData"), exports);
|
|
319
319
|
__exportStar(require("./PromptOutput"), exports);
|
|
320
320
|
__exportStar(require("./PromptParameters"), exports);
|
|
321
|
+
__exportStar(require("./PromptPushResponse"), exports);
|
|
321
322
|
__exportStar(require("./PromptRequestChatHistoryInput"), exports);
|
|
322
323
|
__exportStar(require("./PromptRequestInput"), exports);
|
|
323
324
|
__exportStar(require("./PromptRequestJsonInput"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.43";
|
package/dist/version.js
CHANGED