vellum-ai 0.9.2 → 0.9.3
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 +8 -2
- package/.mock/definition/containerImages.yml +20 -0
- package/.mock/definition/workflows.yml +20 -2
- package/.mock/openapi/openapi.yml +61 -1
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.d.ts +9 -0
- package/api/resources/containerImages/client/Client.js +54 -3
- 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/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/workflows/client/Client.d.ts +6 -0
- package/api/resources/workflows/client/Client.js +44 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/DockerServiceToken.d.ts +8 -0
- package/api/types/DockerServiceToken.js +5 -0
- package/api/types/EnrichedNormalizedCompletion.d.ts +1 -1
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.d.ts +9 -0
- package/dist/api/resources/containerImages/client/Client.js +54 -3
- 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/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/workflows/client/Client.d.ts +6 -0
- package/dist/api/resources/workflows/client/Client.js +44 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/DockerServiceToken.d.ts +8 -0
- package/dist/api/types/DockerServiceToken.js +5 -0
- package/dist/api/types/EnrichedNormalizedCompletion.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/DockerServiceToken.d.ts +14 -0
- package/dist/serialization/types/DockerServiceToken.js +35 -0
- package/dist/serialization/types/EnrichedNormalizedCompletion.d.ts +1 -1
- package/dist/serialization/types/EnrichedNormalizedCompletion.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/reference.md +118 -0
- package/serialization/types/DockerServiceToken.d.ts +14 -0
- package/serialization/types/DockerServiceToken.js +35 -0
- package/serialization/types/EnrichedNormalizedCompletion.d.ts +1 -1
- package/serialization/types/EnrichedNormalizedCompletion.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
package/reference.md
CHANGED
|
@@ -334,6 +334,61 @@ await client.containerImages.retrieve("id");
|
|
|
334
334
|
</dl>
|
|
335
335
|
</details>
|
|
336
336
|
|
|
337
|
+
<details><summary><code>client.containerImages.<a href="/src/api/resources/containerImages/client/Client.ts">dockerServiceToken</a>() -> Vellum.DockerServiceToken</code></summary>
|
|
338
|
+
<dl>
|
|
339
|
+
<dd>
|
|
340
|
+
|
|
341
|
+
#### 📝 Description
|
|
342
|
+
|
|
343
|
+
<dl>
|
|
344
|
+
<dd>
|
|
345
|
+
|
|
346
|
+
<dl>
|
|
347
|
+
<dd>
|
|
348
|
+
|
|
349
|
+
An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
350
|
+
|
|
351
|
+
</dd>
|
|
352
|
+
</dl>
|
|
353
|
+
</dd>
|
|
354
|
+
</dl>
|
|
355
|
+
|
|
356
|
+
#### 🔌 Usage
|
|
357
|
+
|
|
358
|
+
<dl>
|
|
359
|
+
<dd>
|
|
360
|
+
|
|
361
|
+
<dl>
|
|
362
|
+
<dd>
|
|
363
|
+
|
|
364
|
+
```typescript
|
|
365
|
+
await client.containerImages.dockerServiceToken();
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
</dd>
|
|
369
|
+
</dl>
|
|
370
|
+
</dd>
|
|
371
|
+
</dl>
|
|
372
|
+
|
|
373
|
+
#### ⚙️ Parameters
|
|
374
|
+
|
|
375
|
+
<dl>
|
|
376
|
+
<dd>
|
|
377
|
+
|
|
378
|
+
<dl>
|
|
379
|
+
<dd>
|
|
380
|
+
|
|
381
|
+
**requestOptions:** `ContainerImages.RequestOptions`
|
|
382
|
+
|
|
383
|
+
</dd>
|
|
384
|
+
</dl>
|
|
385
|
+
</dd>
|
|
386
|
+
</dl>
|
|
387
|
+
|
|
388
|
+
</dd>
|
|
389
|
+
</dl>
|
|
390
|
+
</details>
|
|
391
|
+
|
|
337
392
|
<details><summary><code>client.containerImages.<a href="/src/api/resources/containerImages/client/Client.ts">pushContainerImage</a>({ ...params }) -> Vellum.ContainerImageRead</code></summary>
|
|
338
393
|
<dl>
|
|
339
394
|
<dd>
|
|
@@ -2987,6 +3042,69 @@ await client.workflowSandboxes.deployWorkflow("id", "workflow_id");
|
|
|
2987
3042
|
|
|
2988
3043
|
## Workflows
|
|
2989
3044
|
|
|
3045
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">pull</a>(id) -> stream.Readable</code></summary>
|
|
3046
|
+
<dl>
|
|
3047
|
+
<dd>
|
|
3048
|
+
|
|
3049
|
+
#### 📝 Description
|
|
3050
|
+
|
|
3051
|
+
<dl>
|
|
3052
|
+
<dd>
|
|
3053
|
+
|
|
3054
|
+
<dl>
|
|
3055
|
+
<dd>
|
|
3056
|
+
|
|
3057
|
+
An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
3058
|
+
|
|
3059
|
+
</dd>
|
|
3060
|
+
</dl>
|
|
3061
|
+
</dd>
|
|
3062
|
+
</dl>
|
|
3063
|
+
|
|
3064
|
+
#### 🔌 Usage
|
|
3065
|
+
|
|
3066
|
+
<dl>
|
|
3067
|
+
<dd>
|
|
3068
|
+
|
|
3069
|
+
<dl>
|
|
3070
|
+
<dd>
|
|
3071
|
+
|
|
3072
|
+
```typescript
|
|
3073
|
+
await client.workflows.pull("string");
|
|
3074
|
+
```
|
|
3075
|
+
|
|
3076
|
+
</dd>
|
|
3077
|
+
</dl>
|
|
3078
|
+
</dd>
|
|
3079
|
+
</dl>
|
|
3080
|
+
|
|
3081
|
+
#### ⚙️ Parameters
|
|
3082
|
+
|
|
3083
|
+
<dl>
|
|
3084
|
+
<dd>
|
|
3085
|
+
|
|
3086
|
+
<dl>
|
|
3087
|
+
<dd>
|
|
3088
|
+
|
|
3089
|
+
**id:** `string` — The ID of the Workflow to pull from
|
|
3090
|
+
|
|
3091
|
+
</dd>
|
|
3092
|
+
</dl>
|
|
3093
|
+
|
|
3094
|
+
<dl>
|
|
3095
|
+
<dd>
|
|
3096
|
+
|
|
3097
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3098
|
+
|
|
3099
|
+
</dd>
|
|
3100
|
+
</dl>
|
|
3101
|
+
</dd>
|
|
3102
|
+
</dl>
|
|
3103
|
+
|
|
3104
|
+
</dd>
|
|
3105
|
+
</dl>
|
|
3106
|
+
</details>
|
|
3107
|
+
|
|
2990
3108
|
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">push</a>({ ...params }) -> Vellum.WorkflowPushResponse</code></summary>
|
|
2991
3109
|
<dl>
|
|
2992
3110
|
<dd>
|
|
@@ -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 DockerServiceToken: core.serialization.ObjectSchema<serializers.DockerServiceToken.Raw, Vellum.DockerServiceToken>;
|
|
8
|
+
export declare namespace DockerServiceToken {
|
|
9
|
+
interface Raw {
|
|
10
|
+
access_token: string;
|
|
11
|
+
organization_id: string;
|
|
12
|
+
repository: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.DockerServiceToken = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DockerServiceToken = core.serialization.object({
|
|
32
|
+
accessToken: core.serialization.property("access_token", core.serialization.string()),
|
|
33
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
34
|
+
repository: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -15,7 +15,7 @@ export declare namespace EnrichedNormalizedCompletion {
|
|
|
15
15
|
text: string;
|
|
16
16
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
17
17
|
logprobs?: NormalizedLogProbs.Raw | null;
|
|
18
|
-
model_version_id
|
|
18
|
+
model_version_id?: string | null;
|
|
19
19
|
prompt_version_id: string;
|
|
20
20
|
type?: VellumVariableType.Raw | null;
|
|
21
21
|
deployment_release_tag: string;
|
|
@@ -37,7 +37,7 @@ exports.EnrichedNormalizedCompletion = core.serialization.object({
|
|
|
37
37
|
text: core.serialization.string(),
|
|
38
38
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
39
39
|
logprobs: NormalizedLogProbs_1.NormalizedLogProbs.optional(),
|
|
40
|
-
modelVersionId: core.serialization.property("model_version_id", core.serialization.string()),
|
|
40
|
+
modelVersionId: core.serialization.property("model_version_id", core.serialization.string().optional()),
|
|
41
41
|
promptVersionId: core.serialization.property("prompt_version_id", core.serialization.string()),
|
|
42
42
|
type: VellumVariableType_1.VellumVariableType.optional(),
|
|
43
43
|
deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.string()),
|
|
@@ -63,6 +63,7 @@ export * from "./DeploymentProviderPayloadResponse";
|
|
|
63
63
|
export * from "./DeploymentRead";
|
|
64
64
|
export * from "./DeploymentReleaseTagDeploymentHistoryItem";
|
|
65
65
|
export * from "./DeploymentReleaseTagRead";
|
|
66
|
+
export * from "./DockerServiceToken";
|
|
66
67
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
67
68
|
export * from "./DocumentIndexChunking";
|
|
68
69
|
export * from "./DocumentIndexChunkingRequest";
|
|
@@ -79,6 +79,7 @@ __exportStar(require("./DeploymentProviderPayloadResponse"), exports);
|
|
|
79
79
|
__exportStar(require("./DeploymentRead"), exports);
|
|
80
80
|
__exportStar(require("./DeploymentReleaseTagDeploymentHistoryItem"), exports);
|
|
81
81
|
__exportStar(require("./DeploymentReleaseTagRead"), exports);
|
|
82
|
+
__exportStar(require("./DockerServiceToken"), exports);
|
|
82
83
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
83
84
|
__exportStar(require("./DocumentIndexChunking"), exports);
|
|
84
85
|
__exportStar(require("./DocumentIndexChunkingRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "v0.9.3";
|
package/version.js
CHANGED