@vertesia/appgen-docs 1.6.0-dev.20260918.115658Z → 1.6.0-dev.20261004.085740Z
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/docs/symbol-index.json +5351 -4883
- package/lib/docs/ui-interfaces.d.ts +19 -19
- package/lib/docs/vertesia-client.d.ts +572 -591
- package/lib/docs/vertesia-common.d.ts +540 -565
- package/package.json +7 -7
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// -----------------------------------------------------------------------------
|
|
11
11
|
// @vertesia/common: index.d.ts
|
|
12
12
|
// -----------------------------------------------------------------------------
|
|
13
|
-
export type { VertexAIGeminiOmniVideoOptions, VideoResult } from '@llumiverse/common';
|
|
13
|
+
export type { AudioResult, OpenAiAudioOptions, OpenAiImageGenerationMask, OpenAiImageGenerationOptions, OpenAiSpeechOptions, OpenAiTranscriptionOptions, VertexAIGeminiOmniVideoOptions, VideoResult, } from '@llumiverse/common';
|
|
14
14
|
export * from './access-control.js';
|
|
15
15
|
export * from './analytics.js';
|
|
16
16
|
/**
|
|
@@ -19,7 +19,7 @@ export * from './analytics.js';
|
|
|
19
19
|
* would ship zod to every UI user; see `./api-schemas/index.ts` for why.
|
|
20
20
|
*/
|
|
21
21
|
export type { UserGroupArrayFromSchema } from './api-schemas/group.js';
|
|
22
|
-
export type {
|
|
22
|
+
export type { AbacPrincipalContextFromSchema, UserArrayFromSchema, UserRefArrayFromSchema, } from './api-schemas/user.js';
|
|
23
23
|
export * from './apikey.js';
|
|
24
24
|
export * from './appgen.js';
|
|
25
25
|
export * from './apps.js';
|
|
@@ -36,6 +36,7 @@ export * from './embeddings.js';
|
|
|
36
36
|
export * from './environment.js';
|
|
37
37
|
export * from './facets.js';
|
|
38
38
|
export * from './group.js';
|
|
39
|
+
export type { CreateInferenceProfilePayload, InferenceProfile, InferenceProfileId, InferenceProfileName, InferenceProfileRecord, InferenceProfileRecordArray, InferenceProfileSnapshot, InferenceProfileUsage, InferenceProfileUsageEntry, InferenceProfileUsageQuery, InteractionConfigurationRecord, InteractionConfigurationResult, ProjectInferenceProfiles, UpdateInferenceProfilePayload, UpdateInteractionConfigurationPayload, } from './inference-profile.js';
|
|
39
40
|
export * from './integrations.js';
|
|
40
41
|
export * from './interaction.js';
|
|
41
42
|
export * from './json.js';
|
|
@@ -55,6 +56,7 @@ export * from './query.js';
|
|
|
55
56
|
export * from './rate-limiter.js';
|
|
56
57
|
export * from './refs.js';
|
|
57
58
|
export * from './roles/types.js';
|
|
59
|
+
export type { ReadRunBudgetUsagePayload, RunBudgetCapability, RunBudgetCapabilityQuery, RunBudgetOwner, RunBudgetTotals, RunBudgetUsage, } from './run-budget.js';
|
|
58
60
|
export * from './runs.js';
|
|
59
61
|
export * from './schema-for-extraction.js';
|
|
60
62
|
export * from './secrets.js';
|
|
@@ -80,12 +82,7 @@ export * from './workflow-analytics.js';
|
|
|
80
82
|
// -----------------------------------------------------------------------------
|
|
81
83
|
// @vertesia/common: apps.d.ts
|
|
82
84
|
// -----------------------------------------------------------------------------
|
|
83
|
-
import type
|
|
84
|
-
import type { AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppListScopeSchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppsQuerySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, DeleteAppVersionResponseSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppDevelopmentTaskRequestSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema } from './api-schemas/app-lifecycle.js';
|
|
85
|
-
import type { AppEventHookDeliverySchema, AppEventHookPayloadSchema, AppEventSubscriptionDefinitionSchema, AppInstallationListEntrySchema, AppInstallationSchema, AppInstallationWithManifestSchema, AppManifestDataSchema, AppManifestSchema, AppPackageEventHookSchema, AppPackageHooksSchema, AppPackageSchema, AppWidgetInfoSchema, CompositeAppCardOverridesSchema, CompositeAppConfigPayloadSchema, CompositeAppConfigSchema, CompositeAppEntrySchema, CompositeAppHeaderItemKindSchema, CompositeAppHeaderItemSchema, CompositeAppHeaderItemTargetSchema, CompositeAppHeaderOverridesSchema, CompositeAppHomePluginSchema, CompositeAppLogoOverridesSchema, CompositeAppMenuSectionSchema, CompositeAppMessageOverridesSchema, CompositeAppMessageStyleSchema, CompositeAppNavItemPermissionsSchema, CompositeAppSidebarOverridesSchema, CompositeAppSwitchersOverridesSchema, CompositeAppThemeOverridesSchema, CompositeAppUserMenuOverridesSchema, PromoteAppVersionResponseSchema, UpdateAppPayloadSchema } from './api-schemas/app-runtime.js';
|
|
86
|
-
import type { AppAccessControlSchema, AppAvailableInSchema, AppCapabilitiesSchema, AppGitSourceConfigSchema, AppManifestSourceSchema, AppSourceConfigSchema, AppUIConfigSchema, MCPApiKeyConfigSchema, MCPOAuthConfigSchema, MCPToolAnnotationsSchema, MCPToolCollectionObjectSchema, McpApiKeyStatusSchema, McpOAuthConnectResponseSchema, McpOAuthDisconnectResponseSchema, McpOAuthTokenRequestSchema, McpOAuthTokenResponseSchema, OAuthAuthorizeResponseSchema, OAuthAuthStatusSchema, OAuthMetadataResponseSchema, SetMcpApiKeyRequestSchema, ToolCollectionAuthTypeSchema, ToolCollectionObjectSchema, VertesiaSDKToolCollectionObjectSchema } from './api-schemas/apps.js';
|
|
87
|
-
import type { RemoteActivityDefinitionSchema } from './api-schemas/integrations.js';
|
|
88
|
-
import type { ProjectToolInfoSchema, RenderingTemplateDefinitionRefSchema, RenderingTemplateDefinitionSchema } from './api-schemas/project.js';
|
|
85
|
+
import type * as Wire from './wire-types.generated.js';
|
|
89
86
|
/** Allowed values for AppUINavItem.preferredSection */
|
|
90
87
|
export declare const PREFERRED_SECTIONS: readonly ['default', 'footer', 'settings'];
|
|
91
88
|
/**
|
|
@@ -114,18 +111,18 @@ export interface AppUINavItem {
|
|
|
114
111
|
*/
|
|
115
112
|
preferredSection?: (typeof PREFERRED_SECTIONS)[number];
|
|
116
113
|
}
|
|
117
|
-
export type AppUIConfig =
|
|
118
|
-
export type AppInstallationProjectsQuery =
|
|
119
|
-
export type AppInstallationsQuery =
|
|
120
|
-
export type AppListScope =
|
|
121
|
-
export type AppsQuery =
|
|
122
|
-
export type ToolCollectionAuthType =
|
|
123
|
-
export type MCPOAuthConfig =
|
|
114
|
+
export type AppUIConfig = Wire.AppUIConfig;
|
|
115
|
+
export type AppInstallationProjectsQuery = Wire.AppInstallationProjectsQuery;
|
|
116
|
+
export type AppInstallationsQuery = Wire.AppInstallationsQuery;
|
|
117
|
+
export type AppListScope = Wire.AppListScope;
|
|
118
|
+
export type AppsQuery = Wire.AppsQuery;
|
|
119
|
+
export type ToolCollectionAuthType = Wire.ToolCollectionAuthType;
|
|
120
|
+
export type MCPOAuthConfig = Wire.MCPOAuthConfig;
|
|
124
121
|
/** Install-time provisioning blueprint for an `auth: 'api_key'` MCP collection. Never holds the key. */
|
|
125
|
-
export type MCPApiKeyConfig =
|
|
126
|
-
export type MCPToolCollectionObject =
|
|
127
|
-
export type VertesiaSDKToolCollectionObject =
|
|
128
|
-
export type ToolCollectionObject =
|
|
122
|
+
export type MCPApiKeyConfig = Wire.MCPApiKeyConfig;
|
|
123
|
+
export type MCPToolCollectionObject = Wire.MCPToolCollectionObject;
|
|
124
|
+
export type VertesiaSDKToolCollectionObject = Wire.VertesiaSDKToolCollectionObject;
|
|
125
|
+
export type ToolCollectionObject = Wire.ToolCollectionObject;
|
|
129
126
|
/**
|
|
130
127
|
* Normalizes a tool collection to the object format.
|
|
131
128
|
* Applies optional `{{var}}` substitution to the URL so manifests can reference
|
|
@@ -139,7 +136,7 @@ export declare function normalizeToolCollection(collection: ToolCollectionObject
|
|
|
139
136
|
/**
|
|
140
137
|
* Metadata hints from MCP tool annotations (per MCP spec).
|
|
141
138
|
*/
|
|
142
|
-
export type MCPToolAnnotations =
|
|
139
|
+
export type MCPToolAnnotations = Wire.MCPToolAnnotations;
|
|
143
140
|
/**
|
|
144
141
|
* Approval behavior class for a tool exposed to agents.
|
|
145
142
|
*
|
|
@@ -148,58 +145,58 @@ export type MCPToolAnnotations = z.infer<typeof MCPToolAnnotationsSchema>;
|
|
|
148
145
|
* - `control`: affects agent control flow or tool availability, not user data or external systems.
|
|
149
146
|
* - `requires_confirmation`: high-impact action that must ask the user even in interactive full-control mode.
|
|
150
147
|
*/
|
|
151
|
-
export type AgentToolApprovalClass =
|
|
148
|
+
export type AgentToolApprovalClass = Wire.AgentToolApprovalClass;
|
|
152
149
|
/**
|
|
153
150
|
* Tool definition with optional activation control for agent exposure.
|
|
154
151
|
*/
|
|
155
|
-
export type AgentToolDefinition =
|
|
152
|
+
export type AgentToolDefinition = Wire.AgentToolDefinition;
|
|
156
153
|
/**
|
|
157
154
|
* Definition of a remote activity exposed by a tool server for use in DSL workflows.
|
|
158
155
|
* Remote activities are identified in workflow steps using colon-separated names:
|
|
159
156
|
* `app:<app_name>:<collection>:<activity_name>` (e.g. `app:my-nlp-app:examples:word_count`).
|
|
160
157
|
*/
|
|
161
|
-
export type RemoteActivityDefinition =
|
|
158
|
+
export type RemoteActivityDefinition = Wire.RemoteActivityDefinition;
|
|
162
159
|
/**
|
|
163
160
|
* Canonical app capabilities Studio renders/supports. The public type is derived from
|
|
164
161
|
* this list so runtime validation and TypeScript cannot drift.
|
|
165
162
|
*/
|
|
166
163
|
export declare const APP_CAPABILITIES: readonly ['ui', 'tools', 'interactions', 'types', 'processes', 'views', 'templates', 'dashboards'];
|
|
167
|
-
export type AppCapabilities =
|
|
164
|
+
export type AppCapabilities = Wire.AppCapabilities;
|
|
168
165
|
/**
|
|
169
166
|
* Header carrying the app version a generated-app UI is running, so studio/zeno resolve app-owned
|
|
170
167
|
* capability refs (`app:<app>:...`) against that exact version instead of the promoted version.
|
|
171
168
|
* Resolution-time only; never persisted. Set by the generated app template via client.withAppVersion.
|
|
172
169
|
*/
|
|
173
170
|
export declare const APP_VERSION_HEADER = "x-vertesia-app-version";
|
|
174
|
-
export type AppAvailableIn =
|
|
175
|
-
export type AppVersionKind =
|
|
176
|
-
export type AppVersionState =
|
|
177
|
-
export type AppVersionTarget =
|
|
178
|
-
export type AppVersionGitRefType =
|
|
179
|
-
export type AppBuildTrigger =
|
|
180
|
-
export type AppVersionStorage =
|
|
181
|
-
export type AppVersionGitSource =
|
|
182
|
-
export type AppVersionUrls =
|
|
183
|
-
export type AppVersionRecord =
|
|
184
|
-
export type DeleteAppVersionResponse =
|
|
185
|
-
export type UpsertAppVersionRequest =
|
|
171
|
+
export type AppAvailableIn = Wire.AppAvailableIn;
|
|
172
|
+
export type AppVersionKind = Wire.AppVersionKind;
|
|
173
|
+
export type AppVersionState = Wire.AppVersionState;
|
|
174
|
+
export type AppVersionTarget = Wire.AppVersionTarget;
|
|
175
|
+
export type AppVersionGitRefType = Wire.AppVersionGitRefType;
|
|
176
|
+
export type AppBuildTrigger = Wire.AppBuildTrigger;
|
|
177
|
+
export type AppVersionStorage = Wire.AppVersionStorage;
|
|
178
|
+
export type AppVersionGitSource = Wire.AppVersionGitSource;
|
|
179
|
+
export type AppVersionUrls = Wire.AppVersionUrls;
|
|
180
|
+
export type AppVersionRecord = Wire.AppVersionRecord;
|
|
181
|
+
export type DeleteAppVersionResponse = Wire.DeleteAppVersionResponse;
|
|
182
|
+
export type UpsertAppVersionRequest = Wire.UpsertAppVersionRequest;
|
|
186
183
|
export interface AppVersionListQuery {
|
|
187
184
|
app_id?: string;
|
|
188
185
|
kind?: AppVersionKind;
|
|
189
186
|
include_expired?: boolean;
|
|
190
187
|
limit?: number;
|
|
191
188
|
}
|
|
192
|
-
export type PromoteAppVersionResponse =
|
|
193
|
-
export type StartAppBuildRequest =
|
|
194
|
-
export type StartAppBuildResponse =
|
|
195
|
-
export type AppBuildProgressStatus =
|
|
196
|
-
export type AppBuildProgress =
|
|
197
|
-
export type AppScaffoldModule =
|
|
198
|
-
export type StartAppScaffoldRequest =
|
|
199
|
-
export type StartAppScaffoldResponse =
|
|
200
|
-
export type StartAppDevelopmentTaskRequest =
|
|
201
|
-
export type AppScaffoldProgressStatus =
|
|
202
|
-
export type AppScaffoldProgress =
|
|
189
|
+
export type PromoteAppVersionResponse = Wire.PromoteAppVersionResponse;
|
|
190
|
+
export type StartAppBuildRequest = Wire.StartAppBuildRequest;
|
|
191
|
+
export type StartAppBuildResponse = Wire.StartAppBuildResponse;
|
|
192
|
+
export type AppBuildProgressStatus = Wire.AppBuildProgressStatus;
|
|
193
|
+
export type AppBuildProgress = Wire.AppBuildProgress;
|
|
194
|
+
export type AppScaffoldModule = Wire.AppScaffoldModule;
|
|
195
|
+
export type StartAppScaffoldRequest = Wire.StartAppScaffoldRequest;
|
|
196
|
+
export type StartAppScaffoldResponse = Wire.StartAppScaffoldResponse;
|
|
197
|
+
export type StartAppDevelopmentTaskRequest = Wire.StartAppDevelopmentTaskRequest;
|
|
198
|
+
export type AppScaffoldProgressStatus = Wire.AppScaffoldProgressStatus;
|
|
199
|
+
export type AppScaffoldProgress = Wire.AppScaffoldProgress;
|
|
203
200
|
/**
|
|
204
201
|
* Access control policy for an app installation.
|
|
205
202
|
* Declares which access surfaces are gated by per-user ACEs.
|
|
@@ -212,11 +209,11 @@ export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
|
|
|
212
209
|
*
|
|
213
210
|
* Declared on the manifest as the app's default. May be overridden per-installation.
|
|
214
211
|
*/
|
|
215
|
-
export type AppAccessControl =
|
|
216
|
-
export type AppManifestData =
|
|
217
|
-
export type UpdateAppPayload =
|
|
218
|
-
export type AppGitSourceConfig =
|
|
219
|
-
export type AppSourceConfig =
|
|
212
|
+
export type AppAccessControl = Wire.AppAccessControl;
|
|
213
|
+
export type AppManifestData = Wire.AppManifestData;
|
|
214
|
+
export type UpdateAppPayload = Wire.UpdateAppPayload;
|
|
215
|
+
export type AppGitSourceConfig = Wire.AppGitSourceConfig;
|
|
216
|
+
export type AppSourceConfig = Wire.AppSourceConfig;
|
|
220
217
|
/**
|
|
221
218
|
* Deployment-time URL endpoints that can be referenced in app manifest URLs
|
|
222
219
|
* via `{{key}}` placeholders. The caller (typically studio-server) supplies
|
|
@@ -238,53 +235,53 @@ export interface Endpoints {
|
|
|
238
235
|
gateway?: string;
|
|
239
236
|
}
|
|
240
237
|
/** One entry in an app git-repo directory listing (see {@link AppRepoTree}). */
|
|
241
|
-
export type AppRepoTreeEntry =
|
|
238
|
+
export type AppRepoTreeEntry = Wire.AppRepoTreeEntry;
|
|
242
239
|
/** A non-recursive listing of an app git repo directory at a given ref. */
|
|
243
|
-
export type AppRepoTree =
|
|
240
|
+
export type AppRepoTree = Wire.AppRepoTree;
|
|
244
241
|
/** Result of committing one or more uploaded documents to an app repository. */
|
|
245
|
-
export type AppRepoDocumentCommit =
|
|
242
|
+
export type AppRepoDocumentCommit = Wire.AppRepoDocumentCommit;
|
|
246
243
|
/** One commit that inserted or changed a file in an app git repository. */
|
|
247
|
-
export type AppRepoCommit =
|
|
244
|
+
export type AppRepoCommit = Wire.AppRepoCommit;
|
|
248
245
|
/** Commit history in an app git repository, optionally filtered to a file. */
|
|
249
|
-
export type AppRepoCommits =
|
|
246
|
+
export type AppRepoCommits = Wire.AppRepoCommits;
|
|
250
247
|
/** A branch or tag in an app git repo, resolved to its latest commit. */
|
|
251
|
-
export type AppRepoRef =
|
|
248
|
+
export type AppRepoRef = Wire.AppRepoRef;
|
|
252
249
|
/** The branches and tags of an app git repo (see {@link AppRepoRef}). */
|
|
253
|
-
export type AppRepoRefs =
|
|
250
|
+
export type AppRepoRefs = Wire.AppRepoRefs;
|
|
254
251
|
/** A mutable app development task represented by an `agent/*` Git branch. */
|
|
255
|
-
export type AppDevelopmentTask =
|
|
252
|
+
export type AppDevelopmentTask = Wire.AppDevelopmentTask;
|
|
256
253
|
/** Git-backed development tasks and the branch used for new tasks by default. */
|
|
257
|
-
export type AppDevelopmentTaskList =
|
|
254
|
+
export type AppDevelopmentTaskList = Wire.AppDevelopmentTaskList;
|
|
258
255
|
/** Development task details, including the latest parent assistant run when one exists. */
|
|
259
|
-
export type AppDevelopmentTaskDetails =
|
|
256
|
+
export type AppDevelopmentTaskDetails = Wire.AppDevelopmentTaskDetails;
|
|
260
257
|
/** Request to create a branch from an existing branch, tag, or commit. */
|
|
261
258
|
export interface CreateAppRepoBranchRequest {
|
|
262
259
|
name: string;
|
|
263
260
|
source_ref: string;
|
|
264
261
|
}
|
|
265
262
|
/** A newly created app repository branch. */
|
|
266
|
-
export type AppRepoBranch =
|
|
263
|
+
export type AppRepoBranch = Wire.AppRepoBranch;
|
|
267
264
|
/**
|
|
268
265
|
* Canonical package scopes, including the catch-all `all`. The public type is derived
|
|
269
266
|
* from this list so request parsing and TypeScript cannot drift.
|
|
270
267
|
*/
|
|
271
268
|
export declare const APP_PACKAGE_SCOPES: readonly ['ui', 'tools', 'interactions', 'types', 'processes', 'views', 'templates', 'dashboards', 'settings', 'widgets', 'activities', 'hooks', 'subscriptions', 'all'];
|
|
272
269
|
export type AppPackageScope = (typeof APP_PACKAGE_SCOPES)[number];
|
|
273
|
-
export type AppPackageEventHook =
|
|
274
|
-
export type AppPackageHooks =
|
|
275
|
-
export type AppEventHookDelivery =
|
|
276
|
-
export type AppEventHookPayload =
|
|
277
|
-
export type AppEventSubscriptionDefinition =
|
|
278
|
-
export type AppPackage =
|
|
270
|
+
export type AppPackageEventHook = Wire.AppPackageEventHook;
|
|
271
|
+
export type AppPackageHooks = Wire.AppPackageHooks;
|
|
272
|
+
export type AppEventHookDelivery = Wire.AppEventHookDelivery;
|
|
273
|
+
export type AppEventHookPayload = Wire.AppEventHookPayload;
|
|
274
|
+
export type AppEventSubscriptionDefinition = Wire.AppEventSubscriptionDefinition;
|
|
275
|
+
export type AppPackage = Wire.AppPackage;
|
|
279
276
|
/**
|
|
280
277
|
* A single diagnostic produced while inspecting an app's registration state.
|
|
281
278
|
*/
|
|
282
|
-
export type AppInspectionIssue =
|
|
279
|
+
export type AppInspectionIssue = Wire.AppInspectionIssue;
|
|
283
280
|
/**
|
|
284
281
|
* Per-capability report of what an app's promoted package actually exposes,
|
|
285
282
|
* compared against what its manifest declares.
|
|
286
283
|
*/
|
|
287
|
-
export type AppInspectionCapabilityReport =
|
|
284
|
+
export type AppInspectionCapabilityReport = Wire.AppInspectionCapabilityReport;
|
|
288
285
|
/**
|
|
289
286
|
* Result of inspecting an app's registration: the resolved manifest state, what
|
|
290
287
|
* the promoted package actually exposes per capability, and diagnostics. This
|
|
@@ -292,92 +289,92 @@ export type AppInspectionCapabilityReport = z.infer<typeof AppInspectionCapabili
|
|
|
292
289
|
* Build › App inspection UI to verify what is registered vs declared, instead of
|
|
293
290
|
* inferring it from failed object/import calls.
|
|
294
291
|
*/
|
|
295
|
-
export type AppInspectionResult =
|
|
296
|
-
export type AppWidgetInfo =
|
|
297
|
-
export type RenderingTemplateDefinition =
|
|
298
|
-
export type RenderingTemplateDefinitionRef =
|
|
299
|
-
export type AppManifest =
|
|
300
|
-
export type AppManifestSource =
|
|
292
|
+
export type AppInspectionResult = Wire.AppInspectionResult;
|
|
293
|
+
export type AppWidgetInfo = Wire.AppWidgetInfo;
|
|
294
|
+
export type RenderingTemplateDefinition = Wire.RenderingTemplateDefinition;
|
|
295
|
+
export type RenderingTemplateDefinitionRef = Wire.RenderingTemplateDefinitionRef;
|
|
296
|
+
export type AppManifest = Wire.AppManifest;
|
|
297
|
+
export type AppManifestSource = Wire.AppManifestSource;
|
|
301
298
|
/**
|
|
302
299
|
* Binding between an MCP collection and an OAuth provider created at install time.
|
|
303
300
|
* Stored on AppInstallation so the runtime can look up the correct OAuth provider by ID,
|
|
304
301
|
* independent of manifest oauth_provider references (which may change).
|
|
305
302
|
*/
|
|
306
|
-
export type AppInstallationOAuthBinding =
|
|
303
|
+
export type AppInstallationOAuthBinding = Wire.AppInstallationOAuthBinding;
|
|
307
304
|
/**
|
|
308
305
|
* Binding between a named OAuth provider and the OAuth provider created for it at install time.
|
|
309
306
|
* Stored on AppInstallation so the runtime can resolve the correct OAuth provider for collections
|
|
310
307
|
* that reference a shared provider via MCPToolCollectionObject.oauth_provider.
|
|
311
308
|
*/
|
|
312
|
-
export type AppInstallationProviderBinding =
|
|
313
|
-
export type AppInstallation =
|
|
314
|
-
export type AppInstallationWithManifest =
|
|
309
|
+
export type AppInstallationProviderBinding = Wire.AppInstallationProviderBinding;
|
|
310
|
+
export type AppInstallation = Wire.AppInstallation;
|
|
311
|
+
export type AppInstallationWithManifest = Wire.AppInstallationWithManifest;
|
|
315
312
|
/** An installation whose app manifest could not be resolved (the app was deleted or is unpublished). */
|
|
316
313
|
export interface OrphanedAppInstallation extends Omit<AppInstallation, 'manifest'> {
|
|
317
314
|
manifest: null;
|
|
318
315
|
}
|
|
319
|
-
export type AppInstallationListEntry =
|
|
320
|
-
export type OAuthClientCredentials =
|
|
321
|
-
export type AppOAuthCollectionParams =
|
|
316
|
+
export type AppInstallationListEntry = Wire.AppInstallationListEntry;
|
|
317
|
+
export type OAuthClientCredentials = Wire.OAuthClientCredentials;
|
|
318
|
+
export type AppOAuthCollectionParams = Wire.AppOAuthCollectionParams;
|
|
322
319
|
/** One installer-supplied MCP API key. */
|
|
323
|
-
export type McpApiKeyCredential =
|
|
320
|
+
export type McpApiKeyCredential = Wire.McpApiKeyCredential;
|
|
324
321
|
/** Installer-supplied MCP API keys, keyed by collection id. */
|
|
325
|
-
export type AppApiKeyCollectionParams =
|
|
326
|
-
export type AppOAuthProviderParams =
|
|
327
|
-
export type AppInstallationPayload =
|
|
328
|
-
export type UpdateAppInstallationToolAllowlistPayload =
|
|
329
|
-
export type AppInstallationKind =
|
|
322
|
+
export type AppApiKeyCollectionParams = Wire.AppApiKeyCollectionParams;
|
|
323
|
+
export type AppOAuthProviderParams = Wire.AppOAuthProviderParams;
|
|
324
|
+
export type AppInstallationPayload = Wire.AppInstallationPayload;
|
|
325
|
+
export type UpdateAppInstallationToolAllowlistPayload = Wire.UpdateAppInstallationToolAllowlistPayload;
|
|
326
|
+
export type AppInstallationKind = Wire.AppInstallationKind;
|
|
330
327
|
/**
|
|
331
328
|
* A description of the tools provided by an app
|
|
332
329
|
*/
|
|
333
|
-
export type AppToolCollection =
|
|
330
|
+
export type AppToolCollection = Wire.AppToolCollection;
|
|
334
331
|
/**
|
|
335
332
|
* A tool and the app installation that provides it, inferred from `./api-schemas/project.js` — the
|
|
336
333
|
* module that owns it, because it converted with the Projects batch rather than with Apps.
|
|
337
334
|
*/
|
|
338
|
-
export type ProjectToolInfo =
|
|
335
|
+
export type ProjectToolInfo = Wire.ProjectToolInfo;
|
|
339
336
|
/**
|
|
340
337
|
* OAuth authentication status for an MCP tool collection
|
|
341
338
|
*/
|
|
342
|
-
export type OAuthAuthStatus =
|
|
339
|
+
export type OAuthAuthStatus = Wire.OAuthAuthStatus;
|
|
343
340
|
/**
|
|
344
341
|
* Response from OAuth authorization endpoint
|
|
345
342
|
*/
|
|
346
|
-
export type OAuthAuthorizeResponse =
|
|
343
|
+
export type OAuthAuthorizeResponse = Wire.OAuthAuthorizeResponse;
|
|
347
344
|
/**
|
|
348
345
|
* Payload for storing the static bearer token of an `auth: 'api_key'` MCP collection.
|
|
349
346
|
* The key is write-only — it is never echoed back by any endpoint.
|
|
350
347
|
*/
|
|
351
|
-
export type SetMcpApiKeyRequest =
|
|
348
|
+
export type SetMcpApiKeyRequest = Wire.SetMcpApiKeyRequest;
|
|
352
349
|
/** Whether an `auth: 'api_key'` MCP collection has a key stored, plus a display-only hint. */
|
|
353
|
-
export type McpApiKeyStatus =
|
|
354
|
-
export type McpOAuthTokenRequest =
|
|
355
|
-
export type McpOAuthTokenResponse =
|
|
356
|
-
export type McpOAuthConnectResponse =
|
|
357
|
-
export type McpOAuthDisconnectResponse =
|
|
350
|
+
export type McpApiKeyStatus = Wire.McpApiKeyStatus;
|
|
351
|
+
export type McpOAuthTokenRequest = Wire.McpOAuthTokenRequest;
|
|
352
|
+
export type McpOAuthTokenResponse = Wire.McpOAuthTokenResponse;
|
|
353
|
+
export type McpOAuthConnectResponse = Wire.McpOAuthConnectResponse;
|
|
354
|
+
export type McpOAuthDisconnectResponse = Wire.McpOAuthDisconnectResponse;
|
|
358
355
|
/**
|
|
359
356
|
* Response from OAuth metadata endpoint
|
|
360
357
|
*/
|
|
361
|
-
export type OAuthMetadataResponse =
|
|
358
|
+
export type OAuthMetadataResponse = Wire.OAuthMetadataResponse;
|
|
362
359
|
/**
|
|
363
360
|
* Configuration entry for an individual app in the CompositeApp shell.
|
|
364
361
|
* References an app installation by name.
|
|
365
362
|
*/
|
|
366
|
-
export type CompositeAppEntry =
|
|
363
|
+
export type CompositeAppEntry = Wire.CompositeAppEntry;
|
|
367
364
|
/**
|
|
368
365
|
* Logo overrides for the CompositeApp shell header.
|
|
369
366
|
* When provided, these URLs replace the default Vertesia logo.
|
|
370
367
|
*/
|
|
371
|
-
export type CompositeAppLogoOverrides =
|
|
368
|
+
export type CompositeAppLogoOverrides = Wire.CompositeAppLogoOverrides;
|
|
372
369
|
/**
|
|
373
370
|
* Message banner overrides for the shell header.
|
|
374
371
|
*/
|
|
375
|
-
export type CompositeAppMessageStyle =
|
|
376
|
-
export type CompositeAppMessageOverrides =
|
|
372
|
+
export type CompositeAppMessageStyle = Wire.CompositeAppMessageStyle;
|
|
373
|
+
export type CompositeAppMessageOverrides = Wire.CompositeAppMessageOverrides;
|
|
377
374
|
/**
|
|
378
375
|
* Switcher visibility overrides for the CompositeApp header.
|
|
379
376
|
*/
|
|
380
|
-
export type CompositeAppSwitchersOverrides =
|
|
377
|
+
export type CompositeAppSwitchersOverrides = Wire.CompositeAppSwitchersOverrides;
|
|
381
378
|
/**
|
|
382
379
|
* Header button visibility overrides for the CompositeApp header.
|
|
383
380
|
*
|
|
@@ -385,7 +382,7 @@ export type CompositeAppSwitchersOverrides = z.infer<typeof CompositeAppSwitcher
|
|
|
385
382
|
* Retained for backward compatibility and to seed the default header menu when no
|
|
386
383
|
* `headerMenu` has been configured yet.
|
|
387
384
|
*/
|
|
388
|
-
export type CompositeAppHeaderOverrides =
|
|
385
|
+
export type CompositeAppHeaderOverrides = Wire.CompositeAppHeaderOverrides;
|
|
389
386
|
/**
|
|
390
387
|
* User menu overrides for the CompositeApp.
|
|
391
388
|
*
|
|
@@ -393,22 +390,22 @@ export type CompositeAppHeaderOverrides = z.infer<typeof CompositeAppHeaderOverr
|
|
|
393
390
|
* Retained for backward compatibility and to seed the default header menu when no
|
|
394
391
|
* `headerMenu` has been configured yet.
|
|
395
392
|
*/
|
|
396
|
-
export type CompositeAppUserMenuOverrides =
|
|
393
|
+
export type CompositeAppUserMenuOverrides = Wire.CompositeAppUserMenuOverrides;
|
|
397
394
|
/**
|
|
398
395
|
* Theme overrides for the CompositeApp.
|
|
399
396
|
*/
|
|
400
|
-
export type CompositeAppThemeOverrides =
|
|
397
|
+
export type CompositeAppThemeOverrides = Wire.CompositeAppThemeOverrides;
|
|
401
398
|
/**
|
|
402
399
|
* Sidebar display overrides for the CompositeApp.
|
|
403
400
|
*/
|
|
404
|
-
export type CompositeAppSidebarOverrides =
|
|
401
|
+
export type CompositeAppSidebarOverrides = Wire.CompositeAppSidebarOverrides;
|
|
405
402
|
/**
|
|
406
403
|
* Card display overrides for the CompositeApp in the App Portal.
|
|
407
404
|
* Similar to AppManifest display properties, but specific to the CompositeApp card.
|
|
408
405
|
* Allows customers to customize the app portal card (not otherwise possible if using a
|
|
409
406
|
* shared, Vertesia-managed manifest across accounts).
|
|
410
407
|
*/
|
|
411
|
-
export type CompositeAppCardOverrides =
|
|
408
|
+
export type CompositeAppCardOverrides = Wire.CompositeAppCardOverrides;
|
|
412
409
|
/**
|
|
413
410
|
* Access control settings for a composite app nav item.
|
|
414
411
|
*
|
|
@@ -416,7 +413,7 @@ export type CompositeAppCardOverrides = z.infer<typeof CompositeAppCardOverrides
|
|
|
416
413
|
* access is granted when the user matches ANY list (OR logic).
|
|
417
414
|
* All empty/absent means visible to everyone. Admin users bypass all checks.
|
|
418
415
|
*/
|
|
419
|
-
export type CompositeAppNavItemPermissions =
|
|
416
|
+
export type CompositeAppNavItemPermissions = Wire.CompositeAppNavItemPermissions;
|
|
420
417
|
/**
|
|
421
418
|
* A navigable item in the sidebar menu.
|
|
422
419
|
* An "app" is just a nav-item with `appName` + `route: "/"` that has children.
|
|
@@ -452,17 +449,17 @@ export interface CompositeAppMenuNavItem {
|
|
|
452
449
|
* A top-level section heading in the sidebar menu.
|
|
453
450
|
* Sections are always at root level and contain nav-items.
|
|
454
451
|
*/
|
|
455
|
-
export type CompositeAppMenuSection =
|
|
456
|
-
export type CompositeAppHomePlugin =
|
|
452
|
+
export type CompositeAppMenuSection = Wire.CompositeAppMenuSection;
|
|
453
|
+
export type CompositeAppHomePlugin = Wire.CompositeAppHomePlugin;
|
|
457
454
|
/**
|
|
458
455
|
* Discriminator for a header item.
|
|
459
456
|
* The four built-ins (`app_portal`, `docs`, `help`, `user_menu`) seed the default
|
|
460
457
|
* header and cannot be deleted (only hidden/customized); `custom` items are fully
|
|
461
458
|
* user-defined buttons.
|
|
462
459
|
*/
|
|
463
|
-
export type CompositeAppHeaderItemKind =
|
|
460
|
+
export type CompositeAppHeaderItemKind = Wire.CompositeAppHeaderItemKind;
|
|
464
461
|
/** Where a header link opens. */
|
|
465
|
-
export type CompositeAppHeaderItemTarget =
|
|
462
|
+
export type CompositeAppHeaderItemTarget = Wire.CompositeAppHeaderItemTarget;
|
|
466
463
|
/**
|
|
467
464
|
* A single button in the CompositeApp header bar.
|
|
468
465
|
*
|
|
@@ -471,16 +468,16 @@ export type CompositeAppHeaderItemTarget = z.infer<typeof CompositeAppHeaderItem
|
|
|
471
468
|
* The `user_menu` item is special — it renders the account dropdown, so its `icon`,
|
|
472
469
|
* `href`, and `target` are ignored.
|
|
473
470
|
*/
|
|
474
|
-
export type CompositeAppHeaderItem =
|
|
471
|
+
export type CompositeAppHeaderItem = Wire.CompositeAppHeaderItem;
|
|
475
472
|
/**
|
|
476
473
|
* CompositeApp shell configuration.
|
|
477
474
|
* This is the main configuration interface for storing CompositeApp settings.
|
|
478
475
|
* Used as the MongoDB model for persisting CompositeApp configurations.
|
|
479
476
|
*/
|
|
480
|
-
export type CompositeAppConfig =
|
|
481
|
-
export type CompositeAppConfigPayload =
|
|
482
|
-
export type ValidateUrlRequest =
|
|
483
|
-
export type ValidateUrlResponse =
|
|
477
|
+
export type CompositeAppConfig = Wire.CompositeAppConfig;
|
|
478
|
+
export type CompositeAppConfigPayload = Wire.CompositeAppConfigPayload;
|
|
479
|
+
export type ValidateUrlRequest = Wire.ValidateUrlRequest;
|
|
480
|
+
export type ValidateUrlResponse = Wire.ValidateUrlResponse;
|
|
484
481
|
/**
|
|
485
482
|
* Result of DELETE /api/v1/apps/:id. With `?confirm=true` the cascade runs and
|
|
486
483
|
* `deleted: true` is set; without it the endpoint returns a dry-run summary so
|
|
@@ -492,21 +489,13 @@ export type ValidateUrlResponse = z.infer<typeof ValidateUrlResponseSchema>;
|
|
|
492
489
|
* the check fails closed, that surfaced as a 500 raised AFTER the app was
|
|
493
490
|
* already deleted. Deriving the type is what keeps the two from drifting again.
|
|
494
491
|
*/
|
|
495
|
-
export type AppDeleteSummary =
|
|
492
|
+
export type AppDeleteSummary = Wire.AppDeleteSummary;
|
|
493
|
+
export type UpdateAppInstallationOAuthApprovalPayload = Wire.UpdateAppInstallationOAuthApprovalPayload;
|
|
496
494
|
|
|
497
495
|
// -----------------------------------------------------------------------------
|
|
498
496
|
// @vertesia/common: data-platform.d.ts
|
|
499
497
|
// -----------------------------------------------------------------------------
|
|
500
|
-
import type
|
|
501
|
-
/**
|
|
502
|
-
* Data Platform Types
|
|
503
|
-
*
|
|
504
|
-
* Types for managing versioned analytical data stores with DuckDB + GCS storage.
|
|
505
|
-
* Supports AI-manageable schemas and multi-table atomic operations.
|
|
506
|
-
*/
|
|
507
|
-
import type { z } from 'zod';
|
|
508
|
-
import type { CreateDashboardPayloadSchema, CreateDashboardSnapshotPayloadSchema, DashboardArchiveResultSchema, DashboardBulkArchiveResultSchema, DashboardBulkDeleteResultSchema, DashboardDataSourceSchema, DashboardElasticsearchDslSchema, DashboardElasticsearchResultMappingSchema, DashboardItemSchema, DashboardLayoutSchema, DashboardPanelPositionSchema, DashboardPanelSchema, DashboardQuerySchema, DashboardSchema, DashboardSqlDataSourceSchema, DashboardStatusSchema, DashboardStoreElasticsearchDataSourceSchema, DashboardVersionItemSchema, DashboardVersioningPayloadSchema, DashboardVersioningStatusResponseSchema, DashboardVersionSchema, PromoteDashboardVersionPayloadSchema, UpdateDashboardPayloadSchema } from './api-schemas/dashboard.js';
|
|
509
|
-
import type { AlterTableOperationSchema, AlterTablePayloadSchema, BatchQueryPayloadSchema, BatchQueryResultItemSchema, BatchQueryResultSchema, CreateDataStorePayloadSchema, CreateSnapshotPayloadSchema, CreateTablePayloadSchema, CreateTablesPayloadSchema, DataColumnForAISchema, DataColumnSchema, DataColumnTypeSchema, DataColumnUpdateSchema, DataForeignKeyForAISchema, DataForeignKeySchema, DataIndexSchema, DataRelationshipForAISchema, DataRelationshipSchema, DataRelationshipTypeSchema, DataSchemaForAISchema, DataSchemaSchema, DataStoreArchiveResultSchema, DataStoreDownloadInfoSchema, DataStoreFullSchemaResponseSchema, DataStoreItemSchema, DataStoreMutateRowsPayloadSchema, DataStoreMutateRowsResultSchema, DataStoreSchema, DataStoreSchemaResponseSchema, DataStoreStatusSchema, DataStoreTableDetailSchema, DataStoreTableDropResultSchema, DataStoreVersionSchema, DataStoreVersionTableStateSchema, DataTableForAISchema, DataTableSchema, DataTableSemanticTypeSchema, DataTableSummarySchema, GetDataStoreTableQuerySchema, ImportDataFormatSchema, ImportDataPayloadSchema, ImportDataSourceSchema, ImportJobSchema, ImportStatusSchema, ImportTableDataSchema, ListDataStoreVersionsQuerySchema, QueryPayloadSchema, QueryResultColumnSchema, QueryResultSchema, QueryValidationErrorSchema, QueryValidationPayloadSchema, QueryValidationResultSchema, SemanticColumnTypeSchema, UpdateSchemaPayloadSchema } from './api-schemas/data-store.js';
|
|
498
|
+
import type * as Wire from './wire-types.generated.js';
|
|
510
499
|
/**
|
|
511
500
|
* Supported column data types for DuckDB tables.
|
|
512
501
|
*/
|
|
@@ -522,7 +511,7 @@ export declare const DataColumnType: {
|
|
|
522
511
|
readonly TIMESTAMP: 'TIMESTAMP';
|
|
523
512
|
readonly JSON: 'JSON';
|
|
524
513
|
};
|
|
525
|
-
export type DataColumnType =
|
|
514
|
+
export type DataColumnType = Wire.DataColumnType;
|
|
526
515
|
/**
|
|
527
516
|
* Semantic types that provide AI agents with context about column meaning.
|
|
528
517
|
*/
|
|
@@ -538,7 +527,7 @@ export declare const SemanticColumnType: {
|
|
|
538
527
|
readonly DATE_ISO: 'date_iso';
|
|
539
528
|
readonly IDENTIFIER: 'identifier';
|
|
540
529
|
};
|
|
541
|
-
export type SemanticColumnType =
|
|
530
|
+
export type SemanticColumnType = Wire.SemanticColumnType;
|
|
542
531
|
/**
|
|
543
532
|
* Mapping from DataColumnType to DuckDB SQL types.
|
|
544
533
|
*/
|
|
@@ -546,40 +535,40 @@ export declare const DATA_COLUMN_TYPE_TO_DUCKDB: Record<DataColumnType, string>;
|
|
|
546
535
|
/**
|
|
547
536
|
* Column definition for a data table.
|
|
548
537
|
*/
|
|
549
|
-
export type DataColumn =
|
|
538
|
+
export type DataColumn = Wire.DataColumn;
|
|
550
539
|
/**
|
|
551
540
|
* Foreign key constraint definition.
|
|
552
541
|
*/
|
|
553
|
-
export type DataForeignKey =
|
|
542
|
+
export type DataForeignKey = Wire.DataForeignKey;
|
|
554
543
|
/**
|
|
555
544
|
* Index definition for a table.
|
|
556
545
|
*/
|
|
557
|
-
export type DataIndex =
|
|
546
|
+
export type DataIndex = Wire.DataIndex;
|
|
558
547
|
/**
|
|
559
548
|
* Semantic type categorization for tables.
|
|
560
549
|
*/
|
|
561
|
-
export type DataTableSemanticType =
|
|
550
|
+
export type DataTableSemanticType = Wire.DataTableSemanticType;
|
|
562
551
|
/**
|
|
563
552
|
* Table definition within a data schema.
|
|
564
553
|
*/
|
|
565
|
-
export type DataTable =
|
|
554
|
+
export type DataTable = Wire.DataTable;
|
|
566
555
|
/**
|
|
567
556
|
* Summary view of a data table (for listings).
|
|
568
557
|
*/
|
|
569
|
-
export type DataTableSummary =
|
|
558
|
+
export type DataTableSummary = Wire.DataTableSummary;
|
|
570
559
|
/**
|
|
571
560
|
* Relationship type between tables.
|
|
572
561
|
*/
|
|
573
|
-
export type DataRelationshipType =
|
|
562
|
+
export type DataRelationshipType = Wire.DataRelationshipType;
|
|
574
563
|
/**
|
|
575
564
|
* Semantic relationship between tables for AI understanding.
|
|
576
565
|
*/
|
|
577
|
-
export type DataRelationship =
|
|
566
|
+
export type DataRelationship = Wire.DataRelationship;
|
|
578
567
|
/**
|
|
579
568
|
* Complete schema definition for a data store.
|
|
580
569
|
*/
|
|
581
|
-
export type DataSchema =
|
|
582
|
-
export type DataStoreFullSchemaResponse =
|
|
570
|
+
export type DataSchema = Wire.DataSchema;
|
|
571
|
+
export type DataStoreFullSchemaResponse = Wire.DataStoreFullSchemaResponse;
|
|
583
572
|
/**
|
|
584
573
|
* Data store lifecycle status.
|
|
585
574
|
*/
|
|
@@ -589,25 +578,25 @@ export declare const DataStoreStatus: {
|
|
|
589
578
|
readonly ERROR: 'error';
|
|
590
579
|
readonly ARCHIVED: 'archived';
|
|
591
580
|
};
|
|
592
|
-
export type DataStoreStatus =
|
|
581
|
+
export type DataStoreStatus = Wire.DataStoreStatus;
|
|
593
582
|
/**
|
|
594
583
|
* Summary view of a data store (for listings).
|
|
595
584
|
*/
|
|
596
|
-
export type DataStoreItem =
|
|
585
|
+
export type DataStoreItem = Wire.DataStoreItem;
|
|
597
586
|
/**
|
|
598
587
|
* Full data store with schema details.
|
|
599
588
|
*/
|
|
600
|
-
export type DataStore =
|
|
589
|
+
export type DataStore = Wire.DataStore;
|
|
601
590
|
/**
|
|
602
591
|
* Table state within a version.
|
|
603
592
|
*/
|
|
604
|
-
export type DataStoreVersionTableState =
|
|
593
|
+
export type DataStoreVersionTableState = Wire.DataStoreVersionTableState;
|
|
605
594
|
/**
|
|
606
595
|
* A point-in-time version of a data store.
|
|
607
596
|
*/
|
|
608
|
-
export type DataStoreVersion =
|
|
609
|
-
export type ListDataStoreVersionsQuery =
|
|
610
|
-
export type GetDataStoreTableQuery =
|
|
597
|
+
export type DataStoreVersion = Wire.DataStoreVersion;
|
|
598
|
+
export type ListDataStoreVersionsQuery = Wire.ListDataStoreVersionsQuery;
|
|
599
|
+
export type GetDataStoreTableQuery = Wire.GetDataStoreTableQuery;
|
|
611
600
|
/**
|
|
612
601
|
* Import job status.
|
|
613
602
|
*/
|
|
@@ -618,40 +607,40 @@ export declare const ImportStatus: {
|
|
|
618
607
|
readonly FAILED: 'failed';
|
|
619
608
|
readonly ROLLED_BACK: 'rolled_back';
|
|
620
609
|
};
|
|
621
|
-
export type ImportStatus =
|
|
610
|
+
export type ImportStatus = Wire.ImportStatus;
|
|
622
611
|
/**
|
|
623
612
|
* Import job tracking.
|
|
624
613
|
*/
|
|
625
|
-
export type ImportJob =
|
|
614
|
+
export type ImportJob = Wire.ImportJob;
|
|
626
615
|
/**
|
|
627
616
|
* Payload for creating a new data store.
|
|
628
617
|
*/
|
|
629
|
-
export type CreateDataStorePayload =
|
|
618
|
+
export type CreateDataStorePayload = Wire.CreateDataStorePayload;
|
|
630
619
|
/**
|
|
631
620
|
* Payload for creating a new table.
|
|
632
621
|
*/
|
|
633
|
-
export type CreateTablePayload =
|
|
622
|
+
export type CreateTablePayload = Wire.CreateTablePayload;
|
|
634
623
|
/**
|
|
635
624
|
* Payload for creating multiple tables atomically.
|
|
636
625
|
*/
|
|
637
|
-
export type CreateTablesPayload =
|
|
638
|
-
export type QueryValidationPayload =
|
|
639
|
-
export type BatchQueryPayload =
|
|
626
|
+
export type CreateTablesPayload = Wire.CreateTablesPayload;
|
|
627
|
+
export type QueryValidationPayload = Wire.QueryValidationPayload;
|
|
628
|
+
export type BatchQueryPayload = Wire.BatchQueryPayload;
|
|
640
629
|
/**
|
|
641
630
|
* Schema change operation types.
|
|
642
631
|
*/
|
|
643
632
|
/**
|
|
644
633
|
* @discriminator op
|
|
645
634
|
*/
|
|
646
|
-
export type AlterTableOperation =
|
|
635
|
+
export type AlterTableOperation = Wire.AlterTableOperation;
|
|
647
636
|
/**
|
|
648
637
|
* Payload for altering a table schema.
|
|
649
638
|
*/
|
|
650
|
-
export type AlterTablePayload =
|
|
639
|
+
export type AlterTablePayload = Wire.AlterTablePayload;
|
|
651
640
|
/**
|
|
652
641
|
* Payload for AI-driven bulk schema updates.
|
|
653
642
|
*/
|
|
654
|
-
export type UpdateSchemaPayload =
|
|
643
|
+
export type UpdateSchemaPayload = Wire.UpdateSchemaPayload;
|
|
655
644
|
/**
|
|
656
645
|
* Data source for import.
|
|
657
646
|
* - 'inline': data provided directly in the payload
|
|
@@ -659,81 +648,81 @@ export type UpdateSchemaPayload = z.infer<typeof UpdateSchemaPayloadSchema>;
|
|
|
659
648
|
* - 'url': data at an HTTPS URL
|
|
660
649
|
* - 'artifact': data from workflow artifact (resolved to GCS by tool)
|
|
661
650
|
*/
|
|
662
|
-
export type ImportDataSource =
|
|
651
|
+
export type ImportDataSource = Wire.ImportDataSource;
|
|
663
652
|
/**
|
|
664
653
|
* Data format for external sources.
|
|
665
654
|
*/
|
|
666
|
-
export type ImportDataFormat =
|
|
655
|
+
export type ImportDataFormat = Wire.ImportDataFormat;
|
|
667
656
|
/**
|
|
668
657
|
* Table data specification for import.
|
|
669
658
|
*/
|
|
670
|
-
export type ImportTableData =
|
|
659
|
+
export type ImportTableData = Wire.ImportTableData;
|
|
671
660
|
/**
|
|
672
661
|
* Payload for importing data into tables.
|
|
673
662
|
*/
|
|
674
|
-
export type ImportDataPayload =
|
|
663
|
+
export type ImportDataPayload = Wire.ImportDataPayload;
|
|
675
664
|
/**
|
|
676
665
|
* Payload for creating a named snapshot.
|
|
677
666
|
*/
|
|
678
|
-
export type CreateSnapshotPayload =
|
|
667
|
+
export type CreateSnapshotPayload = Wire.CreateSnapshotPayload;
|
|
679
668
|
/**
|
|
680
669
|
* Payload for executing a query.
|
|
681
670
|
*/
|
|
682
|
-
export type QueryPayload =
|
|
671
|
+
export type QueryPayload = Wire.QueryPayload;
|
|
683
672
|
/**
|
|
684
673
|
* Payload for mutating data rows with a single SQL statement.
|
|
685
674
|
*/
|
|
686
|
-
export type DataStoreMutateRowsPayload =
|
|
675
|
+
export type DataStoreMutateRowsPayload = Wire.DataStoreMutateRowsPayload;
|
|
687
676
|
/**
|
|
688
677
|
* Result from mutating rows in a data store.
|
|
689
678
|
*/
|
|
690
|
-
export type DataStoreMutateRowsResult =
|
|
679
|
+
export type DataStoreMutateRowsResult = Wire.DataStoreMutateRowsResult;
|
|
691
680
|
/**
|
|
692
681
|
* Column metadata in query results.
|
|
693
682
|
*/
|
|
694
|
-
export type QueryResultColumn =
|
|
683
|
+
export type QueryResultColumn = Wire.QueryResultColumn;
|
|
695
684
|
/**
|
|
696
685
|
* Query execution result.
|
|
697
686
|
*/
|
|
698
|
-
export type QueryResult =
|
|
699
|
-
export type BatchQueryResultItem =
|
|
700
|
-
export type BatchQueryResult =
|
|
701
|
-
export type QueryValidationError =
|
|
702
|
-
export type QueryValidationResult =
|
|
703
|
-
export type DataStoreDownloadInfo =
|
|
704
|
-
export type DataStoreArchiveResult =
|
|
687
|
+
export type QueryResult = Wire.QueryResult;
|
|
688
|
+
export type BatchQueryResultItem = Wire.BatchQueryResultItem;
|
|
689
|
+
export type BatchQueryResult = Wire.BatchQueryResult;
|
|
690
|
+
export type QueryValidationError = Wire.QueryValidationError;
|
|
691
|
+
export type QueryValidationResult = Wire.QueryValidationResult;
|
|
692
|
+
export type DataStoreDownloadInfo = Wire.DataStoreDownloadInfo;
|
|
693
|
+
export type DataStoreArchiveResult = Wire.DataStoreArchiveResult;
|
|
705
694
|
/**
|
|
706
695
|
* @discriminator schema_format
|
|
707
696
|
*/
|
|
708
|
-
export type DataStoreSchemaResponse =
|
|
709
|
-
export type DataStoreTableDetail =
|
|
710
|
-
export type DataStoreTableDropResult =
|
|
711
|
-
export type DashboardArchiveResult =
|
|
712
|
-
export type DashboardBulkArchiveResult =
|
|
713
|
-
export type DashboardBulkDeleteResult =
|
|
714
|
-
export type DashboardVersioningStatusResponse =
|
|
715
|
-
export type DashboardVersioningPayload =
|
|
697
|
+
export type DataStoreSchemaResponse = Wire.DataStoreSchemaResponse;
|
|
698
|
+
export type DataStoreTableDetail = Wire.DataStoreTableDetail;
|
|
699
|
+
export type DataStoreTableDropResult = Wire.DataStoreTableDropResult;
|
|
700
|
+
export type DashboardArchiveResult = Wire.DashboardArchiveResult;
|
|
701
|
+
export type DashboardBulkArchiveResult = Wire.DashboardBulkArchiveResult;
|
|
702
|
+
export type DashboardBulkDeleteResult = Wire.DashboardBulkDeleteResult;
|
|
703
|
+
export type DashboardVersioningStatusResponse = Wire.DashboardVersioningStatusResponse;
|
|
704
|
+
export type DashboardVersioningPayload = Wire.DashboardVersioningPayload;
|
|
716
705
|
/**
|
|
717
706
|
* Simplified column representation for AI agents.
|
|
718
707
|
*/
|
|
719
|
-
export type DataColumnForAI =
|
|
708
|
+
export type DataColumnForAI = Wire.DataColumnForAI;
|
|
720
709
|
/**
|
|
721
710
|
* Simplified foreign key representation for AI agents.
|
|
722
711
|
*/
|
|
723
|
-
export type DataForeignKeyForAI =
|
|
712
|
+
export type DataForeignKeyForAI = Wire.DataForeignKeyForAI;
|
|
724
713
|
/**
|
|
725
714
|
* Simplified table representation for AI agents.
|
|
726
715
|
*/
|
|
727
|
-
export type DataTableForAI =
|
|
716
|
+
export type DataTableForAI = Wire.DataTableForAI;
|
|
728
717
|
/**
|
|
729
718
|
* Simplified relationship representation for AI agents.
|
|
730
719
|
*/
|
|
731
|
-
export type DataRelationshipForAI =
|
|
720
|
+
export type DataRelationshipForAI = Wire.DataRelationshipForAI;
|
|
732
721
|
/**
|
|
733
722
|
* Simplified schema representation optimized for AI agent consumption.
|
|
734
723
|
* Provides semantic context for understanding the data model.
|
|
735
724
|
*/
|
|
736
|
-
export type DataSchemaForAI =
|
|
725
|
+
export type DataSchemaForAI = Wire.DataSchemaForAI;
|
|
737
726
|
/**
|
|
738
727
|
* Version retention configuration.
|
|
739
728
|
*/
|
|
@@ -756,7 +745,7 @@ export declare const DashboardStatus: {
|
|
|
756
745
|
/** Dashboard has been archived (soft deleted) */
|
|
757
746
|
readonly ARCHIVED: 'archived';
|
|
758
747
|
};
|
|
759
|
-
export type DashboardStatus =
|
|
748
|
+
export type DashboardStatus = Wire.DashboardStatus;
|
|
760
749
|
/**
|
|
761
750
|
* Named SQL query that maps to a Vega data source.
|
|
762
751
|
* Supports parameterized SQL with {{param_name}} placeholders.
|
|
@@ -764,26 +753,26 @@ export type DashboardStatus = z.infer<typeof DashboardStatusSchema>;
|
|
|
764
753
|
* @deprecated Use single `query` field on Dashboard instead. Multiple queries
|
|
765
754
|
* prevent cross-panel interactivity. Use JOINs/CTEs in a single query.
|
|
766
755
|
*/
|
|
767
|
-
export type DashboardQuery =
|
|
756
|
+
export type DashboardQuery = Wire.DashboardQuery;
|
|
768
757
|
/**
|
|
769
758
|
* Panel position within the dashboard grid.
|
|
770
759
|
*
|
|
771
760
|
* @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
|
|
772
761
|
*/
|
|
773
|
-
export type DashboardPanelPosition =
|
|
762
|
+
export type DashboardPanelPosition = Wire.DashboardPanelPosition;
|
|
774
763
|
/**
|
|
775
764
|
* Dashboard panel with Vega/Vega-Lite visualization.
|
|
776
765
|
*
|
|
777
766
|
* @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
|
|
778
767
|
* Combined specs enable cross-panel interactivity (selections filtering other panels).
|
|
779
768
|
*/
|
|
780
|
-
export type DashboardPanel =
|
|
769
|
+
export type DashboardPanel = Wire.DashboardPanel;
|
|
781
770
|
/**
|
|
782
771
|
* Dashboard layout configuration.
|
|
783
772
|
*
|
|
784
773
|
* @deprecated Layout is now handled within the Vega-Lite spec via vconcat/hconcat.
|
|
785
774
|
*/
|
|
786
|
-
export type DashboardLayout =
|
|
775
|
+
export type DashboardLayout = Wire.DashboardLayout;
|
|
787
776
|
/**
|
|
788
777
|
* Default layout configuration for dashboards.
|
|
789
778
|
*
|
|
@@ -794,34 +783,34 @@ export declare const DEFAULT_DASHBOARD_LAYOUT: DashboardLayout;
|
|
|
794
783
|
* Elasticsearch DSL supported by dashboard data sources.
|
|
795
784
|
* Queries execute through Vertesia Store, so project/security filtering remains server-side.
|
|
796
785
|
*/
|
|
797
|
-
export type DashboardElasticsearchDsl =
|
|
786
|
+
export type DashboardElasticsearchDsl = Wire.DashboardElasticsearchDsl;
|
|
798
787
|
/**
|
|
799
788
|
* How an Elasticsearch DSL result should be converted into Vega rows.
|
|
800
789
|
*/
|
|
801
|
-
export type DashboardElasticsearchResultMapping =
|
|
790
|
+
export type DashboardElasticsearchResultMapping = Wire.DashboardElasticsearchResultMapping;
|
|
802
791
|
/**
|
|
803
792
|
* Dashboard data source backed by a Data Platform SQL query.
|
|
804
793
|
*/
|
|
805
|
-
export type DashboardSqlDataSource =
|
|
794
|
+
export type DashboardSqlDataSource = Wire.DashboardSqlDataSource;
|
|
806
795
|
/**
|
|
807
796
|
* Dashboard data source backed by Vertesia Store Elasticsearch DSL.
|
|
808
797
|
*/
|
|
809
|
-
export type DashboardStoreElasticsearchDataSource =
|
|
798
|
+
export type DashboardStoreElasticsearchDataSource = Wire.DashboardStoreElasticsearchDataSource;
|
|
810
799
|
/**
|
|
811
800
|
* Data source for a Vega dashboard.
|
|
812
801
|
*/
|
|
813
|
-
export type DashboardDataSource =
|
|
802
|
+
export type DashboardDataSource = Wire.DashboardDataSource;
|
|
814
803
|
/**
|
|
815
804
|
* Dashboard definition contributed by an app package.
|
|
816
805
|
*
|
|
817
806
|
* App dashboard IDs are local to the app. The platform exposes them as
|
|
818
807
|
* `app:<app_name>:<id>` when listing or retrieving dashboards.
|
|
819
808
|
*/
|
|
820
|
-
export type AppDashboardDefinition =
|
|
809
|
+
export type AppDashboardDefinition = Wire.AppDashboardDefinition;
|
|
821
810
|
/**
|
|
822
811
|
* Summary view of a dashboard (for listings).
|
|
823
812
|
*/
|
|
824
|
-
export type DashboardItem =
|
|
813
|
+
export type DashboardItem = Wire.DashboardItem;
|
|
825
814
|
/**
|
|
826
815
|
* Full dashboard with SQL query and Vega-Lite specification.
|
|
827
816
|
*
|
|
@@ -837,16 +826,16 @@ export type DashboardItem = z.infer<typeof DashboardItemSchema>;
|
|
|
837
826
|
* - `layout` for grid positioning
|
|
838
827
|
* - No cross-panel interactivity
|
|
839
828
|
*/
|
|
840
|
-
export type Dashboard =
|
|
829
|
+
export type Dashboard = Wire.Dashboard;
|
|
841
830
|
/**
|
|
842
831
|
* Payload for creating a new dashboard.
|
|
843
832
|
* Requires a data source and spec (Vega-Lite).
|
|
844
833
|
*/
|
|
845
|
-
export type CreateDashboardPayload =
|
|
834
|
+
export type CreateDashboardPayload = Wire.CreateDashboardPayload;
|
|
846
835
|
/**
|
|
847
836
|
* Payload for updating a dashboard.
|
|
848
837
|
*/
|
|
849
|
-
export type UpdateDashboardPayload =
|
|
838
|
+
export type UpdateDashboardPayload = Wire.UpdateDashboardPayload;
|
|
850
839
|
/**
|
|
851
840
|
* Options for rendering a dashboard.
|
|
852
841
|
*/
|
|
@@ -862,53 +851,52 @@ export interface RenderDashboardOptions {
|
|
|
862
851
|
* A point-in-time version of a dashboard.
|
|
863
852
|
* Stores full snapshot inline (no external storage needed for small JSON documents).
|
|
864
853
|
*/
|
|
865
|
-
export type DashboardVersion =
|
|
854
|
+
export type DashboardVersion = Wire.DashboardVersion;
|
|
866
855
|
/**
|
|
867
856
|
* Summary view of a dashboard version (for listings).
|
|
868
857
|
*/
|
|
869
|
-
export type DashboardVersionItem =
|
|
858
|
+
export type DashboardVersionItem = Wire.DashboardVersionItem;
|
|
870
859
|
/**
|
|
871
860
|
* Payload for creating a named snapshot.
|
|
872
861
|
*/
|
|
873
|
-
export type CreateDashboardSnapshotPayload =
|
|
862
|
+
export type CreateDashboardSnapshotPayload = Wire.CreateDashboardSnapshotPayload;
|
|
874
863
|
/**
|
|
875
864
|
* Payload for promoting a version to current.
|
|
876
865
|
*/
|
|
877
|
-
export type PromoteDashboardVersionPayload =
|
|
878
|
-
export type DataColumnUpdate =
|
|
866
|
+
export type PromoteDashboardVersionPayload = Wire.PromoteDashboardVersionPayload;
|
|
867
|
+
export type DataColumnUpdate = Wire.DataColumnUpdate;
|
|
879
868
|
export {};
|
|
880
869
|
|
|
881
870
|
// -----------------------------------------------------------------------------
|
|
882
871
|
// @vertesia/common: interaction.d.ts
|
|
883
872
|
// -----------------------------------------------------------------------------
|
|
884
873
|
import type { CompletionResult, ExecutionTokenUsage, JSONSchema, Modalities, PromptCacheDiagnostic, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
|
|
885
|
-
import type { z } from 'zod';
|
|
886
|
-
import type { AgentResourceActionSchema, AgentResourceReferenceSchema, AgentResourceTypeSchema, AgentRunnerOptionsSchema, AsyncCompletionModeSchema, AsyncCompletionOptionsSchema, AsyncConversationExecutionPayloadSchema, AsyncExecutionPayloadSchema, AsyncExecutionResultSchema, AsyncInteractionExecutionPayloadSchema, CachePolicySchema, CatalogInteractionRefSchema, ConversationStripOptionsSchema, ConversationVisibilitySchema, ExecutionRunInteractionSchema, ExecutionRunRefSchema, ExecutionRunWorkflowSchema, GeneratedInteractionDefinitionSchema, GeneratedInteractionPromptSegmentSchema, GeneratedInteractionPromptTemplateSchema, GeneratedTestDataRecordSchema, GenerateInteractionPayloadSchema, GenerateTestDataPayloadSchema, ImprovePromptPayloadConfigSchema, ImprovePromptPayloadSchema, InCodeInteractionSchema, InCodePromptSchema, InitialToolCallSchema, InteractionCreatePayloadSchema, InteractionEndpointQuerySchema, InteractionEndpointSchema, InteractionExecutionErrorSchema, InteractionExecutionPayloadSchema, InteractionForkPayloadSchema, InteractionNameSchema, InteractionPublishPayloadSchema, InteractionRefSchema, InteractionRefWithSchemaSchema, InteractionSchema, InteractionsExportPayloadSchema, InteractionTagsSchema, InteractionUpdatePayloadSchema, InteractionVisibilitySchema, NamedInteractionExecutionPayloadSchema, PromptImprovementResponseSchema, PromptModalitiesSchema, RateLimitRequestPayloadSchema, RateLimitRequestResponseSchema, ResolvedCatalogInteractionSchema, ResolvedEnvironmentInfoSchema, ResolvedInteractionExecutionInfoSchema, ResolvedRuntimeConfigSchema, ResultStorageOptionsSchema, RunSourceSchema, SchemaRefSchema, SkillContextTriggersSchema, StreamingOptionsSchema, StreamingTelemetryContextSchema, ToolResultMetaSchema, ToolResultSchema, ToolResultsPayloadSchema, UpdateExecutionRunPayloadSchema, UserMessagePayloadSchema } from './api-schemas/interaction.js';
|
|
887
|
-
import type { InteractionExecutionConfigurationSchema } from './api-schemas/store.js';
|
|
888
874
|
import type { ExecutionEnvironmentRef } from './environment.js';
|
|
875
|
+
import type { InferenceProfileSnapshot } from './inference-profile.js';
|
|
889
876
|
import type { ProjectRef } from './project.js';
|
|
890
877
|
import type { PopulatedPromptSegmentDef } from './prompt.js';
|
|
891
878
|
import type { TextArtifactReference } from './store/conversation-state.js';
|
|
892
879
|
import type { AccountRef } from './user.js';
|
|
880
|
+
import type * as Wire from './wire-types.generated.js';
|
|
893
881
|
/**
|
|
894
882
|
* `RunDataStorageLevel` and `ConfigModes` live in `./interaction-values.js` so the API schemas can
|
|
895
883
|
* read them without importing this module back. Re-exported here so every existing import path keeps
|
|
896
884
|
* working.
|
|
897
885
|
*/
|
|
898
886
|
export * from './interaction-values.js';
|
|
899
|
-
export type InteractionExecutionError =
|
|
887
|
+
export type InteractionExecutionError = Wire.InteractionExecutionError;
|
|
900
888
|
/**
|
|
901
889
|
* Configuration for stripping large data from conversation history
|
|
902
890
|
* to prevent JSON serialization issues and reduce storage bloat.
|
|
903
891
|
*/
|
|
904
|
-
export type ConversationStripOptions =
|
|
892
|
+
export type ConversationStripOptions = Wire.ConversationStripOptions;
|
|
905
893
|
/**
|
|
906
894
|
* Reference to an interaction in the catalog.
|
|
907
895
|
* Used in catalog listing. The id is composed of the namespace and the interaction name.
|
|
908
896
|
* Stored interactions can use `oid:` prefix.
|
|
909
897
|
* If no prefix is used it fallback on `oid:`.
|
|
910
898
|
*/
|
|
911
|
-
export type CatalogInteractionRef =
|
|
899
|
+
export type CatalogInteractionRef = Wire.CatalogInteractionRef;
|
|
912
900
|
export interface CatalogTagQuery {
|
|
913
901
|
tag?: string;
|
|
914
902
|
}
|
|
@@ -922,28 +910,23 @@ export interface ExecuteInteractionByEndpointQuery {
|
|
|
922
910
|
export interface ExecuteInteractionByEndpointHeaders {
|
|
923
911
|
'x-interaction-tag'?: string;
|
|
924
912
|
}
|
|
925
|
-
export
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
hasVideo?: boolean;
|
|
930
|
-
}
|
|
931
|
-
export type InCodePrompt = z.infer<typeof InCodePromptSchema>;
|
|
932
|
-
export type InCodeInteraction = z.infer<typeof InCodeInteractionSchema>;
|
|
933
|
-
export type ResolvedCatalogInteraction = z.infer<typeof ResolvedCatalogInteractionSchema>;
|
|
913
|
+
export type ResolveInteractionQuery = Wire.ResolveInteractionQuery;
|
|
914
|
+
export type InCodePrompt = Wire.InCodePrompt;
|
|
915
|
+
export type InCodeInteraction = Wire.InCodeInteraction;
|
|
916
|
+
export type ResolvedCatalogInteraction = Wire.ResolvedCatalogInteraction;
|
|
934
917
|
export type InteractionSpec = Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'>;
|
|
935
918
|
/**
|
|
936
919
|
* The payload to query the interaction endpoints
|
|
937
920
|
*/
|
|
938
|
-
export type InteractionEndpointQuery =
|
|
921
|
+
export type InteractionEndpointQuery = Wire.InteractionEndpointQuery;
|
|
939
922
|
/**
|
|
940
923
|
* A description of an interaction endpoint.
|
|
941
924
|
*/
|
|
942
|
-
export type InteractionEndpoint =
|
|
943
|
-
export type InteractionTags =
|
|
944
|
-
export type InteractionRef =
|
|
925
|
+
export type InteractionEndpoint = Wire.InteractionEndpoint;
|
|
926
|
+
export type InteractionTags = Wire.InteractionTags;
|
|
927
|
+
export type InteractionRef = Wire.InteractionRef;
|
|
945
928
|
/** An interaction reduced to the fields a name picker needs. */
|
|
946
|
-
export type InteractionName =
|
|
929
|
+
export type InteractionName = Wire.InteractionName;
|
|
947
930
|
/**
|
|
948
931
|
* An interaction reference carrying the schemas an export needs to reconstruct it.
|
|
949
932
|
*
|
|
@@ -952,8 +935,8 @@ export type InteractionName = z.infer<typeof InteractionNameSchema>;
|
|
|
952
935
|
* canonical alias — the alias publishes as a bare reference, with no members to omit — and the
|
|
953
936
|
* interface also overstated each prompt template, which an export populates with `inputSchema` alone.
|
|
954
937
|
*/
|
|
955
|
-
export type InteractionRefWithSchema =
|
|
956
|
-
export type InteractionsExportPayload =
|
|
938
|
+
export type InteractionRefWithSchema = Wire.InteractionRefWithSchema;
|
|
939
|
+
export type InteractionsExportPayload = Wire.InteractionsExportPayload;
|
|
957
940
|
export declare enum InteractionStatus {
|
|
958
941
|
draft = "draft",
|
|
959
942
|
published = "published",
|
|
@@ -971,13 +954,13 @@ export declare enum ExecutionRunStatus {
|
|
|
971
954
|
* Schema can be stored or specified as a reference to an external schema.
|
|
972
955
|
* We only support "store:" references for now
|
|
973
956
|
*/
|
|
974
|
-
export type SchemaRef =
|
|
975
|
-
export type CachePolicy =
|
|
976
|
-
export type InteractionVisibility =
|
|
977
|
-
export type Interaction =
|
|
978
|
-
export type InteractionCreatePayload =
|
|
979
|
-
export type InteractionUpdatePayload =
|
|
980
|
-
export type InteractionPublishPayload =
|
|
957
|
+
export type SchemaRef = Wire.SchemaRef;
|
|
958
|
+
export type CachePolicy = Wire.CachePolicy;
|
|
959
|
+
export type InteractionVisibility = Wire.InteractionVisibility;
|
|
960
|
+
export type Interaction = Wire.Interaction;
|
|
961
|
+
export type InteractionCreatePayload = Wire.InteractionCreatePayload;
|
|
962
|
+
export type InteractionUpdatePayload = Wire.InteractionUpdatePayload;
|
|
963
|
+
export type InteractionPublishPayload = Wire.InteractionPublishPayload;
|
|
981
964
|
export interface InteractionDeletePayload {
|
|
982
965
|
/**
|
|
983
966
|
* When true, also delete every interaction in the same family as the target:
|
|
@@ -987,10 +970,10 @@ export interface InteractionDeletePayload {
|
|
|
987
970
|
*/
|
|
988
971
|
cascade?: boolean;
|
|
989
972
|
}
|
|
990
|
-
export type InteractionForkPayload =
|
|
991
|
-
export type InteractionExecutionPayload =
|
|
992
|
-
export type NamedInteractionExecutionPayload =
|
|
993
|
-
export type ConversationVisibility =
|
|
973
|
+
export type InteractionForkPayload = Wire.InteractionForkPayload;
|
|
974
|
+
export type InteractionExecutionPayload = Wire.InteractionExecutionPayload;
|
|
975
|
+
export type NamedInteractionExecutionPayload = Wire.NamedInteractionExecutionPayload;
|
|
976
|
+
export type ConversationVisibility = Wire.ConversationVisibility;
|
|
994
977
|
/**
|
|
995
978
|
* Defines the scope for agent search operations.
|
|
996
979
|
*/
|
|
@@ -1004,63 +987,63 @@ export declare enum AgentSearchScope {
|
|
|
1004
987
|
* Context triggers for auto-injection of skills.
|
|
1005
988
|
* When these conditions match, the skill is automatically injected into the agent context.
|
|
1006
989
|
*/
|
|
1007
|
-
export type SkillContextTriggers =
|
|
990
|
+
export type SkillContextTriggers = Wire.SkillContextTriggers;
|
|
1008
991
|
/**
|
|
1009
992
|
* Configuration options for Agent Runner functionality.
|
|
1010
993
|
* These options control how interactions are exposed and executed in the Agent Runner.
|
|
1011
994
|
*/
|
|
1012
|
-
export type AgentRunnerOptions =
|
|
995
|
+
export type AgentRunnerOptions = Wire.AgentRunnerOptions;
|
|
1013
996
|
export type { EmailChannel, EmailRouteData, InteractiveChannel, UserChannel, } from './email.js';
|
|
1014
997
|
export { isEmailChannel, isInteractiveChannel, } from './email.js';
|
|
1015
998
|
/**
|
|
1016
999
|
* A tool invocation executed before the first model turn of a conversation.
|
|
1017
1000
|
* Results are injected into the initial context so the agent starts with them in hand.
|
|
1018
1001
|
*/
|
|
1019
|
-
export type InitialToolCall =
|
|
1020
|
-
export type AsyncConversationExecutionPayload =
|
|
1021
|
-
export type AsyncInteractionExecutionPayload =
|
|
1002
|
+
export type InitialToolCall = Wire.InitialToolCall;
|
|
1003
|
+
export type AsyncConversationExecutionPayload = Wire.AsyncConversationExecutionPayload;
|
|
1004
|
+
export type AsyncInteractionExecutionPayload = Wire.AsyncInteractionExecutionPayload;
|
|
1022
1005
|
/**
|
|
1023
1006
|
* @discriminator type
|
|
1024
1007
|
*/
|
|
1025
|
-
export type AsyncExecutionPayload =
|
|
1026
|
-
export type AsyncExecutionResult =
|
|
1008
|
+
export type AsyncExecutionPayload = Wire.AsyncExecutionPayload;
|
|
1009
|
+
export type AsyncExecutionResult = Wire.AsyncExecutionResult;
|
|
1027
1010
|
/**
|
|
1028
1011
|
* Telemetry context for streaming mode.
|
|
1029
1012
|
* Contains info not available in current_state needed to send LlmCallEvent.
|
|
1030
1013
|
*/
|
|
1031
|
-
export type StreamingTelemetryContext =
|
|
1014
|
+
export type StreamingTelemetryContext = Wire.StreamingTelemetryContext;
|
|
1032
1015
|
/**
|
|
1033
1016
|
* Options for storing inference results to cloud storage
|
|
1034
1017
|
*/
|
|
1035
|
-
export type ResultStorageOptions =
|
|
1036
|
-
export type AsyncCompletionMode =
|
|
1018
|
+
export type ResultStorageOptions = Wire.ResultStorageOptions;
|
|
1019
|
+
export type AsyncCompletionMode = Wire.AsyncCompletionMode;
|
|
1037
1020
|
/**
|
|
1038
1021
|
* Streaming-specific options (only needed when stream=true)
|
|
1039
1022
|
*/
|
|
1040
|
-
export type StreamingOptions =
|
|
1023
|
+
export type StreamingOptions = Wire.StreamingOptions;
|
|
1041
1024
|
/**
|
|
1042
1025
|
* Options for async completion and/or streaming LLM responses
|
|
1043
1026
|
*/
|
|
1044
|
-
export type AsyncCompletionOptions =
|
|
1027
|
+
export type AsyncCompletionOptions = Wire.AsyncCompletionOptions;
|
|
1045
1028
|
/**
|
|
1046
1029
|
* The kinds of Vertesia resource an agent tool can report having created, updated, or deleted.
|
|
1047
1030
|
* Restricted to resources that have a real detail route to navigate to — do not emit a reference
|
|
1048
1031
|
* for a mutation with no meaningful navigation target. Add new kinds only once their route exists.
|
|
1049
1032
|
*/
|
|
1050
|
-
export type AgentResourceType =
|
|
1051
|
-
export type AgentResourceAction =
|
|
1033
|
+
export type AgentResourceType = Wire.AgentResourceType;
|
|
1034
|
+
export type AgentResourceAction = Wire.AgentResourceAction;
|
|
1052
1035
|
/**
|
|
1053
1036
|
* A navigable reference to a resource an agent tool mutated. Tools return these as tool-result
|
|
1054
1037
|
* metadata (see {@link ToolResultMeta.resources}); the conversation runtime promotes them onto the
|
|
1055
1038
|
* tool's completed lifecycle message so the UI can render deterministic deep links and an
|
|
1056
1039
|
* end-of-turn "resources changed" summary — independent of any link the model writes in prose.
|
|
1057
1040
|
*/
|
|
1058
|
-
export type AgentResourceReference =
|
|
1041
|
+
export type AgentResourceReference = Wire.AgentResourceReference;
|
|
1059
1042
|
/**
|
|
1060
1043
|
* Metadata a tool executor may attach to its result. Kept as an open record for forward
|
|
1061
1044
|
* compatibility while typing the fields the runtime interprets.
|
|
1062
1045
|
*/
|
|
1063
|
-
export type ToolResultMeta =
|
|
1046
|
+
export type ToolResultMeta = Wire.ToolResultMeta;
|
|
1064
1047
|
export interface ToolResultContent {
|
|
1065
1048
|
content: string;
|
|
1066
1049
|
/**
|
|
@@ -1088,12 +1071,12 @@ export interface ToolResultContent {
|
|
|
1088
1071
|
* rather than throwing, and an empty/absent label falls back to the id.
|
|
1089
1072
|
*/
|
|
1090
1073
|
export declare function normalizeAgentResources(value: unknown): AgentResourceReference[];
|
|
1091
|
-
export type ToolResult =
|
|
1074
|
+
export type ToolResult = Wire.ToolResult;
|
|
1092
1075
|
/**
|
|
1093
1076
|
* The payload to sent the tool responses back to the target LLM
|
|
1094
1077
|
*/
|
|
1095
|
-
export type ToolResultsPayload =
|
|
1096
|
-
export type UserMessagePayload =
|
|
1078
|
+
export type ToolResultsPayload = Wire.ToolResultsPayload;
|
|
1079
|
+
export type UserMessagePayload = Wire.UserMessagePayload;
|
|
1097
1080
|
export declare enum RunSourceTypes {
|
|
1098
1081
|
api = "api",
|
|
1099
1082
|
cli = "cli",
|
|
@@ -1103,8 +1086,8 @@ export declare enum RunSourceTypes {
|
|
|
1103
1086
|
system = "system",
|
|
1104
1087
|
schedule = "schedule"
|
|
1105
1088
|
}
|
|
1106
|
-
export type RunSource =
|
|
1107
|
-
export type ExecutionRunInteraction =
|
|
1089
|
+
export type RunSource = Wire.RunSource;
|
|
1090
|
+
export type ExecutionRunInteraction = Wire.ExecutionRunInteraction;
|
|
1108
1091
|
export interface BaseExecutionRun<P = unknown> {
|
|
1109
1092
|
readonly id: string;
|
|
1110
1093
|
/**
|
|
@@ -1144,6 +1127,7 @@ export interface BaseExecutionRun<P = unknown> {
|
|
|
1144
1127
|
account: AccountRef;
|
|
1145
1128
|
project: ProjectRef;
|
|
1146
1129
|
config: InteractionExecutionConfiguration;
|
|
1130
|
+
inference_profile?: InferenceProfileSnapshot;
|
|
1147
1131
|
error?: InteractionExecutionError;
|
|
1148
1132
|
source: RunSource;
|
|
1149
1133
|
/**
|
|
@@ -1167,8 +1151,8 @@ export interface ExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
|
1167
1151
|
export interface PopulatedExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
1168
1152
|
interaction?: ExecutionRunInteraction;
|
|
1169
1153
|
}
|
|
1170
|
-
export type ExecutionRunWorkflow =
|
|
1171
|
-
export type PromptModalities =
|
|
1154
|
+
export type ExecutionRunWorkflow = Wire.ExecutionRunWorkflow;
|
|
1155
|
+
export type PromptModalities = Wire.PromptModalities;
|
|
1172
1156
|
export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionRun<P>, 'account' | 'project' | 'interaction'> {
|
|
1173
1157
|
account: string;
|
|
1174
1158
|
project: string;
|
|
@@ -1177,19 +1161,19 @@ export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionR
|
|
|
1177
1161
|
conversation?: unknown;
|
|
1178
1162
|
options?: StatelessExecutionOptions;
|
|
1179
1163
|
}
|
|
1180
|
-
export type ExecutionRunRef =
|
|
1181
|
-
export type InteractionExecutionConfiguration =
|
|
1182
|
-
export type GenerateInteractionPayload =
|
|
1183
|
-
export type GenerateTestDataPayload =
|
|
1184
|
-
export type GeneratedTestDataRecord =
|
|
1185
|
-
export type ImprovePromptPayloadConfig =
|
|
1186
|
-
export type ImprovePromptPayload =
|
|
1187
|
-
export type GeneratedInteractionPromptTemplate =
|
|
1188
|
-
export type GeneratedInteractionPromptSegment =
|
|
1189
|
-
export type GeneratedInteractionDefinition =
|
|
1190
|
-
export type PromptImprovementResponse =
|
|
1191
|
-
export type RateLimitRequestPayload =
|
|
1192
|
-
export type RateLimitRequestResponse =
|
|
1164
|
+
export type ExecutionRunRef = Wire.ExecutionRunRef;
|
|
1165
|
+
export type InteractionExecutionConfiguration = Wire.InteractionExecutionConfiguration;
|
|
1166
|
+
export type GenerateInteractionPayload = Wire.GenerateInteractionPayload;
|
|
1167
|
+
export type GenerateTestDataPayload = Wire.GenerateTestDataPayload;
|
|
1168
|
+
export type GeneratedTestDataRecord = Wire.GeneratedTestDataRecord;
|
|
1169
|
+
export type ImprovePromptPayloadConfig = Wire.ImprovePromptPayloadConfig;
|
|
1170
|
+
export type ImprovePromptPayload = Wire.ImprovePromptPayload;
|
|
1171
|
+
export type GeneratedInteractionPromptTemplate = Wire.GeneratedInteractionPromptTemplate;
|
|
1172
|
+
export type GeneratedInteractionPromptSegment = Wire.GeneratedInteractionPromptSegment;
|
|
1173
|
+
export type GeneratedInteractionDefinition = Wire.GeneratedInteractionDefinition;
|
|
1174
|
+
export type PromptImprovementResponse = Wire.PromptImprovementResponse;
|
|
1175
|
+
export type RateLimitRequestPayload = Wire.RateLimitRequestPayload;
|
|
1176
|
+
export type RateLimitRequestResponse = Wire.RateLimitRequestResponse;
|
|
1193
1177
|
/**
|
|
1194
1178
|
* Source of the resolved model configuration
|
|
1195
1179
|
*/
|
|
@@ -1212,29 +1196,27 @@ export declare enum ModelSource {
|
|
|
1212
1196
|
/**
|
|
1213
1197
|
* Resolved environment information
|
|
1214
1198
|
*/
|
|
1215
|
-
export type ResolvedEnvironmentInfo =
|
|
1199
|
+
export type ResolvedEnvironmentInfo = Wire.ResolvedEnvironmentInfo;
|
|
1216
1200
|
/**
|
|
1217
1201
|
* Resolved runtime configuration for an interaction
|
|
1218
1202
|
*/
|
|
1219
|
-
export type ResolvedRuntimeConfig =
|
|
1203
|
+
export type ResolvedRuntimeConfig = Wire.ResolvedRuntimeConfig;
|
|
1220
1204
|
/**
|
|
1221
1205
|
* Resolved execution info for an interaction.
|
|
1222
1206
|
* Contains the interaction ID, basic metadata, and the resolved runtime configuration
|
|
1223
1207
|
* (environment, model) that would be used at execution time.
|
|
1224
1208
|
*/
|
|
1225
|
-
export type ResolvedInteractionExecutionInfo =
|
|
1209
|
+
export type ResolvedInteractionExecutionInfo = Wire.ResolvedInteractionExecutionInfo;
|
|
1226
1210
|
export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
|
|
1227
1211
|
prompts: PopulatedPromptSegmentDef[];
|
|
1228
1212
|
}
|
|
1229
|
-
export type UpdateExecutionRunPayload =
|
|
1213
|
+
export type UpdateExecutionRunPayload = Wire.UpdateExecutionRunPayload;
|
|
1230
1214
|
|
|
1231
1215
|
// -----------------------------------------------------------------------------
|
|
1232
1216
|
// @vertesia/common: prompt.d.ts
|
|
1233
1217
|
// -----------------------------------------------------------------------------
|
|
1234
1218
|
import type { JSONSchema, PromptRole } from '@llumiverse/common';
|
|
1235
|
-
import type
|
|
1236
|
-
import type { ExportedPromptTemplateRefSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema } from './api-schemas/interaction.js';
|
|
1237
|
-
import type { PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, RenderPromptPayloadSchema, RenderPromptResponseSchema } from './api-schemas/prompt.js';
|
|
1219
|
+
import type * as Wire from './wire-types.generated.js';
|
|
1238
1220
|
export interface ChatPromptSchema {
|
|
1239
1221
|
role: PromptRole.user | PromptRole.assistant;
|
|
1240
1222
|
content: string;
|
|
@@ -1263,7 +1245,7 @@ export interface PopulatedPromptSegmentDef extends Omit<PromptSegmentDef, 'templ
|
|
|
1263
1245
|
export interface ExecutablePromptSegmentDef extends Omit<PromptSegmentDef, 'template'> {
|
|
1264
1246
|
template?: ExecutablePromptTemplate;
|
|
1265
1247
|
}
|
|
1266
|
-
export type PromptTemplateRef =
|
|
1248
|
+
export type PromptTemplateRef = Wire.PromptTemplateRef;
|
|
1267
1249
|
export declare enum TemplateType {
|
|
1268
1250
|
jst = "jst",
|
|
1269
1251
|
handlebars = "handlebars",
|
|
@@ -1275,35 +1257,31 @@ export interface ExecutablePromptTemplate {
|
|
|
1275
1257
|
content_type: TemplateType;
|
|
1276
1258
|
inputSchema?: JSONSchema;
|
|
1277
1259
|
}
|
|
1278
|
-
export type PromptTemplate =
|
|
1279
|
-
export type InteractionPromptTemplateInput =
|
|
1280
|
-
export type InteractionPromptSegmentInput =
|
|
1281
|
-
export type PromptTemplateForkPayload =
|
|
1282
|
-
export type PromptTemplateCreatePayload =
|
|
1283
|
-
export type PromptTemplateUpdatePayload =
|
|
1284
|
-
export type PromptTemplateInteractionVersion =
|
|
1285
|
-
export type PromptTemplateInteractionUsage =
|
|
1286
|
-
export type PromptTemplateInteractionsResponse =
|
|
1287
|
-
export type RenderPromptPayload =
|
|
1260
|
+
export type PromptTemplate = Wire.PromptTemplate;
|
|
1261
|
+
export type InteractionPromptTemplateInput = Wire.InteractionPromptTemplateInput;
|
|
1262
|
+
export type InteractionPromptSegmentInput = Wire.InteractionPromptSegmentInput;
|
|
1263
|
+
export type PromptTemplateForkPayload = Wire.PromptTemplateForkPayload;
|
|
1264
|
+
export type PromptTemplateCreatePayload = Wire.PromptTemplateCreatePayload;
|
|
1265
|
+
export type PromptTemplateUpdatePayload = Wire.PromptTemplateUpdatePayload;
|
|
1266
|
+
export type PromptTemplateInteractionVersion = Wire.PromptTemplateInteractionVersion;
|
|
1267
|
+
export type PromptTemplateInteractionUsage = Wire.PromptTemplateInteractionUsage;
|
|
1268
|
+
export type PromptTemplateInteractionsResponse = Wire.PromptTemplateInteractionsResponse;
|
|
1269
|
+
export type RenderPromptPayload = Wire.RenderPromptPayload;
|
|
1288
1270
|
/**
|
|
1289
1271
|
* What `POST /prompts/:id/render` answers with: the segment identity plus the rendered body.
|
|
1290
1272
|
*
|
|
1291
1273
|
* Stated here for the first time — the endpoint declared its response inline, so there has never
|
|
1292
1274
|
* been a name for it on either side of the wire.
|
|
1293
1275
|
*/
|
|
1294
|
-
export type RenderPromptResponse =
|
|
1295
|
-
export type ExportedPromptTemplateRef =
|
|
1276
|
+
export type RenderPromptResponse = Wire.RenderPromptResponse;
|
|
1277
|
+
export type ExportedPromptTemplateRef = Wire.ExportedPromptTemplateRef;
|
|
1296
1278
|
|
|
1297
1279
|
// -----------------------------------------------------------------------------
|
|
1298
1280
|
// @vertesia/common: project.d.ts
|
|
1299
1281
|
// -----------------------------------------------------------------------------
|
|
1300
|
-
import type {
|
|
1301
|
-
import type { ProjectRefSchema } from './api-schemas/apikey.js';
|
|
1302
|
-
import type { EmbeddingsStatusResponseSchema, ProjectConfigurationEmbeddingEnablePayloadSchema } from './api-schemas/embeddings.js';
|
|
1303
|
-
import type { DriftAnalysisProgressSchema, DriftAnalysisResultSchema, DriftAnalysisStatusResponseSchema, IndexingStatusResponseSchema, ReindexAgentRunsPayloadSchema, ReindexAgentRunsResponseSchema, StartProjectReindexPayloadSchema } from './api-schemas/indexing.js';
|
|
1304
|
-
import type { CreateProjectPayloadFromSchema, ListProjectsQuerySchema, ProjectIntegrationListEntrySchema, ProjectIntegrationListResponseSchema, ProjectPluginsUpdatePayloadSchema, ProjectSchema, ProjectTagQuerySchema, UpdateProjectConfigurationPayloadSchema, UpdateProjectPayloadSchema } from './api-schemas/project.js';
|
|
1305
|
-
import type { AgentCheckpointConfigurationSchema, AgentProjectConfigurationSchema, BrowserUseProjectConfigurationSchema, BrowserUseRiskPolicySchema, BrowserUseScreenshotCaptureSchema, ElasticsearchBackendSchema, IntakeVisionProfileSettingsUpdateSchema, ModalityDefaultsSchema, ModelDefaultSchema, ProjectConfigurationEmbeddingSchema, ProjectConfigurationSchema, ProjectIndexingConfigurationSchema, ProjectIntakeConfigurationSchema, ProjectIntakeSniffConfigurationSchema, ProjectModelDefaultsSchema, ProjectSearchPropertyMappingSchema, ProjectSearchPropertyTypeSchema, ProjectSearchTierSchema, SystemDefaultsSchema } from './api-schemas/project-configuration.js';
|
|
1282
|
+
import type { CreateProjectPayloadFromSchema } from './api-schemas/project.js';
|
|
1306
1283
|
import type { AccountRef } from './user.js';
|
|
1284
|
+
import type * as Wire from './wire-types.generated.js';
|
|
1307
1285
|
/**
|
|
1308
1286
|
* `SystemRoles` lives in `./project-values.js` so the API schemas can read it without importing this
|
|
1309
1287
|
* module back. Re-exported here so every existing import path keeps working.
|
|
@@ -1315,11 +1293,11 @@ export interface PopulatedProjectRef {
|
|
|
1315
1293
|
name: string;
|
|
1316
1294
|
account: AccountRef;
|
|
1317
1295
|
}
|
|
1318
|
-
export type ProjectRef =
|
|
1319
|
-
export type ProjectTagQuery =
|
|
1320
|
-
export type ListProjectsQuery =
|
|
1321
|
-
export type ModelDefault =
|
|
1322
|
-
export type ModalityDefaults =
|
|
1296
|
+
export type ProjectRef = Wire.ProjectRef;
|
|
1297
|
+
export type ProjectTagQuery = Wire.ProjectTagQuery;
|
|
1298
|
+
export type ListProjectsQuery = Wire.ListProjectsQuery;
|
|
1299
|
+
export type ModelDefault = Wire.ModelDefault;
|
|
1300
|
+
export type ModalityDefaults = Wire.ModalityDefaults;
|
|
1323
1301
|
/**
|
|
1324
1302
|
* System interaction category enum.
|
|
1325
1303
|
* Categories group one or more system interactions for default model assignment.
|
|
@@ -1342,10 +1320,10 @@ export declare const SYSTEM_INTERACTION_CATEGORIES: Record<string, SystemInterac
|
|
|
1342
1320
|
* asserts that its keys are exactly the category union — a new category has to be added in both
|
|
1343
1321
|
* places, and fails to compile until it is.
|
|
1344
1322
|
*/
|
|
1345
|
-
export type SystemDefaults =
|
|
1346
|
-
export type ProjectModelDefaults =
|
|
1347
|
-
export type BrowserUseRiskPolicy =
|
|
1348
|
-
export type BrowserUseScreenshotCapture =
|
|
1323
|
+
export type SystemDefaults = Wire.SystemDefaults;
|
|
1324
|
+
export type ProjectModelDefaults = Wire.ProjectModelDefaults;
|
|
1325
|
+
export type BrowserUseRiskPolicy = Wire.BrowserUseRiskPolicy;
|
|
1326
|
+
export type BrowserUseScreenshotCapture = Wire.BrowserUseScreenshotCapture;
|
|
1349
1327
|
/**
|
|
1350
1328
|
* Project defaults and caps for `browser_use` agent workstreams.
|
|
1351
1329
|
*
|
|
@@ -1353,17 +1331,18 @@ export type BrowserUseScreenshotCapture = z.infer<typeof BrowserUseScreenshotCap
|
|
|
1353
1331
|
* interface. Nothing read it, and its descriptions had already drifted from the TSDoc the published
|
|
1354
1332
|
* component was derived from — the schema module is now the only statement of the shape.
|
|
1355
1333
|
*/
|
|
1356
|
-
export type BrowserUseProjectConfiguration =
|
|
1357
|
-
export type ProjectSearchTier =
|
|
1358
|
-
export type ElasticsearchBackend =
|
|
1359
|
-
export type ProjectIntakeSniffConfiguration =
|
|
1360
|
-
export type ProjectIntakeConfiguration =
|
|
1361
|
-
export type ProjectConfiguration =
|
|
1362
|
-
export type AgentProjectConfiguration =
|
|
1363
|
-
export type AgentCheckpointConfiguration =
|
|
1364
|
-
export type
|
|
1365
|
-
export type
|
|
1366
|
-
export type
|
|
1334
|
+
export type BrowserUseProjectConfiguration = Wire.BrowserUseProjectConfiguration;
|
|
1335
|
+
export type ProjectSearchTier = Wire.ProjectSearchTier;
|
|
1336
|
+
export type ElasticsearchBackend = Wire.ElasticsearchBackend;
|
|
1337
|
+
export type ProjectIntakeSniffConfiguration = Wire.ProjectIntakeSniffConfiguration;
|
|
1338
|
+
export type ProjectIntakeConfiguration = Wire.ProjectIntakeConfiguration;
|
|
1339
|
+
export type ProjectConfiguration = Wire.ProjectConfiguration;
|
|
1340
|
+
export type AgentProjectConfiguration = Wire.AgentProjectConfiguration;
|
|
1341
|
+
export type AgentCheckpointConfiguration = Wire.AgentCheckpointConfiguration;
|
|
1342
|
+
export type AgentBudgetConfiguration = Wire.AgentBudgetConfiguration;
|
|
1343
|
+
export type ProjectSearchPropertyType = Wire.ProjectSearchPropertyType;
|
|
1344
|
+
export type ProjectSearchPropertyMapping = Wire.ProjectSearchPropertyMapping;
|
|
1345
|
+
export type ProjectIndexingConfiguration = Wire.ProjectIndexingConfiguration;
|
|
1367
1346
|
export declare enum SupportedEmbeddingTypes {
|
|
1368
1347
|
text = "text",
|
|
1369
1348
|
image = "image",
|
|
@@ -1379,19 +1358,19 @@ export declare const SearchTypes: {
|
|
|
1379
1358
|
readonly properties: SupportedEmbeddingTypes.properties;
|
|
1380
1359
|
readonly full_text: FullTextType.full_text;
|
|
1381
1360
|
};
|
|
1382
|
-
export type ProjectConfigurationEmbedding =
|
|
1383
|
-
export type ProjectConfigurationEmbeddingEnablePayload =
|
|
1384
|
-
export type Project =
|
|
1385
|
-
export type ProjectPluginsUpdatePayload =
|
|
1361
|
+
export type ProjectConfigurationEmbedding = Wire.ProjectConfigurationEmbedding;
|
|
1362
|
+
export type ProjectConfigurationEmbeddingEnablePayload = Wire.ProjectConfigurationEmbeddingEnablePayload;
|
|
1363
|
+
export type Project = Wire.Project;
|
|
1364
|
+
export type ProjectPluginsUpdatePayload = Wire.ProjectPluginsUpdatePayload;
|
|
1386
1365
|
export declare const ProjectRefPopulate = "id name account";
|
|
1387
|
-
export type EmbeddingsStatusResponse =
|
|
1366
|
+
export type EmbeddingsStatusResponse = Wire.EmbeddingsStatusResponse;
|
|
1388
1367
|
/**
|
|
1389
1368
|
* Response from indexing status endpoint
|
|
1390
1369
|
*/
|
|
1391
|
-
export type IndexingStatusResponse =
|
|
1392
|
-
export type StartProjectReindexPayload =
|
|
1393
|
-
export type ReindexAgentRunsPayload =
|
|
1394
|
-
export type ReindexAgentRunsResponse =
|
|
1370
|
+
export type IndexingStatusResponse = Wire.IndexingStatusResponse;
|
|
1371
|
+
export type StartProjectReindexPayload = Wire.StartProjectReindexPayload;
|
|
1372
|
+
export type ReindexAgentRunsPayload = Wire.ReindexAgentRunsPayload;
|
|
1373
|
+
export type ReindexAgentRunsResponse = Wire.ReindexAgentRunsResponse;
|
|
1395
1374
|
/**
|
|
1396
1375
|
* Indexed (`_source`) shape of the content type ref. Unlike the public
|
|
1397
1376
|
* ContentObjectTypeRef discriminated union, the index stores BOTH kinds under
|
|
@@ -1576,6 +1555,8 @@ export interface SwapAliasRequest {
|
|
|
1576
1555
|
backend?: ElasticsearchBackend;
|
|
1577
1556
|
/** ES alias name. If not provided, the Go service derives it from the tenant ID. */
|
|
1578
1557
|
alias?: string;
|
|
1558
|
+
/** Delete superseded versioned indices after the target has been validated. */
|
|
1559
|
+
cleanup?: boolean;
|
|
1579
1560
|
}
|
|
1580
1561
|
export interface SwapAliasResult {
|
|
1581
1562
|
status: string;
|
|
@@ -1734,38 +1715,37 @@ export interface AnalyzeDriftBatchResult {
|
|
|
1734
1715
|
sample_missing_ids: string[];
|
|
1735
1716
|
sample_stale_ids: string[];
|
|
1736
1717
|
}
|
|
1737
|
-
export type DriftAnalysisProgress =
|
|
1738
|
-
export type DriftAnalysisResult =
|
|
1739
|
-
export type DriftAnalysisStatusResponse =
|
|
1740
|
-
export type ProjectIntegrationListEntry =
|
|
1741
|
-
export type ProjectIntegrationListResponse =
|
|
1742
|
-
export type UpdateProjectPayload =
|
|
1743
|
-
export type UpdateProjectConfigurationPayload =
|
|
1744
|
-
export type IntakeVisionProfileSettingsUpdate =
|
|
1718
|
+
export type DriftAnalysisProgress = Wire.DriftAnalysisProgress;
|
|
1719
|
+
export type DriftAnalysisResult = Wire.DriftAnalysisResult;
|
|
1720
|
+
export type DriftAnalysisStatusResponse = Wire.DriftAnalysisStatusResponse;
|
|
1721
|
+
export type ProjectIntegrationListEntry = Wire.ProjectIntegrationListEntry;
|
|
1722
|
+
export type ProjectIntegrationListResponse = Wire.ProjectIntegrationListResponse;
|
|
1723
|
+
export type UpdateProjectPayload = Wire.UpdateProjectPayload;
|
|
1724
|
+
export type UpdateProjectConfigurationPayload = Wire.UpdateProjectConfigurationPayload;
|
|
1725
|
+
export type IntakeVisionProfileSettingsUpdate = Wire.IntakeVisionProfileSettingsUpdate;
|
|
1745
1726
|
|
|
1746
1727
|
// -----------------------------------------------------------------------------
|
|
1747
1728
|
// @vertesia/common: runs.d.ts
|
|
1748
1729
|
// -----------------------------------------------------------------------------
|
|
1749
|
-
import type
|
|
1750
|
-
import type { ComputeRunFacetsResponseSchema, ExecutionRunDocRefSchema, FindRunResultArraySchema, FindRunResultSchema, PopulatedExecutionRunResultSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunSearchMetaResponseSchema } from './api-schemas/interaction.js';
|
|
1730
|
+
import type * as Wire from './wire-types.generated.js';
|
|
1751
1731
|
/**
|
|
1752
1732
|
* The run ref is used to identify a run document in the storage
|
|
1753
1733
|
*/
|
|
1754
|
-
export type ExecutionRunDocRef =
|
|
1755
|
-
export type FindRunResult =
|
|
1756
|
-
export type FindRunResultArray =
|
|
1757
|
-
export type PopulatedExecutionRunResult =
|
|
1734
|
+
export type ExecutionRunDocRef = Wire.ExecutionRunDocRef;
|
|
1735
|
+
export type FindRunResult = Wire.FindRunResult;
|
|
1736
|
+
export type FindRunResultArray = Wire.FindRunResultArray;
|
|
1737
|
+
export type PopulatedExecutionRunResult = Wire.PopulatedExecutionRunResult;
|
|
1758
1738
|
/**
|
|
1759
1739
|
* Interaction execution payload for creating a new run
|
|
1760
1740
|
* It uses interaction field (from NamedInteractionExecutionPayload) to pass the interaction ID to run
|
|
1761
1741
|
*/
|
|
1762
|
-
export type RunCreatePayload =
|
|
1742
|
+
export type RunCreatePayload = Wire.RunCreatePayload;
|
|
1763
1743
|
/**
|
|
1764
1744
|
* Payload for cloning an existing ExecutionRun.
|
|
1765
1745
|
* Creates a new run document with the same interaction/config but fresh status.
|
|
1766
1746
|
* Used by fork flows to create a new ExecutionRun for the forked workflow.
|
|
1767
1747
|
*/
|
|
1768
|
-
export type RunClonePayload =
|
|
1748
|
+
export type RunClonePayload = Wire.RunClonePayload;
|
|
1769
1749
|
/**
|
|
1770
1750
|
* To be used as a value for a numeric or date filters
|
|
1771
1751
|
*/
|
|
@@ -1775,8 +1755,8 @@ export interface RangeValue {
|
|
|
1775
1755
|
lt?: number | string;
|
|
1776
1756
|
lte?: number | string;
|
|
1777
1757
|
}
|
|
1778
|
-
export type RunSearchMetaResponse =
|
|
1779
|
-
export type ComputeRunFacetsResponse =
|
|
1758
|
+
export type RunSearchMetaResponse = Wire.RunSearchMetaResponse;
|
|
1759
|
+
export type ComputeRunFacetsResponse = Wire.ComputeRunFacetsResponse;
|
|
1780
1760
|
|
|
1781
1761
|
// -----------------------------------------------------------------------------
|
|
1782
1762
|
// @vertesia/common: skill.d.ts
|
|
@@ -1850,15 +1830,9 @@ export interface InjectedSkill {
|
|
|
1850
1830
|
// -----------------------------------------------------------------------------
|
|
1851
1831
|
// @vertesia/common: store/store.d.ts
|
|
1852
1832
|
// -----------------------------------------------------------------------------
|
|
1853
|
-
import type { z } from 'zod';
|
|
1854
|
-
import type { ContentObjectTypeRefSchema, InCodeTypeRefSchema, StoredTypeRefSchema } from '../api-schemas/app-lifecycle.js';
|
|
1855
|
-
import type { ComplexSearchPayloadSchema, ContentObjectApiResponseSchema, ContentObjectApiRevisionSchema, ContentObjectApiTypeRefSchema, ContentObjectExportArtifactFileSchema, ContentObjectExportArtifactSchema, ContentObjectExportProgressSchema, ContentObjectExportResultSchema, ContentObjectExportStatusResponseSchema, ContentObjectItemApiResponseSchema, ContentObjectTextResponseSchema, ContentObjectUserPermissionsSchema, ContentSourceSchema, CreateContentObjectHeadersSchema, CreateContentObjectPayloadSchema, CreateContentObjectQuerySchema, DeleteContentObjectExportResponseSchema, DeleteContentObjectResultSchema, EmbeddingSchema, ExportContentObjectsFilterSchema, ExportContentObjectsIncludeOptionsSchema, GenerationRunMetadataSchema, GetObjectRenditionQuerySchema, GetRenditionResponseSchema, InheritedPropertyMetadataSchema, ListContentObjectExportsResponseSchema, ObjectSearchResponseSchema, ProjectedContentObjectApiResponseSchema, RevisionInfoSchema, SetObjectEmbeddingsResponseSchema, StartContentObjectExportRequestSchema, StartContentObjectExportResponseSchema, TranscriptSchema, TranscriptSegmentSchema, UpdateContentObjectHeadersSchema, UpdateContentObjectPayloadSchema, UpdateContentObjectQuerySchema } from '../api-schemas/content.js';
|
|
1856
|
-
import type { MarkdownRenditionFormatSchema } from '../api-schemas/document-processing.js';
|
|
1857
|
-
import type { CreateWorkflowRulePayloadSchema, UpdateWorkflowRulePayloadSchema, WorkflowRuleItemSchema, WorkflowRuleSchema } from '../api-schemas/events.js';
|
|
1858
|
-
import type { BucketCreateAccessStatusResponseSchema, BucketReadAccessStatusResponseSchema, BulkUploadUrlsPayloadSchema, BulkUploadUrlsResponseSchema, CopyFilePayloadSchema, CopyFileResponseSchema, DeleteFileResultSchema, EnsureBucketCreateAccessPayloadSchema, EnsureBucketCreateAccessResponseSchema, EnsureBucketReadAccessPayloadSchema, EnsureBucketReadAccessResponseSchema, FileBucketResponseSchema, FileDeleteQuerySchema, FileListQuerySchema, FileListResponseSchema, FileMetadataQuerySchema, FileMetadataResponseSchema, FileMetadataUpdateResultSchema, GetFileUrlPayloadSchema, GetFileUrlResponseSchema, GetUploadUrlPayloadSchema, SetFileMetadataPayloadSchema } from '../api-schemas/files.js';
|
|
1859
|
-
import type { ColumnLayoutSchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeExtractionGroundingPolicySchema, ContentTypeExtractionGroundingReviewPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, IntakePageRangesSchema, IntakePageScopeSchema, IntakeVisionDetailSchema, UpdateContentObjectTypePayloadSchema } from '../api-schemas/store.js';
|
|
1860
1833
|
import type { JSONObject } from '../json.js';
|
|
1861
1834
|
import type { SupportedEmbeddingTypes } from '../project.js';
|
|
1835
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
1862
1836
|
import type { BaseObject } from './common.js';
|
|
1863
1837
|
export declare enum ContentObjectApiHeaders {
|
|
1864
1838
|
COLLECTION_ID = "x-collection-id",
|
|
@@ -1870,11 +1844,11 @@ export declare enum ContentObjectApiHeaders {
|
|
|
1870
1844
|
*/
|
|
1871
1845
|
SUPPRESS_WORKFLOWS = "x-suppress-workflows"
|
|
1872
1846
|
}
|
|
1873
|
-
export type CreateContentObjectQuery =
|
|
1874
|
-
export type CreateContentObjectHeaders =
|
|
1875
|
-
export type UpdateContentObjectQuery =
|
|
1876
|
-
export type UpdateContentObjectHeaders =
|
|
1877
|
-
export type GetObjectRenditionQuery =
|
|
1847
|
+
export type CreateContentObjectQuery = Wire.CreateContentObjectQuery;
|
|
1848
|
+
export type CreateContentObjectHeaders = Wire.CreateContentObjectHeaders;
|
|
1849
|
+
export type UpdateContentObjectQuery = Wire.UpdateContentObjectQuery;
|
|
1850
|
+
export type UpdateContentObjectHeaders = Wire.UpdateContentObjectHeaders;
|
|
1851
|
+
export type GetObjectRenditionQuery = Wire.GetObjectRenditionQuery;
|
|
1878
1852
|
/**
|
|
1879
1853
|
* Headers for Data Store API calls.
|
|
1880
1854
|
* Used for Cloud Run session affinity to route requests to the same instance.
|
|
@@ -1891,11 +1865,11 @@ export declare enum ContentObjectStatus {
|
|
|
1891
1865
|
failed = "failed",
|
|
1892
1866
|
archived = "archived"
|
|
1893
1867
|
}
|
|
1894
|
-
export type Embedding =
|
|
1895
|
-
export type ExportContentObjectsIncludeOptions =
|
|
1896
|
-
export type ExportContentObjectsFilter =
|
|
1897
|
-
export type StartContentObjectExportRequest =
|
|
1898
|
-
export type StartContentObjectExportResponse =
|
|
1868
|
+
export type Embedding = Wire.Embedding;
|
|
1869
|
+
export type ExportContentObjectsIncludeOptions = Wire.ExportContentObjectsIncludeOptions;
|
|
1870
|
+
export type ExportContentObjectsFilter = Wire.ExportContentObjectsFilter;
|
|
1871
|
+
export type StartContentObjectExportRequest = Wire.StartContentObjectExportRequest;
|
|
1872
|
+
export type StartContentObjectExportResponse = Wire.StartContentObjectExportResponse;
|
|
1899
1873
|
export interface ZenoBulkContentObjectExportRequest extends Omit<StartContentObjectExportRequest, 'compression'> {
|
|
1900
1874
|
tenant_id: string;
|
|
1901
1875
|
project_id: string;
|
|
@@ -1952,23 +1926,23 @@ export interface ZenoBulkContentObjectExportComposeRequest extends ZenoBulkConte
|
|
|
1952
1926
|
*/
|
|
1953
1927
|
started_at?: string;
|
|
1954
1928
|
}
|
|
1955
|
-
export type ContentObjectExportResult =
|
|
1956
|
-
export type ContentObjectExportProgress =
|
|
1957
|
-
export type ContentObjectExportStatusResponse =
|
|
1958
|
-
export type ContentObjectExportArtifact =
|
|
1959
|
-
export type ContentObjectExportArtifactFile =
|
|
1960
|
-
export type ListContentObjectExportsResponse =
|
|
1961
|
-
export type DeleteContentObjectExportResponse =
|
|
1962
|
-
export type InheritedPropertyMetadata =
|
|
1963
|
-
export type ContentObjectUserPermissions =
|
|
1964
|
-
export type ContentObjectTextResponse =
|
|
1965
|
-
export type DeleteContentObjectResult =
|
|
1966
|
-
export type SetObjectEmbeddingsResponse =
|
|
1967
|
-
export type ContentObjectApiTypeRef =
|
|
1968
|
-
export type ContentObjectApiRevision =
|
|
1969
|
-
export type ContentObjectItemApiResponse =
|
|
1970
|
-
export type ContentObjectApiResponse =
|
|
1971
|
-
export type ProjectedContentObjectApiResponse =
|
|
1929
|
+
export type ContentObjectExportResult = Wire.ContentObjectExportResult;
|
|
1930
|
+
export type ContentObjectExportProgress = Wire.ContentObjectExportProgress;
|
|
1931
|
+
export type ContentObjectExportStatusResponse = Wire.ContentObjectExportStatusResponse;
|
|
1932
|
+
export type ContentObjectExportArtifact = Wire.ContentObjectExportArtifact;
|
|
1933
|
+
export type ContentObjectExportArtifactFile = Wire.ContentObjectExportArtifactFile;
|
|
1934
|
+
export type ListContentObjectExportsResponse = Wire.ListContentObjectExportsResponse;
|
|
1935
|
+
export type DeleteContentObjectExportResponse = Wire.DeleteContentObjectExportResponse;
|
|
1936
|
+
export type InheritedPropertyMetadata = Wire.InheritedPropertyMetadata;
|
|
1937
|
+
export type ContentObjectUserPermissions = Wire.ContentObjectUserPermissions;
|
|
1938
|
+
export type ContentObjectTextResponse = Wire.ContentObjectTextResponse;
|
|
1939
|
+
export type DeleteContentObjectResult = Wire.DeleteContentObjectResult;
|
|
1940
|
+
export type SetObjectEmbeddingsResponse = Wire.SetObjectEmbeddingsResponse;
|
|
1941
|
+
export type ContentObjectApiTypeRef = Wire.ContentObjectApiTypeRef;
|
|
1942
|
+
export type ContentObjectApiRevision = Wire.ContentObjectApiRevision;
|
|
1943
|
+
export type ContentObjectItemApiResponse = Wire.ContentObjectItemApiResponse;
|
|
1944
|
+
export type ContentObjectApiResponse = Wire.ContentObjectApiResponse;
|
|
1945
|
+
export type ProjectedContentObjectApiResponse = Wire.ProjectedContentObjectApiResponse;
|
|
1972
1946
|
export type FullObjectSearchResponse = Omit<ObjectSearchResponse, 'results'> & {
|
|
1973
1947
|
results: ContentObjectItemApiResponse[];
|
|
1974
1948
|
};
|
|
@@ -1984,6 +1958,13 @@ export interface ContentObject<T = JSONObject> extends ContentObjectItem<T> {
|
|
|
1984
1958
|
sensitivity?: number;
|
|
1985
1959
|
/** Compartments — set directly or inherited from collections (union across collections). */
|
|
1986
1960
|
compartments?: string[];
|
|
1961
|
+
/** Effective shared state (readable by non-members via matching shared-content ABAC rules): true
|
|
1962
|
+
* iff this document is a member of an effectively-shared collection (inherited; sync-managed).
|
|
1963
|
+
* Combine with `shared_root` for full readability. */
|
|
1964
|
+
shared?: boolean;
|
|
1965
|
+
/** True iff this document was explicitly shared via the API (a root of the project shared space).
|
|
1966
|
+
* Never set by the sync. */
|
|
1967
|
+
shared_root?: boolean;
|
|
1987
1968
|
/**
|
|
1988
1969
|
* Inherited properties metadata - tracks which properties were inherited from parent collections.
|
|
1989
1970
|
* Used to display readonly inherited properties in the UI and enable incremental sync optimization.
|
|
@@ -2006,7 +1987,7 @@ export interface Location {
|
|
|
2006
1987
|
latitude: number;
|
|
2007
1988
|
longitude: number;
|
|
2008
1989
|
}
|
|
2009
|
-
export type GenerationRunMetadata =
|
|
1990
|
+
export type GenerationRunMetadata = Wire.GenerationRunMetadata;
|
|
2010
1991
|
export interface Rendition {
|
|
2011
1992
|
name: string;
|
|
2012
1993
|
content: ContentSource;
|
|
@@ -2166,10 +2147,10 @@ interface GroundedMetadata {
|
|
|
2166
2147
|
source_text_etag?: string | null;
|
|
2167
2148
|
[key: string]: unknown;
|
|
2168
2149
|
}
|
|
2169
|
-
export type Transcript =
|
|
2170
|
-
export type TranscriptSegment =
|
|
2171
|
-
export type ContentSource =
|
|
2172
|
-
export type RevisionInfo =
|
|
2150
|
+
export type Transcript = Wire.Transcript;
|
|
2151
|
+
export type TranscriptSegment = Wire.TranscriptSegment;
|
|
2152
|
+
export type ContentSource = Wire.ContentSource;
|
|
2153
|
+
export type RevisionInfo = Wire.RevisionInfo;
|
|
2173
2154
|
/**
|
|
2174
2155
|
* The content object item is a simplified version of the ContentObject that is returned by the store API when listing objects.
|
|
2175
2156
|
*/
|
|
@@ -2231,19 +2212,19 @@ export interface ContentObjectItem<T = JSONObject> extends BaseObject {
|
|
|
2231
2212
|
*/
|
|
2232
2213
|
user_permissions?: ContentObjectUserPermissions;
|
|
2233
2214
|
}
|
|
2234
|
-
type CreateContentObjectPayloadWire =
|
|
2215
|
+
type CreateContentObjectPayloadWire = Wire.CreateContentObjectPayloadWire;
|
|
2235
2216
|
export type CreateContentObjectPayload<T = JSONObject> = Omit<CreateContentObjectPayloadWire, 'properties' | 'metadata'> & {
|
|
2236
2217
|
properties?: T;
|
|
2237
2218
|
/** Known metadata interfaces remain assignable; the runtime contract deliberately accepts any object keys. */
|
|
2238
2219
|
metadata?: ContentObjectItem['metadata'];
|
|
2239
2220
|
};
|
|
2240
2221
|
export declare function getContentTypeRefId(type: ContentObjectTypeRef): string;
|
|
2241
|
-
export type ContentObjectTypeRef =
|
|
2242
|
-
export type ComplexSearchPayload =
|
|
2243
|
-
export type ColumnLayout =
|
|
2244
|
-
export type ContentObjectTypeStatus =
|
|
2245
|
-
export type IntakeVisionDetail =
|
|
2246
|
-
export type IntakePageScope =
|
|
2222
|
+
export type ContentObjectTypeRef = Wire.ContentObjectTypeRef;
|
|
2223
|
+
export type ComplexSearchPayload = Wire.ComplexSearchPayload;
|
|
2224
|
+
export type ColumnLayout = Wire.ColumnLayout;
|
|
2225
|
+
export type ContentObjectTypeStatus = Wire.ContentObjectTypeStatus;
|
|
2226
|
+
export type IntakeVisionDetail = Wire.IntakeVisionDetail;
|
|
2227
|
+
export type IntakePageScope = Wire.IntakePageScope;
|
|
2247
2228
|
/**
|
|
2248
2229
|
* Inclusive `[start, end]` pairs.
|
|
2249
2230
|
*
|
|
@@ -2252,29 +2233,29 @@ export type IntakePageScope = z.infer<typeof IntakePageScopeSchema>;
|
|
|
2252
2233
|
* tuple, and reproducing it is what keeps the generated clients unchanged. The length is still
|
|
2253
2234
|
* enforced at runtime.
|
|
2254
2235
|
*/
|
|
2255
|
-
export type IntakePageRanges =
|
|
2256
|
-
export type ContentTypeExtractionGroundingReviewPolicy =
|
|
2257
|
-
export type ContentTypeExtractionGroundingPolicy =
|
|
2258
|
-
export type ContentTypeIntakePolicy =
|
|
2259
|
-
export type ContentTypeEditingPolicy =
|
|
2260
|
-
export type ContentObjectType =
|
|
2261
|
-
export type ContentObjectTypeItem =
|
|
2262
|
-
export type InCodeTypeDefinition =
|
|
2263
|
-
export type ContentObjectTypeCatalogEntry =
|
|
2236
|
+
export type IntakePageRanges = Wire.IntakePageRanges;
|
|
2237
|
+
export type ContentTypeExtractionGroundingReviewPolicy = Wire.ContentTypeExtractionGroundingReviewPolicy;
|
|
2238
|
+
export type ContentTypeExtractionGroundingPolicy = Wire.ContentTypeExtractionGroundingPolicy;
|
|
2239
|
+
export type ContentTypeIntakePolicy = Wire.ContentTypeIntakePolicy;
|
|
2240
|
+
export type ContentTypeEditingPolicy = Wire.ContentTypeEditingPolicy;
|
|
2241
|
+
export type ContentObjectType = Wire.ContentObjectType;
|
|
2242
|
+
export type ContentObjectTypeItem = Wire.ContentObjectTypeItem;
|
|
2243
|
+
export type InCodeTypeDefinition = Wire.InCodeTypeDefinition;
|
|
2244
|
+
export type ContentObjectTypeCatalogEntry = Wire.ContentObjectTypeCatalogEntry;
|
|
2264
2245
|
/**
|
|
2265
2246
|
* The itnerface to be used whend efining types in a plugin app.
|
|
2266
2247
|
*/
|
|
2267
2248
|
export type InCodeTypeSpec = Omit<InCodeTypeDefinition, 'id'>;
|
|
2268
|
-
export type CreateContentObjectTypePayload =
|
|
2269
|
-
export type UpdateContentObjectTypePayload =
|
|
2249
|
+
export type CreateContentObjectTypePayload = Wire.CreateContentObjectTypePayload;
|
|
2250
|
+
export type UpdateContentObjectTypePayload = Wire.UpdateContentObjectTypePayload;
|
|
2270
2251
|
export declare enum WorkflowRuleInputType {
|
|
2271
2252
|
single = "single",
|
|
2272
2253
|
multiple = "multiple",
|
|
2273
2254
|
none = "none"
|
|
2274
2255
|
}
|
|
2275
|
-
export type WorkflowRuleItem =
|
|
2276
|
-
export type WorkflowRule =
|
|
2277
|
-
export type CreateWorkflowRulePayload =
|
|
2256
|
+
export type WorkflowRuleItem = Wire.WorkflowRuleItem;
|
|
2257
|
+
export type WorkflowRule = Wire.WorkflowRule;
|
|
2258
|
+
export type CreateWorkflowRulePayload = Wire.CreateWorkflowRulePayload;
|
|
2278
2259
|
export interface UploadWorkflowRulePayload extends Partial<Omit<WorkflowRule, 'id' | 'created_at' | 'updated_at' | 'owner'>> {
|
|
2279
2260
|
}
|
|
2280
2261
|
export declare enum ImageRenditionFormat {
|
|
@@ -2286,7 +2267,7 @@ export declare const MarkdownRenditionFormat: {
|
|
|
2286
2267
|
readonly docx: 'docx';
|
|
2287
2268
|
readonly pdf: 'pdf';
|
|
2288
2269
|
};
|
|
2289
|
-
export type MarkdownRenditionFormat =
|
|
2270
|
+
export type MarkdownRenditionFormat = Wire.MarkdownRenditionFormat;
|
|
2290
2271
|
export interface GetRenditionParams {
|
|
2291
2272
|
format: ImageRenditionFormat | MarkdownRenditionFormat;
|
|
2292
2273
|
max_hw?: number;
|
|
@@ -2294,8 +2275,8 @@ export interface GetRenditionParams {
|
|
|
2294
2275
|
sign_url?: boolean;
|
|
2295
2276
|
block_on_generation?: boolean;
|
|
2296
2277
|
}
|
|
2297
|
-
export type GetRenditionResponse =
|
|
2298
|
-
export type ObjectSearchResponse =
|
|
2278
|
+
export type GetRenditionResponse = Wire.GetRenditionResponse;
|
|
2279
|
+
export type ObjectSearchResponse = Wire.ObjectSearchResponse;
|
|
2299
2280
|
type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
|
|
2300
2281
|
/**
|
|
2301
2282
|
* Check if a specific rendition format can be generated from a content type.
|
|
@@ -2310,30 +2291,30 @@ type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
|
|
|
2310
2291
|
* canGenerateRendition('text/markdown', MarkdownRenditionFormat.pdf) // true
|
|
2311
2292
|
*/
|
|
2312
2293
|
export declare function canGenerateRendition(contentType: string | undefined, format: RenditionFormat | string): boolean;
|
|
2313
|
-
export type GetUploadUrlPayload =
|
|
2314
|
-
export type GetFileUrlPayload =
|
|
2315
|
-
export type GetFileUrlResponse =
|
|
2316
|
-
export type EnsureBucketReadAccessPayload =
|
|
2317
|
-
export type EnsureBucketReadAccessResponse =
|
|
2318
|
-
export type BucketReadAccessStatusResponse =
|
|
2319
|
-
export type EnsureBucketCreateAccessPayload =
|
|
2320
|
-
export type EnsureBucketCreateAccessResponse =
|
|
2321
|
-
export type BucketCreateAccessStatusResponse =
|
|
2322
|
-
export type FileMetadataResponse =
|
|
2323
|
-
export type SetFileMetadataPayload =
|
|
2324
|
-
export type FileMetadataUpdateResult =
|
|
2325
|
-
export type BulkUploadUrlsPayload =
|
|
2326
|
-
export type BulkUploadUrlsResponse =
|
|
2327
|
-
export type FileBucketResponse =
|
|
2328
|
-
export type FileListResponse =
|
|
2329
|
-
export type FileMetadataQuery =
|
|
2330
|
-
export type FileListQuery =
|
|
2331
|
-
export type FileDeleteQuery =
|
|
2332
|
-
export type ContentObjectTypeCatalogQuery =
|
|
2333
|
-
export type ContentObjectTypeListQuery =
|
|
2334
|
-
export type CopyFilePayload =
|
|
2335
|
-
export type CopyFileResponse =
|
|
2336
|
-
export type DeleteFileResult =
|
|
2294
|
+
export type GetUploadUrlPayload = Wire.GetUploadUrlPayload;
|
|
2295
|
+
export type GetFileUrlPayload = Wire.GetFileUrlPayload;
|
|
2296
|
+
export type GetFileUrlResponse = Wire.GetFileUrlResponse;
|
|
2297
|
+
export type EnsureBucketReadAccessPayload = Wire.EnsureBucketReadAccessPayload;
|
|
2298
|
+
export type EnsureBucketReadAccessResponse = Wire.EnsureBucketReadAccessResponse;
|
|
2299
|
+
export type BucketReadAccessStatusResponse = Wire.BucketReadAccessStatusResponse;
|
|
2300
|
+
export type EnsureBucketCreateAccessPayload = Wire.EnsureBucketCreateAccessPayload;
|
|
2301
|
+
export type EnsureBucketCreateAccessResponse = Wire.EnsureBucketCreateAccessResponse;
|
|
2302
|
+
export type BucketCreateAccessStatusResponse = Wire.BucketCreateAccessStatusResponse;
|
|
2303
|
+
export type FileMetadataResponse = Wire.FileMetadataResponse;
|
|
2304
|
+
export type SetFileMetadataPayload = Wire.SetFileMetadataPayload;
|
|
2305
|
+
export type FileMetadataUpdateResult = Wire.FileMetadataUpdateResult;
|
|
2306
|
+
export type BulkUploadUrlsPayload = Wire.BulkUploadUrlsPayload;
|
|
2307
|
+
export type BulkUploadUrlsResponse = Wire.BulkUploadUrlsResponse;
|
|
2308
|
+
export type FileBucketResponse = Wire.FileBucketResponse;
|
|
2309
|
+
export type FileListResponse = Wire.FileListResponse;
|
|
2310
|
+
export type FileMetadataQuery = Wire.FileMetadataQuery;
|
|
2311
|
+
export type FileListQuery = Wire.FileListQuery;
|
|
2312
|
+
export type FileDeleteQuery = Wire.FileDeleteQuery;
|
|
2313
|
+
export type ContentObjectTypeCatalogQuery = Wire.ContentObjectTypeCatalogQuery;
|
|
2314
|
+
export type ContentObjectTypeListQuery = Wire.ContentObjectTypeListQuery;
|
|
2315
|
+
export type CopyFilePayload = Wire.CopyFilePayload;
|
|
2316
|
+
export type CopyFileResponse = Wire.CopyFileResponse;
|
|
2317
|
+
export type DeleteFileResult = Wire.DeleteFileResult;
|
|
2337
2318
|
export declare enum ContentObjectProcessingPriority {
|
|
2338
2319
|
normal = "normal",
|
|
2339
2320
|
low = "low"
|
|
@@ -2391,9 +2372,9 @@ export declare function getSupportedRenditionFormats(contentType: string | undef
|
|
|
2391
2372
|
* supportsVisualRendition('text/markdown') // false
|
|
2392
2373
|
*/
|
|
2393
2374
|
export declare function supportsVisualRendition(contentType: string | undefined): boolean;
|
|
2394
|
-
export type InCodeTypeRef =
|
|
2395
|
-
export type StoredTypeRef =
|
|
2396
|
-
type UpdateContentObjectPayloadWire =
|
|
2375
|
+
export type InCodeTypeRef = Wire.InCodeTypeRef;
|
|
2376
|
+
export type StoredTypeRef = Wire.StoredTypeRef;
|
|
2377
|
+
type UpdateContentObjectPayloadWire = Wire.UpdateContentObjectPayloadWire;
|
|
2397
2378
|
/**
|
|
2398
2379
|
* Mirrors {@link CreateContentObjectPayload}: `properties` and `metadata` are reopened over the wire
|
|
2399
2380
|
* type so the known metadata interfaces stay assignable and callers can name their property shape.
|
|
@@ -2403,21 +2384,20 @@ export type UpdateContentObjectPayload<T = JSONObject> = Omit<UpdateContentObjec
|
|
|
2403
2384
|
properties?: T;
|
|
2404
2385
|
metadata?: ContentObjectItem['metadata'];
|
|
2405
2386
|
};
|
|
2406
|
-
export type UpdateWorkflowRulePayload =
|
|
2387
|
+
export type UpdateWorkflowRulePayload = Wire.UpdateWorkflowRulePayload;
|
|
2407
2388
|
export {};
|
|
2408
2389
|
|
|
2409
2390
|
// -----------------------------------------------------------------------------
|
|
2410
2391
|
// @vertesia/common: store/collections.d.ts
|
|
2411
2392
|
// -----------------------------------------------------------------------------
|
|
2412
|
-
import type
|
|
2413
|
-
import type { CollectionChildrenUpdatePayloadSchema, CollectionChildrenUpdateResultSchema, CollectionMembersQuerySchema, CollectionMembersUpdatePayloadSchema, CollectionMembersUpdateResultSchema, CollectionPropagationResponseSchema, CollectionSchema, CollectionSecuritySettingsResponseSchema, CreateCollectionPayloadSchema, UpdateCollectionPayloadSchema } from '../api-schemas/content.js';
|
|
2393
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2414
2394
|
import type { BaseObject } from './common.js';
|
|
2415
2395
|
import type { ColumnLayout, ContentObjectTypeRef } from './store.js';
|
|
2416
2396
|
export declare enum CollectionStatus {
|
|
2417
2397
|
active = "active",
|
|
2418
2398
|
archived = "archived"
|
|
2419
2399
|
}
|
|
2420
|
-
export type CreateCollectionPayload =
|
|
2400
|
+
export type CreateCollectionPayload = Wire.CreateCollectionPayload;
|
|
2421
2401
|
export interface CollectionItem extends BaseObject {
|
|
2422
2402
|
/**
|
|
2423
2403
|
* A flag to indicate if the collection is dynamic or static.
|
|
@@ -2447,7 +2427,7 @@ export interface CollectionItem extends BaseObject {
|
|
|
2447
2427
|
*/
|
|
2448
2428
|
allowed_types?: string[];
|
|
2449
2429
|
}
|
|
2450
|
-
export type Collection =
|
|
2430
|
+
export type Collection = Wire.Collection;
|
|
2451
2431
|
export interface DynamicCollection extends Collection {
|
|
2452
2432
|
dynamic: true;
|
|
2453
2433
|
}
|
|
@@ -2461,47 +2441,45 @@ export interface CollectionSearchPayload {
|
|
|
2461
2441
|
type?: string;
|
|
2462
2442
|
types?: string[];
|
|
2463
2443
|
}
|
|
2464
|
-
export type CollectionMembersUpdateResult =
|
|
2465
|
-
export type CollectionSecuritySettingsResponse =
|
|
2466
|
-
export type CollectionPropagationResponse =
|
|
2467
|
-
export type CollectionChildrenUpdateResult =
|
|
2468
|
-
export type CollectionMembersUpdatePayload =
|
|
2469
|
-
export type CollectionChildrenUpdatePayload =
|
|
2470
|
-
export type CollectionMembersQuery =
|
|
2471
|
-
export type UpdateCollectionPayload =
|
|
2444
|
+
export type CollectionMembersUpdateResult = Wire.CollectionMembersUpdateResult;
|
|
2445
|
+
export type CollectionSecuritySettingsResponse = Wire.CollectionSecuritySettingsResponse;
|
|
2446
|
+
export type CollectionPropagationResponse = Wire.CollectionPropagationResponse;
|
|
2447
|
+
export type CollectionChildrenUpdateResult = Wire.CollectionChildrenUpdateResult;
|
|
2448
|
+
export type CollectionMembersUpdatePayload = Wire.CollectionMembersUpdatePayload;
|
|
2449
|
+
export type CollectionChildrenUpdatePayload = Wire.CollectionChildrenUpdatePayload;
|
|
2450
|
+
export type CollectionMembersQuery = Wire.CollectionMembersQuery;
|
|
2451
|
+
export type UpdateCollectionPayload = Wire.UpdateCollectionPayload;
|
|
2472
2452
|
|
|
2473
2453
|
// -----------------------------------------------------------------------------
|
|
2474
2454
|
// @vertesia/common: store/process.d.ts
|
|
2475
2455
|
// -----------------------------------------------------------------------------
|
|
2476
|
-
import type { z } from 'zod';
|
|
2477
|
-
import type { AdvanceProcessPayloadSchema, AnswerProcessTaskPayloadSchema, BranchDefinitionSchema, BranchJoinPolicySchema, CreateProcessTestSuitePayloadSchema, HumanTaskDefinitionSchema, JsonLogicRuleSchema, ListProcessDefinitionsQuerySchema, ListProcessTestRunsQuerySchema, NodeHistoryEntrySchema, ParallelCollectDefinitionSchema, ParallelCollectFieldSchema, ParallelCollectModeSchema, ParallelFailurePolicySchema, ProcessContextDefinitionSchema, ProcessContextResponseSchema, ProcessDefinitionFormatVersionSchema, ProcessDefinitionMetadataSchema, ProcessDefinitionRevisionInfoSchema, ProcessDefinitionStatusSchema, ProcessHistoryRefSchema, ProcessHistoryResponseSchema, ProcessNodeReturnsDefinitionSchema, ProcessNodeRunTypeSchema, ProcessNodeTypeSchema, ProcessResourcesDefinitionSchema, ProcessScriptInlineSourceSchema, ProcessScriptLanguageSchema, ProcessScriptResourceSchema, ProcessScriptSourceSchema, ProcessStateSchema, ProcessTestActorDecisionSchema, ProcessTestAssertionResultSchema, ProcessTestAssertionsSchema, ProcessTestChildTraceSchema, ProcessTestCoverageSchema, ProcessTestFixtureErrorSchema, ProcessTestFixtureResponseSchema, ProcessTestFixtureResultSchema, ProcessTestHumanActionSchema, ProcessTestInlineSubjectSchema, ProcessTestNodeFixtureSchema, ProcessTestResolvedSubjectSchema, ProcessTestRunSchema, ProcessTestRunStatusSchema, ProcessTestScenarioResultSchema, ProcessTestScenarioSchema, ProcessTestStoredSubjectSchema, ProcessTestSubjectSchema, ProcessTestSuiteSchema, ProcessTestTargetByIdSchema, ProcessTestTargetWithDefinitionSchema, ProcessTestVirtualActorSchema, PublishProcessDefinitionPayloadSchema, RetryProcessNodePayloadSchema, RevertProcessDefinitionPayloadSchema, StartProcessTestRunPayloadSchema, SubmitProcessTestRunPayloadSchema, TransitionDefinitionSchema, TransitionTriggerSchema, UpdateProcessTestScenarioPayloadSchema, UpdateProcessTestSuitePayloadSchema } from '../api-schemas/process.js';
|
|
2478
|
-
import type { ProcessAgentExecutionPolicySchema, ProcessAgentPhaseResetSchema, ProcessAgentToolInputContainsSchema, ProcessAgentToolPhaseSchema } from '../api-schemas/process-agent-policy.js';
|
|
2479
2456
|
import type { JSONSchema } from '../json-schema.js';
|
|
2480
|
-
|
|
2481
|
-
export type
|
|
2482
|
-
export type
|
|
2483
|
-
export type
|
|
2457
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2458
|
+
export type JsonLogicRule = Wire.JsonLogicRule;
|
|
2459
|
+
export type ProcessDefinitionStatus = Wire.ProcessDefinitionStatus;
|
|
2460
|
+
export type ListProcessDefinitionsQuery = Wire.ListProcessDefinitionsQuery;
|
|
2461
|
+
export type ListProcessTestRunsQuery = Wire.ListProcessTestRunsQuery;
|
|
2484
2462
|
export declare const PROCESS_DEFINITION_FORMAT_VERSION: 1;
|
|
2485
|
-
export type ProcessDefinitionFormatVersion =
|
|
2486
|
-
export type ProcessNodeType =
|
|
2487
|
-
export type TransitionTrigger =
|
|
2488
|
-
export type ParallelFailurePolicy =
|
|
2489
|
-
export type ProcessNodeRunType =
|
|
2490
|
-
export type ParallelCollectMode =
|
|
2491
|
-
export type BranchJoinPolicy =
|
|
2492
|
-
export type ProcessDefinitionMetadata =
|
|
2493
|
-
export type ProcessAgentToolPhase =
|
|
2494
|
-
export type ProcessAgentToolInputContains =
|
|
2495
|
-
export type ProcessAgentPhaseReset =
|
|
2496
|
-
export type ProcessAgentExecutionPolicy =
|
|
2497
|
-
export type ProcessScriptLanguage =
|
|
2498
|
-
export type ProcessScriptInlineSource =
|
|
2499
|
-
export type ProcessScriptSource =
|
|
2500
|
-
export type ProcessScriptResource =
|
|
2501
|
-
export type ProcessResourcesDefinition =
|
|
2502
|
-
export type ParallelCollectField =
|
|
2503
|
-
export type TransitionDefinition =
|
|
2504
|
-
export type BranchDefinition =
|
|
2463
|
+
export type ProcessDefinitionFormatVersion = Wire.ProcessDefinitionFormatVersion;
|
|
2464
|
+
export type ProcessNodeType = Wire.ProcessNodeType;
|
|
2465
|
+
export type TransitionTrigger = Wire.TransitionTrigger;
|
|
2466
|
+
export type ParallelFailurePolicy = Wire.ParallelFailurePolicy;
|
|
2467
|
+
export type ProcessNodeRunType = Wire.ProcessNodeRunType;
|
|
2468
|
+
export type ParallelCollectMode = Wire.ParallelCollectMode;
|
|
2469
|
+
export type BranchJoinPolicy = Wire.BranchJoinPolicy;
|
|
2470
|
+
export type ProcessDefinitionMetadata = Wire.ProcessDefinitionMetadata;
|
|
2471
|
+
export type ProcessAgentToolPhase = Wire.ProcessAgentToolPhase;
|
|
2472
|
+
export type ProcessAgentToolInputContains = Wire.ProcessAgentToolInputContains;
|
|
2473
|
+
export type ProcessAgentPhaseReset = Wire.ProcessAgentPhaseReset;
|
|
2474
|
+
export type ProcessAgentExecutionPolicy = Wire.ProcessAgentExecutionPolicy;
|
|
2475
|
+
export type ProcessScriptLanguage = Wire.ProcessScriptLanguage;
|
|
2476
|
+
export type ProcessScriptInlineSource = Wire.ProcessScriptInlineSource;
|
|
2477
|
+
export type ProcessScriptSource = Wire.ProcessScriptSource;
|
|
2478
|
+
export type ProcessScriptResource = Wire.ProcessScriptResource;
|
|
2479
|
+
export type ProcessResourcesDefinition = Wire.ProcessResourcesDefinition;
|
|
2480
|
+
export type ParallelCollectField = Wire.ParallelCollectField;
|
|
2481
|
+
export type TransitionDefinition = Wire.TransitionDefinition;
|
|
2482
|
+
export type BranchDefinition = Wire.BranchDefinition;
|
|
2505
2483
|
export interface BranchNodeBranchDefinition {
|
|
2506
2484
|
id: string;
|
|
2507
2485
|
title?: string;
|
|
@@ -2509,9 +2487,9 @@ export interface BranchNodeBranchDefinition {
|
|
|
2509
2487
|
node: NodeDefinition;
|
|
2510
2488
|
metadata?: ProcessDefinitionMetadata;
|
|
2511
2489
|
}
|
|
2512
|
-
export type HumanTaskDefinition =
|
|
2513
|
-
export type ProcessNodeReturnsDefinition =
|
|
2514
|
-
export type ParallelCollectDefinition =
|
|
2490
|
+
export type HumanTaskDefinition = Wire.HumanTaskDefinition;
|
|
2491
|
+
export type ProcessNodeReturnsDefinition = Wire.ProcessNodeReturnsDefinition;
|
|
2492
|
+
export type ParallelCollectDefinition = Wire.ParallelCollectDefinition;
|
|
2515
2493
|
export interface NodeDefinition {
|
|
2516
2494
|
type: ProcessNodeType;
|
|
2517
2495
|
tool?: string;
|
|
@@ -2580,7 +2558,7 @@ export interface NodeDefinition {
|
|
|
2580
2558
|
branches?: BranchDefinition[] | BranchNodeBranchDefinition[];
|
|
2581
2559
|
metadata?: ProcessDefinitionMetadata;
|
|
2582
2560
|
}
|
|
2583
|
-
export type ProcessContextDefinition =
|
|
2561
|
+
export type ProcessContextDefinition = Wire.ProcessContextDefinition;
|
|
2584
2562
|
export interface ProcessDefinitionBody {
|
|
2585
2563
|
format_version: ProcessDefinitionFormatVersion;
|
|
2586
2564
|
process: string;
|
|
@@ -2605,7 +2583,7 @@ export interface InCodeProcessDefinition {
|
|
|
2605
2583
|
tags?: string[];
|
|
2606
2584
|
definition: ProcessDefinitionBody;
|
|
2607
2585
|
}
|
|
2608
|
-
export type ProcessDefinitionRevisionInfo =
|
|
2586
|
+
export type ProcessDefinitionRevisionInfo = Wire.ProcessDefinitionRevisionInfo;
|
|
2609
2587
|
export interface ProcessDefinition {
|
|
2610
2588
|
id: string;
|
|
2611
2589
|
edit_revision: number;
|
|
@@ -2623,15 +2601,18 @@ export interface ProcessDefinition {
|
|
|
2623
2601
|
created_by: string;
|
|
2624
2602
|
updated_by: string;
|
|
2625
2603
|
}
|
|
2626
|
-
export type NodeHistoryEntry =
|
|
2627
|
-
export type ProcessHistoryRef =
|
|
2604
|
+
export type NodeHistoryEntry = Wire.NodeHistoryEntry;
|
|
2605
|
+
export type ProcessHistoryRef = Wire.ProcessHistoryRef;
|
|
2628
2606
|
export interface ProcessHistoryCheckpoint {
|
|
2629
2607
|
sequence: number;
|
|
2630
2608
|
current_node: string;
|
|
2631
2609
|
written_at: Date | string;
|
|
2632
2610
|
entries: NodeHistoryEntry[];
|
|
2633
2611
|
}
|
|
2634
|
-
export type ProcessState =
|
|
2612
|
+
export type ProcessState = Wire.ProcessState;
|
|
2613
|
+
export type ProcessTerminalReason = Wire.ProcessTerminalReason;
|
|
2614
|
+
export type ProcessBudgetState = Wire.ProcessBudgetState;
|
|
2615
|
+
export type ProcessBudgetSummary = Wire.ProcessBudgetSummary;
|
|
2635
2616
|
export interface CreateProcessDefinitionPayload {
|
|
2636
2617
|
name: string;
|
|
2637
2618
|
description?: string;
|
|
@@ -2662,61 +2643,55 @@ export interface UpdateProcessDefinitionPayload {
|
|
|
2662
2643
|
tags?: string[];
|
|
2663
2644
|
definition?: ProcessDefinitionBody;
|
|
2664
2645
|
}
|
|
2665
|
-
export type PublishProcessDefinitionPayload =
|
|
2666
|
-
export type RevertProcessDefinitionPayload =
|
|
2667
|
-
export type AdvanceProcessPayload =
|
|
2668
|
-
export type AnswerProcessTaskPayload =
|
|
2669
|
-
export type RetryProcessNodePayload =
|
|
2670
|
-
export type ProcessContextResponse =
|
|
2671
|
-
export type ProcessHistoryResponse =
|
|
2672
|
-
export type ProcessTestRunStatus =
|
|
2673
|
-
export type ProcessTestVirtualActor =
|
|
2674
|
-
export type ProcessTestFixtureResult =
|
|
2675
|
-
export type ProcessTestFixtureError =
|
|
2676
|
-
export type ProcessTestFixtureResponse =
|
|
2677
|
-
export type ProcessTestNodeFixture =
|
|
2678
|
-
export type ProcessTestHumanAction =
|
|
2679
|
-
export type ProcessTestAssertions =
|
|
2680
|
-
export type ProcessTestScenario =
|
|
2681
|
-
export type ProcessTestSuite =
|
|
2682
|
-
export type CreateProcessTestSuitePayload =
|
|
2683
|
-
export type UpdateProcessTestSuitePayload =
|
|
2684
|
-
export type StartProcessTestRunPayload =
|
|
2685
|
-
export type ProcessTestAssertionResult =
|
|
2686
|
-
export type ProcessTestActorDecision =
|
|
2687
|
-
export type ProcessTestCoverage =
|
|
2688
|
-
export type ProcessTestChildTrace =
|
|
2689
|
-
export type ProcessTestScenarioResult =
|
|
2690
|
-
export type ProcessTestRun = Omit<
|
|
2646
|
+
export type PublishProcessDefinitionPayload = Wire.PublishProcessDefinitionPayload;
|
|
2647
|
+
export type RevertProcessDefinitionPayload = Wire.RevertProcessDefinitionPayload;
|
|
2648
|
+
export type AdvanceProcessPayload = Wire.AdvanceProcessPayload;
|
|
2649
|
+
export type AnswerProcessTaskPayload = Wire.AnswerProcessTaskPayload;
|
|
2650
|
+
export type RetryProcessNodePayload = Wire.RetryProcessNodePayload;
|
|
2651
|
+
export type ProcessContextResponse = Wire.ProcessContextResponse;
|
|
2652
|
+
export type ProcessHistoryResponse = Wire.ProcessHistoryResponse;
|
|
2653
|
+
export type ProcessTestRunStatus = Wire.ProcessTestRunStatus;
|
|
2654
|
+
export type ProcessTestVirtualActor = Wire.ProcessTestVirtualActor;
|
|
2655
|
+
export type ProcessTestFixtureResult = Wire.ProcessTestFixtureResult;
|
|
2656
|
+
export type ProcessTestFixtureError = Wire.ProcessTestFixtureError;
|
|
2657
|
+
export type ProcessTestFixtureResponse = Wire.ProcessTestFixtureResponse;
|
|
2658
|
+
export type ProcessTestNodeFixture = Wire.ProcessTestNodeFixture;
|
|
2659
|
+
export type ProcessTestHumanAction = Wire.ProcessTestHumanAction;
|
|
2660
|
+
export type ProcessTestAssertions = Wire.ProcessTestAssertions;
|
|
2661
|
+
export type ProcessTestScenario = Wire.ProcessTestScenario;
|
|
2662
|
+
export type ProcessTestSuite = Wire.ProcessTestSuite;
|
|
2663
|
+
export type CreateProcessTestSuitePayload = Wire.CreateProcessTestSuitePayload;
|
|
2664
|
+
export type UpdateProcessTestSuitePayload = Wire.UpdateProcessTestSuitePayload;
|
|
2665
|
+
export type StartProcessTestRunPayload = Wire.StartProcessTestRunPayload;
|
|
2666
|
+
export type ProcessTestAssertionResult = Wire.ProcessTestAssertionResult;
|
|
2667
|
+
export type ProcessTestActorDecision = Wire.ProcessTestActorDecision;
|
|
2668
|
+
export type ProcessTestCoverage = Wire.ProcessTestCoverage;
|
|
2669
|
+
export type ProcessTestChildTrace = Wire.ProcessTestChildTrace;
|
|
2670
|
+
export type ProcessTestScenarioResult = Wire.ProcessTestScenarioResult;
|
|
2671
|
+
export type ProcessTestRun = Omit<Wire.ProcessTestRunWire, 'process_definition_snapshot'> & {
|
|
2691
2672
|
process_definition_snapshot: ProcessDefinitionBody;
|
|
2692
2673
|
};
|
|
2693
|
-
export type ProcessTestStoredSubject =
|
|
2694
|
-
export type ProcessTestResolvedSubject =
|
|
2695
|
-
export type ProcessTestInlineSubject =
|
|
2696
|
-
export type ProcessTestSubject =
|
|
2697
|
-
export type ProcessTestTargetById =
|
|
2698
|
-
export type ProcessTestTargetWithDefinition = Omit<
|
|
2674
|
+
export type ProcessTestStoredSubject = Wire.ProcessTestStoredSubject;
|
|
2675
|
+
export type ProcessTestResolvedSubject = Wire.ProcessTestResolvedSubject;
|
|
2676
|
+
export type ProcessTestInlineSubject = Wire.ProcessTestInlineSubject;
|
|
2677
|
+
export type ProcessTestSubject = Wire.ProcessTestSubject;
|
|
2678
|
+
export type ProcessTestTargetById = Wire.ProcessTestTargetById;
|
|
2679
|
+
export type ProcessTestTargetWithDefinition = Omit<Wire.ProcessTestTargetWithDefinitionWire, 'definition'> & {
|
|
2699
2680
|
definition: ProcessDefinitionBody;
|
|
2700
2681
|
};
|
|
2701
2682
|
export type ProcessTestTarget = ProcessTestTargetById | ProcessTestTargetWithDefinition;
|
|
2702
|
-
export type SubmitProcessTestRunPayload = Omit<
|
|
2683
|
+
export type SubmitProcessTestRunPayload = Omit<Wire.SubmitProcessTestRunPayloadWire, 'process'> & {
|
|
2703
2684
|
process: ProcessTestTarget;
|
|
2704
2685
|
};
|
|
2705
|
-
export type UpdateProcessTestScenarioPayload =
|
|
2686
|
+
export type UpdateProcessTestScenarioPayload = Wire.UpdateProcessTestScenarioPayload;
|
|
2706
2687
|
|
|
2707
2688
|
// -----------------------------------------------------------------------------
|
|
2708
2689
|
// @vertesia/common: store/workflow.d.ts
|
|
2709
2690
|
// -----------------------------------------------------------------------------
|
|
2710
2691
|
import type { HttpTimeoutOptions, ModelOptions } from '@llumiverse/common';
|
|
2711
|
-
import type { z } from 'zod';
|
|
2712
|
-
import type { AgentMessageDetailsSchema, CompactMessageSchema, ConversationFileSchema } from '../api-schemas/agent-runs.js';
|
|
2713
|
-
import type { ConversationActivityStateSchema } from '../api-schemas/app-lifecycle.js';
|
|
2714
|
-
import type { WorkflowExecutionStatusSchema } from '../api-schemas/document-processing.js';
|
|
2715
|
-
import type { PlanSchema, PlanTaskSchema, WorkflowAncestorSchema } from '../api-schemas/interaction.js';
|
|
2716
|
-
import type { WorkflowExecutionStartResultSchema } from '../api-schemas/process.js';
|
|
2717
|
-
import type { ActivityTaskSchema, AgentTaskSchema, ChildWorkflowTaskSchema, EventErrorSchema, ExecuteWorkflowPayloadSchema, ListWorkflowInteractionsResponseSchema, ListWorkflowRunsPayloadSchema, ListWorkflowRunsResponseSchema, PendingActivitySchema, SignalEventPropertiesSchema, SignalTaskSchema, TimerTaskSchema, WorkflowActionResponseSchema, WorkflowHistorySchema, WorkflowInteractionVarsSchema, WorkflowQueryResultSchema, WorkflowRunDetailsQuerySchema, WorkflowRunEventSchema, WorkflowRunSchema, WorkflowRunStreamQuerySchema, WorkflowRunUpdatesQuerySchema, WorkflowRunUpdatesResponseSchema, WorkflowRunWithDetailsSchema, WorkflowTaskSchema, WorkflowUpdatePublishResponseSchema } from '../api-schemas/workflow-runs.js';
|
|
2718
2692
|
import type { AgentResourceReference, InteractionExecutionConfiguration } from '../interaction.js';
|
|
2719
2693
|
import type { SupportedEmbeddingTypes } from '../project.js';
|
|
2694
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2720
2695
|
import type { WorkflowInput } from './dsl-workflow.js';
|
|
2721
2696
|
export declare enum ContentEventName {
|
|
2722
2697
|
create = "create",
|
|
@@ -2733,7 +2708,7 @@ export interface Queue {
|
|
|
2733
2708
|
queue_suffix?: string;
|
|
2734
2709
|
queue_full_name?: string;
|
|
2735
2710
|
}
|
|
2736
|
-
export type WorkflowAncestor =
|
|
2711
|
+
export type WorkflowAncestor = Wire.WorkflowAncestor;
|
|
2737
2712
|
export interface WorkflowExecutionBaseParams<T = Record<string, unknown>> {
|
|
2738
2713
|
/** Effective principal for private scheduled runs; server supplied. */
|
|
2739
2714
|
subject?: string;
|
|
@@ -2849,12 +2824,12 @@ export interface WorkflowExecutionPayload<T = Record<string, unknown>, EventName
|
|
|
2849
2824
|
auth_token: string;
|
|
2850
2825
|
}
|
|
2851
2826
|
export declare function getDocumentIds(payload: WorkflowExecutionPayload<Record<string, unknown>>): string[];
|
|
2852
|
-
export type ExecuteWorkflowPayload =
|
|
2853
|
-
export type ConversationActivityState =
|
|
2854
|
-
export type ListWorkflowRunsPayload =
|
|
2855
|
-
export type SignalEventProperties =
|
|
2856
|
-
export type EventError =
|
|
2857
|
-
export type WorkflowRunEvent =
|
|
2827
|
+
export type ExecuteWorkflowPayload = Wire.ExecuteWorkflowPayload;
|
|
2828
|
+
export type ConversationActivityState = Wire.ConversationActivityState;
|
|
2829
|
+
export type ListWorkflowRunsPayload = Wire.ListWorkflowRunsPayload;
|
|
2830
|
+
export type SignalEventProperties = Wire.SignalEventProperties;
|
|
2831
|
+
export type EventError = Wire.EventError;
|
|
2832
|
+
export type WorkflowRunEvent = Wire.WorkflowRunEvent;
|
|
2858
2833
|
export declare enum TaskStatus {
|
|
2859
2834
|
SCHEDULED = "scheduled",
|
|
2860
2835
|
RUNNING = "running",
|
|
@@ -2872,27 +2847,27 @@ export declare enum TaskType {
|
|
|
2872
2847
|
SIGNAL = "signal",
|
|
2873
2848
|
TIMER = "timer"
|
|
2874
2849
|
}
|
|
2875
|
-
export type ActivityTask =
|
|
2876
|
-
export type ChildWorkflowTask =
|
|
2877
|
-
export type SignalTask =
|
|
2878
|
-
export type TimerTask =
|
|
2879
|
-
export type WorkflowTask =
|
|
2880
|
-
export type WorkflowHistory =
|
|
2881
|
-
export type AgentTask =
|
|
2882
|
-
export type WorkflowRun =
|
|
2883
|
-
export type PendingActivity =
|
|
2884
|
-
export type WorkflowRunWithDetails =
|
|
2885
|
-
export type ListWorkflowRunsResponse =
|
|
2886
|
-
export type WorkflowExecutionStartResult =
|
|
2887
|
-
export type ListWorkflowInteractionsResponse =
|
|
2888
|
-
export type WorkflowRunUpdatesResponse =
|
|
2889
|
-
export type WorkflowRunDetailsQuery =
|
|
2890
|
-
export type WorkflowRunUpdatesQuery =
|
|
2891
|
-
export type WorkflowRunStreamQuery =
|
|
2892
|
-
export type WorkflowUpdatePublishResponse =
|
|
2893
|
-
export type WorkflowActionResponse =
|
|
2894
|
-
export type WorkflowQueryResult =
|
|
2895
|
-
export type WorkflowInteractionVars =
|
|
2850
|
+
export type ActivityTask = Wire.ActivityTask;
|
|
2851
|
+
export type ChildWorkflowTask = Wire.ChildWorkflowTask;
|
|
2852
|
+
export type SignalTask = Wire.SignalTask;
|
|
2853
|
+
export type TimerTask = Wire.TimerTask;
|
|
2854
|
+
export type WorkflowTask = Wire.WorkflowTask;
|
|
2855
|
+
export type WorkflowHistory = Wire.WorkflowHistory;
|
|
2856
|
+
export type AgentTask = Wire.AgentTask;
|
|
2857
|
+
export type WorkflowRun = Wire.WorkflowRun;
|
|
2858
|
+
export type PendingActivity = Wire.PendingActivity;
|
|
2859
|
+
export type WorkflowRunWithDetails = Wire.WorkflowRunWithDetails;
|
|
2860
|
+
export type ListWorkflowRunsResponse = Wire.ListWorkflowRunsResponse;
|
|
2861
|
+
export type WorkflowExecutionStartResult = Wire.WorkflowExecutionStartResult;
|
|
2862
|
+
export type ListWorkflowInteractionsResponse = Wire.ListWorkflowInteractionsResponse;
|
|
2863
|
+
export type WorkflowRunUpdatesResponse = Wire.WorkflowRunUpdatesResponse;
|
|
2864
|
+
export type WorkflowRunDetailsQuery = Wire.WorkflowRunDetailsQuery;
|
|
2865
|
+
export type WorkflowRunUpdatesQuery = Wire.WorkflowRunUpdatesQuery;
|
|
2866
|
+
export type WorkflowRunStreamQuery = Wire.WorkflowRunStreamQuery;
|
|
2867
|
+
export type WorkflowUpdatePublishResponse = Wire.WorkflowUpdatePublishResponse;
|
|
2868
|
+
export type WorkflowActionResponse = Wire.WorkflowActionResponse;
|
|
2869
|
+
export type WorkflowQueryResult = Wire.WorkflowQueryResult;
|
|
2870
|
+
export type WorkflowInteractionVars = Wire.WorkflowInteractionVars;
|
|
2896
2871
|
export declare const WorkflowExecutionStatusValues: {
|
|
2897
2872
|
readonly UNKNOWN: 0;
|
|
2898
2873
|
readonly RUNNING: 1;
|
|
@@ -2904,7 +2879,7 @@ export declare const WorkflowExecutionStatusValues: {
|
|
|
2904
2879
|
readonly TIMED_OUT: 7;
|
|
2905
2880
|
};
|
|
2906
2881
|
export declare const WorkflowExecutionStatus: typeof WorkflowExecutionStatusValues & Readonly<Record<number, string>>;
|
|
2907
|
-
export type WorkflowExecutionStatus =
|
|
2882
|
+
export type WorkflowExecutionStatus = Wire.WorkflowExecutionStatus;
|
|
2908
2883
|
/**
|
|
2909
2884
|
* Basic response for anything run with an async workflow
|
|
2910
2885
|
*/
|
|
@@ -2941,7 +2916,7 @@ export declare enum AgentMessageType {
|
|
|
2941
2916
|
BATCH_PROGRESS = 13,
|
|
2942
2917
|
RESTARTING = 14
|
|
2943
2918
|
}
|
|
2944
|
-
export type AgentMessageDetails =
|
|
2919
|
+
export type AgentMessageDetails = Wire.AgentMessageDetails;
|
|
2945
2920
|
/**
|
|
2946
2921
|
* Details for THOUGHT messages representing tool calls (event_class: 'activity').
|
|
2947
2922
|
*/
|
|
@@ -2985,7 +2960,7 @@ export interface StreamingChunkDetails {
|
|
|
2985
2960
|
* Primary type used throughout the system.
|
|
2986
2961
|
* ~85% smaller than legacy AgentMessage format.
|
|
2987
2962
|
*/
|
|
2988
|
-
export type CompactMessage =
|
|
2963
|
+
export type CompactMessage = Wire.CompactMessage;
|
|
2989
2964
|
/**
|
|
2990
2965
|
* Legacy message format for backward compatibility.
|
|
2991
2966
|
* @deprecated Use CompactMessage instead
|
|
@@ -3078,7 +3053,7 @@ export declare enum FileProcessingStatus {
|
|
|
3078
3053
|
/** File processing failed */
|
|
3079
3054
|
ERROR = "error"
|
|
3080
3055
|
}
|
|
3081
|
-
export type ConversationFile =
|
|
3056
|
+
export type ConversationFile = Wire.ConversationFile;
|
|
3082
3057
|
/**
|
|
3083
3058
|
* Details for file processing SYSTEM messages.
|
|
3084
3059
|
* Used when type is AgentMessageType.SYSTEM with system_type: 'file_processing'.
|
|
@@ -3145,8 +3120,8 @@ export interface ConversationFileRemovedRef {
|
|
|
3145
3120
|
/** Client-generated unique ID */
|
|
3146
3121
|
id: string;
|
|
3147
3122
|
}
|
|
3148
|
-
export type PlanTask =
|
|
3149
|
-
export type Plan =
|
|
3123
|
+
export type PlanTask = Wire.PlanTask;
|
|
3124
|
+
export type Plan = Wire.Plan;
|
|
3150
3125
|
export declare const LOW_PRIORITY_TASK_QUEUE = "low_priority";
|
|
3151
3126
|
/**
|
|
3152
3127
|
* WebSocket message types for bidirectional communication
|