vellum-ai 1.7.13 → 1.7.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/Client.d.ts +3 -0
- package/Client.js +48 -43
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/environments/client/Client.d.ts +45 -0
- package/api/resources/environments/client/Client.js +132 -0
- package/api/resources/environments/client/index.d.ts +1 -0
- package/api/resources/environments/client/index.js +2 -0
- package/api/resources/environments/index.d.ts +1 -0
- package/api/resources/environments/index.js +17 -0
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/integrationAuthConfigs/client/Client.js +1 -1
- package/api/resources/integrationProviders/client/Client.js +2 -2
- package/api/resources/integrations/client/Client.js +4 -4
- 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/prompts/client/Client.js +2 -2
- 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 +10 -10
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +9 -4
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/DatasetRowPushRequest.d.ts +7 -0
- package/api/types/DatasetRowPushRequest.js +5 -0
- package/api/types/EnvironmentDisplayConfig.d.ts +6 -0
- package/api/types/EnvironmentDisplayConfig.js +5 -0
- package/api/types/EnvironmentRead.d.ts +10 -0
- package/api/types/EnvironmentRead.js +5 -0
- package/api/types/IntegrationName.d.ts +31 -1
- package/api/types/IntegrationName.js +15 -0
- package/api/types/VellumDocument.d.ts +1 -0
- package/api/types/VellumDocumentRequest.d.ts +1 -0
- package/api/types/VellumImage.d.ts +1 -0
- package/api/types/VellumImageRequest.d.ts +1 -0
- package/api/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +48 -43
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/environments/client/Client.d.ts +45 -0
- package/dist/api/resources/environments/client/Client.js +132 -0
- package/dist/api/resources/environments/client/index.d.ts +1 -0
- package/dist/api/resources/environments/client/index.js +2 -0
- package/dist/api/resources/environments/index.d.ts +1 -0
- package/dist/api/resources/environments/index.js +17 -0
- package/dist/api/resources/events/client/Client.js +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/integrationAuthConfigs/client/Client.js +1 -1
- package/dist/api/resources/integrationProviders/client/Client.js +2 -2
- package/dist/api/resources/integrations/client/Client.js +4 -4
- 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/prompts/client/Client.js +2 -2
- 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 +10 -10
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +9 -4
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/DatasetRowPushRequest.d.ts +7 -0
- package/dist/api/types/DatasetRowPushRequest.js +5 -0
- package/dist/api/types/EnvironmentDisplayConfig.d.ts +6 -0
- package/dist/api/types/EnvironmentDisplayConfig.js +5 -0
- package/dist/api/types/EnvironmentRead.d.ts +10 -0
- package/dist/api/types/EnvironmentRead.js +5 -0
- package/dist/api/types/IntegrationName.d.ts +31 -1
- package/dist/api/types/IntegrationName.js +15 -0
- package/dist/api/types/VellumDocument.d.ts +1 -0
- package/dist/api/types/VellumDocumentRequest.d.ts +1 -0
- package/dist/api/types/VellumImage.d.ts +1 -0
- package/dist/api/types/VellumImageRequest.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/DatasetRowPushRequest.d.ts +13 -0
- package/dist/serialization/types/DatasetRowPushRequest.js +44 -0
- package/dist/serialization/types/EnvironmentDisplayConfig.d.ts +12 -0
- package/dist/serialization/types/EnvironmentDisplayConfig.js +43 -0
- package/dist/serialization/types/EnvironmentRead.d.ts +16 -0
- package/dist/serialization/types/EnvironmentRead.js +47 -0
- package/dist/serialization/types/IntegrationName.d.ts +1 -1
- package/dist/serialization/types/IntegrationName.js +15 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledBody.js +1 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +57 -0
- package/serialization/types/DatasetRowPushRequest.d.ts +13 -0
- package/serialization/types/DatasetRowPushRequest.js +44 -0
- package/serialization/types/EnvironmentDisplayConfig.d.ts +12 -0
- package/serialization/types/EnvironmentDisplayConfig.js +43 -0
- package/serialization/types/EnvironmentRead.d.ts +16 -0
- package/serialization/types/EnvironmentRead.js +47 -0
- package/serialization/types/IntegrationName.d.ts +1 -1
- package/serialization/types/IntegrationName.js +15 -0
- package/serialization/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/serialization/types/WorkflowExecutionFulfilledBody.js +1 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -76,6 +76,7 @@ export * from "./ContainerImageContainerImageTag";
|
|
|
76
76
|
export * from "./ContainerImageRead";
|
|
77
77
|
export * from "./CreateTestSuiteTestCaseRequest";
|
|
78
78
|
export * from "./CreateWorkflowEventRequest";
|
|
79
|
+
export * from "./DatasetRowPushRequest";
|
|
79
80
|
export * from "./DelimiterChunkerConfig";
|
|
80
81
|
export * from "./DelimiterChunkerConfigRequest";
|
|
81
82
|
export * from "./DelimiterChunking";
|
|
@@ -107,7 +108,9 @@ export * from "./DocumentVellumValueRequest";
|
|
|
107
108
|
export * from "./EnrichedNormalizedCompletion";
|
|
108
109
|
export * from "./EntityStatus";
|
|
109
110
|
export * from "./EntityVisibility";
|
|
111
|
+
export * from "./EnvironmentDisplayConfig";
|
|
110
112
|
export * from "./EnvironmentEnum";
|
|
113
|
+
export * from "./EnvironmentRead";
|
|
111
114
|
export * from "./EphemeralPromptCacheConfig";
|
|
112
115
|
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
113
116
|
export * from "./ErrorDetailResponse";
|
package/dist/api/types/index.js
CHANGED
|
@@ -92,6 +92,7 @@ __exportStar(require("./ContainerImageContainerImageTag"), exports);
|
|
|
92
92
|
__exportStar(require("./ContainerImageRead"), exports);
|
|
93
93
|
__exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
|
|
94
94
|
__exportStar(require("./CreateWorkflowEventRequest"), exports);
|
|
95
|
+
__exportStar(require("./DatasetRowPushRequest"), exports);
|
|
95
96
|
__exportStar(require("./DelimiterChunkerConfig"), exports);
|
|
96
97
|
__exportStar(require("./DelimiterChunkerConfigRequest"), exports);
|
|
97
98
|
__exportStar(require("./DelimiterChunking"), exports);
|
|
@@ -123,7 +124,9 @@ __exportStar(require("./DocumentVellumValueRequest"), exports);
|
|
|
123
124
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
124
125
|
__exportStar(require("./EntityStatus"), exports);
|
|
125
126
|
__exportStar(require("./EntityVisibility"), exports);
|
|
127
|
+
__exportStar(require("./EnvironmentDisplayConfig"), exports);
|
|
126
128
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
129
|
+
__exportStar(require("./EnvironmentRead"), exports);
|
|
127
130
|
__exportStar(require("./EphemeralPromptCacheConfig"), exports);
|
|
128
131
|
__exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
129
132
|
__exportStar(require("./ErrorDetailResponse"), exports);
|
|
@@ -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 DatasetRowPushRequest: core.serialization.ObjectSchema<serializers.DatasetRowPushRequest.Raw, Vellum.DatasetRowPushRequest>;
|
|
8
|
+
export declare namespace DatasetRowPushRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label: string;
|
|
11
|
+
inputs: Record<string, unknown>;
|
|
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.DatasetRowPushRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DatasetRowPushRequest = core.serialization.object({
|
|
42
|
+
label: core.serialization.string(),
|
|
43
|
+
inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
44
|
+
});
|
|
@@ -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 EnvironmentDisplayConfig: core.serialization.ObjectSchema<serializers.EnvironmentDisplayConfig.Raw, Vellum.EnvironmentDisplayConfig>;
|
|
8
|
+
export declare namespace EnvironmentDisplayConfig {
|
|
9
|
+
interface Raw {
|
|
10
|
+
color?: (string | null) | null;
|
|
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.EnvironmentDisplayConfig = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.EnvironmentDisplayConfig = core.serialization.object({
|
|
42
|
+
color: core.serialization.string().optionalNullable(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { EnvironmentDisplayConfig } from "./EnvironmentDisplayConfig";
|
|
8
|
+
export declare const EnvironmentRead: core.serialization.ObjectSchema<serializers.EnvironmentRead.Raw, Vellum.EnvironmentRead>;
|
|
9
|
+
export declare namespace EnvironmentRead {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id?: string | null;
|
|
12
|
+
name: string;
|
|
13
|
+
label: string;
|
|
14
|
+
display_config?: (EnvironmentDisplayConfig.Raw | null) | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.EnvironmentRead = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const EnvironmentDisplayConfig_1 = require("./EnvironmentDisplayConfig");
|
|
42
|
+
exports.EnvironmentRead = core.serialization.object({
|
|
43
|
+
id: core.serialization.string().optional(),
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
label: core.serialization.string(),
|
|
46
|
+
displayConfig: core.serialization.property("display_config", EnvironmentDisplayConfig_1.EnvironmentDisplayConfig.optionalNullable()),
|
|
47
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const IntegrationName: core.serialization.Schema<serializers.IntegrationName.Raw, Vellum.IntegrationName>;
|
|
8
8
|
export declare namespace IntegrationName {
|
|
9
|
-
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "GAMMA" | "FIRECRAWL" | "PERPLEXITY" | "SERPAPI";
|
|
9
|
+
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "HUBSPOT" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "ATLASSIAN" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "PAGERDUTY" | "PERPLEXITY" | "REDDIT" | "SERPAPI" | "SUPABASE" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DOCUSIGN";
|
|
10
10
|
}
|
|
@@ -43,16 +43,31 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
43
43
|
"NOTION",
|
|
44
44
|
"GOOGLE",
|
|
45
45
|
"CALENDLY",
|
|
46
|
+
"CANVA",
|
|
46
47
|
"HUBSPOT",
|
|
47
48
|
"LINEAR",
|
|
49
|
+
"LINKEDIN",
|
|
50
|
+
"MAILCHIMP",
|
|
48
51
|
"GITHUB",
|
|
49
52
|
"GOOGLE_SHEETS",
|
|
50
53
|
"GOOGLE_CALENDAR",
|
|
51
54
|
"GOOGLE_DRIVE",
|
|
52
55
|
"GMAIL",
|
|
53
56
|
"AIRTABLE",
|
|
57
|
+
"ATLASSIAN",
|
|
54
58
|
"GAMMA",
|
|
59
|
+
"GITLAB",
|
|
55
60
|
"FIRECRAWL",
|
|
61
|
+
"FIGMA",
|
|
62
|
+
"PAGERDUTY",
|
|
56
63
|
"PERPLEXITY",
|
|
64
|
+
"REDDIT",
|
|
57
65
|
"SERPAPI",
|
|
66
|
+
"SUPABASE",
|
|
67
|
+
"WEBFLOW",
|
|
68
|
+
"ZENDESK",
|
|
69
|
+
"DROPBOX",
|
|
70
|
+
"EVENTBRITE",
|
|
71
|
+
"CONFLUENCE",
|
|
72
|
+
"DOCUSIGN",
|
|
58
73
|
]);
|
|
@@ -11,5 +11,6 @@ export declare namespace WorkflowExecutionFulfilledBody {
|
|
|
11
11
|
workflow_definition: VellumCodeResourceDefinition.Raw;
|
|
12
12
|
outputs: Record<string, unknown>;
|
|
13
13
|
final_state?: (Record<string, unknown> | null) | null;
|
|
14
|
+
server_metadata?: (Record<string, unknown> | null) | null;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -43,4 +43,5 @@ exports.WorkflowExecutionFulfilledBody = core.serialization.object({
|
|
|
43
43
|
workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
|
|
44
44
|
outputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
45
45
|
finalState: core.serialization.property("final_state", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
|
|
46
|
+
serverMetadata: core.serialization.property("server_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
|
|
46
47
|
});
|
|
@@ -76,6 +76,7 @@ export * from "./ContainerImageContainerImageTag";
|
|
|
76
76
|
export * from "./ContainerImageRead";
|
|
77
77
|
export * from "./CreateTestSuiteTestCaseRequest";
|
|
78
78
|
export * from "./CreateWorkflowEventRequest";
|
|
79
|
+
export * from "./DatasetRowPushRequest";
|
|
79
80
|
export * from "./DelimiterChunkerConfig";
|
|
80
81
|
export * from "./DelimiterChunkerConfigRequest";
|
|
81
82
|
export * from "./DelimiterChunking";
|
|
@@ -107,7 +108,9 @@ export * from "./DocumentVellumValueRequest";
|
|
|
107
108
|
export * from "./EnrichedNormalizedCompletion";
|
|
108
109
|
export * from "./EntityStatus";
|
|
109
110
|
export * from "./EntityVisibility";
|
|
111
|
+
export * from "./EnvironmentDisplayConfig";
|
|
110
112
|
export * from "./EnvironmentEnum";
|
|
113
|
+
export * from "./EnvironmentRead";
|
|
111
114
|
export * from "./EphemeralPromptCacheConfig";
|
|
112
115
|
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
113
116
|
export * from "./ErrorDetailResponse";
|
|
@@ -92,6 +92,7 @@ __exportStar(require("./ContainerImageContainerImageTag"), exports);
|
|
|
92
92
|
__exportStar(require("./ContainerImageRead"), exports);
|
|
93
93
|
__exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
|
|
94
94
|
__exportStar(require("./CreateWorkflowEventRequest"), exports);
|
|
95
|
+
__exportStar(require("./DatasetRowPushRequest"), exports);
|
|
95
96
|
__exportStar(require("./DelimiterChunkerConfig"), exports);
|
|
96
97
|
__exportStar(require("./DelimiterChunkerConfigRequest"), exports);
|
|
97
98
|
__exportStar(require("./DelimiterChunking"), exports);
|
|
@@ -123,7 +124,9 @@ __exportStar(require("./DocumentVellumValueRequest"), exports);
|
|
|
123
124
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
124
125
|
__exportStar(require("./EntityStatus"), exports);
|
|
125
126
|
__exportStar(require("./EntityVisibility"), exports);
|
|
127
|
+
__exportStar(require("./EnvironmentDisplayConfig"), exports);
|
|
126
128
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
129
|
+
__exportStar(require("./EnvironmentRead"), exports);
|
|
127
130
|
__exportStar(require("./EphemeralPromptCacheConfig"), exports);
|
|
128
131
|
__exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
129
132
|
__exportStar(require("./ErrorDetailResponse"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.7.
|
|
1
|
+
export declare const SDK_VERSION = "1.7.14";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2242,6 +2242,63 @@ await client.documents.partialUpdate("id");
|
|
|
2242
2242
|
</dl>
|
|
2243
2243
|
</details>
|
|
2244
2244
|
|
|
2245
|
+
## Environments
|
|
2246
|
+
|
|
2247
|
+
<details><summary><code>client.environments.<a href="/src/api/resources/environments/client/Client.ts">environmentIdentity</a>() -> Vellum.EnvironmentRead</code></summary>
|
|
2248
|
+
<dl>
|
|
2249
|
+
<dd>
|
|
2250
|
+
|
|
2251
|
+
#### 📝 Description
|
|
2252
|
+
|
|
2253
|
+
<dl>
|
|
2254
|
+
<dd>
|
|
2255
|
+
|
|
2256
|
+
<dl>
|
|
2257
|
+
<dd>
|
|
2258
|
+
|
|
2259
|
+
Retrieves information about the active Environment
|
|
2260
|
+
|
|
2261
|
+
</dd>
|
|
2262
|
+
</dl>
|
|
2263
|
+
</dd>
|
|
2264
|
+
</dl>
|
|
2265
|
+
|
|
2266
|
+
#### 🔌 Usage
|
|
2267
|
+
|
|
2268
|
+
<dl>
|
|
2269
|
+
<dd>
|
|
2270
|
+
|
|
2271
|
+
<dl>
|
|
2272
|
+
<dd>
|
|
2273
|
+
|
|
2274
|
+
```typescript
|
|
2275
|
+
await client.environments.environmentIdentity();
|
|
2276
|
+
```
|
|
2277
|
+
|
|
2278
|
+
</dd>
|
|
2279
|
+
</dl>
|
|
2280
|
+
</dd>
|
|
2281
|
+
</dl>
|
|
2282
|
+
|
|
2283
|
+
#### ⚙️ Parameters
|
|
2284
|
+
|
|
2285
|
+
<dl>
|
|
2286
|
+
<dd>
|
|
2287
|
+
|
|
2288
|
+
<dl>
|
|
2289
|
+
<dd>
|
|
2290
|
+
|
|
2291
|
+
**requestOptions:** `Environments.RequestOptions`
|
|
2292
|
+
|
|
2293
|
+
</dd>
|
|
2294
|
+
</dl>
|
|
2295
|
+
</dd>
|
|
2296
|
+
</dl>
|
|
2297
|
+
|
|
2298
|
+
</dd>
|
|
2299
|
+
</dl>
|
|
2300
|
+
</details>
|
|
2301
|
+
|
|
2245
2302
|
## FolderEntities
|
|
2246
2303
|
|
|
2247
2304
|
<details><summary><code>client.folderEntities.<a href="/src/api/resources/folderEntities/client/Client.ts">list</a>({ ...params }) -> Vellum.PaginatedFolderEntityList</code></summary>
|
|
@@ -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 DatasetRowPushRequest: core.serialization.ObjectSchema<serializers.DatasetRowPushRequest.Raw, Vellum.DatasetRowPushRequest>;
|
|
8
|
+
export declare namespace DatasetRowPushRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label: string;
|
|
11
|
+
inputs: Record<string, unknown>;
|
|
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.DatasetRowPushRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DatasetRowPushRequest = core.serialization.object({
|
|
42
|
+
label: core.serialization.string(),
|
|
43
|
+
inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
44
|
+
});
|
|
@@ -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 EnvironmentDisplayConfig: core.serialization.ObjectSchema<serializers.EnvironmentDisplayConfig.Raw, Vellum.EnvironmentDisplayConfig>;
|
|
8
|
+
export declare namespace EnvironmentDisplayConfig {
|
|
9
|
+
interface Raw {
|
|
10
|
+
color?: (string | null) | null;
|
|
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.EnvironmentDisplayConfig = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.EnvironmentDisplayConfig = core.serialization.object({
|
|
42
|
+
color: core.serialization.string().optionalNullable(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { EnvironmentDisplayConfig } from "./EnvironmentDisplayConfig";
|
|
8
|
+
export declare const EnvironmentRead: core.serialization.ObjectSchema<serializers.EnvironmentRead.Raw, Vellum.EnvironmentRead>;
|
|
9
|
+
export declare namespace EnvironmentRead {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id?: string | null;
|
|
12
|
+
name: string;
|
|
13
|
+
label: string;
|
|
14
|
+
display_config?: (EnvironmentDisplayConfig.Raw | null) | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.EnvironmentRead = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const EnvironmentDisplayConfig_1 = require("./EnvironmentDisplayConfig");
|
|
42
|
+
exports.EnvironmentRead = core.serialization.object({
|
|
43
|
+
id: core.serialization.string().optional(),
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
label: core.serialization.string(),
|
|
46
|
+
displayConfig: core.serialization.property("display_config", EnvironmentDisplayConfig_1.EnvironmentDisplayConfig.optionalNullable()),
|
|
47
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const IntegrationName: core.serialization.Schema<serializers.IntegrationName.Raw, Vellum.IntegrationName>;
|
|
8
8
|
export declare namespace IntegrationName {
|
|
9
|
-
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "GAMMA" | "FIRECRAWL" | "PERPLEXITY" | "SERPAPI";
|
|
9
|
+
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "HUBSPOT" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "ATLASSIAN" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "PAGERDUTY" | "PERPLEXITY" | "REDDIT" | "SERPAPI" | "SUPABASE" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DOCUSIGN";
|
|
10
10
|
}
|