@vertesia/client 0.80.0 → 0.80.1
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/package.json +3 -3
- package/src/client.test.ts +3 -0
- package/src/client.ts +6 -1
- package/src/store/WorkersApi.ts +17 -0
- package/src/store/client.ts +2 -2
- package/lib/cjs/AccountApi.js +0 -85
- package/lib/cjs/AccountApi.js.map +0 -1
- package/lib/cjs/AccountsApi.js +0 -16
- package/lib/cjs/AccountsApi.js.map +0 -1
- package/lib/cjs/AnalyticsApi.js +0 -13
- package/lib/cjs/AnalyticsApi.js.map +0 -1
- package/lib/cjs/ApiKeysApi.js +0 -63
- package/lib/cjs/ApiKeysApi.js.map +0 -1
- package/lib/cjs/AppsApi.js +0 -119
- package/lib/cjs/AppsApi.js.map +0 -1
- package/lib/cjs/CommandsApi.js +0 -19
- package/lib/cjs/CommandsApi.js.map +0 -1
- package/lib/cjs/EnvironmentsApi.js +0 -58
- package/lib/cjs/EnvironmentsApi.js.map +0 -1
- package/lib/cjs/GroupsApi.js +0 -78
- package/lib/cjs/GroupsApi.js.map +0 -1
- package/lib/cjs/IamApi.js +0 -53
- package/lib/cjs/IamApi.js.map +0 -1
- package/lib/cjs/InteractionBase.js +0 -44
- package/lib/cjs/InteractionBase.js.map +0 -1
- package/lib/cjs/InteractionCatalogApi.js +0 -64
- package/lib/cjs/InteractionCatalogApi.js.map +0 -1
- package/lib/cjs/InteractionOutput.js +0 -300
- package/lib/cjs/InteractionOutput.js.map +0 -1
- package/lib/cjs/InteractionResult.example.js +0 -57
- package/lib/cjs/InteractionResult.example.js.map +0 -1
- package/lib/cjs/InteractionsApi.js +0 -243
- package/lib/cjs/InteractionsApi.js.map +0 -1
- package/lib/cjs/ProjectsApi.js +0 -53
- package/lib/cjs/ProjectsApi.js.map +0 -1
- package/lib/cjs/PromptsApi.js +0 -133
- package/lib/cjs/PromptsApi.js.map +0 -1
- package/lib/cjs/RefsApi.js +0 -14
- package/lib/cjs/RefsApi.js.map +0 -1
- package/lib/cjs/RunsApi.js +0 -113
- package/lib/cjs/RunsApi.js.map +0 -1
- package/lib/cjs/SkillsApi.js +0 -39
- package/lib/cjs/SkillsApi.js.map +0 -1
- package/lib/cjs/StreamSource.js +0 -17
- package/lib/cjs/StreamSource.js.map +0 -1
- package/lib/cjs/TrainingApi.js +0 -54
- package/lib/cjs/TrainingApi.js.map +0 -1
- package/lib/cjs/UsersApi.js +0 -13
- package/lib/cjs/UsersApi.js.map +0 -1
- package/lib/cjs/client.js +0 -345
- package/lib/cjs/client.js.map +0 -1
- package/lib/cjs/execute.js +0 -158
- package/lib/cjs/execute.js.map +0 -1
- package/lib/cjs/index.js +0 -22
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/nodejs/NodeStreamSource.js +0 -45
- package/lib/cjs/nodejs/NodeStreamSource.js.map +0 -1
- package/lib/cjs/nodejs/index.js +0 -18
- package/lib/cjs/nodejs/index.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/store/AgentsApi.js +0 -16
- package/lib/cjs/store/AgentsApi.js.map +0 -1
- package/lib/cjs/store/AnalyzeDocApi.js +0 -56
- package/lib/cjs/store/AnalyzeDocApi.js.map +0 -1
- package/lib/cjs/store/CollectionsApi.js +0 -131
- package/lib/cjs/store/CollectionsApi.js.map +0 -1
- package/lib/cjs/store/CommandsApi.js +0 -17
- package/lib/cjs/store/CommandsApi.js.map +0 -1
- package/lib/cjs/store/EmbeddingsApi.js +0 -29
- package/lib/cjs/store/EmbeddingsApi.js.map +0 -1
- package/lib/cjs/store/FilesApi.js +0 -225
- package/lib/cjs/store/FilesApi.js.map +0 -1
- package/lib/cjs/store/ObjectsApi.js +0 -283
- package/lib/cjs/store/ObjectsApi.js.map +0 -1
- package/lib/cjs/store/TypesApi.js +0 -57
- package/lib/cjs/store/TypesApi.js.map +0 -1
- package/lib/cjs/store/WorkflowsApi.js +0 -414
- package/lib/cjs/store/WorkflowsApi.js.map +0 -1
- package/lib/cjs/store/client.js +0 -71
- package/lib/cjs/store/client.js.map +0 -1
- package/lib/cjs/store/errors.js +0 -11
- package/lib/cjs/store/errors.js.map +0 -1
- package/lib/cjs/store/index.js +0 -23
- package/lib/cjs/store/index.js.map +0 -1
- package/lib/cjs/store/version.js +0 -6
- package/lib/cjs/store/version.js.map +0 -1
- package/lib/esm/AccountApi.js +0 -82
- package/lib/esm/AccountApi.js.map +0 -1
- package/lib/esm/AccountsApi.js +0 -13
- package/lib/esm/AccountsApi.js.map +0 -1
- package/lib/esm/AnalyticsApi.js +0 -10
- package/lib/esm/AnalyticsApi.js.map +0 -1
- package/lib/esm/ApiKeysApi.js +0 -59
- package/lib/esm/ApiKeysApi.js.map +0 -1
- package/lib/esm/AppsApi.js +0 -116
- package/lib/esm/AppsApi.js.map +0 -1
- package/lib/esm/CommandsApi.js +0 -16
- package/lib/esm/CommandsApi.js.map +0 -1
- package/lib/esm/EnvironmentsApi.js +0 -55
- package/lib/esm/EnvironmentsApi.js.map +0 -1
- package/lib/esm/GroupsApi.js +0 -74
- package/lib/esm/GroupsApi.js.map +0 -1
- package/lib/esm/IamApi.js +0 -47
- package/lib/esm/IamApi.js.map +0 -1
- package/lib/esm/InteractionBase.js +0 -40
- package/lib/esm/InteractionBase.js.map +0 -1
- package/lib/esm/InteractionCatalogApi.js +0 -60
- package/lib/esm/InteractionCatalogApi.js.map +0 -1
- package/lib/esm/InteractionOutput.js +0 -293
- package/lib/esm/InteractionOutput.js.map +0 -1
- package/lib/esm/InteractionResult.example.js +0 -55
- package/lib/esm/InteractionResult.example.js.map +0 -1
- package/lib/esm/InteractionsApi.js +0 -240
- package/lib/esm/InteractionsApi.js.map +0 -1
- package/lib/esm/ProjectsApi.js +0 -50
- package/lib/esm/ProjectsApi.js.map +0 -1
- package/lib/esm/PromptsApi.js +0 -130
- package/lib/esm/PromptsApi.js.map +0 -1
- package/lib/esm/RefsApi.js +0 -10
- package/lib/esm/RefsApi.js.map +0 -1
- package/lib/esm/RunsApi.js +0 -109
- package/lib/esm/RunsApi.js.map +0 -1
- package/lib/esm/SkillsApi.js +0 -36
- package/lib/esm/SkillsApi.js.map +0 -1
- package/lib/esm/StreamSource.js +0 -13
- package/lib/esm/StreamSource.js.map +0 -1
- package/lib/esm/TrainingApi.js +0 -51
- package/lib/esm/TrainingApi.js.map +0 -1
- package/lib/esm/UsersApi.js +0 -10
- package/lib/esm/UsersApi.js.map +0 -1
- package/lib/esm/client.js +0 -336
- package/lib/esm/client.js.map +0 -1
- package/lib/esm/execute.js +0 -118
- package/lib/esm/execute.js.map +0 -1
- package/lib/esm/index.js +0 -6
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/nodejs/NodeStreamSource.js +0 -41
- package/lib/esm/nodejs/NodeStreamSource.js.map +0 -1
- package/lib/esm/nodejs/index.js +0 -2
- package/lib/esm/nodejs/index.js.map +0 -1
- package/lib/esm/store/AgentsApi.js +0 -12
- package/lib/esm/store/AgentsApi.js.map +0 -1
- package/lib/esm/store/AnalyzeDocApi.js +0 -52
- package/lib/esm/store/AnalyzeDocApi.js.map +0 -1
- package/lib/esm/store/CollectionsApi.js +0 -127
- package/lib/esm/store/CollectionsApi.js.map +0 -1
- package/lib/esm/store/CommandsApi.js +0 -13
- package/lib/esm/store/CommandsApi.js.map +0 -1
- package/lib/esm/store/EmbeddingsApi.js +0 -25
- package/lib/esm/store/EmbeddingsApi.js.map +0 -1
- package/lib/esm/store/FilesApi.js +0 -219
- package/lib/esm/store/FilesApi.js.map +0 -1
- package/lib/esm/store/ObjectsApi.js +0 -279
- package/lib/esm/store/ObjectsApi.js.map +0 -1
- package/lib/esm/store/TypesApi.js +0 -53
- package/lib/esm/store/TypesApi.js.map +0 -1
- package/lib/esm/store/WorkflowsApi.js +0 -408
- package/lib/esm/store/WorkflowsApi.js.map +0 -1
- package/lib/esm/store/client.js +0 -67
- package/lib/esm/store/client.js.map +0 -1
- package/lib/esm/store/errors.js +0 -7
- package/lib/esm/store/errors.js.map +0 -1
- package/lib/esm/store/index.js +0 -7
- package/lib/esm/store/index.js.map +0 -1
- package/lib/esm/store/version.js +0 -3
- package/lib/esm/store/version.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/AccountApi.d.ts +0 -59
- package/lib/types/AccountApi.d.ts.map +0 -1
- package/lib/types/AccountsApi.d.ts +0 -7
- package/lib/types/AccountsApi.d.ts.map +0 -1
- package/lib/types/AnalyticsApi.d.ts +0 -6
- package/lib/types/AnalyticsApi.d.ts.map +0 -1
- package/lib/types/ApiKeysApi.d.ts +0 -42
- package/lib/types/ApiKeysApi.d.ts.map +0 -1
- package/lib/types/AppsApi.d.ts +0 -65
- package/lib/types/AppsApi.d.ts.map +0 -1
- package/lib/types/CommandsApi.d.ts +0 -10
- package/lib/types/CommandsApi.d.ts.map +0 -1
- package/lib/types/EnvironmentsApi.d.ts +0 -30
- package/lib/types/EnvironmentsApi.d.ts.map +0 -1
- package/lib/types/GroupsApi.d.ts +0 -65
- package/lib/types/GroupsApi.d.ts.map +0 -1
- package/lib/types/IamApi.d.ts +0 -41
- package/lib/types/IamApi.d.ts.map +0 -1
- package/lib/types/InteractionBase.d.ts +0 -22
- package/lib/types/InteractionBase.d.ts.map +0 -1
- package/lib/types/InteractionCatalogApi.d.ts +0 -36
- package/lib/types/InteractionCatalogApi.d.ts.map +0 -1
- package/lib/types/InteractionOutput.d.ts +0 -174
- package/lib/types/InteractionOutput.d.ts.map +0 -1
- package/lib/types/InteractionResult.example.d.ts +0 -6
- package/lib/types/InteractionResult.example.d.ts.map +0 -1
- package/lib/types/InteractionsApi.d.ts +0 -165
- package/lib/types/InteractionsApi.d.ts.map +0 -1
- package/lib/types/ProjectsApi.d.ts +0 -18
- package/lib/types/ProjectsApi.d.ts.map +0 -1
- package/lib/types/PromptsApi.d.ts +0 -106
- package/lib/types/PromptsApi.d.ts.map +0 -1
- package/lib/types/RefsApi.d.ts +0 -6
- package/lib/types/RefsApi.d.ts.map +0 -1
- package/lib/types/RunsApi.d.ts +0 -79
- package/lib/types/RunsApi.d.ts.map +0 -1
- package/lib/types/SkillsApi.d.ts +0 -26
- package/lib/types/SkillsApi.d.ts.map +0 -1
- package/lib/types/StreamSource.d.ts +0 -7
- package/lib/types/StreamSource.d.ts.map +0 -1
- package/lib/types/TrainingApi.d.ts +0 -27
- package/lib/types/TrainingApi.d.ts.map +0 -1
- package/lib/types/UsersApi.d.ts +0 -6
- package/lib/types/UsersApi.d.ts.map +0 -1
- package/lib/types/client.d.ts +0 -125
- package/lib/types/client.d.ts.map +0 -1
- package/lib/types/execute.d.ts +0 -37
- package/lib/types/execute.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -10
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/nodejs/NodeStreamSource.d.ts +0 -9
- package/lib/types/nodejs/NodeStreamSource.d.ts.map +0 -1
- package/lib/types/nodejs/index.d.ts +0 -1
- package/lib/types/nodejs/index.d.ts.map +0 -1
- package/lib/types/store/AgentsApi.d.ts +0 -6
- package/lib/types/store/AgentsApi.d.ts.map +0 -1
- package/lib/types/store/AnalyzeDocApi.d.ts +0 -17
- package/lib/types/store/AnalyzeDocApi.d.ts.map +0 -1
- package/lib/types/store/CollectionsApi.d.ts +0 -82
- package/lib/types/store/CollectionsApi.d.ts.map +0 -1
- package/lib/types/store/CommandsApi.d.ts +0 -10
- package/lib/types/store/CommandsApi.d.ts.map +0 -1
- package/lib/types/store/EmbeddingsApi.d.ts +0 -12
- package/lib/types/store/EmbeddingsApi.d.ts.map +0 -1
- package/lib/types/store/FilesApi.d.ts +0 -103
- package/lib/types/store/FilesApi.d.ts.map +0 -1
- package/lib/types/store/ObjectsApi.d.ts +0 -117
- package/lib/types/store/ObjectsApi.d.ts.map +0 -1
- package/lib/types/store/TypesApi.d.ts +0 -23
- package/lib/types/store/TypesApi.d.ts.map +0 -1
- package/lib/types/store/WorkflowsApi.d.ts +0 -62
- package/lib/types/store/WorkflowsApi.d.ts.map +0 -1
- package/lib/types/store/client.d.ts +0 -35
- package/lib/types/store/client.d.ts.map +0 -1
- package/lib/types/store/errors.d.ts +0 -4
- package/lib/types/store/errors.d.ts.map +0 -1
- package/lib/types/store/index.d.ts +0 -6
- package/lib/types/store/index.d.ts.map +0 -1
- package/lib/types/store/version.d.ts +0 -2
- package/lib/types/store/version.d.ts.map +0 -1
- package/lib/vertesia-client.js +0 -2
- package/lib/vertesia-client.js.map +0 -1
- package/src/store/AgentsApi.ts +0 -17
package/lib/types/SkillsApi.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { InjectedSkill, SkillContext } from "@vertesia/common";
|
|
3
|
-
/**
|
|
4
|
-
* API client for skill operations.
|
|
5
|
-
* Skills are interactions with agent_runner_options.is_skill = true.
|
|
6
|
-
* They provide contextual instructions to agents by executing/rendering
|
|
7
|
-
* the interaction and returning the result.
|
|
8
|
-
*/
|
|
9
|
-
export default class SkillsApi extends ApiTopic {
|
|
10
|
-
constructor(parent: ClientBase);
|
|
11
|
-
/**
|
|
12
|
-
* Find skills relevant to a given context.
|
|
13
|
-
* This is the core skill matching API for auto-injection.
|
|
14
|
-
* @param context The context to match against
|
|
15
|
-
* @param limit Maximum number of skills to return (default: 5)
|
|
16
|
-
* @returns Array of injected skills with match scores
|
|
17
|
-
*/
|
|
18
|
-
findRelevant(context: SkillContext, limit?: number): Promise<InjectedSkill[]>;
|
|
19
|
-
/**
|
|
20
|
-
* Convenience method to find relevant skills by task description
|
|
21
|
-
* @param taskDescription The task or prompt to match
|
|
22
|
-
* @param toolNames Optional list of tools being used
|
|
23
|
-
* @returns Array of injected skills
|
|
24
|
-
*/
|
|
25
|
-
findRelevantForTask(taskDescription: string, toolNames?: string[]): Promise<InjectedSkill[]>;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkillsApi.d.ts","sourceRoot":"","sources":["../../src/SkillsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAEH,aAAa,EACb,YAAY,EACf,MAAM,kBAAkB,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,QAAQ;gBAC/B,MAAM,EAAE,UAAU;IAI9B;;;;;;OAMG;IACH,YAAY,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAK7E;;;;;OAKG;IACH,mBAAmB,CACf,eAAe,EAAE,MAAM,EACvB,SAAS,CAAC,EAAE,MAAM,EAAE,GACrB,OAAO,CAAC,aAAa,EAAE,CAAC;CAM9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StreamSource.d.ts","sourceRoot":"","sources":["../../src/StreamSource.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACF,MAAM,EAAE,cAAc;IAAS,IAAI,EAAE,MAAM;IAAS,IAAI,CAAC,EAAE,MAAM;IAAS,EAAE,CAAC,EAAE,MAAM;gBAArF,MAAM,EAAE,cAAc,EAAS,IAAI,EAAE,MAAM,EAAS,IAAI,CAAC,EAAE,MAAM,YAAA,EAAS,EAAE,CAAC,EAAE,MAAM,YAAA;CAC3G"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { TrainingJob } from "@llumiverse/common";
|
|
2
|
-
import { ExecutionRunRef, ListTrainingSessionsQuery, TrainingSession, TrainingSessionCreatePayload, TrainingSessionRef } from "@vertesia/common";
|
|
3
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
4
|
-
export default class TrainingApi extends ApiTopic {
|
|
5
|
-
constructor(parent: ClientBase);
|
|
6
|
-
listSessions(query?: ListTrainingSessionsQuery): Promise<TrainingSessionRef[]>;
|
|
7
|
-
listSessionNames(query?: ListTrainingSessionsQuery): Promise<{
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
}[]>;
|
|
11
|
-
createSession(payload: TrainingSessionCreatePayload): Promise<TrainingSession>;
|
|
12
|
-
getSession(sessionId: string): Promise<TrainingSession>;
|
|
13
|
-
addToSession(sessionId: string, runs: string[]): Promise<any>;
|
|
14
|
-
listSessionRuns(sessionId: string, limit?: number, offset?: number): Promise<ExecutionRunRef[]>;
|
|
15
|
-
buildSession(sessionId: string): Promise<any>;
|
|
16
|
-
getDataUrl(sessionId: string): Promise<{
|
|
17
|
-
url: string;
|
|
18
|
-
}>;
|
|
19
|
-
getDataUploadUrl(sessionId: string, isResumable?: boolean): Promise<{
|
|
20
|
-
url: string;
|
|
21
|
-
}>;
|
|
22
|
-
startTraining(sessionId: string): Promise<TrainingJob>;
|
|
23
|
-
cancelTraining(sessionId: string): Promise<TrainingJob>;
|
|
24
|
-
getTrainingJob(jobId: string): Promise<TrainingJob>;
|
|
25
|
-
getAndSyncTrainingJob(jobId: string): Promise<TrainingJob>;
|
|
26
|
-
setDataset(sessionId: string, name?: string): Promise<any>;
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TrainingApi.d.ts","sourceRoot":"","sources":["../../src/TrainingApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,eAAe,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjJ,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGlE,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,QAAQ;gBAEjC,MAAM,EAAE,UAAU;IAI9B,YAAY,CAAC,KAAK,GAAE,yBAA8B,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAIlF,gBAAgB,CAAC,KAAK,GAAE,yBAA8B,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AAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAKlE,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,QAAQ;gBAE9B,MAAM,EAAE,UAAU;IAI9B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK1C"}
|
package/lib/types/client.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { AbstractFetchClient } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { AuthTokenPayload, AuthTokenResponse } from "@vertesia/common";
|
|
3
|
-
import AccountApi from "./AccountApi.js";
|
|
4
|
-
import AccountsApi from "./AccountsApi.js";
|
|
5
|
-
import AnalyticsApi from "./AnalyticsApi.js";
|
|
6
|
-
import { ApiKeysApi } from "./ApiKeysApi.js";
|
|
7
|
-
import AppsApi from "./AppsApi.js";
|
|
8
|
-
import CommandsApi from "./CommandsApi.js";
|
|
9
|
-
import EnvironmentsApi from "./EnvironmentsApi.js";
|
|
10
|
-
import { IamApi } from "./IamApi.js";
|
|
11
|
-
import InteractionsApi from "./InteractionsApi.js";
|
|
12
|
-
import ProjectsApi from "./ProjectsApi.js";
|
|
13
|
-
import SkillsApi from "./SkillsApi.js";
|
|
14
|
-
import PromptsApi from "./PromptsApi.js";
|
|
15
|
-
import { RefsApi } from "./RefsApi.js";
|
|
16
|
-
import { RunsApi } from "./RunsApi.js";
|
|
17
|
-
import { ZenoClient } from "./store/client.js";
|
|
18
|
-
import TrainingApi from "./TrainingApi.js";
|
|
19
|
-
import UsersApi from "./UsersApi.js";
|
|
20
|
-
export type VertesiaClientProps = {
|
|
21
|
-
/**
|
|
22
|
-
* The site name of Vertesia.
|
|
23
|
-
*
|
|
24
|
-
* This is used to determine the API backend. It should not include the protocol. For more
|
|
25
|
-
* advanced configurations, use `serverUrl` and `storeUrl` instead.
|
|
26
|
-
*
|
|
27
|
-
* @example api.vertesia.io
|
|
28
|
-
* @example api-preview.vertesia.io
|
|
29
|
-
* @example api-staging.vertesia.io
|
|
30
|
-
* @default api.vertesia.io
|
|
31
|
-
* @since 0.52.0
|
|
32
|
-
*/
|
|
33
|
-
site?: "api.vertesia.io" | "api-preview.vertesia.io" | "api-staging.vertesia.io";
|
|
34
|
-
serverUrl?: string;
|
|
35
|
-
storeUrl?: string;
|
|
36
|
-
tokenServerUrl?: string;
|
|
37
|
-
apikey?: string;
|
|
38
|
-
projectId?: string;
|
|
39
|
-
sessionTags?: string | string[];
|
|
40
|
-
onRequest?: (request: Request) => void;
|
|
41
|
-
onResponse?: (response: Response) => void;
|
|
42
|
-
};
|
|
43
|
-
export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient> {
|
|
44
|
-
/**
|
|
45
|
-
* The JWT token linked to the API KEY (sk or pk)
|
|
46
|
-
*/
|
|
47
|
-
_jwt: string | null;
|
|
48
|
-
/**
|
|
49
|
-
* The store client
|
|
50
|
-
*/
|
|
51
|
-
store: ZenoClient;
|
|
52
|
-
/**
|
|
53
|
-
* The session name will be sent when executing an interaction as a tag
|
|
54
|
-
*/
|
|
55
|
-
sessionTags?: string | string[];
|
|
56
|
-
/**
|
|
57
|
-
* tokenServerUrl
|
|
58
|
-
*/
|
|
59
|
-
tokenServerUrl: string;
|
|
60
|
-
/**
|
|
61
|
-
* Create a client from the given token.
|
|
62
|
-
* If you already have the decoded token you can pass it as the second argument to avoid decodinf it again.
|
|
63
|
-
*
|
|
64
|
-
* @param token the raw JWT token
|
|
65
|
-
* @param payload the decoded JWT token as an AuthTokenPayload - optional
|
|
66
|
-
*/
|
|
67
|
-
static fromAuthToken(token: string, payload?: AuthTokenPayload): Promise<VertesiaClient>;
|
|
68
|
-
static decodeEndpoints(): void;
|
|
69
|
-
constructor(opts?: VertesiaClientProps);
|
|
70
|
-
withApiVersion(version: string | number | null): this;
|
|
71
|
-
/**
|
|
72
|
-
* Overwrite to keep store and composable clients synchronized on the auth callback
|
|
73
|
-
* @param authCb
|
|
74
|
-
* @returns
|
|
75
|
-
*/
|
|
76
|
-
withAuthCallback(authCb?: (() => Promise<string>) | null): this;
|
|
77
|
-
withApiKey(apiKey: string | null): Promise<this>;
|
|
78
|
-
getRawJWT(): Promise<string | null>;
|
|
79
|
-
getDecodedJWT(): Promise<AuthTokenPayload | null>;
|
|
80
|
-
getProject(): Promise<import("@vertesia/common").ProjectRef | null>;
|
|
81
|
-
getAccount(): Promise<import("@vertesia/common").AccountRef | null>;
|
|
82
|
-
/**
|
|
83
|
-
* Alias for store.workflows
|
|
84
|
-
*/
|
|
85
|
-
get workflows(): import("./index.js").WorkflowsApi;
|
|
86
|
-
/**
|
|
87
|
-
* Alias for store.objects
|
|
88
|
-
*/
|
|
89
|
-
get objects(): import("./index.js").ObjectsApi;
|
|
90
|
-
get files(): import("./index.js").FilesApi;
|
|
91
|
-
/**
|
|
92
|
-
* Alias for store.types
|
|
93
|
-
*/
|
|
94
|
-
get types(): import("./index.js").TypesApi;
|
|
95
|
-
get storeUrl(): string;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* Generate a token for use with other Vertesia's services
|
|
99
|
-
*
|
|
100
|
-
* @returns AuthTokenResponse
|
|
101
|
-
*/
|
|
102
|
-
getAuthToken(token?: string): Promise<AuthTokenResponse>;
|
|
103
|
-
get initialHeaders(): {
|
|
104
|
-
"x-api-version": string;
|
|
105
|
-
accept: string;
|
|
106
|
-
};
|
|
107
|
-
projects: ProjectsApi;
|
|
108
|
-
environments: EnvironmentsApi;
|
|
109
|
-
interactions: InteractionsApi;
|
|
110
|
-
skills: SkillsApi;
|
|
111
|
-
prompts: PromptsApi;
|
|
112
|
-
runs: RunsApi;
|
|
113
|
-
account: AccountApi;
|
|
114
|
-
accounts: AccountsApi;
|
|
115
|
-
apikeys: ApiKeysApi;
|
|
116
|
-
analytics: AnalyticsApi;
|
|
117
|
-
training: TrainingApi;
|
|
118
|
-
users: UsersApi;
|
|
119
|
-
iam: IamApi;
|
|
120
|
-
refs: RefsApi;
|
|
121
|
-
commands: CommandsApi;
|
|
122
|
-
apps: AppsApi;
|
|
123
|
-
}
|
|
124
|
-
export declare function decodeJWT(jwt: string): AuthTokenPayload;
|
|
125
|
-
export declare function decodeEndpoints(endpoints: string | Record<string, string> | undefined): Record<string, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,QAAQ,MAAM,eAAe,CAAC;AASrC,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,EACC,iBAAiB,GACjB,yBAAyB,GACzB,yBAAyB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,kCAER;IAED,IAAI,QAAQ,WAEX;IAED;;;;;OAKG;IACG,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAmB9D,IAAI,cAAc;;;MAKjB;IAED,QAAQ,cAAyB;IACjC,YAAY,kBAA6B;IACzC,YAAY,kBAA6B;IACzC,MAAM,YAAuB;IAC7B,OAAO,aAAwB;IAC/B,IAAI,UAAqB;IACzB,OAAO,aAAwB;IAC/B,QAAQ,cAAyB;IACjC,OAAO,aAAwB;IAC/B,SAAS,eAA0B;IACnC,QAAQ,cAAyB;IACjC,KAAK,WAAsB;IAC3B,GAAG,SAAoB;IACvB,IAAI,UAAqB;IACzB,QAAQ,cAAyB;IACjC,IAAI,UAAqB;CAC5B;AAiBD,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAIvD;AA2BD,wBAAgB,eAAe,CAC3B,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,GACvD,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CASxB"}
|
package/lib/types/execute.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { AsyncExecutionPayload, InteractionExecutionPayload, InteractionExecutionResult, RateLimitRequestPayload, RateLimitRequestResponse } from '@vertesia/common';
|
|
2
|
-
import { VertesiaClient } from './client.js';
|
|
3
|
-
export declare function EventSourceProvider(): Promise<typeof EventSource>;
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* Execute an interaction and return a promise which will be resolved with the executed run when
|
|
7
|
-
* the run completes or fails.
|
|
8
|
-
* If the onChunk callback is passed then the streaming of the result is enabled.
|
|
9
|
-
* The onChunk callback with be called with the next chunk of the result as soon as it is available.
|
|
10
|
-
* When all chunks are received the function will return the resolved promise
|
|
11
|
-
* @param id of the interaction to execute
|
|
12
|
-
* @param payload InteractionExecutionPayload
|
|
13
|
-
* @param onChunk callback to be called when the next chunk of the response is available
|
|
14
|
-
*/
|
|
15
|
-
export declare function executeInteraction<P = any>(client: VertesiaClient, interactionId: string, payload?: InteractionExecutionPayload, onChunk?: (chunk: string) => void): Promise<InteractionExecutionResult<P>>;
|
|
16
|
-
/**
|
|
17
|
-
* Same as executeInteraction but uses the interaction name selector instead of the id.
|
|
18
|
-
* A name selector is the interaction endpoint name suffixed with an optional tag or version which is starting with a `@` character.
|
|
19
|
-
* The special `draft` tag is used to select the draft version of the interaction. If no tag or version is specified then the latest version is selected.
|
|
20
|
-
* Examples of selectors:
|
|
21
|
-
* - `ReviewContract` - select the latest version of the ReviewContract interaction
|
|
22
|
-
* - `ReviewContract@1` - select the version 1 of the ReviewContract interaction
|
|
23
|
-
* - `ReviewContract@draft` - select the draft version of the ReviewContract interaction
|
|
24
|
-
* - `ReviewContract@fixed` - select the ReviewContract interaction which is tagged with 'fixed' tag.
|
|
25
|
-
*
|
|
26
|
-
* @param client
|
|
27
|
-
* @param interaction
|
|
28
|
-
* @param payload
|
|
29
|
-
* @param onChunk
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
export declare function executeInteractionByName<P = any>(client: VertesiaClient, interaction: string, payload?: InteractionExecutionPayload, onChunk?: (chunk: string) => void): Promise<InteractionExecutionResult<P>>;
|
|
33
|
-
export declare function executeInteractionAsync(client: VertesiaClient, payload: AsyncExecutionPayload): Promise<{
|
|
34
|
-
runId: string;
|
|
35
|
-
workflowId: string;
|
|
36
|
-
}>;
|
|
37
|
-
export declare function checkRateLimit(client: VertesiaClient, payload: RateLimitRequestPayload): Promise<RateLimitRequestResponse>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../src/execute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAsB,2BAA2B,EAAE,0BAA0B,EAAoC,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC3N,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,OAAO,WAAW,CAAC,CAMvE;AACD;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CAAC,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,cAAc,EACpE,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE,2BAAgC,EACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAY7E;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,wBAAwB,CAAC,CAAC,GAAG,GAAG,EAAE,MAAM,EAAE,cAAc,EAC1E,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,2BAAgC,EACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAgB7E;AA0CD,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAIpJ;AAED,wBAAsB,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAIhI"}
|
package/lib/types/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './client.js';
|
|
2
|
-
export * from './InteractionBase.js';
|
|
3
|
-
export * from './InteractionOutput.js';
|
|
4
|
-
export type { AsyncExecutionResult, ComputeInteractionFacetsResponse } from './InteractionsApi.js';
|
|
5
|
-
export type { ComputePromptFacetsResponse, ListInteractionsResponse } from './PromptsApi.js';
|
|
6
|
-
export type { ComputeRunFacetsResponse, FilterOption } from './RunsApi.js';
|
|
7
|
-
export type { GroupsQueryOptions } from './GroupsApi.js';
|
|
8
|
-
export * from "./store/index.js";
|
|
9
|
-
export * from "./StreamSource.js";
|
|
10
|
-
export type { OrphanedAppInstallation } from "./AppsApi.js";
|
package/lib/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,oBAAoB,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACnG,YAAY,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC7F,YAAY,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC3E,YAAY,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,YAAY,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Readable } from "node:stream";
|
|
2
|
-
import { StreamSource } from "../StreamSource.js";
|
|
3
|
-
/**
|
|
4
|
-
* A stream source that wraps a Node.js Readable stream.
|
|
5
|
-
* This class is only works in Node.js environments.
|
|
6
|
-
*/
|
|
7
|
-
export declare class NodeStreamSource extends StreamSource {
|
|
8
|
-
constructor(stream: Readable, name: string, type?: string, id?: string);
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NodeStreamSource.d.ts","sourceRoot":"","sources":["../../../src/nodejs/NodeStreamSource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;gBAClC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM;CAGzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./NodeStreamSource.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/nodejs/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { CreateAgentDeploymentRequest } from "@vertesia/common";
|
|
3
|
-
export declare class AgentsApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
deploy(payload: CreateAgentDeploymentRequest): Promise<void>;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentsApi.d.ts","sourceRoot":"","sources":["../../../src/store/AgentsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAGhE,qBAAa,SAAU,SAAQ,QAAQ;gBAEvB,MAAM,EAAE,UAAU;IAIxB,MAAM,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;CAMrE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { AdaptedTable, AdaptTablesRequest, DocAnalyzerResultResponse, DocAnalyzeRunStatusResponse, DocImage, DocTableCsv, DocTableJson, ExportTableFormats, GetAdaptedTablesRequestQuery, PdfToRichtextOptions, WorkflowRunStatus } from "@vertesia/common";
|
|
3
|
-
export declare class AnalyzeDocApi extends ApiTopic {
|
|
4
|
-
objectId: string;
|
|
5
|
-
constructor(parent: ClientBase, objectId: string);
|
|
6
|
-
start(payload: PdfToRichtextOptions): Promise<DocAnalyzeRunStatusResponse>;
|
|
7
|
-
getStatus(): Promise<DocAnalyzeRunStatusResponse>;
|
|
8
|
-
getResults(): Promise<DocAnalyzerResultResponse>;
|
|
9
|
-
adaptTables(payload: AdaptTablesRequest): Promise<WorkflowRunStatus>;
|
|
10
|
-
getAdaptedTables(runId?: string, query?: GetAdaptedTablesRequestQuery): Promise<Record<number, AdaptedTable>>;
|
|
11
|
-
getXml(): Promise<string>;
|
|
12
|
-
getTables(format?: ExportTableFormats): Promise<DocTableCsv[] | DocTableJson[]>;
|
|
13
|
-
getImages(): Promise<DocImage[]>;
|
|
14
|
-
getAnnotated(): Promise<{
|
|
15
|
-
url: string;
|
|
16
|
-
}>;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyzeDocApi.d.ts","sourceRoot":"","sources":["../../../src/store/AnalyzeDocApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE5P,qBAAa,aAAc,SAAQ,QAAQ;IACA,QAAQ,EAAE,MAAM;gBAA3C,MAAM,EAAE,UAAU,EAAS,QAAQ,EAAE,MAAM;IAIjD,KAAK,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAI1E,SAAS,IAAI,OAAO,CAAC,2BAA2B,CAAC;IAIjD,UAAU,IAAI,OAAO,CAAC,yBAAyB,CAAC;IAIhD,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIpE,gBAAgB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAiB7G,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IAIzB,SAAS,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,YAAY,EAAE,CAAC;IAQ/E,SAAS,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAIhC,YAAY,IAAI,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CAGjD"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { Collection, CollectionItem, ComplexCollectionSearchQuery, ComplexSearchPayload, ComputeCollectionFacetPayload, ComputeObjectFacetPayload, ContentObjectItem, ContentObjectStatus, CreateCollectionPayload, DynamicCollection } from "@vertesia/common";
|
|
3
|
-
import { ComputeFacetsResponse, SearchResponse } from "./ObjectsApi.js";
|
|
4
|
-
export declare class CollectionsApi extends ApiTopic {
|
|
5
|
-
constructor(parent: ClientBase);
|
|
6
|
-
/**
|
|
7
|
-
* List collections
|
|
8
|
-
* @param payload: CollectionSearchPayload
|
|
9
|
-
* @returns CollectionItem[] list of collections
|
|
10
|
-
**/
|
|
11
|
-
search(payload: ComplexCollectionSearchQuery): Promise<CollectionItem[]>;
|
|
12
|
-
/**
|
|
13
|
-
* Compute facets for List collections
|
|
14
|
-
* @param query: ComputeCollectionFacetPayload
|
|
15
|
-
* @returns ComputeFacetsResponse list of facets
|
|
16
|
-
**/
|
|
17
|
-
computeListFacets(query: ComputeCollectionFacetPayload): Promise<ComputeFacetsResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* Get the collection data without members
|
|
20
|
-
* @param collectionId
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
retrieve(collectionId: string): Promise<Collection | DynamicCollection>;
|
|
24
|
-
create(payload: CreateCollectionPayload): Promise<Collection>;
|
|
25
|
-
update(collectionId: string, payload: Partial<CreateCollectionPayload>): Promise<{
|
|
26
|
-
id: string;
|
|
27
|
-
}>;
|
|
28
|
-
addMembers(collectionId: string, members: string[]): Promise<{
|
|
29
|
-
id: string;
|
|
30
|
-
}>;
|
|
31
|
-
listMembers(collectionId: string, payload: {
|
|
32
|
-
limit?: number;
|
|
33
|
-
offset?: number;
|
|
34
|
-
status?: ContentObjectStatus;
|
|
35
|
-
type?: string;
|
|
36
|
-
}): Promise<ContentObjectItem[]>;
|
|
37
|
-
computeFacets(collectionId: string, query: ComputeObjectFacetPayload): Promise<ComputeFacetsResponse>;
|
|
38
|
-
searchMembers(collectionId: string, payload: ComplexSearchPayload): Promise<SearchResponse>;
|
|
39
|
-
deleteMembers(collectionId: string, members: string[]): Promise<{
|
|
40
|
-
id: string;
|
|
41
|
-
}>;
|
|
42
|
-
addChildren(collectionId: string, children: string[]): Promise<{
|
|
43
|
-
count: number;
|
|
44
|
-
}>;
|
|
45
|
-
deleteChildren(collectionId: string, children: string[]): Promise<{
|
|
46
|
-
count: number;
|
|
47
|
-
}>;
|
|
48
|
-
searchChildren(collectionId: string, query?: ComplexCollectionSearchQuery): Promise<CollectionItem[]>;
|
|
49
|
-
delete(id: string): Promise<any>;
|
|
50
|
-
/**
|
|
51
|
-
* Update collection permissions and propagate to member objects
|
|
52
|
-
* @param collectionId - The collection ID
|
|
53
|
-
* @param permissions - Map of permission types to principal arrays
|
|
54
|
-
* @returns Object with collection id, updated security, and number of objects updated
|
|
55
|
-
*/
|
|
56
|
-
updatePermissions(collectionId: string, permissions: Record<string, string[]>): Promise<{
|
|
57
|
-
id: string;
|
|
58
|
-
security: Record<string, string[]>;
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* Manually trigger permission propagation from collection to member objects
|
|
62
|
-
* Useful for debugging and fixing permission issues
|
|
63
|
-
* @param collectionId - The collection ID
|
|
64
|
-
* @returns Object with collection id, message, and number of objects updated
|
|
65
|
-
*/
|
|
66
|
-
propagatePermissions(collectionId: string): Promise<{
|
|
67
|
-
id: string;
|
|
68
|
-
message: string;
|
|
69
|
-
security?: Record<string, string[]>;
|
|
70
|
-
}>;
|
|
71
|
-
/**
|
|
72
|
-
* Manually trigger shared properties propagation from collection to member objects
|
|
73
|
-
* Useful for debugging and fixing shared properties issues
|
|
74
|
-
* @param collectionId - The collection ID
|
|
75
|
-
* @returns Object with collection id, message, and number of objects updated
|
|
76
|
-
*/
|
|
77
|
-
propagateSharedProperties(collectionId: string): Promise<{
|
|
78
|
-
id: string;
|
|
79
|
-
message: string;
|
|
80
|
-
shared_properties: string[];
|
|
81
|
-
}>;
|
|
82
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionsApi.d.ts","sourceRoot":"","sources":["../../../src/store/CollectionsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAChQ,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,qBAAa,cAAe,SAAQ,QAAQ;gBAE5B,MAAM,EAAE,UAAU;IAI9B;;;;OAIG;IACH,MAAM,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAIxE;;;;OAIG;IACH,iBAAiB,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAMvF;;;;OAIG;IACH,QA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;IASpF,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,4BAAiC,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAMzG,MAAM,CAAC,EAAE,EAAE,MAAM;IAIjB;;;;;OAKG;IACH,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC;QACpF,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;KACtC,CAAC;IAMF;;;;;OAKG;IACH,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;QAChD,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;KACvC,CAAC;IAIF;;;;;OAKG;IACH,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;QACrD,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,iBAAiB,EAAE,MAAM,EAAE,CAAA;KAC9B,CAAC;CAKL"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { EmbeddingsApi } from "./EmbeddingsApi.js";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use EmbeddingsApi instead
|
|
5
|
-
* @see EmbeddingsApi
|
|
6
|
-
*/
|
|
7
|
-
export declare class CommandsApi extends ApiTopic {
|
|
8
|
-
constructor(parent: ClientBase);
|
|
9
|
-
embeddings: EmbeddingsApi;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommandsApi.d.ts","sourceRoot":"","sources":["../../../src/store/CommandsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;GAGG;AACH,qBAAa,WAAY,SAAQ,QAAQ;gBAEzB,MAAM,EAAE,UAAU;IAI9B,UAAU,gBAA0C;CACvD"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { EmbeddingsStatusResponse, GenericCommandResponse, ProjectConfigurationEmbeddings, SupportedEmbeddingTypes } from "@vertesia/common";
|
|
3
|
-
/**
|
|
4
|
-
* @since 0.52.0
|
|
5
|
-
*/
|
|
6
|
-
export declare class EmbeddingsApi extends ApiTopic {
|
|
7
|
-
constructor(parent: ClientBase, basePath?: string);
|
|
8
|
-
status(type: SupportedEmbeddingTypes): Promise<EmbeddingsStatusResponse>;
|
|
9
|
-
activate(type: SupportedEmbeddingTypes, config: Partial<ProjectConfigurationEmbeddings>): Promise<GenericCommandResponse>;
|
|
10
|
-
disable(type: SupportedEmbeddingTypes): Promise<GenericCommandResponse>;
|
|
11
|
-
recalculate(type: SupportedEmbeddingTypes): Promise<GenericCommandResponse>;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddingsApi.d.ts","sourceRoot":"","sources":["../../../src/store/EmbeddingsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACH,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,qBAAa,aAAc,SAAQ,QAAQ;gBAE3B,MAAM,EAAE,UAAU,EAAE,QAAQ,GAAE,MAA6B;IAIjE,MAAM,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAIxE,QAAQ,CAAC,IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,8BAA8B,CAAC,GAAG,OAAO,CAAC,sBAAsB,CAAC;IASzH,OAAO,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIvE,WAAW,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAIpF"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { GetFileUrlPayload, GetFileUrlResponse, GetUploadUrlPayload } from "@vertesia/common";
|
|
3
|
-
import { StreamSource } from "../StreamSource.js";
|
|
4
|
-
export declare const MEMORIES_PREFIX = "memories";
|
|
5
|
-
export declare const ARTIFACTS_PREFIX = "agents";
|
|
6
|
-
export declare function getMemoryFilePath(name: string): string;
|
|
7
|
-
/**
|
|
8
|
-
* Build the storage path for an agent artifact
|
|
9
|
-
* @param runId - The workflow run ID
|
|
10
|
-
* @param name - The artifact filename
|
|
11
|
-
*/
|
|
12
|
-
export declare function getAgentArtifactPath(runId: string, name: string): string;
|
|
13
|
-
export declare class FilesApi extends ApiTopic {
|
|
14
|
-
constructor(parent: ClientBase);
|
|
15
|
-
deleteFile(path: string, prefix?: boolean): Promise<void | number>;
|
|
16
|
-
/**
|
|
17
|
-
* get the metadata of a blob given its URI. Supported URI are:
|
|
18
|
-
* starting with s3:// and gs://.
|
|
19
|
-
* For s3 blobs use #region to specify the region. Ex: s3://bucket/key#us-west-2
|
|
20
|
-
* @param uri
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
getMetadata(uri: string): Promise<{
|
|
24
|
-
name: string;
|
|
25
|
-
size: number;
|
|
26
|
-
contentType: string;
|
|
27
|
-
contentDisposition?: string;
|
|
28
|
-
etag?: string;
|
|
29
|
-
customMetadata?: Record<string, string>;
|
|
30
|
-
}>;
|
|
31
|
-
/**
|
|
32
|
-
* Set custom metadata on a file
|
|
33
|
-
* @param file - The file path or URI
|
|
34
|
-
* @param metadata - Custom metadata key-value pairs
|
|
35
|
-
* @returns Success status
|
|
36
|
-
*/
|
|
37
|
-
setFileMetadata(file: string, metadata: Record<string, string>): Promise<{
|
|
38
|
-
success: boolean;
|
|
39
|
-
file: string;
|
|
40
|
-
}>;
|
|
41
|
-
/**
|
|
42
|
-
* Get or create a bucket for the project. If the bucket already exists, it does nothing.
|
|
43
|
-
* The bucket URI is returned.
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
getOrCreateBucket(): Promise<{
|
|
47
|
-
bucket: string;
|
|
48
|
-
}>;
|
|
49
|
-
getUploadUrl(payload: GetUploadUrlPayload): Promise<GetFileUrlResponse>;
|
|
50
|
-
getDownloadUrl(file: string, name?: string, disposition?: "inline" | "attachment"): Promise<GetFileUrlResponse>;
|
|
51
|
-
getDownloadUrlWithOptions(payload: GetFileUrlPayload): Promise<GetFileUrlResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* Upload content to a file and return the full path (including bucket name) of the uploaded file
|
|
54
|
-
* @param source
|
|
55
|
-
* @returns
|
|
56
|
-
*/
|
|
57
|
-
uploadFile(source: StreamSource | File): Promise<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @param location can be a relative path in the project, a reference to a cloud storage, or a accessible HTTPS URL (typically signed URL)
|
|
61
|
-
* @returns ReadableStream
|
|
62
|
-
*/
|
|
63
|
-
downloadFile(location: string): Promise<ReadableStream<Uint8Array<ArrayBuffer>>>;
|
|
64
|
-
uploadMemoryPack(source: StreamSource | File): Promise<string>;
|
|
65
|
-
downloadMemoryPack(name: string, gunzip?: boolean): Promise<ReadableStream<Uint8Array>>;
|
|
66
|
-
/**
|
|
67
|
-
* List files by prefix
|
|
68
|
-
* @param prefix - Path prefix to filter files
|
|
69
|
-
* @returns Array of file paths matching the prefix
|
|
70
|
-
*/
|
|
71
|
-
listByPrefix(prefix: string): Promise<{
|
|
72
|
-
files: string[];
|
|
73
|
-
}>;
|
|
74
|
-
/**
|
|
75
|
-
* Upload an artifact for an agent run
|
|
76
|
-
* @param runId - The workflow run ID
|
|
77
|
-
* @param name - Artifact name (e.g., "output.json")
|
|
78
|
-
* @param source - File content source
|
|
79
|
-
* @returns The full path of the uploaded artifact
|
|
80
|
-
*/
|
|
81
|
-
uploadArtifact(runId: string, name: string, source: StreamSource | File): Promise<string>;
|
|
82
|
-
/**
|
|
83
|
-
* Download an artifact from an agent run
|
|
84
|
-
* @param runId - The workflow run ID
|
|
85
|
-
* @param name - Artifact name
|
|
86
|
-
* @returns ReadableStream of the artifact content
|
|
87
|
-
*/
|
|
88
|
-
downloadArtifact(runId: string, name: string): Promise<ReadableStream<Uint8Array>>;
|
|
89
|
-
/**
|
|
90
|
-
* Get download URL for an artifact
|
|
91
|
-
* @param runId - The workflow run ID
|
|
92
|
-
* @param name - Artifact name
|
|
93
|
-
* @param disposition - Content disposition (inline or attachment)
|
|
94
|
-
* @returns Signed URL response
|
|
95
|
-
*/
|
|
96
|
-
getArtifactDownloadUrl(runId: string, name: string, disposition?: "inline" | "attachment"): Promise<GetFileUrlResponse>;
|
|
97
|
-
/**
|
|
98
|
-
* List artifacts for an agent run
|
|
99
|
-
* @param runId - The workflow run ID
|
|
100
|
-
* @returns Array of artifact file paths
|
|
101
|
-
*/
|
|
102
|
-
listArtifacts(runId: string): Promise<string[]>;
|
|
103
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FilesApi.d.ts","sourceRoot":"","sources":["../../../src/store/FilesApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EAEtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,eAAO,MAAM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