@vertesia/common 1.5.0-dev.20260804.124748Z → 1.5.0-dev.20260807.073259Z

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.
Files changed (179) hide show
  1. package/lib/Progress.d.ts.map +1 -1
  2. package/lib/Progress.js.map +1 -1
  3. package/lib/access-control-values.d.ts +2 -2
  4. package/lib/access-control-values.d.ts.map +1 -1
  5. package/lib/account-values.d.ts +1 -1
  6. package/lib/account-values.d.ts.map +1 -1
  7. package/lib/api-schemas/access-control.d.ts +19 -19
  8. package/lib/api-schemas/adapter.d.ts +1 -0
  9. package/lib/api-schemas/adapter.d.ts.map +1 -1
  10. package/lib/api-schemas/adapter.js +1 -1
  11. package/lib/api-schemas/adapter.js.map +1 -1
  12. package/lib/api-schemas/agent-runs.d.ts +660 -515
  13. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  14. package/lib/api-schemas/agent-runs.js +11 -2
  15. package/lib/api-schemas/agent-runs.js.map +1 -1
  16. package/lib/api-schemas/analytics.d.ts +12 -12
  17. package/lib/api-schemas/apikey.d.ts +10 -10
  18. package/lib/api-schemas/app-lifecycle.d.ts +186 -152
  19. package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
  20. package/lib/api-schemas/app-lifecycle.js +51 -0
  21. package/lib/api-schemas/app-lifecycle.js.map +1 -1
  22. package/lib/api-schemas/app-runtime.d.ts +4493 -2122
  23. package/lib/api-schemas/app-runtime.d.ts.map +1 -1
  24. package/lib/api-schemas/app-runtime.js +93 -1
  25. package/lib/api-schemas/app-runtime.js.map +1 -1
  26. package/lib/api-schemas/apps.d.ts +43 -19
  27. package/lib/api-schemas/apps.d.ts.map +1 -1
  28. package/lib/api-schemas/apps.js +63 -3
  29. package/lib/api-schemas/apps.js.map +1 -1
  30. package/lib/api-schemas/audit-trail.d.ts +129 -129
  31. package/lib/api-schemas/bulk-operation.d.ts +10 -10
  32. package/lib/api-schemas/content.d.ts +542 -398
  33. package/lib/api-schemas/content.d.ts.map +1 -1
  34. package/lib/api-schemas/content.js +12 -0
  35. package/lib/api-schemas/content.js.map +1 -1
  36. package/lib/api-schemas/cost-analytics.d.ts +12 -12
  37. package/lib/api-schemas/dashboard.d.ts +10 -10
  38. package/lib/api-schemas/data-store.d.ts +556 -556
  39. package/lib/api-schemas/document-processing.d.ts +280 -196
  40. package/lib/api-schemas/document-processing.d.ts.map +1 -1
  41. package/lib/api-schemas/embeddings.d.ts +12 -12
  42. package/lib/api-schemas/environment.d.ts +20 -18
  43. package/lib/api-schemas/environment.d.ts.map +1 -1
  44. package/lib/api-schemas/events.d.ts +988 -698
  45. package/lib/api-schemas/events.d.ts.map +1 -1
  46. package/lib/api-schemas/events.js +59 -3
  47. package/lib/api-schemas/events.js.map +1 -1
  48. package/lib/api-schemas/files.d.ts +1 -1
  49. package/lib/api-schemas/group.d.ts +3 -3
  50. package/lib/api-schemas/indexing.d.ts +3 -3
  51. package/lib/api-schemas/integrations.d.ts +4 -4
  52. package/lib/api-schemas/interaction.d.ts +3894 -2752
  53. package/lib/api-schemas/interaction.d.ts.map +1 -1
  54. package/lib/api-schemas/interaction.js +6 -0
  55. package/lib/api-schemas/interaction.js.map +1 -1
  56. package/lib/api-schemas/invites.d.ts +9 -9
  57. package/lib/api-schemas/oauth-server.d.ts +36 -36
  58. package/lib/api-schemas/parameters.js.map +1 -1
  59. package/lib/api-schemas/process.d.ts +47 -47
  60. package/lib/api-schemas/project-configuration.d.ts +944 -664
  61. package/lib/api-schemas/project-configuration.d.ts.map +1 -1
  62. package/lib/api-schemas/project.d.ts +1403 -983
  63. package/lib/api-schemas/project.d.ts.map +1 -1
  64. package/lib/api-schemas/registry.d.ts +19119 -13557
  65. package/lib/api-schemas/registry.d.ts.map +1 -1
  66. package/lib/api-schemas/registry.js +170 -18
  67. package/lib/api-schemas/registry.js.map +1 -1
  68. package/lib/api-schemas/secrets.d.ts +4 -4
  69. package/lib/api-schemas/store.d.ts +4624 -3224
  70. package/lib/api-schemas/store.d.ts.map +1 -1
  71. package/lib/api-schemas/sts.d.ts +46 -36
  72. package/lib/api-schemas/sts.d.ts.map +1 -1
  73. package/lib/api-schemas/sts.js +11 -0
  74. package/lib/api-schemas/sts.js.map +1 -1
  75. package/lib/api-schemas/task.d.ts +30 -30
  76. package/lib/api-schemas/tools.d.ts +9 -9
  77. package/lib/api-schemas/user.d.ts +6 -6
  78. package/lib/api-schemas/view-execution.d.ts +626 -570
  79. package/lib/api-schemas/view-execution.d.ts.map +1 -1
  80. package/lib/api-schemas/views.d.ts +1293 -1125
  81. package/lib/api-schemas/views.d.ts.map +1 -1
  82. package/lib/api-schemas/workflow-runs.d.ts +325 -268
  83. package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
  84. package/lib/apps.d.ts +38 -24
  85. package/lib/apps.d.ts.map +1 -1
  86. package/lib/apps.js +4 -0
  87. package/lib/apps.js.map +1 -1
  88. package/lib/audit-trail.d.ts +3 -3
  89. package/lib/audit-trail.d.ts.map +1 -1
  90. package/lib/data-platform.d.ts +31 -31
  91. package/lib/data-platform.d.ts.map +1 -1
  92. package/lib/environment.d.ts +3 -3
  93. package/lib/index.d.ts +1 -0
  94. package/lib/index.d.ts.map +1 -1
  95. package/lib/index.js +1 -0
  96. package/lib/index.js.map +1 -1
  97. package/lib/platform-event-validation.d.ts.map +1 -1
  98. package/lib/platform-event-validation.js +15 -2
  99. package/lib/platform-event-validation.js.map +1 -1
  100. package/lib/platform-event.d.ts +31 -3
  101. package/lib/platform-event.d.ts.map +1 -1
  102. package/lib/platform-event.js.map +1 -1
  103. package/lib/project.d.ts +1 -1
  104. package/lib/schema-for-extraction.js.map +1 -1
  105. package/lib/store/agent-approval.d.ts +1 -1
  106. package/lib/store/agent-approval.d.ts.map +1 -1
  107. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
  108. package/lib/store/intake-policy-schema.generated.js +36 -0
  109. package/lib/store/intake-policy-schema.generated.js.map +1 -1
  110. package/lib/store/process-schema.d.ts +1 -1
  111. package/lib/store/process-schema.d.ts.map +1 -1
  112. package/lib/store/process-validation.js.map +1 -1
  113. package/lib/store/schedule.d.ts +6 -6
  114. package/lib/store/schedule.d.ts.map +1 -1
  115. package/lib/store/store.d.ts +3 -3
  116. package/lib/store/store.d.ts.map +1 -1
  117. package/lib/store/workflow.d.ts +6 -0
  118. package/lib/store/workflow.d.ts.map +1 -1
  119. package/lib/store/workflow.js +8 -0
  120. package/lib/store/workflow.js.map +1 -1
  121. package/lib/sts-errors.d.ts +7 -0
  122. package/lib/sts-errors.d.ts.map +1 -0
  123. package/lib/sts-errors.js +11 -0
  124. package/lib/sts-errors.js.map +1 -0
  125. package/lib/sts-token-types.d.ts +2 -1
  126. package/lib/sts-token-types.d.ts.map +1 -1
  127. package/lib/sts-token-types.js.map +1 -1
  128. package/lib/user.d.ts +1 -1
  129. package/lib/user.d.ts.map +1 -1
  130. package/lib/user.js +1 -1
  131. package/lib/user.js.map +1 -1
  132. package/lib/versions.d.ts +10 -0
  133. package/lib/versions.d.ts.map +1 -1
  134. package/lib/versions.js +10 -0
  135. package/lib/versions.js.map +1 -1
  136. package/lib/vertesia-common.js +3 -3
  137. package/lib/vertesia-common.js.map +1 -1
  138. package/lib/view-configuration-validation.js.map +1 -1
  139. package/lib/view-query-validation.js.map +1 -1
  140. package/lib/view-validation-helpers.d.ts +1 -1
  141. package/lib/view-validation-helpers.d.ts.map +1 -1
  142. package/lib/views-schema.d.ts +51 -51
  143. package/lib/views-schema.d.ts.map +1 -1
  144. package/lib/views-validation.js.map +1 -1
  145. package/lib/views.d.ts +2 -2
  146. package/lib/views.d.ts.map +1 -1
  147. package/lib/workflow-analytics.d.ts +10 -3
  148. package/lib/workflow-analytics.d.ts.map +1 -1
  149. package/package.json +4 -4
  150. package/src/api-schemas/adapter.ts +1 -1
  151. package/src/api-schemas/agent-runs.ts +12 -2
  152. package/src/api-schemas/api-discriminators.test.ts +84 -0
  153. package/src/api-schemas/app-delete-summary.contract.test.ts +67 -0
  154. package/src/api-schemas/app-lifecycle.ts +59 -0
  155. package/src/api-schemas/app-runtime.ts +103 -0
  156. package/src/api-schemas/apps.ts +72 -3
  157. package/src/api-schemas/content.ts +13 -0
  158. package/src/api-schemas/events.ts +63 -3
  159. package/src/api-schemas/interaction.contract.test.ts +27 -0
  160. package/src/api-schemas/interaction.ts +7 -0
  161. package/src/api-schemas/mcp-api-key.contract.test.ts +86 -0
  162. package/src/api-schemas/registry.ts +200 -18
  163. package/src/api-schemas/store.contract.test.ts +21 -0
  164. package/src/api-schemas/sts.contract.test.ts +33 -1
  165. package/src/api-schemas/sts.ts +13 -0
  166. package/src/apps.test.ts +82 -0
  167. package/src/apps.ts +50 -16
  168. package/src/index.ts +1 -0
  169. package/src/platform-event-validation.test.ts +26 -0
  170. package/src/platform-event-validation.ts +15 -2
  171. package/src/platform-event.ts +43 -0
  172. package/src/store/intake-policy-schema.generated.ts +36 -0
  173. package/src/store/workflow.ts +9 -0
  174. package/src/sts-errors.ts +13 -0
  175. package/src/sts-token-types.ts +2 -0
  176. package/src/user.ts +1 -1
  177. package/src/versions.test.ts +13 -0
  178. package/src/versions.ts +12 -0
  179. package/src/workflow-analytics.ts +10 -3
@@ -16,19 +16,19 @@ export declare const AppVersionUrlsSchema: z.ZodObject<{
16
16
  internal_preview_url: z.ZodOptional<z.ZodString>;
17
17
  }, z.core.$strict>;
18
18
  export declare const AppVersionGitRefTypeSchema: z.ZodEnum<{
19
- tag: "tag";
20
19
  branch: "branch";
21
20
  commit: "commit";
22
21
  detached: "detached";
22
+ tag: "tag";
23
23
  }>;
24
24
  export declare const AppVersionTargetSchema: z.ZodEnum<{
25
- static: "static";
26
25
  service: "service";
26
+ static: "static";
27
27
  }>;
28
28
  export declare const AppVersionStateSchema: z.ZodEnum<{
29
- ready: "ready";
30
- failed: "failed";
31
29
  expired: "expired";
30
+ failed: "failed";
31
+ ready: "ready";
32
32
  }>;
33
33
  export declare const AppVersionKindSchema: z.ZodEnum<{
34
34
  design: "design";
@@ -43,21 +43,21 @@ export declare const StartAppScaffoldResponseSchema: z.ZodObject<{
43
43
  create_version: z.ZodBoolean;
44
44
  }, z.core.$strict>;
45
45
  export declare const AppScaffoldModuleSchema: z.ZodEnum<{
46
- examples: "examples";
47
- service: "service";
48
46
  assistant: "assistant";
49
47
  "content-app": "content-app";
48
+ examples: "examples";
49
+ service: "service";
50
50
  }>;
51
51
  export declare const AppBuildTriggerSchema: z.ZodEnum<{
52
- api: "api";
53
52
  agent: "agent";
54
- ui: "ui";
53
+ api: "api";
55
54
  git_push: "git_push";
55
+ ui: "ui";
56
56
  }>;
57
57
  export declare const Extract_AppVersionGitRefType_branch_tag_commitSchema: z.ZodEnum<{
58
- tag: "tag";
59
58
  branch: "branch";
60
59
  commit: "commit";
60
+ tag: "tag";
61
61
  }>;
62
62
  export declare const StartAppBuildResponseSchema: z.ZodObject<{
63
63
  workflow_id: z.ZodString;
@@ -67,16 +67,16 @@ export declare const StartAppBuildResponseSchema: z.ZodObject<{
67
67
  rebuild_version_record_id: z.ZodOptional<z.ZodString>;
68
68
  source_ref: z.ZodOptional<z.ZodString>;
69
69
  source_ref_type: z.ZodOptional<z.ZodEnum<{
70
- tag: "tag";
71
70
  branch: "branch";
72
71
  commit: "commit";
72
+ tag: "tag";
73
73
  }>>;
74
74
  }, z.core.$strict>;
75
75
  export declare const AgentToolApprovalClassSchema: z.ZodEnum<{
76
- read_only: "read_only";
77
- side_effecting: "side_effecting";
78
76
  control: "control";
77
+ read_only: "read_only";
79
78
  requires_confirmation: "requires_confirmation";
79
+ side_effecting: "side_effecting";
80
80
  }>;
81
81
  export declare const AppDevelopmentTaskSchema: z.ZodObject<{
82
82
  id: z.ZodString;
@@ -100,46 +100,50 @@ export declare const OAuthClientCredentialsSchema: z.ZodObject<{
100
100
  scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
101
  }, z.core.$strict>;
102
102
  export declare const AppPackageScopeSchema: z.ZodEnum<{
103
- interactions: "interactions";
103
+ activities: "activities";
104
104
  all: "all";
105
- ui: "ui";
105
+ dashboards: "dashboards";
106
+ hooks: "hooks";
107
+ interactions: "interactions";
108
+ processes: "processes";
109
+ settings: "settings";
110
+ subscriptions: "subscriptions";
111
+ templates: "templates";
106
112
  tools: "tools";
107
113
  types: "types";
108
- processes: "processes";
114
+ ui: "ui";
109
115
  views: "views";
110
- templates: "templates";
111
- dashboards: "dashboards";
112
- settings: "settings";
113
116
  widgets: "widgets";
114
- activities: "activities";
115
117
  }>;
116
118
  export declare const AppInspectionCapabilityReportSchema: z.ZodObject<{
117
119
  capability: z.ZodEnum<{
118
- interactions: "interactions";
120
+ activities: "activities";
119
121
  all: "all";
120
- ui: "ui";
122
+ dashboards: "dashboards";
123
+ hooks: "hooks";
124
+ interactions: "interactions";
125
+ processes: "processes";
126
+ settings: "settings";
127
+ subscriptions: "subscriptions";
128
+ templates: "templates";
121
129
  tools: "tools";
122
130
  types: "types";
123
- processes: "processes";
131
+ ui: "ui";
124
132
  views: "views";
125
- templates: "templates";
126
- dashboards: "dashboards";
127
- settings: "settings";
128
133
  widgets: "widgets";
129
- activities: "activities";
130
134
  }>;
131
135
  declared: z.ZodBoolean;
132
136
  exposed_ids: z.ZodArray<z.ZodString>;
133
137
  exposed_count: z.ZodNumber;
134
138
  }, z.core.$strict>;
135
139
  export declare const AppScaffoldProgressStatusSchema: z.ZodEnum<{
140
+ building: "building";
141
+ completed: "completed";
136
142
  failed: "failed";
143
+ pushing: "pushing";
137
144
  queued: "queued";
138
145
  reserving: "reserving";
139
146
  scaffolding: "scaffolding";
140
- pushing: "pushing";
141
- building: "building";
142
- completed: "completed";
143
147
  }>;
144
148
  export declare const AppRepoTreeEntrySchema: z.ZodObject<{
145
149
  name: z.ZodString;
@@ -164,8 +168,8 @@ export declare const AppRepoCommitSchema: z.ZodObject<{
164
168
  }, z.core.$strict>;
165
169
  export declare const AgentRunTypeSchema: z.ZodEnum<{
166
170
  api: "api";
167
- schedule: "schedule";
168
171
  event_subscription: "event_subscription";
172
+ schedule: "schedule";
169
173
  }>;
170
174
  export declare const EventRefSchema: z.ZodObject<{
171
175
  event_id: z.ZodString;
@@ -173,12 +177,12 @@ export declare const EventRefSchema: z.ZodObject<{
173
177
  caused_by_event_id: z.ZodOptional<z.ZodString>;
174
178
  hop_count: z.ZodNumber;
175
179
  event_category: z.ZodEnum<{
176
- system: "system";
177
- content: "content";
178
180
  billing: "billing";
181
+ content: "content";
179
182
  external: "external";
180
- workflow: "workflow";
181
183
  security: "security";
184
+ system: "system";
185
+ workflow: "workflow";
182
186
  }>;
183
187
  action: z.ZodString;
184
188
  resource_type: z.ZodString;
@@ -192,11 +196,11 @@ export declare const InCodeTypeRefSchema: z.ZodObject<{
192
196
  id: z.ZodString;
193
197
  name: z.ZodString;
194
198
  default_view: z.ZodOptional<z.ZodEnum<{
195
- text: "text";
196
- image: "image";
197
- properties: "properties";
198
199
  auto: "auto";
200
+ image: "image";
199
201
  pdf: "pdf";
202
+ properties: "properties";
203
+ text: "text";
200
204
  }>>;
201
205
  }, z.core.$strict>;
202
206
  export declare const StoredTypeRefSchema: z.ZodObject<{
@@ -204,38 +208,38 @@ export declare const StoredTypeRefSchema: z.ZodObject<{
204
208
  id: z.ZodString;
205
209
  name: z.ZodString;
206
210
  default_view: z.ZodOptional<z.ZodEnum<{
207
- text: "text";
208
- image: "image";
209
- properties: "properties";
210
211
  auto: "auto";
212
+ image: "image";
211
213
  pdf: "pdf";
214
+ properties: "properties";
215
+ text: "text";
212
216
  }>>;
213
217
  }, z.core.$strict>;
214
218
  export declare const ConversationActivityStateSchema: z.ZodEnum<{
215
- working: "working";
216
219
  idle: "idle";
220
+ working: "working";
217
221
  }>;
218
222
  export declare const AgentRunStatusSchema: z.ZodEnum<{
219
- failed: "failed";
223
+ cancelled: "cancelled";
220
224
  completed: "completed";
221
225
  created: "created";
226
+ failed: "failed";
222
227
  running: "running";
223
- cancelled: "cancelled";
224
228
  }>;
225
229
  export declare const RunKindSchema: z.ZodEnum<{
226
230
  agent: "agent";
227
231
  process: "process";
228
232
  }>;
229
233
  export declare const RunTypeSchema: z.ZodEnum<{
230
- programmatic: "programmatic";
231
234
  autonomous: "autonomous";
235
+ programmatic: "programmatic";
232
236
  supervised: "supervised";
233
237
  }>;
234
238
  export declare const AppBuildProgressStatusSchema: z.ZodEnum<{
235
- failed: "failed";
236
- queued: "queued";
237
239
  building: "building";
238
240
  completed: "completed";
241
+ failed: "failed";
242
+ queued: "queued";
239
243
  resolving: "resolving";
240
244
  }>;
241
245
  export declare const DeleteAppVersionResponseSchema: z.ZodObject<{
@@ -246,6 +250,17 @@ export declare const DeleteAppVersionResponseSchema: z.ZodObject<{
246
250
  deleted: z.ZodBoolean;
247
251
  warnings: z.ZodArray<z.ZodString>;
248
252
  }, z.core.$strict>;
253
+ export declare const AppDeleteSummarySchema: z.ZodObject<{
254
+ confirmed: z.ZodBoolean;
255
+ app_id: z.ZodString;
256
+ app_name: z.ZodString;
257
+ versions: z.ZodNumber;
258
+ installations: z.ZodNumber;
259
+ storage_prefix: z.ZodString;
260
+ git_repo_url: z.ZodOptional<z.ZodString>;
261
+ deleted: z.ZodBoolean;
262
+ warnings: z.ZodArray<z.ZodString>;
263
+ }, z.core.$strict>;
249
264
  export declare const AppRepoBranchSchema: z.ZodObject<{
250
265
  name: z.ZodString;
251
266
  commit: z.ZodString;
@@ -262,10 +277,10 @@ export declare const AppVersionGitSourceSchema: z.ZodObject<{
262
277
  remote: z.ZodOptional<z.ZodString>;
263
278
  ref: z.ZodOptional<z.ZodString>;
264
279
  ref_type: z.ZodOptional<z.ZodEnum<{
265
- tag: "tag";
266
280
  branch: "branch";
267
281
  commit: "commit";
268
282
  detached: "detached";
283
+ tag: "tag";
269
284
  }>>;
270
285
  branch: z.ZodOptional<z.ZodString>;
271
286
  tag: z.ZodOptional<z.ZodString>;
@@ -279,29 +294,29 @@ export declare const StartAppScaffoldRequestSchema: z.ZodObject<{
279
294
  title: z.ZodOptional<z.ZodString>;
280
295
  description: z.ZodOptional<z.ZodString>;
281
296
  modules: z.ZodOptional<z.ZodArray<z.ZodEnum<{
282
- examples: "examples";
283
- service: "service";
284
297
  assistant: "assistant";
285
298
  "content-app": "content-app";
299
+ examples: "examples";
300
+ service: "service";
286
301
  }>>>;
287
302
  create_version: z.ZodOptional<z.ZodBoolean>;
288
303
  }, z.core.$strict>;
289
304
  export declare const StartAppBuildRequestSchema: z.ZodObject<{
290
305
  source_ref: z.ZodOptional<z.ZodString>;
291
306
  source_ref_type: z.ZodOptional<z.ZodEnum<{
292
- tag: "tag";
293
307
  branch: "branch";
294
308
  commit: "commit";
309
+ tag: "tag";
295
310
  }>>;
296
311
  trigger: z.ZodOptional<z.ZodEnum<{
297
- api: "api";
298
312
  agent: "agent";
299
- ui: "ui";
313
+ api: "api";
300
314
  git_push: "git_push";
315
+ ui: "ui";
301
316
  }>>;
302
317
  target: z.ZodOptional<z.ZodEnum<{
303
- static: "static";
304
318
  service: "service";
319
+ static: "static";
305
320
  }>>;
306
321
  title: z.ZodOptional<z.ZodString>;
307
322
  description: z.ZodOptional<z.ZodString>;
@@ -322,10 +337,10 @@ export declare const AgentToolDefinitionSchema: z.ZodObject<{
322
337
  openWorldHint: z.ZodOptional<z.ZodBoolean>;
323
338
  }, z.core.$strict>>;
324
339
  approval_class: z.ZodOptional<z.ZodEnum<{
325
- read_only: "read_only";
326
- side_effecting: "side_effecting";
327
340
  control: "control";
341
+ read_only: "read_only";
328
342
  requires_confirmation: "requires_confirmation";
343
+ side_effecting: "side_effecting";
329
344
  }>>;
330
345
  }, z.core.$strict>;
331
346
  export declare const AppDevelopmentTaskListSchema: z.ZodObject<{
@@ -347,37 +362,45 @@ export declare const AppOAuthCollectionParamsSchema: z.ZodObject<{}, z.core.$cat
347
362
  client_secret: z.ZodOptional<z.ZodString>;
348
363
  scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
349
364
  }, z.core.$strict>>>;
365
+ export declare const McpApiKeyCredentialSchema: z.ZodObject<{
366
+ api_key: z.ZodString;
367
+ }, z.core.$strict>;
368
+ export declare const AppApiKeyCollectionParamsSchema: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
369
+ api_key: z.ZodString;
370
+ }, z.core.$strict>>>;
350
371
  export declare const AppInspectionIssueSchema: z.ZodObject<{
351
372
  severity: z.ZodEnum<{
352
373
  error: "error";
353
374
  warning: "warning";
354
375
  }>;
355
376
  capability: z.ZodOptional<z.ZodEnum<{
356
- interactions: "interactions";
377
+ activities: "activities";
357
378
  all: "all";
358
- ui: "ui";
379
+ dashboards: "dashboards";
380
+ hooks: "hooks";
381
+ interactions: "interactions";
382
+ processes: "processes";
383
+ settings: "settings";
384
+ subscriptions: "subscriptions";
385
+ templates: "templates";
359
386
  tools: "tools";
360
387
  types: "types";
361
- processes: "processes";
388
+ ui: "ui";
362
389
  views: "views";
363
- templates: "templates";
364
- dashboards: "dashboards";
365
- settings: "settings";
366
390
  widgets: "widgets";
367
- activities: "activities";
368
391
  }>>;
369
392
  code: z.ZodString;
370
393
  message: z.ZodString;
371
394
  }, z.core.$strict>;
372
395
  export declare const AppScaffoldProgressSchema: z.ZodObject<{
373
396
  status: z.ZodEnum<{
397
+ building: "building";
398
+ completed: "completed";
374
399
  failed: "failed";
400
+ pushing: "pushing";
375
401
  queued: "queued";
376
402
  reserving: "reserving";
377
403
  scaffolding: "scaffolding";
378
- pushing: "pushing";
379
- building: "building";
380
- completed: "completed";
381
404
  }>;
382
405
  step: z.ZodString;
383
406
  app_id: z.ZodOptional<z.ZodString>;
@@ -393,9 +416,9 @@ export declare const AppScaffoldProgressSchema: z.ZodObject<{
393
416
  rebuild_version_record_id: z.ZodOptional<z.ZodString>;
394
417
  source_ref: z.ZodOptional<z.ZodString>;
395
418
  source_ref_type: z.ZodOptional<z.ZodEnum<{
396
- tag: "tag";
397
419
  branch: "branch";
398
420
  commit: "commit";
421
+ tag: "tag";
399
422
  }>>;
400
423
  }, z.core.$strict>>;
401
424
  error: z.ZodOptional<z.ZodString>;
@@ -447,30 +470,30 @@ export declare const ContentObjectTypeRefSchema: z.ZodDiscriminatedUnion<[z.ZodO
447
470
  id: z.ZodString;
448
471
  name: z.ZodString;
449
472
  default_view: z.ZodOptional<z.ZodEnum<{
450
- text: "text";
451
- image: "image";
452
- properties: "properties";
453
473
  auto: "auto";
474
+ image: "image";
454
475
  pdf: "pdf";
476
+ properties: "properties";
477
+ text: "text";
455
478
  }>>;
456
479
  }, z.core.$strict>, z.ZodObject<{
457
480
  ref_type: z.ZodLiteral<"incode">;
458
481
  id: z.ZodString;
459
482
  name: z.ZodString;
460
483
  default_view: z.ZodOptional<z.ZodEnum<{
461
- text: "text";
462
- image: "image";
463
- properties: "properties";
464
484
  auto: "auto";
485
+ image: "image";
465
486
  pdf: "pdf";
487
+ properties: "properties";
488
+ text: "text";
466
489
  }>>;
467
490
  }, z.core.$strict>], "ref_type">;
468
491
  export declare const AppBuildProgressSchema: z.ZodObject<{
469
492
  status: z.ZodEnum<{
470
- failed: "failed";
471
- queued: "queued";
472
493
  building: "building";
473
494
  completed: "completed";
495
+ failed: "failed";
496
+ queued: "queued";
474
497
  resolving: "resolving";
475
498
  }>;
476
499
  step: z.ZodString;
@@ -478,9 +501,9 @@ export declare const AppBuildProgressSchema: z.ZodObject<{
478
501
  version_id: z.ZodOptional<z.ZodString>;
479
502
  source_ref: z.ZodOptional<z.ZodString>;
480
503
  source_ref_type: z.ZodOptional<z.ZodEnum<{
481
- tag: "tag";
482
504
  branch: "branch";
483
505
  commit: "commit";
506
+ tag: "tag";
484
507
  }>>;
485
508
  source_commit: z.ZodOptional<z.ZodString>;
486
509
  file_count: z.ZodOptional<z.ZodNumber>;
@@ -498,10 +521,10 @@ export declare const AppVersionStorageSchema: z.ZodObject<{
498
521
  remote: z.ZodOptional<z.ZodString>;
499
522
  ref: z.ZodOptional<z.ZodString>;
500
523
  ref_type: z.ZodOptional<z.ZodEnum<{
501
- tag: "tag";
502
524
  branch: "branch";
503
525
  commit: "commit";
504
526
  detached: "detached";
527
+ tag: "tag";
505
528
  }>>;
506
529
  branch: z.ZodOptional<z.ZodString>;
507
530
  tag: z.ZodOptional<z.ZodString>;
@@ -534,10 +557,10 @@ export declare const AppToolCollectionSchema: z.ZodObject<{
534
557
  openWorldHint: z.ZodOptional<z.ZodBoolean>;
535
558
  }, z.core.$strict>>;
536
559
  approval_class: z.ZodOptional<z.ZodEnum<{
537
- read_only: "read_only";
538
- side_effecting: "side_effecting";
539
560
  control: "control";
561
+ read_only: "read_only";
540
562
  requires_confirmation: "requires_confirmation";
563
+ side_effecting: "side_effecting";
541
564
  }>>;
542
565
  }, z.core.$strict>>;
543
566
  }, z.core.$strict>;
@@ -555,33 +578,37 @@ export declare const AppInspectionResultSchema: z.ZodObject<{
555
578
  installed: z.ZodBoolean;
556
579
  access_control: z.ZodOptional<z.ZodString>;
557
580
  capabilities: z.ZodArray<z.ZodEnum<{
558
- interactions: "interactions";
581
+ activities: "activities";
559
582
  all: "all";
560
- ui: "ui";
583
+ dashboards: "dashboards";
584
+ hooks: "hooks";
585
+ interactions: "interactions";
586
+ processes: "processes";
587
+ settings: "settings";
588
+ subscriptions: "subscriptions";
589
+ templates: "templates";
561
590
  tools: "tools";
562
591
  types: "types";
563
- processes: "processes";
592
+ ui: "ui";
564
593
  views: "views";
565
- templates: "templates";
566
- dashboards: "dashboards";
567
- settings: "settings";
568
594
  widgets: "widgets";
569
- activities: "activities";
570
595
  }>>;
571
596
  package: z.ZodArray<z.ZodObject<{
572
597
  capability: z.ZodEnum<{
573
- interactions: "interactions";
598
+ activities: "activities";
574
599
  all: "all";
575
- ui: "ui";
600
+ dashboards: "dashboards";
601
+ hooks: "hooks";
602
+ interactions: "interactions";
603
+ processes: "processes";
604
+ settings: "settings";
605
+ subscriptions: "subscriptions";
606
+ templates: "templates";
576
607
  tools: "tools";
577
608
  types: "types";
578
- processes: "processes";
609
+ ui: "ui";
579
610
  views: "views";
580
- templates: "templates";
581
- dashboards: "dashboards";
582
- settings: "settings";
583
611
  widgets: "widgets";
584
- activities: "activities";
585
612
  }>;
586
613
  declared: z.ZodBoolean;
587
614
  exposed_ids: z.ZodArray<z.ZodString>;
@@ -593,18 +620,20 @@ export declare const AppInspectionResultSchema: z.ZodObject<{
593
620
  warning: "warning";
594
621
  }>;
595
622
  capability: z.ZodOptional<z.ZodEnum<{
596
- interactions: "interactions";
623
+ activities: "activities";
597
624
  all: "all";
598
- ui: "ui";
625
+ dashboards: "dashboards";
626
+ hooks: "hooks";
627
+ interactions: "interactions";
628
+ processes: "processes";
629
+ settings: "settings";
630
+ subscriptions: "subscriptions";
631
+ templates: "templates";
599
632
  tools: "tools";
600
633
  types: "types";
601
- processes: "processes";
634
+ ui: "ui";
602
635
  views: "views";
603
- templates: "templates";
604
- dashboards: "dashboards";
605
- settings: "settings";
606
636
  widgets: "widgets";
607
- activities: "activities";
608
637
  }>>;
609
638
  code: z.ZodString;
610
639
  message: z.ZodString;
@@ -624,14 +653,14 @@ export declare const AppVersionRecordSchema: z.ZodObject<{
624
653
  version: "version";
625
654
  }>;
626
655
  state: z.ZodEnum<{
627
- ready: "ready";
628
- failed: "failed";
629
656
  expired: "expired";
657
+ failed: "failed";
658
+ ready: "ready";
630
659
  }>;
631
660
  promoted: z.ZodOptional<z.ZodBoolean>;
632
661
  target: z.ZodOptional<z.ZodEnum<{
633
- static: "static";
634
662
  service: "service";
663
+ static: "static";
635
664
  }>>;
636
665
  agent_run_id: z.ZodOptional<z.ZodString>;
637
666
  development_task_id: z.ZodOptional<z.ZodString>;
@@ -650,10 +679,10 @@ export declare const AppVersionRecordSchema: z.ZodObject<{
650
679
  remote: z.ZodOptional<z.ZodString>;
651
680
  ref: z.ZodOptional<z.ZodString>;
652
681
  ref_type: z.ZodOptional<z.ZodEnum<{
653
- tag: "tag";
654
682
  branch: "branch";
655
683
  commit: "commit";
656
684
  detached: "detached";
685
+ tag: "tag";
657
686
  }>>;
658
687
  branch: z.ZodOptional<z.ZodString>;
659
688
  tag: z.ZodOptional<z.ZodString>;
@@ -693,8 +722,8 @@ export declare const AgentRunSearchHitSchema: z.ZodObject<{
693
722
  score: z.ZodNumber;
694
723
  interaction: z.ZodOptional<z.ZodString>;
695
724
  run_type: z.ZodOptional<z.ZodEnum<{
696
- programmatic: "programmatic";
697
725
  autonomous: "autonomous";
726
+ programmatic: "programmatic";
698
727
  supervised: "supervised";
699
728
  }>>;
700
729
  run_kind: z.ZodOptional<z.ZodEnum<{
@@ -703,15 +732,15 @@ export declare const AgentRunSearchHitSchema: z.ZodObject<{
703
732
  }>>;
704
733
  interaction_name: z.ZodOptional<z.ZodString>;
705
734
  status: z.ZodEnum<{
706
- failed: "failed";
735
+ cancelled: "cancelled";
707
736
  completed: "completed";
708
737
  created: "created";
738
+ failed: "failed";
709
739
  running: "running";
710
- cancelled: "cancelled";
711
740
  }>;
712
741
  activity_state: z.ZodOptional<z.ZodEnum<{
713
- working: "working";
714
742
  idle: "idle";
743
+ working: "working";
715
744
  }>>;
716
745
  started_at: z.ZodString;
717
746
  completed_at: z.ZodOptional<z.ZodString>;
@@ -728,22 +757,22 @@ export declare const AgentRunSearchHitSchema: z.ZodObject<{
728
757
  id: z.ZodString;
729
758
  name: z.ZodString;
730
759
  default_view: z.ZodOptional<z.ZodEnum<{
731
- text: "text";
732
- image: "image";
733
- properties: "properties";
734
760
  auto: "auto";
761
+ image: "image";
735
762
  pdf: "pdf";
763
+ properties: "properties";
764
+ text: "text";
736
765
  }>>;
737
766
  }, z.core.$strict>, z.ZodObject<{
738
767
  ref_type: z.ZodLiteral<"incode">;
739
768
  id: z.ZodString;
740
769
  name: z.ZodString;
741
770
  default_view: z.ZodOptional<z.ZodEnum<{
742
- text: "text";
743
- image: "image";
744
- properties: "properties";
745
771
  auto: "auto";
772
+ image: "image";
746
773
  pdf: "pdf";
774
+ properties: "properties";
775
+ text: "text";
747
776
  }>>;
748
777
  }, z.core.$strict>], "ref_type">>;
749
778
  tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -755,12 +784,12 @@ export declare const AgentRunSearchHitSchema: z.ZodObject<{
755
784
  caused_by_event_id: z.ZodOptional<z.ZodString>;
756
785
  hop_count: z.ZodNumber;
757
786
  event_category: z.ZodEnum<{
758
- system: "system";
759
- content: "content";
760
787
  billing: "billing";
788
+ content: "content";
761
789
  external: "external";
762
- workflow: "workflow";
763
790
  security: "security";
791
+ system: "system";
792
+ workflow: "workflow";
764
793
  }>;
765
794
  action: z.ZodString;
766
795
  resource_type: z.ZodString;
@@ -771,13 +800,13 @@ export declare const AgentRunSearchHitSchema: z.ZodObject<{
771
800
  }, z.core.$strict>>;
772
801
  source_type: z.ZodOptional<z.ZodEnum<{
773
802
  api: "api";
774
- schedule: "schedule";
775
803
  event_subscription: "event_subscription";
804
+ schedule: "schedule";
776
805
  }>>;
777
806
  type: z.ZodOptional<z.ZodEnum<{
778
807
  api: "api";
779
- schedule: "schedule";
780
808
  event_subscription: "event_subscription";
809
+ schedule: "schedule";
781
810
  }>>;
782
811
  created_at: z.ZodString;
783
812
  updated_at: z.ZodString;
@@ -793,13 +822,13 @@ export declare const UpsertAppVersionRequestSchema: z.ZodObject<{
793
822
  version: "version";
794
823
  }>;
795
824
  state: z.ZodOptional<z.ZodEnum<{
796
- ready: "ready";
797
- failed: "failed";
798
825
  expired: "expired";
826
+ failed: "failed";
827
+ ready: "ready";
799
828
  }>>;
800
829
  target: z.ZodOptional<z.ZodEnum<{
801
- static: "static";
802
830
  service: "service";
831
+ static: "static";
803
832
  }>>;
804
833
  agent_run_id: z.ZodOptional<z.ZodString>;
805
834
  development_task_id: z.ZodOptional<z.ZodString>;
@@ -818,10 +847,10 @@ export declare const UpsertAppVersionRequestSchema: z.ZodObject<{
818
847
  remote: z.ZodOptional<z.ZodString>;
819
848
  ref: z.ZodOptional<z.ZodString>;
820
849
  ref_type: z.ZodOptional<z.ZodEnum<{
821
- tag: "tag";
822
850
  branch: "branch";
823
851
  commit: "commit";
824
852
  detached: "detached";
853
+ tag: "tag";
825
854
  }>>;
826
855
  branch: z.ZodOptional<z.ZodString>;
827
856
  tag: z.ZodOptional<z.ZodString>;
@@ -858,8 +887,8 @@ export declare const AppInstallationPayloadSchema: z.ZodObject<{
858
887
  settings: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
859
888
  access_control: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
860
889
  all: "all";
861
- ui: "ui";
862
890
  none: "none";
891
+ ui: "ui";
863
892
  }>, z.ZodNull]>>;
864
893
  oauth_params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
865
894
  client_id: z.ZodOptional<z.ZodString>;
@@ -871,6 +900,9 @@ export declare const AppInstallationPayloadSchema: z.ZodObject<{
871
900
  client_secret: z.ZodOptional<z.ZodString>;
872
901
  scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
873
902
  }, z.core.$strict>>>>;
903
+ api_key_params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
904
+ api_key: z.ZodString;
905
+ }, z.core.$strict>>>>;
874
906
  }, z.core.$strict>;
875
907
  export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
876
908
  id: z.ZodString;
@@ -882,8 +914,8 @@ export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
882
914
  score: z.ZodNumber;
883
915
  interaction: z.ZodOptional<z.ZodString>;
884
916
  run_type: z.ZodOptional<z.ZodEnum<{
885
- programmatic: "programmatic";
886
917
  autonomous: "autonomous";
918
+ programmatic: "programmatic";
887
919
  supervised: "supervised";
888
920
  }>>;
889
921
  run_kind: z.ZodOptional<z.ZodEnum<{
@@ -892,15 +924,15 @@ export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
892
924
  }>>;
893
925
  interaction_name: z.ZodOptional<z.ZodString>;
894
926
  status: z.ZodEnum<{
895
- failed: "failed";
927
+ cancelled: "cancelled";
896
928
  completed: "completed";
897
929
  created: "created";
930
+ failed: "failed";
898
931
  running: "running";
899
- cancelled: "cancelled";
900
932
  }>;
901
933
  activity_state: z.ZodOptional<z.ZodEnum<{
902
- working: "working";
903
934
  idle: "idle";
935
+ working: "working";
904
936
  }>>;
905
937
  started_at: z.ZodString;
906
938
  completed_at: z.ZodOptional<z.ZodString>;
@@ -917,22 +949,22 @@ export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
917
949
  id: z.ZodString;
918
950
  name: z.ZodString;
919
951
  default_view: z.ZodOptional<z.ZodEnum<{
920
- text: "text";
921
- image: "image";
922
- properties: "properties";
923
952
  auto: "auto";
953
+ image: "image";
924
954
  pdf: "pdf";
955
+ properties: "properties";
956
+ text: "text";
925
957
  }>>;
926
958
  }, z.core.$strict>, z.ZodObject<{
927
959
  ref_type: z.ZodLiteral<"incode">;
928
960
  id: z.ZodString;
929
961
  name: z.ZodString;
930
962
  default_view: z.ZodOptional<z.ZodEnum<{
931
- text: "text";
932
- image: "image";
933
- properties: "properties";
934
963
  auto: "auto";
964
+ image: "image";
935
965
  pdf: "pdf";
966
+ properties: "properties";
967
+ text: "text";
936
968
  }>>;
937
969
  }, z.core.$strict>], "ref_type">>;
938
970
  tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -944,12 +976,12 @@ export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
944
976
  caused_by_event_id: z.ZodOptional<z.ZodString>;
945
977
  hop_count: z.ZodNumber;
946
978
  event_category: z.ZodEnum<{
947
- system: "system";
948
- content: "content";
949
979
  billing: "billing";
980
+ content: "content";
950
981
  external: "external";
951
- workflow: "workflow";
952
982
  security: "security";
983
+ system: "system";
984
+ workflow: "workflow";
953
985
  }>;
954
986
  action: z.ZodString;
955
987
  resource_type: z.ZodString;
@@ -960,13 +992,13 @@ export declare const AppDevelopmentTaskDetailsSchema: z.ZodObject<{
960
992
  }, z.core.$strict>>;
961
993
  source_type: z.ZodOptional<z.ZodEnum<{
962
994
  api: "api";
963
- schedule: "schedule";
964
995
  event_subscription: "event_subscription";
996
+ schedule: "schedule";
965
997
  }>>;
966
998
  type: z.ZodOptional<z.ZodEnum<{
967
999
  api: "api";
968
- schedule: "schedule";
969
1000
  event_subscription: "event_subscription";
1001
+ schedule: "schedule";
970
1002
  }>>;
971
1003
  created_at: z.ZodString;
972
1004
  updated_at: z.ZodString;
@@ -985,14 +1017,14 @@ export declare const AppVersionRecordArraySchema: z.ZodArray<z.ZodObject<{
985
1017
  version: "version";
986
1018
  }>;
987
1019
  state: z.ZodEnum<{
988
- ready: "ready";
989
- failed: "failed";
990
1020
  expired: "expired";
1021
+ failed: "failed";
1022
+ ready: "ready";
991
1023
  }>;
992
1024
  promoted: z.ZodOptional<z.ZodBoolean>;
993
1025
  target: z.ZodOptional<z.ZodEnum<{
994
- static: "static";
995
1026
  service: "service";
1027
+ static: "static";
996
1028
  }>>;
997
1029
  agent_run_id: z.ZodOptional<z.ZodString>;
998
1030
  development_task_id: z.ZodOptional<z.ZodString>;
@@ -1011,10 +1043,10 @@ export declare const AppVersionRecordArraySchema: z.ZodArray<z.ZodObject<{
1011
1043
  remote: z.ZodOptional<z.ZodString>;
1012
1044
  ref: z.ZodOptional<z.ZodString>;
1013
1045
  ref_type: z.ZodOptional<z.ZodEnum<{
1014
- tag: "tag";
1015
1046
  branch: "branch";
1016
1047
  commit: "commit";
1017
1048
  detached: "detached";
1049
+ tag: "tag";
1018
1050
  }>>;
1019
1051
  branch: z.ZodOptional<z.ZodString>;
1020
1052
  tag: z.ZodOptional<z.ZodString>;
@@ -1068,23 +1100,23 @@ export declare const AppToolCollectionArraySchema: z.ZodArray<z.ZodObject<{
1068
1100
  openWorldHint: z.ZodOptional<z.ZodBoolean>;
1069
1101
  }, z.core.$strict>>;
1070
1102
  approval_class: z.ZodOptional<z.ZodEnum<{
1071
- read_only: "read_only";
1072
- side_effecting: "side_effecting";
1073
1103
  control: "control";
1104
+ read_only: "read_only";
1074
1105
  requires_confirmation: "requires_confirmation";
1106
+ side_effecting: "side_effecting";
1075
1107
  }>>;
1076
1108
  }, z.core.$strict>>;
1077
1109
  }, z.core.$strict>>;
1078
1110
  export declare const AppInstallationKindSchema: z.ZodEnum<{
1079
1111
  all: "all";
1080
- ui: "ui";
1081
1112
  tools: "tools";
1113
+ ui: "ui";
1082
1114
  }>;
1083
1115
  export declare const AppInstallationsQuerySchema: z.ZodObject<{
1084
1116
  kind: z.ZodOptional<z.ZodEnum<{
1085
1117
  all: "all";
1086
- ui: "ui";
1087
1118
  tools: "tools";
1119
+ ui: "ui";
1088
1120
  }>>;
1089
1121
  available_in: z.ZodOptional<z.ZodEnum<{
1090
1122
  app_portal: "app_portal";
@@ -1097,18 +1129,20 @@ export declare const AppInstallationProjectsQuerySchema: z.ZodObject<{
1097
1129
  }, z.core.$strict>;
1098
1130
  export declare const SystemPackageQuerySchema: z.ZodObject<{
1099
1131
  scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1100
- interactions: "interactions";
1132
+ activities: "activities";
1101
1133
  all: "all";
1102
- ui: "ui";
1134
+ dashboards: "dashboards";
1135
+ hooks: "hooks";
1136
+ interactions: "interactions";
1137
+ processes: "processes";
1138
+ settings: "settings";
1139
+ subscriptions: "subscriptions";
1140
+ templates: "templates";
1103
1141
  tools: "tools";
1104
1142
  types: "types";
1105
- processes: "processes";
1143
+ ui: "ui";
1106
1144
  views: "views";
1107
- templates: "templates";
1108
- dashboards: "dashboards";
1109
- settings: "settings";
1110
1145
  widgets: "widgets";
1111
- activities: "activities";
1112
1146
  }>>>;
1113
1147
  }, z.core.$strict>;
1114
1148
  //# sourceMappingURL=app-lifecycle.d.ts.map