vellum-ai 1.9.8 → 1.10.0
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.js +11 -11
- package/api/errors/MisdirectedRequestError.d.ts +9 -0
- package/api/errors/MisdirectedRequestError.js +52 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- 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.js +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/folderEntities/client/Client.js +2 -2
- 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 +8 -5
- package/api/resources/integrations/client/requests/IntegrationsListRequest.d.ts +1 -0
- 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.d.ts +3 -0
- package/api/resources/workflowExecutions/client/Client.js +22 -6
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +5 -5
- package/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ComposioIntegrationExecConfig.d.ts +1 -0
- package/api/types/IntegrationName.d.ts +35 -1
- package/api/types/IntegrationName.js +17 -0
- package/api/types/UpdateActiveWorkspaceResponse.d.ts +11 -0
- package/api/types/UpdateActiveWorkspaceResponse.js +5 -0
- package/api/types/WorkspaceDisplayConfig.d.ts +6 -0
- package/api/types/WorkspaceDisplayConfig.js +5 -0
- package/api/types/WorkspaceRead.d.ts +2 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.js +11 -11
- package/dist/api/errors/MisdirectedRequestError.d.ts +9 -0
- package/dist/api/errors/MisdirectedRequestError.js +52 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- 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.js +1 -1
- package/dist/api/resources/events/client/Client.js +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- 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 +8 -5
- package/dist/api/resources/integrations/client/requests/IntegrationsListRequest.d.ts +1 -0
- 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.d.ts +3 -0
- package/dist/api/resources/workflowExecutions/client/Client.js +22 -6
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +5 -5
- package/dist/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +1 -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/ComposioIntegrationExecConfig.d.ts +1 -0
- package/dist/api/types/IntegrationName.d.ts +35 -1
- package/dist/api/types/IntegrationName.js +17 -0
- package/dist/api/types/UpdateActiveWorkspaceResponse.d.ts +11 -0
- package/dist/api/types/UpdateActiveWorkspaceResponse.js +5 -0
- package/dist/api/types/WorkspaceDisplayConfig.d.ts +6 -0
- package/dist/api/types/WorkspaceDisplayConfig.js +5 -0
- package/dist/api/types/WorkspaceRead.d.ts +2 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +1 -0
- package/dist/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +1 -0
- package/dist/serialization/types/ComposioIntegrationExecConfig.d.ts +1 -0
- package/dist/serialization/types/ComposioIntegrationExecConfig.js +1 -0
- package/dist/serialization/types/IntegrationName.d.ts +1 -1
- package/dist/serialization/types/IntegrationName.js +17 -0
- package/dist/serialization/types/UpdateActiveWorkspaceResponse.d.ts +14 -0
- package/dist/serialization/types/UpdateActiveWorkspaceResponse.js +45 -0
- package/dist/serialization/types/WorkspaceDisplayConfig.d.ts +12 -0
- package/dist/serialization/types/WorkspaceDisplayConfig.js +43 -0
- package/dist/serialization/types/WorkspaceRead.d.ts +2 -0
- package/dist/serialization/types/WorkspaceRead.js +2 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +1 -0
- package/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +1 -0
- package/serialization/types/ComposioIntegrationExecConfig.d.ts +1 -0
- package/serialization/types/ComposioIntegrationExecConfig.js +1 -0
- package/serialization/types/IntegrationName.d.ts +1 -1
- package/serialization/types/IntegrationName.js +17 -0
- package/serialization/types/UpdateActiveWorkspaceResponse.d.ts +14 -0
- package/serialization/types/UpdateActiveWorkspaceResponse.js +45 -0
- package/serialization/types/WorkspaceDisplayConfig.d.ts +12 -0
- package/serialization/types/WorkspaceDisplayConfig.js +43 -0
- package/serialization/types/WorkspaceRead.d.ts +2 -0
- package/serialization/types/WorkspaceRead.js +2 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.WorkspaceDisplayConfig = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WorkspaceDisplayConfig = core.serialization.object({
|
|
42
|
+
color: core.serialization.string().optionalNullable(),
|
|
43
|
+
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WorkspaceDisplayConfig } from "./WorkspaceDisplayConfig";
|
|
7
8
|
export declare const WorkspaceRead: core.serialization.ObjectSchema<serializers.WorkspaceRead.Raw, Vellum.WorkspaceRead>;
|
|
8
9
|
export declare namespace WorkspaceRead {
|
|
9
10
|
interface Raw {
|
|
@@ -11,5 +12,6 @@ export declare namespace WorkspaceRead {
|
|
|
11
12
|
name: string;
|
|
12
13
|
label: string;
|
|
13
14
|
created: string;
|
|
15
|
+
display_config?: (WorkspaceDisplayConfig.Raw | null) | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -38,9 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.WorkspaceRead = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const WorkspaceDisplayConfig_1 = require("./WorkspaceDisplayConfig");
|
|
41
42
|
exports.WorkspaceRead = core.serialization.object({
|
|
42
43
|
id: core.serialization.string(),
|
|
43
44
|
name: core.serialization.string(),
|
|
44
45
|
label: core.serialization.string(),
|
|
45
46
|
created: core.serialization.date(),
|
|
47
|
+
displayConfig: core.serialization.property("display_config", WorkspaceDisplayConfig_1.WorkspaceDisplayConfig.optionalNullable()),
|
|
46
48
|
});
|
|
@@ -571,6 +571,7 @@ export * from "./TokenOverlappingWindowChunking";
|
|
|
571
571
|
export * from "./TokenOverlappingWindowChunkingRequest";
|
|
572
572
|
export * from "./ComponentsSchemasComposioToolDefinition";
|
|
573
573
|
export * from "./UnitEnum";
|
|
574
|
+
export * from "./UpdateActiveWorkspaceResponse";
|
|
574
575
|
export * from "./UploadDocumentResponse";
|
|
575
576
|
export * from "./UpsertTestSuiteTestCaseRequest";
|
|
576
577
|
export * from "./VariablePromptBlock";
|
|
@@ -696,5 +697,6 @@ export * from "./WorkflowSandboxDisplayData";
|
|
|
696
697
|
export * from "./WorkflowSandboxExample";
|
|
697
698
|
export * from "./WorkflowSandboxParentContext";
|
|
698
699
|
export * from "./WorkflowStreamEvent";
|
|
700
|
+
export * from "./WorkspaceDisplayConfig";
|
|
699
701
|
export * from "./WorkspaceRead";
|
|
700
702
|
export * from "./WorkspaceSecretRead";
|
|
@@ -587,6 +587,7 @@ __exportStar(require("./TokenOverlappingWindowChunking"), exports);
|
|
|
587
587
|
__exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
|
|
588
588
|
__exportStar(require("./ComponentsSchemasComposioToolDefinition"), exports);
|
|
589
589
|
__exportStar(require("./UnitEnum"), exports);
|
|
590
|
+
__exportStar(require("./UpdateActiveWorkspaceResponse"), exports);
|
|
590
591
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
591
592
|
__exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
|
|
592
593
|
__exportStar(require("./VariablePromptBlock"), exports);
|
|
@@ -712,5 +713,6 @@ __exportStar(require("./WorkflowSandboxDisplayData"), exports);
|
|
|
712
713
|
__exportStar(require("./WorkflowSandboxExample"), exports);
|
|
713
714
|
__exportStar(require("./WorkflowSandboxParentContext"), exports);
|
|
714
715
|
__exportStar(require("./WorkflowStreamEvent"), exports);
|
|
716
|
+
__exportStar(require("./WorkspaceDisplayConfig"), exports);
|
|
715
717
|
__exportStar(require("./WorkspaceRead"), exports);
|
|
716
718
|
__exportStar(require("./WorkspaceSecretRead"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.10.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -40,4 +40,5 @@ exports.SerializeWorkflowFilesRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
exports.SerializeWorkflowFilesRequest = core.serialization.object({
|
|
42
42
|
files: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
43
|
+
module: core.serialization.string().optionalNullable(),
|
|
43
44
|
});
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.ComposioIntegrationExecConfig = core.serialization.object({
|
|
42
42
|
type: core.serialization.stringLiteral("COMPOSIO"),
|
|
43
43
|
slug: core.serialization.string(),
|
|
44
|
+
supportsWebhookTriggers: core.serialization.property("supports_webhook_triggers", core.serialization.boolean().optional()),
|
|
44
45
|
});
|
|
@@ -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" | "CANVA" | "CLICKUP" | "HUBSPOT" | "INTERCOM" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "MEM0" | "NEON" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "APOLLO" | "ASANA" | "ATLASSIAN" | "BITBUCKET" | "BOX" | "BREVO" | "BROWSERBASE_TOOL" | "CAL" | "CANVAS" | "ELEVENLABS" | "EXA" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "GOOGLE_MAPS" | "JIRA" | "KLAVIYO" | "PAGERDUTY" | "PARSERA" | "PEOPLEDATALABS" | "PERPLEXITY" | "POSTHOG" | "REDDIT" | "SEMRUSH" | "SERPAPI" | "SHARE_POINT" | "STRIPE" | "SUPABASE" | "TAVILY" | "TELEGRAM" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DISCORD" | "DOCUSIGN";
|
|
9
|
+
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "CLICKUP" | "CODA" | "HUBSPOT" | "INTERCOM" | "LINEAR" | "LINKUP" | "LISTENNOTES" | "LMNT" | "LINKEDIN" | "MAILCHIMP" | "MEM0" | "NEON" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "ACCULYNX" | "AFFINITY" | "AGENCYZOOM" | "AHREFS" | "AIRTABLE" | "APOLLO" | "ASANA" | "ATLASSIAN" | "BITBUCKET" | "BOX" | "BREVO" | "BROWSERBASE_TOOL" | "CAL" | "CANVAS" | "ELEVENLABS" | "EXA" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "FIREFLIES" | "GOOGLE_MAPS" | "HEYGEN" | "JIRA" | "JUNGLESCOUT" | "KLAVIYO" | "PAGERDUTY" | "PARSERA" | "PEOPLEDATALABS" | "PERPLEXITY" | "POSTHOG" | "REDDIT" | "SEMRUSH" | "SEMANTICSCHOLAR" | "SENDGRID" | "SERPAPI" | "SHARE_POINT" | "SHORTCUT" | "STRIPE" | "SUPABASE" | "TAVILY" | "TELEGRAM" | "WEBFLOW" | "YOUSEARCH" | "ZENDESK" | "ZENROWS" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "COINBASE" | "DISCORD" | "DOCUSIGN";
|
|
10
10
|
}
|
|
@@ -45,9 +45,13 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
45
45
|
"CALENDLY",
|
|
46
46
|
"CANVA",
|
|
47
47
|
"CLICKUP",
|
|
48
|
+
"CODA",
|
|
48
49
|
"HUBSPOT",
|
|
49
50
|
"INTERCOM",
|
|
50
51
|
"LINEAR",
|
|
52
|
+
"LINKUP",
|
|
53
|
+
"LISTENNOTES",
|
|
54
|
+
"LMNT",
|
|
51
55
|
"LINKEDIN",
|
|
52
56
|
"MAILCHIMP",
|
|
53
57
|
"MEM0",
|
|
@@ -57,6 +61,10 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
57
61
|
"GOOGLE_CALENDAR",
|
|
58
62
|
"GOOGLE_DRIVE",
|
|
59
63
|
"GMAIL",
|
|
64
|
+
"ACCULYNX",
|
|
65
|
+
"AFFINITY",
|
|
66
|
+
"AGENCYZOOM",
|
|
67
|
+
"AHREFS",
|
|
60
68
|
"AIRTABLE",
|
|
61
69
|
"APOLLO",
|
|
62
70
|
"ASANA",
|
|
@@ -73,8 +81,11 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
73
81
|
"GITLAB",
|
|
74
82
|
"FIRECRAWL",
|
|
75
83
|
"FIGMA",
|
|
84
|
+
"FIREFLIES",
|
|
76
85
|
"GOOGLE_MAPS",
|
|
86
|
+
"HEYGEN",
|
|
77
87
|
"JIRA",
|
|
88
|
+
"JUNGLESCOUT",
|
|
78
89
|
"KLAVIYO",
|
|
79
90
|
"PAGERDUTY",
|
|
80
91
|
"PARSERA",
|
|
@@ -83,17 +94,23 @@ exports.IntegrationName = core.serialization.enum_([
|
|
|
83
94
|
"POSTHOG",
|
|
84
95
|
"REDDIT",
|
|
85
96
|
"SEMRUSH",
|
|
97
|
+
"SEMANTICSCHOLAR",
|
|
98
|
+
"SENDGRID",
|
|
86
99
|
"SERPAPI",
|
|
87
100
|
"SHARE_POINT",
|
|
101
|
+
"SHORTCUT",
|
|
88
102
|
"STRIPE",
|
|
89
103
|
"SUPABASE",
|
|
90
104
|
"TAVILY",
|
|
91
105
|
"TELEGRAM",
|
|
92
106
|
"WEBFLOW",
|
|
107
|
+
"YOUSEARCH",
|
|
93
108
|
"ZENDESK",
|
|
109
|
+
"ZENROWS",
|
|
94
110
|
"DROPBOX",
|
|
95
111
|
"EVENTBRITE",
|
|
96
112
|
"CONFLUENCE",
|
|
113
|
+
"COINBASE",
|
|
97
114
|
"DISCORD",
|
|
98
115
|
"DOCUSIGN",
|
|
99
116
|
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
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 UpdateActiveWorkspaceResponse: core.serialization.ObjectSchema<serializers.UpdateActiveWorkspaceResponse.Raw, Vellum.UpdateActiveWorkspaceResponse>;
|
|
8
|
+
export declare namespace UpdateActiveWorkspaceResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
update_active_workspace_id?: (string | null) | null;
|
|
11
|
+
update_active_environment_id?: (string | null) | null;
|
|
12
|
+
is_staff?: boolean | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.UpdateActiveWorkspaceResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.UpdateActiveWorkspaceResponse = core.serialization.object({
|
|
42
|
+
updateActiveWorkspaceId: core.serialization.property("update_active_workspace_id", core.serialization.string().optionalNullable()),
|
|
43
|
+
updateActiveEnvironmentId: core.serialization.property("update_active_environment_id", core.serialization.string().optionalNullable()),
|
|
44
|
+
isStaff: core.serialization.property("is_staff", core.serialization.boolean().optional()),
|
|
45
|
+
});
|
|
@@ -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 WorkspaceDisplayConfig: core.serialization.ObjectSchema<serializers.WorkspaceDisplayConfig.Raw, Vellum.WorkspaceDisplayConfig>;
|
|
8
|
+
export declare namespace WorkspaceDisplayConfig {
|
|
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.WorkspaceDisplayConfig = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WorkspaceDisplayConfig = core.serialization.object({
|
|
42
|
+
color: core.serialization.string().optionalNullable(),
|
|
43
|
+
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WorkspaceDisplayConfig } from "./WorkspaceDisplayConfig";
|
|
7
8
|
export declare const WorkspaceRead: core.serialization.ObjectSchema<serializers.WorkspaceRead.Raw, Vellum.WorkspaceRead>;
|
|
8
9
|
export declare namespace WorkspaceRead {
|
|
9
10
|
interface Raw {
|
|
@@ -11,5 +12,6 @@ export declare namespace WorkspaceRead {
|
|
|
11
12
|
name: string;
|
|
12
13
|
label: string;
|
|
13
14
|
created: string;
|
|
15
|
+
display_config?: (WorkspaceDisplayConfig.Raw | null) | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -38,9 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.WorkspaceRead = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const WorkspaceDisplayConfig_1 = require("./WorkspaceDisplayConfig");
|
|
41
42
|
exports.WorkspaceRead = core.serialization.object({
|
|
42
43
|
id: core.serialization.string(),
|
|
43
44
|
name: core.serialization.string(),
|
|
44
45
|
label: core.serialization.string(),
|
|
45
46
|
created: core.serialization.date(),
|
|
47
|
+
displayConfig: core.serialization.property("display_config", WorkspaceDisplayConfig_1.WorkspaceDisplayConfig.optionalNullable()),
|
|
46
48
|
});
|
|
@@ -571,6 +571,7 @@ export * from "./TokenOverlappingWindowChunking";
|
|
|
571
571
|
export * from "./TokenOverlappingWindowChunkingRequest";
|
|
572
572
|
export * from "./ComponentsSchemasComposioToolDefinition";
|
|
573
573
|
export * from "./UnitEnum";
|
|
574
|
+
export * from "./UpdateActiveWorkspaceResponse";
|
|
574
575
|
export * from "./UploadDocumentResponse";
|
|
575
576
|
export * from "./UpsertTestSuiteTestCaseRequest";
|
|
576
577
|
export * from "./VariablePromptBlock";
|
|
@@ -696,5 +697,6 @@ export * from "./WorkflowSandboxDisplayData";
|
|
|
696
697
|
export * from "./WorkflowSandboxExample";
|
|
697
698
|
export * from "./WorkflowSandboxParentContext";
|
|
698
699
|
export * from "./WorkflowStreamEvent";
|
|
700
|
+
export * from "./WorkspaceDisplayConfig";
|
|
699
701
|
export * from "./WorkspaceRead";
|
|
700
702
|
export * from "./WorkspaceSecretRead";
|
|
@@ -587,6 +587,7 @@ __exportStar(require("./TokenOverlappingWindowChunking"), exports);
|
|
|
587
587
|
__exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
|
|
588
588
|
__exportStar(require("./ComponentsSchemasComposioToolDefinition"), exports);
|
|
589
589
|
__exportStar(require("./UnitEnum"), exports);
|
|
590
|
+
__exportStar(require("./UpdateActiveWorkspaceResponse"), exports);
|
|
590
591
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
591
592
|
__exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
|
|
592
593
|
__exportStar(require("./VariablePromptBlock"), exports);
|
|
@@ -712,5 +713,6 @@ __exportStar(require("./WorkflowSandboxDisplayData"), exports);
|
|
|
712
713
|
__exportStar(require("./WorkflowSandboxExample"), exports);
|
|
713
714
|
__exportStar(require("./WorkflowSandboxParentContext"), exports);
|
|
714
715
|
__exportStar(require("./WorkflowStreamEvent"), exports);
|
|
716
|
+
__exportStar(require("./WorkspaceDisplayConfig"), exports);
|
|
715
717
|
__exportStar(require("./WorkspaceRead"), exports);
|
|
716
718
|
__exportStar(require("./WorkspaceSecretRead"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.10.0";
|
package/version.js
CHANGED