vellum-ai 0.8.25 → 0.8.26
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/.mock/definition/__package__.yml +34 -1
- package/.mock/definition/adHoc.yml +1 -0
- package/.mock/definition/workspaceSecrets.yml +34 -0
- package/.mock/openapi/openapi.yml +74 -4
- package/Client.d.ts +3 -0
- package/Client.js +15 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +4 -0
- package/api/resources/deployments/client/Client.js +5 -5
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workspaceSecrets/client/Client.d.ts +37 -0
- package/api/resources/workspaceSecrets/client/Client.js +110 -0
- package/api/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/index.js +2 -0
- package/api/resources/workspaceSecrets/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/index.js +17 -0
- package/api/types/ApiNodeResultData.d.ts +1 -1
- package/api/types/PromptSettingsRequest.d.ts +6 -0
- package/api/types/PromptSettingsRequest.js +5 -0
- package/api/types/SecretTypeEnum.d.ts +14 -0
- package/api/types/SecretTypeEnum.js +11 -0
- package/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumErrorCodeEnum.js +1 -0
- package/api/types/WorkspaceSecretRead.d.ts +11 -0
- package/api/types/WorkspaceSecretRead.js +5 -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 +15 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +4 -0
- package/dist/api/resources/deployments/client/Client.js +5 -5
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workspaceSecrets/client/Client.d.ts +37 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +110 -0
- package/dist/api/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/index.js +2 -0
- package/dist/api/resources/workspaceSecrets/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/index.js +17 -0
- package/dist/api/types/ApiNodeResultData.d.ts +1 -1
- package/dist/api/types/PromptSettingsRequest.d.ts +6 -0
- package/dist/api/types/PromptSettingsRequest.js +5 -0
- package/dist/api/types/SecretTypeEnum.d.ts +14 -0
- package/dist/api/types/SecretTypeEnum.js +11 -0
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumErrorCodeEnum.js +1 -0
- package/dist/api/types/WorkspaceSecretRead.d.ts +11 -0
- package/dist/api/types/WorkspaceSecretRead.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +2 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +2 -0
- package/dist/serialization/types/ApiNodeResultData.d.ts +1 -1
- package/dist/serialization/types/ApiNodeResultData.js +1 -1
- package/dist/serialization/types/PromptSettingsRequest.d.ts +12 -0
- package/dist/serialization/types/PromptSettingsRequest.js +33 -0
- package/dist/serialization/types/SecretTypeEnum.d.ts +10 -0
- package/dist/serialization/types/SecretTypeEnum.js +31 -0
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +7 -1
- package/dist/serialization/types/WorkspaceSecretRead.d.ts +17 -0
- package/dist/serialization/types/WorkspaceSecretRead.js +38 -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 +68 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +2 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +2 -0
- package/serialization/types/ApiNodeResultData.d.ts +1 -1
- package/serialization/types/ApiNodeResultData.js +1 -1
- package/serialization/types/PromptSettingsRequest.d.ts +12 -0
- package/serialization/types/PromptSettingsRequest.js +33 -0
- package/serialization/types/SecretTypeEnum.d.ts +10 -0
- package/serialization/types/SecretTypeEnum.js +31 -0
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +7 -1
- package/serialization/types/WorkspaceSecretRead.d.ts +17 -0
- package/serialization/types/WorkspaceSecretRead.js +38 -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
package/reference.md
CHANGED
|
@@ -146,6 +146,9 @@ await client.adHoc.adhocExecutePromptStream({
|
|
|
146
146
|
},
|
|
147
147
|
},
|
|
148
148
|
},
|
|
149
|
+
settings: {
|
|
150
|
+
timeout: 1.1,
|
|
151
|
+
},
|
|
149
152
|
blocks: [
|
|
150
153
|
{
|
|
151
154
|
blockType: "JINJA",
|
|
@@ -2786,3 +2789,68 @@ await client.workflowSandboxes.deployWorkflow("id", "workflow_id");
|
|
|
2786
2789
|
</dd>
|
|
2787
2790
|
</dl>
|
|
2788
2791
|
</details>
|
|
2792
|
+
|
|
2793
|
+
## WorkspaceSecrets
|
|
2794
|
+
|
|
2795
|
+
<details><summary><code>client.workspaceSecrets.<a href="/src/api/resources/workspaceSecrets/client/Client.ts">retrieve</a>(id) -> Vellum.WorkspaceSecretRead</code></summary>
|
|
2796
|
+
<dl>
|
|
2797
|
+
<dd>
|
|
2798
|
+
|
|
2799
|
+
#### 📝 Description
|
|
2800
|
+
|
|
2801
|
+
<dl>
|
|
2802
|
+
<dd>
|
|
2803
|
+
|
|
2804
|
+
<dl>
|
|
2805
|
+
<dd>
|
|
2806
|
+
|
|
2807
|
+
Used to retrieve a Workspace Secret given its ID or name.
|
|
2808
|
+
|
|
2809
|
+
</dd>
|
|
2810
|
+
</dl>
|
|
2811
|
+
</dd>
|
|
2812
|
+
</dl>
|
|
2813
|
+
|
|
2814
|
+
#### 🔌 Usage
|
|
2815
|
+
|
|
2816
|
+
<dl>
|
|
2817
|
+
<dd>
|
|
2818
|
+
|
|
2819
|
+
<dl>
|
|
2820
|
+
<dd>
|
|
2821
|
+
|
|
2822
|
+
```typescript
|
|
2823
|
+
await client.workspaceSecrets.retrieve("id");
|
|
2824
|
+
```
|
|
2825
|
+
|
|
2826
|
+
</dd>
|
|
2827
|
+
</dl>
|
|
2828
|
+
</dd>
|
|
2829
|
+
</dl>
|
|
2830
|
+
|
|
2831
|
+
#### ⚙️ Parameters
|
|
2832
|
+
|
|
2833
|
+
<dl>
|
|
2834
|
+
<dd>
|
|
2835
|
+
|
|
2836
|
+
<dl>
|
|
2837
|
+
<dd>
|
|
2838
|
+
|
|
2839
|
+
**id:** `string` — Either the Workspace Secret's ID or its unique name
|
|
2840
|
+
|
|
2841
|
+
</dd>
|
|
2842
|
+
</dl>
|
|
2843
|
+
|
|
2844
|
+
<dl>
|
|
2845
|
+
<dd>
|
|
2846
|
+
|
|
2847
|
+
**requestOptions:** `WorkspaceSecrets.RequestOptions`
|
|
2848
|
+
|
|
2849
|
+
</dd>
|
|
2850
|
+
</dl>
|
|
2851
|
+
</dd>
|
|
2852
|
+
</dl>
|
|
2853
|
+
|
|
2854
|
+
</dd>
|
|
2855
|
+
</dl>
|
|
2856
|
+
</details>
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
import { PromptRequestInputRequest } from "../../../../types/PromptRequestInputRequest";
|
|
8
8
|
import { VellumVariableRequest } from "../../../../types/VellumVariableRequest";
|
|
9
9
|
import { PromptParametersRequest } from "../../../../types/PromptParametersRequest";
|
|
10
|
+
import { PromptSettingsRequest } from "../../../../types/PromptSettingsRequest";
|
|
10
11
|
import { AdHocExpandMetaRequest } from "../../../../types/AdHocExpandMetaRequest";
|
|
11
12
|
export declare const AdHocExecutePromptStreamRequest: core.serialization.Schema<serializers.AdHocExecutePromptStreamRequest.Raw, Vellum.AdHocExecutePromptStreamRequest>;
|
|
12
13
|
export declare namespace AdHocExecutePromptStreamRequest {
|
|
@@ -15,6 +16,7 @@ export declare namespace AdHocExecutePromptStreamRequest {
|
|
|
15
16
|
input_values: PromptRequestInputRequest.Raw[];
|
|
16
17
|
input_variables: VellumVariableRequest.Raw[];
|
|
17
18
|
parameters: PromptParametersRequest.Raw;
|
|
19
|
+
settings?: PromptSettingsRequest.Raw | null;
|
|
18
20
|
blocks: serializers.PromptBlockRequest.Raw[];
|
|
19
21
|
expand_meta?: AdHocExpandMetaRequest.Raw | null;
|
|
20
22
|
}
|
|
@@ -32,12 +32,14 @@ const core = __importStar(require("../../../../../core"));
|
|
|
32
32
|
const PromptRequestInputRequest_1 = require("../../../../types/PromptRequestInputRequest");
|
|
33
33
|
const VellumVariableRequest_1 = require("../../../../types/VellumVariableRequest");
|
|
34
34
|
const PromptParametersRequest_1 = require("../../../../types/PromptParametersRequest");
|
|
35
|
+
const PromptSettingsRequest_1 = require("../../../../types/PromptSettingsRequest");
|
|
35
36
|
const AdHocExpandMetaRequest_1 = require("../../../../types/AdHocExpandMetaRequest");
|
|
36
37
|
exports.AdHocExecutePromptStreamRequest = core.serialization.object({
|
|
37
38
|
mlModel: core.serialization.property("ml_model", core.serialization.string()),
|
|
38
39
|
inputValues: core.serialization.property("input_values", core.serialization.list(PromptRequestInputRequest_1.PromptRequestInputRequest)),
|
|
39
40
|
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariableRequest_1.VellumVariableRequest)),
|
|
40
41
|
parameters: PromptParametersRequest_1.PromptParametersRequest,
|
|
42
|
+
settings: PromptSettingsRequest_1.PromptSettingsRequest.optional(),
|
|
41
43
|
blocks: core.serialization.list(core.serialization.lazy(() => serializers.PromptBlockRequest)),
|
|
42
44
|
expandMeta: core.serialization.property("expand_meta", AdHocExpandMetaRequest_1.AdHocExpandMetaRequest.optional()),
|
|
43
45
|
});
|
|
@@ -7,10 +7,10 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const ApiNodeResultData: core.serialization.ObjectSchema<serializers.ApiNodeResultData.Raw, Vellum.ApiNodeResultData>;
|
|
8
8
|
export declare namespace ApiNodeResultData {
|
|
9
9
|
interface Raw {
|
|
10
|
+
json?: Record<string, unknown> | null;
|
|
10
11
|
text_output_id: string;
|
|
11
12
|
text?: string | null;
|
|
12
13
|
json_output_id: string;
|
|
13
|
-
json?: Record<string, unknown> | null;
|
|
14
14
|
status_code_output_id: string;
|
|
15
15
|
status_code: number;
|
|
16
16
|
}
|
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ApiNodeResultData = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.ApiNodeResultData = core.serialization.object({
|
|
32
|
+
json: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
32
33
|
textOutputId: core.serialization.property("text_output_id", core.serialization.string()),
|
|
33
34
|
text: core.serialization.string().optional(),
|
|
34
35
|
jsonOutputId: core.serialization.property("json_output_id", core.serialization.string()),
|
|
35
|
-
json: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
36
36
|
statusCodeOutputId: core.serialization.property("status_code_output_id", core.serialization.string()),
|
|
37
37
|
statusCode: core.serialization.property("status_code", core.serialization.number()),
|
|
38
38
|
});
|
|
@@ -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 PromptSettingsRequest: core.serialization.ObjectSchema<serializers.PromptSettingsRequest.Raw, Vellum.PromptSettingsRequest>;
|
|
8
|
+
export declare namespace PromptSettingsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
timeout?: number | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PromptSettingsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PromptSettingsRequest = core.serialization.object({
|
|
32
|
+
timeout: core.serialization.number().optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SecretTypeEnum: core.serialization.Schema<serializers.SecretTypeEnum.Raw, Vellum.SecretTypeEnum>;
|
|
8
|
+
export declare namespace SecretTypeEnum {
|
|
9
|
+
type Raw = "USER_DEFINED" | "HMAC" | "INTERNAL_API_KEY";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SecretTypeEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SecretTypeEnum = core.serialization.enum_(["USER_DEFINED", "HMAC", "INTERNAL_API_KEY"]);
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumErrorCodeEnum: core.serialization.Schema<serializers.VellumErrorCodeEnum.Raw, Vellum.VellumErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_REQUEST" | "PROVIDER_ERROR" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
9
|
+
type Raw = "INVALID_REQUEST" | "PROVIDER_ERROR" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
10
10
|
}
|
|
@@ -28,4 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.VellumErrorCodeEnum = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.VellumErrorCodeEnum = core.serialization.enum_([
|
|
31
|
+
exports.VellumErrorCodeEnum = core.serialization.enum_([
|
|
32
|
+
"INVALID_REQUEST",
|
|
33
|
+
"PROVIDER_ERROR",
|
|
34
|
+
"REQUEST_TIMEOUT",
|
|
35
|
+
"INTERNAL_SERVER_ERROR",
|
|
36
|
+
"USER_DEFINED_ERROR",
|
|
37
|
+
]);
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { SecretTypeEnum } from "./SecretTypeEnum";
|
|
8
|
+
export declare const WorkspaceSecretRead: core.serialization.ObjectSchema<serializers.WorkspaceSecretRead.Raw, Vellum.WorkspaceSecretRead>;
|
|
9
|
+
export declare namespace WorkspaceSecretRead {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
modified: string;
|
|
13
|
+
name: string;
|
|
14
|
+
label: string;
|
|
15
|
+
secret_type: SecretTypeEnum.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WorkspaceSecretRead = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const SecretTypeEnum_1 = require("./SecretTypeEnum");
|
|
32
|
+
exports.WorkspaceSecretRead = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
modified: core.serialization.date(),
|
|
35
|
+
name: core.serialization.string(),
|
|
36
|
+
label: core.serialization.string(),
|
|
37
|
+
secretType: core.serialization.property("secret_type", SecretTypeEnum_1.SecretTypeEnum),
|
|
38
|
+
});
|
|
@@ -257,6 +257,7 @@ export * from "./PromptRequestChatHistoryInputRequest";
|
|
|
257
257
|
export * from "./PromptRequestInputRequest";
|
|
258
258
|
export * from "./PromptRequestJsonInputRequest";
|
|
259
259
|
export * from "./PromptRequestStringInputRequest";
|
|
260
|
+
export * from "./PromptSettingsRequest";
|
|
260
261
|
export * from "./RawPromptExecutionOverridesRequest";
|
|
261
262
|
export * from "./ReductoChunkerConfig";
|
|
262
263
|
export * from "./ReductoChunkerConfigRequest";
|
|
@@ -296,6 +297,7 @@ export * from "./SearchResultsVariableValue";
|
|
|
296
297
|
export * from "./SearchResultsVellumValue";
|
|
297
298
|
export * from "./SearchResultsVellumValueRequest";
|
|
298
299
|
export * from "./SearchWeightsRequest";
|
|
300
|
+
export * from "./SecretTypeEnum";
|
|
299
301
|
export * from "./SentenceChunkerConfig";
|
|
300
302
|
export * from "./SentenceChunkerConfigRequest";
|
|
301
303
|
export * from "./SentenceChunking";
|
|
@@ -461,3 +463,4 @@ export * from "./WorkflowResultEventOutputDataNumber";
|
|
|
461
463
|
export * from "./WorkflowResultEventOutputDataSearchResults";
|
|
462
464
|
export * from "./WorkflowResultEventOutputDataString";
|
|
463
465
|
export * from "./WorkflowStreamEvent";
|
|
466
|
+
export * from "./WorkspaceSecretRead";
|
|
@@ -273,6 +273,7 @@ __exportStar(require("./PromptRequestChatHistoryInputRequest"), exports);
|
|
|
273
273
|
__exportStar(require("./PromptRequestInputRequest"), exports);
|
|
274
274
|
__exportStar(require("./PromptRequestJsonInputRequest"), exports);
|
|
275
275
|
__exportStar(require("./PromptRequestStringInputRequest"), exports);
|
|
276
|
+
__exportStar(require("./PromptSettingsRequest"), exports);
|
|
276
277
|
__exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
|
|
277
278
|
__exportStar(require("./ReductoChunkerConfig"), exports);
|
|
278
279
|
__exportStar(require("./ReductoChunkerConfigRequest"), exports);
|
|
@@ -312,6 +313,7 @@ __exportStar(require("./SearchResultsVariableValue"), exports);
|
|
|
312
313
|
__exportStar(require("./SearchResultsVellumValue"), exports);
|
|
313
314
|
__exportStar(require("./SearchResultsVellumValueRequest"), exports);
|
|
314
315
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
316
|
+
__exportStar(require("./SecretTypeEnum"), exports);
|
|
315
317
|
__exportStar(require("./SentenceChunkerConfig"), exports);
|
|
316
318
|
__exportStar(require("./SentenceChunkerConfigRequest"), exports);
|
|
317
319
|
__exportStar(require("./SentenceChunking"), exports);
|
|
@@ -477,3 +479,4 @@ __exportStar(require("./WorkflowResultEventOutputDataNumber"), exports);
|
|
|
477
479
|
__exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
|
|
478
480
|
__exportStar(require("./WorkflowResultEventOutputDataString"), exports);
|
|
479
481
|
__exportStar(require("./WorkflowStreamEvent"), exports);
|
|
482
|
+
__exportStar(require("./WorkspaceSecretRead"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.8.
|
|
1
|
+
export declare const SDK_VERSION = "0.8.26";
|
package/version.js
CHANGED