@vertesia/appgen-docs 1.6.0-dev.20260918.115658Z → 1.6.0-dev.20261004.085740Z

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,8 @@ export { default as DelegationGrantsApi } from './DelegationGrantsApi.js';
20
20
  export type { GroupsQueryOptions } from './GroupsApi.js';
21
21
  export * from './InteractionBase.js';
22
22
  export * from './InteractionOutput.js';
23
+ export { default as InternalAccountsApi } from './InternalAccountsApi.js';
24
+ export { default as InternalRunBudgetsApi } from './InternalRunBudgetsApi.js';
23
25
  export { default as InternalSecretsApi } from './InternalSecretsApi.js';
24
26
  export * from './managed-sse.js';
25
27
  export { default as OAuthClientsApi } from './OAuthClientsApi.js';
@@ -39,6 +41,7 @@ export type { AsyncExecutionResult };
39
41
  // @vertesia/client: client.d.ts
40
42
  // -----------------------------------------------------------------------------
41
43
  import { AbstractFetchClient, type FETCH_FN, type IRequestRetryPolicy } from '@vertesia/api-fetch-client';
44
+ import type { AppSessionTokenRequest, AppSessionTokenResponse } from '@vertesia/common';
42
45
  import { type AuthTokenPayload, type AuthTokenResponse } from '@vertesia/common';
43
46
  import AccountApi from './AccountApi.js';
44
47
  import AccountsApi from './AccountsApi.js';
@@ -50,7 +53,10 @@ import CommandsApi from './CommandsApi.js';
50
53
  import DelegationGrantsApi from './DelegationGrantsApi.js';
51
54
  import EnvironmentsApi from './EnvironmentsApi.js';
52
55
  import { IamApi } from './IamApi.js';
56
+ import InferenceProfilesApi from './InferenceProfilesApi.js';
57
+ import InteractionConfigurationsApi from './InteractionConfigurationsApi.js';
53
58
  import InteractionsApi from './InteractionsApi.js';
59
+ import InternalRunBudgetsApi from './InternalRunBudgetsApi.js';
54
60
  import InternalSecretsApi from './InternalSecretsApi.js';
55
61
  import OAuthClientsApi from './OAuthClientsApi.js';
56
62
  import OAuthGrantsApi from './OAuthGrantsApi.js';
@@ -123,6 +129,7 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
123
129
  remoteMcpConnections: RemoteMcpConnectionsApi;
124
130
  secrets: SecretsApi;
125
131
  internalSecrets: InternalSecretsApi;
132
+ internalRunBudgets: InternalRunBudgetsApi;
126
133
  /**
127
134
  * Create a client from the given token.
128
135
  * If you already have the decoded token you can pass it as the second argument to avoid decodinf it again.
@@ -157,16 +164,8 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
157
164
  withApiKey(apiKey: string | null): Promise<this>;
158
165
  getRawJWT(): Promise<string | null>;
159
166
  getDecodedJWT(): Promise<AuthTokenPayload | null>;
160
- getProject(): Promise<{
161
- id: string;
162
- name: string;
163
- account: string;
164
- restricted?: boolean | undefined;
165
- } | null>;
166
- getAccount(): Promise<{
167
- id: string;
168
- name: string;
169
- } | null>;
167
+ getProject(): Promise<import("@vertesia/common/wire-types").ProjectRef | null>;
168
+ getAccount(): Promise<import("@vertesia/common/wire-types").AccountRef | null>;
170
169
  /**
171
170
  * Alias for store.agents
172
171
  */
@@ -199,11 +198,14 @@ export declare class VertesiaClient extends AbstractFetchClient<VertesiaClient>
199
198
  *
200
199
  * @returns AuthTokenResponse
201
200
  */
201
+ mintAppSessionToken(request: AppSessionTokenRequest): Promise<AppSessionTokenResponse>;
202
202
  getAuthToken(token?: string): Promise<AuthTokenResponse>;
203
203
  get initialHeaders(): {
204
204
  "x-api-version": string;
205
205
  };
206
206
  projects: ProjectsApi;
207
+ interactionConfigurations: InteractionConfigurationsApi;
208
+ inferenceProfiles: InferenceProfilesApi;
207
209
  environments: EnvironmentsApi;
208
210
  interactions: InteractionsApi;
209
211
  skills: SkillsApi;
@@ -415,6 +417,11 @@ export default class AppsApi extends ApiTopic {
415
417
  */
416
418
  listInstallations(): Promise<AppInstallation[]>;
417
419
  updateInstallationSettings(settingsPayload: AppInstallationPayload): Promise<AppInstallationWithManifest>;
420
+ /**
421
+ * Set project-admin approval for an installation's OAuth scopes.
422
+ * Pass an empty list to revoke approval.
423
+ */
424
+ updateOAuthApproval(installId: string, approved_scopes: string[]): Promise<AppInstallationWithManifest>;
418
425
  /**
419
426
  * Update the tool allowlist for an app installation.
420
427
  * Pass null to remove all restrictions (all tools permitted).
@@ -431,7 +438,7 @@ export default class AppsApi extends ApiTopic {
431
438
  // @vertesia/client: InteractionsApi.d.ts
432
439
  // -----------------------------------------------------------------------------
433
440
  import { ApiTopic, type ClientBase, type IRequestParams } from '@vertesia/api-fetch-client';
434
- import type { AsyncExecutionPayload, AsyncExecutionResult, ComputedFacetResponse, ComputeInteractionFacetPayload, DeleteByIdResult, GeneratedInteractionDefinition, GeneratedTestDataRecord, GenerateInteractionPayload, GenerateTestDataPayload, ImprovePromptPayload, ImprovePromptPayloadConfig, Interaction, InteractionCreatePayload, InteractionDeletePayload, InteractionEndpoint, InteractionEndpointQuery, InteractionExecutionPayload, InteractionForkPayload, InteractionPublishPayload, InteractionRef, InteractionRefWithSchema, InteractionSearchPayload, InteractionSearchQuery, InteractionsExportPayload, InteractionTags, InteractionUpdatePayload, PromptImprovementResponse, RateLimitRequestPayload, RateLimitRequestResponse, ResolvedInteractionExecutionInfo } from '@vertesia/common';
441
+ import type { AsyncExecutionPayload, AsyncExecutionResult, ComputedFacetResponse, ComputeInteractionFacetPayload, DeleteByIdResult, GeneratedInteractionDefinition, GeneratedTestDataRecord, GenerateInteractionPayload, GenerateTestDataPayload, ImprovePromptPayload, ImprovePromptPayloadConfig, Interaction, InteractionCreatePayload, InteractionDeletePayload, InteractionEndpoint, InteractionEndpointQuery, InteractionExecutionPayload, InteractionForkPayload, InteractionPublishPayload, InteractionRef, InteractionRefWithSchema, InteractionSearchPayload, InteractionSearchQuery, InteractionsExportPayload, InteractionTags, InteractionUpdatePayload, PromptImprovementResponse, RateLimitRequestPayload, RateLimitRequestResponse, ResolvedInteractionExecutionInfo, ResolveInteractionQuery } from '@vertesia/common';
435
442
  import { InteractionCatalogApi } from './InteractionCatalogApi.js';
436
443
  import { type EnhancedInteractionExecutionResult } from './InteractionOutput.js';
437
444
  export default class InteractionsApi extends ApiTopic {
@@ -601,12 +608,7 @@ export default class InteractionsApi extends ApiTopic {
601
608
  * @param options Optional environment and/or model to resolve with
602
609
  * @returns ResolvedInteractionExecutionInfo with the resolved environment and model
603
610
  */
604
- resolve(nameOrId: string, options?: {
605
- environment?: string;
606
- model?: string;
607
- hasImage?: boolean;
608
- hasVideo?: boolean;
609
- }): Promise<ResolvedInteractionExecutionInfo>;
611
+ resolve(nameOrId: string, options?: ResolveInteractionQuery): Promise<ResolvedInteractionExecutionInfo>;
610
612
  }
611
613
 
612
614
  // -----------------------------------------------------------------------------
@@ -819,6 +821,7 @@ import { AbstractFetchClient, type FETCH_FN, type IRequestRetryPolicy } from '@v
819
821
  import { type BulkOperationPayload, type BulkOperationResponse } from '@vertesia/common';
820
822
  import { AgentsApi } from './AgentsApi.js';
821
823
  import { CollectionsApi } from './CollectionsApi.js';
824
+ import { ContentApi } from './ContentApi.js';
822
825
  import { CostApi } from './CostApi.js';
823
826
  import { DataApi } from './DataApi.js';
824
827
  import { EmailApi } from './EmailApi.js';
@@ -860,6 +863,7 @@ export declare class ZenoClient extends AbstractFetchClient<ZenoClient> {
860
863
  agents: AgentsApi;
861
864
  cost: CostApi;
862
865
  objects: ObjectsApi;
866
+ content: ContentApi;
863
867
  types: TypesApi;
864
868
  workflows: WorkflowsApi;
865
869
  schedules: SchedulesApi;
@@ -1148,7 +1152,7 @@ export declare class CollectionsApi extends ApiTopic {
1148
1152
  // @vertesia/client: store/AgentsApi.d.ts
1149
1153
  // -----------------------------------------------------------------------------
1150
1154
  import { ApiTopic, type ClientBase } from '@vertesia/api-fetch-client';
1151
- import { type ActiveWorkstreamsQueryResult, type AgentArtifactContentResponse, type AgentArtifactUrlResponse, type AgentEvent, type AgentMessage, type AgentRun, type AgentRunDetailsStreamEvent, type AgentRunFeedbackPayload, type AgentRunFeedbackResponse, type AgentRunInternals, type AgentRunResponse, type BindRunWorkflowPayload, type CreateAgentRunPayload, type CreateProcessRunPayload, type ErrorAnalyticsResponse, type FirstResponseBehaviorAnalyticsResponse, type IngestAgentEventsResponse, type LatencyAnalyticsResponse, type ListAgentRunsQuery, type ListAgentRunsResponse, type ListWorkflowRunsResponse, type PostAgentRunUpdatePayload, type PostAgentRunUpdateResponse, type ProcessRun, type ProcessState, type PromptSizeAnalyticsResponse, type RecordAgentRunPayload, type RecordProcessRunPayload, type RunsByAgentAnalyticsResponse, type SearchAgentRunsQuery, type SearchAgentRunsResponse, type SignalAgentPayload, type SignalAgentResponse, type TerminateAgentRunResponse, type TimeToFirstResponseAnalyticsResponse, type TokenUsageAnalyticsResponse, type ToolAnalyticsResponse, type ToolParameterAnalyticsResponse, type TopPrincipalsAnalyticsResponse, type UpdateAgentArtifactContentPayload, type UpdateAgentArtifactContentResponse, type UpdateAgentRunStatusPayload, type WorkflowAnalyticsFilterOptionsResponse, type WorkflowAnalyticsSummaryQuery, type WorkflowAnalyticsSummaryResponse, type WorkflowAnalyticsTimeSeriesQuery, type WorkflowRunWithDetails, type WorkflowToolParametersQuery } from '@vertesia/common';
1155
+ import { type ActiveWorkstreamsQueryResult, type AgentArtifactContentResponse, type AgentArtifactUrlResponse, type AgentEvent, type AgentMessage, type AgentRun, type AgentRunDetailsStreamEvent, type AgentRunFeedbackPayload, type AgentRunFeedbackResponse, type AgentRunInternals, type AgentRunResponse, type AllocateAgentRunBudgetPayload, type BindRunWorkflowPayload, type CreateAgentRunPayload, type CreateProcessRunPayload, type ErrorAnalyticsResponse, type FirstResponseBehaviorAnalyticsResponse, type IngestAgentEventsResponse, type LatencyAnalyticsResponse, type ListAgentRunsQuery, type ListAgentRunsResponse, type ListWorkflowRunsResponse, type PostAgentRunUpdatePayload, type PostAgentRunUpdateResponse, type ProcessRun, type ProcessState, type PromptSizeAnalyticsResponse, type RecordAgentRunPayload, type RecordProcessRunPayload, type RunsByAgentAnalyticsResponse, type SearchAgentRunsQuery, type SearchAgentRunsResponse, type SignalAgentPayload, type SignalAgentResponse, type TerminateAgentRunResponse, type TimeToFirstResponseAnalyticsResponse, type TokenUsageAnalyticsResponse, type ToolAnalyticsResponse, type ToolParameterAnalyticsResponse, type TopPrincipalsAnalyticsResponse, type UpdateAgentArtifactContentPayload, type UpdateAgentArtifactContentResponse, type UpdateAgentRunStatusPayload, type WorkflowAnalyticsFilterOptionsResponse, type WorkflowAnalyticsSummaryQuery, type WorkflowAnalyticsSummaryResponse, type WorkflowAnalyticsTimeSeriesQuery, type WorkflowRunWithDetails, type WorkflowToolParametersQuery } from '@vertesia/common';
1152
1156
  export interface AgentRunStreamMessagesOptions {
1153
1157
  /** Resolve the stream when the root conversation becomes idle. Headless followers should opt in. */
1154
1158
  closeOnIdle?: boolean;
@@ -1216,6 +1220,11 @@ export declare class AgentsApi extends ApiTopic {
1216
1220
  * Returns the updated AgentRun (same id, status back to running).
1217
1221
  */
1218
1222
  restart(id: string): Promise<AgentRun>;
1223
+ /**
1224
+ * Add token budget to a run paused because its budget ran out; the run resumes from where it
1225
+ * stopped. The amount is added to the limit the run was granted, so usage past it is paid first.
1226
+ */
1227
+ allocateBudget(id: string, payload: AllocateAgentRunBudgetPayload): Promise<SignalAgentResponse>;
1219
1228
  /**
1220
1229
  * Fork a conversation into a new agent run.
1221
1230
  */
@@ -1944,7 +1953,7 @@ export declare class DataApi extends ApiTopic {
1944
1953
  * const info = await client.data.getDownloadInfo(storeId);
1945
1954
  * // Download if gcs_generation changed
1946
1955
  * if (info.gcs_generation !== localGeneration) {
1947
- * await downloadFile(info.url, '/home/daytona/databases/store.duckdb');
1956
+ * await downloadFile(info.url, 'databases/store.duckdb');
1948
1957
  * }
1949
1958
  * ```
1950
1959
  */
@@ -2079,15 +2088,9 @@ export declare class ProcessApi extends ApiTopic {
2079
2088
  // -----------------------------------------------------------------------------
2080
2089
  // @vertesia/common: store/store.d.ts
2081
2090
  // -----------------------------------------------------------------------------
2082
- import type { z } from 'zod';
2083
- import type { ContentObjectTypeRefSchema, InCodeTypeRefSchema, StoredTypeRefSchema } from '../api-schemas/app-lifecycle.js';
2084
- 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';
2085
- import type { MarkdownRenditionFormatSchema } from '../api-schemas/document-processing.js';
2086
- import type { CreateWorkflowRulePayloadSchema, UpdateWorkflowRulePayloadSchema, WorkflowRuleItemSchema, WorkflowRuleSchema } from '../api-schemas/events.js';
2087
- 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';
2088
- import type { ColumnLayoutSchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeExtractionGroundingPolicySchema, ContentTypeExtractionGroundingReviewPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, IntakePageRangesSchema, IntakePageScopeSchema, IntakeVisionDetailSchema, UpdateContentObjectTypePayloadSchema } from '../api-schemas/store.js';
2089
2091
  import type { JSONObject } from '../json.js';
2090
2092
  import type { SupportedEmbeddingTypes } from '../project.js';
2093
+ import type * as Wire from '../wire-types.generated.js';
2091
2094
  import type { BaseObject } from './common.js';
2092
2095
  export declare enum ContentObjectApiHeaders {
2093
2096
  COLLECTION_ID = "x-collection-id",
@@ -2099,11 +2102,11 @@ export declare enum ContentObjectApiHeaders {
2099
2102
  */
2100
2103
  SUPPRESS_WORKFLOWS = "x-suppress-workflows"
2101
2104
  }
2102
- export type CreateContentObjectQuery = z.infer<typeof CreateContentObjectQuerySchema>;
2103
- export type CreateContentObjectHeaders = z.infer<typeof CreateContentObjectHeadersSchema>;
2104
- export type UpdateContentObjectQuery = z.infer<typeof UpdateContentObjectQuerySchema>;
2105
- export type UpdateContentObjectHeaders = z.infer<typeof UpdateContentObjectHeadersSchema>;
2106
- export type GetObjectRenditionQuery = z.infer<typeof GetObjectRenditionQuerySchema>;
2105
+ export type CreateContentObjectQuery = Wire.CreateContentObjectQuery;
2106
+ export type CreateContentObjectHeaders = Wire.CreateContentObjectHeaders;
2107
+ export type UpdateContentObjectQuery = Wire.UpdateContentObjectQuery;
2108
+ export type UpdateContentObjectHeaders = Wire.UpdateContentObjectHeaders;
2109
+ export type GetObjectRenditionQuery = Wire.GetObjectRenditionQuery;
2107
2110
  /**
2108
2111
  * Headers for Data Store API calls.
2109
2112
  * Used for Cloud Run session affinity to route requests to the same instance.
@@ -2120,11 +2123,11 @@ export declare enum ContentObjectStatus {
2120
2123
  failed = "failed",
2121
2124
  archived = "archived"
2122
2125
  }
2123
- export type Embedding = z.infer<typeof EmbeddingSchema>;
2124
- export type ExportContentObjectsIncludeOptions = z.infer<typeof ExportContentObjectsIncludeOptionsSchema>;
2125
- export type ExportContentObjectsFilter = z.infer<typeof ExportContentObjectsFilterSchema>;
2126
- export type StartContentObjectExportRequest = z.infer<typeof StartContentObjectExportRequestSchema>;
2127
- export type StartContentObjectExportResponse = z.infer<typeof StartContentObjectExportResponseSchema>;
2126
+ export type Embedding = Wire.Embedding;
2127
+ export type ExportContentObjectsIncludeOptions = Wire.ExportContentObjectsIncludeOptions;
2128
+ export type ExportContentObjectsFilter = Wire.ExportContentObjectsFilter;
2129
+ export type StartContentObjectExportRequest = Wire.StartContentObjectExportRequest;
2130
+ export type StartContentObjectExportResponse = Wire.StartContentObjectExportResponse;
2128
2131
  export interface ZenoBulkContentObjectExportRequest extends Omit<StartContentObjectExportRequest, 'compression'> {
2129
2132
  tenant_id: string;
2130
2133
  project_id: string;
@@ -2181,23 +2184,23 @@ export interface ZenoBulkContentObjectExportComposeRequest extends ZenoBulkConte
2181
2184
  */
2182
2185
  started_at?: string;
2183
2186
  }
2184
- export type ContentObjectExportResult = z.infer<typeof ContentObjectExportResultSchema>;
2185
- export type ContentObjectExportProgress = z.infer<typeof ContentObjectExportProgressSchema>;
2186
- export type ContentObjectExportStatusResponse = z.infer<typeof ContentObjectExportStatusResponseSchema>;
2187
- export type ContentObjectExportArtifact = z.infer<typeof ContentObjectExportArtifactSchema>;
2188
- export type ContentObjectExportArtifactFile = z.infer<typeof ContentObjectExportArtifactFileSchema>;
2189
- export type ListContentObjectExportsResponse = z.infer<typeof ListContentObjectExportsResponseSchema>;
2190
- export type DeleteContentObjectExportResponse = z.infer<typeof DeleteContentObjectExportResponseSchema>;
2191
- export type InheritedPropertyMetadata = z.infer<typeof InheritedPropertyMetadataSchema>;
2192
- export type ContentObjectUserPermissions = z.infer<typeof ContentObjectUserPermissionsSchema>;
2193
- export type ContentObjectTextResponse = z.infer<typeof ContentObjectTextResponseSchema>;
2194
- export type DeleteContentObjectResult = z.infer<typeof DeleteContentObjectResultSchema>;
2195
- export type SetObjectEmbeddingsResponse = z.infer<typeof SetObjectEmbeddingsResponseSchema>;
2196
- export type ContentObjectApiTypeRef = z.infer<typeof ContentObjectApiTypeRefSchema>;
2197
- export type ContentObjectApiRevision = z.infer<typeof ContentObjectApiRevisionSchema>;
2198
- export type ContentObjectItemApiResponse = z.infer<typeof ContentObjectItemApiResponseSchema>;
2199
- export type ContentObjectApiResponse = z.infer<typeof ContentObjectApiResponseSchema>;
2200
- export type ProjectedContentObjectApiResponse = z.infer<typeof ProjectedContentObjectApiResponseSchema>;
2187
+ export type ContentObjectExportResult = Wire.ContentObjectExportResult;
2188
+ export type ContentObjectExportProgress = Wire.ContentObjectExportProgress;
2189
+ export type ContentObjectExportStatusResponse = Wire.ContentObjectExportStatusResponse;
2190
+ export type ContentObjectExportArtifact = Wire.ContentObjectExportArtifact;
2191
+ export type ContentObjectExportArtifactFile = Wire.ContentObjectExportArtifactFile;
2192
+ export type ListContentObjectExportsResponse = Wire.ListContentObjectExportsResponse;
2193
+ export type DeleteContentObjectExportResponse = Wire.DeleteContentObjectExportResponse;
2194
+ export type InheritedPropertyMetadata = Wire.InheritedPropertyMetadata;
2195
+ export type ContentObjectUserPermissions = Wire.ContentObjectUserPermissions;
2196
+ export type ContentObjectTextResponse = Wire.ContentObjectTextResponse;
2197
+ export type DeleteContentObjectResult = Wire.DeleteContentObjectResult;
2198
+ export type SetObjectEmbeddingsResponse = Wire.SetObjectEmbeddingsResponse;
2199
+ export type ContentObjectApiTypeRef = Wire.ContentObjectApiTypeRef;
2200
+ export type ContentObjectApiRevision = Wire.ContentObjectApiRevision;
2201
+ export type ContentObjectItemApiResponse = Wire.ContentObjectItemApiResponse;
2202
+ export type ContentObjectApiResponse = Wire.ContentObjectApiResponse;
2203
+ export type ProjectedContentObjectApiResponse = Wire.ProjectedContentObjectApiResponse;
2201
2204
  export type FullObjectSearchResponse = Omit<ObjectSearchResponse, 'results'> & {
2202
2205
  results: ContentObjectItemApiResponse[];
2203
2206
  };
@@ -2213,6 +2216,13 @@ export interface ContentObject<T = JSONObject> extends ContentObjectItem<T> {
2213
2216
  sensitivity?: number;
2214
2217
  /** Compartments — set directly or inherited from collections (union across collections). */
2215
2218
  compartments?: string[];
2219
+ /** Effective shared state (readable by non-members via matching shared-content ABAC rules): true
2220
+ * iff this document is a member of an effectively-shared collection (inherited; sync-managed).
2221
+ * Combine with `shared_root` for full readability. */
2222
+ shared?: boolean;
2223
+ /** True iff this document was explicitly shared via the API (a root of the project shared space).
2224
+ * Never set by the sync. */
2225
+ shared_root?: boolean;
2216
2226
  /**
2217
2227
  * Inherited properties metadata - tracks which properties were inherited from parent collections.
2218
2228
  * Used to display readonly inherited properties in the UI and enable incremental sync optimization.
@@ -2235,7 +2245,7 @@ export interface Location {
2235
2245
  latitude: number;
2236
2246
  longitude: number;
2237
2247
  }
2238
- export type GenerationRunMetadata = z.infer<typeof GenerationRunMetadataSchema>;
2248
+ export type GenerationRunMetadata = Wire.GenerationRunMetadata;
2239
2249
  export interface Rendition {
2240
2250
  name: string;
2241
2251
  content: ContentSource;
@@ -2395,10 +2405,10 @@ interface GroundedMetadata {
2395
2405
  source_text_etag?: string | null;
2396
2406
  [key: string]: unknown;
2397
2407
  }
2398
- export type Transcript = z.infer<typeof TranscriptSchema>;
2399
- export type TranscriptSegment = z.infer<typeof TranscriptSegmentSchema>;
2400
- export type ContentSource = z.infer<typeof ContentSourceSchema>;
2401
- export type RevisionInfo = z.infer<typeof RevisionInfoSchema>;
2408
+ export type Transcript = Wire.Transcript;
2409
+ export type TranscriptSegment = Wire.TranscriptSegment;
2410
+ export type ContentSource = Wire.ContentSource;
2411
+ export type RevisionInfo = Wire.RevisionInfo;
2402
2412
  /**
2403
2413
  * The content object item is a simplified version of the ContentObject that is returned by the store API when listing objects.
2404
2414
  */
@@ -2460,19 +2470,19 @@ export interface ContentObjectItem<T = JSONObject> extends BaseObject {
2460
2470
  */
2461
2471
  user_permissions?: ContentObjectUserPermissions;
2462
2472
  }
2463
- type CreateContentObjectPayloadWire = z.infer<typeof CreateContentObjectPayloadSchema>;
2473
+ type CreateContentObjectPayloadWire = Wire.CreateContentObjectPayloadWire;
2464
2474
  export type CreateContentObjectPayload<T = JSONObject> = Omit<CreateContentObjectPayloadWire, 'properties' | 'metadata'> & {
2465
2475
  properties?: T;
2466
2476
  /** Known metadata interfaces remain assignable; the runtime contract deliberately accepts any object keys. */
2467
2477
  metadata?: ContentObjectItem['metadata'];
2468
2478
  };
2469
2479
  export declare function getContentTypeRefId(type: ContentObjectTypeRef): string;
2470
- export type ContentObjectTypeRef = z.infer<typeof ContentObjectTypeRefSchema>;
2471
- export type ComplexSearchPayload = z.infer<typeof ComplexSearchPayloadSchema>;
2472
- export type ColumnLayout = z.infer<typeof ColumnLayoutSchema>;
2473
- export type ContentObjectTypeStatus = z.infer<typeof ContentObjectTypeStatusSchema>;
2474
- export type IntakeVisionDetail = z.infer<typeof IntakeVisionDetailSchema>;
2475
- export type IntakePageScope = z.infer<typeof IntakePageScopeSchema>;
2480
+ export type ContentObjectTypeRef = Wire.ContentObjectTypeRef;
2481
+ export type ComplexSearchPayload = Wire.ComplexSearchPayload;
2482
+ export type ColumnLayout = Wire.ColumnLayout;
2483
+ export type ContentObjectTypeStatus = Wire.ContentObjectTypeStatus;
2484
+ export type IntakeVisionDetail = Wire.IntakeVisionDetail;
2485
+ export type IntakePageScope = Wire.IntakePageScope;
2476
2486
  /**
2477
2487
  * Inclusive `[start, end]` pairs.
2478
2488
  *
@@ -2481,29 +2491,29 @@ export type IntakePageScope = z.infer<typeof IntakePageScopeSchema>;
2481
2491
  * tuple, and reproducing it is what keeps the generated clients unchanged. The length is still
2482
2492
  * enforced at runtime.
2483
2493
  */
2484
- export type IntakePageRanges = z.infer<typeof IntakePageRangesSchema>;
2485
- export type ContentTypeExtractionGroundingReviewPolicy = z.infer<typeof ContentTypeExtractionGroundingReviewPolicySchema>;
2486
- export type ContentTypeExtractionGroundingPolicy = z.infer<typeof ContentTypeExtractionGroundingPolicySchema>;
2487
- export type ContentTypeIntakePolicy = z.infer<typeof ContentTypeIntakePolicySchema>;
2488
- export type ContentTypeEditingPolicy = z.infer<typeof ContentTypeEditingPolicySchema>;
2489
- export type ContentObjectType = z.infer<typeof ContentObjectTypeSchema>;
2490
- export type ContentObjectTypeItem = z.infer<typeof ContentObjectTypeItemSchema>;
2491
- export type InCodeTypeDefinition = z.infer<typeof InCodeTypeDefinitionSchema>;
2492
- export type ContentObjectTypeCatalogEntry = z.infer<typeof ContentObjectTypeCatalogEntrySchema>;
2494
+ export type IntakePageRanges = Wire.IntakePageRanges;
2495
+ export type ContentTypeExtractionGroundingReviewPolicy = Wire.ContentTypeExtractionGroundingReviewPolicy;
2496
+ export type ContentTypeExtractionGroundingPolicy = Wire.ContentTypeExtractionGroundingPolicy;
2497
+ export type ContentTypeIntakePolicy = Wire.ContentTypeIntakePolicy;
2498
+ export type ContentTypeEditingPolicy = Wire.ContentTypeEditingPolicy;
2499
+ export type ContentObjectType = Wire.ContentObjectType;
2500
+ export type ContentObjectTypeItem = Wire.ContentObjectTypeItem;
2501
+ export type InCodeTypeDefinition = Wire.InCodeTypeDefinition;
2502
+ export type ContentObjectTypeCatalogEntry = Wire.ContentObjectTypeCatalogEntry;
2493
2503
  /**
2494
2504
  * The itnerface to be used whend efining types in a plugin app.
2495
2505
  */
2496
2506
  export type InCodeTypeSpec = Omit<InCodeTypeDefinition, 'id'>;
2497
- export type CreateContentObjectTypePayload = z.infer<typeof CreateContentObjectTypePayloadSchema>;
2498
- export type UpdateContentObjectTypePayload = z.infer<typeof UpdateContentObjectTypePayloadSchema>;
2507
+ export type CreateContentObjectTypePayload = Wire.CreateContentObjectTypePayload;
2508
+ export type UpdateContentObjectTypePayload = Wire.UpdateContentObjectTypePayload;
2499
2509
  export declare enum WorkflowRuleInputType {
2500
2510
  single = "single",
2501
2511
  multiple = "multiple",
2502
2512
  none = "none"
2503
2513
  }
2504
- export type WorkflowRuleItem = z.infer<typeof WorkflowRuleItemSchema>;
2505
- export type WorkflowRule = z.infer<typeof WorkflowRuleSchema>;
2506
- export type CreateWorkflowRulePayload = z.infer<typeof CreateWorkflowRulePayloadSchema>;
2514
+ export type WorkflowRuleItem = Wire.WorkflowRuleItem;
2515
+ export type WorkflowRule = Wire.WorkflowRule;
2516
+ export type CreateWorkflowRulePayload = Wire.CreateWorkflowRulePayload;
2507
2517
  export interface UploadWorkflowRulePayload extends Partial<Omit<WorkflowRule, 'id' | 'created_at' | 'updated_at' | 'owner'>> {
2508
2518
  }
2509
2519
  export declare enum ImageRenditionFormat {
@@ -2515,7 +2525,7 @@ export declare const MarkdownRenditionFormat: {
2515
2525
  readonly docx: 'docx';
2516
2526
  readonly pdf: 'pdf';
2517
2527
  };
2518
- export type MarkdownRenditionFormat = z.infer<typeof MarkdownRenditionFormatSchema>;
2528
+ export type MarkdownRenditionFormat = Wire.MarkdownRenditionFormat;
2519
2529
  export interface GetRenditionParams {
2520
2530
  format: ImageRenditionFormat | MarkdownRenditionFormat;
2521
2531
  max_hw?: number;
@@ -2523,8 +2533,8 @@ export interface GetRenditionParams {
2523
2533
  sign_url?: boolean;
2524
2534
  block_on_generation?: boolean;
2525
2535
  }
2526
- export type GetRenditionResponse = z.infer<typeof GetRenditionResponseSchema>;
2527
- export type ObjectSearchResponse = z.infer<typeof ObjectSearchResponseSchema>;
2536
+ export type GetRenditionResponse = Wire.GetRenditionResponse;
2537
+ export type ObjectSearchResponse = Wire.ObjectSearchResponse;
2528
2538
  type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
2529
2539
  /**
2530
2540
  * Check if a specific rendition format can be generated from a content type.
@@ -2539,30 +2549,30 @@ type RenditionFormat = ImageRenditionFormat | MarkdownRenditionFormat;
2539
2549
  * canGenerateRendition('text/markdown', MarkdownRenditionFormat.pdf) // true
2540
2550
  */
2541
2551
  export declare function canGenerateRendition(contentType: string | undefined, format: RenditionFormat | string): boolean;
2542
- export type GetUploadUrlPayload = z.infer<typeof GetUploadUrlPayloadSchema>;
2543
- export type GetFileUrlPayload = z.infer<typeof GetFileUrlPayloadSchema>;
2544
- export type GetFileUrlResponse = z.infer<typeof GetFileUrlResponseSchema>;
2545
- export type EnsureBucketReadAccessPayload = z.infer<typeof EnsureBucketReadAccessPayloadSchema>;
2546
- export type EnsureBucketReadAccessResponse = z.infer<typeof EnsureBucketReadAccessResponseSchema>;
2547
- export type BucketReadAccessStatusResponse = z.infer<typeof BucketReadAccessStatusResponseSchema>;
2548
- export type EnsureBucketCreateAccessPayload = z.infer<typeof EnsureBucketCreateAccessPayloadSchema>;
2549
- export type EnsureBucketCreateAccessResponse = z.infer<typeof EnsureBucketCreateAccessResponseSchema>;
2550
- export type BucketCreateAccessStatusResponse = z.infer<typeof BucketCreateAccessStatusResponseSchema>;
2551
- export type FileMetadataResponse = z.infer<typeof FileMetadataResponseSchema>;
2552
- export type SetFileMetadataPayload = z.infer<typeof SetFileMetadataPayloadSchema>;
2553
- export type FileMetadataUpdateResult = z.infer<typeof FileMetadataUpdateResultSchema>;
2554
- export type BulkUploadUrlsPayload = z.infer<typeof BulkUploadUrlsPayloadSchema>;
2555
- export type BulkUploadUrlsResponse = z.infer<typeof BulkUploadUrlsResponseSchema>;
2556
- export type FileBucketResponse = z.infer<typeof FileBucketResponseSchema>;
2557
- export type FileListResponse = z.infer<typeof FileListResponseSchema>;
2558
- export type FileMetadataQuery = z.infer<typeof FileMetadataQuerySchema>;
2559
- export type FileListQuery = z.infer<typeof FileListQuerySchema>;
2560
- export type FileDeleteQuery = z.infer<typeof FileDeleteQuerySchema>;
2561
- export type ContentObjectTypeCatalogQuery = z.infer<typeof ContentObjectTypeCatalogQuerySchema>;
2562
- export type ContentObjectTypeListQuery = z.infer<typeof ContentObjectTypeListQuerySchema>;
2563
- export type CopyFilePayload = z.infer<typeof CopyFilePayloadSchema>;
2564
- export type CopyFileResponse = z.infer<typeof CopyFileResponseSchema>;
2565
- export type DeleteFileResult = z.infer<typeof DeleteFileResultSchema>;
2552
+ export type GetUploadUrlPayload = Wire.GetUploadUrlPayload;
2553
+ export type GetFileUrlPayload = Wire.GetFileUrlPayload;
2554
+ export type GetFileUrlResponse = Wire.GetFileUrlResponse;
2555
+ export type EnsureBucketReadAccessPayload = Wire.EnsureBucketReadAccessPayload;
2556
+ export type EnsureBucketReadAccessResponse = Wire.EnsureBucketReadAccessResponse;
2557
+ export type BucketReadAccessStatusResponse = Wire.BucketReadAccessStatusResponse;
2558
+ export type EnsureBucketCreateAccessPayload = Wire.EnsureBucketCreateAccessPayload;
2559
+ export type EnsureBucketCreateAccessResponse = Wire.EnsureBucketCreateAccessResponse;
2560
+ export type BucketCreateAccessStatusResponse = Wire.BucketCreateAccessStatusResponse;
2561
+ export type FileMetadataResponse = Wire.FileMetadataResponse;
2562
+ export type SetFileMetadataPayload = Wire.SetFileMetadataPayload;
2563
+ export type FileMetadataUpdateResult = Wire.FileMetadataUpdateResult;
2564
+ export type BulkUploadUrlsPayload = Wire.BulkUploadUrlsPayload;
2565
+ export type BulkUploadUrlsResponse = Wire.BulkUploadUrlsResponse;
2566
+ export type FileBucketResponse = Wire.FileBucketResponse;
2567
+ export type FileListResponse = Wire.FileListResponse;
2568
+ export type FileMetadataQuery = Wire.FileMetadataQuery;
2569
+ export type FileListQuery = Wire.FileListQuery;
2570
+ export type FileDeleteQuery = Wire.FileDeleteQuery;
2571
+ export type ContentObjectTypeCatalogQuery = Wire.ContentObjectTypeCatalogQuery;
2572
+ export type ContentObjectTypeListQuery = Wire.ContentObjectTypeListQuery;
2573
+ export type CopyFilePayload = Wire.CopyFilePayload;
2574
+ export type CopyFileResponse = Wire.CopyFileResponse;
2575
+ export type DeleteFileResult = Wire.DeleteFileResult;
2566
2576
  export declare enum ContentObjectProcessingPriority {
2567
2577
  normal = "normal",
2568
2578
  low = "low"
@@ -2620,9 +2630,9 @@ export declare function getSupportedRenditionFormats(contentType: string | undef
2620
2630
  * supportsVisualRendition('text/markdown') // false
2621
2631
  */
2622
2632
  export declare function supportsVisualRendition(contentType: string | undefined): boolean;
2623
- export type InCodeTypeRef = z.infer<typeof InCodeTypeRefSchema>;
2624
- export type StoredTypeRef = z.infer<typeof StoredTypeRefSchema>;
2625
- type UpdateContentObjectPayloadWire = z.infer<typeof UpdateContentObjectPayloadSchema>;
2633
+ export type InCodeTypeRef = Wire.InCodeTypeRef;
2634
+ export type StoredTypeRef = Wire.StoredTypeRef;
2635
+ type UpdateContentObjectPayloadWire = Wire.UpdateContentObjectPayloadWire;
2626
2636
  /**
2627
2637
  * Mirrors {@link CreateContentObjectPayload}: `properties` and `metadata` are reopened over the wire
2628
2638
  * type so the known metadata interfaces stay assignable and callers can name their property shape.
@@ -2632,7 +2642,7 @@ export type UpdateContentObjectPayload<T = JSONObject> = Omit<UpdateContentObjec
2632
2642
  properties?: T;
2633
2643
  metadata?: ContentObjectItem['metadata'];
2634
2644
  };
2635
- export type UpdateWorkflowRulePayload = z.infer<typeof UpdateWorkflowRulePayloadSchema>;
2645
+ export type UpdateWorkflowRulePayload = Wire.UpdateWorkflowRulePayload;
2636
2646
  export {};
2637
2647
 
2638
2648
  // -----------------------------------------------------------------------------
@@ -2652,24 +2662,20 @@ export {};
2652
2662
  * (workflowId, runId) are internal server concerns.
2653
2663
  */
2654
2664
  import type { ReasoningEffort } from '@llumiverse/common';
2655
- import type { z } from 'zod';
2656
- import type { AgentArtifactContentResponseSchema, AgentArtifactUrlResponseSchema, AgentRunArchiveStateSchema, AgentRunArtifactQuerySchema, AgentRunArtifactsQuerySchema, AgentRunArtifactUploadHeadersSchema, AgentRunContradictionReasonSchema, AgentRunDetailsQuerySchema, AgentRunEvaluationRollupSchema, AgentRunEvaluationSchema, AgentRunFeedbackCountsSchema, AgentRunFeedbackEntrySchema, AgentRunFeedbackPayloadSchema, AgentRunFeedbackRatingSchema, AgentRunFeedbackReasonCodeSchema, AgentRunFeedbackResponseSchema, AgentRunFeedbackStatusSchema, AgentRunJudgeResultSchema, AgentRunSchema, AgentRunUpdatesQuerySchema, AgentRunUpdatesResponseSchema, CreateAgentRunPayloadSchema, CreateProcessRunByIdPayloadSchema, CreateProcessRunWithDefinitionPayloadSchema, CreateRunPayloadSchema, IngestAgentEventsPayloadSchema, IngestAgentEventsResponseSchema, ListAgentRunsEvaluationSeveritySchema, ListAgentRunsQuerySchema, PostAgentRunUpdatePayloadSchema, PostAgentRunUpdateResponseSchema, SearchAgentRunsQuerySchema, SearchAgentRunsResponseSchema, SignalAgentResponseSchema, StreamAgentRunQuerySchema, TerminateAgentRunResponseSchema, UpdateAgentArtifactContentPayloadSchema, UpdateAgentArtifactContentResponseSchema } from '../api-schemas/agent-runs.js';
2657
- import type { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, RunKindSchema, RunTypeSchema } from '../api-schemas/app-lifecycle.js';
2658
- import type { ProcessRunConfigSchema, ProcessRunTypeSchema } from '../api-schemas/process.js';
2659
- import type { BindRunWorkflowPayloadSchema, RestartAgentRunPayloadSchema } from '../api-schemas/workflow-runs.js';
2660
2665
  import type { ConversationVisibility, InteractionExecutionConfiguration, RunSource } from '../interaction.js';
2661
2666
  import type { EventRef } from '../platform-event.js';
2667
+ import type * as Wire from '../wire-types.generated.js';
2662
2668
  import type { AgentToolApprovalMode } from './agent-approval.js';
2663
2669
  import type { ProcessDefinitionBody, ProcessState } from './process.js';
2664
2670
  import type { ModelConfigChangedSignal, StopSignal, UserInputSignal } from './signals.js';
2665
2671
  import type { ConversationActivityState, ConversationFileBatchRef, ConversationFileRef, ConversationFileRemovedRef, WorkflowRunEvent } from './workflow.js';
2666
2672
  export * from './agent-run-values.js';
2667
- export type AgentRunStatus = z.infer<typeof AgentRunStatusSchema>;
2668
- export type AgentRunArchiveState = z.infer<typeof AgentRunArchiveStateSchema>;
2669
- export type AgentRunType = z.infer<typeof AgentRunTypeSchema>;
2670
- export type RunKind = z.infer<typeof RunKindSchema>;
2671
- export type RunType = z.infer<typeof RunTypeSchema>;
2672
- export type ProcessRunType = z.infer<typeof ProcessRunTypeSchema>;
2673
+ export type AgentRunStatus = Wire.AgentRunStatus;
2674
+ export type AgentRunArchiveState = Wire.AgentRunArchiveState;
2675
+ export type AgentRunType = Wire.AgentRunType;
2676
+ export type RunKind = Wire.RunKind;
2677
+ export type RunType = Wire.RunType;
2678
+ export type ProcessRunType = Wire.ProcessRunType;
2673
2679
  /**
2674
2680
  * Shared fields for all records stored in the agent_runs collection.
2675
2681
  */
@@ -2725,7 +2731,7 @@ interface RunBase {
2725
2731
  /** Timestamp when the document was last updated */
2726
2732
  updated_at: string;
2727
2733
  }
2728
- type AgentRunWire = z.infer<typeof AgentRunSchema>;
2734
+ type AgentRunWire = Wire.AgentRunWire;
2729
2735
  /**
2730
2736
  * The wire contract is schema-derived; the two generic data bags remain caller-specializable.
2731
2737
  * A single concrete `z.infer` cannot express those type parameters.
@@ -2734,7 +2740,7 @@ export type AgentRun<TData = Record<string, unknown>, TProperties = Record<strin
2734
2740
  data?: TData;
2735
2741
  properties?: TProperties;
2736
2742
  };
2737
- export type ProcessRunConfig = z.infer<typeof ProcessRunConfigSchema>;
2743
+ export type ProcessRunConfig = Wire.ProcessRunConfig;
2738
2744
  export interface ProcessRun extends RunBase {
2739
2745
  run_kind: 'process';
2740
2746
  run_type: ProcessRunType;
@@ -2755,7 +2761,7 @@ export type ProgrammaticRunResponse = ProcessRun & {
2755
2761
  * @discriminator run_type
2756
2762
  */
2757
2763
  export type AgentRunResponse<TData = Record<string, unknown>, TProperties = Record<string, unknown>> = AutonomousRunResponse<TData, TProperties> | SupervisedRunResponse | ProgrammaticRunResponse;
2758
- type CreateAgentRunWire = z.infer<typeof CreateAgentRunPayloadSchema>;
2764
+ type CreateAgentRunWire = Wire.CreateAgentRunPayloadWire;
2759
2765
  export type CreateAgentRunPayload<TData = Record<string, unknown>, TProperties = Record<string, unknown>> = Omit<CreateAgentRunWire, 'data' | 'properties'> & {
2760
2766
  data?: TData;
2761
2767
  properties?: TProperties;
@@ -2800,6 +2806,7 @@ export interface RecordAgentRunPayload<TData = Record<string, unknown>> extends
2800
2806
  topic?: string;
2801
2807
  generate_topic?: boolean;
2802
2808
  generate_lessons?: boolean;
2809
+ evaluate?: boolean;
2803
2810
  first_workflow_run_id: string;
2804
2811
  schedule_id?: string;
2805
2812
  visibility?: ConversationVisibility;
@@ -2821,19 +2828,19 @@ export type RecordRunPayload<TData = Record<string, unknown>, TSource = RunSourc
2821
2828
  * @internal Attaches the first Temporal run id after a pre-created run record
2822
2829
  * has successfully started its workflow.
2823
2830
  */
2824
- export type BindRunWorkflowPayload = z.infer<typeof BindRunWorkflowPayloadSchema>;
2825
- export type TerminateAgentRunResponse = z.infer<typeof TerminateAgentRunResponseSchema>;
2826
- export type AgentRunFeedbackRating = z.infer<typeof AgentRunFeedbackRatingSchema>;
2827
- export type AgentRunFeedbackReasonCode = z.infer<typeof AgentRunFeedbackReasonCodeSchema>;
2828
- export type AgentRunFeedbackPayload = z.infer<typeof AgentRunFeedbackPayloadSchema>;
2829
- export type AgentRunFeedbackStatus = z.infer<typeof AgentRunFeedbackStatusSchema>;
2830
- export type AgentRunFeedbackCounts = z.infer<typeof AgentRunFeedbackCountsSchema>;
2831
- export type AgentRunFeedbackResponse = z.infer<typeof AgentRunFeedbackResponseSchema>;
2832
- export type AgentRunFeedbackEntry = z.infer<typeof AgentRunFeedbackEntrySchema>;
2833
- export type AgentRunEvaluationRollup = z.infer<typeof AgentRunEvaluationRollupSchema>;
2834
- export type AgentRunJudgeResult = z.infer<typeof AgentRunJudgeResultSchema>;
2835
- export type AgentRunContradictionReason = z.infer<typeof AgentRunContradictionReasonSchema>;
2836
- export type AgentRunEvaluation = z.infer<typeof AgentRunEvaluationSchema>;
2831
+ export type BindRunWorkflowPayload = Wire.BindRunWorkflowPayload;
2832
+ export type TerminateAgentRunResponse = Wire.TerminateAgentRunResponse;
2833
+ export type AgentRunFeedbackRating = Wire.AgentRunFeedbackRating;
2834
+ export type AgentRunFeedbackReasonCode = Wire.AgentRunFeedbackReasonCode;
2835
+ export type AgentRunFeedbackPayload = Wire.AgentRunFeedbackPayload;
2836
+ export type AgentRunFeedbackStatus = Wire.AgentRunFeedbackStatus;
2837
+ export type AgentRunFeedbackCounts = Wire.AgentRunFeedbackCounts;
2838
+ export type AgentRunFeedbackResponse = Wire.AgentRunFeedbackResponse;
2839
+ export type AgentRunFeedbackEntry = Wire.AgentRunFeedbackEntry;
2840
+ export type AgentRunEvaluationRollup = Wire.AgentRunEvaluationRollup;
2841
+ export type AgentRunLlmEvaluationResult = Wire.AgentRunLlmEvaluationResult;
2842
+ export type AgentRunContradictionReason = Wire.AgentRunContradictionReason;
2843
+ export type AgentRunEvaluation = Wire.AgentRunEvaluation;
2837
2844
  /**
2838
2845
  * Payload for updating an AgentRun's lifecycle and derived metadata.
2839
2846
  */
@@ -2872,28 +2879,29 @@ export interface UpdateAgentRunStatusPayload {
2872
2879
  evaluation_rollup?: AgentRunEvaluationRollup;
2873
2880
  }
2874
2881
  export type SignalAgentPayload = UserInputSignal | StopSignal | ModelConfigChangedSignal | ConversationFileRef | ConversationFileRemovedRef | ConversationFileBatchRef | Record<string, unknown>;
2875
- export type SignalAgentResponse = z.infer<typeof SignalAgentResponseSchema>;
2876
- export type AgentRunUpdatesResponse = z.infer<typeof AgentRunUpdatesResponseSchema>;
2877
- export type AgentRunUpdatesQuery = z.infer<typeof AgentRunUpdatesQuerySchema>;
2878
- export type StreamAgentRunQuery = z.infer<typeof StreamAgentRunQuerySchema>;
2879
- export type AgentRunDetailsQuery = z.infer<typeof AgentRunDetailsQuerySchema>;
2880
- export type AgentRunArtifactsQuery = z.infer<typeof AgentRunArtifactsQuerySchema>;
2881
- export type AgentRunArtifactUploadHeaders = z.infer<typeof AgentRunArtifactUploadHeadersSchema>;
2882
- export type AgentRunArtifactQuery = z.infer<typeof AgentRunArtifactQuerySchema>;
2883
- export type PostAgentRunUpdatePayload = z.infer<typeof PostAgentRunUpdatePayloadSchema>;
2884
- export type PostAgentRunUpdateResponse = z.infer<typeof PostAgentRunUpdateResponseSchema>;
2885
- export type AgentArtifactUrlResponse = z.infer<typeof AgentArtifactUrlResponseSchema>;
2886
- export type AgentArtifactContentResponse = z.infer<typeof AgentArtifactContentResponseSchema>;
2887
- export type UpdateAgentArtifactContentPayload = z.infer<typeof UpdateAgentArtifactContentPayloadSchema>;
2888
- export type UpdateAgentArtifactContentResponse = z.infer<typeof UpdateAgentArtifactContentResponseSchema>;
2882
+ export type SignalAgentResponse = Wire.SignalAgentResponse;
2883
+ export type AllocateAgentRunBudgetPayload = Wire.AllocateAgentRunBudgetPayload;
2884
+ export type AgentRunUpdatesResponse = Wire.AgentRunUpdatesResponse;
2885
+ export type AgentRunUpdatesQuery = Wire.AgentRunUpdatesQuery;
2886
+ export type StreamAgentRunQuery = Wire.StreamAgentRunQuery;
2887
+ export type AgentRunDetailsQuery = Wire.AgentRunDetailsQuery;
2888
+ export type AgentRunArtifactsQuery = Wire.AgentRunArtifactsQuery;
2889
+ export type AgentRunArtifactUploadHeaders = Wire.AgentRunArtifactUploadHeaders;
2890
+ export type AgentRunArtifactQuery = Wire.AgentRunArtifactQuery;
2891
+ export type PostAgentRunUpdatePayload = Wire.PostAgentRunUpdatePayload;
2892
+ export type PostAgentRunUpdateResponse = Wire.PostAgentRunUpdateResponse;
2893
+ export type AgentArtifactUrlResponse = Wire.AgentArtifactUrlResponse;
2894
+ export type AgentArtifactContentResponse = Wire.AgentArtifactContentResponse;
2895
+ export type UpdateAgentArtifactContentPayload = Wire.UpdateAgentArtifactContentPayload;
2896
+ export type UpdateAgentArtifactContentResponse = Wire.UpdateAgentArtifactContentResponse;
2889
2897
  /**
2890
2898
  * Telemetry ingestion payload for an agent run.
2891
2899
  */
2892
- export type IngestAgentEventsPayload = z.infer<typeof IngestAgentEventsPayloadSchema>;
2900
+ export type IngestAgentEventsPayload = Wire.IngestAgentEventsPayload;
2893
2901
  /**
2894
2902
  * Telemetry ingestion response for an agent run.
2895
2903
  */
2896
- export type IngestAgentEventsResponse = z.infer<typeof IngestAgentEventsResponseSchema>;
2904
+ export type IngestAgentEventsResponse = Wire.IngestAgentEventsResponse;
2897
2905
  /**
2898
2906
  * History event payload emitted by the agent details SSE stream.
2899
2907
  */
@@ -2931,11 +2939,11 @@ export type AgentRunDetailsStreamEvent = {
2931
2939
  data: AgentRunDetailsErrorStreamEvent;
2932
2940
  };
2933
2941
  /** Evaluation severity filter values; `unrated` selects runs without an evaluation. */
2934
- export type ListAgentRunsEvaluationSeverity = z.infer<typeof ListAgentRunsEvaluationSeveritySchema>;
2942
+ export type ListAgentRunsEvaluationSeverity = Wire.ListAgentRunsEvaluationSeverity;
2935
2943
  /**
2936
2944
  * Filters for listing agent runs.
2937
2945
  */
2938
- export type ListAgentRunsQuery = z.infer<typeof ListAgentRunsQuerySchema>;
2946
+ export type ListAgentRunsQuery = Wire.ListAgentRunsQuery;
2939
2947
  export interface ListAgentRunsResponse {
2940
2948
  items: AgentRunResponse[];
2941
2949
  total_count: number;
@@ -2944,9 +2952,9 @@ export interface ListAgentRunsResponse {
2944
2952
  /**
2945
2953
  * Query for searching agent runs via Elasticsearch.
2946
2954
  */
2947
- export type SearchAgentRunsQuery = z.infer<typeof SearchAgentRunsQuerySchema>;
2948
- export type AgentRunSearchHit = z.infer<typeof AgentRunSearchHitSchema>;
2949
- export type SearchAgentRunsResponse = z.infer<typeof SearchAgentRunsResponseSchema>;
2955
+ export type SearchAgentRunsQuery = Wire.SearchAgentRunsQuery;
2956
+ export type AgentRunSearchHit = Wire.AgentRunSearchHit;
2957
+ export type SearchAgentRunsResponse = Wire.SearchAgentRunsResponse;
2950
2958
  /**
2951
2959
  * Internal/Temporal details for an AgentRun.
2952
2960
  * Includes fields normally stripped from client responses.
@@ -2973,23 +2981,22 @@ export interface AgentRunInternals {
2973
2981
  created_at: string;
2974
2982
  updated_at: string;
2975
2983
  }
2976
- export type CreateProcessRunByIdPayload = z.infer<typeof CreateProcessRunByIdPayloadSchema>;
2977
- export type CreateProcessRunWithDefinitionPayload = z.infer<typeof CreateProcessRunWithDefinitionPayloadSchema>;
2978
- export type CreateRunPayload = z.infer<typeof CreateRunPayloadSchema>;
2979
- export type RestartAgentRunPayload = z.infer<typeof RestartAgentRunPayloadSchema>;
2984
+ export type CreateProcessRunByIdPayload = Wire.CreateProcessRunByIdPayload;
2985
+ export type CreateProcessRunWithDefinitionPayload = Wire.CreateProcessRunWithDefinitionPayload;
2986
+ export type CreateRunPayload = Wire.CreateRunPayload;
2987
+ export type RestartAgentRunPayload = Wire.RestartAgentRunPayload;
2980
2988
 
2981
2989
  // -----------------------------------------------------------------------------
2982
2990
  // @vertesia/common: store/collections.d.ts
2983
2991
  // -----------------------------------------------------------------------------
2984
- import type { z } from 'zod';
2985
- import type { CollectionChildrenUpdatePayloadSchema, CollectionChildrenUpdateResultSchema, CollectionMembersQuerySchema, CollectionMembersUpdatePayloadSchema, CollectionMembersUpdateResultSchema, CollectionPropagationResponseSchema, CollectionSchema, CollectionSecuritySettingsResponseSchema, CreateCollectionPayloadSchema, UpdateCollectionPayloadSchema } from '../api-schemas/content.js';
2992
+ import type * as Wire from '../wire-types.generated.js';
2986
2993
  import type { BaseObject } from './common.js';
2987
2994
  import type { ColumnLayout, ContentObjectTypeRef } from './store.js';
2988
2995
  export declare enum CollectionStatus {
2989
2996
  active = "active",
2990
2997
  archived = "archived"
2991
2998
  }
2992
- export type CreateCollectionPayload = z.infer<typeof CreateCollectionPayloadSchema>;
2999
+ export type CreateCollectionPayload = Wire.CreateCollectionPayload;
2993
3000
  export interface CollectionItem extends BaseObject {
2994
3001
  /**
2995
3002
  * A flag to indicate if the collection is dynamic or static.
@@ -3019,7 +3026,7 @@ export interface CollectionItem extends BaseObject {
3019
3026
  */
3020
3027
  allowed_types?: string[];
3021
3028
  }
3022
- export type Collection = z.infer<typeof CollectionSchema>;
3029
+ export type Collection = Wire.Collection;
3023
3030
  export interface DynamicCollection extends Collection {
3024
3031
  dynamic: true;
3025
3032
  }
@@ -3033,47 +3040,45 @@ export interface CollectionSearchPayload {
3033
3040
  type?: string;
3034
3041
  types?: string[];
3035
3042
  }
3036
- export type CollectionMembersUpdateResult = z.infer<typeof CollectionMembersUpdateResultSchema>;
3037
- export type CollectionSecuritySettingsResponse = z.infer<typeof CollectionSecuritySettingsResponseSchema>;
3038
- export type CollectionPropagationResponse = z.infer<typeof CollectionPropagationResponseSchema>;
3039
- export type CollectionChildrenUpdateResult = z.infer<typeof CollectionChildrenUpdateResultSchema>;
3040
- export type CollectionMembersUpdatePayload = z.infer<typeof CollectionMembersUpdatePayloadSchema>;
3041
- export type CollectionChildrenUpdatePayload = z.infer<typeof CollectionChildrenUpdatePayloadSchema>;
3042
- export type CollectionMembersQuery = z.infer<typeof CollectionMembersQuerySchema>;
3043
- export type UpdateCollectionPayload = z.infer<typeof UpdateCollectionPayloadSchema>;
3043
+ export type CollectionMembersUpdateResult = Wire.CollectionMembersUpdateResult;
3044
+ export type CollectionSecuritySettingsResponse = Wire.CollectionSecuritySettingsResponse;
3045
+ export type CollectionPropagationResponse = Wire.CollectionPropagationResponse;
3046
+ export type CollectionChildrenUpdateResult = Wire.CollectionChildrenUpdateResult;
3047
+ export type CollectionMembersUpdatePayload = Wire.CollectionMembersUpdatePayload;
3048
+ export type CollectionChildrenUpdatePayload = Wire.CollectionChildrenUpdatePayload;
3049
+ export type CollectionMembersQuery = Wire.CollectionMembersQuery;
3050
+ export type UpdateCollectionPayload = Wire.UpdateCollectionPayload;
3044
3051
 
3045
3052
  // -----------------------------------------------------------------------------
3046
3053
  // @vertesia/common: store/process.d.ts
3047
3054
  // -----------------------------------------------------------------------------
3048
- import type { z } from 'zod';
3049
- 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';
3050
- import type { ProcessAgentExecutionPolicySchema, ProcessAgentPhaseResetSchema, ProcessAgentToolInputContainsSchema, ProcessAgentToolPhaseSchema } from '../api-schemas/process-agent-policy.js';
3051
3055
  import type { JSONSchema } from '../json-schema.js';
3052
- export type JsonLogicRule = z.infer<typeof JsonLogicRuleSchema>;
3053
- export type ProcessDefinitionStatus = z.infer<typeof ProcessDefinitionStatusSchema>;
3054
- export type ListProcessDefinitionsQuery = z.infer<typeof ListProcessDefinitionsQuerySchema>;
3055
- export type ListProcessTestRunsQuery = z.infer<typeof ListProcessTestRunsQuerySchema>;
3056
+ import type * as Wire from '../wire-types.generated.js';
3057
+ export type JsonLogicRule = Wire.JsonLogicRule;
3058
+ export type ProcessDefinitionStatus = Wire.ProcessDefinitionStatus;
3059
+ export type ListProcessDefinitionsQuery = Wire.ListProcessDefinitionsQuery;
3060
+ export type ListProcessTestRunsQuery = Wire.ListProcessTestRunsQuery;
3056
3061
  export declare const PROCESS_DEFINITION_FORMAT_VERSION: 1;
3057
- export type ProcessDefinitionFormatVersion = z.infer<typeof ProcessDefinitionFormatVersionSchema>;
3058
- export type ProcessNodeType = z.infer<typeof ProcessNodeTypeSchema>;
3059
- export type TransitionTrigger = z.infer<typeof TransitionTriggerSchema>;
3060
- export type ParallelFailurePolicy = z.infer<typeof ParallelFailurePolicySchema>;
3061
- export type ProcessNodeRunType = z.infer<typeof ProcessNodeRunTypeSchema>;
3062
- export type ParallelCollectMode = z.infer<typeof ParallelCollectModeSchema>;
3063
- export type BranchJoinPolicy = z.infer<typeof BranchJoinPolicySchema>;
3064
- export type ProcessDefinitionMetadata = z.infer<typeof ProcessDefinitionMetadataSchema>;
3065
- export type ProcessAgentToolPhase = z.infer<typeof ProcessAgentToolPhaseSchema>;
3066
- export type ProcessAgentToolInputContains = z.infer<typeof ProcessAgentToolInputContainsSchema>;
3067
- export type ProcessAgentPhaseReset = z.infer<typeof ProcessAgentPhaseResetSchema>;
3068
- export type ProcessAgentExecutionPolicy = z.infer<typeof ProcessAgentExecutionPolicySchema>;
3069
- export type ProcessScriptLanguage = z.infer<typeof ProcessScriptLanguageSchema>;
3070
- export type ProcessScriptInlineSource = z.infer<typeof ProcessScriptInlineSourceSchema>;
3071
- export type ProcessScriptSource = z.infer<typeof ProcessScriptSourceSchema>;
3072
- export type ProcessScriptResource = z.infer<typeof ProcessScriptResourceSchema>;
3073
- export type ProcessResourcesDefinition = z.infer<typeof ProcessResourcesDefinitionSchema>;
3074
- export type ParallelCollectField = z.infer<typeof ParallelCollectFieldSchema>;
3075
- export type TransitionDefinition = z.infer<typeof TransitionDefinitionSchema>;
3076
- export type BranchDefinition = z.infer<typeof BranchDefinitionSchema>;
3062
+ export type ProcessDefinitionFormatVersion = Wire.ProcessDefinitionFormatVersion;
3063
+ export type ProcessNodeType = Wire.ProcessNodeType;
3064
+ export type TransitionTrigger = Wire.TransitionTrigger;
3065
+ export type ParallelFailurePolicy = Wire.ParallelFailurePolicy;
3066
+ export type ProcessNodeRunType = Wire.ProcessNodeRunType;
3067
+ export type ParallelCollectMode = Wire.ParallelCollectMode;
3068
+ export type BranchJoinPolicy = Wire.BranchJoinPolicy;
3069
+ export type ProcessDefinitionMetadata = Wire.ProcessDefinitionMetadata;
3070
+ export type ProcessAgentToolPhase = Wire.ProcessAgentToolPhase;
3071
+ export type ProcessAgentToolInputContains = Wire.ProcessAgentToolInputContains;
3072
+ export type ProcessAgentPhaseReset = Wire.ProcessAgentPhaseReset;
3073
+ export type ProcessAgentExecutionPolicy = Wire.ProcessAgentExecutionPolicy;
3074
+ export type ProcessScriptLanguage = Wire.ProcessScriptLanguage;
3075
+ export type ProcessScriptInlineSource = Wire.ProcessScriptInlineSource;
3076
+ export type ProcessScriptSource = Wire.ProcessScriptSource;
3077
+ export type ProcessScriptResource = Wire.ProcessScriptResource;
3078
+ export type ProcessResourcesDefinition = Wire.ProcessResourcesDefinition;
3079
+ export type ParallelCollectField = Wire.ParallelCollectField;
3080
+ export type TransitionDefinition = Wire.TransitionDefinition;
3081
+ export type BranchDefinition = Wire.BranchDefinition;
3077
3082
  export interface BranchNodeBranchDefinition {
3078
3083
  id: string;
3079
3084
  title?: string;
@@ -3081,9 +3086,9 @@ export interface BranchNodeBranchDefinition {
3081
3086
  node: NodeDefinition;
3082
3087
  metadata?: ProcessDefinitionMetadata;
3083
3088
  }
3084
- export type HumanTaskDefinition = z.infer<typeof HumanTaskDefinitionSchema>;
3085
- export type ProcessNodeReturnsDefinition = z.infer<typeof ProcessNodeReturnsDefinitionSchema>;
3086
- export type ParallelCollectDefinition = z.infer<typeof ParallelCollectDefinitionSchema>;
3089
+ export type HumanTaskDefinition = Wire.HumanTaskDefinition;
3090
+ export type ProcessNodeReturnsDefinition = Wire.ProcessNodeReturnsDefinition;
3091
+ export type ParallelCollectDefinition = Wire.ParallelCollectDefinition;
3087
3092
  export interface NodeDefinition {
3088
3093
  type: ProcessNodeType;
3089
3094
  tool?: string;
@@ -3152,7 +3157,7 @@ export interface NodeDefinition {
3152
3157
  branches?: BranchDefinition[] | BranchNodeBranchDefinition[];
3153
3158
  metadata?: ProcessDefinitionMetadata;
3154
3159
  }
3155
- export type ProcessContextDefinition = z.infer<typeof ProcessContextDefinitionSchema>;
3160
+ export type ProcessContextDefinition = Wire.ProcessContextDefinition;
3156
3161
  export interface ProcessDefinitionBody {
3157
3162
  format_version: ProcessDefinitionFormatVersion;
3158
3163
  process: string;
@@ -3177,7 +3182,7 @@ export interface InCodeProcessDefinition {
3177
3182
  tags?: string[];
3178
3183
  definition: ProcessDefinitionBody;
3179
3184
  }
3180
- export type ProcessDefinitionRevisionInfo = z.infer<typeof ProcessDefinitionRevisionInfoSchema>;
3185
+ export type ProcessDefinitionRevisionInfo = Wire.ProcessDefinitionRevisionInfo;
3181
3186
  export interface ProcessDefinition {
3182
3187
  id: string;
3183
3188
  edit_revision: number;
@@ -3195,15 +3200,18 @@ export interface ProcessDefinition {
3195
3200
  created_by: string;
3196
3201
  updated_by: string;
3197
3202
  }
3198
- export type NodeHistoryEntry = z.infer<typeof NodeHistoryEntrySchema>;
3199
- export type ProcessHistoryRef = z.infer<typeof ProcessHistoryRefSchema>;
3203
+ export type NodeHistoryEntry = Wire.NodeHistoryEntry;
3204
+ export type ProcessHistoryRef = Wire.ProcessHistoryRef;
3200
3205
  export interface ProcessHistoryCheckpoint {
3201
3206
  sequence: number;
3202
3207
  current_node: string;
3203
3208
  written_at: Date | string;
3204
3209
  entries: NodeHistoryEntry[];
3205
3210
  }
3206
- export type ProcessState = z.infer<typeof ProcessStateSchema>;
3211
+ export type ProcessState = Wire.ProcessState;
3212
+ export type ProcessTerminalReason = Wire.ProcessTerminalReason;
3213
+ export type ProcessBudgetState = Wire.ProcessBudgetState;
3214
+ export type ProcessBudgetSummary = Wire.ProcessBudgetSummary;
3207
3215
  export interface CreateProcessDefinitionPayload {
3208
3216
  name: string;
3209
3217
  description?: string;
@@ -3234,61 +3242,55 @@ export interface UpdateProcessDefinitionPayload {
3234
3242
  tags?: string[];
3235
3243
  definition?: ProcessDefinitionBody;
3236
3244
  }
3237
- export type PublishProcessDefinitionPayload = z.infer<typeof PublishProcessDefinitionPayloadSchema>;
3238
- export type RevertProcessDefinitionPayload = z.infer<typeof RevertProcessDefinitionPayloadSchema>;
3239
- export type AdvanceProcessPayload = z.infer<typeof AdvanceProcessPayloadSchema>;
3240
- export type AnswerProcessTaskPayload = z.infer<typeof AnswerProcessTaskPayloadSchema>;
3241
- export type RetryProcessNodePayload = z.infer<typeof RetryProcessNodePayloadSchema>;
3242
- export type ProcessContextResponse = z.infer<typeof ProcessContextResponseSchema>;
3243
- export type ProcessHistoryResponse = z.infer<typeof ProcessHistoryResponseSchema>;
3244
- export type ProcessTestRunStatus = z.infer<typeof ProcessTestRunStatusSchema>;
3245
- export type ProcessTestVirtualActor = z.infer<typeof ProcessTestVirtualActorSchema>;
3246
- export type ProcessTestFixtureResult = z.infer<typeof ProcessTestFixtureResultSchema>;
3247
- export type ProcessTestFixtureError = z.infer<typeof ProcessTestFixtureErrorSchema>;
3248
- export type ProcessTestFixtureResponse = z.infer<typeof ProcessTestFixtureResponseSchema>;
3249
- export type ProcessTestNodeFixture = z.infer<typeof ProcessTestNodeFixtureSchema>;
3250
- export type ProcessTestHumanAction = z.infer<typeof ProcessTestHumanActionSchema>;
3251
- export type ProcessTestAssertions = z.infer<typeof ProcessTestAssertionsSchema>;
3252
- export type ProcessTestScenario = z.infer<typeof ProcessTestScenarioSchema>;
3253
- export type ProcessTestSuite = z.infer<typeof ProcessTestSuiteSchema>;
3254
- export type CreateProcessTestSuitePayload = z.infer<typeof CreateProcessTestSuitePayloadSchema>;
3255
- export type UpdateProcessTestSuitePayload = z.infer<typeof UpdateProcessTestSuitePayloadSchema>;
3256
- export type StartProcessTestRunPayload = z.infer<typeof StartProcessTestRunPayloadSchema>;
3257
- export type ProcessTestAssertionResult = z.infer<typeof ProcessTestAssertionResultSchema>;
3258
- export type ProcessTestActorDecision = z.infer<typeof ProcessTestActorDecisionSchema>;
3259
- export type ProcessTestCoverage = z.infer<typeof ProcessTestCoverageSchema>;
3260
- export type ProcessTestChildTrace = z.infer<typeof ProcessTestChildTraceSchema>;
3261
- export type ProcessTestScenarioResult = z.infer<typeof ProcessTestScenarioResultSchema>;
3262
- export type ProcessTestRun = Omit<z.infer<typeof ProcessTestRunSchema>, 'process_definition_snapshot'> & {
3245
+ export type PublishProcessDefinitionPayload = Wire.PublishProcessDefinitionPayload;
3246
+ export type RevertProcessDefinitionPayload = Wire.RevertProcessDefinitionPayload;
3247
+ export type AdvanceProcessPayload = Wire.AdvanceProcessPayload;
3248
+ export type AnswerProcessTaskPayload = Wire.AnswerProcessTaskPayload;
3249
+ export type RetryProcessNodePayload = Wire.RetryProcessNodePayload;
3250
+ export type ProcessContextResponse = Wire.ProcessContextResponse;
3251
+ export type ProcessHistoryResponse = Wire.ProcessHistoryResponse;
3252
+ export type ProcessTestRunStatus = Wire.ProcessTestRunStatus;
3253
+ export type ProcessTestVirtualActor = Wire.ProcessTestVirtualActor;
3254
+ export type ProcessTestFixtureResult = Wire.ProcessTestFixtureResult;
3255
+ export type ProcessTestFixtureError = Wire.ProcessTestFixtureError;
3256
+ export type ProcessTestFixtureResponse = Wire.ProcessTestFixtureResponse;
3257
+ export type ProcessTestNodeFixture = Wire.ProcessTestNodeFixture;
3258
+ export type ProcessTestHumanAction = Wire.ProcessTestHumanAction;
3259
+ export type ProcessTestAssertions = Wire.ProcessTestAssertions;
3260
+ export type ProcessTestScenario = Wire.ProcessTestScenario;
3261
+ export type ProcessTestSuite = Wire.ProcessTestSuite;
3262
+ export type CreateProcessTestSuitePayload = Wire.CreateProcessTestSuitePayload;
3263
+ export type UpdateProcessTestSuitePayload = Wire.UpdateProcessTestSuitePayload;
3264
+ export type StartProcessTestRunPayload = Wire.StartProcessTestRunPayload;
3265
+ export type ProcessTestAssertionResult = Wire.ProcessTestAssertionResult;
3266
+ export type ProcessTestActorDecision = Wire.ProcessTestActorDecision;
3267
+ export type ProcessTestCoverage = Wire.ProcessTestCoverage;
3268
+ export type ProcessTestChildTrace = Wire.ProcessTestChildTrace;
3269
+ export type ProcessTestScenarioResult = Wire.ProcessTestScenarioResult;
3270
+ export type ProcessTestRun = Omit<Wire.ProcessTestRunWire, 'process_definition_snapshot'> & {
3263
3271
  process_definition_snapshot: ProcessDefinitionBody;
3264
3272
  };
3265
- export type ProcessTestStoredSubject = z.infer<typeof ProcessTestStoredSubjectSchema>;
3266
- export type ProcessTestResolvedSubject = z.infer<typeof ProcessTestResolvedSubjectSchema>;
3267
- export type ProcessTestInlineSubject = z.infer<typeof ProcessTestInlineSubjectSchema>;
3268
- export type ProcessTestSubject = z.infer<typeof ProcessTestSubjectSchema>;
3269
- export type ProcessTestTargetById = z.infer<typeof ProcessTestTargetByIdSchema>;
3270
- export type ProcessTestTargetWithDefinition = Omit<z.infer<typeof ProcessTestTargetWithDefinitionSchema>, 'definition'> & {
3273
+ export type ProcessTestStoredSubject = Wire.ProcessTestStoredSubject;
3274
+ export type ProcessTestResolvedSubject = Wire.ProcessTestResolvedSubject;
3275
+ export type ProcessTestInlineSubject = Wire.ProcessTestInlineSubject;
3276
+ export type ProcessTestSubject = Wire.ProcessTestSubject;
3277
+ export type ProcessTestTargetById = Wire.ProcessTestTargetById;
3278
+ export type ProcessTestTargetWithDefinition = Omit<Wire.ProcessTestTargetWithDefinitionWire, 'definition'> & {
3271
3279
  definition: ProcessDefinitionBody;
3272
3280
  };
3273
3281
  export type ProcessTestTarget = ProcessTestTargetById | ProcessTestTargetWithDefinition;
3274
- export type SubmitProcessTestRunPayload = Omit<z.infer<typeof SubmitProcessTestRunPayloadSchema>, 'process'> & {
3282
+ export type SubmitProcessTestRunPayload = Omit<Wire.SubmitProcessTestRunPayloadWire, 'process'> & {
3275
3283
  process: ProcessTestTarget;
3276
3284
  };
3277
- export type UpdateProcessTestScenarioPayload = z.infer<typeof UpdateProcessTestScenarioPayloadSchema>;
3285
+ export type UpdateProcessTestScenarioPayload = Wire.UpdateProcessTestScenarioPayload;
3278
3286
 
3279
3287
  // -----------------------------------------------------------------------------
3280
3288
  // @vertesia/common: store/workflow.d.ts
3281
3289
  // -----------------------------------------------------------------------------
3282
3290
  import type { HttpTimeoutOptions, ModelOptions } from '@llumiverse/common';
3283
- import type { z } from 'zod';
3284
- import type { AgentMessageDetailsSchema, CompactMessageSchema, ConversationFileSchema } from '../api-schemas/agent-runs.js';
3285
- import type { ConversationActivityStateSchema } from '../api-schemas/app-lifecycle.js';
3286
- import type { WorkflowExecutionStatusSchema } from '../api-schemas/document-processing.js';
3287
- import type { PlanSchema, PlanTaskSchema, WorkflowAncestorSchema } from '../api-schemas/interaction.js';
3288
- import type { WorkflowExecutionStartResultSchema } from '../api-schemas/process.js';
3289
- 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';
3290
3291
  import type { AgentResourceReference, InteractionExecutionConfiguration } from '../interaction.js';
3291
3292
  import type { SupportedEmbeddingTypes } from '../project.js';
3293
+ import type * as Wire from '../wire-types.generated.js';
3292
3294
  import type { WorkflowInput } from './dsl-workflow.js';
3293
3295
  export declare enum ContentEventName {
3294
3296
  create = "create",
@@ -3305,7 +3307,7 @@ export interface Queue {
3305
3307
  queue_suffix?: string;
3306
3308
  queue_full_name?: string;
3307
3309
  }
3308
- export type WorkflowAncestor = z.infer<typeof WorkflowAncestorSchema>;
3310
+ export type WorkflowAncestor = Wire.WorkflowAncestor;
3309
3311
  export interface WorkflowExecutionBaseParams<T = Record<string, unknown>> {
3310
3312
  /** Effective principal for private scheduled runs; server supplied. */
3311
3313
  subject?: string;
@@ -3421,12 +3423,12 @@ export interface WorkflowExecutionPayload<T = Record<string, unknown>, EventName
3421
3423
  auth_token: string;
3422
3424
  }
3423
3425
  export declare function getDocumentIds(payload: WorkflowExecutionPayload<Record<string, unknown>>): string[];
3424
- export type ExecuteWorkflowPayload = z.infer<typeof ExecuteWorkflowPayloadSchema>;
3425
- export type ConversationActivityState = z.infer<typeof ConversationActivityStateSchema>;
3426
- export type ListWorkflowRunsPayload = z.infer<typeof ListWorkflowRunsPayloadSchema>;
3427
- export type SignalEventProperties = z.infer<typeof SignalEventPropertiesSchema>;
3428
- export type EventError = z.infer<typeof EventErrorSchema>;
3429
- export type WorkflowRunEvent = z.infer<typeof WorkflowRunEventSchema>;
3426
+ export type ExecuteWorkflowPayload = Wire.ExecuteWorkflowPayload;
3427
+ export type ConversationActivityState = Wire.ConversationActivityState;
3428
+ export type ListWorkflowRunsPayload = Wire.ListWorkflowRunsPayload;
3429
+ export type SignalEventProperties = Wire.SignalEventProperties;
3430
+ export type EventError = Wire.EventError;
3431
+ export type WorkflowRunEvent = Wire.WorkflowRunEvent;
3430
3432
  export declare enum TaskStatus {
3431
3433
  SCHEDULED = "scheduled",
3432
3434
  RUNNING = "running",
@@ -3444,27 +3446,27 @@ export declare enum TaskType {
3444
3446
  SIGNAL = "signal",
3445
3447
  TIMER = "timer"
3446
3448
  }
3447
- export type ActivityTask = z.infer<typeof ActivityTaskSchema>;
3448
- export type ChildWorkflowTask = z.infer<typeof ChildWorkflowTaskSchema>;
3449
- export type SignalTask = z.infer<typeof SignalTaskSchema>;
3450
- export type TimerTask = z.infer<typeof TimerTaskSchema>;
3451
- export type WorkflowTask = z.infer<typeof WorkflowTaskSchema>;
3452
- export type WorkflowHistory = z.infer<typeof WorkflowHistorySchema>;
3453
- export type AgentTask = z.infer<typeof AgentTaskSchema>;
3454
- export type WorkflowRun = z.infer<typeof WorkflowRunSchema>;
3455
- export type PendingActivity = z.infer<typeof PendingActivitySchema>;
3456
- export type WorkflowRunWithDetails = z.infer<typeof WorkflowRunWithDetailsSchema>;
3457
- export type ListWorkflowRunsResponse = z.infer<typeof ListWorkflowRunsResponseSchema>;
3458
- export type WorkflowExecutionStartResult = z.infer<typeof WorkflowExecutionStartResultSchema>;
3459
- export type ListWorkflowInteractionsResponse = z.infer<typeof ListWorkflowInteractionsResponseSchema>;
3460
- export type WorkflowRunUpdatesResponse = z.infer<typeof WorkflowRunUpdatesResponseSchema>;
3461
- export type WorkflowRunDetailsQuery = z.infer<typeof WorkflowRunDetailsQuerySchema>;
3462
- export type WorkflowRunUpdatesQuery = z.infer<typeof WorkflowRunUpdatesQuerySchema>;
3463
- export type WorkflowRunStreamQuery = z.infer<typeof WorkflowRunStreamQuerySchema>;
3464
- export type WorkflowUpdatePublishResponse = z.infer<typeof WorkflowUpdatePublishResponseSchema>;
3465
- export type WorkflowActionResponse = z.infer<typeof WorkflowActionResponseSchema>;
3466
- export type WorkflowQueryResult = z.infer<typeof WorkflowQueryResultSchema>;
3467
- export type WorkflowInteractionVars = z.infer<typeof WorkflowInteractionVarsSchema>;
3449
+ export type ActivityTask = Wire.ActivityTask;
3450
+ export type ChildWorkflowTask = Wire.ChildWorkflowTask;
3451
+ export type SignalTask = Wire.SignalTask;
3452
+ export type TimerTask = Wire.TimerTask;
3453
+ export type WorkflowTask = Wire.WorkflowTask;
3454
+ export type WorkflowHistory = Wire.WorkflowHistory;
3455
+ export type AgentTask = Wire.AgentTask;
3456
+ export type WorkflowRun = Wire.WorkflowRun;
3457
+ export type PendingActivity = Wire.PendingActivity;
3458
+ export type WorkflowRunWithDetails = Wire.WorkflowRunWithDetails;
3459
+ export type ListWorkflowRunsResponse = Wire.ListWorkflowRunsResponse;
3460
+ export type WorkflowExecutionStartResult = Wire.WorkflowExecutionStartResult;
3461
+ export type ListWorkflowInteractionsResponse = Wire.ListWorkflowInteractionsResponse;
3462
+ export type WorkflowRunUpdatesResponse = Wire.WorkflowRunUpdatesResponse;
3463
+ export type WorkflowRunDetailsQuery = Wire.WorkflowRunDetailsQuery;
3464
+ export type WorkflowRunUpdatesQuery = Wire.WorkflowRunUpdatesQuery;
3465
+ export type WorkflowRunStreamQuery = Wire.WorkflowRunStreamQuery;
3466
+ export type WorkflowUpdatePublishResponse = Wire.WorkflowUpdatePublishResponse;
3467
+ export type WorkflowActionResponse = Wire.WorkflowActionResponse;
3468
+ export type WorkflowQueryResult = Wire.WorkflowQueryResult;
3469
+ export type WorkflowInteractionVars = Wire.WorkflowInteractionVars;
3468
3470
  export declare const WorkflowExecutionStatusValues: {
3469
3471
  readonly UNKNOWN: 0;
3470
3472
  readonly RUNNING: 1;
@@ -3476,7 +3478,7 @@ export declare const WorkflowExecutionStatusValues: {
3476
3478
  readonly TIMED_OUT: 7;
3477
3479
  };
3478
3480
  export declare const WorkflowExecutionStatus: typeof WorkflowExecutionStatusValues & Readonly<Record<number, string>>;
3479
- export type WorkflowExecutionStatus = z.infer<typeof WorkflowExecutionStatusSchema>;
3481
+ export type WorkflowExecutionStatus = Wire.WorkflowExecutionStatus;
3480
3482
  /**
3481
3483
  * Basic response for anything run with an async workflow
3482
3484
  */
@@ -3513,7 +3515,7 @@ export declare enum AgentMessageType {
3513
3515
  BATCH_PROGRESS = 13,
3514
3516
  RESTARTING = 14
3515
3517
  }
3516
- export type AgentMessageDetails = z.infer<typeof AgentMessageDetailsSchema>;
3518
+ export type AgentMessageDetails = Wire.AgentMessageDetails;
3517
3519
  /**
3518
3520
  * Details for THOUGHT messages representing tool calls (event_class: 'activity').
3519
3521
  */
@@ -3557,7 +3559,7 @@ export interface StreamingChunkDetails {
3557
3559
  * Primary type used throughout the system.
3558
3560
  * ~85% smaller than legacy AgentMessage format.
3559
3561
  */
3560
- export type CompactMessage = z.infer<typeof CompactMessageSchema>;
3562
+ export type CompactMessage = Wire.CompactMessage;
3561
3563
  /**
3562
3564
  * Legacy message format for backward compatibility.
3563
3565
  * @deprecated Use CompactMessage instead
@@ -3650,7 +3652,7 @@ export declare enum FileProcessingStatus {
3650
3652
  /** File processing failed */
3651
3653
  ERROR = "error"
3652
3654
  }
3653
- export type ConversationFile = z.infer<typeof ConversationFileSchema>;
3655
+ export type ConversationFile = Wire.ConversationFile;
3654
3656
  /**
3655
3657
  * Details for file processing SYSTEM messages.
3656
3658
  * Used when type is AgentMessageType.SYSTEM with system_type: 'file_processing'.
@@ -3717,8 +3719,8 @@ export interface ConversationFileRemovedRef {
3717
3719
  /** Client-generated unique ID */
3718
3720
  id: string;
3719
3721
  }
3720
- export type PlanTask = z.infer<typeof PlanTaskSchema>;
3721
- export type Plan = z.infer<typeof PlanSchema>;
3722
+ export type PlanTask = Wire.PlanTask;
3723
+ export type Plan = Wire.Plan;
3722
3724
  export declare const LOW_PRIORITY_TASK_QUEUE = "low_priority";
3723
3725
  /**
3724
3726
  * WebSocket message types for bidirectional communication
@@ -3900,12 +3902,7 @@ export {};
3900
3902
  // -----------------------------------------------------------------------------
3901
3903
  // @vertesia/common: apps.d.ts
3902
3904
  // -----------------------------------------------------------------------------
3903
- import type { z } from 'zod';
3904
- import type { AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppListScopeSchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppsQuerySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, DeleteAppVersionResponseSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppDevelopmentTaskRequestSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema } from './api-schemas/app-lifecycle.js';
3905
- 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';
3906
- 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';
3907
- import type { RemoteActivityDefinitionSchema } from './api-schemas/integrations.js';
3908
- import type { ProjectToolInfoSchema, RenderingTemplateDefinitionRefSchema, RenderingTemplateDefinitionSchema } from './api-schemas/project.js';
3905
+ import type * as Wire from './wire-types.generated.js';
3909
3906
  /** Allowed values for AppUINavItem.preferredSection */
3910
3907
  export declare const PREFERRED_SECTIONS: readonly ['default', 'footer', 'settings'];
3911
3908
  /**
@@ -3934,18 +3931,18 @@ export interface AppUINavItem {
3934
3931
  */
3935
3932
  preferredSection?: (typeof PREFERRED_SECTIONS)[number];
3936
3933
  }
3937
- export type AppUIConfig = z.infer<typeof AppUIConfigSchema>;
3938
- export type AppInstallationProjectsQuery = z.infer<typeof AppInstallationProjectsQuerySchema>;
3939
- export type AppInstallationsQuery = z.infer<typeof AppInstallationsQuerySchema>;
3940
- export type AppListScope = z.infer<typeof AppListScopeSchema>;
3941
- export type AppsQuery = z.infer<typeof AppsQuerySchema>;
3942
- export type ToolCollectionAuthType = z.infer<typeof ToolCollectionAuthTypeSchema>;
3943
- export type MCPOAuthConfig = z.infer<typeof MCPOAuthConfigSchema>;
3934
+ export type AppUIConfig = Wire.AppUIConfig;
3935
+ export type AppInstallationProjectsQuery = Wire.AppInstallationProjectsQuery;
3936
+ export type AppInstallationsQuery = Wire.AppInstallationsQuery;
3937
+ export type AppListScope = Wire.AppListScope;
3938
+ export type AppsQuery = Wire.AppsQuery;
3939
+ export type ToolCollectionAuthType = Wire.ToolCollectionAuthType;
3940
+ export type MCPOAuthConfig = Wire.MCPOAuthConfig;
3944
3941
  /** Install-time provisioning blueprint for an `auth: 'api_key'` MCP collection. Never holds the key. */
3945
- export type MCPApiKeyConfig = z.infer<typeof MCPApiKeyConfigSchema>;
3946
- export type MCPToolCollectionObject = z.infer<typeof MCPToolCollectionObjectSchema>;
3947
- export type VertesiaSDKToolCollectionObject = z.infer<typeof VertesiaSDKToolCollectionObjectSchema>;
3948
- export type ToolCollectionObject = z.infer<typeof ToolCollectionObjectSchema>;
3942
+ export type MCPApiKeyConfig = Wire.MCPApiKeyConfig;
3943
+ export type MCPToolCollectionObject = Wire.MCPToolCollectionObject;
3944
+ export type VertesiaSDKToolCollectionObject = Wire.VertesiaSDKToolCollectionObject;
3945
+ export type ToolCollectionObject = Wire.ToolCollectionObject;
3949
3946
  /**
3950
3947
  * Normalizes a tool collection to the object format.
3951
3948
  * Applies optional `{{var}}` substitution to the URL so manifests can reference
@@ -3959,7 +3956,7 @@ export declare function normalizeToolCollection(collection: ToolCollectionObject
3959
3956
  /**
3960
3957
  * Metadata hints from MCP tool annotations (per MCP spec).
3961
3958
  */
3962
- export type MCPToolAnnotations = z.infer<typeof MCPToolAnnotationsSchema>;
3959
+ export type MCPToolAnnotations = Wire.MCPToolAnnotations;
3963
3960
  /**
3964
3961
  * Approval behavior class for a tool exposed to agents.
3965
3962
  *
@@ -3968,58 +3965,58 @@ export type MCPToolAnnotations = z.infer<typeof MCPToolAnnotationsSchema>;
3968
3965
  * - `control`: affects agent control flow or tool availability, not user data or external systems.
3969
3966
  * - `requires_confirmation`: high-impact action that must ask the user even in interactive full-control mode.
3970
3967
  */
3971
- export type AgentToolApprovalClass = z.infer<typeof AgentToolApprovalClassSchema>;
3968
+ export type AgentToolApprovalClass = Wire.AgentToolApprovalClass;
3972
3969
  /**
3973
3970
  * Tool definition with optional activation control for agent exposure.
3974
3971
  */
3975
- export type AgentToolDefinition = z.infer<typeof AgentToolDefinitionSchema>;
3972
+ export type AgentToolDefinition = Wire.AgentToolDefinition;
3976
3973
  /**
3977
3974
  * Definition of a remote activity exposed by a tool server for use in DSL workflows.
3978
3975
  * Remote activities are identified in workflow steps using colon-separated names:
3979
3976
  * `app:<app_name>:<collection>:<activity_name>` (e.g. `app:my-nlp-app:examples:word_count`).
3980
3977
  */
3981
- export type RemoteActivityDefinition = z.infer<typeof RemoteActivityDefinitionSchema>;
3978
+ export type RemoteActivityDefinition = Wire.RemoteActivityDefinition;
3982
3979
  /**
3983
3980
  * Canonical app capabilities Studio renders/supports. The public type is derived from
3984
3981
  * this list so runtime validation and TypeScript cannot drift.
3985
3982
  */
3986
3983
  export declare const APP_CAPABILITIES: readonly ['ui', 'tools', 'interactions', 'types', 'processes', 'views', 'templates', 'dashboards'];
3987
- export type AppCapabilities = z.infer<typeof AppCapabilitiesSchema>;
3984
+ export type AppCapabilities = Wire.AppCapabilities;
3988
3985
  /**
3989
3986
  * Header carrying the app version a generated-app UI is running, so studio/zeno resolve app-owned
3990
3987
  * capability refs (`app:<app>:...`) against that exact version instead of the promoted version.
3991
3988
  * Resolution-time only; never persisted. Set by the generated app template via client.withAppVersion.
3992
3989
  */
3993
3990
  export declare const APP_VERSION_HEADER = "x-vertesia-app-version";
3994
- export type AppAvailableIn = z.infer<typeof AppAvailableInSchema>;
3995
- export type AppVersionKind = z.infer<typeof AppVersionKindSchema>;
3996
- export type AppVersionState = z.infer<typeof AppVersionStateSchema>;
3997
- export type AppVersionTarget = z.infer<typeof AppVersionTargetSchema>;
3998
- export type AppVersionGitRefType = z.infer<typeof AppVersionGitRefTypeSchema>;
3999
- export type AppBuildTrigger = z.infer<typeof AppBuildTriggerSchema>;
4000
- export type AppVersionStorage = z.infer<typeof AppVersionStorageSchema>;
4001
- export type AppVersionGitSource = z.infer<typeof AppVersionGitSourceSchema>;
4002
- export type AppVersionUrls = z.infer<typeof AppVersionUrlsSchema>;
4003
- export type AppVersionRecord = z.infer<typeof AppVersionRecordSchema>;
4004
- export type DeleteAppVersionResponse = z.infer<typeof DeleteAppVersionResponseSchema>;
4005
- export type UpsertAppVersionRequest = z.infer<typeof UpsertAppVersionRequestSchema>;
3991
+ export type AppAvailableIn = Wire.AppAvailableIn;
3992
+ export type AppVersionKind = Wire.AppVersionKind;
3993
+ export type AppVersionState = Wire.AppVersionState;
3994
+ export type AppVersionTarget = Wire.AppVersionTarget;
3995
+ export type AppVersionGitRefType = Wire.AppVersionGitRefType;
3996
+ export type AppBuildTrigger = Wire.AppBuildTrigger;
3997
+ export type AppVersionStorage = Wire.AppVersionStorage;
3998
+ export type AppVersionGitSource = Wire.AppVersionGitSource;
3999
+ export type AppVersionUrls = Wire.AppVersionUrls;
4000
+ export type AppVersionRecord = Wire.AppVersionRecord;
4001
+ export type DeleteAppVersionResponse = Wire.DeleteAppVersionResponse;
4002
+ export type UpsertAppVersionRequest = Wire.UpsertAppVersionRequest;
4006
4003
  export interface AppVersionListQuery {
4007
4004
  app_id?: string;
4008
4005
  kind?: AppVersionKind;
4009
4006
  include_expired?: boolean;
4010
4007
  limit?: number;
4011
4008
  }
4012
- export type PromoteAppVersionResponse = z.infer<typeof PromoteAppVersionResponseSchema>;
4013
- export type StartAppBuildRequest = z.infer<typeof StartAppBuildRequestSchema>;
4014
- export type StartAppBuildResponse = z.infer<typeof StartAppBuildResponseSchema>;
4015
- export type AppBuildProgressStatus = z.infer<typeof AppBuildProgressStatusSchema>;
4016
- export type AppBuildProgress = z.infer<typeof AppBuildProgressSchema>;
4017
- export type AppScaffoldModule = z.infer<typeof AppScaffoldModuleSchema>;
4018
- export type StartAppScaffoldRequest = z.infer<typeof StartAppScaffoldRequestSchema>;
4019
- export type StartAppScaffoldResponse = z.infer<typeof StartAppScaffoldResponseSchema>;
4020
- export type StartAppDevelopmentTaskRequest = z.infer<typeof StartAppDevelopmentTaskRequestSchema>;
4021
- export type AppScaffoldProgressStatus = z.infer<typeof AppScaffoldProgressStatusSchema>;
4022
- export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
4009
+ export type PromoteAppVersionResponse = Wire.PromoteAppVersionResponse;
4010
+ export type StartAppBuildRequest = Wire.StartAppBuildRequest;
4011
+ export type StartAppBuildResponse = Wire.StartAppBuildResponse;
4012
+ export type AppBuildProgressStatus = Wire.AppBuildProgressStatus;
4013
+ export type AppBuildProgress = Wire.AppBuildProgress;
4014
+ export type AppScaffoldModule = Wire.AppScaffoldModule;
4015
+ export type StartAppScaffoldRequest = Wire.StartAppScaffoldRequest;
4016
+ export type StartAppScaffoldResponse = Wire.StartAppScaffoldResponse;
4017
+ export type StartAppDevelopmentTaskRequest = Wire.StartAppDevelopmentTaskRequest;
4018
+ export type AppScaffoldProgressStatus = Wire.AppScaffoldProgressStatus;
4019
+ export type AppScaffoldProgress = Wire.AppScaffoldProgress;
4023
4020
  /**
4024
4021
  * Access control policy for an app installation.
4025
4022
  * Declares which access surfaces are gated by per-user ACEs.
@@ -4032,11 +4029,11 @@ export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
4032
4029
  *
4033
4030
  * Declared on the manifest as the app's default. May be overridden per-installation.
4034
4031
  */
4035
- export type AppAccessControl = z.infer<typeof AppAccessControlSchema>;
4036
- export type AppManifestData = z.infer<typeof AppManifestDataSchema>;
4037
- export type UpdateAppPayload = z.infer<typeof UpdateAppPayloadSchema>;
4038
- export type AppGitSourceConfig = z.infer<typeof AppGitSourceConfigSchema>;
4039
- export type AppSourceConfig = z.infer<typeof AppSourceConfigSchema>;
4032
+ export type AppAccessControl = Wire.AppAccessControl;
4033
+ export type AppManifestData = Wire.AppManifestData;
4034
+ export type UpdateAppPayload = Wire.UpdateAppPayload;
4035
+ export type AppGitSourceConfig = Wire.AppGitSourceConfig;
4036
+ export type AppSourceConfig = Wire.AppSourceConfig;
4040
4037
  /**
4041
4038
  * Deployment-time URL endpoints that can be referenced in app manifest URLs
4042
4039
  * via `{{key}}` placeholders. The caller (typically studio-server) supplies
@@ -4058,53 +4055,53 @@ export interface Endpoints {
4058
4055
  gateway?: string;
4059
4056
  }
4060
4057
  /** One entry in an app git-repo directory listing (see {@link AppRepoTree}). */
4061
- export type AppRepoTreeEntry = z.infer<typeof AppRepoTreeEntrySchema>;
4058
+ export type AppRepoTreeEntry = Wire.AppRepoTreeEntry;
4062
4059
  /** A non-recursive listing of an app git repo directory at a given ref. */
4063
- export type AppRepoTree = z.infer<typeof AppRepoTreeSchema>;
4060
+ export type AppRepoTree = Wire.AppRepoTree;
4064
4061
  /** Result of committing one or more uploaded documents to an app repository. */
4065
- export type AppRepoDocumentCommit = z.infer<typeof AppRepoDocumentCommitSchema>;
4062
+ export type AppRepoDocumentCommit = Wire.AppRepoDocumentCommit;
4066
4063
  /** One commit that inserted or changed a file in an app git repository. */
4067
- export type AppRepoCommit = z.infer<typeof AppRepoCommitSchema>;
4064
+ export type AppRepoCommit = Wire.AppRepoCommit;
4068
4065
  /** Commit history in an app git repository, optionally filtered to a file. */
4069
- export type AppRepoCommits = z.infer<typeof AppRepoCommitsSchema>;
4066
+ export type AppRepoCommits = Wire.AppRepoCommits;
4070
4067
  /** A branch or tag in an app git repo, resolved to its latest commit. */
4071
- export type AppRepoRef = z.infer<typeof AppRepoRefSchema>;
4068
+ export type AppRepoRef = Wire.AppRepoRef;
4072
4069
  /** The branches and tags of an app git repo (see {@link AppRepoRef}). */
4073
- export type AppRepoRefs = z.infer<typeof AppRepoRefsSchema>;
4070
+ export type AppRepoRefs = Wire.AppRepoRefs;
4074
4071
  /** A mutable app development task represented by an `agent/*` Git branch. */
4075
- export type AppDevelopmentTask = z.infer<typeof AppDevelopmentTaskSchema>;
4072
+ export type AppDevelopmentTask = Wire.AppDevelopmentTask;
4076
4073
  /** Git-backed development tasks and the branch used for new tasks by default. */
4077
- export type AppDevelopmentTaskList = z.infer<typeof AppDevelopmentTaskListSchema>;
4074
+ export type AppDevelopmentTaskList = Wire.AppDevelopmentTaskList;
4078
4075
  /** Development task details, including the latest parent assistant run when one exists. */
4079
- export type AppDevelopmentTaskDetails = z.infer<typeof AppDevelopmentTaskDetailsSchema>;
4076
+ export type AppDevelopmentTaskDetails = Wire.AppDevelopmentTaskDetails;
4080
4077
  /** Request to create a branch from an existing branch, tag, or commit. */
4081
4078
  export interface CreateAppRepoBranchRequest {
4082
4079
  name: string;
4083
4080
  source_ref: string;
4084
4081
  }
4085
4082
  /** A newly created app repository branch. */
4086
- export type AppRepoBranch = z.infer<typeof AppRepoBranchSchema>;
4083
+ export type AppRepoBranch = Wire.AppRepoBranch;
4087
4084
  /**
4088
4085
  * Canonical package scopes, including the catch-all `all`. The public type is derived
4089
4086
  * from this list so request parsing and TypeScript cannot drift.
4090
4087
  */
4091
4088
  export declare const APP_PACKAGE_SCOPES: readonly ['ui', 'tools', 'interactions', 'types', 'processes', 'views', 'templates', 'dashboards', 'settings', 'widgets', 'activities', 'hooks', 'subscriptions', 'all'];
4092
4089
  export type AppPackageScope = (typeof APP_PACKAGE_SCOPES)[number];
4093
- export type AppPackageEventHook = z.infer<typeof AppPackageEventHookSchema>;
4094
- export type AppPackageHooks = z.infer<typeof AppPackageHooksSchema>;
4095
- export type AppEventHookDelivery = z.infer<typeof AppEventHookDeliverySchema>;
4096
- export type AppEventHookPayload = z.infer<typeof AppEventHookPayloadSchema>;
4097
- export type AppEventSubscriptionDefinition = z.infer<typeof AppEventSubscriptionDefinitionSchema>;
4098
- export type AppPackage = z.infer<typeof AppPackageSchema>;
4090
+ export type AppPackageEventHook = Wire.AppPackageEventHook;
4091
+ export type AppPackageHooks = Wire.AppPackageHooks;
4092
+ export type AppEventHookDelivery = Wire.AppEventHookDelivery;
4093
+ export type AppEventHookPayload = Wire.AppEventHookPayload;
4094
+ export type AppEventSubscriptionDefinition = Wire.AppEventSubscriptionDefinition;
4095
+ export type AppPackage = Wire.AppPackage;
4099
4096
  /**
4100
4097
  * A single diagnostic produced while inspecting an app's registration state.
4101
4098
  */
4102
- export type AppInspectionIssue = z.infer<typeof AppInspectionIssueSchema>;
4099
+ export type AppInspectionIssue = Wire.AppInspectionIssue;
4103
4100
  /**
4104
4101
  * Per-capability report of what an app's promoted package actually exposes,
4105
4102
  * compared against what its manifest declares.
4106
4103
  */
4107
- export type AppInspectionCapabilityReport = z.infer<typeof AppInspectionCapabilityReportSchema>;
4104
+ export type AppInspectionCapabilityReport = Wire.AppInspectionCapabilityReport;
4108
4105
  /**
4109
4106
  * Result of inspecting an app's registration: the resolved manifest state, what
4110
4107
  * the promoted package actually exposes per capability, and diagnostics. This
@@ -4112,92 +4109,92 @@ export type AppInspectionCapabilityReport = z.infer<typeof AppInspectionCapabili
4112
4109
  * Build › App inspection UI to verify what is registered vs declared, instead of
4113
4110
  * inferring it from failed object/import calls.
4114
4111
  */
4115
- export type AppInspectionResult = z.infer<typeof AppInspectionResultSchema>;
4116
- export type AppWidgetInfo = z.infer<typeof AppWidgetInfoSchema>;
4117
- export type RenderingTemplateDefinition = z.infer<typeof RenderingTemplateDefinitionSchema>;
4118
- export type RenderingTemplateDefinitionRef = z.infer<typeof RenderingTemplateDefinitionRefSchema>;
4119
- export type AppManifest = z.infer<typeof AppManifestSchema>;
4120
- export type AppManifestSource = z.infer<typeof AppManifestSourceSchema>;
4112
+ export type AppInspectionResult = Wire.AppInspectionResult;
4113
+ export type AppWidgetInfo = Wire.AppWidgetInfo;
4114
+ export type RenderingTemplateDefinition = Wire.RenderingTemplateDefinition;
4115
+ export type RenderingTemplateDefinitionRef = Wire.RenderingTemplateDefinitionRef;
4116
+ export type AppManifest = Wire.AppManifest;
4117
+ export type AppManifestSource = Wire.AppManifestSource;
4121
4118
  /**
4122
4119
  * Binding between an MCP collection and an OAuth provider created at install time.
4123
4120
  * Stored on AppInstallation so the runtime can look up the correct OAuth provider by ID,
4124
4121
  * independent of manifest oauth_provider references (which may change).
4125
4122
  */
4126
- export type AppInstallationOAuthBinding = z.infer<typeof AppInstallationOAuthBindingSchema>;
4123
+ export type AppInstallationOAuthBinding = Wire.AppInstallationOAuthBinding;
4127
4124
  /**
4128
4125
  * Binding between a named OAuth provider and the OAuth provider created for it at install time.
4129
4126
  * Stored on AppInstallation so the runtime can resolve the correct OAuth provider for collections
4130
4127
  * that reference a shared provider via MCPToolCollectionObject.oauth_provider.
4131
4128
  */
4132
- export type AppInstallationProviderBinding = z.infer<typeof AppInstallationProviderBindingSchema>;
4133
- export type AppInstallation = z.infer<typeof AppInstallationSchema>;
4134
- export type AppInstallationWithManifest = z.infer<typeof AppInstallationWithManifestSchema>;
4129
+ export type AppInstallationProviderBinding = Wire.AppInstallationProviderBinding;
4130
+ export type AppInstallation = Wire.AppInstallation;
4131
+ export type AppInstallationWithManifest = Wire.AppInstallationWithManifest;
4135
4132
  /** An installation whose app manifest could not be resolved (the app was deleted or is unpublished). */
4136
4133
  export interface OrphanedAppInstallation extends Omit<AppInstallation, 'manifest'> {
4137
4134
  manifest: null;
4138
4135
  }
4139
- export type AppInstallationListEntry = z.infer<typeof AppInstallationListEntrySchema>;
4140
- export type OAuthClientCredentials = z.infer<typeof OAuthClientCredentialsSchema>;
4141
- export type AppOAuthCollectionParams = z.infer<typeof AppOAuthCollectionParamsSchema>;
4136
+ export type AppInstallationListEntry = Wire.AppInstallationListEntry;
4137
+ export type OAuthClientCredentials = Wire.OAuthClientCredentials;
4138
+ export type AppOAuthCollectionParams = Wire.AppOAuthCollectionParams;
4142
4139
  /** One installer-supplied MCP API key. */
4143
- export type McpApiKeyCredential = z.infer<typeof McpApiKeyCredentialSchema>;
4140
+ export type McpApiKeyCredential = Wire.McpApiKeyCredential;
4144
4141
  /** Installer-supplied MCP API keys, keyed by collection id. */
4145
- export type AppApiKeyCollectionParams = z.infer<typeof AppApiKeyCollectionParamsSchema>;
4146
- export type AppOAuthProviderParams = z.infer<typeof AppOAuthProviderParamsSchema>;
4147
- export type AppInstallationPayload = z.infer<typeof AppInstallationPayloadSchema>;
4148
- export type UpdateAppInstallationToolAllowlistPayload = z.infer<typeof UpdateAppInstallationToolAllowlistPayloadSchema>;
4149
- export type AppInstallationKind = z.infer<typeof AppInstallationKindSchema>;
4142
+ export type AppApiKeyCollectionParams = Wire.AppApiKeyCollectionParams;
4143
+ export type AppOAuthProviderParams = Wire.AppOAuthProviderParams;
4144
+ export type AppInstallationPayload = Wire.AppInstallationPayload;
4145
+ export type UpdateAppInstallationToolAllowlistPayload = Wire.UpdateAppInstallationToolAllowlistPayload;
4146
+ export type AppInstallationKind = Wire.AppInstallationKind;
4150
4147
  /**
4151
4148
  * A description of the tools provided by an app
4152
4149
  */
4153
- export type AppToolCollection = z.infer<typeof AppToolCollectionSchema>;
4150
+ export type AppToolCollection = Wire.AppToolCollection;
4154
4151
  /**
4155
4152
  * A tool and the app installation that provides it, inferred from `./api-schemas/project.js` — the
4156
4153
  * module that owns it, because it converted with the Projects batch rather than with Apps.
4157
4154
  */
4158
- export type ProjectToolInfo = z.infer<typeof ProjectToolInfoSchema>;
4155
+ export type ProjectToolInfo = Wire.ProjectToolInfo;
4159
4156
  /**
4160
4157
  * OAuth authentication status for an MCP tool collection
4161
4158
  */
4162
- export type OAuthAuthStatus = z.infer<typeof OAuthAuthStatusSchema>;
4159
+ export type OAuthAuthStatus = Wire.OAuthAuthStatus;
4163
4160
  /**
4164
4161
  * Response from OAuth authorization endpoint
4165
4162
  */
4166
- export type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>;
4163
+ export type OAuthAuthorizeResponse = Wire.OAuthAuthorizeResponse;
4167
4164
  /**
4168
4165
  * Payload for storing the static bearer token of an `auth: 'api_key'` MCP collection.
4169
4166
  * The key is write-only — it is never echoed back by any endpoint.
4170
4167
  */
4171
- export type SetMcpApiKeyRequest = z.infer<typeof SetMcpApiKeyRequestSchema>;
4168
+ export type SetMcpApiKeyRequest = Wire.SetMcpApiKeyRequest;
4172
4169
  /** Whether an `auth: 'api_key'` MCP collection has a key stored, plus a display-only hint. */
4173
- export type McpApiKeyStatus = z.infer<typeof McpApiKeyStatusSchema>;
4174
- export type McpOAuthTokenRequest = z.infer<typeof McpOAuthTokenRequestSchema>;
4175
- export type McpOAuthTokenResponse = z.infer<typeof McpOAuthTokenResponseSchema>;
4176
- export type McpOAuthConnectResponse = z.infer<typeof McpOAuthConnectResponseSchema>;
4177
- export type McpOAuthDisconnectResponse = z.infer<typeof McpOAuthDisconnectResponseSchema>;
4170
+ export type McpApiKeyStatus = Wire.McpApiKeyStatus;
4171
+ export type McpOAuthTokenRequest = Wire.McpOAuthTokenRequest;
4172
+ export type McpOAuthTokenResponse = Wire.McpOAuthTokenResponse;
4173
+ export type McpOAuthConnectResponse = Wire.McpOAuthConnectResponse;
4174
+ export type McpOAuthDisconnectResponse = Wire.McpOAuthDisconnectResponse;
4178
4175
  /**
4179
4176
  * Response from OAuth metadata endpoint
4180
4177
  */
4181
- export type OAuthMetadataResponse = z.infer<typeof OAuthMetadataResponseSchema>;
4178
+ export type OAuthMetadataResponse = Wire.OAuthMetadataResponse;
4182
4179
  /**
4183
4180
  * Configuration entry for an individual app in the CompositeApp shell.
4184
4181
  * References an app installation by name.
4185
4182
  */
4186
- export type CompositeAppEntry = z.infer<typeof CompositeAppEntrySchema>;
4183
+ export type CompositeAppEntry = Wire.CompositeAppEntry;
4187
4184
  /**
4188
4185
  * Logo overrides for the CompositeApp shell header.
4189
4186
  * When provided, these URLs replace the default Vertesia logo.
4190
4187
  */
4191
- export type CompositeAppLogoOverrides = z.infer<typeof CompositeAppLogoOverridesSchema>;
4188
+ export type CompositeAppLogoOverrides = Wire.CompositeAppLogoOverrides;
4192
4189
  /**
4193
4190
  * Message banner overrides for the shell header.
4194
4191
  */
4195
- export type CompositeAppMessageStyle = z.infer<typeof CompositeAppMessageStyleSchema>;
4196
- export type CompositeAppMessageOverrides = z.infer<typeof CompositeAppMessageOverridesSchema>;
4192
+ export type CompositeAppMessageStyle = Wire.CompositeAppMessageStyle;
4193
+ export type CompositeAppMessageOverrides = Wire.CompositeAppMessageOverrides;
4197
4194
  /**
4198
4195
  * Switcher visibility overrides for the CompositeApp header.
4199
4196
  */
4200
- export type CompositeAppSwitchersOverrides = z.infer<typeof CompositeAppSwitchersOverridesSchema>;
4197
+ export type CompositeAppSwitchersOverrides = Wire.CompositeAppSwitchersOverrides;
4201
4198
  /**
4202
4199
  * Header button visibility overrides for the CompositeApp header.
4203
4200
  *
@@ -4205,7 +4202,7 @@ export type CompositeAppSwitchersOverrides = z.infer<typeof CompositeAppSwitcher
4205
4202
  * Retained for backward compatibility and to seed the default header menu when no
4206
4203
  * `headerMenu` has been configured yet.
4207
4204
  */
4208
- export type CompositeAppHeaderOverrides = z.infer<typeof CompositeAppHeaderOverridesSchema>;
4205
+ export type CompositeAppHeaderOverrides = Wire.CompositeAppHeaderOverrides;
4209
4206
  /**
4210
4207
  * User menu overrides for the CompositeApp.
4211
4208
  *
@@ -4213,22 +4210,22 @@ export type CompositeAppHeaderOverrides = z.infer<typeof CompositeAppHeaderOverr
4213
4210
  * Retained for backward compatibility and to seed the default header menu when no
4214
4211
  * `headerMenu` has been configured yet.
4215
4212
  */
4216
- export type CompositeAppUserMenuOverrides = z.infer<typeof CompositeAppUserMenuOverridesSchema>;
4213
+ export type CompositeAppUserMenuOverrides = Wire.CompositeAppUserMenuOverrides;
4217
4214
  /**
4218
4215
  * Theme overrides for the CompositeApp.
4219
4216
  */
4220
- export type CompositeAppThemeOverrides = z.infer<typeof CompositeAppThemeOverridesSchema>;
4217
+ export type CompositeAppThemeOverrides = Wire.CompositeAppThemeOverrides;
4221
4218
  /**
4222
4219
  * Sidebar display overrides for the CompositeApp.
4223
4220
  */
4224
- export type CompositeAppSidebarOverrides = z.infer<typeof CompositeAppSidebarOverridesSchema>;
4221
+ export type CompositeAppSidebarOverrides = Wire.CompositeAppSidebarOverrides;
4225
4222
  /**
4226
4223
  * Card display overrides for the CompositeApp in the App Portal.
4227
4224
  * Similar to AppManifest display properties, but specific to the CompositeApp card.
4228
4225
  * Allows customers to customize the app portal card (not otherwise possible if using a
4229
4226
  * shared, Vertesia-managed manifest across accounts).
4230
4227
  */
4231
- export type CompositeAppCardOverrides = z.infer<typeof CompositeAppCardOverridesSchema>;
4228
+ export type CompositeAppCardOverrides = Wire.CompositeAppCardOverrides;
4232
4229
  /**
4233
4230
  * Access control settings for a composite app nav item.
4234
4231
  *
@@ -4236,7 +4233,7 @@ export type CompositeAppCardOverrides = z.infer<typeof CompositeAppCardOverrides
4236
4233
  * access is granted when the user matches ANY list (OR logic).
4237
4234
  * All empty/absent means visible to everyone. Admin users bypass all checks.
4238
4235
  */
4239
- export type CompositeAppNavItemPermissions = z.infer<typeof CompositeAppNavItemPermissionsSchema>;
4236
+ export type CompositeAppNavItemPermissions = Wire.CompositeAppNavItemPermissions;
4240
4237
  /**
4241
4238
  * A navigable item in the sidebar menu.
4242
4239
  * An "app" is just a nav-item with `appName` + `route: "/"` that has children.
@@ -4272,17 +4269,17 @@ export interface CompositeAppMenuNavItem {
4272
4269
  * A top-level section heading in the sidebar menu.
4273
4270
  * Sections are always at root level and contain nav-items.
4274
4271
  */
4275
- export type CompositeAppMenuSection = z.infer<typeof CompositeAppMenuSectionSchema>;
4276
- export type CompositeAppHomePlugin = z.infer<typeof CompositeAppHomePluginSchema>;
4272
+ export type CompositeAppMenuSection = Wire.CompositeAppMenuSection;
4273
+ export type CompositeAppHomePlugin = Wire.CompositeAppHomePlugin;
4277
4274
  /**
4278
4275
  * Discriminator for a header item.
4279
4276
  * The four built-ins (`app_portal`, `docs`, `help`, `user_menu`) seed the default
4280
4277
  * header and cannot be deleted (only hidden/customized); `custom` items are fully
4281
4278
  * user-defined buttons.
4282
4279
  */
4283
- export type CompositeAppHeaderItemKind = z.infer<typeof CompositeAppHeaderItemKindSchema>;
4280
+ export type CompositeAppHeaderItemKind = Wire.CompositeAppHeaderItemKind;
4284
4281
  /** Where a header link opens. */
4285
- export type CompositeAppHeaderItemTarget = z.infer<typeof CompositeAppHeaderItemTargetSchema>;
4282
+ export type CompositeAppHeaderItemTarget = Wire.CompositeAppHeaderItemTarget;
4286
4283
  /**
4287
4284
  * A single button in the CompositeApp header bar.
4288
4285
  *
@@ -4291,16 +4288,16 @@ export type CompositeAppHeaderItemTarget = z.infer<typeof CompositeAppHeaderItem
4291
4288
  * The `user_menu` item is special — it renders the account dropdown, so its `icon`,
4292
4289
  * `href`, and `target` are ignored.
4293
4290
  */
4294
- export type CompositeAppHeaderItem = z.infer<typeof CompositeAppHeaderItemSchema>;
4291
+ export type CompositeAppHeaderItem = Wire.CompositeAppHeaderItem;
4295
4292
  /**
4296
4293
  * CompositeApp shell configuration.
4297
4294
  * This is the main configuration interface for storing CompositeApp settings.
4298
4295
  * Used as the MongoDB model for persisting CompositeApp configurations.
4299
4296
  */
4300
- export type CompositeAppConfig = z.infer<typeof CompositeAppConfigSchema>;
4301
- export type CompositeAppConfigPayload = z.infer<typeof CompositeAppConfigPayloadSchema>;
4302
- export type ValidateUrlRequest = z.infer<typeof ValidateUrlRequestSchema>;
4303
- export type ValidateUrlResponse = z.infer<typeof ValidateUrlResponseSchema>;
4297
+ export type CompositeAppConfig = Wire.CompositeAppConfig;
4298
+ export type CompositeAppConfigPayload = Wire.CompositeAppConfigPayload;
4299
+ export type ValidateUrlRequest = Wire.ValidateUrlRequest;
4300
+ export type ValidateUrlResponse = Wire.ValidateUrlResponse;
4304
4301
  /**
4305
4302
  * Result of DELETE /api/v1/apps/:id. With `?confirm=true` the cascade runs and
4306
4303
  * `deleted: true` is set; without it the endpoint returns a dry-run summary so
@@ -4312,39 +4309,39 @@ export type ValidateUrlResponse = z.infer<typeof ValidateUrlResponseSchema>;
4312
4309
  * the check fails closed, that surfaced as a 500 raised AFTER the app was
4313
4310
  * already deleted. Deriving the type is what keeps the two from drifting again.
4314
4311
  */
4315
- export type AppDeleteSummary = z.infer<typeof AppDeleteSummarySchema>;
4312
+ export type AppDeleteSummary = Wire.AppDeleteSummary;
4313
+ export type UpdateAppInstallationOAuthApprovalPayload = Wire.UpdateAppInstallationOAuthApprovalPayload;
4316
4314
 
4317
4315
  // -----------------------------------------------------------------------------
4318
4316
  // @vertesia/common: interaction.d.ts
4319
4317
  // -----------------------------------------------------------------------------
4320
4318
  import type { CompletionResult, ExecutionTokenUsage, JSONSchema, Modalities, PromptCacheDiagnostic, StatelessExecutionOptions, ToolUse } from '@llumiverse/common';
4321
- import type { z } from 'zod';
4322
- 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';
4323
- import type { InteractionExecutionConfigurationSchema } from './api-schemas/store.js';
4324
4319
  import type { ExecutionEnvironmentRef } from './environment.js';
4320
+ import type { InferenceProfileSnapshot } from './inference-profile.js';
4325
4321
  import type { ProjectRef } from './project.js';
4326
4322
  import type { PopulatedPromptSegmentDef } from './prompt.js';
4327
4323
  import type { TextArtifactReference } from './store/conversation-state.js';
4328
4324
  import type { AccountRef } from './user.js';
4325
+ import type * as Wire from './wire-types.generated.js';
4329
4326
  /**
4330
4327
  * `RunDataStorageLevel` and `ConfigModes` live in `./interaction-values.js` so the API schemas can
4331
4328
  * read them without importing this module back. Re-exported here so every existing import path keeps
4332
4329
  * working.
4333
4330
  */
4334
4331
  export * from './interaction-values.js';
4335
- export type InteractionExecutionError = z.infer<typeof InteractionExecutionErrorSchema>;
4332
+ export type InteractionExecutionError = Wire.InteractionExecutionError;
4336
4333
  /**
4337
4334
  * Configuration for stripping large data from conversation history
4338
4335
  * to prevent JSON serialization issues and reduce storage bloat.
4339
4336
  */
4340
- export type ConversationStripOptions = z.infer<typeof ConversationStripOptionsSchema>;
4337
+ export type ConversationStripOptions = Wire.ConversationStripOptions;
4341
4338
  /**
4342
4339
  * Reference to an interaction in the catalog.
4343
4340
  * Used in catalog listing. The id is composed of the namespace and the interaction name.
4344
4341
  * Stored interactions can use `oid:` prefix.
4345
4342
  * If no prefix is used it fallback on `oid:`.
4346
4343
  */
4347
- export type CatalogInteractionRef = z.infer<typeof CatalogInteractionRefSchema>;
4344
+ export type CatalogInteractionRef = Wire.CatalogInteractionRef;
4348
4345
  export interface CatalogTagQuery {
4349
4346
  tag?: string;
4350
4347
  }
@@ -4358,28 +4355,23 @@ export interface ExecuteInteractionByEndpointQuery {
4358
4355
  export interface ExecuteInteractionByEndpointHeaders {
4359
4356
  'x-interaction-tag'?: string;
4360
4357
  }
4361
- export interface ResolveInteractionQuery {
4362
- environment?: string;
4363
- model?: string;
4364
- hasImage?: boolean;
4365
- hasVideo?: boolean;
4366
- }
4367
- export type InCodePrompt = z.infer<typeof InCodePromptSchema>;
4368
- export type InCodeInteraction = z.infer<typeof InCodeInteractionSchema>;
4369
- export type ResolvedCatalogInteraction = z.infer<typeof ResolvedCatalogInteractionSchema>;
4358
+ export type ResolveInteractionQuery = Wire.ResolveInteractionQuery;
4359
+ export type InCodePrompt = Wire.InCodePrompt;
4360
+ export type InCodeInteraction = Wire.InCodeInteraction;
4361
+ export type ResolvedCatalogInteraction = Wire.ResolvedCatalogInteraction;
4370
4362
  export type InteractionSpec = Omit<InCodeInteraction, 'id' | 'runtime' | 'type' | 'published' | 'version'>;
4371
4363
  /**
4372
4364
  * The payload to query the interaction endpoints
4373
4365
  */
4374
- export type InteractionEndpointQuery = z.infer<typeof InteractionEndpointQuerySchema>;
4366
+ export type InteractionEndpointQuery = Wire.InteractionEndpointQuery;
4375
4367
  /**
4376
4368
  * A description of an interaction endpoint.
4377
4369
  */
4378
- export type InteractionEndpoint = z.infer<typeof InteractionEndpointSchema>;
4379
- export type InteractionTags = z.infer<typeof InteractionTagsSchema>;
4380
- export type InteractionRef = z.infer<typeof InteractionRefSchema>;
4370
+ export type InteractionEndpoint = Wire.InteractionEndpoint;
4371
+ export type InteractionTags = Wire.InteractionTags;
4372
+ export type InteractionRef = Wire.InteractionRef;
4381
4373
  /** An interaction reduced to the fields a name picker needs. */
4382
- export type InteractionName = z.infer<typeof InteractionNameSchema>;
4374
+ export type InteractionName = Wire.InteractionName;
4383
4375
  /**
4384
4376
  * An interaction reference carrying the schemas an export needs to reconstruct it.
4385
4377
  *
@@ -4388,8 +4380,8 @@ export type InteractionName = z.infer<typeof InteractionNameSchema>;
4388
4380
  * canonical alias — the alias publishes as a bare reference, with no members to omit — and the
4389
4381
  * interface also overstated each prompt template, which an export populates with `inputSchema` alone.
4390
4382
  */
4391
- export type InteractionRefWithSchema = z.infer<typeof InteractionRefWithSchemaSchema>;
4392
- export type InteractionsExportPayload = z.infer<typeof InteractionsExportPayloadSchema>;
4383
+ export type InteractionRefWithSchema = Wire.InteractionRefWithSchema;
4384
+ export type InteractionsExportPayload = Wire.InteractionsExportPayload;
4393
4385
  export declare enum InteractionStatus {
4394
4386
  draft = "draft",
4395
4387
  published = "published",
@@ -4407,13 +4399,13 @@ export declare enum ExecutionRunStatus {
4407
4399
  * Schema can be stored or specified as a reference to an external schema.
4408
4400
  * We only support "store:" references for now
4409
4401
  */
4410
- export type SchemaRef = z.infer<typeof SchemaRefSchema>;
4411
- export type CachePolicy = z.infer<typeof CachePolicySchema>;
4412
- export type InteractionVisibility = z.infer<typeof InteractionVisibilitySchema>;
4413
- export type Interaction = z.infer<typeof InteractionSchema>;
4414
- export type InteractionCreatePayload = z.infer<typeof InteractionCreatePayloadSchema>;
4415
- export type InteractionUpdatePayload = z.infer<typeof InteractionUpdatePayloadSchema>;
4416
- export type InteractionPublishPayload = z.infer<typeof InteractionPublishPayloadSchema>;
4402
+ export type SchemaRef = Wire.SchemaRef;
4403
+ export type CachePolicy = Wire.CachePolicy;
4404
+ export type InteractionVisibility = Wire.InteractionVisibility;
4405
+ export type Interaction = Wire.Interaction;
4406
+ export type InteractionCreatePayload = Wire.InteractionCreatePayload;
4407
+ export type InteractionUpdatePayload = Wire.InteractionUpdatePayload;
4408
+ export type InteractionPublishPayload = Wire.InteractionPublishPayload;
4417
4409
  export interface InteractionDeletePayload {
4418
4410
  /**
4419
4411
  * When true, also delete every interaction in the same family as the target:
@@ -4423,10 +4415,10 @@ export interface InteractionDeletePayload {
4423
4415
  */
4424
4416
  cascade?: boolean;
4425
4417
  }
4426
- export type InteractionForkPayload = z.infer<typeof InteractionForkPayloadSchema>;
4427
- export type InteractionExecutionPayload = z.infer<typeof InteractionExecutionPayloadSchema>;
4428
- export type NamedInteractionExecutionPayload = z.infer<typeof NamedInteractionExecutionPayloadSchema>;
4429
- export type ConversationVisibility = z.infer<typeof ConversationVisibilitySchema>;
4418
+ export type InteractionForkPayload = Wire.InteractionForkPayload;
4419
+ export type InteractionExecutionPayload = Wire.InteractionExecutionPayload;
4420
+ export type NamedInteractionExecutionPayload = Wire.NamedInteractionExecutionPayload;
4421
+ export type ConversationVisibility = Wire.ConversationVisibility;
4430
4422
  /**
4431
4423
  * Defines the scope for agent search operations.
4432
4424
  */
@@ -4440,63 +4432,63 @@ export declare enum AgentSearchScope {
4440
4432
  * Context triggers for auto-injection of skills.
4441
4433
  * When these conditions match, the skill is automatically injected into the agent context.
4442
4434
  */
4443
- export type SkillContextTriggers = z.infer<typeof SkillContextTriggersSchema>;
4435
+ export type SkillContextTriggers = Wire.SkillContextTriggers;
4444
4436
  /**
4445
4437
  * Configuration options for Agent Runner functionality.
4446
4438
  * These options control how interactions are exposed and executed in the Agent Runner.
4447
4439
  */
4448
- export type AgentRunnerOptions = z.infer<typeof AgentRunnerOptionsSchema>;
4440
+ export type AgentRunnerOptions = Wire.AgentRunnerOptions;
4449
4441
  export type { EmailChannel, EmailRouteData, InteractiveChannel, UserChannel, } from './email.js';
4450
4442
  export { isEmailChannel, isInteractiveChannel, } from './email.js';
4451
4443
  /**
4452
4444
  * A tool invocation executed before the first model turn of a conversation.
4453
4445
  * Results are injected into the initial context so the agent starts with them in hand.
4454
4446
  */
4455
- export type InitialToolCall = z.infer<typeof InitialToolCallSchema>;
4456
- export type AsyncConversationExecutionPayload = z.infer<typeof AsyncConversationExecutionPayloadSchema>;
4457
- export type AsyncInteractionExecutionPayload = z.infer<typeof AsyncInteractionExecutionPayloadSchema>;
4447
+ export type InitialToolCall = Wire.InitialToolCall;
4448
+ export type AsyncConversationExecutionPayload = Wire.AsyncConversationExecutionPayload;
4449
+ export type AsyncInteractionExecutionPayload = Wire.AsyncInteractionExecutionPayload;
4458
4450
  /**
4459
4451
  * @discriminator type
4460
4452
  */
4461
- export type AsyncExecutionPayload = z.infer<typeof AsyncExecutionPayloadSchema>;
4462
- export type AsyncExecutionResult = z.infer<typeof AsyncExecutionResultSchema>;
4453
+ export type AsyncExecutionPayload = Wire.AsyncExecutionPayload;
4454
+ export type AsyncExecutionResult = Wire.AsyncExecutionResult;
4463
4455
  /**
4464
4456
  * Telemetry context for streaming mode.
4465
4457
  * Contains info not available in current_state needed to send LlmCallEvent.
4466
4458
  */
4467
- export type StreamingTelemetryContext = z.infer<typeof StreamingTelemetryContextSchema>;
4459
+ export type StreamingTelemetryContext = Wire.StreamingTelemetryContext;
4468
4460
  /**
4469
4461
  * Options for storing inference results to cloud storage
4470
4462
  */
4471
- export type ResultStorageOptions = z.infer<typeof ResultStorageOptionsSchema>;
4472
- export type AsyncCompletionMode = z.infer<typeof AsyncCompletionModeSchema>;
4463
+ export type ResultStorageOptions = Wire.ResultStorageOptions;
4464
+ export type AsyncCompletionMode = Wire.AsyncCompletionMode;
4473
4465
  /**
4474
4466
  * Streaming-specific options (only needed when stream=true)
4475
4467
  */
4476
- export type StreamingOptions = z.infer<typeof StreamingOptionsSchema>;
4468
+ export type StreamingOptions = Wire.StreamingOptions;
4477
4469
  /**
4478
4470
  * Options for async completion and/or streaming LLM responses
4479
4471
  */
4480
- export type AsyncCompletionOptions = z.infer<typeof AsyncCompletionOptionsSchema>;
4472
+ export type AsyncCompletionOptions = Wire.AsyncCompletionOptions;
4481
4473
  /**
4482
4474
  * The kinds of Vertesia resource an agent tool can report having created, updated, or deleted.
4483
4475
  * Restricted to resources that have a real detail route to navigate to — do not emit a reference
4484
4476
  * for a mutation with no meaningful navigation target. Add new kinds only once their route exists.
4485
4477
  */
4486
- export type AgentResourceType = z.infer<typeof AgentResourceTypeSchema>;
4487
- export type AgentResourceAction = z.infer<typeof AgentResourceActionSchema>;
4478
+ export type AgentResourceType = Wire.AgentResourceType;
4479
+ export type AgentResourceAction = Wire.AgentResourceAction;
4488
4480
  /**
4489
4481
  * A navigable reference to a resource an agent tool mutated. Tools return these as tool-result
4490
4482
  * metadata (see {@link ToolResultMeta.resources}); the conversation runtime promotes them onto the
4491
4483
  * tool's completed lifecycle message so the UI can render deterministic deep links and an
4492
4484
  * end-of-turn "resources changed" summary — independent of any link the model writes in prose.
4493
4485
  */
4494
- export type AgentResourceReference = z.infer<typeof AgentResourceReferenceSchema>;
4486
+ export type AgentResourceReference = Wire.AgentResourceReference;
4495
4487
  /**
4496
4488
  * Metadata a tool executor may attach to its result. Kept as an open record for forward
4497
4489
  * compatibility while typing the fields the runtime interprets.
4498
4490
  */
4499
- export type ToolResultMeta = z.infer<typeof ToolResultMetaSchema>;
4491
+ export type ToolResultMeta = Wire.ToolResultMeta;
4500
4492
  export interface ToolResultContent {
4501
4493
  content: string;
4502
4494
  /**
@@ -4524,12 +4516,12 @@ export interface ToolResultContent {
4524
4516
  * rather than throwing, and an empty/absent label falls back to the id.
4525
4517
  */
4526
4518
  export declare function normalizeAgentResources(value: unknown): AgentResourceReference[];
4527
- export type ToolResult = z.infer<typeof ToolResultSchema>;
4519
+ export type ToolResult = Wire.ToolResult;
4528
4520
  /**
4529
4521
  * The payload to sent the tool responses back to the target LLM
4530
4522
  */
4531
- export type ToolResultsPayload = z.infer<typeof ToolResultsPayloadSchema>;
4532
- export type UserMessagePayload = z.infer<typeof UserMessagePayloadSchema>;
4523
+ export type ToolResultsPayload = Wire.ToolResultsPayload;
4524
+ export type UserMessagePayload = Wire.UserMessagePayload;
4533
4525
  export declare enum RunSourceTypes {
4534
4526
  api = "api",
4535
4527
  cli = "cli",
@@ -4539,8 +4531,8 @@ export declare enum RunSourceTypes {
4539
4531
  system = "system",
4540
4532
  schedule = "schedule"
4541
4533
  }
4542
- export type RunSource = z.infer<typeof RunSourceSchema>;
4543
- export type ExecutionRunInteraction = z.infer<typeof ExecutionRunInteractionSchema>;
4534
+ export type RunSource = Wire.RunSource;
4535
+ export type ExecutionRunInteraction = Wire.ExecutionRunInteraction;
4544
4536
  export interface BaseExecutionRun<P = unknown> {
4545
4537
  readonly id: string;
4546
4538
  /**
@@ -4580,6 +4572,7 @@ export interface BaseExecutionRun<P = unknown> {
4580
4572
  account: AccountRef;
4581
4573
  project: ProjectRef;
4582
4574
  config: InteractionExecutionConfiguration;
4575
+ inference_profile?: InferenceProfileSnapshot;
4583
4576
  error?: InteractionExecutionError;
4584
4577
  source: RunSource;
4585
4578
  /**
@@ -4603,8 +4596,8 @@ export interface ExecutionRun<P = unknown> extends BaseExecutionRun<P> {
4603
4596
  export interface PopulatedExecutionRun<P = unknown> extends BaseExecutionRun<P> {
4604
4597
  interaction?: ExecutionRunInteraction;
4605
4598
  }
4606
- export type ExecutionRunWorkflow = z.infer<typeof ExecutionRunWorkflowSchema>;
4607
- export type PromptModalities = z.infer<typeof PromptModalitiesSchema>;
4599
+ export type ExecutionRunWorkflow = Wire.ExecutionRunWorkflow;
4600
+ export type PromptModalities = Wire.PromptModalities;
4608
4601
  export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionRun<P>, 'account' | 'project' | 'interaction'> {
4609
4602
  account: string;
4610
4603
  project: string;
@@ -4613,19 +4606,19 @@ export interface InteractionExecutionResult<P = unknown> extends Omit<ExecutionR
4613
4606
  conversation?: unknown;
4614
4607
  options?: StatelessExecutionOptions;
4615
4608
  }
4616
- export type ExecutionRunRef = z.infer<typeof ExecutionRunRefSchema>;
4617
- export type InteractionExecutionConfiguration = z.infer<typeof InteractionExecutionConfigurationSchema>;
4618
- export type GenerateInteractionPayload = z.infer<typeof GenerateInteractionPayloadSchema>;
4619
- export type GenerateTestDataPayload = z.infer<typeof GenerateTestDataPayloadSchema>;
4620
- export type GeneratedTestDataRecord = z.infer<typeof GeneratedTestDataRecordSchema>;
4621
- export type ImprovePromptPayloadConfig = z.infer<typeof ImprovePromptPayloadConfigSchema>;
4622
- export type ImprovePromptPayload = z.infer<typeof ImprovePromptPayloadSchema>;
4623
- export type GeneratedInteractionPromptTemplate = z.infer<typeof GeneratedInteractionPromptTemplateSchema>;
4624
- export type GeneratedInteractionPromptSegment = z.infer<typeof GeneratedInteractionPromptSegmentSchema>;
4625
- export type GeneratedInteractionDefinition = z.infer<typeof GeneratedInteractionDefinitionSchema>;
4626
- export type PromptImprovementResponse = z.infer<typeof PromptImprovementResponseSchema>;
4627
- export type RateLimitRequestPayload = z.infer<typeof RateLimitRequestPayloadSchema>;
4628
- export type RateLimitRequestResponse = z.infer<typeof RateLimitRequestResponseSchema>;
4609
+ export type ExecutionRunRef = Wire.ExecutionRunRef;
4610
+ export type InteractionExecutionConfiguration = Wire.InteractionExecutionConfiguration;
4611
+ export type GenerateInteractionPayload = Wire.GenerateInteractionPayload;
4612
+ export type GenerateTestDataPayload = Wire.GenerateTestDataPayload;
4613
+ export type GeneratedTestDataRecord = Wire.GeneratedTestDataRecord;
4614
+ export type ImprovePromptPayloadConfig = Wire.ImprovePromptPayloadConfig;
4615
+ export type ImprovePromptPayload = Wire.ImprovePromptPayload;
4616
+ export type GeneratedInteractionPromptTemplate = Wire.GeneratedInteractionPromptTemplate;
4617
+ export type GeneratedInteractionPromptSegment = Wire.GeneratedInteractionPromptSegment;
4618
+ export type GeneratedInteractionDefinition = Wire.GeneratedInteractionDefinition;
4619
+ export type PromptImprovementResponse = Wire.PromptImprovementResponse;
4620
+ export type RateLimitRequestPayload = Wire.RateLimitRequestPayload;
4621
+ export type RateLimitRequestResponse = Wire.RateLimitRequestResponse;
4629
4622
  /**
4630
4623
  * Source of the resolved model configuration
4631
4624
  */
@@ -4648,29 +4641,27 @@ export declare enum ModelSource {
4648
4641
  /**
4649
4642
  * Resolved environment information
4650
4643
  */
4651
- export type ResolvedEnvironmentInfo = z.infer<typeof ResolvedEnvironmentInfoSchema>;
4644
+ export type ResolvedEnvironmentInfo = Wire.ResolvedEnvironmentInfo;
4652
4645
  /**
4653
4646
  * Resolved runtime configuration for an interaction
4654
4647
  */
4655
- export type ResolvedRuntimeConfig = z.infer<typeof ResolvedRuntimeConfigSchema>;
4648
+ export type ResolvedRuntimeConfig = Wire.ResolvedRuntimeConfig;
4656
4649
  /**
4657
4650
  * Resolved execution info for an interaction.
4658
4651
  * Contains the interaction ID, basic metadata, and the resolved runtime configuration
4659
4652
  * (environment, model) that would be used at execution time.
4660
4653
  */
4661
- export type ResolvedInteractionExecutionInfo = z.infer<typeof ResolvedInteractionExecutionInfoSchema>;
4654
+ export type ResolvedInteractionExecutionInfo = Wire.ResolvedInteractionExecutionInfo;
4662
4655
  export interface PopulatedInteraction extends Omit<Interaction, 'prompts'> {
4663
4656
  prompts: PopulatedPromptSegmentDef[];
4664
4657
  }
4665
- export type UpdateExecutionRunPayload = z.infer<typeof UpdateExecutionRunPayloadSchema>;
4658
+ export type UpdateExecutionRunPayload = Wire.UpdateExecutionRunPayload;
4666
4659
 
4667
4660
  // -----------------------------------------------------------------------------
4668
4661
  // @vertesia/common: prompt.d.ts
4669
4662
  // -----------------------------------------------------------------------------
4670
4663
  import type { JSONSchema, PromptRole } from '@llumiverse/common';
4671
- import type { z } from 'zod';
4672
- import type { ExportedPromptTemplateRefSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema } from './api-schemas/interaction.js';
4673
- import type { PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, RenderPromptPayloadSchema, RenderPromptResponseSchema } from './api-schemas/prompt.js';
4664
+ import type * as Wire from './wire-types.generated.js';
4674
4665
  export interface ChatPromptSchema {
4675
4666
  role: PromptRole.user | PromptRole.assistant;
4676
4667
  content: string;
@@ -4699,7 +4690,7 @@ export interface PopulatedPromptSegmentDef extends Omit<PromptSegmentDef, 'templ
4699
4690
  export interface ExecutablePromptSegmentDef extends Omit<PromptSegmentDef, 'template'> {
4700
4691
  template?: ExecutablePromptTemplate;
4701
4692
  }
4702
- export type PromptTemplateRef = z.infer<typeof PromptTemplateRefSchema>;
4693
+ export type PromptTemplateRef = Wire.PromptTemplateRef;
4703
4694
  export declare enum TemplateType {
4704
4695
  jst = "jst",
4705
4696
  handlebars = "handlebars",
@@ -4711,24 +4702,24 @@ export interface ExecutablePromptTemplate {
4711
4702
  content_type: TemplateType;
4712
4703
  inputSchema?: JSONSchema;
4713
4704
  }
4714
- export type PromptTemplate = z.infer<typeof PromptTemplateSchema>;
4715
- export type InteractionPromptTemplateInput = z.infer<typeof InteractionPromptTemplateInputSchema>;
4716
- export type InteractionPromptSegmentInput = z.infer<typeof InteractionPromptSegmentInputSchema>;
4717
- export type PromptTemplateForkPayload = z.infer<typeof PromptTemplateForkPayloadSchema>;
4718
- export type PromptTemplateCreatePayload = z.infer<typeof PromptTemplateCreatePayloadSchema>;
4719
- export type PromptTemplateUpdatePayload = z.infer<typeof PromptTemplateUpdatePayloadSchema>;
4720
- export type PromptTemplateInteractionVersion = z.infer<typeof PromptTemplateInteractionVersionSchema>;
4721
- export type PromptTemplateInteractionUsage = z.infer<typeof PromptTemplateInteractionUsageSchema>;
4722
- export type PromptTemplateInteractionsResponse = z.infer<typeof PromptTemplateInteractionsResponseSchema>;
4723
- export type RenderPromptPayload = z.infer<typeof RenderPromptPayloadSchema>;
4705
+ export type PromptTemplate = Wire.PromptTemplate;
4706
+ export type InteractionPromptTemplateInput = Wire.InteractionPromptTemplateInput;
4707
+ export type InteractionPromptSegmentInput = Wire.InteractionPromptSegmentInput;
4708
+ export type PromptTemplateForkPayload = Wire.PromptTemplateForkPayload;
4709
+ export type PromptTemplateCreatePayload = Wire.PromptTemplateCreatePayload;
4710
+ export type PromptTemplateUpdatePayload = Wire.PromptTemplateUpdatePayload;
4711
+ export type PromptTemplateInteractionVersion = Wire.PromptTemplateInteractionVersion;
4712
+ export type PromptTemplateInteractionUsage = Wire.PromptTemplateInteractionUsage;
4713
+ export type PromptTemplateInteractionsResponse = Wire.PromptTemplateInteractionsResponse;
4714
+ export type RenderPromptPayload = Wire.RenderPromptPayload;
4724
4715
  /**
4725
4716
  * What `POST /prompts/:id/render` answers with: the segment identity plus the rendered body.
4726
4717
  *
4727
4718
  * Stated here for the first time — the endpoint declared its response inline, so there has never
4728
4719
  * been a name for it on either side of the wire.
4729
4720
  */
4730
- export type RenderPromptResponse = z.infer<typeof RenderPromptResponseSchema>;
4731
- export type ExportedPromptTemplateRef = z.infer<typeof ExportedPromptTemplateRefSchema>;
4721
+ export type RenderPromptResponse = Wire.RenderPromptResponse;
4722
+ export type ExportedPromptTemplateRef = Wire.ExportedPromptTemplateRef;
4732
4723
 
4733
4724
  // -----------------------------------------------------------------------------
4734
4725
  // @vertesia/common: skill.d.ts
@@ -4802,26 +4793,25 @@ export interface InjectedSkill {
4802
4793
  // -----------------------------------------------------------------------------
4803
4794
  // @vertesia/common: runs.d.ts
4804
4795
  // -----------------------------------------------------------------------------
4805
- import type { z } from 'zod';
4806
- import type { ComputeRunFacetsResponseSchema, ExecutionRunDocRefSchema, FindRunResultArraySchema, FindRunResultSchema, PopulatedExecutionRunResultSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunSearchMetaResponseSchema } from './api-schemas/interaction.js';
4796
+ import type * as Wire from './wire-types.generated.js';
4807
4797
  /**
4808
4798
  * The run ref is used to identify a run document in the storage
4809
4799
  */
4810
- export type ExecutionRunDocRef = z.infer<typeof ExecutionRunDocRefSchema>;
4811
- export type FindRunResult = z.infer<typeof FindRunResultSchema>;
4812
- export type FindRunResultArray = z.infer<typeof FindRunResultArraySchema>;
4813
- export type PopulatedExecutionRunResult = z.infer<typeof PopulatedExecutionRunResultSchema>;
4800
+ export type ExecutionRunDocRef = Wire.ExecutionRunDocRef;
4801
+ export type FindRunResult = Wire.FindRunResult;
4802
+ export type FindRunResultArray = Wire.FindRunResultArray;
4803
+ export type PopulatedExecutionRunResult = Wire.PopulatedExecutionRunResult;
4814
4804
  /**
4815
4805
  * Interaction execution payload for creating a new run
4816
4806
  * It uses interaction field (from NamedInteractionExecutionPayload) to pass the interaction ID to run
4817
4807
  */
4818
- export type RunCreatePayload = z.infer<typeof RunCreatePayloadSchema>;
4808
+ export type RunCreatePayload = Wire.RunCreatePayload;
4819
4809
  /**
4820
4810
  * Payload for cloning an existing ExecutionRun.
4821
4811
  * Creates a new run document with the same interaction/config but fresh status.
4822
4812
  * Used by fork flows to create a new ExecutionRun for the forked workflow.
4823
4813
  */
4824
- export type RunClonePayload = z.infer<typeof RunClonePayloadSchema>;
4814
+ export type RunClonePayload = Wire.RunClonePayload;
4825
4815
  /**
4826
4816
  * To be used as a value for a numeric or date filters
4827
4817
  */
@@ -4831,22 +4821,13 @@ export interface RangeValue {
4831
4821
  lt?: number | string;
4832
4822
  lte?: number | string;
4833
4823
  }
4834
- export type RunSearchMetaResponse = z.infer<typeof RunSearchMetaResponseSchema>;
4835
- export type ComputeRunFacetsResponse = z.infer<typeof ComputeRunFacetsResponseSchema>;
4824
+ export type RunSearchMetaResponse = Wire.RunSearchMetaResponse;
4825
+ export type ComputeRunFacetsResponse = Wire.ComputeRunFacetsResponse;
4836
4826
 
4837
4827
  // -----------------------------------------------------------------------------
4838
4828
  // @vertesia/common: data-platform.d.ts
4839
4829
  // -----------------------------------------------------------------------------
4840
- import type { AppDashboardDefinitionSchema } from './api-schemas/app-runtime.js';
4841
- /**
4842
- * Data Platform Types
4843
- *
4844
- * Types for managing versioned analytical data stores with DuckDB + GCS storage.
4845
- * Supports AI-manageable schemas and multi-table atomic operations.
4846
- */
4847
- import type { z } from 'zod';
4848
- 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';
4849
- 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';
4830
+ import type * as Wire from './wire-types.generated.js';
4850
4831
  /**
4851
4832
  * Supported column data types for DuckDB tables.
4852
4833
  */
@@ -4862,7 +4843,7 @@ export declare const DataColumnType: {
4862
4843
  readonly TIMESTAMP: 'TIMESTAMP';
4863
4844
  readonly JSON: 'JSON';
4864
4845
  };
4865
- export type DataColumnType = z.infer<typeof DataColumnTypeSchema>;
4846
+ export type DataColumnType = Wire.DataColumnType;
4866
4847
  /**
4867
4848
  * Semantic types that provide AI agents with context about column meaning.
4868
4849
  */
@@ -4878,7 +4859,7 @@ export declare const SemanticColumnType: {
4878
4859
  readonly DATE_ISO: 'date_iso';
4879
4860
  readonly IDENTIFIER: 'identifier';
4880
4861
  };
4881
- export type SemanticColumnType = z.infer<typeof SemanticColumnTypeSchema>;
4862
+ export type SemanticColumnType = Wire.SemanticColumnType;
4882
4863
  /**
4883
4864
  * Mapping from DataColumnType to DuckDB SQL types.
4884
4865
  */
@@ -4886,40 +4867,40 @@ export declare const DATA_COLUMN_TYPE_TO_DUCKDB: Record<DataColumnType, string>;
4886
4867
  /**
4887
4868
  * Column definition for a data table.
4888
4869
  */
4889
- export type DataColumn = z.infer<typeof DataColumnSchema>;
4870
+ export type DataColumn = Wire.DataColumn;
4890
4871
  /**
4891
4872
  * Foreign key constraint definition.
4892
4873
  */
4893
- export type DataForeignKey = z.infer<typeof DataForeignKeySchema>;
4874
+ export type DataForeignKey = Wire.DataForeignKey;
4894
4875
  /**
4895
4876
  * Index definition for a table.
4896
4877
  */
4897
- export type DataIndex = z.infer<typeof DataIndexSchema>;
4878
+ export type DataIndex = Wire.DataIndex;
4898
4879
  /**
4899
4880
  * Semantic type categorization for tables.
4900
4881
  */
4901
- export type DataTableSemanticType = z.infer<typeof DataTableSemanticTypeSchema>;
4882
+ export type DataTableSemanticType = Wire.DataTableSemanticType;
4902
4883
  /**
4903
4884
  * Table definition within a data schema.
4904
4885
  */
4905
- export type DataTable = z.infer<typeof DataTableSchema>;
4886
+ export type DataTable = Wire.DataTable;
4906
4887
  /**
4907
4888
  * Summary view of a data table (for listings).
4908
4889
  */
4909
- export type DataTableSummary = z.infer<typeof DataTableSummarySchema>;
4890
+ export type DataTableSummary = Wire.DataTableSummary;
4910
4891
  /**
4911
4892
  * Relationship type between tables.
4912
4893
  */
4913
- export type DataRelationshipType = z.infer<typeof DataRelationshipTypeSchema>;
4894
+ export type DataRelationshipType = Wire.DataRelationshipType;
4914
4895
  /**
4915
4896
  * Semantic relationship between tables for AI understanding.
4916
4897
  */
4917
- export type DataRelationship = z.infer<typeof DataRelationshipSchema>;
4898
+ export type DataRelationship = Wire.DataRelationship;
4918
4899
  /**
4919
4900
  * Complete schema definition for a data store.
4920
4901
  */
4921
- export type DataSchema = z.infer<typeof DataSchemaSchema>;
4922
- export type DataStoreFullSchemaResponse = z.infer<typeof DataStoreFullSchemaResponseSchema>;
4902
+ export type DataSchema = Wire.DataSchema;
4903
+ export type DataStoreFullSchemaResponse = Wire.DataStoreFullSchemaResponse;
4923
4904
  /**
4924
4905
  * Data store lifecycle status.
4925
4906
  */
@@ -4929,25 +4910,25 @@ export declare const DataStoreStatus: {
4929
4910
  readonly ERROR: 'error';
4930
4911
  readonly ARCHIVED: 'archived';
4931
4912
  };
4932
- export type DataStoreStatus = z.infer<typeof DataStoreStatusSchema>;
4913
+ export type DataStoreStatus = Wire.DataStoreStatus;
4933
4914
  /**
4934
4915
  * Summary view of a data store (for listings).
4935
4916
  */
4936
- export type DataStoreItem = z.infer<typeof DataStoreItemSchema>;
4917
+ export type DataStoreItem = Wire.DataStoreItem;
4937
4918
  /**
4938
4919
  * Full data store with schema details.
4939
4920
  */
4940
- export type DataStore = z.infer<typeof DataStoreSchema>;
4921
+ export type DataStore = Wire.DataStore;
4941
4922
  /**
4942
4923
  * Table state within a version.
4943
4924
  */
4944
- export type DataStoreVersionTableState = z.infer<typeof DataStoreVersionTableStateSchema>;
4925
+ export type DataStoreVersionTableState = Wire.DataStoreVersionTableState;
4945
4926
  /**
4946
4927
  * A point-in-time version of a data store.
4947
4928
  */
4948
- export type DataStoreVersion = z.infer<typeof DataStoreVersionSchema>;
4949
- export type ListDataStoreVersionsQuery = z.infer<typeof ListDataStoreVersionsQuerySchema>;
4950
- export type GetDataStoreTableQuery = z.infer<typeof GetDataStoreTableQuerySchema>;
4929
+ export type DataStoreVersion = Wire.DataStoreVersion;
4930
+ export type ListDataStoreVersionsQuery = Wire.ListDataStoreVersionsQuery;
4931
+ export type GetDataStoreTableQuery = Wire.GetDataStoreTableQuery;
4951
4932
  /**
4952
4933
  * Import job status.
4953
4934
  */
@@ -4958,40 +4939,40 @@ export declare const ImportStatus: {
4958
4939
  readonly FAILED: 'failed';
4959
4940
  readonly ROLLED_BACK: 'rolled_back';
4960
4941
  };
4961
- export type ImportStatus = z.infer<typeof ImportStatusSchema>;
4942
+ export type ImportStatus = Wire.ImportStatus;
4962
4943
  /**
4963
4944
  * Import job tracking.
4964
4945
  */
4965
- export type ImportJob = z.infer<typeof ImportJobSchema>;
4946
+ export type ImportJob = Wire.ImportJob;
4966
4947
  /**
4967
4948
  * Payload for creating a new data store.
4968
4949
  */
4969
- export type CreateDataStorePayload = z.infer<typeof CreateDataStorePayloadSchema>;
4950
+ export type CreateDataStorePayload = Wire.CreateDataStorePayload;
4970
4951
  /**
4971
4952
  * Payload for creating a new table.
4972
4953
  */
4973
- export type CreateTablePayload = z.infer<typeof CreateTablePayloadSchema>;
4954
+ export type CreateTablePayload = Wire.CreateTablePayload;
4974
4955
  /**
4975
4956
  * Payload for creating multiple tables atomically.
4976
4957
  */
4977
- export type CreateTablesPayload = z.infer<typeof CreateTablesPayloadSchema>;
4978
- export type QueryValidationPayload = z.infer<typeof QueryValidationPayloadSchema>;
4979
- export type BatchQueryPayload = z.infer<typeof BatchQueryPayloadSchema>;
4958
+ export type CreateTablesPayload = Wire.CreateTablesPayload;
4959
+ export type QueryValidationPayload = Wire.QueryValidationPayload;
4960
+ export type BatchQueryPayload = Wire.BatchQueryPayload;
4980
4961
  /**
4981
4962
  * Schema change operation types.
4982
4963
  */
4983
4964
  /**
4984
4965
  * @discriminator op
4985
4966
  */
4986
- export type AlterTableOperation = z.infer<typeof AlterTableOperationSchema>;
4967
+ export type AlterTableOperation = Wire.AlterTableOperation;
4987
4968
  /**
4988
4969
  * Payload for altering a table schema.
4989
4970
  */
4990
- export type AlterTablePayload = z.infer<typeof AlterTablePayloadSchema>;
4971
+ export type AlterTablePayload = Wire.AlterTablePayload;
4991
4972
  /**
4992
4973
  * Payload for AI-driven bulk schema updates.
4993
4974
  */
4994
- export type UpdateSchemaPayload = z.infer<typeof UpdateSchemaPayloadSchema>;
4975
+ export type UpdateSchemaPayload = Wire.UpdateSchemaPayload;
4995
4976
  /**
4996
4977
  * Data source for import.
4997
4978
  * - 'inline': data provided directly in the payload
@@ -4999,81 +4980,81 @@ export type UpdateSchemaPayload = z.infer<typeof UpdateSchemaPayloadSchema>;
4999
4980
  * - 'url': data at an HTTPS URL
5000
4981
  * - 'artifact': data from workflow artifact (resolved to GCS by tool)
5001
4982
  */
5002
- export type ImportDataSource = z.infer<typeof ImportDataSourceSchema>;
4983
+ export type ImportDataSource = Wire.ImportDataSource;
5003
4984
  /**
5004
4985
  * Data format for external sources.
5005
4986
  */
5006
- export type ImportDataFormat = z.infer<typeof ImportDataFormatSchema>;
4987
+ export type ImportDataFormat = Wire.ImportDataFormat;
5007
4988
  /**
5008
4989
  * Table data specification for import.
5009
4990
  */
5010
- export type ImportTableData = z.infer<typeof ImportTableDataSchema>;
4991
+ export type ImportTableData = Wire.ImportTableData;
5011
4992
  /**
5012
4993
  * Payload for importing data into tables.
5013
4994
  */
5014
- export type ImportDataPayload = z.infer<typeof ImportDataPayloadSchema>;
4995
+ export type ImportDataPayload = Wire.ImportDataPayload;
5015
4996
  /**
5016
4997
  * Payload for creating a named snapshot.
5017
4998
  */
5018
- export type CreateSnapshotPayload = z.infer<typeof CreateSnapshotPayloadSchema>;
4999
+ export type CreateSnapshotPayload = Wire.CreateSnapshotPayload;
5019
5000
  /**
5020
5001
  * Payload for executing a query.
5021
5002
  */
5022
- export type QueryPayload = z.infer<typeof QueryPayloadSchema>;
5003
+ export type QueryPayload = Wire.QueryPayload;
5023
5004
  /**
5024
5005
  * Payload for mutating data rows with a single SQL statement.
5025
5006
  */
5026
- export type DataStoreMutateRowsPayload = z.infer<typeof DataStoreMutateRowsPayloadSchema>;
5007
+ export type DataStoreMutateRowsPayload = Wire.DataStoreMutateRowsPayload;
5027
5008
  /**
5028
5009
  * Result from mutating rows in a data store.
5029
5010
  */
5030
- export type DataStoreMutateRowsResult = z.infer<typeof DataStoreMutateRowsResultSchema>;
5011
+ export type DataStoreMutateRowsResult = Wire.DataStoreMutateRowsResult;
5031
5012
  /**
5032
5013
  * Column metadata in query results.
5033
5014
  */
5034
- export type QueryResultColumn = z.infer<typeof QueryResultColumnSchema>;
5015
+ export type QueryResultColumn = Wire.QueryResultColumn;
5035
5016
  /**
5036
5017
  * Query execution result.
5037
5018
  */
5038
- export type QueryResult = z.infer<typeof QueryResultSchema>;
5039
- export type BatchQueryResultItem = z.infer<typeof BatchQueryResultItemSchema>;
5040
- export type BatchQueryResult = z.infer<typeof BatchQueryResultSchema>;
5041
- export type QueryValidationError = z.infer<typeof QueryValidationErrorSchema>;
5042
- export type QueryValidationResult = z.infer<typeof QueryValidationResultSchema>;
5043
- export type DataStoreDownloadInfo = z.infer<typeof DataStoreDownloadInfoSchema>;
5044
- export type DataStoreArchiveResult = z.infer<typeof DataStoreArchiveResultSchema>;
5019
+ export type QueryResult = Wire.QueryResult;
5020
+ export type BatchQueryResultItem = Wire.BatchQueryResultItem;
5021
+ export type BatchQueryResult = Wire.BatchQueryResult;
5022
+ export type QueryValidationError = Wire.QueryValidationError;
5023
+ export type QueryValidationResult = Wire.QueryValidationResult;
5024
+ export type DataStoreDownloadInfo = Wire.DataStoreDownloadInfo;
5025
+ export type DataStoreArchiveResult = Wire.DataStoreArchiveResult;
5045
5026
  /**
5046
5027
  * @discriminator schema_format
5047
5028
  */
5048
- export type DataStoreSchemaResponse = z.infer<typeof DataStoreSchemaResponseSchema>;
5049
- export type DataStoreTableDetail = z.infer<typeof DataStoreTableDetailSchema>;
5050
- export type DataStoreTableDropResult = z.infer<typeof DataStoreTableDropResultSchema>;
5051
- export type DashboardArchiveResult = z.infer<typeof DashboardArchiveResultSchema>;
5052
- export type DashboardBulkArchiveResult = z.infer<typeof DashboardBulkArchiveResultSchema>;
5053
- export type DashboardBulkDeleteResult = z.infer<typeof DashboardBulkDeleteResultSchema>;
5054
- export type DashboardVersioningStatusResponse = z.infer<typeof DashboardVersioningStatusResponseSchema>;
5055
- export type DashboardVersioningPayload = z.infer<typeof DashboardVersioningPayloadSchema>;
5029
+ export type DataStoreSchemaResponse = Wire.DataStoreSchemaResponse;
5030
+ export type DataStoreTableDetail = Wire.DataStoreTableDetail;
5031
+ export type DataStoreTableDropResult = Wire.DataStoreTableDropResult;
5032
+ export type DashboardArchiveResult = Wire.DashboardArchiveResult;
5033
+ export type DashboardBulkArchiveResult = Wire.DashboardBulkArchiveResult;
5034
+ export type DashboardBulkDeleteResult = Wire.DashboardBulkDeleteResult;
5035
+ export type DashboardVersioningStatusResponse = Wire.DashboardVersioningStatusResponse;
5036
+ export type DashboardVersioningPayload = Wire.DashboardVersioningPayload;
5056
5037
  /**
5057
5038
  * Simplified column representation for AI agents.
5058
5039
  */
5059
- export type DataColumnForAI = z.infer<typeof DataColumnForAISchema>;
5040
+ export type DataColumnForAI = Wire.DataColumnForAI;
5060
5041
  /**
5061
5042
  * Simplified foreign key representation for AI agents.
5062
5043
  */
5063
- export type DataForeignKeyForAI = z.infer<typeof DataForeignKeyForAISchema>;
5044
+ export type DataForeignKeyForAI = Wire.DataForeignKeyForAI;
5064
5045
  /**
5065
5046
  * Simplified table representation for AI agents.
5066
5047
  */
5067
- export type DataTableForAI = z.infer<typeof DataTableForAISchema>;
5048
+ export type DataTableForAI = Wire.DataTableForAI;
5068
5049
  /**
5069
5050
  * Simplified relationship representation for AI agents.
5070
5051
  */
5071
- export type DataRelationshipForAI = z.infer<typeof DataRelationshipForAISchema>;
5052
+ export type DataRelationshipForAI = Wire.DataRelationshipForAI;
5072
5053
  /**
5073
5054
  * Simplified schema representation optimized for AI agent consumption.
5074
5055
  * Provides semantic context for understanding the data model.
5075
5056
  */
5076
- export type DataSchemaForAI = z.infer<typeof DataSchemaForAISchema>;
5057
+ export type DataSchemaForAI = Wire.DataSchemaForAI;
5077
5058
  /**
5078
5059
  * Version retention configuration.
5079
5060
  */
@@ -5096,7 +5077,7 @@ export declare const DashboardStatus: {
5096
5077
  /** Dashboard has been archived (soft deleted) */
5097
5078
  readonly ARCHIVED: 'archived';
5098
5079
  };
5099
- export type DashboardStatus = z.infer<typeof DashboardStatusSchema>;
5080
+ export type DashboardStatus = Wire.DashboardStatus;
5100
5081
  /**
5101
5082
  * Named SQL query that maps to a Vega data source.
5102
5083
  * Supports parameterized SQL with {{param_name}} placeholders.
@@ -5104,26 +5085,26 @@ export type DashboardStatus = z.infer<typeof DashboardStatusSchema>;
5104
5085
  * @deprecated Use single `query` field on Dashboard instead. Multiple queries
5105
5086
  * prevent cross-panel interactivity. Use JOINs/CTEs in a single query.
5106
5087
  */
5107
- export type DashboardQuery = z.infer<typeof DashboardQuerySchema>;
5088
+ export type DashboardQuery = Wire.DashboardQuery;
5108
5089
  /**
5109
5090
  * Panel position within the dashboard grid.
5110
5091
  *
5111
5092
  * @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
5112
5093
  */
5113
- export type DashboardPanelPosition = z.infer<typeof DashboardPanelPositionSchema>;
5094
+ export type DashboardPanelPosition = Wire.DashboardPanelPosition;
5114
5095
  /**
5115
5096
  * Dashboard panel with Vega/Vega-Lite visualization.
5116
5097
  *
5117
5098
  * @deprecated Use combined Vega-Lite spec with vconcat/hconcat instead.
5118
5099
  * Combined specs enable cross-panel interactivity (selections filtering other panels).
5119
5100
  */
5120
- export type DashboardPanel = z.infer<typeof DashboardPanelSchema>;
5101
+ export type DashboardPanel = Wire.DashboardPanel;
5121
5102
  /**
5122
5103
  * Dashboard layout configuration.
5123
5104
  *
5124
5105
  * @deprecated Layout is now handled within the Vega-Lite spec via vconcat/hconcat.
5125
5106
  */
5126
- export type DashboardLayout = z.infer<typeof DashboardLayoutSchema>;
5107
+ export type DashboardLayout = Wire.DashboardLayout;
5127
5108
  /**
5128
5109
  * Default layout configuration for dashboards.
5129
5110
  *
@@ -5134,34 +5115,34 @@ export declare const DEFAULT_DASHBOARD_LAYOUT: DashboardLayout;
5134
5115
  * Elasticsearch DSL supported by dashboard data sources.
5135
5116
  * Queries execute through Vertesia Store, so project/security filtering remains server-side.
5136
5117
  */
5137
- export type DashboardElasticsearchDsl = z.infer<typeof DashboardElasticsearchDslSchema>;
5118
+ export type DashboardElasticsearchDsl = Wire.DashboardElasticsearchDsl;
5138
5119
  /**
5139
5120
  * How an Elasticsearch DSL result should be converted into Vega rows.
5140
5121
  */
5141
- export type DashboardElasticsearchResultMapping = z.infer<typeof DashboardElasticsearchResultMappingSchema>;
5122
+ export type DashboardElasticsearchResultMapping = Wire.DashboardElasticsearchResultMapping;
5142
5123
  /**
5143
5124
  * Dashboard data source backed by a Data Platform SQL query.
5144
5125
  */
5145
- export type DashboardSqlDataSource = z.infer<typeof DashboardSqlDataSourceSchema>;
5126
+ export type DashboardSqlDataSource = Wire.DashboardSqlDataSource;
5146
5127
  /**
5147
5128
  * Dashboard data source backed by Vertesia Store Elasticsearch DSL.
5148
5129
  */
5149
- export type DashboardStoreElasticsearchDataSource = z.infer<typeof DashboardStoreElasticsearchDataSourceSchema>;
5130
+ export type DashboardStoreElasticsearchDataSource = Wire.DashboardStoreElasticsearchDataSource;
5150
5131
  /**
5151
5132
  * Data source for a Vega dashboard.
5152
5133
  */
5153
- export type DashboardDataSource = z.infer<typeof DashboardDataSourceSchema>;
5134
+ export type DashboardDataSource = Wire.DashboardDataSource;
5154
5135
  /**
5155
5136
  * Dashboard definition contributed by an app package.
5156
5137
  *
5157
5138
  * App dashboard IDs are local to the app. The platform exposes them as
5158
5139
  * `app:<app_name>:<id>` when listing or retrieving dashboards.
5159
5140
  */
5160
- export type AppDashboardDefinition = z.infer<typeof AppDashboardDefinitionSchema>;
5141
+ export type AppDashboardDefinition = Wire.AppDashboardDefinition;
5161
5142
  /**
5162
5143
  * Summary view of a dashboard (for listings).
5163
5144
  */
5164
- export type DashboardItem = z.infer<typeof DashboardItemSchema>;
5145
+ export type DashboardItem = Wire.DashboardItem;
5165
5146
  /**
5166
5147
  * Full dashboard with SQL query and Vega-Lite specification.
5167
5148
  *
@@ -5177,16 +5158,16 @@ export type DashboardItem = z.infer<typeof DashboardItemSchema>;
5177
5158
  * - `layout` for grid positioning
5178
5159
  * - No cross-panel interactivity
5179
5160
  */
5180
- export type Dashboard = z.infer<typeof DashboardSchema>;
5161
+ export type Dashboard = Wire.Dashboard;
5181
5162
  /**
5182
5163
  * Payload for creating a new dashboard.
5183
5164
  * Requires a data source and spec (Vega-Lite).
5184
5165
  */
5185
- export type CreateDashboardPayload = z.infer<typeof CreateDashboardPayloadSchema>;
5166
+ export type CreateDashboardPayload = Wire.CreateDashboardPayload;
5186
5167
  /**
5187
5168
  * Payload for updating a dashboard.
5188
5169
  */
5189
- export type UpdateDashboardPayload = z.infer<typeof UpdateDashboardPayloadSchema>;
5170
+ export type UpdateDashboardPayload = Wire.UpdateDashboardPayload;
5190
5171
  /**
5191
5172
  * Options for rendering a dashboard.
5192
5173
  */
@@ -5202,19 +5183,19 @@ export interface RenderDashboardOptions {
5202
5183
  * A point-in-time version of a dashboard.
5203
5184
  * Stores full snapshot inline (no external storage needed for small JSON documents).
5204
5185
  */
5205
- export type DashboardVersion = z.infer<typeof DashboardVersionSchema>;
5186
+ export type DashboardVersion = Wire.DashboardVersion;
5206
5187
  /**
5207
5188
  * Summary view of a dashboard version (for listings).
5208
5189
  */
5209
- export type DashboardVersionItem = z.infer<typeof DashboardVersionItemSchema>;
5190
+ export type DashboardVersionItem = Wire.DashboardVersionItem;
5210
5191
  /**
5211
5192
  * Payload for creating a named snapshot.
5212
5193
  */
5213
- export type CreateDashboardSnapshotPayload = z.infer<typeof CreateDashboardSnapshotPayloadSchema>;
5194
+ export type CreateDashboardSnapshotPayload = Wire.CreateDashboardSnapshotPayload;
5214
5195
  /**
5215
5196
  * Payload for promoting a version to current.
5216
5197
  */
5217
- export type PromoteDashboardVersionPayload = z.infer<typeof PromoteDashboardVersionPayloadSchema>;
5218
- export type DataColumnUpdate = z.infer<typeof DataColumnUpdateSchema>;
5198
+ export type PromoteDashboardVersionPayload = Wire.PromoteDashboardVersionPayload;
5199
+ export type DataColumnUpdate = Wire.DataColumnUpdate;
5219
5200
  export {};
5220
5201