vellum-ai 1.5.5 → 1.6.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/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/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 +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 +9 -9
- 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 +3 -3
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ComposioToolDefinition.d.ts +1 -0
- package/api/types/IntegrationAuthConfigIntegration.d.ts +9 -0
- package/api/types/IntegrationAuthConfigIntegration.js +5 -0
- package/api/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
- package/api/types/IntegrationRead.d.ts +1 -1
- package/api/types/NamedTestCaseAudioVariableValue.d.ts +1 -1
- package/api/types/NamedTestCaseAudioVariableValueRequest.d.ts +1 -1
- package/api/types/NamedTestCaseDocumentVariableValue.d.ts +1 -1
- package/api/types/NamedTestCaseDocumentVariableValueRequest.d.ts +1 -1
- package/api/types/NamedTestCaseImageVariableValue.d.ts +1 -1
- package/api/types/NamedTestCaseImageVariableValueRequest.d.ts +1 -1
- package/api/types/NamedTestCaseVideoVariableValue.d.ts +1 -1
- package/api/types/NamedTestCaseVideoVariableValueRequest.d.ts +1 -1
- package/api/types/SlimComposioToolDefinition.d.ts +1 -0
- package/api/types/SlimIntegrationAuthConfigRead.d.ts +2 -1
- package/api/types/SlimIntegrationRead.d.ts +1 -1
- package/api/types/TestCaseAudioVariableValue.d.ts +1 -1
- package/api/types/TestCaseDocumentVariableValue.d.ts +1 -1
- package/api/types/TestCaseImageVariableValue.d.ts +1 -1
- package/api/types/TestCaseVideoVariableValue.d.ts +1 -1
- package/api/types/ToolDefinitionIntegration.d.ts +1 -1
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.js +11 -11
- 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/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 +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 +9 -9
- 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 +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ComposioToolDefinition.d.ts +1 -0
- package/dist/api/types/IntegrationAuthConfigIntegration.d.ts +9 -0
- package/dist/api/types/IntegrationAuthConfigIntegration.js +5 -0
- package/dist/api/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
- package/dist/api/types/IntegrationRead.d.ts +1 -1
- package/dist/api/types/NamedTestCaseAudioVariableValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseAudioVariableValueRequest.d.ts +1 -1
- package/dist/api/types/NamedTestCaseDocumentVariableValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseDocumentVariableValueRequest.d.ts +1 -1
- package/dist/api/types/NamedTestCaseImageVariableValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseImageVariableValueRequest.d.ts +1 -1
- package/dist/api/types/NamedTestCaseVideoVariableValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseVideoVariableValueRequest.d.ts +1 -1
- package/dist/api/types/SlimComposioToolDefinition.d.ts +1 -0
- package/dist/api/types/SlimIntegrationAuthConfigRead.d.ts +2 -1
- package/dist/api/types/SlimIntegrationRead.d.ts +1 -1
- package/dist/api/types/TestCaseAudioVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseDocumentVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseImageVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseVideoVariableValue.d.ts +1 -1
- package/dist/api/types/ToolDefinitionIntegration.d.ts +1 -1
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/ComposioToolDefinition.d.ts +1 -0
- package/dist/serialization/types/ComposioToolDefinition.js +1 -0
- package/dist/serialization/types/IntegrationAuthConfigIntegration.d.ts +16 -0
- package/dist/serialization/types/IntegrationAuthConfigIntegration.js +47 -0
- package/dist/serialization/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
- package/dist/serialization/types/IntegrationAuthConfigIntegrationCredential.js +1 -1
- package/dist/serialization/types/IntegrationRead.d.ts +1 -1
- package/dist/serialization/types/IntegrationRead.js +1 -1
- package/dist/serialization/types/NamedTestCaseAudioVariableValue.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseAudioVariableValue.js +1 -1
- package/dist/serialization/types/NamedTestCaseAudioVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseAudioVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseDocumentVariableValue.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseDocumentVariableValue.js +1 -1
- package/dist/serialization/types/NamedTestCaseDocumentVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseDocumentVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseImageVariableValue.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseImageVariableValue.js +1 -1
- package/dist/serialization/types/NamedTestCaseImageVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseImageVariableValueRequest.js +1 -1
- package/dist/serialization/types/NamedTestCaseVideoVariableValue.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseVideoVariableValue.js +1 -1
- package/dist/serialization/types/NamedTestCaseVideoVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseVideoVariableValueRequest.js +1 -1
- package/dist/serialization/types/SlimComposioToolDefinition.d.ts +1 -0
- package/dist/serialization/types/SlimComposioToolDefinition.js +1 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.d.ts +3 -1
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.js +3 -1
- package/dist/serialization/types/SlimIntegrationRead.d.ts +1 -1
- package/dist/serialization/types/SlimIntegrationRead.js +1 -1
- package/dist/serialization/types/TestCaseAudioVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseAudioVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseDocumentVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseDocumentVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseImageVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseImageVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseVideoVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseVideoVariableValue.js +1 -1
- package/dist/serialization/types/ToolDefinitionIntegration.d.ts +1 -1
- package/dist/serialization/types/ToolDefinitionIntegration.js +1 -1
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ComposioToolDefinition.d.ts +1 -0
- package/serialization/types/ComposioToolDefinition.js +1 -0
- package/serialization/types/IntegrationAuthConfigIntegration.d.ts +16 -0
- package/serialization/types/IntegrationAuthConfigIntegration.js +47 -0
- package/serialization/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
- package/serialization/types/IntegrationAuthConfigIntegrationCredential.js +1 -1
- package/serialization/types/IntegrationRead.d.ts +1 -1
- package/serialization/types/IntegrationRead.js +1 -1
- package/serialization/types/NamedTestCaseAudioVariableValue.d.ts +1 -1
- package/serialization/types/NamedTestCaseAudioVariableValue.js +1 -1
- package/serialization/types/NamedTestCaseAudioVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseAudioVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseDocumentVariableValue.d.ts +1 -1
- package/serialization/types/NamedTestCaseDocumentVariableValue.js +1 -1
- package/serialization/types/NamedTestCaseDocumentVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseDocumentVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseImageVariableValue.d.ts +1 -1
- package/serialization/types/NamedTestCaseImageVariableValue.js +1 -1
- package/serialization/types/NamedTestCaseImageVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseImageVariableValueRequest.js +1 -1
- package/serialization/types/NamedTestCaseVideoVariableValue.d.ts +1 -1
- package/serialization/types/NamedTestCaseVideoVariableValue.js +1 -1
- package/serialization/types/NamedTestCaseVideoVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseVideoVariableValueRequest.js +1 -1
- package/serialization/types/SlimComposioToolDefinition.d.ts +1 -0
- package/serialization/types/SlimComposioToolDefinition.js +1 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.d.ts +3 -1
- package/serialization/types/SlimIntegrationAuthConfigRead.js +3 -1
- package/serialization/types/SlimIntegrationRead.d.ts +1 -1
- package/serialization/types/SlimIntegrationRead.js +1 -1
- package/serialization/types/TestCaseAudioVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseAudioVariableValue.js +1 -1
- package/serialization/types/TestCaseDocumentVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseDocumentVariableValue.js +1 -1
- package/serialization/types/TestCaseImageVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseImageVariableValue.js +1 -1
- package/serialization/types/TestCaseVideoVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseVideoVariableValue.js +1 -1
- package/serialization/types/ToolDefinitionIntegration.d.ts +1 -1
- package/serialization/types/ToolDefinitionIntegration.js +1 -1
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.IntegrationAuthConfigIntegrationCredential = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.IntegrationAuthConfigIntegrationCredential = core.serialization.object({
|
|
42
|
-
id: core.serialization.string()
|
|
42
|
+
id: core.serialization.string(),
|
|
43
43
|
});
|
|
@@ -10,7 +10,7 @@ import { ComponentsSchemasComposioIntegrationExecConfig } from "./ComponentsSche
|
|
|
10
10
|
export declare const IntegrationRead: core.serialization.ObjectSchema<serializers.IntegrationRead.Raw, Vellum.IntegrationRead>;
|
|
11
11
|
export declare namespace IntegrationRead {
|
|
12
12
|
interface Raw {
|
|
13
|
-
id
|
|
13
|
+
id: string;
|
|
14
14
|
label?: string | null;
|
|
15
15
|
icon_url: string;
|
|
16
16
|
name: IntegrationName.Raw;
|
|
@@ -42,7 +42,7 @@ const IntegrationName_1 = require("./IntegrationName");
|
|
|
42
42
|
const IntegrationProvider_1 = require("./IntegrationProvider");
|
|
43
43
|
const ComponentsSchemasComposioIntegrationExecConfig_1 = require("./ComponentsSchemasComposioIntegrationExecConfig");
|
|
44
44
|
exports.IntegrationRead = core.serialization.object({
|
|
45
|
-
id: core.serialization.string()
|
|
45
|
+
id: core.serialization.string(),
|
|
46
46
|
label: core.serialization.string().optional(),
|
|
47
47
|
iconUrl: core.serialization.property("icon_url", core.serialization.string()),
|
|
48
48
|
name: IntegrationName_1.IntegrationName,
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseAudioVariableValue: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace NamedTestCaseAudioVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "AUDIO";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumAudio.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumAudio_1 = require("./VellumAudio");
|
|
42
42
|
exports.NamedTestCaseAudioVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("AUDIO"),
|
|
44
|
-
value: VellumAudio_1.VellumAudio,
|
|
44
|
+
value: VellumAudio_1.VellumAudio.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseAudioVariableValueRequest: core.serialization.
|
|
|
9
9
|
export declare namespace NamedTestCaseAudioVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "AUDIO";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumAudioRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumAudioRequest_1 = require("./VellumAudioRequest");
|
|
42
42
|
exports.NamedTestCaseAudioVariableValueRequest = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("AUDIO"),
|
|
44
|
-
value: VellumAudioRequest_1.VellumAudioRequest,
|
|
44
|
+
value: VellumAudioRequest_1.VellumAudioRequest.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseDocumentVariableValue: core.serialization.Obje
|
|
|
9
9
|
export declare namespace NamedTestCaseDocumentVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "DOCUMENT";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumDocument.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumDocument_1 = require("./VellumDocument");
|
|
42
42
|
exports.NamedTestCaseDocumentVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
44
|
-
value: VellumDocument_1.VellumDocument,
|
|
44
|
+
value: VellumDocument_1.VellumDocument.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseDocumentVariableValueRequest: core.serializati
|
|
|
9
9
|
export declare namespace NamedTestCaseDocumentVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "DOCUMENT";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumDocumentRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumDocumentRequest_1 = require("./VellumDocumentRequest");
|
|
42
42
|
exports.NamedTestCaseDocumentVariableValueRequest = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
44
|
-
value: VellumDocumentRequest_1.VellumDocumentRequest,
|
|
44
|
+
value: VellumDocumentRequest_1.VellumDocumentRequest.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseImageVariableValue: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace NamedTestCaseImageVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "IMAGE";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumImage.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumImage_1 = require("./VellumImage");
|
|
42
42
|
exports.NamedTestCaseImageVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("IMAGE"),
|
|
44
|
-
value: VellumImage_1.VellumImage,
|
|
44
|
+
value: VellumImage_1.VellumImage.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseImageVariableValueRequest: core.serialization.
|
|
|
9
9
|
export declare namespace NamedTestCaseImageVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "IMAGE";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumImageRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumImageRequest_1 = require("./VellumImageRequest");
|
|
42
42
|
exports.NamedTestCaseImageVariableValueRequest = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("IMAGE"),
|
|
44
|
-
value: VellumImageRequest_1.VellumImageRequest,
|
|
44
|
+
value: VellumImageRequest_1.VellumImageRequest.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseVideoVariableValue: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace NamedTestCaseVideoVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "VIDEO";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumVideo.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumVideo_1 = require("./VellumVideo");
|
|
42
42
|
exports.NamedTestCaseVideoVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("VIDEO"),
|
|
44
|
-
value: VellumVideo_1.VellumVideo,
|
|
44
|
+
value: VellumVideo_1.VellumVideo.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseVideoVariableValueRequest: core.serialization.
|
|
|
9
9
|
export declare namespace NamedTestCaseVideoVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "VIDEO";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumVideoRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumVideoRequest_1 = require("./VellumVideoRequest");
|
|
42
42
|
exports.NamedTestCaseVideoVariableValueRequest = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("VIDEO"),
|
|
44
|
-
value: VellumVideoRequest_1.VellumVideoRequest,
|
|
44
|
+
value: VellumVideoRequest_1.VellumVideoRequest.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -43,5 +43,6 @@ exports.SlimComposioToolDefinition = core.serialization.object({
|
|
|
43
43
|
provider: core.serialization.stringLiteral("COMPOSIO"),
|
|
44
44
|
integration: ToolDefinitionIntegration_1.ToolDefinitionIntegration,
|
|
45
45
|
name: core.serialization.string(),
|
|
46
|
+
label: core.serialization.string(),
|
|
46
47
|
description: core.serialization.string(),
|
|
47
48
|
});
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { IntegrationAuthConfigIntegration } from "./IntegrationAuthConfigIntegration";
|
|
7
8
|
import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
|
|
8
9
|
import { IntegrationCredentialAccessType } from "./IntegrationCredentialAccessType";
|
|
9
10
|
export declare const SlimIntegrationAuthConfigRead: core.serialization.ObjectSchema<serializers.SlimIntegrationAuthConfigRead.Raw, Vellum.SlimIntegrationAuthConfigRead>;
|
|
10
11
|
export declare namespace SlimIntegrationAuthConfigRead {
|
|
11
12
|
interface Raw {
|
|
12
|
-
id
|
|
13
|
+
id: string;
|
|
14
|
+
integration: IntegrationAuthConfigIntegration.Raw;
|
|
13
15
|
integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
|
|
14
16
|
default_access_type?: IntegrationCredentialAccessType.Raw | null;
|
|
15
17
|
}
|
|
@@ -38,10 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.SlimIntegrationAuthConfigRead = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const IntegrationAuthConfigIntegration_1 = require("./IntegrationAuthConfigIntegration");
|
|
41
42
|
const IntegrationAuthConfigIntegrationCredential_1 = require("./IntegrationAuthConfigIntegrationCredential");
|
|
42
43
|
const IntegrationCredentialAccessType_1 = require("./IntegrationCredentialAccessType");
|
|
43
44
|
exports.SlimIntegrationAuthConfigRead = core.serialization.object({
|
|
44
|
-
id: core.serialization.string()
|
|
45
|
+
id: core.serialization.string(),
|
|
46
|
+
integration: IntegrationAuthConfigIntegration_1.IntegrationAuthConfigIntegration,
|
|
45
47
|
integrationCredentials: core.serialization.property("integration_credentials", core.serialization.list(IntegrationAuthConfigIntegrationCredential_1.IntegrationAuthConfigIntegrationCredential).optionalNullable()),
|
|
46
48
|
defaultAccessType: core.serialization.property("default_access_type", IntegrationCredentialAccessType_1.IntegrationCredentialAccessType.optional()),
|
|
47
49
|
});
|
|
@@ -9,7 +9,7 @@ import { IntegrationProvider } from "./IntegrationProvider";
|
|
|
9
9
|
export declare const SlimIntegrationRead: core.serialization.ObjectSchema<serializers.SlimIntegrationRead.Raw, Vellum.SlimIntegrationRead>;
|
|
10
10
|
export declare namespace SlimIntegrationRead {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id
|
|
12
|
+
id: string;
|
|
13
13
|
label?: string | null;
|
|
14
14
|
icon_url: string;
|
|
15
15
|
name: IntegrationName.Raw;
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const IntegrationName_1 = require("./IntegrationName");
|
|
42
42
|
const IntegrationProvider_1 = require("./IntegrationProvider");
|
|
43
43
|
exports.SlimIntegrationRead = core.serialization.object({
|
|
44
|
-
id: core.serialization.string()
|
|
44
|
+
id: core.serialization.string(),
|
|
45
45
|
label: core.serialization.string().optional(),
|
|
46
46
|
iconUrl: core.serialization.property("icon_url", core.serialization.string()),
|
|
47
47
|
name: IntegrationName_1.IntegrationName,
|
|
@@ -43,5 +43,5 @@ exports.TestCaseAudioVariableValue = core.serialization.object({
|
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
44
|
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("AUDIO"),
|
|
46
|
-
value: VellumAudio_1.VellumAudio,
|
|
46
|
+
value: VellumAudio_1.VellumAudio.optionalNullable(),
|
|
47
47
|
});
|
|
@@ -43,5 +43,5 @@ exports.TestCaseDocumentVariableValue = core.serialization.object({
|
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
44
|
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
46
|
-
value: VellumDocument_1.VellumDocument,
|
|
46
|
+
value: VellumDocument_1.VellumDocument.optionalNullable(),
|
|
47
47
|
});
|
|
@@ -43,5 +43,5 @@ exports.TestCaseImageVariableValue = core.serialization.object({
|
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
44
|
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("IMAGE"),
|
|
46
|
-
value: VellumImage_1.VellumImage,
|
|
46
|
+
value: VellumImage_1.VellumImage.optionalNullable(),
|
|
47
47
|
});
|
|
@@ -43,5 +43,5 @@ exports.TestCaseVideoVariableValue = core.serialization.object({
|
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
44
|
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("VIDEO"),
|
|
46
|
-
value: VellumVideo_1.VellumVideo,
|
|
46
|
+
value: VellumVideo_1.VellumVideo.optionalNullable(),
|
|
47
47
|
});
|
|
@@ -9,7 +9,7 @@ import { IntegrationName } from "./IntegrationName";
|
|
|
9
9
|
export declare const ToolDefinitionIntegration: core.serialization.ObjectSchema<serializers.ToolDefinitionIntegration.Raw, Vellum.ToolDefinitionIntegration>;
|
|
10
10
|
export declare namespace ToolDefinitionIntegration {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id
|
|
12
|
+
id: string;
|
|
13
13
|
provider: IntegrationProvider.Raw;
|
|
14
14
|
name: IntegrationName.Raw;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const IntegrationProvider_1 = require("./IntegrationProvider");
|
|
42
42
|
const IntegrationName_1 = require("./IntegrationName");
|
|
43
43
|
exports.ToolDefinitionIntegration = core.serialization.object({
|
|
44
|
-
id: core.serialization.string()
|
|
44
|
+
id: core.serialization.string(),
|
|
45
45
|
provider: IntegrationProvider_1.IntegrationProvider,
|
|
46
46
|
name: IntegrationName_1.IntegrationName,
|
|
47
47
|
});
|
|
@@ -208,6 +208,7 @@ export * from "./InitiatedPromptExecutionMeta";
|
|
|
208
208
|
export * from "./InitiatedWorkflowNodeResultEvent";
|
|
209
209
|
export * from "./InstructorVectorizerConfig";
|
|
210
210
|
export * from "./InstructorVectorizerConfigRequest";
|
|
211
|
+
export * from "./IntegrationAuthConfigIntegration";
|
|
211
212
|
export * from "./IntegrationAuthConfigIntegrationCredential";
|
|
212
213
|
export * from "./IntegrationCredentialAccessType";
|
|
213
214
|
export * from "./ComponentsSchemasComposioIntegrationExecConfig";
|
|
@@ -224,6 +224,7 @@ __exportStar(require("./InitiatedPromptExecutionMeta"), exports);
|
|
|
224
224
|
__exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
|
|
225
225
|
__exportStar(require("./InstructorVectorizerConfig"), exports);
|
|
226
226
|
__exportStar(require("./InstructorVectorizerConfigRequest"), exports);
|
|
227
|
+
__exportStar(require("./IntegrationAuthConfigIntegration"), exports);
|
|
227
228
|
__exportStar(require("./IntegrationAuthConfigIntegrationCredential"), exports);
|
|
228
229
|
__exportStar(require("./IntegrationCredentialAccessType"), exports);
|
|
229
230
|
__exportStar(require("./ComponentsSchemasComposioIntegrationExecConfig"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ export declare namespace ComposioToolDefinition {
|
|
|
11
11
|
provider: "COMPOSIO";
|
|
12
12
|
integration: ToolDefinitionIntegration.Raw;
|
|
13
13
|
name: string;
|
|
14
|
+
label: string;
|
|
14
15
|
description: string;
|
|
15
16
|
input_parameters: Record<string, unknown>;
|
|
16
17
|
output_parameters: Record<string, unknown>;
|
|
@@ -43,6 +43,7 @@ exports.ComposioToolDefinition = core.serialization.object({
|
|
|
43
43
|
provider: core.serialization.stringLiteral("COMPOSIO"),
|
|
44
44
|
integration: ToolDefinitionIntegration_1.ToolDefinitionIntegration,
|
|
45
45
|
name: core.serialization.string(),
|
|
46
|
+
label: core.serialization.string(),
|
|
46
47
|
description: core.serialization.string(),
|
|
47
48
|
inputParameters: core.serialization.property("input_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
48
49
|
outputParameters: core.serialization.property("output_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
@@ -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 { IntegrationProvider } from "./IntegrationProvider";
|
|
8
|
+
import { IntegrationName } from "./IntegrationName";
|
|
9
|
+
export declare const IntegrationAuthConfigIntegration: core.serialization.ObjectSchema<serializers.IntegrationAuthConfigIntegration.Raw, Vellum.IntegrationAuthConfigIntegration>;
|
|
10
|
+
export declare namespace IntegrationAuthConfigIntegration {
|
|
11
|
+
interface Raw {
|
|
12
|
+
id: string;
|
|
13
|
+
provider: IntegrationProvider.Raw;
|
|
14
|
+
name: IntegrationName.Raw;
|
|
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.IntegrationAuthConfigIntegration = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const IntegrationProvider_1 = require("./IntegrationProvider");
|
|
42
|
+
const IntegrationName_1 = require("./IntegrationName");
|
|
43
|
+
exports.IntegrationAuthConfigIntegration = core.serialization.object({
|
|
44
|
+
id: core.serialization.string(),
|
|
45
|
+
provider: IntegrationProvider_1.IntegrationProvider,
|
|
46
|
+
name: IntegrationName_1.IntegrationName,
|
|
47
|
+
});
|
|
@@ -7,6 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const IntegrationAuthConfigIntegrationCredential: core.serialization.ObjectSchema<serializers.IntegrationAuthConfigIntegrationCredential.Raw, Vellum.IntegrationAuthConfigIntegrationCredential>;
|
|
8
8
|
export declare namespace IntegrationAuthConfigIntegrationCredential {
|
|
9
9
|
interface Raw {
|
|
10
|
-
id
|
|
10
|
+
id: string;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.IntegrationAuthConfigIntegrationCredential = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.IntegrationAuthConfigIntegrationCredential = core.serialization.object({
|
|
42
|
-
id: core.serialization.string()
|
|
42
|
+
id: core.serialization.string(),
|
|
43
43
|
});
|
|
@@ -10,7 +10,7 @@ import { ComponentsSchemasComposioIntegrationExecConfig } from "./ComponentsSche
|
|
|
10
10
|
export declare const IntegrationRead: core.serialization.ObjectSchema<serializers.IntegrationRead.Raw, Vellum.IntegrationRead>;
|
|
11
11
|
export declare namespace IntegrationRead {
|
|
12
12
|
interface Raw {
|
|
13
|
-
id
|
|
13
|
+
id: string;
|
|
14
14
|
label?: string | null;
|
|
15
15
|
icon_url: string;
|
|
16
16
|
name: IntegrationName.Raw;
|
|
@@ -42,7 +42,7 @@ const IntegrationName_1 = require("./IntegrationName");
|
|
|
42
42
|
const IntegrationProvider_1 = require("./IntegrationProvider");
|
|
43
43
|
const ComponentsSchemasComposioIntegrationExecConfig_1 = require("./ComponentsSchemasComposioIntegrationExecConfig");
|
|
44
44
|
exports.IntegrationRead = core.serialization.object({
|
|
45
|
-
id: core.serialization.string()
|
|
45
|
+
id: core.serialization.string(),
|
|
46
46
|
label: core.serialization.string().optional(),
|
|
47
47
|
iconUrl: core.serialization.property("icon_url", core.serialization.string()),
|
|
48
48
|
name: IntegrationName_1.IntegrationName,
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseAudioVariableValue: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace NamedTestCaseAudioVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "AUDIO";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumAudio.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumAudio_1 = require("./VellumAudio");
|
|
42
42
|
exports.NamedTestCaseAudioVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("AUDIO"),
|
|
44
|
-
value: VellumAudio_1.VellumAudio,
|
|
44
|
+
value: VellumAudio_1.VellumAudio.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseAudioVariableValueRequest: core.serialization.
|
|
|
9
9
|
export declare namespace NamedTestCaseAudioVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "AUDIO";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumAudioRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumAudioRequest_1 = require("./VellumAudioRequest");
|
|
42
42
|
exports.NamedTestCaseAudioVariableValueRequest = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("AUDIO"),
|
|
44
|
-
value: VellumAudioRequest_1.VellumAudioRequest,
|
|
44
|
+
value: VellumAudioRequest_1.VellumAudioRequest.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseDocumentVariableValue: core.serialization.Obje
|
|
|
9
9
|
export declare namespace NamedTestCaseDocumentVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "DOCUMENT";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumDocument.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumDocument_1 = require("./VellumDocument");
|
|
42
42
|
exports.NamedTestCaseDocumentVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
44
|
-
value: VellumDocument_1.VellumDocument,
|
|
44
|
+
value: VellumDocument_1.VellumDocument.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseDocumentVariableValueRequest: core.serializati
|
|
|
9
9
|
export declare namespace NamedTestCaseDocumentVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "DOCUMENT";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumDocumentRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumDocumentRequest_1 = require("./VellumDocumentRequest");
|
|
42
42
|
exports.NamedTestCaseDocumentVariableValueRequest = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("DOCUMENT"),
|
|
44
|
-
value: VellumDocumentRequest_1.VellumDocumentRequest,
|
|
44
|
+
value: VellumDocumentRequest_1.VellumDocumentRequest.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseImageVariableValue: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace NamedTestCaseImageVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "IMAGE";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumImage.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -41,6 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumImage_1 = require("./VellumImage");
|
|
42
42
|
exports.NamedTestCaseImageVariableValue = core.serialization.object({
|
|
43
43
|
type: core.serialization.stringLiteral("IMAGE"),
|
|
44
|
-
value: VellumImage_1.VellumImage,
|
|
44
|
+
value: VellumImage_1.VellumImage.optionalNullable(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NamedTestCaseImageVariableValueRequest: core.serialization.
|
|
|
9
9
|
export declare namespace NamedTestCaseImageVariableValueRequest {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "IMAGE";
|
|
12
|
-
value
|
|
12
|
+
value?: (VellumImageRequest.Raw | null) | null;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
15
|
}
|