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

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