@vertesia/client 1.5.0-dev.20260804.124748Z → 1.5.0-dev.20260806.125520Z
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/lib/AccountApi.d.ts.map +1 -1
- package/lib/AccountApi.js.map +1 -1
- package/lib/AccountsApi.d.ts.map +1 -1
- package/lib/AnalyticsApi.d.ts.map +1 -1
- package/lib/ApiKeysApi.d.ts.map +1 -1
- package/lib/ApiKeysApi.js.map +1 -1
- package/lib/AppsApi.d.ts +12 -2
- package/lib/AppsApi.d.ts.map +1 -1
- package/lib/AppsApi.js +20 -1
- package/lib/AppsApi.js.map +1 -1
- package/lib/AuditTrailApi.d.ts.map +1 -1
- package/lib/CommandsApi.d.ts.map +1 -1
- package/lib/EnvironmentsApi.d.ts.map +1 -1
- package/lib/EnvironmentsApi.js.map +1 -1
- package/lib/GroupsApi.d.ts.map +1 -1
- package/lib/IamApi.d.ts.map +1 -1
- package/lib/InteractionBase.d.ts +171 -171
- package/lib/InteractionBase.d.ts.map +1 -1
- package/lib/InteractionBase.js.map +1 -1
- package/lib/InteractionCatalogApi.d.ts.map +1 -1
- package/lib/InteractionCatalogApi.js.map +1 -1
- package/lib/InteractionOutput.d.ts.map +1 -1
- package/lib/InteractionOutput.js.map +1 -1
- package/lib/InteractionsApi.d.ts.map +1 -1
- package/lib/InteractionsApi.js.map +1 -1
- package/lib/InternalSecretsApi.d.ts.map +1 -1
- package/lib/OAuthClientsApi.d.ts.map +1 -1
- package/lib/OAuthGrantsApi.d.ts.map +1 -1
- package/lib/OAuthProvidersApi.d.ts.map +1 -1
- package/lib/OAuthServerApi.d.ts.map +1 -1
- package/lib/OAuthServerApi.js.map +1 -1
- package/lib/ProjectsApi.d.ts.map +1 -1
- package/lib/PromptsApi.d.ts.map +1 -1
- package/lib/PromptsApi.js.map +1 -1
- package/lib/QuotaApi.d.ts.map +1 -1
- package/lib/RefsApi.d.ts.map +1 -1
- package/lib/RemoteMcpConnectionsApi.d.ts.map +1 -1
- package/lib/RunsApi.d.ts.map +1 -1
- package/lib/SecretsApi.d.ts.map +1 -1
- package/lib/SkillsApi.d.ts.map +1 -1
- package/lib/StreamSource.d.ts.map +1 -1
- package/lib/StreamSource.js.map +1 -1
- package/lib/ToolsApi.d.ts.map +1 -1
- package/lib/TrainingApi.d.ts.map +1 -1
- package/lib/TrainingApi.js.map +1 -1
- package/lib/UsersApi.d.ts.map +1 -1
- package/lib/ViewsApi.d.ts.map +1 -1
- package/lib/ViewsApi.js.map +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +1 -0
- package/lib/client.js.map +1 -1
- package/lib/execute.js.map +1 -1
- package/lib/managed-sse.js +1 -1
- package/lib/managed-sse.js.map +1 -1
- package/lib/nodejs/NodeStreamSource.d.ts.map +1 -1
- package/lib/store/AgentsApi.d.ts.map +1 -1
- package/lib/store/AgentsApi.js.map +1 -1
- package/lib/store/AnalyzeDocApi.d.ts.map +1 -1
- package/lib/store/AnalyzeDocApi.js.map +1 -1
- package/lib/store/CollectionsApi.d.ts.map +1 -1
- package/lib/store/CollectionsApi.js.map +1 -1
- package/lib/store/CostApi.d.ts.map +1 -1
- package/lib/store/CostApi.js.map +1 -1
- package/lib/store/DashboardApi.d.ts.map +1 -1
- package/lib/store/DataApi.d.ts.map +1 -1
- package/lib/store/EmailApi.d.ts.map +1 -1
- package/lib/store/EmbeddingsApi.d.ts.map +1 -1
- package/lib/store/EmbeddingsApi.js.map +1 -1
- package/lib/store/EventIngestChannelsApi.d.ts.map +1 -1
- package/lib/store/EventSubscriptionsApi.d.ts.map +1 -1
- package/lib/store/EventsApi.d.ts +2 -1
- package/lib/store/EventsApi.d.ts.map +1 -1
- package/lib/store/EventsApi.js +3 -0
- package/lib/store/EventsApi.js.map +1 -1
- package/lib/store/FilesApi.d.ts +4 -0
- package/lib/store/FilesApi.d.ts.map +1 -1
- package/lib/store/FilesApi.js +48 -23
- package/lib/store/FilesApi.js.map +1 -1
- package/lib/store/HiveMemoryApi.d.ts.map +1 -1
- package/lib/store/IndexingApi.d.ts.map +1 -1
- package/lib/store/IndexingApi.js.map +1 -1
- package/lib/store/ObjectsApi.d.ts.map +1 -1
- package/lib/store/ObjectsApi.js.map +1 -1
- package/lib/store/PendingAsksApi.d.ts.map +1 -1
- package/lib/store/ProcessApi.d.ts.map +1 -1
- package/lib/store/QueryApi.d.ts.map +1 -1
- package/lib/store/QueryApi.js.map +1 -1
- package/lib/store/RenderingApi.d.ts.map +1 -1
- package/lib/store/RenderingApi.js.map +1 -1
- package/lib/store/SchedulesApi.d.ts.map +1 -1
- package/lib/store/TaskApi.d.ts.map +1 -1
- package/lib/store/TaskApi.js.map +1 -1
- package/lib/store/TypeCatalogApi.d.ts.map +1 -1
- package/lib/store/TypeCatalogApi.js.map +1 -1
- package/lib/store/TypesApi.d.ts.map +1 -1
- package/lib/store/TypesApi.js.map +1 -1
- package/lib/store/ViewsApi.d.ts.map +1 -1
- package/lib/store/ViewsApi.js.map +1 -1
- package/lib/store/WorkflowsApi.d.ts.map +1 -1
- package/lib/store/WorkflowsApi.js.map +1 -1
- package/lib/store/client.d.ts.map +1 -1
- package/lib/store/client.js.map +1 -1
- package/lib/store/errors.d.ts.map +1 -1
- package/lib/store/signed-url.js.map +1 -1
- package/lib/store/version.d.ts +1 -2
- package/lib/store/version.d.ts.map +1 -1
- package/lib/store/version.js +3 -4
- package/lib/store/version.js.map +1 -1
- package/lib/vertesia-client.js +10 -10
- package/lib/vertesia-client.js.map +1 -1
- package/package.json +6 -6
- package/src/AppsApi.ts +26 -0
- package/src/client.test.ts +16 -0
- package/src/client.ts +1 -0
- package/src/store/EventsApi.ts +8 -0
- package/src/store/FilesApi.test.ts +37 -1
- package/src/store/FilesApi.ts +49 -20
- package/src/store/version.ts +7 -4
package/lib/InteractionBase.d.ts
CHANGED
|
@@ -8,63 +8,14 @@ export declare class InteractionBase<P = unknown> {
|
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
endpoint: string;
|
|
11
|
+
description?: string | undefined;
|
|
11
12
|
project: string | {
|
|
12
|
-
account: string;
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
|
+
account: string;
|
|
15
16
|
restricted?: boolean | undefined;
|
|
16
17
|
};
|
|
17
18
|
tags: string[];
|
|
18
|
-
status: import("@vertesia/common").InteractionStatus;
|
|
19
|
-
visibility: "public" | "private";
|
|
20
|
-
version: number;
|
|
21
|
-
prompts: {
|
|
22
|
-
type: import("@vertesia/common").PromptSegmentDefType;
|
|
23
|
-
id?: string | undefined;
|
|
24
|
-
template?: string | {
|
|
25
|
-
role: import("@llumiverse/common").PromptRole;
|
|
26
|
-
content: string;
|
|
27
|
-
content_type: import("@vertesia/common").TemplateType;
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
status: import("@vertesia/common").PromptStatus;
|
|
31
|
-
version: number;
|
|
32
|
-
project: string | {
|
|
33
|
-
account: string;
|
|
34
|
-
id: string;
|
|
35
|
-
name: string;
|
|
36
|
-
restricted?: boolean | undefined;
|
|
37
|
-
};
|
|
38
|
-
created_by: string;
|
|
39
|
-
updated_by: string;
|
|
40
|
-
created_at: string;
|
|
41
|
-
updated_at: string;
|
|
42
|
-
inputSchema?: import("@vertesia/common").JSONSchema | undefined;
|
|
43
|
-
parent?: string | undefined;
|
|
44
|
-
description?: string | undefined;
|
|
45
|
-
test_data?: import("@vertesia/common").JSONObject | undefined;
|
|
46
|
-
script?: string | undefined;
|
|
47
|
-
tags?: string[] | undefined;
|
|
48
|
-
last_published_at?: string | undefined;
|
|
49
|
-
} | {
|
|
50
|
-
id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
role: import("@llumiverse/common").PromptRole;
|
|
53
|
-
version: number;
|
|
54
|
-
status: import("@vertesia/common").PromptStatus;
|
|
55
|
-
created_at: string;
|
|
56
|
-
updated_at: string;
|
|
57
|
-
description?: string | undefined;
|
|
58
|
-
content_type?: import("@vertesia/common").TemplateType | undefined;
|
|
59
|
-
tags?: string[] | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
configuration?: unknown;
|
|
62
|
-
}[];
|
|
63
|
-
created_by: string;
|
|
64
|
-
updated_by: string;
|
|
65
|
-
created_at: string;
|
|
66
|
-
updated_at: string;
|
|
67
|
-
description?: string | undefined;
|
|
68
19
|
agent_runner_options?: {
|
|
69
20
|
is_agent?: boolean | undefined;
|
|
70
21
|
is_tool?: boolean | undefined;
|
|
@@ -84,18 +35,13 @@ export declare class InteractionBase<P = unknown> {
|
|
|
84
35
|
max_tokens?: number | undefined;
|
|
85
36
|
} | undefined;
|
|
86
37
|
} | undefined;
|
|
87
|
-
result_schema?:
|
|
38
|
+
result_schema?: {
|
|
88
39
|
$uri: string;
|
|
89
|
-
} | undefined;
|
|
40
|
+
} | import("@vertesia/common").JSONSchema | undefined;
|
|
90
41
|
environment?: string | {
|
|
91
42
|
id: string;
|
|
92
43
|
name: string;
|
|
93
|
-
provider: import("@
|
|
94
|
-
account: string;
|
|
95
|
-
created_by: string;
|
|
96
|
-
updated_by: string;
|
|
97
|
-
created_at: string;
|
|
98
|
-
updated_at: string;
|
|
44
|
+
provider: import("@llumiverse/common").Providers | import("@vertesia/common").CustomProviders;
|
|
99
45
|
enabled_models?: {
|
|
100
46
|
id: string;
|
|
101
47
|
name: string;
|
|
@@ -117,6 +63,11 @@ export declare class InteractionBase<P = unknown> {
|
|
|
117
63
|
default_model?: string | undefined;
|
|
118
64
|
endpoint_url?: string | undefined;
|
|
119
65
|
allowed_projects?: string[] | undefined;
|
|
66
|
+
account: string;
|
|
67
|
+
created_by: string;
|
|
68
|
+
updated_by: string;
|
|
69
|
+
created_at: string;
|
|
70
|
+
updated_at: string;
|
|
120
71
|
} | undefined;
|
|
121
72
|
model?: string | undefined;
|
|
122
73
|
model_options?: {
|
|
@@ -132,11 +83,11 @@ export declare class InteractionBase<P = unknown> {
|
|
|
132
83
|
_option_id: "vertexai-imagen";
|
|
133
84
|
number_of_images?: number | undefined;
|
|
134
85
|
seed?: number | undefined;
|
|
135
|
-
person_generation?: "
|
|
136
|
-
safety_setting?: "
|
|
86
|
+
person_generation?: "allow_adults" | "allow_all" | "dont_allow" | undefined;
|
|
87
|
+
safety_setting?: "block_low_and_above" | "block_medium_and_above" | "block_none" | "block_only_high" | undefined;
|
|
137
88
|
image_file_type?: "image/jpeg" | "image/png" | undefined;
|
|
138
89
|
jpeg_compression_quality?: number | undefined;
|
|
139
|
-
aspect_ratio?: "
|
|
90
|
+
aspect_ratio?: "16:9" | "1:1" | "3:4" | "4:3" | "9:16" | undefined;
|
|
140
91
|
add_watermark?: boolean | undefined;
|
|
141
92
|
enhance_prompt?: boolean | undefined;
|
|
142
93
|
edit_mode?: import("@llumiverse/common").ImagenTaskType | undefined;
|
|
@@ -145,9 +96,9 @@ export declare class InteractionBase<P = unknown> {
|
|
|
145
96
|
mask_mode?: import("@llumiverse/common").ImagenMaskMode | undefined;
|
|
146
97
|
mask_dilation?: number | undefined;
|
|
147
98
|
mask_class?: number[] | undefined;
|
|
148
|
-
controlType?: "
|
|
99
|
+
controlType?: "CONTROL_TYPE_CANNY" | "CONTROL_TYPE_FACE_MESH" | "CONTROL_TYPE_SCRIBBLE" | undefined;
|
|
149
100
|
controlImageComputation?: boolean | undefined;
|
|
150
|
-
subjectType?: "
|
|
101
|
+
subjectType?: "SUBJECT_TYPE_ANIMAL" | "SUBJECT_TYPE_DEFAULT" | "SUBJECT_TYPE_PERSON" | "SUBJECT_TYPE_PRODUCT" | undefined;
|
|
151
102
|
} | {
|
|
152
103
|
_option_id: "vertexai-claude";
|
|
153
104
|
max_tokens?: number | undefined;
|
|
@@ -155,11 +106,11 @@ export declare class InteractionBase<P = unknown> {
|
|
|
155
106
|
top_p?: number | undefined;
|
|
156
107
|
top_k?: number | undefined;
|
|
157
108
|
stop_sequence?: string[] | undefined;
|
|
158
|
-
effort?: "
|
|
109
|
+
effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
|
|
159
110
|
thinking_budget_tokens?: number | undefined;
|
|
160
111
|
include_thoughts?: boolean | undefined;
|
|
161
112
|
cache_enabled?: boolean | undefined;
|
|
162
|
-
cache_ttl?: "
|
|
113
|
+
cache_ttl?: "1h" | "5m" | undefined;
|
|
163
114
|
} | {
|
|
164
115
|
_option_id: "vertexai-gemini";
|
|
165
116
|
max_tokens?: number | undefined;
|
|
@@ -170,15 +121,15 @@ export declare class InteractionBase<P = unknown> {
|
|
|
170
121
|
presence_penalty?: number | undefined;
|
|
171
122
|
frequency_penalty?: number | undefined;
|
|
172
123
|
seed?: number | undefined;
|
|
173
|
-
effort?: "
|
|
124
|
+
effort?: "high" | "low" | "medium" | "minimal" | undefined;
|
|
174
125
|
include_thoughts?: boolean | undefined;
|
|
175
126
|
thinking_budget_tokens?: number | undefined;
|
|
176
127
|
thinking_level?: import("@llumiverse/common").ThinkingLevel | undefined;
|
|
177
128
|
flex?: boolean | undefined;
|
|
178
|
-
image_aspect_ratio?: "
|
|
129
|
+
image_aspect_ratio?: "16:9" | "1:1" | "21:9" | "2:3" | "3:2" | "3:4" | "4:3" | "9:16" | undefined;
|
|
179
130
|
image_size?: "1K" | "2K" | "4K" | undefined;
|
|
180
|
-
person_generation?: "
|
|
181
|
-
prominent_people?: "
|
|
131
|
+
person_generation?: "ALLOW_ADULT" | "ALLOW_ALL" | "ALLOW_NONE" | undefined;
|
|
132
|
+
prominent_people?: "ALLOW_PROMINENT_PEOPLE" | "BLOCK_PROMINENT_PEOPLE" | "PROMINENT_PEOPLE_UNSPECIFIED" | undefined;
|
|
182
133
|
output_mime_type?: "image/jpeg" | "image/png" | undefined;
|
|
183
134
|
output_compression_quality?: number | undefined;
|
|
184
135
|
} | {
|
|
@@ -189,10 +140,10 @@ export declare class InteractionBase<P = unknown> {
|
|
|
189
140
|
stop_sequence?: string[] | undefined;
|
|
190
141
|
} | {
|
|
191
142
|
_option_id: "bedrock-nova-canvas";
|
|
192
|
-
taskType: "
|
|
143
|
+
taskType: "BACKGROUND_REMOVAL" | "COLOR_GUIDED_GENERATION" | "IMAGE_VARIATION" | "INPAINTING" | "OUTPAINTING" | "TEXT_IMAGE" | "TEXT_IMAGE_WITH_IMAGE_CONDITIONING";
|
|
193
144
|
width?: number | undefined;
|
|
194
145
|
height?: number | undefined;
|
|
195
|
-
quality?: "
|
|
146
|
+
quality?: "premium" | "standard" | undefined;
|
|
196
147
|
cfgScale?: number | undefined;
|
|
197
148
|
seed?: number | undefined;
|
|
198
149
|
numberOfImages?: number | undefined;
|
|
@@ -240,9 +191,9 @@ export declare class InteractionBase<P = unknown> {
|
|
|
240
191
|
top_k?: number | undefined;
|
|
241
192
|
thinking_budget_tokens?: number | undefined;
|
|
242
193
|
include_thoughts?: boolean | undefined;
|
|
243
|
-
effort?: "
|
|
194
|
+
effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
|
|
244
195
|
cache_enabled?: boolean | undefined;
|
|
245
|
-
cache_ttl?: "
|
|
196
|
+
cache_ttl?: "1h" | "5m" | undefined;
|
|
246
197
|
} | {
|
|
247
198
|
_option_id: "bedrock-palmyra";
|
|
248
199
|
max_tokens?: number | undefined;
|
|
@@ -259,7 +210,7 @@ export declare class InteractionBase<P = unknown> {
|
|
|
259
210
|
temperature?: number | undefined;
|
|
260
211
|
top_p?: number | undefined;
|
|
261
212
|
stop_sequence?: string[] | undefined;
|
|
262
|
-
reasoning_effort?: "
|
|
213
|
+
reasoning_effort?: "high" | "low" | "medium" | undefined;
|
|
263
214
|
frequency_penalty?: number | undefined;
|
|
264
215
|
presence_penalty?: number | undefined;
|
|
265
216
|
} | {
|
|
@@ -271,10 +222,10 @@ export declare class InteractionBase<P = unknown> {
|
|
|
271
222
|
max_tokens?: number | undefined;
|
|
272
223
|
temperature?: number | undefined;
|
|
273
224
|
top_p?: number | undefined;
|
|
274
|
-
effort?: "
|
|
275
|
-
reasoning_effort?: "
|
|
276
|
-
verbosity?: "
|
|
277
|
-
image_detail?: "auto" | "
|
|
225
|
+
effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
226
|
+
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
227
|
+
verbosity?: "high" | "low" | "medium" | undefined;
|
|
228
|
+
image_detail?: "auto" | "high" | "low" | undefined;
|
|
278
229
|
} | {
|
|
279
230
|
_option_id: "bedrock-mantle-chat-completions";
|
|
280
231
|
max_tokens?: number | undefined;
|
|
@@ -288,18 +239,18 @@ export declare class InteractionBase<P = unknown> {
|
|
|
288
239
|
top_p?: number | undefined;
|
|
289
240
|
top_k?: number | undefined;
|
|
290
241
|
stop_sequence?: string[] | undefined;
|
|
291
|
-
effort?: "
|
|
242
|
+
effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
|
|
292
243
|
thinking_budget_tokens?: number | undefined;
|
|
293
244
|
include_thoughts?: boolean | undefined;
|
|
294
245
|
cache_enabled?: boolean | undefined;
|
|
295
|
-
cache_ttl?: "
|
|
246
|
+
cache_ttl?: "1h" | "5m" | undefined;
|
|
296
247
|
} | {
|
|
297
248
|
_option_id: "openai-thinking";
|
|
298
249
|
max_tokens?: number | undefined;
|
|
299
250
|
stop_sequence?: string[] | undefined;
|
|
300
|
-
effort?: "
|
|
301
|
-
reasoning_effort?: "
|
|
302
|
-
image_detail?: "auto" | "
|
|
251
|
+
effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
252
|
+
reasoning_effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
253
|
+
image_detail?: "auto" | "high" | "low" | undefined;
|
|
303
254
|
} | {
|
|
304
255
|
_option_id: "openai-text";
|
|
305
256
|
max_tokens?: number | undefined;
|
|
@@ -308,106 +259,106 @@ export declare class InteractionBase<P = unknown> {
|
|
|
308
259
|
presence_penalty?: number | undefined;
|
|
309
260
|
frequency_penalty?: number | undefined;
|
|
310
261
|
stop_sequence?: string[] | undefined;
|
|
311
|
-
image_detail?: "auto" | "
|
|
262
|
+
image_detail?: "auto" | "high" | "low" | undefined;
|
|
312
263
|
} | {
|
|
313
264
|
_option_id: "openai-dalle";
|
|
314
|
-
size?: "
|
|
315
|
-
image_quality?: "
|
|
316
|
-
style?: "
|
|
317
|
-
response_format?: "
|
|
265
|
+
size?: "1024x1024" | "1024x1792" | "1792x1024" | "256x256" | "512x512" | undefined;
|
|
266
|
+
image_quality?: "hd" | "standard" | undefined;
|
|
267
|
+
style?: "natural" | "vivid" | undefined;
|
|
268
|
+
response_format?: "b64_json" | "url" | undefined;
|
|
318
269
|
n?: number | undefined;
|
|
319
270
|
} | {
|
|
320
271
|
_option_id: "openai-gpt-image";
|
|
321
|
-
size?: "
|
|
322
|
-
image_quality?: "auto" | "
|
|
323
|
-
background?: "auto" | "
|
|
324
|
-
output_format?: "
|
|
272
|
+
size?: "1024x1024" | "1024x1536" | "1536x1024" | "auto" | undefined;
|
|
273
|
+
image_quality?: "auto" | "high" | "low" | "medium" | undefined;
|
|
274
|
+
background?: "auto" | "opaque" | "transparent" | undefined;
|
|
275
|
+
output_format?: "jpeg" | "png" | "webp" | undefined;
|
|
325
276
|
} | {
|
|
326
277
|
_option_id: "groq-deepseek-thinking";
|
|
327
|
-
reasoning_format: "parsed" | "raw" | "hidden";
|
|
328
278
|
max_tokens?: number | undefined;
|
|
329
279
|
temperature?: number | undefined;
|
|
330
280
|
top_p?: number | undefined;
|
|
331
281
|
presence_penalty?: number | undefined;
|
|
332
282
|
frequency_penalty?: number | undefined;
|
|
333
283
|
stop_sequence?: string[] | undefined;
|
|
284
|
+
reasoning_format: "hidden" | "parsed" | "raw";
|
|
334
285
|
} | undefined;
|
|
335
286
|
restriction?: import("@vertesia/common").RunDataStorageLevel | undefined;
|
|
336
287
|
output_modality?: import("@llumiverse/common").Modalities | undefined;
|
|
288
|
+
status: import("@vertesia/common").InteractionStatus;
|
|
337
289
|
parent?: string | undefined;
|
|
290
|
+
visibility: "private" | "public";
|
|
291
|
+
version: number;
|
|
338
292
|
test_data?: import("@vertesia/common").JSONObject | undefined;
|
|
339
|
-
interaction_schema?:
|
|
293
|
+
interaction_schema?: {
|
|
340
294
|
$uri: string;
|
|
341
|
-
} | undefined;
|
|
295
|
+
} | import("@vertesia/common").JSONSchema | undefined;
|
|
342
296
|
cache_policy?: {
|
|
343
|
-
type: "cache" | "
|
|
297
|
+
type: "cache" | "cache_and_refresh" | "no_cache";
|
|
344
298
|
refresh_probability: number;
|
|
345
299
|
varies_on: string[];
|
|
346
300
|
ttl: number;
|
|
347
301
|
} | undefined;
|
|
348
|
-
last_published_at?: string | undefined;
|
|
349
|
-
}>;
|
|
350
|
-
update(payload: InteractionUpdatePayload): Promise<{
|
|
351
|
-
id: string;
|
|
352
|
-
name: string;
|
|
353
|
-
endpoint: string;
|
|
354
|
-
project: string | {
|
|
355
|
-
account: string;
|
|
356
|
-
id: string;
|
|
357
|
-
name: string;
|
|
358
|
-
restricted?: boolean | undefined;
|
|
359
|
-
};
|
|
360
|
-
tags: string[];
|
|
361
|
-
status: import("@vertesia/common").InteractionStatus;
|
|
362
|
-
visibility: "public" | "private";
|
|
363
|
-
version: number;
|
|
364
302
|
prompts: {
|
|
365
|
-
type: import("@vertesia/common").PromptSegmentDefType;
|
|
366
303
|
id?: string | undefined;
|
|
304
|
+
type: import("@vertesia/common").PromptSegmentDefType;
|
|
367
305
|
template?: string | {
|
|
368
306
|
role: import("@llumiverse/common").PromptRole;
|
|
369
307
|
content: string;
|
|
370
308
|
content_type: import("@vertesia/common").TemplateType;
|
|
309
|
+
inputSchema?: import("@vertesia/common").JSONSchema | undefined;
|
|
371
310
|
id: string;
|
|
372
311
|
name: string;
|
|
373
312
|
status: import("@vertesia/common").PromptStatus;
|
|
374
313
|
version: number;
|
|
314
|
+
parent?: string | undefined;
|
|
315
|
+
description?: string | undefined;
|
|
316
|
+
test_data?: import("@vertesia/common").JSONObject | undefined;
|
|
317
|
+
script?: string | undefined;
|
|
375
318
|
project: string | {
|
|
376
|
-
account: string;
|
|
377
319
|
id: string;
|
|
378
320
|
name: string;
|
|
321
|
+
account: string;
|
|
379
322
|
restricted?: boolean | undefined;
|
|
380
323
|
};
|
|
324
|
+
tags?: string[] | undefined;
|
|
325
|
+
last_published_at?: string | undefined;
|
|
381
326
|
created_by: string;
|
|
382
327
|
updated_by: string;
|
|
383
328
|
created_at: string;
|
|
384
329
|
updated_at: string;
|
|
385
|
-
inputSchema?: import("@vertesia/common").JSONSchema | undefined;
|
|
386
|
-
parent?: string | undefined;
|
|
387
|
-
description?: string | undefined;
|
|
388
|
-
test_data?: import("@vertesia/common").JSONObject | undefined;
|
|
389
|
-
script?: string | undefined;
|
|
390
|
-
tags?: string[] | undefined;
|
|
391
|
-
last_published_at?: string | undefined;
|
|
392
330
|
} | {
|
|
393
331
|
id: string;
|
|
394
332
|
name: string;
|
|
333
|
+
description?: string | undefined;
|
|
395
334
|
role: import("@llumiverse/common").PromptRole;
|
|
396
335
|
version: number;
|
|
397
336
|
status: import("@vertesia/common").PromptStatus;
|
|
398
|
-
created_at: string;
|
|
399
|
-
updated_at: string;
|
|
400
|
-
description?: string | undefined;
|
|
401
337
|
content_type?: import("@vertesia/common").TemplateType | undefined;
|
|
402
338
|
tags?: string[] | undefined;
|
|
339
|
+
created_at: string;
|
|
340
|
+
updated_at: string;
|
|
403
341
|
} | undefined;
|
|
404
342
|
configuration?: unknown;
|
|
405
343
|
}[];
|
|
344
|
+
last_published_at?: string | undefined;
|
|
406
345
|
created_by: string;
|
|
407
346
|
updated_by: string;
|
|
408
347
|
created_at: string;
|
|
409
348
|
updated_at: string;
|
|
349
|
+
}>;
|
|
350
|
+
update(payload: InteractionUpdatePayload): Promise<{
|
|
351
|
+
id: string;
|
|
352
|
+
name: string;
|
|
353
|
+
endpoint: string;
|
|
410
354
|
description?: string | undefined;
|
|
355
|
+
project: string | {
|
|
356
|
+
id: string;
|
|
357
|
+
name: string;
|
|
358
|
+
account: string;
|
|
359
|
+
restricted?: boolean | undefined;
|
|
360
|
+
};
|
|
361
|
+
tags: string[];
|
|
411
362
|
agent_runner_options?: {
|
|
412
363
|
is_agent?: boolean | undefined;
|
|
413
364
|
is_tool?: boolean | undefined;
|
|
@@ -427,18 +378,13 @@ export declare class InteractionBase<P = unknown> {
|
|
|
427
378
|
max_tokens?: number | undefined;
|
|
428
379
|
} | undefined;
|
|
429
380
|
} | undefined;
|
|
430
|
-
result_schema?:
|
|
381
|
+
result_schema?: {
|
|
431
382
|
$uri: string;
|
|
432
|
-
} | undefined;
|
|
383
|
+
} | import("@vertesia/common").JSONSchema | undefined;
|
|
433
384
|
environment?: string | {
|
|
434
385
|
id: string;
|
|
435
386
|
name: string;
|
|
436
|
-
provider: import("@
|
|
437
|
-
account: string;
|
|
438
|
-
created_by: string;
|
|
439
|
-
updated_by: string;
|
|
440
|
-
created_at: string;
|
|
441
|
-
updated_at: string;
|
|
387
|
+
provider: import("@llumiverse/common").Providers | import("@vertesia/common").CustomProviders;
|
|
442
388
|
enabled_models?: {
|
|
443
389
|
id: string;
|
|
444
390
|
name: string;
|
|
@@ -460,6 +406,11 @@ export declare class InteractionBase<P = unknown> {
|
|
|
460
406
|
default_model?: string | undefined;
|
|
461
407
|
endpoint_url?: string | undefined;
|
|
462
408
|
allowed_projects?: string[] | undefined;
|
|
409
|
+
account: string;
|
|
410
|
+
created_by: string;
|
|
411
|
+
updated_by: string;
|
|
412
|
+
created_at: string;
|
|
413
|
+
updated_at: string;
|
|
463
414
|
} | undefined;
|
|
464
415
|
model?: string | undefined;
|
|
465
416
|
model_options?: {
|
|
@@ -475,11 +426,11 @@ export declare class InteractionBase<P = unknown> {
|
|
|
475
426
|
_option_id: "vertexai-imagen";
|
|
476
427
|
number_of_images?: number | undefined;
|
|
477
428
|
seed?: number | undefined;
|
|
478
|
-
person_generation?: "
|
|
479
|
-
safety_setting?: "
|
|
429
|
+
person_generation?: "allow_adults" | "allow_all" | "dont_allow" | undefined;
|
|
430
|
+
safety_setting?: "block_low_and_above" | "block_medium_and_above" | "block_none" | "block_only_high" | undefined;
|
|
480
431
|
image_file_type?: "image/jpeg" | "image/png" | undefined;
|
|
481
432
|
jpeg_compression_quality?: number | undefined;
|
|
482
|
-
aspect_ratio?: "
|
|
433
|
+
aspect_ratio?: "16:9" | "1:1" | "3:4" | "4:3" | "9:16" | undefined;
|
|
483
434
|
add_watermark?: boolean | undefined;
|
|
484
435
|
enhance_prompt?: boolean | undefined;
|
|
485
436
|
edit_mode?: import("@llumiverse/common").ImagenTaskType | undefined;
|
|
@@ -488,9 +439,9 @@ export declare class InteractionBase<P = unknown> {
|
|
|
488
439
|
mask_mode?: import("@llumiverse/common").ImagenMaskMode | undefined;
|
|
489
440
|
mask_dilation?: number | undefined;
|
|
490
441
|
mask_class?: number[] | undefined;
|
|
491
|
-
controlType?: "
|
|
442
|
+
controlType?: "CONTROL_TYPE_CANNY" | "CONTROL_TYPE_FACE_MESH" | "CONTROL_TYPE_SCRIBBLE" | undefined;
|
|
492
443
|
controlImageComputation?: boolean | undefined;
|
|
493
|
-
subjectType?: "
|
|
444
|
+
subjectType?: "SUBJECT_TYPE_ANIMAL" | "SUBJECT_TYPE_DEFAULT" | "SUBJECT_TYPE_PERSON" | "SUBJECT_TYPE_PRODUCT" | undefined;
|
|
494
445
|
} | {
|
|
495
446
|
_option_id: "vertexai-claude";
|
|
496
447
|
max_tokens?: number | undefined;
|
|
@@ -498,11 +449,11 @@ export declare class InteractionBase<P = unknown> {
|
|
|
498
449
|
top_p?: number | undefined;
|
|
499
450
|
top_k?: number | undefined;
|
|
500
451
|
stop_sequence?: string[] | undefined;
|
|
501
|
-
effort?: "
|
|
452
|
+
effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
|
|
502
453
|
thinking_budget_tokens?: number | undefined;
|
|
503
454
|
include_thoughts?: boolean | undefined;
|
|
504
455
|
cache_enabled?: boolean | undefined;
|
|
505
|
-
cache_ttl?: "
|
|
456
|
+
cache_ttl?: "1h" | "5m" | undefined;
|
|
506
457
|
} | {
|
|
507
458
|
_option_id: "vertexai-gemini";
|
|
508
459
|
max_tokens?: number | undefined;
|
|
@@ -513,15 +464,15 @@ export declare class InteractionBase<P = unknown> {
|
|
|
513
464
|
presence_penalty?: number | undefined;
|
|
514
465
|
frequency_penalty?: number | undefined;
|
|
515
466
|
seed?: number | undefined;
|
|
516
|
-
effort?: "
|
|
467
|
+
effort?: "high" | "low" | "medium" | "minimal" | undefined;
|
|
517
468
|
include_thoughts?: boolean | undefined;
|
|
518
469
|
thinking_budget_tokens?: number | undefined;
|
|
519
470
|
thinking_level?: import("@llumiverse/common").ThinkingLevel | undefined;
|
|
520
471
|
flex?: boolean | undefined;
|
|
521
|
-
image_aspect_ratio?: "
|
|
472
|
+
image_aspect_ratio?: "16:9" | "1:1" | "21:9" | "2:3" | "3:2" | "3:4" | "4:3" | "9:16" | undefined;
|
|
522
473
|
image_size?: "1K" | "2K" | "4K" | undefined;
|
|
523
|
-
person_generation?: "
|
|
524
|
-
prominent_people?: "
|
|
474
|
+
person_generation?: "ALLOW_ADULT" | "ALLOW_ALL" | "ALLOW_NONE" | undefined;
|
|
475
|
+
prominent_people?: "ALLOW_PROMINENT_PEOPLE" | "BLOCK_PROMINENT_PEOPLE" | "PROMINENT_PEOPLE_UNSPECIFIED" | undefined;
|
|
525
476
|
output_mime_type?: "image/jpeg" | "image/png" | undefined;
|
|
526
477
|
output_compression_quality?: number | undefined;
|
|
527
478
|
} | {
|
|
@@ -532,10 +483,10 @@ export declare class InteractionBase<P = unknown> {
|
|
|
532
483
|
stop_sequence?: string[] | undefined;
|
|
533
484
|
} | {
|
|
534
485
|
_option_id: "bedrock-nova-canvas";
|
|
535
|
-
taskType: "
|
|
486
|
+
taskType: "BACKGROUND_REMOVAL" | "COLOR_GUIDED_GENERATION" | "IMAGE_VARIATION" | "INPAINTING" | "OUTPAINTING" | "TEXT_IMAGE" | "TEXT_IMAGE_WITH_IMAGE_CONDITIONING";
|
|
536
487
|
width?: number | undefined;
|
|
537
488
|
height?: number | undefined;
|
|
538
|
-
quality?: "
|
|
489
|
+
quality?: "premium" | "standard" | undefined;
|
|
539
490
|
cfgScale?: number | undefined;
|
|
540
491
|
seed?: number | undefined;
|
|
541
492
|
numberOfImages?: number | undefined;
|
|
@@ -583,9 +534,9 @@ export declare class InteractionBase<P = unknown> {
|
|
|
583
534
|
top_k?: number | undefined;
|
|
584
535
|
thinking_budget_tokens?: number | undefined;
|
|
585
536
|
include_thoughts?: boolean | undefined;
|
|
586
|
-
effort?: "
|
|
537
|
+
effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
|
|
587
538
|
cache_enabled?: boolean | undefined;
|
|
588
|
-
cache_ttl?: "
|
|
539
|
+
cache_ttl?: "1h" | "5m" | undefined;
|
|
589
540
|
} | {
|
|
590
541
|
_option_id: "bedrock-palmyra";
|
|
591
542
|
max_tokens?: number | undefined;
|
|
@@ -602,7 +553,7 @@ export declare class InteractionBase<P = unknown> {
|
|
|
602
553
|
temperature?: number | undefined;
|
|
603
554
|
top_p?: number | undefined;
|
|
604
555
|
stop_sequence?: string[] | undefined;
|
|
605
|
-
reasoning_effort?: "
|
|
556
|
+
reasoning_effort?: "high" | "low" | "medium" | undefined;
|
|
606
557
|
frequency_penalty?: number | undefined;
|
|
607
558
|
presence_penalty?: number | undefined;
|
|
608
559
|
} | {
|
|
@@ -614,10 +565,10 @@ export declare class InteractionBase<P = unknown> {
|
|
|
614
565
|
max_tokens?: number | undefined;
|
|
615
566
|
temperature?: number | undefined;
|
|
616
567
|
top_p?: number | undefined;
|
|
617
|
-
effort?: "
|
|
618
|
-
reasoning_effort?: "
|
|
619
|
-
verbosity?: "
|
|
620
|
-
image_detail?: "auto" | "
|
|
568
|
+
effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
569
|
+
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
570
|
+
verbosity?: "high" | "low" | "medium" | undefined;
|
|
571
|
+
image_detail?: "auto" | "high" | "low" | undefined;
|
|
621
572
|
} | {
|
|
622
573
|
_option_id: "bedrock-mantle-chat-completions";
|
|
623
574
|
max_tokens?: number | undefined;
|
|
@@ -631,18 +582,18 @@ export declare class InteractionBase<P = unknown> {
|
|
|
631
582
|
top_p?: number | undefined;
|
|
632
583
|
top_k?: number | undefined;
|
|
633
584
|
stop_sequence?: string[] | undefined;
|
|
634
|
-
effort?: "
|
|
585
|
+
effort?: "high" | "low" | "max" | "medium" | "xhigh" | undefined;
|
|
635
586
|
thinking_budget_tokens?: number | undefined;
|
|
636
587
|
include_thoughts?: boolean | undefined;
|
|
637
588
|
cache_enabled?: boolean | undefined;
|
|
638
|
-
cache_ttl?: "
|
|
589
|
+
cache_ttl?: "1h" | "5m" | undefined;
|
|
639
590
|
} | {
|
|
640
591
|
_option_id: "openai-thinking";
|
|
641
592
|
max_tokens?: number | undefined;
|
|
642
593
|
stop_sequence?: string[] | undefined;
|
|
643
|
-
effort?: "
|
|
644
|
-
reasoning_effort?: "
|
|
645
|
-
image_detail?: "auto" | "
|
|
594
|
+
effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
595
|
+
reasoning_effort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
596
|
+
image_detail?: "auto" | "high" | "low" | undefined;
|
|
646
597
|
} | {
|
|
647
598
|
_option_id: "openai-text";
|
|
648
599
|
max_tokens?: number | undefined;
|
|
@@ -651,44 +602,93 @@ export declare class InteractionBase<P = unknown> {
|
|
|
651
602
|
presence_penalty?: number | undefined;
|
|
652
603
|
frequency_penalty?: number | undefined;
|
|
653
604
|
stop_sequence?: string[] | undefined;
|
|
654
|
-
image_detail?: "auto" | "
|
|
605
|
+
image_detail?: "auto" | "high" | "low" | undefined;
|
|
655
606
|
} | {
|
|
656
607
|
_option_id: "openai-dalle";
|
|
657
|
-
size?: "
|
|
658
|
-
image_quality?: "
|
|
659
|
-
style?: "
|
|
660
|
-
response_format?: "
|
|
608
|
+
size?: "1024x1024" | "1024x1792" | "1792x1024" | "256x256" | "512x512" | undefined;
|
|
609
|
+
image_quality?: "hd" | "standard" | undefined;
|
|
610
|
+
style?: "natural" | "vivid" | undefined;
|
|
611
|
+
response_format?: "b64_json" | "url" | undefined;
|
|
661
612
|
n?: number | undefined;
|
|
662
613
|
} | {
|
|
663
614
|
_option_id: "openai-gpt-image";
|
|
664
|
-
size?: "
|
|
665
|
-
image_quality?: "auto" | "
|
|
666
|
-
background?: "auto" | "
|
|
667
|
-
output_format?: "
|
|
615
|
+
size?: "1024x1024" | "1024x1536" | "1536x1024" | "auto" | undefined;
|
|
616
|
+
image_quality?: "auto" | "high" | "low" | "medium" | undefined;
|
|
617
|
+
background?: "auto" | "opaque" | "transparent" | undefined;
|
|
618
|
+
output_format?: "jpeg" | "png" | "webp" | undefined;
|
|
668
619
|
} | {
|
|
669
620
|
_option_id: "groq-deepseek-thinking";
|
|
670
|
-
reasoning_format: "parsed" | "raw" | "hidden";
|
|
671
621
|
max_tokens?: number | undefined;
|
|
672
622
|
temperature?: number | undefined;
|
|
673
623
|
top_p?: number | undefined;
|
|
674
624
|
presence_penalty?: number | undefined;
|
|
675
625
|
frequency_penalty?: number | undefined;
|
|
676
626
|
stop_sequence?: string[] | undefined;
|
|
627
|
+
reasoning_format: "hidden" | "parsed" | "raw";
|
|
677
628
|
} | undefined;
|
|
678
629
|
restriction?: import("@vertesia/common").RunDataStorageLevel | undefined;
|
|
679
630
|
output_modality?: import("@llumiverse/common").Modalities | undefined;
|
|
631
|
+
status: import("@vertesia/common").InteractionStatus;
|
|
680
632
|
parent?: string | undefined;
|
|
633
|
+
visibility: "private" | "public";
|
|
634
|
+
version: number;
|
|
681
635
|
test_data?: import("@vertesia/common").JSONObject | undefined;
|
|
682
|
-
interaction_schema?:
|
|
636
|
+
interaction_schema?: {
|
|
683
637
|
$uri: string;
|
|
684
|
-
} | undefined;
|
|
638
|
+
} | import("@vertesia/common").JSONSchema | undefined;
|
|
685
639
|
cache_policy?: {
|
|
686
|
-
type: "cache" | "
|
|
640
|
+
type: "cache" | "cache_and_refresh" | "no_cache";
|
|
687
641
|
refresh_probability: number;
|
|
688
642
|
varies_on: string[];
|
|
689
643
|
ttl: number;
|
|
690
644
|
} | undefined;
|
|
645
|
+
prompts: {
|
|
646
|
+
id?: string | undefined;
|
|
647
|
+
type: import("@vertesia/common").PromptSegmentDefType;
|
|
648
|
+
template?: string | {
|
|
649
|
+
role: import("@llumiverse/common").PromptRole;
|
|
650
|
+
content: string;
|
|
651
|
+
content_type: import("@vertesia/common").TemplateType;
|
|
652
|
+
inputSchema?: import("@vertesia/common").JSONSchema | undefined;
|
|
653
|
+
id: string;
|
|
654
|
+
name: string;
|
|
655
|
+
status: import("@vertesia/common").PromptStatus;
|
|
656
|
+
version: number;
|
|
657
|
+
parent?: string | undefined;
|
|
658
|
+
description?: string | undefined;
|
|
659
|
+
test_data?: import("@vertesia/common").JSONObject | undefined;
|
|
660
|
+
script?: string | undefined;
|
|
661
|
+
project: string | {
|
|
662
|
+
id: string;
|
|
663
|
+
name: string;
|
|
664
|
+
account: string;
|
|
665
|
+
restricted?: boolean | undefined;
|
|
666
|
+
};
|
|
667
|
+
tags?: string[] | undefined;
|
|
668
|
+
last_published_at?: string | undefined;
|
|
669
|
+
created_by: string;
|
|
670
|
+
updated_by: string;
|
|
671
|
+
created_at: string;
|
|
672
|
+
updated_at: string;
|
|
673
|
+
} | {
|
|
674
|
+
id: string;
|
|
675
|
+
name: string;
|
|
676
|
+
description?: string | undefined;
|
|
677
|
+
role: import("@llumiverse/common").PromptRole;
|
|
678
|
+
version: number;
|
|
679
|
+
status: import("@vertesia/common").PromptStatus;
|
|
680
|
+
content_type?: import("@vertesia/common").TemplateType | undefined;
|
|
681
|
+
tags?: string[] | undefined;
|
|
682
|
+
created_at: string;
|
|
683
|
+
updated_at: string;
|
|
684
|
+
} | undefined;
|
|
685
|
+
configuration?: unknown;
|
|
686
|
+
}[];
|
|
691
687
|
last_published_at?: string | undefined;
|
|
688
|
+
created_by: string;
|
|
689
|
+
updated_by: string;
|
|
690
|
+
created_at: string;
|
|
691
|
+
updated_at: string;
|
|
692
692
|
}>;
|
|
693
693
|
render(_data: P): void;
|
|
694
694
|
/**
|