vellum-ai 0.13.21 → 0.13.22
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 +10 -0
- package/Client.js +63 -10
- package/api/client/requests/ExecuteApiRequest.d.ts +17 -0
- package/api/client/requests/ExecuteApiRequest.js +5 -0
- package/api/client/requests/index.d.ts +1 -0
- 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 +7 -7
- 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 +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/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 +6 -6
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ExecuteApiRequestBearerToken.d.ts +5 -0
- package/api/types/ExecuteApiRequestBearerToken.js +5 -0
- package/api/types/ExecuteApiRequestBody.d.ts +4 -0
- package/api/types/ExecuteApiRequestBody.js +5 -0
- package/api/types/ExecuteApiRequestHeadersValue.d.ts +5 -0
- package/api/types/ExecuteApiRequestHeadersValue.js +5 -0
- package/api/types/ExecuteApiResponse.d.ts +9 -0
- package/api/types/ExecuteApiResponse.js +5 -0
- package/api/types/MethodEnum.d.ts +18 -0
- package/api/types/MethodEnum.js +13 -0
- package/api/types/VellumSecret.d.ts +6 -0
- package/api/types/VellumSecret.js +5 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/dist/Client.d.ts +10 -0
- package/dist/Client.js +63 -10
- package/dist/api/client/requests/ExecuteApiRequest.d.ts +17 -0
- package/dist/api/client/requests/ExecuteApiRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +1 -0
- 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 +7 -7
- 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 +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/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 +6 -6
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ExecuteApiRequestBearerToken.d.ts +5 -0
- package/dist/api/types/ExecuteApiRequestBearerToken.js +5 -0
- package/dist/api/types/ExecuteApiRequestBody.d.ts +4 -0
- package/dist/api/types/ExecuteApiRequestBody.js +5 -0
- package/dist/api/types/ExecuteApiRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/ExecuteApiRequestHeadersValue.js +5 -0
- package/dist/api/types/ExecuteApiResponse.d.ts +9 -0
- package/dist/api/types/ExecuteApiResponse.js +5 -0
- package/dist/api/types/MethodEnum.d.ts +18 -0
- package/dist/api/types/MethodEnum.js +13 -0
- package/dist/api/types/VellumSecret.d.ts +6 -0
- package/dist/api/types/VellumSecret.js +5 -0
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/serialization/client/requests/ExecuteApiRequest.d.ts +20 -0
- package/dist/serialization/client/requests/ExecuteApiRequest.js +51 -0
- package/dist/serialization/client/requests/index.d.ts +1 -0
- package/dist/serialization/client/requests/index.js +3 -1
- package/dist/serialization/types/ExecuteApiRequestBearerToken.d.ts +11 -0
- package/dist/serialization/types/ExecuteApiRequestBearerToken.js +42 -0
- package/dist/serialization/types/ExecuteApiRequestBody.d.ts +10 -0
- package/dist/serialization/types/ExecuteApiRequestBody.js +44 -0
- package/dist/serialization/types/ExecuteApiRequestHeadersValue.d.ts +11 -0
- package/dist/serialization/types/ExecuteApiRequestHeadersValue.js +42 -0
- package/dist/serialization/types/ExecuteApiResponse.d.ts +15 -0
- package/dist/serialization/types/ExecuteApiResponse.js +46 -0
- package/dist/serialization/types/MethodEnum.d.ts +10 -0
- package/dist/serialization/types/MethodEnum.js +41 -0
- package/dist/serialization/types/VellumSecret.d.ts +12 -0
- package/dist/serialization/types/VellumSecret.js +43 -0
- package/dist/serialization/types/index.d.ts +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteApiRequest.d.ts +20 -0
- package/serialization/client/requests/ExecuteApiRequest.js +51 -0
- package/serialization/client/requests/index.d.ts +1 -0
- package/serialization/client/requests/index.js +3 -1
- package/serialization/types/ExecuteApiRequestBearerToken.d.ts +11 -0
- package/serialization/types/ExecuteApiRequestBearerToken.js +42 -0
- package/serialization/types/ExecuteApiRequestBody.d.ts +10 -0
- package/serialization/types/ExecuteApiRequestBody.js +44 -0
- package/serialization/types/ExecuteApiRequestHeadersValue.d.ts +11 -0
- package/serialization/types/ExecuteApiRequestHeadersValue.js +42 -0
- package/serialization/types/ExecuteApiResponse.d.ts +15 -0
- package/serialization/types/ExecuteApiResponse.js +46 -0
- package/serialization/types/MethodEnum.d.ts +10 -0
- package/serialization/types/MethodEnum.js +41 -0
- package/serialization/types/VellumSecret.d.ts +12 -0
- package/serialization/types/VellumSecret.js +43 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.js +6 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.mock/definition/__package__.yml +0 -6819
- package/.mock/definition/adHoc.yml +0 -64
- package/.mock/definition/api.yml +0 -17
- package/.mock/definition/containerImages.yml +0 -148
- package/.mock/definition/deployments.yml +0 -372
- package/.mock/definition/documentIndexes.yml +0 -448
- package/.mock/definition/documents.yml +0 -281
- package/.mock/definition/folderEntities.yml +0 -135
- package/.mock/definition/metricDefinitions.yml +0 -96
- package/.mock/definition/mlModels.yml +0 -36
- package/.mock/definition/organizations.yml +0 -29
- package/.mock/definition/sandboxes.yml +0 -205
- package/.mock/definition/testSuiteRuns.yml +0 -163
- package/.mock/definition/testSuites.yml +0 -192
- package/.mock/definition/workflowDeployments.yml +0 -299
- package/.mock/definition/workflowSandboxes.yml +0 -94
- package/.mock/definition/workflows.yml +0 -80
- package/.mock/definition/workspaceSecrets.yml +0 -78
- package/.mock/definition/workspaces.yml +0 -29
- package/.mock/fern.config.json +0 -4
- package/.mock/openapi/openapi.yml +0 -12271
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExecuteApiRequestBody"), exports);
|
|
18
|
+
__exportStar(require("./ExecuteApiRequestHeadersValue"), exports);
|
|
19
|
+
__exportStar(require("./ExecuteApiRequestBearerToken"), exports);
|
|
17
20
|
__exportStar(require("./AdHocExecutePromptEvent"), exports);
|
|
18
21
|
__exportStar(require("./AdHocExpandMeta"), exports);
|
|
19
22
|
__exportStar(require("./AdHocFulfilledPromptExecutionMeta"), exports);
|
|
@@ -100,6 +103,7 @@ __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
|
100
103
|
__exportStar(require("./ErrorInput"), exports);
|
|
101
104
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
102
105
|
__exportStar(require("./ErrorVellumValueRequest"), exports);
|
|
106
|
+
__exportStar(require("./ExecuteApiResponse"), exports);
|
|
103
107
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
104
108
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
105
109
|
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
@@ -193,6 +197,7 @@ __exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
|
193
197
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
194
198
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
195
199
|
__exportStar(require("./MetadataFiltersRequest"), exports);
|
|
200
|
+
__exportStar(require("./MethodEnum"), exports);
|
|
196
201
|
__exportStar(require("./MetricDefinitionExecution"), exports);
|
|
197
202
|
__exportStar(require("./MetricDefinitionHistoryItem"), exports);
|
|
198
203
|
__exportStar(require("./MetricDefinitionInput"), exports);
|
|
@@ -447,6 +452,7 @@ __exportStar(require("./VellumErrorCodeEnum"), exports);
|
|
|
447
452
|
__exportStar(require("./VellumErrorRequest"), exports);
|
|
448
453
|
__exportStar(require("./VellumImage"), exports);
|
|
449
454
|
__exportStar(require("./VellumImageRequest"), exports);
|
|
455
|
+
__exportStar(require("./VellumSecret"), exports);
|
|
450
456
|
__exportStar(require("./VellumValue"), exports);
|
|
451
457
|
__exportStar(require("./VellumValueLogicalConditionGroupRequest"), exports);
|
|
452
458
|
__exportStar(require("./VellumValueLogicalConditionRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.13.
|
|
1
|
+
export declare const SDK_VERSION = "0.13.22";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
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 { MethodEnum } from "../../types/MethodEnum";
|
|
8
|
+
import { ExecuteApiRequestBody } from "../../types/ExecuteApiRequestBody";
|
|
9
|
+
import { ExecuteApiRequestHeadersValue } from "../../types/ExecuteApiRequestHeadersValue";
|
|
10
|
+
import { ExecuteApiRequestBearerToken } from "../../types/ExecuteApiRequestBearerToken";
|
|
11
|
+
export declare const ExecuteApiRequest: core.serialization.Schema<serializers.ExecuteApiRequest.Raw, Vellum.ExecuteApiRequest>;
|
|
12
|
+
export declare namespace ExecuteApiRequest {
|
|
13
|
+
interface Raw {
|
|
14
|
+
url: string;
|
|
15
|
+
method?: MethodEnum.Raw | null;
|
|
16
|
+
body?: ExecuteApiRequestBody.Raw | null;
|
|
17
|
+
headers?: Record<string, ExecuteApiRequestHeadersValue.Raw> | null;
|
|
18
|
+
bearer_token?: ExecuteApiRequestBearerToken.Raw | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.ExecuteApiRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../core"));
|
|
41
|
+
const MethodEnum_1 = require("../../types/MethodEnum");
|
|
42
|
+
const ExecuteApiRequestBody_1 = require("../../types/ExecuteApiRequestBody");
|
|
43
|
+
const ExecuteApiRequestHeadersValue_1 = require("../../types/ExecuteApiRequestHeadersValue");
|
|
44
|
+
const ExecuteApiRequestBearerToken_1 = require("../../types/ExecuteApiRequestBearerToken");
|
|
45
|
+
exports.ExecuteApiRequest = core.serialization.object({
|
|
46
|
+
url: core.serialization.string(),
|
|
47
|
+
method: MethodEnum_1.MethodEnum.optional(),
|
|
48
|
+
body: ExecuteApiRequestBody_1.ExecuteApiRequestBody.optional(),
|
|
49
|
+
headers: core.serialization.record(core.serialization.string(), ExecuteApiRequestHeadersValue_1.ExecuteApiRequestHeadersValue).optional(),
|
|
50
|
+
bearerToken: core.serialization.property("bearer_token", ExecuteApiRequestBearerToken_1.ExecuteApiRequestBearerToken.optional()),
|
|
51
|
+
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubmitWorkflowExecutionActualsRequest = exports.SubmitCompletionActualsRequest = exports.SearchRequestBodyRequest = exports.GenerateStreamBodyRequest = exports.GenerateBodyRequest = exports.ExecuteWorkflowStreamRequest = exports.ExecuteWorkflowRequest = exports.ExecutePromptStreamRequest = exports.ExecutePromptRequest = exports.CodeExecutor = void 0;
|
|
3
|
+
exports.SubmitWorkflowExecutionActualsRequest = exports.SubmitCompletionActualsRequest = exports.SearchRequestBodyRequest = exports.GenerateStreamBodyRequest = exports.GenerateBodyRequest = exports.ExecuteWorkflowStreamRequest = exports.ExecuteWorkflowRequest = exports.ExecutePromptStreamRequest = exports.ExecutePromptRequest = exports.CodeExecutor = exports.ExecuteApiRequest = void 0;
|
|
4
|
+
var ExecuteApiRequest_1 = require("./ExecuteApiRequest");
|
|
5
|
+
Object.defineProperty(exports, "ExecuteApiRequest", { enumerable: true, get: function () { return ExecuteApiRequest_1.ExecuteApiRequest; } });
|
|
4
6
|
var CodeExecutor_1 = require("./CodeExecutor");
|
|
5
7
|
Object.defineProperty(exports, "CodeExecutor", { enumerable: true, get: function () { return CodeExecutor_1.CodeExecutor; } });
|
|
6
8
|
var ExecutePromptRequest_1 = require("./ExecutePromptRequest");
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { VellumSecret } from "./VellumSecret";
|
|
8
|
+
export declare const ExecuteApiRequestBearerToken: core.serialization.Schema<serializers.ExecuteApiRequestBearerToken.Raw, Vellum.ExecuteApiRequestBearerToken>;
|
|
9
|
+
export declare namespace ExecuteApiRequestBearerToken {
|
|
10
|
+
type Raw = string | VellumSecret.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.ExecuteApiRequestBearerToken = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumSecret_1 = require("./VellumSecret");
|
|
42
|
+
exports.ExecuteApiRequestBearerToken = core.serialization.undiscriminatedUnion([core.serialization.string(), VellumSecret_1.VellumSecret]);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ExecuteApiRequestBody: core.serialization.Schema<serializers.ExecuteApiRequestBody.Raw, Vellum.ExecuteApiRequestBody>;
|
|
8
|
+
export declare namespace ExecuteApiRequestBody {
|
|
9
|
+
type Raw = string | Record<string, unknown>;
|
|
10
|
+
}
|
|
@@ -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.ExecuteApiRequestBody = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ExecuteApiRequestBody = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.string(),
|
|
43
|
+
core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { VellumSecret } from "./VellumSecret";
|
|
8
|
+
export declare const ExecuteApiRequestHeadersValue: core.serialization.Schema<serializers.ExecuteApiRequestHeadersValue.Raw, Vellum.ExecuteApiRequestHeadersValue>;
|
|
9
|
+
export declare namespace ExecuteApiRequestHeadersValue {
|
|
10
|
+
type Raw = string | VellumSecret.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.ExecuteApiRequestHeadersValue = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VellumSecret_1 = require("./VellumSecret");
|
|
42
|
+
exports.ExecuteApiRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), VellumSecret_1.VellumSecret]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ExecuteApiResponse: core.serialization.ObjectSchema<serializers.ExecuteApiResponse.Raw, Vellum.ExecuteApiResponse>;
|
|
8
|
+
export declare namespace ExecuteApiResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
status_code: number;
|
|
11
|
+
text: string;
|
|
12
|
+
json: Record<string, unknown>;
|
|
13
|
+
headers: Record<string, string>;
|
|
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.ExecuteApiResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ExecuteApiResponse = core.serialization.object({
|
|
42
|
+
statusCode: core.serialization.property("status_code", core.serialization.number()),
|
|
43
|
+
text: core.serialization.string(),
|
|
44
|
+
json: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
45
|
+
headers: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 MethodEnum: core.serialization.Schema<serializers.MethodEnum.Raw, Vellum.MethodEnum>;
|
|
8
|
+
export declare namespace MethodEnum {
|
|
9
|
+
type Raw = "POST" | "GET" | "PATCH" | "PUT" | "DELETE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.MethodEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.MethodEnum = core.serialization.enum_(["POST", "GET", "PATCH", "PUT", "DELETE"]);
|
|
@@ -0,0 +1,12 @@
|
|
|
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 VellumSecret: core.serialization.ObjectSchema<serializers.VellumSecret.Raw, Vellum.VellumSecret>;
|
|
8
|
+
export declare namespace VellumSecret {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.VellumSecret = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.VellumSecret = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./ExecuteApiRequestBody";
|
|
2
|
+
export * from "./ExecuteApiRequestHeadersValue";
|
|
3
|
+
export * from "./ExecuteApiRequestBearerToken";
|
|
1
4
|
export * from "./AdHocExecutePromptEvent";
|
|
2
5
|
export * from "./AdHocExpandMeta";
|
|
3
6
|
export * from "./AdHocFulfilledPromptExecutionMeta";
|
|
@@ -84,6 +87,7 @@ export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
|
84
87
|
export * from "./ErrorInput";
|
|
85
88
|
export * from "./ErrorVellumValue";
|
|
86
89
|
export * from "./ErrorVellumValueRequest";
|
|
90
|
+
export * from "./ExecuteApiResponse";
|
|
87
91
|
export * from "./ExecutePromptEvent";
|
|
88
92
|
export * from "./ExecutePromptResponse";
|
|
89
93
|
export * from "./ExecuteWorkflowResponse";
|
|
@@ -177,6 +181,7 @@ export * from "./MetadataFilterConfigRequest";
|
|
|
177
181
|
export * from "./MetadataFilterRuleCombinator";
|
|
178
182
|
export * from "./MetadataFilterRuleRequest";
|
|
179
183
|
export * from "./MetadataFiltersRequest";
|
|
184
|
+
export * from "./MethodEnum";
|
|
180
185
|
export * from "./MetricDefinitionExecution";
|
|
181
186
|
export * from "./MetricDefinitionHistoryItem";
|
|
182
187
|
export * from "./MetricDefinitionInput";
|
|
@@ -431,6 +436,7 @@ export * from "./VellumErrorCodeEnum";
|
|
|
431
436
|
export * from "./VellumErrorRequest";
|
|
432
437
|
export * from "./VellumImage";
|
|
433
438
|
export * from "./VellumImageRequest";
|
|
439
|
+
export * from "./VellumSecret";
|
|
434
440
|
export * from "./VellumValue";
|
|
435
441
|
export * from "./VellumValueLogicalConditionGroupRequest";
|
|
436
442
|
export * from "./VellumValueLogicalConditionRequest";
|
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExecuteApiRequestBody"), exports);
|
|
18
|
+
__exportStar(require("./ExecuteApiRequestHeadersValue"), exports);
|
|
19
|
+
__exportStar(require("./ExecuteApiRequestBearerToken"), exports);
|
|
17
20
|
__exportStar(require("./AdHocExecutePromptEvent"), exports);
|
|
18
21
|
__exportStar(require("./AdHocExpandMeta"), exports);
|
|
19
22
|
__exportStar(require("./AdHocFulfilledPromptExecutionMeta"), exports);
|
|
@@ -100,6 +103,7 @@ __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
|
100
103
|
__exportStar(require("./ErrorInput"), exports);
|
|
101
104
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
102
105
|
__exportStar(require("./ErrorVellumValueRequest"), exports);
|
|
106
|
+
__exportStar(require("./ExecuteApiResponse"), exports);
|
|
103
107
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
104
108
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
105
109
|
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
@@ -193,6 +197,7 @@ __exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
|
193
197
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
194
198
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
195
199
|
__exportStar(require("./MetadataFiltersRequest"), exports);
|
|
200
|
+
__exportStar(require("./MethodEnum"), exports);
|
|
196
201
|
__exportStar(require("./MetricDefinitionExecution"), exports);
|
|
197
202
|
__exportStar(require("./MetricDefinitionHistoryItem"), exports);
|
|
198
203
|
__exportStar(require("./MetricDefinitionInput"), exports);
|
|
@@ -447,6 +452,7 @@ __exportStar(require("./VellumErrorCodeEnum"), exports);
|
|
|
447
452
|
__exportStar(require("./VellumErrorRequest"), exports);
|
|
448
453
|
__exportStar(require("./VellumImage"), exports);
|
|
449
454
|
__exportStar(require("./VellumImageRequest"), exports);
|
|
455
|
+
__exportStar(require("./VellumSecret"), exports);
|
|
450
456
|
__exportStar(require("./VellumValue"), exports);
|
|
451
457
|
__exportStar(require("./VellumValueLogicalConditionGroupRequest"), exports);
|
|
452
458
|
__exportStar(require("./VellumValueLogicalConditionRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.13.
|
|
1
|
+
export declare const SDK_VERSION = "0.13.22";
|
package/version.js
CHANGED