@vertesia/appgen-docs 1.6.0-dev.20260923.085325Z → 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 +5180 -4892
- package/lib/docs/ui-interfaces.d.ts +15 -19
- package/lib/docs/vertesia-client.d.ts +564 -592
- package/lib/docs/vertesia-common.d.ts +539 -565
- package/package.json +7 -7
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// -----------------------------------------------------------------------------
|
|
11
11
|
// @vertesia/common: index.d.ts
|
|
12
12
|
// -----------------------------------------------------------------------------
|
|
13
|
-
export type { AudioResult, OpenAiAudioOptions, OpenAiSpeechOptions, OpenAiTranscriptionOptions, 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
|
/**
|
|
@@ -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, UpdateAppInstallationOAuthApprovalPayloadSchema, 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,22 +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 =
|
|
496
|
-
export type UpdateAppInstallationOAuthApprovalPayload =
|
|
492
|
+
export type AppDeleteSummary = Wire.AppDeleteSummary;
|
|
493
|
+
export type UpdateAppInstallationOAuthApprovalPayload = Wire.UpdateAppInstallationOAuthApprovalPayload;
|
|
497
494
|
|
|
498
495
|
// -----------------------------------------------------------------------------
|
|
499
496
|
// @vertesia/common: data-platform.d.ts
|
|
500
497
|
// -----------------------------------------------------------------------------
|
|
501
|
-
import type
|
|
502
|
-
/**
|
|
503
|
-
* Data Platform Types
|
|
504
|
-
*
|
|
505
|
-
* Types for managing versioned analytical data stores with DuckDB + GCS storage.
|
|
506
|
-
* Supports AI-manageable schemas and multi-table atomic operations.
|
|
507
|
-
*/
|
|
508
|
-
import type { z } from 'zod';
|
|
509
|
-
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';
|
|
510
|
-
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';
|
|
511
499
|
/**
|
|
512
500
|
* Supported column data types for DuckDB tables.
|
|
513
501
|
*/
|
|
@@ -523,7 +511,7 @@ export declare const DataColumnType: {
|
|
|
523
511
|
readonly TIMESTAMP: 'TIMESTAMP';
|
|
524
512
|
readonly JSON: 'JSON';
|
|
525
513
|
};
|
|
526
|
-
export type DataColumnType =
|
|
514
|
+
export type DataColumnType = Wire.DataColumnType;
|
|
527
515
|
/**
|
|
528
516
|
* Semantic types that provide AI agents with context about column meaning.
|
|
529
517
|
*/
|
|
@@ -539,7 +527,7 @@ export declare const SemanticColumnType: {
|
|
|
539
527
|
readonly DATE_ISO: 'date_iso';
|
|
540
528
|
readonly IDENTIFIER: 'identifier';
|
|
541
529
|
};
|
|
542
|
-
export type SemanticColumnType =
|
|
530
|
+
export type SemanticColumnType = Wire.SemanticColumnType;
|
|
543
531
|
/**
|
|
544
532
|
* Mapping from DataColumnType to DuckDB SQL types.
|
|
545
533
|
*/
|
|
@@ -547,40 +535,40 @@ export declare const DATA_COLUMN_TYPE_TO_DUCKDB: Record<DataColumnType, string>;
|
|
|
547
535
|
/**
|
|
548
536
|
* Column definition for a data table.
|
|
549
537
|
*/
|
|
550
|
-
export type DataColumn =
|
|
538
|
+
export type DataColumn = Wire.DataColumn;
|
|
551
539
|
/**
|
|
552
540
|
* Foreign key constraint definition.
|
|
553
541
|
*/
|
|
554
|
-
export type DataForeignKey =
|
|
542
|
+
export type DataForeignKey = Wire.DataForeignKey;
|
|
555
543
|
/**
|
|
556
544
|
* Index definition for a table.
|
|
557
545
|
*/
|
|
558
|
-
export type DataIndex =
|
|
546
|
+
export type DataIndex = Wire.DataIndex;
|
|
559
547
|
/**
|
|
560
548
|
* Semantic type categorization for tables.
|
|
561
549
|
*/
|
|
562
|
-
export type DataTableSemanticType =
|
|
550
|
+
export type DataTableSemanticType = Wire.DataTableSemanticType;
|
|
563
551
|
/**
|
|
564
552
|
* Table definition within a data schema.
|
|
565
553
|
*/
|
|
566
|
-
export type DataTable =
|
|
554
|
+
export type DataTable = Wire.DataTable;
|
|
567
555
|
/**
|
|
568
556
|
* Summary view of a data table (for listings).
|
|
569
557
|
*/
|
|
570
|
-
export type DataTableSummary =
|
|
558
|
+
export type DataTableSummary = Wire.DataTableSummary;
|
|
571
559
|
/**
|
|
572
560
|
* Relationship type between tables.
|
|
573
561
|
*/
|
|
574
|
-
export type DataRelationshipType =
|
|
562
|
+
export type DataRelationshipType = Wire.DataRelationshipType;
|
|
575
563
|
/**
|
|
576
564
|
* Semantic relationship between tables for AI understanding.
|
|
577
565
|
*/
|
|
578
|
-
export type DataRelationship =
|
|
566
|
+
export type DataRelationship = Wire.DataRelationship;
|
|
579
567
|
/**
|
|
580
568
|
* Complete schema definition for a data store.
|
|
581
569
|
*/
|
|
582
|
-
export type DataSchema =
|
|
583
|
-
export type DataStoreFullSchemaResponse =
|
|
570
|
+
export type DataSchema = Wire.DataSchema;
|
|
571
|
+
export type DataStoreFullSchemaResponse = Wire.DataStoreFullSchemaResponse;
|
|
584
572
|
/**
|
|
585
573
|
* Data store lifecycle status.
|
|
586
574
|
*/
|
|
@@ -590,25 +578,25 @@ export declare const DataStoreStatus: {
|
|
|
590
578
|
readonly ERROR: 'error';
|
|
591
579
|
readonly ARCHIVED: 'archived';
|
|
592
580
|
};
|
|
593
|
-
export type DataStoreStatus =
|
|
581
|
+
export type DataStoreStatus = Wire.DataStoreStatus;
|
|
594
582
|
/**
|
|
595
583
|
* Summary view of a data store (for listings).
|
|
596
584
|
*/
|
|
597
|
-
export type DataStoreItem =
|
|
585
|
+
export type DataStoreItem = Wire.DataStoreItem;
|
|
598
586
|
/**
|
|
599
587
|
* Full data store with schema details.
|
|
600
588
|
*/
|
|
601
|
-
export type DataStore =
|
|
589
|
+
export type DataStore = Wire.DataStore;
|
|
602
590
|
/**
|
|
603
591
|
* Table state within a version.
|
|
604
592
|
*/
|
|
605
|
-
export type DataStoreVersionTableState =
|
|
593
|
+
export type DataStoreVersionTableState = Wire.DataStoreVersionTableState;
|
|
606
594
|
/**
|
|
607
595
|
* A point-in-time version of a data store.
|
|
608
596
|
*/
|
|
609
|
-
export type DataStoreVersion =
|
|
610
|
-
export type ListDataStoreVersionsQuery =
|
|
611
|
-
export type GetDataStoreTableQuery =
|
|
597
|
+
export type DataStoreVersion = Wire.DataStoreVersion;
|
|
598
|
+
export type ListDataStoreVersionsQuery = Wire.ListDataStoreVersionsQuery;
|
|
599
|
+
export type GetDataStoreTableQuery = Wire.GetDataStoreTableQuery;
|
|
612
600
|
/**
|
|
613
601
|
* Import job status.
|
|
614
602
|
*/
|
|
@@ -619,40 +607,40 @@ export declare const ImportStatus: {
|
|
|
619
607
|
readonly FAILED: 'failed';
|
|
620
608
|
readonly ROLLED_BACK: 'rolled_back';
|
|
621
609
|
};
|
|
622
|
-
export type ImportStatus =
|
|
610
|
+
export type ImportStatus = Wire.ImportStatus;
|
|
623
611
|
/**
|
|
624
612
|
* Import job tracking.
|
|
625
613
|
*/
|
|
626
|
-
export type ImportJob =
|
|
614
|
+
export type ImportJob = Wire.ImportJob;
|
|
627
615
|
/**
|
|
628
616
|
* Payload for creating a new data store.
|
|
629
617
|
*/
|
|
630
|
-
export type CreateDataStorePayload =
|
|
618
|
+
export type CreateDataStorePayload = Wire.CreateDataStorePayload;
|
|
631
619
|
/**
|
|
632
620
|
* Payload for creating a new table.
|
|
633
621
|
*/
|
|
634
|
-
export type CreateTablePayload =
|
|
622
|
+
export type CreateTablePayload = Wire.CreateTablePayload;
|
|
635
623
|
/**
|
|
636
624
|
* Payload for creating multiple tables atomically.
|
|
637
625
|
*/
|
|
638
|
-
export type CreateTablesPayload =
|
|
639
|
-
export type QueryValidationPayload =
|
|
640
|
-
export type BatchQueryPayload =
|
|
626
|
+
export type CreateTablesPayload = Wire.CreateTablesPayload;
|
|
627
|
+
export type QueryValidationPayload = Wire.QueryValidationPayload;
|
|
628
|
+
export type BatchQueryPayload = Wire.BatchQueryPayload;
|
|
641
629
|
/**
|
|
642
630
|
* Schema change operation types.
|
|
643
631
|
*/
|
|
644
632
|
/**
|
|
645
633
|
* @discriminator op
|
|
646
634
|
*/
|
|
647
|
-
export type AlterTableOperation =
|
|
635
|
+
export type AlterTableOperation = Wire.AlterTableOperation;
|
|
648
636
|
/**
|
|
649
637
|
* Payload for altering a table schema.
|
|
650
638
|
*/
|
|
651
|
-
export type AlterTablePayload =
|
|
639
|
+
export type AlterTablePayload = Wire.AlterTablePayload;
|
|
652
640
|
/**
|
|
653
641
|
* Payload for AI-driven bulk schema updates.
|
|
654
642
|
*/
|
|
655
|
-
export type UpdateSchemaPayload =
|
|
643
|
+
export type UpdateSchemaPayload = Wire.UpdateSchemaPayload;
|
|
656
644
|
/**
|
|
657
645
|
* Data source for import.
|
|
658
646
|
* - 'inline': data provided directly in the payload
|
|
@@ -660,81 +648,81 @@ export type UpdateSchemaPayload = z.infer<typeof UpdateSchemaPayloadSchema>;
|
|
|
660
648
|
* - 'url': data at an HTTPS URL
|
|
661
649
|
* - 'artifact': data from workflow artifact (resolved to GCS by tool)
|
|
662
650
|
*/
|
|
663
|
-
export type ImportDataSource =
|
|
651
|
+
export type ImportDataSource = Wire.ImportDataSource;
|
|
664
652
|
/**
|
|
665
653
|
* Data format for external sources.
|
|
666
654
|
*/
|
|
667
|
-
export type ImportDataFormat =
|
|
655
|
+
export type ImportDataFormat = Wire.ImportDataFormat;
|
|
668
656
|
/**
|
|
669
657
|
* Table data specification for import.
|
|
670
658
|
*/
|
|
671
|
-
export type ImportTableData =
|
|
659
|
+
export type ImportTableData = Wire.ImportTableData;
|
|
672
660
|
/**
|
|
673
661
|
* Payload for importing data into tables.
|
|
674
662
|
*/
|
|
675
|
-
export type ImportDataPayload =
|
|
663
|
+
export type ImportDataPayload = Wire.ImportDataPayload;
|
|
676
664
|
/**
|
|
677
665
|
* Payload for creating a named snapshot.
|
|
678
666
|
*/
|
|
679
|
-
export type CreateSnapshotPayload =
|
|
667
|
+
export type CreateSnapshotPayload = Wire.CreateSnapshotPayload;
|
|
680
668
|
/**
|
|
681
669
|
* Payload for executing a query.
|
|
682
670
|
*/
|
|
683
|
-
export type QueryPayload =
|
|
671
|
+
export type QueryPayload = Wire.QueryPayload;
|
|
684
672
|
/**
|
|
685
673
|
* Payload for mutating data rows with a single SQL statement.
|
|
686
674
|
*/
|
|
687
|
-
export type DataStoreMutateRowsPayload =
|
|
675
|
+
export type DataStoreMutateRowsPayload = Wire.DataStoreMutateRowsPayload;
|
|
688
676
|
/**
|
|
689
677
|
* Result from mutating rows in a data store.
|
|
690
678
|
*/
|
|
691
|
-
export type DataStoreMutateRowsResult =
|
|
679
|
+
export type DataStoreMutateRowsResult = Wire.DataStoreMutateRowsResult;
|
|
692
680
|
/**
|
|
693
681
|
* Column metadata in query results.
|
|
694
682
|
*/
|
|
695
|
-
export type QueryResultColumn =
|
|
683
|
+
export type QueryResultColumn = Wire.QueryResultColumn;
|
|
696
684
|
/**
|
|
697
685
|
* Query execution result.
|
|
698
686
|
*/
|
|
699
|
-
export type QueryResult =
|
|
700
|
-
export type BatchQueryResultItem =
|
|
701
|
-
export type BatchQueryResult =
|
|
702
|
-
export type QueryValidationError =
|
|
703
|
-
export type QueryValidationResult =
|
|
704
|
-
export type DataStoreDownloadInfo =
|
|
705
|
-
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;
|
|
706
694
|
/**
|
|
707
695
|
* @discriminator schema_format
|
|
708
696
|
*/
|
|
709
|
-
export type DataStoreSchemaResponse =
|
|
710
|
-
export type DataStoreTableDetail =
|
|
711
|
-
export type DataStoreTableDropResult =
|
|
712
|
-
export type DashboardArchiveResult =
|
|
713
|
-
export type DashboardBulkArchiveResult =
|
|
714
|
-
export type DashboardBulkDeleteResult =
|
|
715
|
-
export type DashboardVersioningStatusResponse =
|
|
716
|
-
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;
|
|
717
705
|
/**
|
|
718
706
|
* Simplified column representation for AI agents.
|
|
719
707
|
*/
|
|
720
|
-
export type DataColumnForAI =
|
|
708
|
+
export type DataColumnForAI = Wire.DataColumnForAI;
|
|
721
709
|
/**
|
|
722
710
|
* Simplified foreign key representation for AI agents.
|
|
723
711
|
*/
|
|
724
|
-
export type DataForeignKeyForAI =
|
|
712
|
+
export type DataForeignKeyForAI = Wire.DataForeignKeyForAI;
|
|
725
713
|
/**
|
|
726
714
|
* Simplified table representation for AI agents.
|
|
727
715
|
*/
|
|
728
|
-
export type DataTableForAI =
|
|
716
|
+
export type DataTableForAI = Wire.DataTableForAI;
|
|
729
717
|
/**
|
|
730
718
|
* Simplified relationship representation for AI agents.
|
|
731
719
|
*/
|
|
732
|
-
export type DataRelationshipForAI =
|
|
720
|
+
export type DataRelationshipForAI = Wire.DataRelationshipForAI;
|
|
733
721
|
/**
|
|
734
722
|
* Simplified schema representation optimized for AI agent consumption.
|
|
735
723
|
* Provides semantic context for understanding the data model.
|
|
736
724
|
*/
|
|
737
|
-
export type DataSchemaForAI =
|
|
725
|
+
export type DataSchemaForAI = Wire.DataSchemaForAI;
|
|
738
726
|
/**
|
|
739
727
|
* Version retention configuration.
|
|
740
728
|
*/
|
|
@@ -757,7 +745,7 @@ export declare const DashboardStatus: {
|
|
|
757
745
|
/** Dashboard has been archived (soft deleted) */
|
|
758
746
|
readonly ARCHIVED: 'archived';
|
|
759
747
|
};
|
|
760
|
-
export type DashboardStatus =
|
|
748
|
+
export type DashboardStatus = Wire.DashboardStatus;
|
|
761
749
|
/**
|
|
762
750
|
* Named SQL query that maps to a Vega data source.
|
|
763
751
|
* Supports parameterized SQL with {{param_name}} placeholders.
|
|
@@ -765,26 +753,26 @@ export type DashboardStatus = z.infer<typeof DashboardStatusSchema>;
|
|
|
765
753
|
* @deprecated Use single `query` field on Dashboard instead. Multiple queries
|
|
766
754
|
* prevent cross-panel interactivity. Use JOINs/CTEs in a single query.
|
|
767
755
|
*/
|
|
768
|
-
export type DashboardQuery =
|
|
756
|
+
export type DashboardQuery = Wire.DashboardQuery;
|
|
769
757
|
/**
|
|
770
758
|
* Panel position within the dashboard grid.
|
|
771
759
|
*
|
|
772
760
|
* @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
|
|
773
761
|
*/
|
|
774
|
-
export type DashboardPanelPosition =
|
|
762
|
+
export type DashboardPanelPosition = Wire.DashboardPanelPosition;
|
|
775
763
|
/**
|
|
776
764
|
* Dashboard panel with Vega/Vega-Lite visualization.
|
|
777
765
|
*
|
|
778
766
|
* @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
|
|
779
767
|
* Combined specs enable cross-panel interactivity (selections filtering other panels).
|
|
780
768
|
*/
|
|
781
|
-
export type DashboardPanel =
|
|
769
|
+
export type DashboardPanel = Wire.DashboardPanel;
|
|
782
770
|
/**
|
|
783
771
|
* Dashboard layout configuration.
|
|
784
772
|
*
|
|
785
773
|
* @deprecated Layout is now handled within the Vega-Lite spec via vconcat/hconcat.
|
|
786
774
|
*/
|
|
787
|
-
export type DashboardLayout =
|
|
775
|
+
export type DashboardLayout = Wire.DashboardLayout;
|
|
788
776
|
/**
|
|
789
777
|
* Default layout configuration for dashboards.
|
|
790
778
|
*
|
|
@@ -795,34 +783,34 @@ export declare const DEFAULT_DASHBOARD_LAYOUT: DashboardLayout;
|
|
|
795
783
|
* Elasticsearch DSL supported by dashboard data sources.
|
|
796
784
|
* Queries execute through Vertesia Store, so project/security filtering remains server-side.
|
|
797
785
|
*/
|
|
798
|
-
export type DashboardElasticsearchDsl =
|
|
786
|
+
export type DashboardElasticsearchDsl = Wire.DashboardElasticsearchDsl;
|
|
799
787
|
/**
|
|
800
788
|
* How an Elasticsearch DSL result should be converted into Vega rows.
|
|
801
789
|
*/
|
|
802
|
-
export type DashboardElasticsearchResultMapping =
|
|
790
|
+
export type DashboardElasticsearchResultMapping = Wire.DashboardElasticsearchResultMapping;
|
|
803
791
|
/**
|
|
804
792
|
* Dashboard data source backed by a Data Platform SQL query.
|
|
805
793
|
*/
|
|
806
|
-
export type DashboardSqlDataSource =
|
|
794
|
+
export type DashboardSqlDataSource = Wire.DashboardSqlDataSource;
|
|
807
795
|
/**
|
|
808
796
|
* Dashboard data source backed by Vertesia Store Elasticsearch DSL.
|
|
809
797
|
*/
|
|
810
|
-
export type DashboardStoreElasticsearchDataSource =
|
|
798
|
+
export type DashboardStoreElasticsearchDataSource = Wire.DashboardStoreElasticsearchDataSource;
|
|
811
799
|
/**
|
|
812
800
|
* Data source for a Vega dashboard.
|
|
813
801
|
*/
|
|
814
|
-
export type DashboardDataSource =
|
|
802
|
+
export type DashboardDataSource = Wire.DashboardDataSource;
|
|
815
803
|
/**
|
|
816
804
|
* Dashboard definition contributed by an app package.
|
|
817
805
|
*
|
|
818
806
|
* App dashboard IDs are local to the app. The platform exposes them as
|
|
819
807
|
* `app:<app_name>:<id>` when listing or retrieving dashboards.
|
|
820
808
|
*/
|
|
821
|
-
export type AppDashboardDefinition =
|
|
809
|
+
export type AppDashboardDefinition = Wire.AppDashboardDefinition;
|
|
822
810
|
/**
|
|
823
811
|
* Summary view of a dashboard (for listings).
|
|
824
812
|
*/
|
|
825
|
-
export type DashboardItem =
|
|
813
|
+
export type DashboardItem = Wire.DashboardItem;
|
|
826
814
|
/**
|
|
827
815
|
* Full dashboard with SQL query and Vega-Lite specification.
|
|
828
816
|
*
|
|
@@ -838,16 +826,16 @@ export type DashboardItem = z.infer<typeof DashboardItemSchema>;
|
|
|
838
826
|
* - `layout` for grid positioning
|
|
839
827
|
* - No cross-panel interactivity
|
|
840
828
|
*/
|
|
841
|
-
export type Dashboard =
|
|
829
|
+
export type Dashboard = Wire.Dashboard;
|
|
842
830
|
/**
|
|
843
831
|
* Payload for creating a new dashboard.
|
|
844
832
|
* Requires a data source and spec (Vega-Lite).
|
|
845
833
|
*/
|
|
846
|
-
export type CreateDashboardPayload =
|
|
834
|
+
export type CreateDashboardPayload = Wire.CreateDashboardPayload;
|
|
847
835
|
/**
|
|
848
836
|
* Payload for updating a dashboard.
|
|
849
837
|
*/
|
|
850
|
-
export type UpdateDashboardPayload =
|
|
838
|
+
export type UpdateDashboardPayload = Wire.UpdateDashboardPayload;
|
|
851
839
|
/**
|
|
852
840
|
* Options for rendering a dashboard.
|
|
853
841
|
*/
|
|
@@ -863,53 +851,52 @@ export interface RenderDashboardOptions {
|
|
|
863
851
|
* A point-in-time version of a dashboard.
|
|
864
852
|
* Stores full snapshot inline (no external storage needed for small JSON documents).
|
|
865
853
|
*/
|
|
866
|
-
export type DashboardVersion =
|
|
854
|
+
export type DashboardVersion = Wire.DashboardVersion;
|
|
867
855
|
/**
|
|
868
856
|
* Summary view of a dashboard version (for listings).
|
|
869
857
|
*/
|
|
870
|
-
export type DashboardVersionItem =
|
|
858
|
+
export type DashboardVersionItem = Wire.DashboardVersionItem;
|
|
871
859
|
/**
|
|
872
860
|
* Payload for creating a named snapshot.
|
|
873
861
|
*/
|
|
874
|
-
export type CreateDashboardSnapshotPayload =
|
|
862
|
+
export type CreateDashboardSnapshotPayload = Wire.CreateDashboardSnapshotPayload;
|
|
875
863
|
/**
|
|
876
864
|
* Payload for promoting a version to current.
|
|
877
865
|
*/
|
|
878
|
-
export type PromoteDashboardVersionPayload =
|
|
879
|
-
export type DataColumnUpdate =
|
|
866
|
+
export type PromoteDashboardVersionPayload = Wire.PromoteDashboardVersionPayload;
|
|
867
|
+
export type DataColumnUpdate = Wire.DataColumnUpdate;
|
|
880
868
|
export {};
|
|
881
869
|
|
|
882
870
|
// -----------------------------------------------------------------------------
|
|
883
871
|
// @vertesia/common: interaction.d.ts
|
|
884
872
|
// -----------------------------------------------------------------------------
|
|
885
873
|
import type { CompletionResult, ExecutionTokenUsage, JSONSchema, Modalities, PromptCacheDiagnostic, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
|
|
886
|
-
import type { z } from 'zod';
|
|
887
|
-
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';
|
|
888
|
-
import type { InteractionExecutionConfigurationSchema } from './api-schemas/store.js';
|
|
889
874
|
import type { ExecutionEnvironmentRef } from './environment.js';
|
|
875
|
+
import type { InferenceProfileSnapshot } from './inference-profile.js';
|
|
890
876
|
import type { ProjectRef } from './project.js';
|
|
891
877
|
import type { PopulatedPromptSegmentDef } from './prompt.js';
|
|
892
878
|
import type { TextArtifactReference } from './store/conversation-state.js';
|
|
893
879
|
import type { AccountRef } from './user.js';
|
|
880
|
+
import type * as Wire from './wire-types.generated.js';
|
|
894
881
|
/**
|
|
895
882
|
* `RunDataStorageLevel` and `ConfigModes` live in `./interaction-values.js` so the API schemas can
|
|
896
883
|
* read them without importing this module back. Re-exported here so every existing import path keeps
|
|
897
884
|
* working.
|
|
898
885
|
*/
|
|
899
886
|
export * from './interaction-values.js';
|
|
900
|
-
export type InteractionExecutionError =
|
|
887
|
+
export type InteractionExecutionError = Wire.InteractionExecutionError;
|
|
901
888
|
/**
|
|
902
889
|
* Configuration for stripping large data from conversation history
|
|
903
890
|
* to prevent JSON serialization issues and reduce storage bloat.
|
|
904
891
|
*/
|
|
905
|
-
export type ConversationStripOptions =
|
|
892
|
+
export type ConversationStripOptions = Wire.ConversationStripOptions;
|
|
906
893
|
/**
|
|
907
894
|
* Reference to an interaction in the catalog.
|
|
908
895
|
* Used in catalog listing. The id is composed of the namespace and the interaction name.
|
|
909
896
|
* Stored interactions can use `oid:` prefix.
|
|
910
897
|
* If no prefix is used it fallback on `oid:`.
|
|
911
898
|
*/
|
|
912
|
-
export type CatalogInteractionRef =
|
|
899
|
+
export type CatalogInteractionRef = Wire.CatalogInteractionRef;
|
|
913
900
|
export interface CatalogTagQuery {
|
|
914
901
|
tag?: string;
|
|
915
902
|
}
|
|
@@ -923,28 +910,23 @@ export interface ExecuteInteractionByEndpointQuery {
|
|
|
923
910
|
export interface ExecuteInteractionByEndpointHeaders {
|
|
924
911
|
'x-interaction-tag'?: string;
|
|
925
912
|
}
|
|
926
|
-
export
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
hasVideo?: boolean;
|
|
931
|
-
}
|
|
932
|
-
export type InCodePrompt = z.infer<typeof InCodePromptSchema>;
|
|
933
|
-
export type InCodeInteraction = z.infer<typeof InCodeInteractionSchema>;
|
|
934
|
-
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;
|
|
935
917
|
export type InteractionSpec = Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'>;
|
|
936
918
|
/**
|
|
937
919
|
* The payload to query the interaction endpoints
|
|
938
920
|
*/
|
|
939
|
-
export type InteractionEndpointQuery =
|
|
921
|
+
export type InteractionEndpointQuery = Wire.InteractionEndpointQuery;
|
|
940
922
|
/**
|
|
941
923
|
* A description of an interaction endpoint.
|
|
942
924
|
*/
|
|
943
|
-
export type InteractionEndpoint =
|
|
944
|
-
export type InteractionTags =
|
|
945
|
-
export type InteractionRef =
|
|
925
|
+
export type InteractionEndpoint = Wire.InteractionEndpoint;
|
|
926
|
+
export type InteractionTags = Wire.InteractionTags;
|
|
927
|
+
export type InteractionRef = Wire.InteractionRef;
|
|
946
928
|
/** An interaction reduced to the fields a name picker needs. */
|
|
947
|
-
export type InteractionName =
|
|
929
|
+
export type InteractionName = Wire.InteractionName;
|
|
948
930
|
/**
|
|
949
931
|
* An interaction reference carrying the schemas an export needs to reconstruct it.
|
|
950
932
|
*
|
|
@@ -953,8 +935,8 @@ export type InteractionName = z.infer<typeof InteractionNameSchema>;
|
|
|
953
935
|
* canonical alias — the alias publishes as a bare reference, with no members to omit — and the
|
|
954
936
|
* interface also overstated each prompt template, which an export populates with `inputSchema` alone.
|
|
955
937
|
*/
|
|
956
|
-
export type InteractionRefWithSchema =
|
|
957
|
-
export type InteractionsExportPayload =
|
|
938
|
+
export type InteractionRefWithSchema = Wire.InteractionRefWithSchema;
|
|
939
|
+
export type InteractionsExportPayload = Wire.InteractionsExportPayload;
|
|
958
940
|
export declare enum InteractionStatus {
|
|
959
941
|
draft = "draft",
|
|
960
942
|
published = "published",
|
|
@@ -972,13 +954,13 @@ export declare enum ExecutionRunStatus {
|
|
|
972
954
|
* Schema can be stored or specified as a reference to an external schema.
|
|
973
955
|
* We only support "store:" references for now
|
|
974
956
|
*/
|
|
975
|
-
export type SchemaRef =
|
|
976
|
-
export type CachePolicy =
|
|
977
|
-
export type InteractionVisibility =
|
|
978
|
-
export type Interaction =
|
|
979
|
-
export type InteractionCreatePayload =
|
|
980
|
-
export type InteractionUpdatePayload =
|
|
981
|
-
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;
|
|
982
964
|
export interface InteractionDeletePayload {
|
|
983
965
|
/**
|
|
984
966
|
* When true, also delete every interaction in the same family as the target:
|
|
@@ -988,10 +970,10 @@ export interface InteractionDeletePayload {
|
|
|
988
970
|
*/
|
|
989
971
|
cascade?: boolean;
|
|
990
972
|
}
|
|
991
|
-
export type InteractionForkPayload =
|
|
992
|
-
export type InteractionExecutionPayload =
|
|
993
|
-
export type NamedInteractionExecutionPayload =
|
|
994
|
-
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;
|
|
995
977
|
/**
|
|
996
978
|
* Defines the scope for agent search operations.
|
|
997
979
|
*/
|
|
@@ -1005,63 +987,63 @@ export declare enum AgentSearchScope {
|
|
|
1005
987
|
* Context triggers for auto-injection of skills.
|
|
1006
988
|
* When these conditions match, the skill is automatically injected into the agent context.
|
|
1007
989
|
*/
|
|
1008
|
-
export type SkillContextTriggers =
|
|
990
|
+
export type SkillContextTriggers = Wire.SkillContextTriggers;
|
|
1009
991
|
/**
|
|
1010
992
|
* Configuration options for Agent Runner functionality.
|
|
1011
993
|
* These options control how interactions are exposed and executed in the Agent Runner.
|
|
1012
994
|
*/
|
|
1013
|
-
export type AgentRunnerOptions =
|
|
995
|
+
export type AgentRunnerOptions = Wire.AgentRunnerOptions;
|
|
1014
996
|
export type { EmailChannel, EmailRouteData, InteractiveChannel, UserChannel, } from './email.js';
|
|
1015
997
|
export { isEmailChannel, isInteractiveChannel, } from './email.js';
|
|
1016
998
|
/**
|
|
1017
999
|
* A tool invocation executed before the first model turn of a conversation.
|
|
1018
1000
|
* Results are injected into the initial context so the agent starts with them in hand.
|
|
1019
1001
|
*/
|
|
1020
|
-
export type InitialToolCall =
|
|
1021
|
-
export type AsyncConversationExecutionPayload =
|
|
1022
|
-
export type AsyncInteractionExecutionPayload =
|
|
1002
|
+
export type InitialToolCall = Wire.InitialToolCall;
|
|
1003
|
+
export type AsyncConversationExecutionPayload = Wire.AsyncConversationExecutionPayload;
|
|
1004
|
+
export type AsyncInteractionExecutionPayload = Wire.AsyncInteractionExecutionPayload;
|
|
1023
1005
|
/**
|
|
1024
1006
|
* @discriminator type
|
|
1025
1007
|
*/
|
|
1026
|
-
export type AsyncExecutionPayload =
|
|
1027
|
-
export type AsyncExecutionResult =
|
|
1008
|
+
export type AsyncExecutionPayload = Wire.AsyncExecutionPayload;
|
|
1009
|
+
export type AsyncExecutionResult = Wire.AsyncExecutionResult;
|
|
1028
1010
|
/**
|
|
1029
1011
|
* Telemetry context for streaming mode.
|
|
1030
1012
|
* Contains info not available in current_state needed to send LlmCallEvent.
|
|
1031
1013
|
*/
|
|
1032
|
-
export type StreamingTelemetryContext =
|
|
1014
|
+
export type StreamingTelemetryContext = Wire.StreamingTelemetryContext;
|
|
1033
1015
|
/**
|
|
1034
1016
|
* Options for storing inference results to cloud storage
|
|
1035
1017
|
*/
|
|
1036
|
-
export type ResultStorageOptions =
|
|
1037
|
-
export type AsyncCompletionMode =
|
|
1018
|
+
export type ResultStorageOptions = Wire.ResultStorageOptions;
|
|
1019
|
+
export type AsyncCompletionMode = Wire.AsyncCompletionMode;
|
|
1038
1020
|
/**
|
|
1039
1021
|
* Streaming-specific options (only needed when stream=true)
|
|
1040
1022
|
*/
|
|
1041
|
-
export type StreamingOptions =
|
|
1023
|
+
export type StreamingOptions = Wire.StreamingOptions;
|
|
1042
1024
|
/**
|
|
1043
1025
|
* Options for async completion and/or streaming LLM responses
|
|
1044
1026
|
*/
|
|
1045
|
-
export type AsyncCompletionOptions =
|
|
1027
|
+
export type AsyncCompletionOptions = Wire.AsyncCompletionOptions;
|
|
1046
1028
|
/**
|
|
1047
1029
|
* The kinds of Vertesia resource an agent tool can report having created, updated, or deleted.
|
|
1048
1030
|
* Restricted to resources that have a real detail route to navigate to — do not emit a reference
|
|
1049
1031
|
* for a mutation with no meaningful navigation target. Add new kinds only once their route exists.
|
|
1050
1032
|
*/
|
|
1051
|
-
export type AgentResourceType =
|
|
1052
|
-
export type AgentResourceAction =
|
|
1033
|
+
export type AgentResourceType = Wire.AgentResourceType;
|
|
1034
|
+
export type AgentResourceAction = Wire.AgentResourceAction;
|
|
1053
1035
|
/**
|
|
1054
1036
|
* A navigable reference to a resource an agent tool mutated. Tools return these as tool-result
|
|
1055
1037
|
* metadata (see {@link ToolResultMeta.resources}); the conversation runtime promotes them onto the
|
|
1056
1038
|
* tool's completed lifecycle message so the UI can render deterministic deep links and an
|
|
1057
1039
|
* end-of-turn "resources changed" summary — independent of any link the model writes in prose.
|
|
1058
1040
|
*/
|
|
1059
|
-
export type AgentResourceReference =
|
|
1041
|
+
export type AgentResourceReference = Wire.AgentResourceReference;
|
|
1060
1042
|
/**
|
|
1061
1043
|
* Metadata a tool executor may attach to its result. Kept as an open record for forward
|
|
1062
1044
|
* compatibility while typing the fields the runtime interprets.
|
|
1063
1045
|
*/
|
|
1064
|
-
export type ToolResultMeta =
|
|
1046
|
+
export type ToolResultMeta = Wire.ToolResultMeta;
|
|
1065
1047
|
export interface ToolResultContent {
|
|
1066
1048
|
content: string;
|
|
1067
1049
|
/**
|
|
@@ -1089,12 +1071,12 @@ export interface ToolResultContent {
|
|
|
1089
1071
|
* rather than throwing, and an empty/absent label falls back to the id.
|
|
1090
1072
|
*/
|
|
1091
1073
|
export declare function normalizeAgentResources(value: unknown): AgentResourceReference[];
|
|
1092
|
-
export type ToolResult =
|
|
1074
|
+
export type ToolResult = Wire.ToolResult;
|
|
1093
1075
|
/**
|
|
1094
1076
|
* The payload to sent the tool responses back to the target LLM
|
|
1095
1077
|
*/
|
|
1096
|
-
export type ToolResultsPayload =
|
|
1097
|
-
export type UserMessagePayload =
|
|
1078
|
+
export type ToolResultsPayload = Wire.ToolResultsPayload;
|
|
1079
|
+
export type UserMessagePayload = Wire.UserMessagePayload;
|
|
1098
1080
|
export declare enum RunSourceTypes {
|
|
1099
1081
|
api = "api",
|
|
1100
1082
|
cli = "cli",
|
|
@@ -1104,8 +1086,8 @@ export declare enum RunSourceTypes {
|
|
|
1104
1086
|
system = "system",
|
|
1105
1087
|
schedule = "schedule"
|
|
1106
1088
|
}
|
|
1107
|
-
export type RunSource =
|
|
1108
|
-
export type ExecutionRunInteraction =
|
|
1089
|
+
export type RunSource = Wire.RunSource;
|
|
1090
|
+
export type ExecutionRunInteraction = Wire.ExecutionRunInteraction;
|
|
1109
1091
|
export interface BaseExecutionRun<P = unknown> {
|
|
1110
1092
|
readonly id: string;
|
|
1111
1093
|
/**
|
|
@@ -1145,6 +1127,7 @@ export interface BaseExecutionRun<P = unknown> {
|
|
|
1145
1127
|
account: AccountRef;
|
|
1146
1128
|
project: ProjectRef;
|
|
1147
1129
|
config: InteractionExecutionConfiguration;
|
|
1130
|
+
inference_profile?: InferenceProfileSnapshot;
|
|
1148
1131
|
error?: InteractionExecutionError;
|
|
1149
1132
|
source: RunSource;
|
|
1150
1133
|
/**
|
|
@@ -1168,8 +1151,8 @@ export interface ExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
|
1168
1151
|
export interface PopulatedExecutionRun<P = unknown> extends BaseExecutionRun<P> {
|
|
1169
1152
|
interaction?: ExecutionRunInteraction;
|
|
1170
1153
|
}
|
|
1171
|
-
export type ExecutionRunWorkflow =
|
|
1172
|
-
export type PromptModalities =
|
|
1154
|
+
export type ExecutionRunWorkflow = Wire.ExecutionRunWorkflow;
|
|
1155
|
+
export type PromptModalities = Wire.PromptModalities;
|
|
1173
1156
|
export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionRun<P>, 'account' | 'project' | 'interaction'> {
|
|
1174
1157
|
account: string;
|
|
1175
1158
|
project: string;
|
|
@@ -1178,19 +1161,19 @@ export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionR
|
|
|
1178
1161
|
conversation?: unknown;
|
|
1179
1162
|
options?: StatelessExecutionOptions;
|
|
1180
1163
|
}
|
|
1181
|
-
export type ExecutionRunRef =
|
|
1182
|
-
export type InteractionExecutionConfiguration =
|
|
1183
|
-
export type GenerateInteractionPayload =
|
|
1184
|
-
export type GenerateTestDataPayload =
|
|
1185
|
-
export type GeneratedTestDataRecord =
|
|
1186
|
-
export type ImprovePromptPayloadConfig =
|
|
1187
|
-
export type ImprovePromptPayload =
|
|
1188
|
-
export type GeneratedInteractionPromptTemplate =
|
|
1189
|
-
export type GeneratedInteractionPromptSegment =
|
|
1190
|
-
export type GeneratedInteractionDefinition =
|
|
1191
|
-
export type PromptImprovementResponse =
|
|
1192
|
-
export type RateLimitRequestPayload =
|
|
1193
|
-
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;
|
|
1194
1177
|
/**
|
|
1195
1178
|
* Source of the resolved model configuration
|
|
1196
1179
|
*/
|
|
@@ -1213,29 +1196,27 @@ export declare enum ModelSource {
|
|
|
1213
1196
|
/**
|
|
1214
1197
|
* Resolved environment information
|
|
1215
1198
|
*/
|
|
1216
|
-
export type ResolvedEnvironmentInfo =
|
|
1199
|
+
export type ResolvedEnvironmentInfo = Wire.ResolvedEnvironmentInfo;
|
|
1217
1200
|
/**
|
|
1218
1201
|
* Resolved runtime configuration for an interaction
|
|
1219
1202
|
*/
|
|
1220
|
-
export type ResolvedRuntimeConfig =
|
|
1203
|
+
export type ResolvedRuntimeConfig = Wire.ResolvedRuntimeConfig;
|
|
1221
1204
|
/**
|
|
1222
1205
|
* Resolved execution info for an interaction.
|
|
1223
1206
|
* Contains the interaction ID, basic metadata, and the resolved runtime configuration
|
|
1224
1207
|
* (environment, model) that would be used at execution time.
|
|
1225
1208
|
*/
|
|
1226
|
-
export type ResolvedInteractionExecutionInfo =
|
|
1209
|
+
export type ResolvedInteractionExecutionInfo = Wire.ResolvedInteractionExecutionInfo;
|
|
1227
1210
|
export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
|
|
1228
1211
|
prompts: PopulatedPromptSegmentDef[];
|
|
1229
1212
|
}
|
|
1230
|
-
export type UpdateExecutionRunPayload =
|
|
1213
|
+
export type UpdateExecutionRunPayload = Wire.UpdateExecutionRunPayload;
|
|
1231
1214
|
|
|
1232
1215
|
// -----------------------------------------------------------------------------
|
|
1233
1216
|
// @vertesia/common: prompt.d.ts
|
|
1234
1217
|
// -----------------------------------------------------------------------------
|
|
1235
1218
|
import type { JSONSchema, PromptRole } from '@llumiverse/common';
|
|
1236
|
-
import type
|
|
1237
|
-
import type { ExportedPromptTemplateRefSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema } from './api-schemas/interaction.js';
|
|
1238
|
-
import type { PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, RenderPromptPayloadSchema, RenderPromptResponseSchema } from './api-schemas/prompt.js';
|
|
1219
|
+
import type * as Wire from './wire-types.generated.js';
|
|
1239
1220
|
export interface ChatPromptSchema {
|
|
1240
1221
|
role: PromptRole.user | PromptRole.assistant;
|
|
1241
1222
|
content: string;
|
|
@@ -1264,7 +1245,7 @@ export interface PopulatedPromptSegmentDef extends Omit<PromptSegmentDef, 'templ
|
|
|
1264
1245
|
export interface ExecutablePromptSegmentDef extends Omit<PromptSegmentDef, 'template'> {
|
|
1265
1246
|
template?: ExecutablePromptTemplate;
|
|
1266
1247
|
}
|
|
1267
|
-
export type PromptTemplateRef =
|
|
1248
|
+
export type PromptTemplateRef = Wire.PromptTemplateRef;
|
|
1268
1249
|
export declare enum TemplateType {
|
|
1269
1250
|
jst = "jst",
|
|
1270
1251
|
handlebars = "handlebars",
|
|
@@ -1276,35 +1257,31 @@ export interface ExecutablePromptTemplate {
|
|
|
1276
1257
|
content_type: TemplateType;
|
|
1277
1258
|
inputSchema?: JSONSchema;
|
|
1278
1259
|
}
|
|
1279
|
-
export type PromptTemplate =
|
|
1280
|
-
export type InteractionPromptTemplateInput =
|
|
1281
|
-
export type InteractionPromptSegmentInput =
|
|
1282
|
-
export type PromptTemplateForkPayload =
|
|
1283
|
-
export type PromptTemplateCreatePayload =
|
|
1284
|
-
export type PromptTemplateUpdatePayload =
|
|
1285
|
-
export type PromptTemplateInteractionVersion =
|
|
1286
|
-
export type PromptTemplateInteractionUsage =
|
|
1287
|
-
export type PromptTemplateInteractionsResponse =
|
|
1288
|
-
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;
|
|
1289
1270
|
/**
|
|
1290
1271
|
* What `POST /prompts/:id/render` answers with: the segment identity plus the rendered body.
|
|
1291
1272
|
*
|
|
1292
1273
|
* Stated here for the first time — the endpoint declared its response inline, so there has never
|
|
1293
1274
|
* been a name for it on either side of the wire.
|
|
1294
1275
|
*/
|
|
1295
|
-
export type RenderPromptResponse =
|
|
1296
|
-
export type ExportedPromptTemplateRef =
|
|
1276
|
+
export type RenderPromptResponse = Wire.RenderPromptResponse;
|
|
1277
|
+
export type ExportedPromptTemplateRef = Wire.ExportedPromptTemplateRef;
|
|
1297
1278
|
|
|
1298
1279
|
// -----------------------------------------------------------------------------
|
|
1299
1280
|
// @vertesia/common: project.d.ts
|
|
1300
1281
|
// -----------------------------------------------------------------------------
|
|
1301
|
-
import type {
|
|
1302
|
-
import type { ProjectRefSchema } from './api-schemas/apikey.js';
|
|
1303
|
-
import type { EmbeddingsStatusResponseSchema, ProjectConfigurationEmbeddingEnablePayloadSchema } from './api-schemas/embeddings.js';
|
|
1304
|
-
import type { DriftAnalysisProgressSchema, DriftAnalysisResultSchema, DriftAnalysisStatusResponseSchema, IndexingStatusResponseSchema, ReindexAgentRunsPayloadSchema, ReindexAgentRunsResponseSchema, StartProjectReindexPayloadSchema } from './api-schemas/indexing.js';
|
|
1305
|
-
import type { CreateProjectPayloadFromSchema, ListProjectsQuerySchema, ProjectIntegrationListEntrySchema, ProjectIntegrationListResponseSchema, ProjectPluginsUpdatePayloadSchema, ProjectSchema, ProjectTagQuerySchema, UpdateProjectConfigurationPayloadSchema, UpdateProjectPayloadSchema } from './api-schemas/project.js';
|
|
1306
|
-
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';
|
|
1307
1283
|
import type { AccountRef } from './user.js';
|
|
1284
|
+
import type * as Wire from './wire-types.generated.js';
|
|
1308
1285
|
/**
|
|
1309
1286
|
* `SystemRoles` lives in `./project-values.js` so the API schemas can read it without importing this
|
|
1310
1287
|
* module back. Re-exported here so every existing import path keeps working.
|
|
@@ -1316,11 +1293,11 @@ export interface PopulatedProjectRef {
|
|
|
1316
1293
|
name: string;
|
|
1317
1294
|
account: AccountRef;
|
|
1318
1295
|
}
|
|
1319
|
-
export type ProjectRef =
|
|
1320
|
-
export type ProjectTagQuery =
|
|
1321
|
-
export type ListProjectsQuery =
|
|
1322
|
-
export type ModelDefault =
|
|
1323
|
-
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;
|
|
1324
1301
|
/**
|
|
1325
1302
|
* System interaction category enum.
|
|
1326
1303
|
* Categories group one or more system interactions for default model assignment.
|
|
@@ -1343,10 +1320,10 @@ export declare const SYSTEM_INTERACTION_CATEGORIES: Record<string, SystemInterac
|
|
|
1343
1320
|
* asserts that its keys are exactly the category union — a new category has to be added in both
|
|
1344
1321
|
* places, and fails to compile until it is.
|
|
1345
1322
|
*/
|
|
1346
|
-
export type SystemDefaults =
|
|
1347
|
-
export type ProjectModelDefaults =
|
|
1348
|
-
export type BrowserUseRiskPolicy =
|
|
1349
|
-
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;
|
|
1350
1327
|
/**
|
|
1351
1328
|
* Project defaults and caps for `browser_use` agent workstreams.
|
|
1352
1329
|
*
|
|
@@ -1354,17 +1331,18 @@ export type BrowserUseScreenshotCapture = z.infer<typeof BrowserUseScreenshotCap
|
|
|
1354
1331
|
* interface. Nothing read it, and its descriptions had already drifted from the TSDoc the published
|
|
1355
1332
|
* component was derived from — the schema module is now the only statement of the shape.
|
|
1356
1333
|
*/
|
|
1357
|
-
export type BrowserUseProjectConfiguration =
|
|
1358
|
-
export type ProjectSearchTier =
|
|
1359
|
-
export type ElasticsearchBackend =
|
|
1360
|
-
export type ProjectIntakeSniffConfiguration =
|
|
1361
|
-
export type ProjectIntakeConfiguration =
|
|
1362
|
-
export type ProjectConfiguration =
|
|
1363
|
-
export type AgentProjectConfiguration =
|
|
1364
|
-
export type AgentCheckpointConfiguration =
|
|
1365
|
-
export type
|
|
1366
|
-
export type
|
|
1367
|
-
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;
|
|
1368
1346
|
export declare enum SupportedEmbeddingTypes {
|
|
1369
1347
|
text = "text",
|
|
1370
1348
|
image = "image",
|
|
@@ -1380,19 +1358,19 @@ export declare const SearchTypes: {
|
|
|
1380
1358
|
readonly properties: SupportedEmbeddingTypes.properties;
|
|
1381
1359
|
readonly full_text: FullTextType.full_text;
|
|
1382
1360
|
};
|
|
1383
|
-
export type ProjectConfigurationEmbedding =
|
|
1384
|
-
export type ProjectConfigurationEmbeddingEnablePayload =
|
|
1385
|
-
export type Project =
|
|
1386
|
-
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;
|
|
1387
1365
|
export declare const ProjectRefPopulate = "id name account";
|
|
1388
|
-
export type EmbeddingsStatusResponse =
|
|
1366
|
+
export type EmbeddingsStatusResponse = Wire.EmbeddingsStatusResponse;
|
|
1389
1367
|
/**
|
|
1390
1368
|
* Response from indexing status endpoint
|
|
1391
1369
|
*/
|
|
1392
|
-
export type IndexingStatusResponse =
|
|
1393
|
-
export type StartProjectReindexPayload =
|
|
1394
|
-
export type ReindexAgentRunsPayload =
|
|
1395
|
-
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;
|
|
1396
1374
|
/**
|
|
1397
1375
|
* Indexed (`_source`) shape of the content type ref. Unlike the public
|
|
1398
1376
|
* ContentObjectTypeRef discriminated union, the index stores BOTH kinds under
|
|
@@ -1577,6 +1555,8 @@ export interface SwapAliasRequest {
|
|
|
1577
1555
|
backend?: ElasticsearchBackend;
|
|
1578
1556
|
/** ES alias name. If not provided, the Go service derives it from the tenant ID. */
|
|
1579
1557
|
alias?: string;
|
|
1558
|
+
/** Delete superseded versioned indices after the target has been validated. */
|
|
1559
|
+
cleanup?: boolean;
|
|
1580
1560
|
}
|
|
1581
1561
|
export interface SwapAliasResult {
|
|
1582
1562
|
status: string;
|
|
@@ -1735,38 +1715,37 @@ export interface AnalyzeDriftBatchResult {
|
|
|
1735
1715
|
sample_missing_ids: string[];
|
|
1736
1716
|
sample_stale_ids: string[];
|
|
1737
1717
|
}
|
|
1738
|
-
export type DriftAnalysisProgress =
|
|
1739
|
-
export type DriftAnalysisResult =
|
|
1740
|
-
export type DriftAnalysisStatusResponse =
|
|
1741
|
-
export type ProjectIntegrationListEntry =
|
|
1742
|
-
export type ProjectIntegrationListResponse =
|
|
1743
|
-
export type UpdateProjectPayload =
|
|
1744
|
-
export type UpdateProjectConfigurationPayload =
|
|
1745
|
-
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;
|
|
1746
1726
|
|
|
1747
1727
|
// -----------------------------------------------------------------------------
|
|
1748
1728
|
// @vertesia/common: runs.d.ts
|
|
1749
1729
|
// -----------------------------------------------------------------------------
|
|
1750
|
-
import type
|
|
1751
|
-
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';
|
|
1752
1731
|
/**
|
|
1753
1732
|
* The run ref is used to identify a run document in the storage
|
|
1754
1733
|
*/
|
|
1755
|
-
export type ExecutionRunDocRef =
|
|
1756
|
-
export type FindRunResult =
|
|
1757
|
-
export type FindRunResultArray =
|
|
1758
|
-
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;
|
|
1759
1738
|
/**
|
|
1760
1739
|
* Interaction execution payload for creating a new run
|
|
1761
1740
|
* It uses interaction field (from NamedInteractionExecutionPayload) to pass the interaction ID to run
|
|
1762
1741
|
*/
|
|
1763
|
-
export type RunCreatePayload =
|
|
1742
|
+
export type RunCreatePayload = Wire.RunCreatePayload;
|
|
1764
1743
|
/**
|
|
1765
1744
|
* Payload for cloning an existing ExecutionRun.
|
|
1766
1745
|
* Creates a new run document with the same interaction/config but fresh status.
|
|
1767
1746
|
* Used by fork flows to create a new ExecutionRun for the forked workflow.
|
|
1768
1747
|
*/
|
|
1769
|
-
export type RunClonePayload =
|
|
1748
|
+
export type RunClonePayload = Wire.RunClonePayload;
|
|
1770
1749
|
/**
|
|
1771
1750
|
* To be used as a value for a numeric or date filters
|
|
1772
1751
|
*/
|
|
@@ -1776,8 +1755,8 @@ export interface RangeValue {
|
|
|
1776
1755
|
lt?: number | string;
|
|
1777
1756
|
lte?: number | string;
|
|
1778
1757
|
}
|
|
1779
|
-
export type RunSearchMetaResponse =
|
|
1780
|
-
export type ComputeRunFacetsResponse =
|
|
1758
|
+
export type RunSearchMetaResponse = Wire.RunSearchMetaResponse;
|
|
1759
|
+
export type ComputeRunFacetsResponse = Wire.ComputeRunFacetsResponse;
|
|
1781
1760
|
|
|
1782
1761
|
// -----------------------------------------------------------------------------
|
|
1783
1762
|
// @vertesia/common: skill.d.ts
|
|
@@ -1851,15 +1830,9 @@ export interface InjectedSkill {
|
|
|
1851
1830
|
// -----------------------------------------------------------------------------
|
|
1852
1831
|
// @vertesia/common: store/store.d.ts
|
|
1853
1832
|
// -----------------------------------------------------------------------------
|
|
1854
|
-
import type { z } from 'zod';
|
|
1855
|
-
import type { ContentObjectTypeRefSchema, InCodeTypeRefSchema, StoredTypeRefSchema } from '../api-schemas/app-lifecycle.js';
|
|
1856
|
-
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';
|
|
1857
|
-
import type { MarkdownRenditionFormatSchema } from '../api-schemas/document-processing.js';
|
|
1858
|
-
import type { CreateWorkflowRulePayloadSchema, UpdateWorkflowRulePayloadSchema, WorkflowRuleItemSchema, WorkflowRuleSchema } from '../api-schemas/events.js';
|
|
1859
|
-
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';
|
|
1860
|
-
import type { ColumnLayoutSchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeExtractionGroundingPolicySchema, ContentTypeExtractionGroundingReviewPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, IntakePageRangesSchema, IntakePageScopeSchema, IntakeVisionDetailSchema, UpdateContentObjectTypePayloadSchema } from '../api-schemas/store.js';
|
|
1861
1833
|
import type { JSONObject } from '../json.js';
|
|
1862
1834
|
import type { SupportedEmbeddingTypes } from '../project.js';
|
|
1835
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
1863
1836
|
import type { BaseObject } from './common.js';
|
|
1864
1837
|
export declare enum ContentObjectApiHeaders {
|
|
1865
1838
|
COLLECTION_ID = "x-collection-id",
|
|
@@ -1871,11 +1844,11 @@ export declare enum ContentObjectApiHeaders {
|
|
|
1871
1844
|
*/
|
|
1872
1845
|
SUPPRESS_WORKFLOWS = "x-suppress-workflows"
|
|
1873
1846
|
}
|
|
1874
|
-
export type CreateContentObjectQuery =
|
|
1875
|
-
export type CreateContentObjectHeaders =
|
|
1876
|
-
export type UpdateContentObjectQuery =
|
|
1877
|
-
export type UpdateContentObjectHeaders =
|
|
1878
|
-
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;
|
|
1879
1852
|
/**
|
|
1880
1853
|
* Headers for Data Store API calls.
|
|
1881
1854
|
* Used for Cloud Run session affinity to route requests to the same instance.
|
|
@@ -1892,11 +1865,11 @@ export declare enum ContentObjectStatus {
|
|
|
1892
1865
|
failed = "failed",
|
|
1893
1866
|
archived = "archived"
|
|
1894
1867
|
}
|
|
1895
|
-
export type Embedding =
|
|
1896
|
-
export type ExportContentObjectsIncludeOptions =
|
|
1897
|
-
export type ExportContentObjectsFilter =
|
|
1898
|
-
export type StartContentObjectExportRequest =
|
|
1899
|
-
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;
|
|
1900
1873
|
export interface ZenoBulkContentObjectExportRequest extends Omit<StartContentObjectExportRequest, 'compression'> {
|
|
1901
1874
|
tenant_id: string;
|
|
1902
1875
|
project_id: string;
|
|
@@ -1953,23 +1926,23 @@ export interface ZenoBulkContentObjectExportComposeRequest extends ZenoBulkConte
|
|
|
1953
1926
|
*/
|
|
1954
1927
|
started_at?: string;
|
|
1955
1928
|
}
|
|
1956
|
-
export type ContentObjectExportResult =
|
|
1957
|
-
export type ContentObjectExportProgress =
|
|
1958
|
-
export type ContentObjectExportStatusResponse =
|
|
1959
|
-
export type ContentObjectExportArtifact =
|
|
1960
|
-
export type ContentObjectExportArtifactFile =
|
|
1961
|
-
export type ListContentObjectExportsResponse =
|
|
1962
|
-
export type DeleteContentObjectExportResponse =
|
|
1963
|
-
export type InheritedPropertyMetadata =
|
|
1964
|
-
export type ContentObjectUserPermissions =
|
|
1965
|
-
export type ContentObjectTextResponse =
|
|
1966
|
-
export type DeleteContentObjectResult =
|
|
1967
|
-
export type SetObjectEmbeddingsResponse =
|
|
1968
|
-
export type ContentObjectApiTypeRef =
|
|
1969
|
-
export type ContentObjectApiRevision =
|
|
1970
|
-
export type ContentObjectItemApiResponse =
|
|
1971
|
-
export type ContentObjectApiResponse =
|
|
1972
|
-
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;
|
|
1973
1946
|
export type FullObjectSearchResponse = Omit<ObjectSearchResponse, 'results'> & {
|
|
1974
1947
|
results: ContentObjectItemApiResponse[];
|
|
1975
1948
|
};
|
|
@@ -1985,6 +1958,13 @@ export interface ContentObject<T = JSONObject> extends ContentObjectItem<T> {
|
|
|
1985
1958
|
sensitivity?: number;
|
|
1986
1959
|
/** Compartments — set directly or inherited from collections (union across collections). */
|
|
1987
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;
|
|
1988
1968
|
/**
|
|
1989
1969
|
* Inherited properties metadata - tracks which properties were inherited from parent collections.
|
|
1990
1970
|
* Used to display readonly inherited properties in the UI and enable incremental sync optimization.
|
|
@@ -2007,7 +1987,7 @@ export interface Location {
|
|
|
2007
1987
|
latitude: number;
|
|
2008
1988
|
longitude: number;
|
|
2009
1989
|
}
|
|
2010
|
-
export type GenerationRunMetadata =
|
|
1990
|
+
export type GenerationRunMetadata = Wire.GenerationRunMetadata;
|
|
2011
1991
|
export interface Rendition {
|
|
2012
1992
|
name: string;
|
|
2013
1993
|
content: ContentSource;
|
|
@@ -2167,10 +2147,10 @@ interface GroundedMetadata {
|
|
|
2167
2147
|
source_text_etag?: string | null;
|
|
2168
2148
|
[key: string]: unknown;
|
|
2169
2149
|
}
|
|
2170
|
-
export type Transcript =
|
|
2171
|
-
export type TranscriptSegment =
|
|
2172
|
-
export type ContentSource =
|
|
2173
|
-
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;
|
|
2174
2154
|
/**
|
|
2175
2155
|
* The content object item is a simplified version of the ContentObject that is returned by the store API when listing objects.
|
|
2176
2156
|
*/
|
|
@@ -2232,19 +2212,19 @@ export interface ContentObjectItem<T = JSONObject> extends BaseObject {
|
|
|
2232
2212
|
*/
|
|
2233
2213
|
user_permissions?: ContentObjectUserPermissions;
|
|
2234
2214
|
}
|
|
2235
|
-
type CreateContentObjectPayloadWire =
|
|
2215
|
+
type CreateContentObjectPayloadWire = Wire.CreateContentObjectPayloadWire;
|
|
2236
2216
|
export type CreateContentObjectPayload<T = JSONObject> = Omit<CreateContentObjectPayloadWire, 'properties' | 'metadata'> & {
|
|
2237
2217
|
properties?: T;
|
|
2238
2218
|
/** Known metadata interfaces remain assignable; the runtime contract deliberately accepts any object keys. */
|
|
2239
2219
|
metadata?: ContentObjectItem['metadata'];
|
|
2240
2220
|
};
|
|
2241
2221
|
export declare function getContentTypeRefId(type: ContentObjectTypeRef): string;
|
|
2242
|
-
export type ContentObjectTypeRef =
|
|
2243
|
-
export type ComplexSearchPayload =
|
|
2244
|
-
export type ColumnLayout =
|
|
2245
|
-
export type ContentObjectTypeStatus =
|
|
2246
|
-
export type IntakeVisionDetail =
|
|
2247
|
-
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;
|
|
2248
2228
|
/**
|
|
2249
2229
|
* Inclusive `[start, end]` pairs.
|
|
2250
2230
|
*
|
|
@@ -2253,29 +2233,29 @@ export type IntakePageScope = z.infer<typeof IntakePageScopeSchema>;
|
|
|
2253
2233
|
* tuple, and reproducing it is what keeps the generated clients unchanged. The length is still
|
|
2254
2234
|
* enforced at runtime.
|
|
2255
2235
|
*/
|
|
2256
|
-
export type IntakePageRanges =
|
|
2257
|
-
export type ContentTypeExtractionGroundingReviewPolicy =
|
|
2258
|
-
export type ContentTypeExtractionGroundingPolicy =
|
|
2259
|
-
export type ContentTypeIntakePolicy =
|
|
2260
|
-
export type ContentTypeEditingPolicy =
|
|
2261
|
-
export type ContentObjectType =
|
|
2262
|
-
export type ContentObjectTypeItem =
|
|
2263
|
-
export type InCodeTypeDefinition =
|
|
2264
|
-
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;
|
|
2265
2245
|
/**
|
|
2266
2246
|
* The itnerface to be used whend efining types in a plugin app.
|
|
2267
2247
|
*/
|
|
2268
2248
|
export type InCodeTypeSpec = Omit<InCodeTypeDefinition, 'id'>;
|
|
2269
|
-
export type CreateContentObjectTypePayload =
|
|
2270
|
-
export type UpdateContentObjectTypePayload =
|
|
2249
|
+
export type CreateContentObjectTypePayload = Wire.CreateContentObjectTypePayload;
|
|
2250
|
+
export type UpdateContentObjectTypePayload = Wire.UpdateContentObjectTypePayload;
|
|
2271
2251
|
export declare enum WorkflowRuleInputType {
|
|
2272
2252
|
single = "single",
|
|
2273
2253
|
multiple = "multiple",
|
|
2274
2254
|
none = "none"
|
|
2275
2255
|
}
|
|
2276
|
-
export type WorkflowRuleItem =
|
|
2277
|
-
export type WorkflowRule =
|
|
2278
|
-
export type CreateWorkflowRulePayload =
|
|
2256
|
+
export type WorkflowRuleItem = Wire.WorkflowRuleItem;
|
|
2257
|
+
export type WorkflowRule = Wire.WorkflowRule;
|
|
2258
|
+
export type CreateWorkflowRulePayload = Wire.CreateWorkflowRulePayload;
|
|
2279
2259
|
export interface UploadWorkflowRulePayload extends Partial<Omit<WorkflowRule, 'id' | 'created_at' | 'updated_at' | 'owner'>> {
|
|
2280
2260
|
}
|
|
2281
2261
|
export declare enum ImageRenditionFormat {
|
|
@@ -2287,7 +2267,7 @@ export declare const MarkdownRenditionFormat: {
|
|
|
2287
2267
|
readonly docx: 'docx';
|
|
2288
2268
|
readonly pdf: 'pdf';
|
|
2289
2269
|
};
|
|
2290
|
-
export type MarkdownRenditionFormat =
|
|
2270
|
+
export type MarkdownRenditionFormat = Wire.MarkdownRenditionFormat;
|
|
2291
2271
|
export interface GetRenditionParams {
|
|
2292
2272
|
format: ImageRenditionFormat | MarkdownRenditionFormat;
|
|
2293
2273
|
max_hw?: number;
|
|
@@ -2295,8 +2275,8 @@ export interface GetRenditionParams {
|
|
|
2295
2275
|
sign_url?: boolean;
|
|
2296
2276
|
block_on_generation?: boolean;
|
|
2297
2277
|
}
|
|
2298
|
-
export type GetRenditionResponse =
|
|
2299
|
-
export type ObjectSearchResponse =
|
|
2278
|
+
export type GetRenditionResponse = Wire.GetRenditionResponse;
|
|
2279
|
+
export type ObjectSearchResponse = Wire.ObjectSearchResponse;
|
|
2300
2280
|
type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
|
|
2301
2281
|
/**
|
|
2302
2282
|
* Check if a specific rendition format can be generated from a content type.
|
|
@@ -2311,30 +2291,30 @@ type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
|
|
|
2311
2291
|
* canGenerateRendition('text/markdown', MarkdownRenditionFormat.pdf) // true
|
|
2312
2292
|
*/
|
|
2313
2293
|
export declare function canGenerateRendition(contentType: string | undefined, format: RenditionFormat | string): boolean;
|
|
2314
|
-
export type GetUploadUrlPayload =
|
|
2315
|
-
export type GetFileUrlPayload =
|
|
2316
|
-
export type GetFileUrlResponse =
|
|
2317
|
-
export type EnsureBucketReadAccessPayload =
|
|
2318
|
-
export type EnsureBucketReadAccessResponse =
|
|
2319
|
-
export type BucketReadAccessStatusResponse =
|
|
2320
|
-
export type EnsureBucketCreateAccessPayload =
|
|
2321
|
-
export type EnsureBucketCreateAccessResponse =
|
|
2322
|
-
export type BucketCreateAccessStatusResponse =
|
|
2323
|
-
export type FileMetadataResponse =
|
|
2324
|
-
export type SetFileMetadataPayload =
|
|
2325
|
-
export type FileMetadataUpdateResult =
|
|
2326
|
-
export type BulkUploadUrlsPayload =
|
|
2327
|
-
export type BulkUploadUrlsResponse =
|
|
2328
|
-
export type FileBucketResponse =
|
|
2329
|
-
export type FileListResponse =
|
|
2330
|
-
export type FileMetadataQuery =
|
|
2331
|
-
export type FileListQuery =
|
|
2332
|
-
export type FileDeleteQuery =
|
|
2333
|
-
export type ContentObjectTypeCatalogQuery =
|
|
2334
|
-
export type ContentObjectTypeListQuery =
|
|
2335
|
-
export type CopyFilePayload =
|
|
2336
|
-
export type CopyFileResponse =
|
|
2337
|
-
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;
|
|
2338
2318
|
export declare enum ContentObjectProcessingPriority {
|
|
2339
2319
|
normal = "normal",
|
|
2340
2320
|
low = "low"
|
|
@@ -2392,9 +2372,9 @@ export declare function getSupportedRenditionFormats(contentType: string | undef
|
|
|
2392
2372
|
* supportsVisualRendition('text/markdown') // false
|
|
2393
2373
|
*/
|
|
2394
2374
|
export declare function supportsVisualRendition(contentType: string | undefined): boolean;
|
|
2395
|
-
export type InCodeTypeRef =
|
|
2396
|
-
export type StoredTypeRef =
|
|
2397
|
-
type UpdateContentObjectPayloadWire =
|
|
2375
|
+
export type InCodeTypeRef = Wire.InCodeTypeRef;
|
|
2376
|
+
export type StoredTypeRef = Wire.StoredTypeRef;
|
|
2377
|
+
type UpdateContentObjectPayloadWire = Wire.UpdateContentObjectPayloadWire;
|
|
2398
2378
|
/**
|
|
2399
2379
|
* Mirrors {@link CreateContentObjectPayload}: `properties` and `metadata` are reopened over the wire
|
|
2400
2380
|
* type so the known metadata interfaces stay assignable and callers can name their property shape.
|
|
@@ -2404,21 +2384,20 @@ export type UpdateContentObjectPayload<T = JSONObject> = Omit<UpdateContentObjec
|
|
|
2404
2384
|
properties?: T;
|
|
2405
2385
|
metadata?: ContentObjectItem['metadata'];
|
|
2406
2386
|
};
|
|
2407
|
-
export type UpdateWorkflowRulePayload =
|
|
2387
|
+
export type UpdateWorkflowRulePayload = Wire.UpdateWorkflowRulePayload;
|
|
2408
2388
|
export {};
|
|
2409
2389
|
|
|
2410
2390
|
// -----------------------------------------------------------------------------
|
|
2411
2391
|
// @vertesia/common: store/collections.d.ts
|
|
2412
2392
|
// -----------------------------------------------------------------------------
|
|
2413
|
-
import type
|
|
2414
|
-
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';
|
|
2415
2394
|
import type { BaseObject } from './common.js';
|
|
2416
2395
|
import type { ColumnLayout, ContentObjectTypeRef } from './store.js';
|
|
2417
2396
|
export declare enum CollectionStatus {
|
|
2418
2397
|
active = "active",
|
|
2419
2398
|
archived = "archived"
|
|
2420
2399
|
}
|
|
2421
|
-
export type CreateCollectionPayload =
|
|
2400
|
+
export type CreateCollectionPayload = Wire.CreateCollectionPayload;
|
|
2422
2401
|
export interface CollectionItem extends BaseObject {
|
|
2423
2402
|
/**
|
|
2424
2403
|
* A flag to indicate if the collection is dynamic or static.
|
|
@@ -2448,7 +2427,7 @@ export interface CollectionItem extends BaseObject {
|
|
|
2448
2427
|
*/
|
|
2449
2428
|
allowed_types?: string[];
|
|
2450
2429
|
}
|
|
2451
|
-
export type Collection =
|
|
2430
|
+
export type Collection = Wire.Collection;
|
|
2452
2431
|
export interface DynamicCollection extends Collection {
|
|
2453
2432
|
dynamic: true;
|
|
2454
2433
|
}
|
|
@@ -2462,47 +2441,45 @@ export interface CollectionSearchPayload {
|
|
|
2462
2441
|
type?: string;
|
|
2463
2442
|
types?: string[];
|
|
2464
2443
|
}
|
|
2465
|
-
export type CollectionMembersUpdateResult =
|
|
2466
|
-
export type CollectionSecuritySettingsResponse =
|
|
2467
|
-
export type CollectionPropagationResponse =
|
|
2468
|
-
export type CollectionChildrenUpdateResult =
|
|
2469
|
-
export type CollectionMembersUpdatePayload =
|
|
2470
|
-
export type CollectionChildrenUpdatePayload =
|
|
2471
|
-
export type CollectionMembersQuery =
|
|
2472
|
-
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;
|
|
2473
2452
|
|
|
2474
2453
|
// -----------------------------------------------------------------------------
|
|
2475
2454
|
// @vertesia/common: store/process.d.ts
|
|
2476
2455
|
// -----------------------------------------------------------------------------
|
|
2477
|
-
import type { z } from 'zod';
|
|
2478
|
-
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';
|
|
2479
|
-
import type { ProcessAgentExecutionPolicySchema, ProcessAgentPhaseResetSchema, ProcessAgentToolInputContainsSchema, ProcessAgentToolPhaseSchema } from '../api-schemas/process-agent-policy.js';
|
|
2480
2456
|
import type { JSONSchema } from '../json-schema.js';
|
|
2481
|
-
|
|
2482
|
-
export type
|
|
2483
|
-
export type
|
|
2484
|
-
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;
|
|
2485
2462
|
export declare const PROCESS_DEFINITION_FORMAT_VERSION: 1;
|
|
2486
|
-
export type ProcessDefinitionFormatVersion =
|
|
2487
|
-
export type ProcessNodeType =
|
|
2488
|
-
export type TransitionTrigger =
|
|
2489
|
-
export type ParallelFailurePolicy =
|
|
2490
|
-
export type ProcessNodeRunType =
|
|
2491
|
-
export type ParallelCollectMode =
|
|
2492
|
-
export type BranchJoinPolicy =
|
|
2493
|
-
export type ProcessDefinitionMetadata =
|
|
2494
|
-
export type ProcessAgentToolPhase =
|
|
2495
|
-
export type ProcessAgentToolInputContains =
|
|
2496
|
-
export type ProcessAgentPhaseReset =
|
|
2497
|
-
export type ProcessAgentExecutionPolicy =
|
|
2498
|
-
export type ProcessScriptLanguage =
|
|
2499
|
-
export type ProcessScriptInlineSource =
|
|
2500
|
-
export type ProcessScriptSource =
|
|
2501
|
-
export type ProcessScriptResource =
|
|
2502
|
-
export type ProcessResourcesDefinition =
|
|
2503
|
-
export type ParallelCollectField =
|
|
2504
|
-
export type TransitionDefinition =
|
|
2505
|
-
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;
|
|
2506
2483
|
export interface BranchNodeBranchDefinition {
|
|
2507
2484
|
id: string;
|
|
2508
2485
|
title?: string;
|
|
@@ -2510,9 +2487,9 @@ export interface BranchNodeBranchDefinition {
|
|
|
2510
2487
|
node: NodeDefinition;
|
|
2511
2488
|
metadata?: ProcessDefinitionMetadata;
|
|
2512
2489
|
}
|
|
2513
|
-
export type HumanTaskDefinition =
|
|
2514
|
-
export type ProcessNodeReturnsDefinition =
|
|
2515
|
-
export type ParallelCollectDefinition =
|
|
2490
|
+
export type HumanTaskDefinition = Wire.HumanTaskDefinition;
|
|
2491
|
+
export type ProcessNodeReturnsDefinition = Wire.ProcessNodeReturnsDefinition;
|
|
2492
|
+
export type ParallelCollectDefinition = Wire.ParallelCollectDefinition;
|
|
2516
2493
|
export interface NodeDefinition {
|
|
2517
2494
|
type: ProcessNodeType;
|
|
2518
2495
|
tool?: string;
|
|
@@ -2581,7 +2558,7 @@ export interface NodeDefinition {
|
|
|
2581
2558
|
branches?: BranchDefinition[] | BranchNodeBranchDefinition[];
|
|
2582
2559
|
metadata?: ProcessDefinitionMetadata;
|
|
2583
2560
|
}
|
|
2584
|
-
export type ProcessContextDefinition =
|
|
2561
|
+
export type ProcessContextDefinition = Wire.ProcessContextDefinition;
|
|
2585
2562
|
export interface ProcessDefinitionBody {
|
|
2586
2563
|
format_version: ProcessDefinitionFormatVersion;
|
|
2587
2564
|
process: string;
|
|
@@ -2606,7 +2583,7 @@ export interface InCodeProcessDefinition {
|
|
|
2606
2583
|
tags?: string[];
|
|
2607
2584
|
definition: ProcessDefinitionBody;
|
|
2608
2585
|
}
|
|
2609
|
-
export type ProcessDefinitionRevisionInfo =
|
|
2586
|
+
export type ProcessDefinitionRevisionInfo = Wire.ProcessDefinitionRevisionInfo;
|
|
2610
2587
|
export interface ProcessDefinition {
|
|
2611
2588
|
id: string;
|
|
2612
2589
|
edit_revision: number;
|
|
@@ -2624,15 +2601,18 @@ export interface ProcessDefinition {
|
|
|
2624
2601
|
created_by: string;
|
|
2625
2602
|
updated_by: string;
|
|
2626
2603
|
}
|
|
2627
|
-
export type NodeHistoryEntry =
|
|
2628
|
-
export type ProcessHistoryRef =
|
|
2604
|
+
export type NodeHistoryEntry = Wire.NodeHistoryEntry;
|
|
2605
|
+
export type ProcessHistoryRef = Wire.ProcessHistoryRef;
|
|
2629
2606
|
export interface ProcessHistoryCheckpoint {
|
|
2630
2607
|
sequence: number;
|
|
2631
2608
|
current_node: string;
|
|
2632
2609
|
written_at: Date | string;
|
|
2633
2610
|
entries: NodeHistoryEntry[];
|
|
2634
2611
|
}
|
|
2635
|
-
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;
|
|
2636
2616
|
export interface CreateProcessDefinitionPayload {
|
|
2637
2617
|
name: string;
|
|
2638
2618
|
description?: string;
|
|
@@ -2663,61 +2643,55 @@ export interface UpdateProcessDefinitionPayload {
|
|
|
2663
2643
|
tags?: string[];
|
|
2664
2644
|
definition?: ProcessDefinitionBody;
|
|
2665
2645
|
}
|
|
2666
|
-
export type PublishProcessDefinitionPayload =
|
|
2667
|
-
export type RevertProcessDefinitionPayload =
|
|
2668
|
-
export type AdvanceProcessPayload =
|
|
2669
|
-
export type AnswerProcessTaskPayload =
|
|
2670
|
-
export type RetryProcessNodePayload =
|
|
2671
|
-
export type ProcessContextResponse =
|
|
2672
|
-
export type ProcessHistoryResponse =
|
|
2673
|
-
export type ProcessTestRunStatus =
|
|
2674
|
-
export type ProcessTestVirtualActor =
|
|
2675
|
-
export type ProcessTestFixtureResult =
|
|
2676
|
-
export type ProcessTestFixtureError =
|
|
2677
|
-
export type ProcessTestFixtureResponse =
|
|
2678
|
-
export type ProcessTestNodeFixture =
|
|
2679
|
-
export type ProcessTestHumanAction =
|
|
2680
|
-
export type ProcessTestAssertions =
|
|
2681
|
-
export type ProcessTestScenario =
|
|
2682
|
-
export type ProcessTestSuite =
|
|
2683
|
-
export type CreateProcessTestSuitePayload =
|
|
2684
|
-
export type UpdateProcessTestSuitePayload =
|
|
2685
|
-
export type StartProcessTestRunPayload =
|
|
2686
|
-
export type ProcessTestAssertionResult =
|
|
2687
|
-
export type ProcessTestActorDecision =
|
|
2688
|
-
export type ProcessTestCoverage =
|
|
2689
|
-
export type ProcessTestChildTrace =
|
|
2690
|
-
export type ProcessTestScenarioResult =
|
|
2691
|
-
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'> & {
|
|
2692
2672
|
process_definition_snapshot: ProcessDefinitionBody;
|
|
2693
2673
|
};
|
|
2694
|
-
export type ProcessTestStoredSubject =
|
|
2695
|
-
export type ProcessTestResolvedSubject =
|
|
2696
|
-
export type ProcessTestInlineSubject =
|
|
2697
|
-
export type ProcessTestSubject =
|
|
2698
|
-
export type ProcessTestTargetById =
|
|
2699
|
-
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'> & {
|
|
2700
2680
|
definition: ProcessDefinitionBody;
|
|
2701
2681
|
};
|
|
2702
2682
|
export type ProcessTestTarget = ProcessTestTargetById | ProcessTestTargetWithDefinition;
|
|
2703
|
-
export type SubmitProcessTestRunPayload = Omit<
|
|
2683
|
+
export type SubmitProcessTestRunPayload = Omit<Wire.SubmitProcessTestRunPayloadWire, 'process'> & {
|
|
2704
2684
|
process: ProcessTestTarget;
|
|
2705
2685
|
};
|
|
2706
|
-
export type UpdateProcessTestScenarioPayload =
|
|
2686
|
+
export type UpdateProcessTestScenarioPayload = Wire.UpdateProcessTestScenarioPayload;
|
|
2707
2687
|
|
|
2708
2688
|
// -----------------------------------------------------------------------------
|
|
2709
2689
|
// @vertesia/common: store/workflow.d.ts
|
|
2710
2690
|
// -----------------------------------------------------------------------------
|
|
2711
2691
|
import type { HttpTimeoutOptions, ModelOptions } from '@llumiverse/common';
|
|
2712
|
-
import type { z } from 'zod';
|
|
2713
|
-
import type { AgentMessageDetailsSchema, CompactMessageSchema, ConversationFileSchema } from '../api-schemas/agent-runs.js';
|
|
2714
|
-
import type { ConversationActivityStateSchema } from '../api-schemas/app-lifecycle.js';
|
|
2715
|
-
import type { WorkflowExecutionStatusSchema } from '../api-schemas/document-processing.js';
|
|
2716
|
-
import type { PlanSchema, PlanTaskSchema, WorkflowAncestorSchema } from '../api-schemas/interaction.js';
|
|
2717
|
-
import type { WorkflowExecutionStartResultSchema } from '../api-schemas/process.js';
|
|
2718
|
-
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';
|
|
2719
2692
|
import type { AgentResourceReference, InteractionExecutionConfiguration } from '../interaction.js';
|
|
2720
2693
|
import type { SupportedEmbeddingTypes } from '../project.js';
|
|
2694
|
+
import type * as Wire from '../wire-types.generated.js';
|
|
2721
2695
|
import type { WorkflowInput } from './dsl-workflow.js';
|
|
2722
2696
|
export declare enum ContentEventName {
|
|
2723
2697
|
create = "create",
|
|
@@ -2734,7 +2708,7 @@ export interface Queue {
|
|
|
2734
2708
|
queue_suffix?: string;
|
|
2735
2709
|
queue_full_name?: string;
|
|
2736
2710
|
}
|
|
2737
|
-
export type WorkflowAncestor =
|
|
2711
|
+
export type WorkflowAncestor = Wire.WorkflowAncestor;
|
|
2738
2712
|
export interface WorkflowExecutionBaseParams<T = Record<string, unknown>> {
|
|
2739
2713
|
/** Effective principal for private scheduled runs; server supplied. */
|
|
2740
2714
|
subject?: string;
|
|
@@ -2850,12 +2824,12 @@ export interface WorkflowExecutionPayload<T = Record<string, unknown>, EventName
|
|
|
2850
2824
|
auth_token: string;
|
|
2851
2825
|
}
|
|
2852
2826
|
export declare function getDocumentIds(payload: WorkflowExecutionPayload<Record<string, unknown>>): string[];
|
|
2853
|
-
export type ExecuteWorkflowPayload =
|
|
2854
|
-
export type ConversationActivityState =
|
|
2855
|
-
export type ListWorkflowRunsPayload =
|
|
2856
|
-
export type SignalEventProperties =
|
|
2857
|
-
export type EventError =
|
|
2858
|
-
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;
|
|
2859
2833
|
export declare enum TaskStatus {
|
|
2860
2834
|
SCHEDULED = "scheduled",
|
|
2861
2835
|
RUNNING = "running",
|
|
@@ -2873,27 +2847,27 @@ export declare enum TaskType {
|
|
|
2873
2847
|
SIGNAL = "signal",
|
|
2874
2848
|
TIMER = "timer"
|
|
2875
2849
|
}
|
|
2876
|
-
export type ActivityTask =
|
|
2877
|
-
export type ChildWorkflowTask =
|
|
2878
|
-
export type SignalTask =
|
|
2879
|
-
export type TimerTask =
|
|
2880
|
-
export type WorkflowTask =
|
|
2881
|
-
export type WorkflowHistory =
|
|
2882
|
-
export type AgentTask =
|
|
2883
|
-
export type WorkflowRun =
|
|
2884
|
-
export type PendingActivity =
|
|
2885
|
-
export type WorkflowRunWithDetails =
|
|
2886
|
-
export type ListWorkflowRunsResponse =
|
|
2887
|
-
export type WorkflowExecutionStartResult =
|
|
2888
|
-
export type ListWorkflowInteractionsResponse =
|
|
2889
|
-
export type WorkflowRunUpdatesResponse =
|
|
2890
|
-
export type WorkflowRunDetailsQuery =
|
|
2891
|
-
export type WorkflowRunUpdatesQuery =
|
|
2892
|
-
export type WorkflowRunStreamQuery =
|
|
2893
|
-
export type WorkflowUpdatePublishResponse =
|
|
2894
|
-
export type WorkflowActionResponse =
|
|
2895
|
-
export type WorkflowQueryResult =
|
|
2896
|
-
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;
|
|
2897
2871
|
export declare const WorkflowExecutionStatusValues: {
|
|
2898
2872
|
readonly UNKNOWN: 0;
|
|
2899
2873
|
readonly RUNNING: 1;
|
|
@@ -2905,7 +2879,7 @@ export declare const WorkflowExecutionStatusValues: {
|
|
|
2905
2879
|
readonly TIMED_OUT: 7;
|
|
2906
2880
|
};
|
|
2907
2881
|
export declare const WorkflowExecutionStatus: typeof WorkflowExecutionStatusValues & Readonly<Record<number, string>>;
|
|
2908
|
-
export type WorkflowExecutionStatus =
|
|
2882
|
+
export type WorkflowExecutionStatus = Wire.WorkflowExecutionStatus;
|
|
2909
2883
|
/**
|
|
2910
2884
|
* Basic response for anything run with an async workflow
|
|
2911
2885
|
*/
|
|
@@ -2942,7 +2916,7 @@ export declare enum AgentMessageType {
|
|
|
2942
2916
|
BATCH_PROGRESS = 13,
|
|
2943
2917
|
RESTARTING = 14
|
|
2944
2918
|
}
|
|
2945
|
-
export type AgentMessageDetails =
|
|
2919
|
+
export type AgentMessageDetails = Wire.AgentMessageDetails;
|
|
2946
2920
|
/**
|
|
2947
2921
|
* Details for THOUGHT messages representing tool calls (event_class: 'activity').
|
|
2948
2922
|
*/
|
|
@@ -2986,7 +2960,7 @@ export interface StreamingChunkDetails {
|
|
|
2986
2960
|
* Primary type used throughout the system.
|
|
2987
2961
|
* ~85% smaller than legacy AgentMessage format.
|
|
2988
2962
|
*/
|
|
2989
|
-
export type CompactMessage =
|
|
2963
|
+
export type CompactMessage = Wire.CompactMessage;
|
|
2990
2964
|
/**
|
|
2991
2965
|
* Legacy message format for backward compatibility.
|
|
2992
2966
|
* @deprecated Use CompactMessage instead
|
|
@@ -3079,7 +3053,7 @@ export declare enum FileProcessingStatus {
|
|
|
3079
3053
|
/** File processing failed */
|
|
3080
3054
|
ERROR = "error"
|
|
3081
3055
|
}
|
|
3082
|
-
export type ConversationFile =
|
|
3056
|
+
export type ConversationFile = Wire.ConversationFile;
|
|
3083
3057
|
/**
|
|
3084
3058
|
* Details for file processing SYSTEM messages.
|
|
3085
3059
|
* Used when type is AgentMessageType.SYSTEM with system_type: 'file_processing'.
|
|
@@ -3146,8 +3120,8 @@ export interface ConversationFileRemovedRef {
|
|
|
3146
3120
|
/** Client-generated unique ID */
|
|
3147
3121
|
id: string;
|
|
3148
3122
|
}
|
|
3149
|
-
export type PlanTask =
|
|
3150
|
-
export type Plan =
|
|
3123
|
+
export type PlanTask = Wire.PlanTask;
|
|
3124
|
+
export type Plan = Wire.Plan;
|
|
3151
3125
|
export declare const LOW_PRIORITY_TASK_QUEUE = "low_priority";
|
|
3152
3126
|
/**
|
|
3153
3127
|
* WebSocket message types for bidirectional communication
|